@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_tx1 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1.09);
  }
  100% {
    opacity: 0;
    transform: scale(1.09);
  }
}
@keyframes sl_tx2 {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  40% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
@keyframes sl_tx3 {
  0% {
    margin-right: 30%;
    opacity: 0;
  }
  100% {
    margin-right: 0;
    opacity: 0.5;
  }
}

#mainimg {
	position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100vh; /* disable Fallback */
    height: calc(var(--vh, 1vh) * 100);
    min-height: 600px;
    overflow: hidden;
}

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

#mainimg .swiper-container1,#mainimg .swiper-container2,#mainimg .swiper-container3,#mainimg .swiper-container4 {
	position:relative;
    display: block;
	width: 50%;
	height: 50%;
    overflow: hidden;
}
#mainimg .swiper-slide {
	position:relative;
	width: 100%;
	height: 100%;
    overflow: hidden;
}
#mainimg .darken {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
#mainimg .darken h2 {
    font-weight: normal;
    font-family: "LINE Seed Bold",sans-serif;
    font-size: 3em;
    line-height: 1.3;
    animation: sl_tx2 15s linear 1s normal both infinite;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
#mainimg .darken h2 span {
    color: #c08a13;
    font-size: 2em;
}
#mainimg h3 {
    position: absolute;
    bottom: -2px;
    right: 20px;
    width: 60%;
    z-index: 2;
    animation: sl_tx3 0.7s ease-out 0s normal both;
}
#mainimg h3 img {
    width: 100%;
}

#mainimg h4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
#mainimg h4 img {
    max-width: 600px;
    width: 50%;
    animation: sl_tx1 15s linear 1s normal both infinite;
}


.slidebox {
    width: 100%;
	height: 100%;
    background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
}
.sd1_1 .slidebox {
    background-image: url("../slide/01.webp");
}
.sd1_2 .slidebox {
    background-image: url("../slide/02.webp");
}
.sd1_3 .slidebox {
    background-image: url("../slide/03.webp");
}
.sd2_1 .slidebox {
    background-image: url("../slide/04.webp");
}
.sd2_2 .slidebox {
    background-image: url("../slide/05.webp");
}
.sd2_3 .slidebox {
    background-image: url("../slide/06.webp");
}
.sd3_1 .slidebox {
    background-image: url("../slide/07.webp");
}
.sd3_2 .slidebox {
    background-image: url("../slide/08.webp");
}
.sd3_3 .slidebox {
    background-image: url("../slide/09.webp");
}
.sd4_1 .slidebox {
    background-image: url("../slide/10.webp");
}
.sd4_2 .slidebox {
    background-image: url("../slide/11.webp");
}
.sd4_3 .slidebox {
    background-image: url("../slide/12.webp");
}


/*.swiper-slide-active .slidebox,
.swiper-slide-duplicate-active .slidebox,
.swiper-slide-prev .slidebox {
  animation: sl_zoom_ani 9s linear 0s normal both;
}*/

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

@media screen and (max-width: 960px) {
#mainimg {
    aspect-ratio:4 / 3;
}
#bar {
    top: 71px;
}

#mainimg .darken h2 {
    font-size: 4.5vw;
}
#mainimg h3 {
    bottom: -1px;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

}

@media screen and (max-width: 520px) {
#mainimg {
    aspect-ratio: 1;
}
#bar {
    top: 51px;
}
#mainimg .darken h2 {
    font-size: 5.5vw;
    margin-top: 8vw;
    letter-spacing: 1px;
    text-indent: 1px;
}
#mainimg h4 img {
    margin-top: 6vw;
    width: 60%;
}


}
