@charset "UTF-8";

/* top-fv.css */
.p-top-fv {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 41.8125rem;
  padding-block-start: 2.5rem;
  background-color: #0a5da7;
}

@media (min-width: 768px) {
  .p-top-fv {
    height: 43.5416666667vw;
    padding-block-start: 3.3333333333vw;
  }
}

/*----------------------------------
  swiper
-----------------------------------*/
.p-top-fv__swiper {
  position: relative;
  z-index: 1;
  overflow: visible;
}

.p-top-fv__slide {
  flex-shrink: 0;
  width: 21.875rem;
  height: 30.375rem;
}

@media (min-width: 768px) {
  .p-top-fv__slide {
    width: 54.0104166667vw;
    height: 36.0416666667vw;
  }
}

.p-top-fv__slide img {
  height: 100%;
  object-fit: cover;
}

.p-top-fv__slide--right img {
  object-position: 82% center;
}

@media (min-width: 768px) {
  .p-top-fv__slide--right img {
    object-position: center;
  }
}

/*----------------------------------
  キャッチコピー（全画面画像の上に重ねるため position で配置）
-----------------------------------*/
.p-top-fv__catch {
  position: absolute;
  z-index: 3;
  top: 3.5625rem;
  left: 0.5625rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0.625rem;
}

@media (min-width: 768px) {
  .p-top-fv__catch {
    top: 6.6666666667vw;
    left: 10vw;
    row-gap: clamp(0.375rem, 0.5208333333vw, 0.625rem);
  }
}

.p-top-fv__catch p {
  padding: 0.3125rem 0.6875rem;
  background-color: #ffffff;
  color: #0a5da7;
  font-size: max(1.25rem, 16px);
}

@media (min-width: 0px) {
  .p-top-fv__catch p {
    font-size: 1.25rem;
  }
}

.p-top-fv__catch p {
  font-weight: 500;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .p-top-fv__catch p {
    padding: clamp(0.25rem, 0.3385416667vw, 0.40625rem) clamp(0.625rem, 0.8333333333vw, 1rem);
    font-size: clamp(1.25rem, 1.6666666667vw, 2rem);
    font-weight: 600;
    line-height: 1.75;
  }
}

/*----------------------------------
  波
-----------------------------------*/
.p-top-fv__wave {
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.9375rem;
}

@media (min-width: 768px) {
  .p-top-fv__wave {
    height: 16.3020833333vw;
  }
}

.p-top-fv__wave img {
  display: block;
  object-fit: fill;
  transform-origin: center bottom;
  animation: c-wave-sway 6s ease-in-out infinite alternate;
}

@media (prefers-reduced-motion: reduce) {
  .p-top-fv__wave img {
    animation: none;
  }
}

/*----------------------------------
  ページネーション（XD: 52x7 / gap4 / r2）
-----------------------------------*/
.p-top-fv .p-top-fv__pagination {
  position: absolute;
  z-index: 3;
  bottom: 6.5rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  column-gap: 0.25rem;
}

@media (min-width: 768px) {
  .p-top-fv .p-top-fv__pagination {
    bottom: 1.71875vw;
  }
}

.p-top-fv .p-top-fv__pagination .swiper-pagination-bullet {
  width: 3.25rem;
  height: 0.4375rem;
  margin: 0;
  background-color: #a2d5b4;
  border-radius: 0.125rem;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.p-top-fv .p-top-fv__pagination .swiper-pagination-bullet-active {
  background-color: #ffffff;
}

/*----------------------------------
  CMS管理画面用（JS 無効）
  スライドのサムネイル一覧（共通：c-component）が FV の高さで切れないよう、
  固定の高さを解除し、キャッチコピー・波・ページネーションを重ねずに下へ並べる
-----------------------------------*/
html:not(.is-js) .p-top-fv:has(.swiper:not(.swiper-initialized)) {
  height: auto;
  padding-block-end: 2.5rem;
}

html:not(.is-js) .p-top-fv:has(.swiper:not(.swiper-initialized)) .p-top-fv__catch,
html:not(.is-js) .p-top-fv:has(.swiper:not(.swiper-initialized)) .p-top-fv__wave,
html:not(.is-js) .p-top-fv:has(.swiper:not(.swiper-initialized)) .p-top-fv__pagination {
  position: static;
  translate: none;
  margin-block-start: 1.5rem;
}

/*----------------------------------
  レイアウトシフト（CLS）対策：公開サイト（html.is-js）
  Swiper の初期化前はスライドの位置が確定していないため、初期化が終わるまでスライダーだけ見えなくする
  （visibility は表示の切り替えのみでレイアウトは動かさないため、CLS の対象にならない）
-----------------------------------*/
html.is-js .p-top-fv__swiper:not(.swiper-initialized) {
  visibility: hidden;
}

/* top-fv.css ここまで*/