/* ============================================
   共通
============================================ */

.l-page {
  padding-bottom: 160px;
}

/* --- コンテンツ間の余白 --- */

[class^="section_content--"] {
  padding-block: min(21.3333333333vw, 80px);
}

/* --- コンテンツタイトル --- */

.sec-title {
  font-size: var(--fs-26);
  font-weight: bold;
  line-height: 1.4;
  font-family: var(--sub-font);
  background: var(--bg_gd-color);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: min(4.2666666667vw, 16px);
  transition: filter 2s cubic-bezier(0.22, 1, 0.36, 1);
}
.plan-content .sec-title {
  filter: blur(30px);
}
.plan-content.scroll-trigger--event .sec-title {
  filter: blur(0);
}
.plan-content .sec-title--wrap {
  width: 0;
  transition: width 3s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
  display: inline-block;
}
.plan-content .sec-title {
  width: 100%;
  white-space: nowrap;
}
.plan-content.scroll-trigger--event .sec-title--wrap {
  width: 100%;
}
@media (min-width: 768px) {
  .l-page {
    padding-bottom: min(11.7130307467vw, 160px);
  }

  /* --- コンテンツタイトル --- */

  .sec-title {
    font-size: clamp(1.5rem, 1.018rem + 1vw, 1.875rem);
    margin-bottom: min(1.756954612vw, 24px);
  }

  [class^="section_content--"] {
    padding-block: min(5.8565153734vw, 80px);
  }
}

/* ============================================
   MV（メインビジュアル）
============================================ */

.fv {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: min(177.8666666667vw, 667px);
  margin-bottom: min(21.3333333333vw, 80px);
}

/* --- 波アニメーション --- */

.fv-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  display: block;
  z-index: 1;
}

/* --- 背面動画 --- */

.fv-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.fv-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0px 0px #000);
}

/* --- 前面オーバーレイ --- */

.fv-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: min(5.3333333333vw, 20px);
  pointer-events: none;
  margin-bottom: 30px;
}

/* --- 気温テキスト --- */

.fv-temp {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: min(2.1333333333vw, 8px);
  pointer-events: auto;
  padding-bottom: min(1.3333333333vw, 5px);
}

.fv-temp__label {
  font-size: var(--fs-14);
  color: #fff;
  font-weight: 500;
  font-family: var(--sub-font);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.fv-temp__value {
  font-size: var(--fs-24);
  font-weight: 600;
  color: #fff;
  font-family: var(--sub-font);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.fv-temp__unit {
  font-size: var(--fs-14);
}

/* --- PC --- */

@media (min-width: 768px) {
  .fv {
    height: 100vh;
    margin-bottom: min(11.7130307467vw, 160px);
  }

  .fv-wave {
    height: min(7.1vw, 95px);
  }
}

/* ============================================
   インスタグラム（Instagram）
============================================ */

.section_content--instagram {
  background: url("../images/top/sandy_beach_bg.jpg");
  background-position: 50% 100%;
  background-size: 100% min(74.9333333333vw, 281px);
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: 0;
}

/* --- レイアウト --- */

.slider-layout {
  display: flex;
  flex-direction: column;
  gap: min(10.6666666667vw, 40px);
}

/* --- Swiper本体 --- */

.js-slider {
  overflow: hidden;
  width: 100%;
}

/* --- カード --- */

.slider-card__inner {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #b3b3b3;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
}

.slider-card__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-card__icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  display: block;
}

.slider-card__icon::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -4px;
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-top: none;
  border-right: none;
}

/* --- フッター（矢印 + もっと見る） --- */

.slider-footer {
  display: flex;
  flex-direction: column;
  gap: min(10.6666666667vw, 40px);
  padding: 0 min(5.3333333333vw, 20px);
}

/* --- 矢印ボタン --- */

.slider-arrows {
  display: flex;
  justify-content: space-between;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--main-color);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slider-arrow__icon {
  display: block;
  width: 16px;
  height: auto;
}

.slider-arrow__icon--left {
  transform: scaleX(-1);
}

.slider-arrow.swiper-button-disabled {
  background: #c7c7c7;
  cursor: default;
}

/* --- もっと見る --- */

.slider-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 6px;
  max-width: 180px;
  width: 100%;
  margin: 0 auto;
}

.slider-more.sp_in {
  display: flex;
}

.slider-more.pc_in {
  display: none;
}

.slider-more__text {
  font-size: var(--fs-16);
  font-weight: 500;
}

.slider-more__icon {
  display: block;
  width: 12px;
  height: 12px;
  border: 1px solid var(--main-color);
  position: relative;
}

.slider-more__icon::before {
  content: "";
  position: absolute;
  top: 5px;
  left: -4px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--main-color);
  border-top: none;
  border-right: none;
}

/* --- PC --- */

@media (min-width: 768px) {
  .section_content--instagram {
    padding-bottom: min(5.1244509517vw, 70px);
    background-size: 100% min(21.9619326501vw, 300px);
  }

  .slider-layout {
    width: min(84.19vw, 1600px);
    margin-left: auto;
    margin-bottom: min(2.9282576867vw, 40px);
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
  }

  .js-slider {
    flex: 1;
    order: 2;
  }

  .slider-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 30px 0 0;
    gap: 16px;
    order: 1;
    flex-shrink: 0;
  }

  .slider-arrows {
    gap: min(1.756954612vw, 24px);
  }

  .slider-more {
    position: relative;
    max-width: clamp(10rem, 8.395rem + 3.34vw, 11.25rem);
    border-bottom: none;
    margin-right: 20%;
  }

  .slider-more::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--main-color);
  }

  .slider-more__text {
    font-size: clamp(0.875rem, 0.714rem + 0.33vw, 1rem);
    background: var(--bg_gd-color);
    -webkit-background-clip: text;
    background-clip: text;
    color: var(--main-color);
    transition: color 0.2s ease;
  }

  .slider-more:hover::after {
    background: var(--bg_gd-color);
  }

  .slider-more:hover .slider-more__text {
    color: transparent;
  }

  .slider-more:hover .slider-more__icon {
    border-image: var(--bg_gd-color) 1;
  }

  .slider-more:hover .slider-more__icon::before {
    border-image: var(--bg_gd-color) 1;
  }

  .slider-more.sp_in {
    display: none;
  }

  .slider-more.pc_in {
    display: flex;
  }

  .slider-arrow {
    width: 30px;
    height: 30px;
  }

  .slider-arrow:hover {
    opacity: 0.7;
  }

  .slider-arrow.swiper-button-disabled:hover {
    opacity: 1;
  }
}

/* ============================================
   ケラマブルー紹介（About）
============================================ */

.section_content--about {
  padding-bottom: 0;
  transition:
    transform 5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 5s cubic-bezier(0.22, 1, 0.36, 1);

  opacity: 0;
  transform: translateY(80px);
}
.section_content--about.scroll-trigger--event {
  opacity: 1;
  transform: translateY(0);
}
/* --- レイアウト --- */

.about-layout {
  display: flex;
  flex-direction: column;
  gap: min(25.3333333333vw, 95px);
}

/* --- テキスト --- */

.section_content--about .sec-title {
  font-size: var(--fs-22);
  margin-bottom: 16px;
  background: linear-gradient(#02487f 3%, #32acc7 58%, #016fb8 91%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-body {
  font-size: var(--fs-16);
  color: var(--text-color);
  line-height: 2;
}

/* --- 画像エリア（SP） --- */

.about-visual {
  position: relative;
}

.about-img-wrap {
  width: 57%;
  margin-left: auto;
}

/* --- 地図（SP：画像左下に重なる） --- */

.about-map.sp_in {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54%;
}
.about-text {
  transition:
    transform 3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;

  filter: blur(30px);
}
.about-text.scroll-trigger--event {
  filter: blur(0);
}
/* --- PC --- */

@media (min-width: 768px) {
  /* 共通 */

  .section_content--about {
    padding: min(14.6412884334vw, 200px) min(1.4641288433vw, 20px)
      min(7.3206442167vw, 100px);
  }

  .section_content--about .section_space {
    width: min(74.6705710102vw, 1020px);
  }

  /* コンテンツ */

  .about-layout {
    flex-direction: row;
    align-items: center;
    gap: min(7.3206442167vw, 100px);
  }

  /* --- テキスト --- */

  .about-body {
    font-size: clamp(0.875rem, 0.714rem + 0.33vw, 1rem);
  }

  .about-box {
    flex: 0 0 55%;
  }

  .about-text {
    width: min(35.8711566618vw, 490px);
    margin-right: auto;
    margin-bottom: min(5.8565153734vw, 80px);
  }

  .section_content--about .sec-title {
    word-break: keep-all;
    margin-bottom: min(1.756954612vw, 24px);
  }

  .about-map.pc_in {
    width: 68%;
    margin-left: auto;
  }

  .about-visual {
    flex: 1;
  }

  .about-img-wrap {
    width: 100%;
    margin-left: 0;
  }
}

/* ============================================
   ケラマ諸島の魅力（Charm）
============================================ */

.section_content--charm {
  position: relative;
  overflow: hidden;
  background: url("../images/top/kerama_charm_bg.png") center top / cover
    no-repeat;
  margin-top: max(-80px, -21.3333333333vw);
  padding-top: min(40vw, 150px);
}

.charm-inner {
  display: flex;
  flex-direction: column;
  padding-top: min(26.6666666667vw, 100px);
}

/* --- テキスト --- */

.charm-text {
  text-align: center;
  padding: 0 min(5.3333333333vw, 20px);
  margin-bottom: min(21.3333333333vw, 80px);
  transition:
    transform 3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;

  transform: translateY(-80px);
  filter: blur(30px);
}

.charm-text.scroll-trigger--event {
  filter: blur(0);
  transform: translateY(0);
}

.section_content--charm .sec-title {
  filter: drop-shadow(0 0 7px #fff);
}

.charm-body {
  font-size: var(--fs-16);
  color: var(--text-color);
  line-height: 2;
  filter: drop-shadow(0 0 7px #fff);
  margin-bottom: min(8vw, 30px);
}

/* --- ボタン --- */

/* --- 丸写真（SP） --- */

.charm-circles {
  position: relative;
  height: clamp(260px, 136px + 33.1vw, 390px);
}

.charm-circle {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
}
.charm-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  clip-path: circle(0%);
  transition: clip-path 3s cubic-bezier(0.22, 1, 0.36, 1);
}
.charm-circle.scroll-trigger--event img {
  clip-path: circle(50%);
}

.charm-circle--1 {
  width: clamp(10rem, 6.028rem + 18.69vw, 15rem);
  height: clamp(10rem, 6.028rem + 18.69vw, 15rem);
  top: clamp(50px, 26.2px + 6.36vw, 75px);
  left: max(-75px, -26.2px - 6.36vw);
}

.charm-circle--2 {
  width: clamp(5.5rem, 3.315rem + 10.28vw, 8.25rem);
  height: clamp(5.5rem, 3.315rem + 10.28vw, 8.25rem);
  top: clamp(50px, 26.2px + 6.36vw, 75px);
  right: clamp(120px, 62.7px + 15.27vw, 180px);
}

.charm-circle--3 {
  width: clamp(5.5rem, 3.315rem + 10.28vw, 8.25rem);
  height: clamp(5.5rem, 3.315rem + 10.28vw, 8.25rem);
  bottom: 0;
  left: clamp(110px, 57.5px + 14vw, 165px);
}

.charm-circle--4 {
  width: clamp(10rem, 6.028rem + 18.69vw, 15rem);
  height: clamp(10rem, 6.028rem + 18.69vw, 15rem);
  bottom: 0;
  right: max(-60px, -21px - 5.09vw);
}

/* --- PC --- */

@media (min-width: 768px) {
  .section_content--charm {
    overflow: visible;
    margin-top: max(-80px, -5.8565153734vw);
    padding-top: min(10.980966325vw, 150px);
  }

  .charm-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: min(69.9121522694vw, 955px);
    padding-top: min(7.3206442167vw, 100px);
    position: relative;
  }

  /* --- テキスト --- */

  .charm-text {
    padding: 0;
    margin-bottom: min(17.8565153734vw, 280px);
  }

  .charm-body {
    font-size: clamp(0.875rem, 0.714rem + 0.33vw, 1rem);
    margin-bottom: min(3.6603221083vw, 50px);
  }

  .charm-circles {
    position: static;
    height: auto;
  }

  .charm-circle {
    position: absolute;
  }

  .charm-circle--1 {
    width: clamp(11.25rem, -5.767rem + 35.45vw, 24.5rem);
    height: clamp(11.25rem, -5.767rem + 35.45vw, 24.5rem);
    top: min(27.9648609vw, 282px);
    left: -5vw;
  }

  .charm-circle--2 {
    width: clamp(3.75rem, -3.474rem + 15.05vw, 9.375rem);
    height: clamp(3.75rem, -3.474rem + 15.05vw, 9.375rem);
    top: min(27.9648609vw, 282px);
    right: 13vw;
  }

  .charm-circle--3 {
    width: clamp(3.75rem, -3.474rem + 15.05vw, 9.375rem);
    height: clamp(3.75rem, -3.474rem + 15.05vw, 9.375rem);
    top: min(55.9297218vw, 664px);
    left: 15%;
  }

  .charm-circle--4 {
    width: min(24.0117130307vw, 328px);
    height: min(24.0117130307vw, 328px);
    top: min(38.4516838vw, 425px);
    right: -2vw;
  }
}

/* ============================================
   プラン紹介（Plan）
============================================ */

.section_content--plan .ui-btn--arrow {
  margin-right: inherit;
}

/* --- アイテム --- */

.plan-item {
  display: flex;
  flex-direction: column;
  gap: min(6.4vw, 24px);
}

.plan-item:not(:last-child) {
  margin-bottom: min(16vw, 60px);
}

/* --- スライダー --- */
.plan-slider-wrap {
  transition: opacity 3s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
}
.plan-slider-wrap.scroll-trigger--event {
  opacity: 1;
}
.plan-slider-wrap .swiper {
  width: 95%;
  overflow: visible;
  margin-left: inherit;
  display: flex;
  flex-direction: column;
  gap: min(4vw, 15px);
}

.plan-slider-wrap .swiper-slide {
  overflow: hidden;
  border-radius: 0 32px 32px 0;
}

.plan-item--marine .plan-slider-wrap .swiper {
  margin-left: auto;
  margin-right: inherit;
}

.plan-item--marine .plan-slider-wrap .swiper-slide {
  border-radius: 32px 0 0 32px;
}

.plan-slider-wrap .swiper-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ドットページネーション */

.l-page .plan-slider-pagination {
  display: flex;
  justify-content: flex-end;
  gap: min(6.4vw, 24px);
}

.l-page .plan-item--marine .plan-slider-pagination {
  justify-content: flex-start;
}

.l-page .plan-slider-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  background: #c7c7c7;
  border-radius: 50%;
  opacity: 1;
  margin: 0;
}

.l-page .plan-slider-pagination .swiper-pagination-bullet-active {
  background: #6e6e6e;
}

/* --- テキスト --- */

.plan-body {
  font-size: var(--fs-16);
  color: var(--text-color);
  line-height: 2;
  margin-bottom: 40px;
  filter: blur(30px);
  transition: filter 3s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-trigger--event .plan-body {
  filter: blur(0);
}

.plan-content {
  padding: 0 min(5.3333333333vw, 20px);
}

/* --- PC --- */

@media (min-width: 768px) {
  .section_content--plan {
    padding: min(5.8565153734vw, 80px) 0 min(11.7130307467vw, 160px);
  }

  /* --- スライダー --- */

  .plan-item {
    width: 90%;
    margin-right: auto;
    flex-direction: row;
    align-items: center;
    gap: min(2.9282576867vw, 40px);
  }

  .plan-item.plan-item--marine {
    margin-left: auto;
    margin-right: inherit;
  }

  .plan-item:not(:last-child) {
    margin-bottom: min(5.8565153734vw, 80px);
  }

  .plan-slider-wrap .swiper-slide {
    border-radius: 0 62px 62px 0;
  }

  .plan-item--marine .plan-slider-wrap .swiper-slide {
    border-radius: 62px 0 0 62px;
  }

  /* シュノーケリング：画像左・テキスト右 */
  .plan-item--snorkeling .plan-slider-wrap {
    flex: 0 0 55%;
    min-width: 0;
    order: 1;
  }

  .plan-item--snorkeling .plan-content {
    flex: 1;
    min-width: 0;
    order: 2;
    padding: 0;
  }

  /* マリンスポーツ：画像右・テキスト左 */
  .plan-item--marine .plan-slider-wrap {
    flex: 0 0 55%;
    min-width: 0;
    order: 2;
  }

  .plan-item--marine .plan-content {
    flex: 1;
    min-width: 0;
    order: 1;
    padding: 0;
  }

  .plan-slider-wrap .swiper {
    width: 100%;
    margin-inline: 0;
    aspect-ratio: 3 / 2;
    gap: min(1.0980966325vw, 15px);
  }

  .plan-slider-wrap .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: auto;
  }

  .plan-item--marine .plan-slider-wrap .swiper {
    margin-left: 0;
    margin-right: 0;
  }

  .plan-body {
    font-size: clamp(0.875rem, 0.714rem + 0.33vw, 1rem);
    margin-bottom: min(2.196193265vw, 30px);
  }

  .l-page .plan-slider-pagination .swiper-pagination-bullet {
    width: min(0.7320644217vw, 10px);
    height: min(0.7320644217vw, 10px);
  }
}

/* ============================================
   パララックス背景
============================================ */

.parallax-bg {
  height: min(146.6666666667vw, 550px);
  position: relative;
  overflow: hidden;
}

.parallax-bg__img {
  position: absolute;
  inset: -50% 0;
  background-image: url("../images/top/parallax-bg_sp.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 50%;
  will-change: transform;
}

/* --- PC --- */

@media (min-width: 768px) {
  .parallax-bg {
    height: min(49.7803806735vw, 680px);
    background-image: url("../images/top/parallax-bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 50%;
  }

  .parallax-bg__img {
    display: none;
  }
}

/* ============================================
   お知らせ（News）
============================================ */

/* --- タイトル --- */
.section_content--news {
  transition:
    transform 3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 3s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(-80px);
}
.section_content--news.scroll-trigger--event {
  opacity: 1;
  transform: translateY(0);
}
.section_content--news .sec-title {
  text-align: center;
  margin-bottom: min(10.6666666667vw, 40px);
}

/* --- カードグリッド --- */

.news-list {
  display: flex;
  gap: min(5.3333333333vw, 20px);
  overflow-x: scroll;
  margin-bottom: min(10.6666666667vw, 40px);
  margin-right: min(-5.3333333333vw, -20px);
}

.news-list::after {
  content: "";
  display: block;
  flex-shrink: 0;
}

/* --- カード --- */

.news-card {
  flex-shrink: 0;
  width: clamp(12.5rem, 7.523rem + 23.42vw, 18.75rem);
}

.news-card__link {
  display: block;
  text-decoration: none;
  color: var(--text-color);
}

.news-card__thumb {
  width: 100%;
  aspect-ratio: 200 / 200;
  background: #b3b3b3;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card__body {
  background: #f6f6f6;
  padding: min(4.2666666667vw, 16px);
}

.news-card__date {
  display: block;
  font-size: var(--fs-14);
  color: var(--text-color);
  margin-bottom: min(2.1333333333vw, 8px);
}

.news-card__title {
  font-size: var(--fs-14);
  line-height: 1.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- PC --- */

@media (min-width: 768px) {
  .section_content--news .sec-title {
    margin-bottom: min(2.9282576867vw, 40px);
  }

  .news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, min(21.9619326501vw, 300px));
    justify-content: center;
    gap: min(1.756954612vw, 24px);
    margin-right: 0;
    margin-bottom: min(2.9282576867vw, 40px);
    overflow: hidden;
  }

  /* スマホ用疑似要素・非表示 */
  .news-list::after {
    display: none;
  }

  .news-card {
    width: min(21.9619326501vw, 300px);
  }

  .news-card__thumb {
    aspect-ratio: 300 / 300;
  }

  .news-card__body {
    padding: min(1.1713030747vw, 16px);
  }

  .news-card__link:hover .news-card__thumb {
    opacity: 0.7;
  }
}

/* ============================================
   フォトギャラリー（Gallery）
============================================ */

.section_content--gallery {
  transition:
    transform 3s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 3s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(80px);
}
.section_content--gallery.scroll-trigger--event {
  opacity: 1;
  transform: translateY(0);
}
.section_content--gallery {
  padding-bottom: 0;
  overflow: visible;
}

/* --- グリッド（SP） --- */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "a b"
    "c c"
    "d e";
  margin-bottom: min(5.3333333333vw, 20px);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-grid__item--a {
  grid-area: a;
  aspect-ratio: 187.5 / 123;
}

.gallery-grid__item--b {
  grid-area: b;
  aspect-ratio: 187.5 / 123;
}

.gallery-grid__item--c {
  grid-area: c;
  aspect-ratio: 375 / 259;
}

.gallery-grid__item--d {
  grid-area: d;
  aspect-ratio: 187.5 / 123;
}

.gallery-grid__item--e {
  grid-area: e;
  aspect-ratio: 187.5 / 123;
}

/* --- テキスト・ボタン --- */

.gallery-body {
  text-align: center;
}

.gallery-desc {
  font-size: var(--fs-16);
  color: var(--text-color);
  line-height: 2;
  word-break: keep-all;
  margin-bottom: min(2.6666666667vw, 10px);
}

.gallery-note {
  font-size: var(--fs-14);
  font-weight: 500;
  color: #bc0000;
  line-height: 1.7;
  margin-bottom: min(10.6666666667vw, 40px);
}

/* --- PC --- */

@media (min-width: 768px) {
  .fv-overlay {
    margin-bottom: 50px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "a c d"
      "b c e";
    margin-bottom: min(3.6603221083vw, 50px);
    position: relative;
  }

  .gallery-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
  }

  .gallery-grid:hover::after {
    opacity: 1;
  }

  .gallery-grid__item--a,
  .gallery-grid__item--b,
  .gallery-grid__item--d,
  .gallery-grid__item--e {
    aspect-ratio: 350 / 230;
  }

  .gallery-grid__item--c {
    aspect-ratio: 666 / 460;
  }

  .gallery-desc {
    margin-bottom: min(0.7320644217vw, 10px);
  }

  .gallery-note {
    margin-bottom: min(2.196193265vw, 30px);
  }
}
