/* ==========================================================================
   RESET & TOKENS
   ========================================================================== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
:root{
  --ink:#111; --muted:#666;
  --bg:#f5f5f7; --paper:#fff; --line:#e6e6e9;
  --accent:#0b63c9;
  --s-1:4px; --s0:8px; --s1:12px; --s2:16px; --s3:20px; --s4:24px; --s5:32px; --s6:40px;
  --fz-hero: clamp(22px,3.6vw,36px); --fz-h2: 18px; --fz-base: 14px; --fz-small: 12px;
}

/* ==========================================================================
   BASE（フォント更新）
   ========================================================================== */
body{
  /* JPフォント優先 */
  font-family: Riviera,"Hiragino Kaku Gothic ProN", "Hiragino Sans", "A+EqpB-游ゴシック体 Pr6N M",
             游ゴシック体, YuGothic, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.65; font-size: var(--fz-base);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* 見出し/ボタン/タブなどは英数字を Riviera に */
h1,h2,h3,h4,h5,h6,
.btn,.btn-outline,.btn-s,.btn-mini,.tab-btn,
.rank,.title-block .name,.stadium-link .team,.ticket-block h4{
  font-family: Riviera, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "A+EqpB-游ゴシック体 Pr6N M",
             游ゴシック体, YuGothic, "游ゴシック Medium", "Yu Gothic Medium", 游ゴシック, sans-serif;
  letter-spacing: .02em;
}
/* CTAボタンの下線を常にオフ */
a.btn, a.btn:hover, a.btn:focus,
.hero-cta .btn, .hero-cta .btn:hover, .hero-cta .btn:focus{
  text-decoration: none !important;
}

.tour-link{padding:10px 0 0; font-weight:700; 
}
/* ==========================================================================
   BUTTONS（角丸廃止）
   ========================================================================== */
.btn, .btn-outline{
  display:inline-block; padding:10px 16px; font-weight:700; border:1px solid #0a3d7a; border-radius:0; letter-spacing:.01em;
}
.btn{ background:#0a3d7a; color:#fff; }
.btn:hover{ background:#072d5a; border-color:#072d5a; }
.btn-outline{ background:#fff; color:#0a3d7a; }
.btn-outline:hover{ background:#eef4ff; }

/* 旅行ボタン（各チーム共通） */
.travel-cta{ display:flex; flex-wrap:wrap; gap:10px; margin:12px 0 18px; }
.btn-travel, .btn-travel-outline{
  flex:1 1 auto; text-align:center; padding:12px 16px; font-size:15px; font-weight:700; border-radius:0; text-decoration:none;
}
.btn-travel{ background:#0a3d7a; color:#fff; border:1px solid #0a3d7a; }
.btn-travel:hover{ background:#072d5a; }
.btn-travel-outline{ background:#fff; color:#0a3d7a; border:1px solid #0a3d7a; }
.btn-travel-outline:hover{ background:#eef4ff; }

/* ==========================================================================
   HERO（背景動画）— 高さとレイアウト調整
   ========================================================================== */

.hero.hero--video{
  position: relative;
  color: #fff;
  padding: 0;
  /* デスクトップ既定（上限を設けて見切れ防止） */
  min-height: 420px;
  max-height: 520px;
  border-bottom: 1px solid #1b2330;
  background: #0f1115; /* 動画未ロード時の下地 */
}

/* --- 背景動画レイヤー --- */
.hero-video{ position:absolute; inset:0; overflow:hidden; }
.hero-video__media{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; object-position:center;
  filter:saturate(1.05) contrast(1.05);
}
.hero-video__overlay{
  position:absolute; inset:0;
  /* 視認性を上げるための薄いグラデ被せ */
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 45%);
  pointer-events:none;
}

/* --- 右上：配信日バッジ（余白ゼロ／枠線なし） --- */
.hero-badge{
  position:absolute; top:0; right:0;
  background: rgba(0,0,0,.55);
  color:#fff;
  border:none;
  padding:6px 8px;              /* 最小限の読みやすさ確保 */
  font-size:12px; font-weight:800; letter-spacing:.02em;
  z-index:2;
}

/* --- テキストレイヤー（動画の上に重ねる） --- */
.hero-inner{
  position:relative; z-index:1;
  max-width:1120px; margin:0 auto;
  padding:64px 16px 56px;       /* PC/タブの余白 */
  height:100%;
  display:grid; align-content:end; /* 既定は下寄せ */
}
.hero.hero--video h1{
  margin:0 0 10px;
  font-weight:900;
  font-size: clamp(22px, 4.6vw, 40px);
  letter-spacing:.01em;
  text-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.hero.hero--video .lead{
  margin:0 0 16px;
  color:#e7e9ed;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.hero-cta{ display:flex; gap:10px; flex-wrap:wrap; }

/* ヒーロー内のCTAリンク下線は常にオフ */
.hero-cta .btn,
.hero-cta .btn:hover,
.hero-cta .btn:focus{ text-decoration:none !important; }

/* --- モバイル最適化：高さ 75vh、テキスト縦中央 --- */
@media (max-width: 640px){
  .hero.hero--video{
    min-height: 75vh;      /* 高さはそのまま */
    display: flex;         /* ← hero 自体をフレックス化 */
    align-items: center;   /* 縦中央 */
    justify-content: center; /* 横も一応中央（中身は左寄せで上書きする） */
  }
  .hero-inner{
    width: 100%;
    padding: 0 16px;       /* 上下余白を消して中央寄せの純度を上げる */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* 横は左揃え */
    text-align: left;
    gap: 12px;
  }
  .hero.hero--video h1,
  .hero.hero--video .lead{
    margin: 0;
  }
}

/* バッジは絶対配置のまま。テキストの中央寄せに干渉させない */
.hero-badge{
  position: absolute;
  top: 0; right: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  padding: 15px 20px;     /* さらに圧縮して邪魔にならないように */
  font-size: 12px; font-weight: 800;
  z-index: 2;
}

/* --- タブレット以上での高さ・余白微調整 --- */
@media (min-width: 768px){
  .hero-inner{ padding: 64px 24px 56px; }
}

/* ==========================================================================
   上部カレンダー（ページ共通）
   ========================================================================== */
.schedule{ background: var(--paper); border:1px solid var(--line); padding: var(--s3) 0 var(--s2); }
.calendar-wrapper{ overflow-x:auto; padding: 0 var(--s2) var(--s2); }
.calendar-table{ border-collapse: collapse; min-width:980px; width:100%; table-layout:fixed; font-size:14px; }
.calendar-table thead th{ background:#f3f5f7; border:1px solid var(--line); padding:9px 8px; text-align:center; font-weight:700; color:#222; }
.calendar-table td{ border:1px solid var(--line); padding:9px 8px; text-align:center; color:#222; }
.phase-row td{ background:#f7f8fa; font-weight:700; }
.phase-first{ background:#eef6ff; } .phase-final{ background:#fff3e8; }
.is-reserve{ background:#fff8db; color:#715a12; font-weight:700; }
.caution{ padding: 0 var(--s2) var(--s3); }
.caution ul{ margin:0; padding-left:1.2em; } .caution li{ margin:4px 0; color:var(--muted); }

/* ==========================================================================
   TABS（セ=緑帯 / パ=青帯。左右余白ゼロ）
   ========================================================================== */
.tabs{ padding: 0; }
.tab-head{
  display:grid; grid-template-columns:1fr 1fr;
  background: linear-gradient(to right, #12a936 0 50%, #42b5e6 50% 100%);
  overflow:hidden; border:none;
}
.tab-btn{
  appearance:none; border:none; background:transparent; color:#fff;
  padding:14px 16px; font-weight:900; letter-spacing:.02em; cursor:pointer; text-align:center;font-size: 18px;
}
.tab-btn.active{ filter:brightness(0.95); text-decoration:none; }
.tab-btn:focus-visible{ outline:2px solid #fff; outline-offset:-2px; }

.panel{ display:none; background:transparent; border:none; padding:0; }
.panel.active{ display:block; }

/* ==========================================================================
   LEAGUE WRAP（帯色）
   ========================================================================== */
.league-wrap.cl{ background:#12a936; padding: var(--s2); }
.league-wrap.pl{ background:#42b5e6; padding: var(--s2); }

/* ==========================================================================
   ACCORDION（details）
   ========================================================================== */
.accordion{ display:grid; gap: var(--s1); }

/* 外枠。左罫線は summary のみに描画（角丸なし） */
details.team{ border:1px solid var(--line); background:#fff; border-radius:0; position:relative; }

/* 見出し：球場名は非表示。右端に＋/−（擬似） */
details.team > summary{
  list-style:none; cursor:pointer; padding:12px 44px 12px var(--s2);
  display:flex; gap:10px; align-items:flex-start; font-weight:700;
  background:#fff; color:#000; border-left:8px solid var(--line);
  position:relative;
}
details.team > summary::-webkit-details-marker{ display:none; }
details.team > summary .title-block .stadium{ display:none !important; }
details.team > summary::after{
  content: "＋"; position:absolute; right:12px; top:50%; transform:translateY(-50%);
  font-weight:600; font-size:18px; line-height:1; width:20px; text-align:center;
  color:#333; border:1px solid var(--line); padding:2px 0; background:#fafafa;
}
details.team[open] > summary::after{ content: "－"; }

/* 未選択=グレー、選択時=チームカラー（summaryの左線のみ） */
details.team.team-hanshin[open]   > summary{ border-left-color:#FFE201; }
details.team.team-dena[open]      > summary{ border-left-color:#003F8E; }
details.team.team-giants[open]    > summary{ border-left-color:#EB9713; }
details.team.team-hawks[open]     > summary{ border-left-color:#FCC700; }
details.team.team-fighters[open]  > summary{ border-left-color:#01609A; }
details.team.team-buffaloes[open] > summary{ border-left-color:#A47B01; }

/* 見出し内テキスト */
.rank{ font-weight:800; font-size:18px; line-height:1.2; min-width:38px; }
details.team > summary .title-block{ display:inline-block; line-height:1.35; }
details.team > summary .title-block .name{ display:block; font-weight:700; font-size:18px; }

/* 内容領域（項目間の余白を増やす） */
details.team .content{ display:none; padding: 0 var(--s2) var(--s2); }
details.team[open] .content{ display:block; }
details.team .content > * + *{ margin-top: 16px; } /* 直下の兄弟間隔を統一 */

/* h3 見出しにチームカラーの下線 */
details.team .content h3{
  margin: 25px 0 10px; padding-bottom:6px; position:relative; font-weight:800; font-size:16px;
}
.team-hanshin .content h3::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:#FFE201; }
.team-dena    .content h3::after{ background:#003F8E; content:""; position:absolute; left:0; right:0; bottom:0; height:4px; }
.team-giants  .content h3::after{ background:#EB9713; content:""; position:absolute; left:0; right:0; bottom:0; height:4px; }
.team-hawks   .content h3::after{ background:#FCC700; content:""; position:absolute; left:0; right:0; bottom:0; height:4px; }
.team-fighters .content h3::after{ background:#01609A; content:""; position:absolute; left:0; right:0; bottom:0; height:4px; }
.team-buffaloes .content h3::after{ background:#A47B01; content:""; position:absolute; left:0; right:0; bottom:0; height:4px; }

/* サブ見出し（日本シリーズの「試合日程」など） */
.subhead{ margin:8px 0 6px; font-size:15px; font-weight:800; }

/* ==========================================================================
   チーム内テーブル（グレー系 / 列幅調整 / ヘッダ縦線）
   ========================================================================== */

.schedule-table-wrap{ margin: 12px 0 10px; }

.match-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:14px;
  border:1px solid var(--line);
}

/* 会場ラベル（装飾は外し済み / 共通 .venue-label で調整） */
.match-table thead .venue{
  background:#e9ecef;
  color:#222;
  text-align:center;
  font-weight:800;
  padding:10px 8px;
  border-bottom:1px solid #d0d3d8;
}

/* サブヘッダ行（対戦・開催日・開始時刻） */
.match-table thead .head-sub th,
.match-table .head-sub th{
  background:#f7f8fa;
  color:#222;
  font-weight:700;
  text-align:center;
  padding:8px 6px;
  border-top:1px solid #d0d3d8;
  border-bottom:1px solid #d0d3d8;
  border-left:1px solid #d0d3d8;   /* ← ヘッダにも縦線を追加 */
}
.match-table .head-sub th:first-child{
  border-left:none; /* 1列目は左線なし */
}

/* 本文セル */
.match-table th[scope="row"]{
  width:20%;
  text-align:left;
  padding:10px;
  font-weight:800;
  border-right:1px solid var(--line);
}
.match-table td{
  padding:10px;
  border-left:1px solid var(--line);
}
.match-table tbody tr + tr th,
.match-table tbody tr + tr td{
  border-top:1px solid var(--line);
}

/* 予備日のセル */
.match-table .is-reserve td{
  background:#fff8db;
  color:#715a12;
  font-weight:700;
}

/* 注意文（赤系 / 黒指定なら上書き可） */
.table-notes{
  margin:12px 0 0;
  padding-left:1.2em;
}
.table-notes li{
  color:#111;            /* ← 黒字に統一 */
  font-size:12px;
  line-height:1.3;
  margin:4px 0;
}

/* --- スマホ列幅調整 --- */
@media (max-width:640px){
  .match-table{ font-size:14px;text-align: center; }
  .match-table .col-label{ width:15%; }  /* 対戦を少し狭め */
  .match-table .col-date { width:40%; }  /* 開催日を広め */
  .match-table .col-time { width:45%; }  /* 開始時刻を確保 */
}

/* ==========================================================================
   ACCESS（球場まとめ）
   ========================================================================== */

/* 見出し上の余白を少し増やす（スマホ基準） */
.access{ padding: 28px 16px 40px; }
.access h2{ margin: 0 0 16px; }

/* アンカーナビ */
.anchor-nav{
  display:flex; gap:8px; flex-wrap:wrap;
  padding: 0 0 14px;
}
.anchor-nav .chip{
  display:inline-block; padding:8px 12px; border:1px solid #e6e6e9;
  background:#fff; color:#111; text-decoration:none; border-radius:0; font-size:14px;
}
.anchor-nav .chip:hover{ background:#f3f5f7; }

/* グリッド */
.access-grid{ display:grid; gap:12px; grid-template-columns:1fr 1fr 1fr; }
@media (max-width:980px){ .access-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .access-grid{ grid-template-columns:1fr; } }

/* カード */
.card{ background:#fff; border:1px solid #e6e6e9; padding:16px; border-radius:0; }
.card h3{ margin:0 0 8px; font-size:18px; font-weight:800; }
.team-label{ margin:0 0 4px; font-size:13px; color:#444; }

/* 画像（高さ控えめ）＋説明文 */
.stadium-thumb{ margin: 4px 0 8px; }
.stadium-thumb img{ width:100%; height:160px; object-fit:cover; display:block; }
.stadium-desc{ margin:0 0 12px; font-size:14px; color:#333; }

/* フィールド（見出しの上に余白＋文字少し大きく） */
.field{ margin: 18px 0 18px; }
.field h4{ margin:22px 0 6px; font-size:17px; font-weight:800; padding-left:24px; position:relative; }

/* ==========================================================================
   ICONS（画像版）
   ========================================================================== */
.ico {
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

.ico::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 各アイコン画像（相対パスに修正） */
.ico.ico-plane::before { background-image: url('../img/airplane.png'); }
.ico.ico-rail::before { background-image: url('../img/train.png'); }
.ico.ico-hotel::before { background-image: url('../img/hotel.png'); }
.ico.ico-tour::before { background-image: url('../img/tour.png'); }

/* ダミーボタン（角丸なし） */
.btn-row{ display:flex; flex-wrap:wrap; gap:6px; }
.btn-mini{
  display:inline-block; padding:6px 10px; font-size:13px; font-weight:700;
  border:1px solid #cfd3da; background:#fff; color:#0a3d7a; text-decoration:none; border-radius:0;
}
.btn-mini:hover{ background:#eef4ff; }

/* 宿泊エリア：左余白を消す＆箇条書き丸ナシ */
.list.tight{ margin:0; padding-left:0; list-style:none; }
.list.tight li{ margin: 10px 0 14px; padding-left:0; }
.list.tight li::before{ display:none; }
.list.tight .area{ display:flex; flex-direction:column; gap:2px; margin-bottom:6px; }
.list.tight .area strong{ font-weight:800; }
.list.tight .area span{ color:#444; font-size:13px; }

/* ==========================================================================
   Ticket FLOW（シンプルなグレー背景＋▼連結／バッジ：先着・抽選）
   ========================================================================== */
.ticket-flow{
  display:flex; flex-direction:column; gap:8px;
  margin: 14px 0 10px;
}
.flow-step{
  position:relative;
  background:#F9FAFB;
  border:1px solid var(--line);
  padding:20px 16px 16px 16px;   /* 左バッジ分の余白は不要 */
  border-radius:6px;
}
.flow-step h4{
  margin:0 0 6px;
  font-weight:800; font-size:15px;
}
.flow-list{ margin:0 0 8px; padding:0; list-style:none; }
.flow-list li{ margin:4px 0; line-height:1.6;font-size: 12px;}

/* 左上ラベルバッジ */
.step-badge{
  position:absolute; top:-12px; left:-22px;
  width:42px; height:42px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:13px; letter-spacing:.02em;
  color:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}
/* 抽選＝ピンク */
.type-chusen .step-badge{
  background:#E85A8D;   /* 鮮やかめのピンク */
}
/* 先着＝水色 */
.type-senchaku .step-badge{
  background:#FF9800;   /* 鮮やかめの水色 */
}

/* リセール＝紫 */
.type-resale   .step-badge{ background:#7E57C2; }

/* ▼でフロー連結 */
.flow-arrow {
  position: relative;
  width: 0; height: 0;
  margin: 0px auto;   /* 上下の余白／中央揃え */
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 13px solid #e0e3e7; 
}

.ticket-flow .ticket-actions{
  display:flex; gap:8px; flex-wrap:wrap; margin-top:6px;
}
/* =======================================
   Notes（「遠征するなら」直下の説明文）
   ======================================= */
.notes-muted{
  font-size:14px;
  color:#444;
  margin:6px 0 12px;
  line-height:1.6;
}

/* =======================================
   Stadium Button List（チーム名＋球場名のボタン）
   ======================================= */
.btn-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:8px 0 0;
}
.btn-chip{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:8px 12px;
  border:1px solid #cfd3da;
  background:#fff;
  color:#0a3d7a;
  text-decoration:none;
  font-weight:700;
  border-radius:0;
  line-height:1.2;
}
.btn-chip:hover{
  background:#eef4ff;
  text-decoration:none;
}
.btn-chip .team{ font-weight:800; }
.btn-chip .stadium{ color:#08315e; }
.btn-chip .sep{ color:#94a3b8; }

/* =======================================
   Ticket Actions（カード内の小ボタン）
   ======================================= */
.ticket-actions{
  display:flex; gap:8px; margin-top:10px; flex-wrap:wrap;
}
.btn-s{
  display:inline-block; padding:8px 12px; font-size:13px; font-weight:800;
  border:1px solid #0a3d7a; text-decoration:none; border-radius:0; line-height:1.1;
}
.btn-s.btn-dark{ background:#0a3d7a; color:#fff; }
.btn-s.btn-dark:hover{ background:#072d5a; border-color:#072d5a; }
.btn-s.btn-ghost{ background:#fff; color:#0a3d7a; }
.btn-s.btn-ghost:hover{ background:#eef4ff; }

/* =======================================
   Stadium Links（パ本拠地：カードボタン）
   ======================================= */
.stadium-links{ list-style:none; margin:8px 0 0; padding:0; display:grid; gap:8px; }
.stadium-link{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:#fff; color:#0a3d7a; text-decoration:none;
  border:1px solid var(--line); border-left:8px solid #cfd3da; /* デフォルト帯 */
  padding:12px; transition:background .15s ease, transform .06s ease;
}
.stadium-link:hover{ background:#eef4ff; text-decoration:none; }
.stadium-link:active{ transform:translateY(1px); }
.stadium-link .label{ display:flex; flex-direction:column; line-height:1.25; }
.stadium-link .team{ font-weight:900; color:#0a3d7a; }
.stadium-link .stadium{ color:#08315e; font-weight:700; font-size:13px; }
.stadium-link .arrow{ color:#567; font-weight:900; }

/* チーム別アクセント（左帯色） */
.stadium-link.accent-hawks{ border-left-color:#FCC700; }      /* ホークス */
.stadium-link.accent-fighters{ border-left-color:#01609A; }   /* ファイターズ */
.stadium-link.accent-buffaloes{ border-left-color:#A47B01; }  /* バファローズ */
.stadium-link.accent-hanshin { border-left-color: #FFE201; }     /* 阪神タイガース */
.stadium-link.accent-dena    { border-left-color: #003F8E; }     /* 横浜DeNAベイスターズ */
.stadium-link.accent-giants  { border-left-color: #EB9713; }     /* 読売ジャイアンツ */

/* スマホ：タップ領域を広く */
@media (max-width:640px){
  .stadium-link{ padding:14px; }
  .stadium-link .team{ font-size:15px; }
}

/* ==========================================================================
   Stage Arrow（テキストと三角を同一スタックで中央揃え）
   ========================================================================== */
.stage-arrow{
  --tri-w: 70px;      /* 三角の左右幅（半分がborder幅になる） */
  --tri-h: 28px;      /* 三角の高さ */
--tri1:#f2f3f5;  /* ほぼ白に近いグレー */
--tri2:#e0e3e7;  /* 薄いグレー */
--tri3:#cfd3d9;  /* 少し濃いグレー */

  text-align:center;
  margin: 16px 0;               /* セクション間の間隔 */
}

/* テキスト＋三角をひとまとめにして、その幅を基準に中央揃え */
.stage-stack{
  position: relative;
  display: inline-block;        /* 自身の幅＝テキスト幅 */
  padding: 30px 0;         /* 上下に三角用のスペースを確保 */
}

/* 三角を stack 中心に配置（常にテキストと同じセンター） */
.stage-stack .tri{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: var(--tri-w) solid transparent;
  border-right: var(--tri-w) solid transparent;
  border-top: var(--tri-h) solid;    /* すべて "下向き" ▼ */
  pointer-events: none;
  z-index: 1;
}

/* 縦位置 & 色（薄→中→濃） */
.stage-stack .tri-top{ top: 6px;   border-top-color: var(--tri1); }
.stage-stack .tri-mid{ top: 34px;  border-top-color: var(--tri2); }
.stage-stack .tri-btm{ top: 62px;  border-top-color: var(--tri3); }

/* ラベル（テキスト）は最前面＋白背景で可読性キープ */
.stage-label{
  position: relative;
  z-index: 2;
  display: inline-block;
/*  background: #fff;*/
/*  padding: 0 18px;*/
  font-weight: 800;
  font-size: 18px;
}

/* スマホは少しコンパクトに */
@media (max-width: 480px){
  .stage-arrow{ margin: 30px 0 20px; }
  .stage-stack{ padding: 30px 0 ; }
  .stage-arrow{ --tri-w: 56px; --tri-h: 24px; }
  .stage-stack .tri-top{ top: 6px; }
  .stage-stack .tri-mid{ top: 30px; }
  .stage-stack .tri-btm{ top: 54px; }
}

/* ==========================================================================
   Ticket FLOW：受付終了オーバーレイ
   - .flow-step に .is-closed を付けるだけで適用
   ========================================================================== */
.flow-step.is-closed{
  position: relative;           /* 既に相対だが念のため */
  filter: grayscale(.2) brightness(.95);
}

/* 半透明の黒ベール */
.flow-step.is-closed::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.55);  /* ← 黒の半透明。もっと薄くしたい場合は .45 などに */
  z-index: 2;
  pointer-events: none;
}

/* 中央ラベル「受付終了」 */
.flow-step.is-closed::after{
  content: "受付終了";
  position:absolute; left:50%; top:50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  background: #111;             /* 黒ベタ */
  color: #fff;
  padding: 8px 30px;
  border-radius: 999px;         /* ピル型 */
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  white-space: nowrap;
}

/* ボタンは押せない＆薄く */
.flow-step.is-closed .ticket-actions .btn,
.flow-step.is-closed .ticket-actions .btn-s,
.flow-step.is-closed .ticket-actions .btn-outline{
  opacity: .45;
  pointer-events: none;
}

/* 右上の「抽選／先着」丸は下げておく（隠れてOKなら削除可） */
.flow-step.is-closed .step-badge{ opacity:.55; }

/* カード間の▼はそのまま（被りを避けるために前後の余白を少し広げてもOK） */

.access-intro {
  font-size: 14px;
  color: #333;
  margin: 0 0 20px;
  line-height: 1.8;
  text-align: left;
}
/* ==========================================================================
   おすすめグッズ（カルーセル）
   HTML想定：
   .goods-section > .goods-carousel[data-carousel="goods"]
      .gc-nav.gc-prev / .gc-nav.gc-next
      .goods-viewport > .goods-track > article.goods-card
         img + h3 + p + .btn-row > a.btn-mini
   ========================================================================== */

/* セクション余白 */
.goods-section{ margin:48px 0; }
.goods-section > h2{ font-size:1.6rem; font-weight:800; margin:0 0 6px; }
.goods-section > .desc{ margin:0 0 14px; color:#444; font-size:.95rem; }

/* ラッパー */
.goods-carousel{
  position:relative;
  isolation:isolate;
}

/* ビューポート */
.goods-carousel .goods-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:x mandatory;
  padding: 0 8px 12px;
  /* スクロール端の見切れ防止 */
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.goods-carousel .goods-viewport::-webkit-scrollbar{ display:none; }
.goods-carousel .goods-viewport{ scrollbar-width:none; }

/* トラック */
.goods-carousel .goods-track{
  display:flex;
  gap:14px;
  padding: 0 16px;     /* 左右に少し余白 */
}

/* カード */
.goods-carousel .goods-card{
  background:#fff;
  border:1px solid #e9e9e9;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  border-radius:0;
  scroll-snap-align:start;
  flex:0 0 auto;
  width: clamp(260px, 82vw, 520px);   /* 1枚ずつ大きく、PCで少し小さめに */
  padding:0;                          /* 画像はエッジまで */
  display:flex;
  flex-direction:column;
}

/* 画像 */
.goods-carousel .goods-card > img{
  width: 100%;
  height: 220px; /* ここは好きな固定高さ */
  object-fit: contain; /* ← cover → contain に変更 */
  background-color: #ffffff; /* 左右に余白が入るときの背景色（任意） */
  display: block;
  padding: 10px;
}

/* 各デバイスごとの高さ調整もそのまま有効にできます */
@media (min-width:400px){ .goods-carousel .goods-card > img{ height:220px; } }
@media (min-width:480px){ .goods-carousel .goods-card > img{ height:220px; } }
@media (min-width:600px){ .goods-carousel .goods-card > img{ height:220px; } }
@media (min-width:768px){ .goods-carousel .goods-card > img{ height:380px; } }
@media (min-width:1024px){ .goods-carousel .goods-card > img{ height:420px; } }
@media (min-width:1280px){ .goods-carousel .goods-card > img{ height:460px; } }

/* テキスト */
.goods-carousel .goods-card > h3{
  margin:12px 14px 6px;
  font-size:1rem;
  font-weight:800;
  line-height:1.35;
}
.goods-carousel .goods-card > p{
  margin:0 14px 10px;
  font-size:.9rem;
  line-height:1.6;
  color:#555;
}

/* ボタン列（既存の .btn-row / .btn-mini を活かす） */
.goods-carousel .goods-card .btn-row{
  display:flex; flex-wrap:wrap; gap:8px;
  margin: 0 14px 14px;
}
.goods-carousel .goods-card .btn-mini{
  background:#f6f7f8;
  border:1px solid #ddd;
  color:#333;
  font-size:.85rem;
  padding:6px 10px;
  border-radius:20px;
  text-decoration:none;
  transition:background .2s,color .2s,border-color .2s;
}
.goods-carousel .goods-card .btn-mini:hover{ background:#222; color:#fff; border-color:#222; }

/* 矢印ナビ */
.gc-nav{
  position:absolute;
  top:50%; transform:translateY(-50%);
  z-index:2;
  width:38px; height:38px; line-height:36px;
  border-radius:50%;
  border:1px solid #d9d9d9;
  background:#fff;
  color:#111;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  user-select:none;
}
.gc-prev{ left:4px; }
.gc-next{ right:4px; }
.gc-nav[disabled]{ opacity:.35; cursor:default; }

/* ドット */
.gc-dots{
  display:flex; gap:6px; justify-content:center; margin-top:10px;
}
.gc-dots button{
  width:8px; height:8px; border-radius:50%;
  background:#cfd6dc; border:0; padding:0;
}
.gc-dots button[aria-current="true"]{ background:#4b83bd; }
/* おすすめグッズ セクション */
.goods-section {
  padding: 0 5%; /* ← 他セクションに合わせて左右に余白を付与 */
  max-width: 1200px;
  margin: 0 auto;
}

.goods-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  text-align: left; /* タイトルを左寄せに統一（他セクションと同じ） */
}

.goods-section .desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5em;
}
/* 
==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  max-width:1100px; margin: var(--s5) auto var(--s6); padding: 0 var(--s2);
  color: var(--muted); font-size: var(--fz-small); text-align:center; border-top:1px solid var(--line); padding-top: var(--s2);
}