/* =============================================
top css
============================================= */

/* hero
=================================== */

#hero {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  position: relative;
}

.site-logo,
.oa-time {
  position: absolute;
  z-index: 5;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
  pointer-events: none;
  height: auto;
}

.site-logo {
  top: calc(30 / 720 * 100%);
  left: calc(30 / 1280 * 100%);
  aspect-ratio: 1004 / 278;
  width: calc(500 / 1280 * 100%);
  background-image: url(../img/top/site_logo.png);
}

.oa-time {
  top: calc(15 / 720 * 100%);
  right: calc(30 / 1280 * 100%);
  aspect-ratio: 784 / 196;
  width: calc(374 / 1280 * 100%);
  background-image: url(../img/top/oa-time.png);
}

#hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#hero-slide li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  overflow: hidden;
  pointer-events: none;
}

#hero-slide li.is-active {
  opacity: 1;
  pointer-events: auto;
}

#hero-slide li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
}

#hero-slide li a span {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
  height: 100%;
  padding: 1.0em;
  box-sizing: border-box;
  font-size: 2.0vw;
  line-height: 140%;
  font-weight: 500;
  color: #fff;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.25),  0px 0px 5px rgba(0,0,0,0.25);
  z-index: 3;
  pointer-events: none;
}

#hero-slide li a::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.0) 25%,
    rgba(0, 0, 0, 0.0) 75%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

#hero-slide li a::after {
  display: block;
  content: "";
  position: absolute;
  top: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  z-index: 1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: var(--bg-image);
  transform: scale(var(--slide-scale, 1)) translate(var(--slide-tx, 0%), var(--slide-ty, 0%));
  transition: var(--slide-transition, none);
}

#hero-slide li.is-active a::after {
  will-change: transform;
}

#hero-slide li a span br {
  display: none;
}

/* ----- media queries ----- */

@media all and (max-width: 999px) {

#hero {
  aspect-ratio: 390 / 580;
}

.site-logo {
  top: calc(20 / 580 * 100%);
  left: calc(20 / 390 * 100%);
  aspect-ratio: 706 / 306;
  width: calc(351 / 390 * 100%);
  background-image: url(../img/top/site_logo_smp.png);
}

.oa-time {
  display: none;
}

#hero-slide li a span {
  align-items: flex-start;
  text-align: left;
  font-size: 5.0vw;
  padding: 0.7em;
}

#hero-slide li a span br {
  display: block;
}

#hero-slide li a[data-bg-pos="left"]::after {
  background-position: left center;
}
#hero-slide li a[data-bg-pos="semi-left"]::after {
  background-position: 25% center;
}
#hero-slide li a[data-bg-pos="center"]::after {
  background-position: center center;
}
#hero-slide li a[data-bg-pos="semi-right"]::after {
  background-position: 75% center;
}
#hero-slide li a[data-bg-pos="right"]::after {
  background-position: right center;
}

}



/* next
=================================== */

.next-yt {
  padding-bottom: 1.0em;
}

/* ----- media queries ----- */

@media all and (max-width: 999px) {

.next-yt {
  padding-bottom:0;
}

}



/* intro
=================================== */

#intro {
  max-width: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--cl-cream);
  padding: 40px 10px 60px 10px;
}

.intro-parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background-image: url(../img/top/intro_bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  
}

#intro-text {
  font-size: 130%;
  line-height: 2.3;
  text-shadow: 0 0 10px rgba(250, 249, 245, 1.0), 0 0 10px rgba(250, 249, 245, 1.0), 0 0 5px rgba(250, 249, 245, 1.0), 0 0 5px rgba(250, 249, 245, 1.0);
  font-family: "zen-kaku-gothic-new";
  font-weight: 500;
  position: relative;
  z-index: 1;
}

#intro-text strong {
  color: var(--cl-red);
  font-weight: 700;
}

/* introのテキストフェードイン設定
-------------------------------- */
#intro-text span {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  display: inline-block;
}

#intro-text.is-visible span {
  opacity: 1;
  transform: translateY(0);
}

#intro-text.is-visible span:nth-of-type(1) { transition-delay: 0.1s; }
#intro-text.is-visible span:nth-of-type(2) { transition-delay: 0.25s; }
#intro-text.is-visible span:nth-of-type(3) { transition-delay: 0.4s; }
#intro-text.is-visible span:nth-of-type(4) { transition-delay: 0.55s; }
#intro-text.is-visible span:nth-of-type(5) { transition-delay: 0.7s; }
#intro-text.is-visible span:nth-of-type(6) { transition-delay: 0.85s; }
#intro-text.is-visible span:nth-of-type(7) { transition-delay: 1.0s; }

/* ----- media queries ----- */

@media all and (max-width: 999px) {

#intro {
  padding: 30px 10px 40px 10px;
}

.intro-parallax-bg {
  background-size: 180% auto;
}

#intro-text {
  font-size: 2.8vw;
}

}

@media all and (max-width: 599px) {

#intro-text {
  font-size: 3.8vw;
}

}


/* info
=================================== */

.info-list {
  max-width: 800px;
  margin: auto;
  text-align: left;
  border-top: #ddd 1px solid;
}

.info-list li {
  border-bottom: #ddd 1px solid;
}

.info-list li a {
  display: block;
  text-decoration: none;
  padding: 1.0em 0.25em;
  line-height: 140%;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
.info-list li a:hover {
  opacity: 0.5;
}
}

.info-list li > div {
  display: block;
  padding: 1.0em 0.25em;
  line-height: 140%;
}

.info-list li dl {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.info-list li dl dt {
  color: #999;
  flex-shrink: 0;
  width: 6.5em;
  font-weight: 700;
}

.info-list li dl dd {
  color: #000;
  margin: 0;
  flex-grow: 1;
}

/* ----- media queries ----- */

@media all and (max-width: 999px) {

.info-list {
  width: 100%;
  font-size: 90%;
}

.info-list li dl {
  display: block;
}
.info-list li dl dt {
  width: auto;
}

}


/* sns
=================================== */

.sns-list {
  max-width: 820px;
  margin: 0 auto 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.sns-list li {
  width: 23%;
  height: auto;
  aspect-ratio: 180 / 140;
}

.sns-list li a {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-indent: -9999px;
  transition: opacity 0.2s ease;
}

@media (hover: hover) {
.sns-list li a:hover {
  opacity: 0.7;
}
}

.sns-list li:nth-child(1) a {
  background-image: url(../img/top/sns_x.png);
}
.sns-list li:nth-child(2) a {
  background-image: url(../img/top/sns_youtube.png);
}
.sns-list li:nth-child(3) a {
  background-image: url(../img/top/sns_insta.png);
}
.sns-list li:nth-child(4) a {
  background-image: url(../img/top/sns_tver.png);
}

#sns .notice {
  color: #666;
  margin-bottom: 1.0em;
}

/* ----- media queries ----- */

@media all and (max-width: 599px) {

.sns-list {
  width: 70%;
  gap: 3.0vw 4%;
}

.sns-list li {
  width: 48%;
  aspect-ratio: 130 / 110;
}

.sns-list li a {
  border-radius: 8.0vw;
}

#sns .notice {
  font-size: 90%;
  line-height: 1.4;
}

}

@media all and (max-width: 449px) {

.sns-list {
  width: 80%;
}

}

/*eof*/