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

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

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

  }
}
@keyframes sl_pan {
  0% {
    background-position: left center;
  }
  100% {
    background-position: right center;

  }
}

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

#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000117;
    pointer-events: none;
    z-index: 1;
}
#bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #369bba;
    pointer-events: none;
    z-index: 2
}

#mainimg .swiper-container_mv {
	position:relative;
	width: 100%;
	height: 100%;
}
#mainimg .swiper-slide {
	position:relative;
	width: 100%;
	height: 100%;
    overflow: hidden;
}
#mainimg .swiper-slide span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
}

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

#mainimg .slidebox {
    position: relative;
    width: 100%;
	height: 100%;
    background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
}
#mainimg .slidebox_mv {
    position: relative;
    width: 100%;
	height: 100%;
	background-position:center center;
	background-size:cover;
    line-height: 0;
}
#mainimg #video {
    position: absolute;
    
}
#mainimg .sdmv .slidebox {
    background-image: url("../slide/black.png");
}
#mainimg .sd1 .slidebox {
    background-image: url("../slide/01.webp");
}

#mainimg .swiper-slide-active .slidebox,
#mainimg .swiper-slide-duplicate-active .slidebox,
#mainimg .swiper-slide-prev .slidebox {
  animation: sl_zoom_ani 14s linear 0s normal both;
}

.sd1 h2 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%
}
.sd1 h2 img {
    width: 100%;
}
.sd1 h3 {
    line-height: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    max-width: 1200px;
    filter: drop-shadow(0 0 10px #000);
}
.sd1 h3 img {
    width: 100%;
}
.sd1 h4 {
    line-height: 0;
    position: absolute;
    right: 10%;
    top: calc(130px + 20%);
    width: 50%;
    max-width: 900px;
    filter: drop-shadow(0 0 10px #000);
}
.sd1 h4 img {
    width: 100%;
}


@media screen and (max-width: 1700px) {
/*#mainimg {
    height: auto;
    min-height: auto;
    aspect-ratio:16 / 9;
}*/
}

@media screen and (max-width: 960px) {
#mainimg {
    height: auto;
    min-height: auto;
    aspect-ratio:4 / 3;
}

#mainimg .swiper-slide-active .slidebox,
#mainimg .swiper-slide-duplicate-active .slidebox,
#mainimg .swiper-slide-prev .slidebox {
  animation: sl_zoom_ani2 14s linear 0s normal both;
}

}

@media screen and (max-width: 520px) {
#mainimg {
    aspect-ratio: 1;
}
#mainimg .slidebox {
	background-position:left center;
	background-size:auto 100%;
}
#mainimg .swiper-slide-active .slidebox,
#mainimg .swiper-slide-duplicate-active .slidebox,
#mainimg .swiper-slide-prev .slidebox {
  animation: sl_pan 14s linear 0s normal both;
}

.sd1 h2 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%
}
.sd1 h2 img {
    width: 100%;
}
.sd1 h3 {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    max-width: 1200px;
    filter: drop-shadow(0 0 10px #000);
}
.sd1 h3 img {
    width: 100%;
}
.sd1 h4 {
    right: 10%;
    top: 10%;
    width: 80%;
    filter: drop-shadow(0 0 10px #000);
}
.sd1 h4 img {
    width: 100%;
}


}
