@charset "UTF-8";
@import url("style.css");

/* ベースレイアウト */
header {
  position: absolute;
  z-index: 50;
}

header .header-inner {
  background-image: initial;
  background-image: linear-gradient(
    180deg,
    rgba(217, 217, 217, 0.7),
    rgba(254, 254, 254, 0.6)
  );
}

main section#greetings {
  width: 100%;
  margin-top: 6.8em;
  padding-bottom: 0;
  font-size: 1em;
}

main section#greetings h2 {
  width: 100%;
  margin: 0 0 1.5em;
  font-size: 2.25em;
  text-align: center;
}

main section.sec-first,
main section.sec-second,
main section.sec-third {
  width: 100%;
  margin: 0;
  padding: 0;
}

main section.sec-first {
  background-color: #e5e5e5;
}

main section.sec-second {
  background-color: #8c8c8c;
}

main section.sec-third {
  background-color: #606060;
}

div.section-contents {
  width: 100%;
  margin: 0 auto 0;
  display: flex;
  align-items: stretch;
}

main section.sec-first div.section-contents {
  justify-content: flex-end;
}

main section div.txt-content {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  padding: 5em 1em 5em 1em;
}

main section.sec-first div.txt-content {
  justify-content: end;
  text-align: right;
}

div.section-contents h3 {
  width: 100%;
  margin-bottom: 3.941em;
  font-size: 1.7em;
}

div.section-contents p {
  font-size: 1.1em;
  margin-bottom: 1em;
  width: 100%;
}

.image-content {
  width: 50%;
  object-fit: cover;
}

.image-content img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

main section.sec-second div.txt-content {
  color: #fff;
}

main section.sec-third div.section-contents {
  width: fit-content;
  margin: 0 auto 0;
  color: #fff;
  text-align: center;
  display: block;
}

main section.sec-third div.section-contents h3 {
  width: 100%;
  padding-top: 7.882em;
  margin-bottom: 4.375em;
}

div.instructor-name {
  width: fit-content;
  margin: 4.882em auto 0;
  padding-bottom: 4.627em;
  display: flex;
  column-gap: 10em;
}

div.instructor-name img {
  width: 13.6625em;
}

/* スライダーのスタイル */
@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 7s linear 0s normal both;
}

.swiper {
  padding-bottom: 1.627em;
  font-size: 1em;
}

.swiper-pagination-bullet {
  background-color: #a5a5a5;
}

.swiper-slide {
  width: 100%;
  max-height: 100vh;
  aspect-ratio: 192 / 121;
}

.swiper-slide .swiper-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 192 / 121;
  background-position: center;
  background-size: cover;
  font-size: 1.2em;
}

div.kv-overlay {
  position: absolute;
  bottom: 7.25em;
  left: 13.10625em;
}

div.kv-name {
  width: fit-content;
  margin: 0 auto 0.65em;
  padding: 0.5em 3em 0.2em;
  font-size: 1.12em;
  color: #000;
  text-align: center;
  background-image: linear-gradient(
    92deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 20%,
    rgba(255, 255, 255, 0.6) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

div.kv-name ruby {
  font-size: 1.075em;
}

img.kv-logo {
  width: 22.7875em;
  height: auto;
  aspect-ratio: 203 / 131;
  display: block;
}

div.slide-01 {
  background-image: url(../image/top/kv-01.jpg);
  display: flex;
  align-items: center;
  justify-content: center;
}
div.slide-02 {
  background-image: url(../image/top/kv-02.jpg);
}
div.slide-03 {
  background-image: url(../image/top/kv-03.jpg);
  justify-content: right;
    display: flex;
    align-items: center;
}
div.slide-04 {
  background-image: url(../image/top/kv-04.jpg);
  display: flex;
  align-items: center;
  justify-content: center;
}

div.kv-overlay.kv-01 {
  position: static;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transition-delay: 0.5s;
}

div.kv-overlay.kv-01.js-kv-overlay-animation {
  opacity: 1;
}

div.kv-overlay.kv-02 {
  width: 100%;
  height: 100%;
  display: flex;
  bottom: auto;
  top: 1.85em;
  left: 0;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  gap: 1.75em;
  font-size: min(3.2vh, 1.2rem);
}

.kv-overlay img.kv-02-text01 {
  width: 2.5375em;
  height: auto;
  aspect-ratio: 91 / 626;
  display: block;
  clip-path: inset(0 0 110% 0);
  transition: clip-path 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.kv-overlay img.kv-02-text02 {
  width: 2.5375em;
  height: auto;
  aspect-ratio: 91 / 578;
  display: block;
  margin-top: 10.25em;
  clip-path: inset(0 0 110% 0);
  transition: clip-path 2s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: 0.5s;
}

.js-kv-overlay-animation img.kv-02-text01,
.js-kv-overlay-animation img.kv-02-text02 {
  clip-path: inset(0 0 0 0);
}

div.kv-overlay.kv-03 {
  bottom: 5.841em;
  right: 5.68125em;
  left: auto;
  position: static;
  margin-right: 5rem;
  padding-top: min(13vh, 3rem);
}

img.kv-03-text {
  width: min(4.3675em, 14vh);
  height: auto;
  aspect-ratio: 127 / 631;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.js-kv-overlay-animation img.kv-03-text {
  opacity: 1;
}

div.kv-overlay.kv-04 {
  position: static;
  margin-top: 2em;
}

div.kv-overlay.kv-04 p {
  width: 31.5em;
  color: #fff;
  font-size: 1.20875em;
  line-height: 2;
  text-align: center;
}

/* 調整用 */
@media screen and (max-width: 1240px) {
}
@media screen and (max-width: 900px) {
}

/* SP */

@media screen and (max-width: 750px) {
  header {
    position: fixed;
  }

  div.section-contents {
    flex-direction: column;
    row-gap: 20px;
  }
  div.section-contents h3 {
    font-size: 5vw;
  }
  div.section-contents p {
    font-size: 3.5vw;
  }
  img.image-content {
    width: 80vw;
  }

  div.instructor-name {
    flex-direction: row;
    column-gap: 3em;
  }
  div.instructor-name img {
    width: 30vw;
  }

  .swiper {
    height: 100vh;
  }

  .swiper-slide .swiper-img {
    height: 100%;
    background-size: cover;
    position: absolute;
  }

  .swiper-slide img {
    position: relative;
    height: 100%;
    width: auto;
    aspect-ratio: auto;
  }

  div.js-kv-overlay {
    position: relative;
    top: 0;
  }

  div.kv-overlay.kv-01 {
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    bottom: 0;
    position: static;
    height: 100%;
  }

  div.kv-overlay.kv-01 .kv-name {
    width: 100%;
    font-size: 8vw;
    padding: 10px 0;
    margin: 0 0 5vw;
  }

  div.kv-overlay.kv-01 .kv-name ruby {
    width: 100%;
    font-size: 8vw;
  }

  div.kv-overlay.kv-01 .kv-name ruby > rt {
    display: ruby-base-container;
  }

  div.kv-overlay.kv-01 img {
    width: 80%;
    height: auto;
  }

  .swiper-slide .swiper-img.slide-02 {
    background-position: top left;
  }

  div.kv-overlay.kv-02 {
    top: 10vw;
  }

  .kv-overlay img.kv-02-text01,
  .kv-overlay img.kv-02-text02 {
    width: 12vw;
  }

  div.slide-03 {
    align-items: flex-start;
  }

  div.kv-overlay.kv-03 {
    margin-right: 2rem;
    padding-top: calc(48.2vw / 1.7);
  }
  div.kv-overlay.kv-03 img {
    width: 15vw;
    height: auto;
    aspect-ratio: 127 / 631;
  }
  .swiper-slide .swiper-img.slide-04 {
    background-position: top right;
  }
  div.kv-overlay.kv-04 {
    top: 50%;
    left: 10.5em;
  }
  div.kv-overlay.kv-04 p {
    font-size: 4vw;
    width: 90vw;
  }

  main section#greetings {
    margin-top: 14vw;
    font-size: 1em;
  }

  main section#greetings h2 {
    margin: 0 0 14vw;
    font-size: 2em;
  }

  main div.section-contents div.txt-content {
    text-align: justify;
    width: 100%;
    padding-bottom: 1em;
  }

  .image-content {
    width: 100%;
    margin-bottom: 6em;
  }

  div.section-contents h3 {
    font-size: 1.5em;
    padding: 5vw;
    margin-bottom: 5vw;
  }

  div.section-contents p {
    font-size: 1em;
    padding: 0 2.5vw;
  }

  img.image-content {
    width: 90%;
    margin-bottom: 5vw;
  }

  .sec-second div.section-contents {
    flex-direction: column-reverse;
  }

  main section.sec-third div.section-contents {
    text-align: justify;
    padding: 1em;
  }
}
