/* ============================================
   how-to-choose.css
   「バルーンの選び方」ページ専用スタイル
   ＋ 下層ページ共通 FV（.subpage-hero）
   ============================================ */

/* --- スクロールアニメーション --- */
.scroll-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.scroll-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   【汎用】下層ページ共通 FV（.subpage-hero）
   他ページでも <section class="subpage-hero"> で使い回し可能
   背景画像は style="background-image: url('...')" で各ページごとに指定
   ============================================ */
.subpage-hero {
  position: relative;
  min-height: 580px;           /* ① FV高さを拡大 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 160px 60px 120px;   /* ① 上下パディングを広く */
}

/* 背景写真 */
.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: subpageHeroZoom 14s ease-in-out infinite alternate;
}

@keyframes subpageHeroZoom {
  0%   { transform: scale(1.04); }
  100% { transform: scale(1.0); }
}

/* オーバーレイ（トップページと同じ暗めグラデーション） */
.subpage-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 5, 20, 0.72) 0%,
    rgba(10, 5, 20, 0.52) 55%,
    rgba(10, 5, 20, 0.25) 100%
  );
  z-index: 1;
}

/* コンテンツ */
.subpage-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.subpage-hero-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.subpage-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.subpage-hero-lead {
  font-size: clamp(0.84rem, 1.6vw, 0.97rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* パンくずリスト */
.subpage-breadcrumb {
  position: absolute;
  bottom: 24px;
  left: 60px;
  z-index: 3;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.subpage-breadcrumb a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transition: color 0.2s;
}

.subpage-breadcrumb a:hover {
  color: #fff;
}

.subpage-breadcrumb-sep {
  opacity: 0.45;
}

/* ============================================
   ② 目次ナビ（中央寄せ）
   ============================================ */
.htc-toc {
  background: #fff;
  border-bottom: 1px solid #f0eae4;
  position: sticky;
  top: 72px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.htc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;    /* ② 中央寄せ */
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.htc-toc-list::-webkit-scrollbar {
  display: none;
}

.htc-toc-list li {
  flex-shrink: 0;
}

.htc-toc-list a {
  display: block;
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6b5c52;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.htc-toc-list a:hover {
  color: #c8956c;
  border-bottom-color: #c8956c;
}

/* ============================================
   共通セクション
   ============================================ */
.htc-section {
  padding: clamp(56px, 10vw, 96px) 0;
}

.htc-section-alt {
  background: #fdf9f6;
}

.htc-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.htc-section-header {
  margin-bottom: 48px;
}

.htc-section-lead {
  font-size: 0.92rem;
  color: #6b5c52;
  line-height: 1.9;
  margin-bottom: 48px;
  letter-spacing: 0.03em;
}

/* ============================================
   ③ SECTION 1：種類リスト（1カラム・横並びレイアウト）
   ============================================ */
.htc-type-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 各アイテム：写真（左）＋テキスト（右）の横並び */
.htc-type-item {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  background: #fff;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.htc-type-item:last-child {
  margin-bottom: 0;
}

.htc-type-item:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

/* 偶数番目は写真を右に（交互レイアウト） */
.htc-type-item:nth-child(even) {
  grid-template-columns: 1fr 340px;
}

.htc-type-item:nth-child(even) .htc-type-item-photo {
  order: 2;
}

.htc-type-item:nth-child(even) .htc-type-item-body {
  order: 1;
}

/* 写真エリア：正方形（1:1）比率に固定 */
.htc-type-item-photo {
  overflow: hidden;
  background: #f5ede6;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.htc-type-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.htc-type-item:hover .htc-type-item-img {
  transform: scale(1.04);
}

/* テキストエリア */
.htc-type-item-body {
  padding: 12px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* タイトル：見出し風に大型化 */
.htc-type-badge {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #3a2518;
  letter-spacing: 0.06em;
  line-height: 1.3;
  padding-bottom: 0;
  border-bottom: none;
  margin-bottom: 8px;
  position: relative;
}

.htc-type-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c8956c;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: 3px;
}

.htc-type-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.htc-type-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  font-size: 0.84rem;
  line-height: 1.65;
}

.htc-type-row dt {
  font-weight: 700;
  color: #5c3d2e;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

.htc-type-row dd {
  margin: 0;
  color: #4a3728;
}

.htc-type-row--duration dd {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.htc-duration-tag {
  display: inline-block;
  background: #fdf0e8;
  border: 1px solid #e8c4a0;
  color: #a0673a;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  align-self: flex-start;
}

.htc-duration-tag--short {
  background: #fff5f0;
  border-color: #f0b8a0;
  color: #c0503a;
}

.htc-duration-note {
  font-size: 0.75rem;
  color: #9a8880;
  line-height: 1.55;
}

/* ============================================
   SECTION 2：ホテルサプライズ（写真版）
   ============================================ */
.htc-surprise-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.htc-surprise-text p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: #4a3728;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.htc-notice {
  background: #fff8f0;
  border: 1px solid #f0d4b8;
  border-left: 4px solid #c8956c;
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
}

.htc-notice-icon {
  color: #c8956c;
  flex-shrink: 0;
  margin-top: 2px;
}

.htc-notice-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #8b5e3c;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.htc-notice p {
  font-size: 0.82rem !important;
  line-height: 1.75 !important;
  color: #6b4c3b !important;
  margin: 0 !important;
}

/* ホテルサプライズ写真 */
.htc-surprise-visual {
  position: sticky;
  top: 120px;
}

.htc-surprise-photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  aspect-ratio: 3 / 4;
}

.htc-surprise-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.htc-surprise-photo-wrap:hover .htc-surprise-photo {
  transform: scale(1.04);
}

/* ============================================
   SECTION 3：カスタマイズオプション（写真版）
   ============================================ */
.htc-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.htc-option-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.htc-option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.htc-option-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5ede6;
}

.htc-option-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.htc-option-card:hover .htc-option-photo {
  transform: scale(1.05);
}

.htc-option-card-body {
  padding: 20px 18px 24px;
  flex: 1;
}

.htc-option-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #3a2820;
  margin: 0 0 10px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.htc-option-title small {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: #9a8880;
  margin-top: 4px;
  font-family: 'Noto Sans JP', sans-serif;
}

.htc-option-text {
  font-size: 0.8rem;
  color: #6b5c52;
  line-height: 1.75;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ============================================
   SECTION 4：価格テーブル
   ============================================ */
.htc-price-table {
  border: 1px solid #f0e4d8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.htc-price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 22px 32px;
  border-bottom: 1px solid #f0e4d8;
  align-items: center;
  transition: background 0.2s;
}

.htc-price-row:last-child {
  border-bottom: none;
}

.htc-price-row:nth-child(odd) {
  background: #fdf9f6;
}

.htc-price-row:hover {
  background: #fdf0e8;
}

.htc-price-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #4a3728;
  letter-spacing: 0.03em;
}

.htc-price-value {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.htc-price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #c8956c;
  letter-spacing: 0.02em;
}

.htc-price-amount small {
  font-size: 0.7rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #9a8880;
  font-weight: 400;
}

.htc-price-sub {
  font-size: 0.78rem;
  color: #9a8880;
  letter-spacing: 0.02em;
}

.htc-price-note {
  font-size: 0.8rem;
  color: #9a8880;
  line-height: 1.75;
  letter-spacing: 0.03em;
}

/* ============================================
   SECTION 5：CTA
   ============================================ */
.htc-section-cta {
  background: linear-gradient(135deg, #2a1a10 0%, #3d2415 50%, #2a1a10 100%);
  position: relative;
  overflow: hidden;
}

.htc-section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/top/top-hero-slide3.webp') center/cover no-repeat;
  opacity: 0.12;
}

.htc-section-cta .htc-container {
  position: relative;
  z-index: 1;
}

.htc-section-cta .section-en-deco {
  color: rgba(255,255,255,0.5) !important;
}

.htc-section-cta .section-title {
  color: #fff !important;
}

.htc-cta-body {
  text-align: center;
}

.htc-cta-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.9;
  margin-bottom: 16px;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.04em;
}

.htc-cta-subtext {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}

.htc-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ボタン
   ============================================ */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.btn-arrow {
  transition: transform 0.2s;
}

.btn-outline:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-hero-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #06C755;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background 0.25s;
  text-decoration: none;
}

.btn-hero-line:hover {
  background: #05a847;
}

/* --- PC only / SP only --- */
.pc-only {
  display: block;
}

/* ============================================
   レスポンシブ（タブレット以下 ≤ 1024px）
   ============================================ */
@media (max-width: 1024px) {
  /* 種類リスト：写真幅を縮小 */
  .htc-type-item {
    grid-template-columns: 260px 1fr;
  }

  .htc-type-item:nth-child(even) {
    grid-template-columns: 1fr 260px;
  }

  .htc-type-item-body {
    padding: 10px 20px;
  }

  .htc-type-badge {
    font-size: 1.2rem;
  }

  .htc-surprise-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .htc-surprise-visual {
    position: static;
    max-width: 480px;
    margin: 0 auto;
  }

  .htc-option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   レスポンシブ（スマホ ≤ 768px）
   ============================================ */
@media (max-width: 768px) {
  /* FV */
  .subpage-hero {
    min-height: 420px;
    padding: 110px 24px 80px;
  }

  .subpage-breadcrumb {
    left: 24px;
  }

  /* TOC：スマホはスクロール維持・中央寄せ解除 */
  .htc-toc-list {
    padding: 0 16px;
    justify-content: flex-start;
  }

  .htc-toc-list a {
    padding: 12px 14px;
    font-size: 0.75rem;
  }

  .htc-container {
    padding: 0 20px;
  }

  .htc-section {
    padding: clamp(40px, 8vw, 64px) 0;
  }

  /* 種類リスト：スマホは縦積み（写真上・テキスト下） */
  .htc-type-item,
  .htc-type-item:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .htc-type-item:nth-child(even) .htc-type-item-photo,
  .htc-type-item:nth-child(even) .htc-type-item-body {
    order: unset;
  }

  .htc-type-item-photo {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .htc-type-item-img {
    height: 100%;
  }

  .htc-type-item-body {
    padding: 16px 20px 20px;
    gap: 10px;
  }

  .htc-type-badge {
    font-size: 1.15rem;
  }

  .htc-type-row {
    grid-template-columns: 84px 1fr;
    font-size: 0.84rem;
  }

  /* カスタマイズ */
  .htc-option-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .htc-option-card {
    flex-direction: row;
    align-items: stretch;
  }

  .htc-option-photo-wrap {
    width: 110px;
    min-width: 110px;
    aspect-ratio: auto;
    flex-shrink: 0;
  }

  .htc-option-photo {
    height: 100%;
    object-position: center;
  }

  .htc-option-card-body {
    padding: 14px 14px 18px;
  }

  /* 価格テーブル */
  .htc-price-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 20px;
  }

  /* CTAボタン */
  .htc-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-outline,
  .btn-hero-line {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .pc-only {
    display: none;
  }
}

/* ============================================
   レスポンシブ（小型スマホ ≤ 480px）
   ============================================ */
@media (max-width: 480px) {
  .subpage-hero-title {
    font-size: 1.8rem;
  }

  .htc-option-card {
    flex-direction: column;
  }

  .htc-option-photo-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}
