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

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

  }
}
@keyframes sl_pan_down {
  0% {
    background-position: center top;
  }
  100% {
    background-position: center bottom;

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

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

  }
}

#loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    pointer-events: none;
    z-index: 3000;
}
#bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ccc;
    pointer-events: none;
    z-index: 10001
}
#main_slide {
	position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: #fff;
}
#main_slide .swiper-container_main {
	position:relative;
	width: 100%;
	height: 100%;
}
#main_slide .swiper-slide {
	position:relative;
	width: 100%;
	height: 100%;
    overflow: hidden;
}

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

#main_slide section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
	height: 100%;
    background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sd1 section {
    background-image: url("../slide/01.webp");
}
.sd2 section {
    background-image: url("../slide/02.webp");
}
.sd3 section {
    background-image: url("../slide/03.webp");
}
.sd4 section {
    background-image: url("../slide/04.webp");
}

.sd1.swiper-slide-active section,
.sd1.swiper-slide-duplicate-active section,
.sd1.swiper-slide-prev section {
  animation: sl_zoom_ani 15s ease 0s normal both;
}
.sd2.swiper-slide-active section,
.sd2.swiper-slide-duplicate-active section,
.sd2.swiper-slide-prev section {
  animation: sl_zoom_ani 15s ease 0s normal both;
}
.sd3.swiper-slide-active section,
.sd3.swiper-slide-duplicate-active section,
.sd3.swiper-slide-prev section {
  animation: sl_zoom_ani 15s ease 0s normal both;
}
.sd4.swiper-slide-active section,
.sd4.swiper-slide-duplicate-active section,
.sd4.swiper-slide-prev section {
  animation: sl_zoom_ani 15s ease 0s normal both;
}

#main_slide figure {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
	height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 1;
}
.main_tx {
    z-index: 1;
    line-height: 1;
}
.main_tx h2 {
    font-family: "EB Garamond", serif;/*400-800*/
    font-weight: 400;
    font-size: 3.8em;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
}
.main_tx p {
    font-size: 1.4em;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    margin-top: 1em;
}

@media screen and (max-width: 960px) {
#main_slide {
    height: auto;
    min-height: auto;
    aspect-ratio:4 / 3;
}
.main_tx h2 {
    font-size: 6vw;
}
.main_tx p {
    font-size: 3.2vw;
}
}

@media screen and (max-width: 520px) {
#main_slide {
    aspect-ratio:1;
}
.sd1 section {
    background-position: right center;
}
.sd2 section {
    background-position: right center;
}
.sd3 section {
    background-position: right center;
}
.sd4 section {
    background-position: right center;
}

.sd1.swiper-slide-active section,
.sd1.swiper-slide-duplicate-active section,
.sd1.swiper-slide-prev section {
  animation: sl_pan_left 15s ease 0s normal both;
}
.sd2.swiper-slide-active section,
.sd2.swiper-slide-duplicate-active section,
.sd2.swiper-slide-prev section {
  animation: sl_pan_left 15s ease 0s normal both;
}
.sd3.swiper-slide-active section,
.sd3.swiper-slide-duplicate-active section,
.sd3.swiper-slide-prev section {
  animation: sl_pan_left 15s ease 0s normal both;
}
.sd4.swiper-slide-active section,
.sd4.swiper-slide-duplicate-active section,
.sd4.swiper-slide-prev section {
  animation: sl_pan_left 15s ease 0s normal both;
}


}


