/* =============================================================================
   01. グローバル変数・リセット
   ============================================================================= */
/* 全画面にフィルムグレインを重ねて、印刷物のような質感を出す */
/* =============================================================================
   02. タイポグラフィ・ボタン基底
   ============================================================================= */
.section {
  padding: 120px clamp(32px, 6vw, 96px);
  position: relative;
}
.section-eyebrow {
  font-family: var(--ff-label);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 2;
  max-width: 560px;
  margin-bottom: 56px;
}

/* プライマリボタン（コーラル背景） */
.btn-primary {
  display: inline-block;
  font-family: var(--ff-label);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  background: var(--coral);
  padding: 18px 44px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.btn-primary:hover::before { opacity: 1; }

/* ゴーストボタン（縁取りのみ） */
.btn-ghost {
  font-family: var(--ff-label);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,.2);
  transition: border-color .3s, color .3s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ダークボタン（ミッドナイト背景） */
.btn-dark {
  display: inline-block;
  font-family: var(--ff-label);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  background: var(--midnight);
  padding: 14px 32px;
  text-decoration: none;
  transition: background .3s;
}
.btn-dark:hover { background: var(--ocean); }

/* アウトラインボタン（明るい背景上のサブCTA用） */
.btn-outline {
  display: inline-block;
  font-family: var(--ff-label);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 13px 30px;
  text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* LINEボタン（LINE緑背景 + SVGアイコン） */
/* =============================================================================
   03. ヘッダー・ナビゲーション
   ============================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .4s, padding .4s, backdrop-filter .4s;
}
/* スクロール時に背景を付与してブラー化（JSで .is-scrolled を付け外し） */
.site-header.is-scrolled {
  background: rgba(9,23,38,.85);
  backdrop-filter: blur(16px);
  padding: 14px 40px;
}

/* ロゴ（2段組：メイン＋サブテキスト） */
.site-header-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.site-header-logo-main {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 8px;
  line-height: 1;
}
.site-header-logo-sub {
  font-family: var(--ff-label);
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: 5px;
  text-transform: uppercase;
}

/* PCナビゲーション */
.site-header-nav-list {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
}
.site-header-nav-list a {
  font-family: var(--ff-label);
  font-size: 13px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}
/* ホバー時、下からコーラル色のアンダーラインが伸びる */
.site-header-nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--coral);
  transition: width .3s;
}
.site-header-nav-list a:hover { color: #fff; }
.site-header-nav-list a:hover::after { width: 100%; }

/* ナビ内CTAボタン（コーラル塗りボタン化） */
.site-header-cta {
  font-family: var(--ff-label) !important;
  font-size: 13px !important;
  letter-spacing: 2px !important;
  background: var(--coral);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 2px;
}
.site-header-cta::after { display: none !important; }

/* ハンバーガーボタン（モバイル表示時のみ出現） */
.site-header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.site-header-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255,255,255,.8);
  transition: transform .3s, opacity .3s;
}
/* 開いた時、3本線が×印に変形 */
.site-header-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header-hamburger.is-open span:nth-child(2) { opacity: 0; }
.site-header-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* モバイルメニュー（ドロワー） */
.site-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9,23,38,.96);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.site-nav-drawer.is-open { display: flex; }
.site-nav-drawer a {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  letter-spacing: 4px;
  transition: color .3s;
}
.site-nav-drawer a:hover { color: var(--coral-light); }
.site-nav-drawer-cta {
  margin-top: 16px;
  font-family: var(--ff-label) !important;
  font-size: 13px !important;
  letter-spacing: 3px !important;
  background: var(--coral);
  color: #fff !important;
  padding: 14px 40px;
  border-radius: 2px;
}

/* =============================================================================
   04. ヒーローセクション
   ============================================================================= */
.hero {
  position: relative;
  /* 100vh → 78vh：下の統計リボン（数字）がファーストビューにチラ見えするように調整
     ※ ヘッダー高(約80px) + stats上部(数字と単位)が見える総合計を考慮した値 */
  height: 78vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

/* ヒーロー背景画像（パララックス風に固定） */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../../images/terrace-daytime.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* オーバーレイ1：複数のradialグラデで夕陽の空気感を演出（全体を一段暗めに調整）
   ※下部を薄くしすぎるとコンテンツの可読性が落ちるので、全域で最低限の暗さを確保 */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 70% 30%, rgba(240,184,96,.28) 0%, transparent 55%),
    radial-gradient(ellipse 100% 60% at 30% 70%, rgba(224,120,80,.22) 0%, transparent 55%),
    linear-gradient(175deg,
      rgba(13,30,50,.88)   0%,
      rgba(10,26,44,.9)   25%,
      rgba(14,32,50,.82)  50%,
      rgba(30,36,50,.55)  78%,
      rgba(70,55,55,.45)  92%,
      rgba(90,70,55,.35)  100%);
}
/* オーバーレイ2：左下にコンテンツ可読性用の暗め vignette ＋ 右上ハイライト */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* 左下（コンテンツ配置エリア）にダークスクリム：文字をくっきり浮かせる */
    radial-gradient(ellipse 80% 60% at 20% 95%, rgba(0,0,0,.55) 0%, transparent 70%),
    /* 右上の柔らかなハイライト（元のまま） */
    radial-gradient(ellipse 60% 40% at 65% 25%, rgba(255,220,160,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(32px, 6vw, 96px) 80px;
  max-width: 820px;
}
.hero-logo {
  display: block;
  width: clamp(260px, 38vw, 420px);
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.4));
  opacity: 0;
  animation: fadeUp .8s .1s forwards;
}
.hero-eyebrow {
  font-family: var(--ff-label);
  font-size: 13px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  /* 背景と同化しないようドロップシャドウで境界を立てる */
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 24px;
  /* 2段重ねのテキストシャドウ：近距離で締め、遠距離で滲みを作り明るい背景にも負けない */
  text-shadow:
    0 2px 4px rgba(0,0,0,.35),
    0 6px 24px rgba(0,0,0,.55);
  opacity: 0;
  animation: fadeUp .8s .5s forwards;
}
.hero-title em { font-style: italic; color: var(--coral-light); }
.hero-desc {
  font-size: 17px;
  /* 400 → 500 で文字のボディを少し太らせて輪郭を強く */
  font-weight: 500;
  /* ほぼ純白レベルまで引き上げ（.88 → .96） */
  color: rgba(255,255,255,.96);
  line-height: 1.9;
  margin-bottom: 36px;
  /* 近距離（2px）＋遠距離（14px）の2段シャドウ：タイトルと同じロジックで
     明るい背景・暗い背景どちらにも負けないエッジをつくる */
  text-shadow:
    0 1px 2px rgba(0,0,0,.55),
    0 2px 14px rgba(0,0,0,.6);
  opacity: 0;
  animation: fadeUp .8s .7s forwards;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .9s forwards;
}

/* 下部の「Scroll」ヒント */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp .8s 1.2s forwards;
}
.hero-scroll-hint-line {
  width: 1px;
  height: 40px;
  /* 0.4 → 0.65 で細いラインが背景に埋没しないように */
  background: linear-gradient(180deg, rgba(255,255,255,.65), transparent);
  animation: scrollPulse 2s infinite;
}
.hero-scroll-hint-text {
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 3px;
  /* 0.3 → 0.6 へ。補助要素として控えめは保ちつつ視認可能に */
  color: rgba(255,255,255,.6);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  text-transform: uppercase;
}

/* （旧：.hero-wave / .hero-wave svg を削除。波型ディバイダーは廃止し、
   ヒーロー終端から stats-ribbon の深海グラデへ直接繋ぐ構成に変更） */

/* =============================================================================
   05-A. 統計リボン（数値アピールの横帯）
   ============================================================================= */
.stats-ribbon {
  /* グラデで微妙な奥行き（完全なフラットだと単調になる） */
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(240,184,96,.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--deep-sea) 0%, var(--midnight) 100%);
  position: relative;
  z-index: 4;
  padding: 12px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.stat-cell {
  text-align: center;
  padding: 44px 12px 40px;
  position: relative;
  /* hoverで少し浮かせる演出 */
  transition: transform .4s cubic-bezier(.25,.1,.25,1);
}
.stat-cell:hover { transform: translateY(-4px); }

/* セル上部のアクセント線（初期は縮んでいて、is-visibleで左→右に伸びる） */
.stat-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  transform: translateX(-50%);
  transition: width .8s cubic-bezier(.25,.1,.25,1) .2s;
}
.stat-cell.is-visible::before { width: 60%; }

/* セル間の縦区切り線：前より薄く、短く（馴染ませる） */
.stat-cell:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 35%;
  height: 30%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.15), transparent);
}

.stat-number {
  font-family: var(--ff-number);
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 300;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  /* 数字を薄く光らせて高級感 */
  text-shadow: 0 2px 20px rgba(240,184,96,.25);
  /* 単位（名・分）と数字を中央揃えで沿わせる */
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat-unit {
  font-size: .48em;
  font-weight: 400;
  color: rgba(240,184,96,.85);
  letter-spacing: 0.04em;
}
/* ✓ の単独表示は少し大きめに */
.stat-cell.is-check .stat-number { font-size: clamp(44px, 5.6vw, 58px); }

.stat-label {
  /* 日本語を扱うので label フォントではなく本文用に。text-transform も外す */
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  /* 0.4 → 0.72 で読めるコントラストに（控えめさは保持） */
  color: rgba(255,255,255,.72);
  line-height: 1.4;
}

/* 数字カウントアップ中は transition を使って滑らかに（JSが値を入れ替える） */
.stat-num { transition: color .3s; display: inline-block; }

/* ✓ の描画アニメ（is-visibleで拡大しながらフェードイン） */
.stat-cell.is-check .stat-number {
  opacity: 0;
  transform: scale(.5);
  transition: opacity .5s .3s, transform .6s cubic-bezier(.3,1.6,.5,1) .3s;
}
.stat-cell.is-check.is-visible .stat-number {
  opacity: 1;
  transform: scale(1);
}

/* =============================================================================
   05-B. フィーチャー（MOANAの3つの魅力）
   ============================================================================= */
.features-section {
  background: var(--cream);
  overflow: hidden;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  position: relative;
  overflow: hidden;
}
.feature-img-area {
  height: 320px;
  background: var(--sand);
  position: relative;
  overflow: hidden;
  transition: transform .6s cubic-bezier(.25,.1,.25,1);
}
.feature-card:hover .feature-img-area { transform: scale(1.03); }
.feature-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 画像下部に暗いグラデをかけてテキストの視認性を上げる */
.feature-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(9,23,38,.85) 0%, rgba(9,23,38,.4) 60%, transparent 100%);
}
.feature-number {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 300;
  color: rgba(255,255,255,.12);
  line-height: 1;
  margin-bottom: -8px;
}
.feature-name {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,.6);
  line-height: 1.8;
}

/* =============================================================================
   05-C. メニュー・プラン
   ============================================================================= */
.menu-section {
  background: var(--sand-light);
  position: relative;
}
/* 右側に淡いコーラルのグラデを敷いて奥行きを出す */
.menu-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 50%, rgba(224,120,80,.06) 0%, transparent 70%);
  pointer-events: none;
}
.menu-flex {
  display: flex;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}
.menu-left { flex: 1; min-width: 0; }
/* 右サイドの団体案内は画面に追従（sticky）させる */
.menu-right {
  width: 360px;
  flex-shrink: 0;
  position: sticky;
  top: 120px; /* ヘッダー高＋余白分 */
}

/* メニュー1行（サムネ + 名前 + 価格） */
.menu-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(160,152,136,.15);
  transition: transform .3s;
}
.menu-item:hover { transform: translateX(8px); }
.menu-item:first-child { border-top: 1px solid rgba(160,152,136,.15); }
.menu-thumb {
  width: 80px;
  height: 80px;
  background: var(--sand);
  border-radius: 4px;
  flex-shrink: 0;
  overflow: hidden;
}
.menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-info {
  flex: 1 1 auto;
  min-width: 0;
  word-break: normal;
}
.menu-name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-desc-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--stone);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.menu-price {
  font-family: var(--ff-number);
  font-size: 28px;
  font-weight: 400;
  color: var(--coral);
  letter-spacing: 1px;
  flex-shrink: 0;
  white-space: nowrap;
}
.menu-price--quote { font-size: 18px; }

/* ---- クリック可能であることの視覚的ヒント ---- */
.menu-item {
  cursor: pointer;
  /* タップハイライト抑制（モバイル） */
  -webkit-tap-highlight-color: transparent;
  /* 行全体が「カード型ボタン」であることを示すため、ホバーで浮き上がらせる */
  border-radius: 8px;
  transition: background-color .3s, box-shadow .3s, transform .3s;
}
.menu-item:hover {
  background-color: rgba(224, 120, 80, 0.06);   /* コーラル極薄ティント */
  box-shadow: 0 6px 20px rgba(44, 36, 24, 0.08);
  transform: translateY(-2px);
}
.menu-item:focus-visible {
  /* キーボード操作時のみフォーカスリングを見せる */
  outline: 2px solid var(--coral);
  outline-offset: 4px;
  border-radius: 8px;
}

/* 行末の常時表示ピルボタン「詳細を見る ›」
   ・塗りつぶしのピル型CTAでクリック可能であることを強く示す
   ・モバイルでもホバー不要で視認できる */
.menu-item::after {
  content: '詳細を見る ›';
  flex-shrink: 0;
  margin-left: 14px;
  align-self: center;
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 2px;
  color: #fff;
  background: var(--coral);
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(224, 120, 80, 0.30);
  transition: background-color .3s, transform .3s, box-shadow .3s;
}
/* ホバー/フォーカス時：コーラルを少し濃くするだけの控えめ表現 */
.menu-item:hover::after,
.menu-item:focus-visible::after {
  background-color: #c86640;
  transform: translateX(4px);
  box-shadow: 0 6px 14px rgba(224, 120, 80, 0.35);
}
/* サムネイルもホバーで微ズーム（詳細が開く予感を強める） */
.menu-thumb { overflow: hidden; }
.menu-thumb img { transition: transform .4s cubic-bezier(.2,.9,.3,1); }
.menu-item:hover .menu-thumb img { transform: scale(1.06); }

/* モバイル：ピルボタンを少しコンパクトに */
@media (max-width: 640px) {
  .menu-item::after {
    font-size: 10px;
    padding: 8px 14px;
    margin-left: 10px;
    letter-spacing: 1.5px;
  }
}

/* =============================================================================
   05-C. メニュー詳細モーダル（<dialog>ベース）
   - 各 .menu-item に data-plan を書いておく
   - 対応する <template id="plan-xxx"> の中身が modalBody にクローンされる
   - showModal() を使うと focus trap と Esc閉じが自動で効く（アクセシブル）
   ============================================================================= */
.menu-modal {
  width: min(720px, calc(100vw - 32px));
  /* 動的ビューポート対応：iOS Safari のアドレスバー変動に強い dvh */
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(13,30,50,.25);
  /* ビューポート中央に確実に配置 */
  position: fixed;
  inset: 0;
  margin: auto;
}
.menu-modal::backdrop {
  background: rgba(13,30,50,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* ふわっと立ち上がる開閉アニメ */
.menu-modal[open] { animation: menuModalIn .28s cubic-bezier(.2,.9,.3,1.1); }
@keyframes menuModalIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.menu-modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(253,250,244,.92);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  z-index: 2;
  transition: background .2s, transform .2s;
}
.menu-modal__close:hover { background: #fff; transform: rotate(90deg); }
.menu-modal__body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100dvh - 48px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* テンプレート側のパーツ（.mm- prefix でmenu-modal専用と分離） */
.mm-hero {
  aspect-ratio: 16 / 9;
  background: var(--sand);
  overflow: hidden;
}
.mm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================================
   Chrome iOS 対策：<picture> を親サイズに追従させる
   ---------------------------------------------------------------------------
   <picture> はデフォルト display:inline のため、Chrome iOS では子 <img> の
   intrinsic サイズ（width/height属性）と aspect-ratio 指定の親コンテナで
   循環参照が起き、画像がサムネサイズに縮小表示される不具合がある。
   Safari/Brave は内部処理で吸収するが、Chrome だけ露呈するため block 化で回避。
   ============================================================================= */
.menu-thumb picture,
.feature-img-area picture,
.gal-item picture,
.mm-hero picture {
  display: block;
  width: 100%;
  height: 100%;
}
.menu-thumb img,
.feature-img-area img,
.gal-item img,
.mm-hero img {
  display: block;
}
.mm-inner { padding: 32px 32px 40px; }
.mm-eyebrow {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mm-name {
  font-family: var(--ff-display);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.mm-price {
  font-family: var(--ff-number);
  font-size: 32px;
  color: var(--coral);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.mm-price small {
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--stone);
  margin-left: 10px;
  letter-spacing: 0;
}
.mm-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--stone);
  margin-bottom: 8px;
}
.mm-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(160,152,136,.22);
}
.mm-section h4 {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--stone);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mm-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mm-list li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.mm-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 13px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--coral);
}
.mm-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.mm-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--stone);
  line-height: 1.7;
}

/* モバイル：画面中央に表示（デスクトップと統一したセンター配置）
   幅は画面に少し余白を残したサイズ、高さは画面に収まる範囲で内側スクロール */
@media (max-width: 640px) {
  .menu-modal {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    /* dvh で iOS Safari のアドレスバーに追従、スティッキーCTA(72px) 分も差し引いて被り防止 */
    max-height: calc(100dvh - 120px);
    margin: auto;
    border-radius: 14px;
  }
  .mm-inner { padding: 24px 20px 32px; }
  .mm-hero  { aspect-ratio: 4 / 3; }
  .mm-price { font-size: 28px; }
}

/* 右サイドの団体案内カード */
.menu-aside-card {
  background: var(--cream);
  border: 1px solid rgba(160,152,136,.12);
  padding: 40px 32px;
}
.menu-aside-eyebrow {
  font-family: var(--ff-label);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 12px;
}
.menu-aside-title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}
.menu-aside-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.9;
  margin-bottom: 24px;
}

/* =============================================================================
   05-C2. アクティビティ＆レンタル（BBQ以外の手配）
   - 団体ページ（.activity-card）とほぼ同じ設計。個人ページ用にコンパクト化
   ============================================================================= */
.activity-section {
  background: var(--sand-light);
}
.activity-intro {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.activity-intro .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.activity-card {
  background: var(--cream);
  border: 1px solid rgba(160, 152, 136, .12);
  text-align: center;
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;            /* ホバー時の画像ズームをはみ出させない */
  display: flex;
  flex-direction: column;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(9, 23, 38, .08);
}
.activity-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(160, 152, 136, .08);
}
.activity-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s cubic-bezier(.2,.9,.3,1);
}
.activity-card:hover .activity-card-image img {
  transform: scale(1.06);
}
.activity-card-body {
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.activity-card-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.activity-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-light);
  line-height: 1.8;
  flex: 1;
}
.activity-card-tag {
  display: inline-block;
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  border: 1px solid rgba(224, 120, 80, .25);
  padding: 3px 12px;
  margin-top: 14px;
}
/* 下部の注釈文（※で始まる備考） */
.activity-note {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--coral);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-light);
}
.activity-note strong {
  color: var(--ink);
  font-weight: 500;
}

/* =============================================================================
   05-D. 売店メニュー
   ============================================================================= */
.shop-section {
  background: var(--cream);
  position: relative;
}
.shop-intro {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}
.shop-intro .section-lead {
  margin-left: auto;
  margin-right: auto;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.shop-card {
  background: #fff;
  border-radius: 12px;
  /* 画像が角丸の外に出ないよう overflow hidden に変更。
     padding は下側の本文部分で .shop-card-body に移管 */
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(160,152,136,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: box-shadow .3s, transform .3s;
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
/* カード上部のイメージ画像（4:3で表示、オブジェクトはカバー配置）
   aspect-ratio + object-fit で、画像のサイズが違っても高さが揃う */
.shop-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-light);  /* 画像読込中のプレースホルダ色 */
}
.shop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.shop-card:hover .shop-card-img img {
  transform: scale(1.04);
}
/* 画像下のテキストエリア（旧 shop-card 直下パディング分をここで再現） */
.shop-card-body {
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;  /* 3カードの高さ揃え用（本文量が違ってもカード全体で均す） */
}
.shop-card-title {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 4px;
}
.shop-card-title-en {
  font-family: var(--ff-label);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
  display: block;
}
.shop-card-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.shop-card-items li {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-light);
  padding: 8px 0;
  border-bottom: 1px solid rgba(160,152,136,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop-card-items li:last-child { border-bottom: none; }
.shop-card-items .item-price {
  font-family: var(--ff-number);
  font-size: 13px;
  color: var(--coral);
  font-weight: 500;
  white-space: nowrap;
}
.shop-card-note {
  font-size: 12px;
  color: var(--stone);
  margin-top: 12px;
  font-style: italic;
}

/* =============================================================================
   05-E. グループCTA（団体・代理店誘導）
   ============================================================================= */
.group-cta {
  background: var(--deep-sea);
  color: #fff;
  text-align: center;
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
/* 背景に淡いスポットライト2点を配置して奥行きを作る */
.group-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 400px at 20% 80%, rgba(94,196,182,.08) 0%, transparent 100%),
    radial-gradient(circle 300px at 80% 20%, rgba(240,184,96,.06) 0%, transparent 100%);
}
.group-cta .section-eyebrow { color: var(--amber); text-align: center; }
.group-cta .section-heading {
  color: #fff;
  max-width: 800px;
  margin: 0 auto 16px;
  text-align: center;
}
.group-cta-desc {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin-bottom: 48px;
  text-align: center;
  line-height: 2;
}
.group-cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.group-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px 40px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  transition: border-color .4s, transform .4s, background .4s;
}
.group-card:hover {
  border-color: var(--coral);
  transform: translateY(-4px);
  background: rgba(255,255,255,.06);
}
/* 代理店向けカードはアンバー系のアクセント */
.group-card--agency { border-color: rgba(240,184,96,.25); }
.group-card--agency:hover { border-color: var(--amber); }
.group-card-icon {
  color: var(--turquoise);
  margin-bottom: 20px;
}
.group-card--agency .group-card-icon { color: var(--amber); }
.group-card-label {
  font-family: var(--ff-body);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.group-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 20px;
}
.group-card-arrow {
  font-size: 20px;
  color: var(--coral);
  transition: transform .3s;
}
.group-card:hover .group-card-arrow { transform: translateX(6px); }
.group-card--agency .group-card-arrow { color: var(--amber); }

/* =============================================================================
   05-F. ギャラリー
   ============================================================================= */
.gallery-section { background: var(--cream); }
/* 左端の1枚だけ縦長になるモザイクレイアウト */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.gal-item {
  background: var(--sand);
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.gal-item:first-child { grid-row: span 2; }
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.1,.25,1);
}
.gal-item:hover img { transform: scale(1.05); }
/* ホバー時、画像の上に暗いオーバーレイを敷く */
.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9,23,38,.2);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.gal-item:hover::after { opacity: 1; }

.gal-instagram {
  text-align: center;
  margin-top: 24px;
}
.gal-instagram a {
  font-family: var(--ff-label);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--coral);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s;
}
.gal-instagram a:hover { color: var(--ink); }

/* =============================================================================
   05-G. アクセス
   ============================================================================= */
.access-section { background: var(--sand-light); }
.access-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.map-box {
  height: 400px;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}
/* Googleマップiframeを少しグレースケール化してトーンを合わせる */
.map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}
.access-details h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 32px;
}
.access-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(160,152,136,.12);
  font-size: 16px;
}
.access-key {
  width: 120px;
  flex-shrink: 0;
  font-family: var(--ff-label);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--stone);
  padding-top: 3px;
}
.access-val {
  color: var(--ink);
  font-weight: 400;
}

/* =============================================================================
   05-H. 問い合わせCTA（フッター直前）
   ============================================================================= */
.contact-cta {
  background: var(--cream);
  text-align: center;
  padding: 100px 40px;
  position: relative;
}
/* 上端に薄い装飾ラインを1本入れてフッターとの繋ぎを作る */
.contact-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--stone-light), transparent);
}
.contact-cta .section-eyebrow { text-align: center; }
.contact-cta .section-heading {
  margin-bottom: 8px;
  text-align: center;
}
.contact-cta-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--stone);
  margin-bottom: 32px;
}
.contact-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.contact-cta-tel {
  font-family: var(--ff-number);
  font-size: 32px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: 3px;
  margin-top: 20px;
  text-decoration: none;
  display: inline-block;
}

/* =============================================================================
   90. サイトフッター
   ============================================================================= */
/* ブロック：ブランド */
/* ブロック：電話 */
/* ブロック：住所 */
/* ブロック：ナビ */
/* SNSアイコン + コピーライト */
/* =============================================================================
   91. ブレッドクラム（フッター直上）
   ============================================================================= */
/* =============================================================================
   92. スクロール出現アニメーション
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity   .8s cubic-bezier(.25,.1,.25,1),
    transform .8s cubic-bezier(.25,.1,.25,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(1); }
  50%      { opacity: .8; transform: scaleY(1.1); }
}

/* =============================================================================
   99. レスポンシブ（max-width: 768px）
   ============================================================================= */
@media (max-width: 768px) {
  .section { padding: 80px 24px; }

  /* ヘッダー／ナビ */
  .site-header { padding: 16px 20px; }
  .site-header-nav-list { display: none; }
  .site-header-hamburger { display: flex; }

  /* ヒーロー：SPではflex-endを解除して普通の積み上げレイアウトに */
  .hero {
    height: auto;
    min-height: 0;
    display: block;
    padding: 100px 0 60px;
  }
  .hero-content { padding: 0 24px 0; max-width: 100%; }
  .hero-logo { width: clamp(180px, 55vw, 240px); margin: 0 0 20px; }
  .hero-title { font-size: clamp(32px, 8vw, 44px); }
  .hero-desc { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scroll-hint { display: none; }

  /* 統計リボン */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2)::after { display: none; }

  /* フィーチャー */
  .features-grid { grid-template-columns: 1fr; }
  .feature-img-area { height: 260px; }

  /* メニュー */
  .menu-flex { flex-direction: column; gap: 40px; }
  .menu-right { width: 100%; position: static; }

  /* SP：メニューカードを縦積みレイアウトに（写真 top → 情報 → 価格）*/
  .menu-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin-bottom: 16px;
    border: 1px solid rgba(160,152,136,.2);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }
  .menu-item:first-child { border-top: 1px solid rgba(160,152,136,.2); }
  .menu-item:hover { transform: none; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
  .menu-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }
  .menu-info { padding: 18px 20px 8px; }
  /* SPカードでは省略せず通常の折り返しを許可 */
  .menu-name {
    font-size: 20px;
    margin-bottom: 6px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .menu-desc-text {
    font-size: 13px;
    line-height: 1.7;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .menu-price {
    font-size: 22px;
    padding: 0 20px 10px;
    text-align: right;
  }
  /* SP：カード全体がモーダルを開くことを示すフッター行 */
  .menu-item::after {
    display: block !important;
    content: 'タップでプラン詳細を見る ›';
    font-family: var(--ff-label);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--coral);
    background: var(--sand-light);
    padding: 10px 20px;
    margin: 0;
    border-radius: 0;
    text-align: center;
    border-top: 1px solid var(--sand);
    box-shadow: none;
    flex-shrink: 0;
  }
  /* SP：タップ時も暗転させず、コーラル背景＋白抜きで明るい反応 */
  .menu-item:hover::after,
  .menu-item:active::after,
  .menu-item:focus-visible::after {
    background: var(--coral) !important;
    background-color: var(--coral) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
  }

  /* アクティビティ＆レンタル */
  .activity-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* 売店 */
  .shop-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* グループCTA */
  .group-cta-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .group-card { padding: 36px 24px 32px; }

  /* ギャラリー */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }
  .gal-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* アクセス */
  .access-grid { grid-template-columns: 1fr; gap: 40px; }

  /* フッター */
}

/* =============================================================================
   320〜380px 極狭幅（iPhone SE 1st 等）
   フォントサイズ・余白を最小化
   ============================================================================= */
@media (max-width: 380px) {
  .section { padding: 56px 16px; }

  .hero { padding: 84px 0 48px; }
  .hero-content { padding: 0 16px; }
  .hero-logo { width: 180px; margin-bottom: 16px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: 3px; margin-bottom: 12px; }
  .hero-title { font-size: 28px; letter-spacing: 1px; margin-bottom: 16px; line-height: 1.3; }
  .hero-desc { font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; font-size: 13px; padding: 12px 20px; }

  .section-heading { font-size: 24px !important; letter-spacing: 1px !important; }
  .section-eyebrow { font-size: 10px; letter-spacing: 3px; }

  .stats-grid { grid-template-columns: 1fr !important; }
  .stat-cell { padding: 18px 8px; }
  .stat-cell::after { display: none !important; }

  .features-grid { gap: 24px; }
  .feature-img-area { height: 200px; }

  /* 380px以下：カード内の余白とフォントを更に圧縮 */
  .menu-item { margin-bottom: 12px; }
  .menu-info { padding: 14px 16px 4px; }
  .menu-name { font-size: 18px; }
  .menu-desc-text { font-size: 12px; }
  .menu-price { font-size: 20px; padding: 0 16px 14px; }

  .btn-primary, .btn-dark, .btn-outline { font-size: 13px; padding: 12px 20px; }

  .contact-cta { padding: 48px 16px; }
  .contact-cta-tel { font-size: 18px; }
}

/* 印刷用（紙出しした時、装飾を減らす） */
@media print {
  .site-header,
  .hero-scroll-hint,
  body::after { display: none; }
  .hero { height: auto; min-height: 0; padding: 40px 32px; }
  .section { padding: 40px 32px; }
  .reveal { opacity: 1; transform: none; }
}
