@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;
}

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

#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;
    }
}

.slidebox {
    width: 100%;
	height: 100%;
    background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
}
.slidebox_mv,.slidebox_mv2 {
    position: relative;
    width: 100%;
	height: 100%;
	background-position:center center;
	background-size:cover;
    line-height: 0;
    overflow: hidden;
}
.slidebox_mv2 {
    mix-blend-mode: screen;
}
#video {
    position: absolute;
}
#video2 {
    position: absolute;
    mix-blend-mode: screen;
}
.sdmv .slidebox {
    background-image: url("../slide/white.png");
}
.sd1 .slidebox {
    background-image: url("../slide/kusatu_pc.webp");
}

.swiper-slide-active .slidebox,
.swiper-slide-duplicate-active .slidebox,
.swiper-slide-prev .slidebox {
  animation: sl_zoom_ani 7s ease-out 0s normal both;
}

.sdmv h2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sdmv h2 img {
    height: 25%;
}

.sdmv.swiper-slide-active h2,
.sdmv.swiper-slide-duplicate-active h2,
.sdmv.swiper-slide-prev h2 {
  animation: sl_fadein 2s linear 1s normal both;
}

.sd1 h2 {
    position: absolute;
    top: 14%;
    left: 6%;
    width: 65%;
    text-align: left;
}
.sd1 h2 img {
    width: 100%;
}
.sd1.swiper-slide-active h2,
.sd1.swiper-slide-duplicate-active h2,
.sd1.swiper-slide-prev h2 {
  animation: sl_rightin 2s ease 1s normal both;
}

.sd1 section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("../slide/kusatu_pc.png");
    background-position:center center;
	background-size:cover;
}
.sd1.swiper-slide-active section,
.sd1.swiper-slide-duplicate-active section,
.sd1.swiper-slide-prev section {
  animation: sl_fadein 2s linear 2s normal both;
}

.sdmv p,.sd1 p {
    position: absolute;
    bottom: 2em;
    right: 2em;
    line-height: 1.4;
    font-size: 0.68em;
    color: #fff;
}

@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:1;
}

.sd1 .slidebox {
    background-image: url("../slide/kusatu_tb.webp");
}
.sdmv h2 img {
    width: 90%;
    height: auto;
}
.sd1 h2 {
    position: absolute;
    top: 7%;
    left: 8%;
    width: 60%;
}
.sd1 section {
    background-image: url("../slide/kusatu_tb.png");
}

.sdmv p,.sd1 p {
    bottom: 1em;
    right: 1em;
    font-size: 0.6em;
}

}

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

.sdmv p,.sd1 p {
    bottom: 1em;
    right: 1em;
    line-height: 1.4;
    font-size: 2vw;
}

}
