@charset "UTF-8";
/* コンテンツ */

@keyframes sl_zoom_ani {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);

  }
}
@keyframes sl_fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;

  }
}
@keyframes sl_rightin {
  0% {
    opacity: 0;
    margin-left: 50px;
  }
  100% {
    opacity: 1;
    margin-left: 0;

  }
}

#mainimg {
	position: relative;
    width: 100%;
    height: 100vh; /* disable Fallback */
    height: calc(var(--vh, 1vh) * 100);
    min-height: 700px;
    overflow: hidden;
    line-height: 0;
}

#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #111;
    pointer-events: none;
    z-index: 1;
}
#bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    pointer-events: none;
    z-index: 300;
}

#mainimg .swiper-container1 {
	position:relative;
	width: 100%;
	height: 100%;
}
#mainimg .swiper-slide {
	position:relative;
	width: 100%;
	height: 100%;
    overflow: hidden;
}

/*.swiper-container-fade .swiper-slide { movie使用時
    opacity: 0 !important;
    &.swiper-slide-active {
        opacity: 1 !important;
    }
}*/

#mainimg section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-position:center center;
	background-size:cover;
}
.sd1 section {
    background-image: url("../slide/bg.webp");
}
.sd2 section {
    background-image: url("../slide/bg2.webp");
}
.sd3 section {
    background-image: url("../slide/01.webp");
}
/*.sd4 section {
    background-image: url("../slide/02.webp");
}
.sd5 section {
    background-image: url("../slide/03.webp");
}
.sd7 section {
    background-image: url("../slide/04.webp");
}
.sd8 section {
    background-image: url("../slide/05.webp");
}*/
.sd6 section {
    background-image: url("../slide/kusatu_pc.webp?0211");
    background-position:center bottom !important;
}
.sd1.swiper-slide-active section,
.sd1.swiper-slide-duplicate-active section,
.sd1.swiper-slide-prev section,
.sd2.swiper-slide-active section,
.sd2.swiper-slide-duplicate-active section,
.sd2.swiper-slide-prev section {
  animation: sl_zoom_ani 10s linear 0s normal both;
}
.sd3.swiper-slide-active section,
.sd3.swiper-slide-duplicate-active section,
.sd3.swiper-slide-prev section,
.sd4.swiper-slide-active section,
.sd4.swiper-slide-duplicate-active section,
.sd4.swiper-slide-prev section,
.sd5.swiper-slide-active section,
.sd5.swiper-slide-duplicate-active section,
.sd5.swiper-slide-prev section,
.sd7.swiper-slide-active section,
.sd7.swiper-slide-duplicate-active section,
.sd7.swiper-slide-prev section,
.sd8.swiper-slide-active section,
.sd8.swiper-slide-duplicate-active section,
.sd8.swiper-slide-prev section {
  animation: sl_zoom_ani 7s linear 0s normal both;
}
.sd6.swiper-slide-active section,
.sd6.swiper-slide-duplicate-active section,
.sd6.swiper-slide-prev section {
  animation: sl_zoom_ani 13s linear 0s normal both;
}

.slidebox {
    position: relative;
    width: 100%;
	height: 100%;
}

.slidebox {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sd1 h2 {
    width: 40%;
    max-width: 500px;
    line-height: 0;
}
.sd1 h2 img {
    width: 100%;
    filter: drop-shadow(0 0 10px #111) drop-shadow(0 0 10px #111);
}
.sd1.swiper-slide-active h2,
.sd1.swiper-slide-duplicate-active h2,
.sd1.swiper-slide-prev h2 {
  animation: sl_fadein 2s ease 1s normal both;
}

.slidebox h3 {
    width: 50%;
    max-width: 600px;
    z-index: 1;
    line-height: 0;
}
.slidebox h3 img {
    width: 100%;
    filter: drop-shadow(0 0 10px #111) drop-shadow(0 0 10px #111);
}

.sd6 h2 {
    position: absolute;
    left: 5%;
    top: 15%;
    color: #111;
    font-weight: 500;
    line-height: 1.7;
    font-size: 1.8vw;
    letter-spacing: 0.1em;
    text-align: left;
    white-space: nowrap;
    filter: drop-shadow(0 0 10px rgba(255,255,255,1)) drop-shadow(0 0 10px rgba(255,255,255,1)) drop-shadow(0 0 10px rgba(255,255,255,1));
}
.sd6 h2 span {
    display: block;
}
.sd6.swiper-slide-active h2 span,
.sd6.swiper-slide-duplicate-active h2 span,
.sd6.swiper-slide-prev h2 span {
    display: inline-block;
    animation: sl_rightin 2s ease 3s normal both;
}

@media screen and (max-width: 1500px) {
.sd6 h2 {
    font-size: 2.4vw;
}
}

@media screen and (max-width: 960px) {
#mainimg {
    height: auto;
    min-height: auto;
    aspect-ratio:1;
}
.sd6 section {
    background-image: url("../slide/kusatu_sp.webp?0211");
    background-position:center top !important;
}
.sd1 h2 {
    width: 60%;
}
.slidebox h3 {
    width: 70%;
}
.sd6 h2 {
    left: 7%;
    top: 15%;
    font-size: 3.7vw;

}

}

@media screen and (max-width: 520px) {



}
