/* ============================================================
   style_v2.css — index_v2.html 専用スタイル
   参考: hrn.or.jp（フェーズ帯・タイポ主体）, asoview感謝祭（数字ヒーロー・セクション構造）
   ============================================================ */

/* ============================================================
   スクロールヒント
   ============================================================ */

/* ============================================================
   coupon.js / coupon2.js が生成する #coupon-btn / #coupon-btn2
   ============================================================ */
#coupon-btn,
#coupon-btn2 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  padding: 10px 20px;
  width: 100%;
  display: block;
}
/* 常に .coupon-right の背景色を活かす（透過） */
#coupon-btn,
#coupon-btn2 { background: transparent !important; }

/* SP でも桜アニメーションが動くようにキーフレームをグローバル定義 */
@keyframes sakuraFall {
  0%   { transform: translateY(-20px); opacity: 0; }
  6%   { opacity: var(--o, .5); }
  88%  { opacity: var(--o, .5); }
  100% { transform: translateY(105vh); opacity: 0; }
}
@keyframes sakuraSway {
  0%, 100% { transform: translateX(0); }
  33%  { transform: translateX(35px); }
  66%  { transform: translateX(-18px); }
}
@keyframes sakuraSpin {
  from { transform: rotateZ(0deg) rotateY(0deg); }
  to   { transform: rotateZ(360deg) rotateY(180deg); }
}
.sakura-petal {
  animation: sakuraSway var(--sway, 3s) ease-in-out infinite;
}
.sakura-petal::before {
  content: "";
  display: block;
  width: 100%; height: 100%;
  border-radius: 80% 0 55% 50% / 55% 0 80% 50%;
  background: radial-gradient(ellipse at 30% 40%, #FBCDD5 0%, #F5A8B8 60%, #EE90A5 100%);
  animation: sakuraSpin var(--spin, 6s) linear infinite;
}

:root {
  --font-accent: "Montserrat", "Murecho", "Hiragino Kaku Gothic ProN", sans-serif;
  --p1-color: #BA5FBF;
  --p2-color: #00BFB7;
  --p3-color: #F69601;
  /* フェーズ背景色（淡い） */
  --p1-bg: #FFF5F8;
  --p2-bg: #F2FAFA;
  --p3-bg: #FFFAF2;
}

/* ============================================================
   OVERVIEW — KV直下の概要エリア
   ============================================================ */

/* KV */
.hero img {
  display: block;
}
.overview {
  background: linear-gradient(180deg, #FFE4EF 0%, #FFF2F7 100%);
  padding: 20px 0 16px;
  text-align: center;
  position: relative;
}
/* 桜専用コンテナ（SP・PC共通、absoluteなのでstickyに影響しない） */
.ov-sakura-stage {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.sakura-wrap-ov {
  position: absolute;
  top: 0;
  pointer-events: none;
  opacity: 0;
  animation: sakuraFall var(--dur) var(--delay) linear infinite;
}

/* sentinel：付箋の sticky 検知用（非表示） */
.pnav-sentinel { height: 0; }

/* pnav — 初期状態：付箋スタイル（左右にoverview底面色が見える） */
.pnav {
  background: #FFF2F7 !important;
  border-bottom: none !important;
}
.pnav-inner {
  margin: 0 16px;
  border-radius: 12px 12px 0 0;
  background: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 -4px 12px rgba(0,0,0,.06);
}
/* is-stuck：追従時はフルwidth・現行デザインに戻す */
.pnav.is-stuck {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border-light) !important;
}
.pnav.is-stuck .pnav-inner {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: none;
}
.overview-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  color: #333;
  letter-spacing: .02em;
  margin: 0;
  padding: 0 28px 16px;
  text-align: justify;
  text-align-last: center;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,.15);
  text-underline-offset: 8px;
}
.ov-accent {
  font-size: 1.25em;
  font-weight: 900;
  color: #FF5D86;
}

/* ============================================================
   フェーズセクション
   ============================================================ */
.phase {
  position: relative;
  padding: 0 0 26px;
  /* pnav は sticky で約57px。scrollIntoView(block:start) がその分ずれるのを補正 */
  scroll-margin-top: 57px;
}
.phase + .phase {
  border-top: none;
}
/* フェーズごとの淡い背景色 */
[data-p="1"].phase { background: var(--p1-bg); }
[data-p="2"].phase { background: var(--p2-bg); }
[data-p="3"].phase { background: var(--p3-bg); }

/* ============================================================
   フェーズ見出し帯（ph-head-v2）
   — フェーズカラーが全幅帯。hrn.or.jp の "Our Issues" 帯と同構造
   ============================================================ */
.ph1-sakura-stage {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.sakura-wrap-ph {
  position: absolute;
  top: 0;
  pointer-events: none;
  opacity: 0;
  animation: sakuraFall var(--dur) var(--delay) linear infinite;
}
.ph-head-v2 {
  padding: 16px 20px 18px;
  text-align: left;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
[data-p="1"] .ph-head-v2 { background: var(--p1-color); margin-bottom: 40px; }
[data-p="2"] .ph-head-v2 { background: var(--p2-color); }
[data-p="3"] .ph-head-v2 { background: var(--p3-color); }

/* 白いゴースト番号（帯の右端） */
.ph-head-v2::before {
  content: attr(data-ghost);
  position: absolute;
  font-family: var(--font-accent);
  font-size: 170px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.1em;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .13);
  pointer-events: none;
  user-select: none;
}

/* タグ行 */
.ph-top-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  position: relative;
}
.ph-chip {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .95);
  padding: 2px 10px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 99px;
  display: inline-block;
}
.ph-period-v2 {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
/* 開催中バッジ */
.ph-live {
  display: none;
  font-size: 10px;
  font-weight: 900;
  color: #fff;
  background: rgba(0, 0, 0, .22);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .06em;
}
.phase.is-live .ph-live { display: inline-block; }

/* 見出し — 白テキスト・左揃え */
.ph-name-v2 {
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.02em;
  position: relative;
}
@media (min-width: 420px) { .ph-name-v2 { font-size: 30px; } }
/* 旧アンダーライン・左ボーダーをすべて無効化 */
.ph-name-v2::after     { display: none; }
[data-p="1"] .ph-name-v2,
[data-p="2"] .ph-name-v2,
[data-p="3"] .ph-name-v2 { border: none; padding-left: 0; }

/* 見出し内サブコピー */
.ph-tagline {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin: 6px 0 0;
  line-height: 1.6;
}

/* 説明文 — 帯の下・白背景 */
.ph-desc {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.75;
  margin: 0 0 22px;
  padding: 0 20px;
  text-align: justify;
}
.ph-head-v2 + .ph-desc { margin-top: 22px; margin-bottom: 32px; }

/* ============================================================
   GENRE BLOCK — 楕円バッジ付きクーポン型カード
   ============================================================ */
.genre-block {
  margin-top: 64px;
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  padding: 30px 0 0;  /* バッジ分の上余白 */
  margin: 20px 16px 24px;
  box-shadow: none;
  overflow: visible;
  border: 2px solid;
}
[data-p="1"] .genre-block { border-color: var(--p1-color); }
[data-p="2"] .genre-block { border-color: var(--p2-color); }
[data-p="3"] .genre-block { border-color: var(--p3-color); }
.genre-block::before { display: none; }

/* 楕円バッジ — 高さを出してカード枠上に中央配置 */
.genre-block-header {
  position: absolute;
  top: -19px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 10px 28px;
  white-space: nowrap;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  letter-spacing: .06em;
  line-height: 1;
}
[data-p="1"] .genre-block-header { background: var(--p1-color); }
[data-p="2"] .genre-block-header { background: var(--p2-color); }
[data-p="3"] .genre-block-header { background: var(--p3-color); }

.coupon-note {
  text-align: center;
  margin: 8px 0 0;
  padding: 0 16px 12px;
}
.coupon-note a {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: underline;
}

.genre-block-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.7;
  text-align: center;
  margin: 0;
  padding: 0 16px;
}
.genre-block-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  vertical-align: middle;
  margin-left: 2px;
}

/* 3列×2行 アイコン円形グリッド */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 4px;
  padding: 16px 16px 16px;
  margin-bottom: 0;
}
.genre-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  color: var(--text);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
  overflow: visible;
  transition: transform .15s ease;
}
.genre-item:active { transform: scale(.96); }

/* アイコン: 円形 */
.genre-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFEFF2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.genre-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.genre-label {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  color: var(--text);
  padding: 0;
}

/* ミシン目（水平ティアライン + 左右半円ノッチ） */
.genre-tear {
  position: relative;
  height: 22px;
  /* repeating-linear-gradient で点線 */
  background-image: linear-gradient(90deg, rgba(0,0,0,.18) 55%, transparent 55%);
  background-size: 8px 1.5px;
  background-position: 0 50%;
  background-repeat: repeat-x;
}
/* 半円ノッチ — フェーズ背景色fill + フェーズカラーborder弧 */
.genre-tear::before,
.genre-tear::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid;  /* 色はフェーズごとに指定 */
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  z-index: 1;
}
/*
  clip: 左から10pxで切る = 円の直径(12px)より手前で切断
  → 直径位置で切らないため縦線が出ない
  → 枠線2pxもフェーズ背景色で覆う
*/
.genre-tear::before {
  left: -12px;
  clip-path: inset(0 0 0 10px);
}
.genre-tear::after {
  right: -12px;
  clip-path: inset(0 10px 0 0);
}
/* fill=フェーズ背景色(枠線を隠す) / border=フェーズカラー(内側に弧を見せる) */
[data-p="1"] .genre-tear::before, [data-p="1"] .genre-tear::after {
  background: var(--p1-bg);
  border-color: var(--p1-color);
}
[data-p="2"] .genre-tear::before, [data-p="2"] .genre-tear::after {
  background: var(--p2-bg);
  border-color: var(--p2-color);
}
[data-p="3"] .genre-tear::before, [data-p="3"] .genre-tear::after {
  background: var(--p3-bg);
  border-color: var(--p3-color);
}

/* CTA エリア */
.genre-block .coupon-row {
  padding: 12px 16px 0;
}
.genre-block .coupon-card.c3 {
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  --bg: transparent;
}
.genre-block .coupon-card.c3 .coupon-accent,
.genre-block .coupon-card.c3 .coupon-left,
.genre-block .coupon-card.c3 .coupon-perf { display: none; }

/* CTA ボタン（ベタ塗り・楕円・シャイン） */
.genre-block .coupon-card.c3 .coupon-right {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  background: var(--p1-color);
  border-radius: 50px;
  padding: 13px 24px;
  box-shadow: 0 4px 14px rgba(186,95,191,.3);
}
/* シャイン（::before に移動） */
.genre-block .coupon-card.c3 .coupon-right {
  overflow: hidden;
}
.genre-block .coupon-card.c3 .coupon-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: btnShineV2 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.genre-block .coupon-card.c3 .coupon-btn {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  display: inline-block;
  width: auto;
  overflow: visible;
}
/* グローバルの coupon-btn::after shine を無効化 */
.genre-block .coupon-card.c3 .coupon-btn::after { display: none; }

.genre-block .coupon-card.c3:not(.is-owned):not(.is-loading):not(.is-claiming) .coupon-btn {
  font-size: 0;
}
.genre-block .coupon-card.c3:not(.is-owned):not(.is-loading):not(.is-claiming) .coupon-btn::before {
  content: '3%OFFクーポンを獲得！';
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
}

/* ============================================================
   FEATURED BLOCK — 14%OFF 帯型（ボックスなし）
   ============================================================ */
.featured-block {
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

/* ヘッダー：ジャンプ率重視・帯なし */
.featured-block-hd {
  text-align: center;
  padding: 0px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.featured-eyebrow-svg {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto -8px;
}
.eyebrow-arc-text {
  font-family: "Murecho", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 28px;
  font-weight: 900;
  fill: #FF5D86;
  letter-spacing: 2;
}

/* 14%OFF — 二重レイヤー立体表現（500万DLキャンペーン参考） */
.featured-rate-display {
  text-align: center;
  line-height: 1;
  margin: 4px 0 2px;
}
.featured-numwrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
}
/* 背面レイヤー：太ストローク＋ドロップシャドウで奥行き */
.featured-num-bg {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  -webkit-text-stroke: 6px #FF5D86;
  text-shadow: 4px 4px 0 rgba(255, 93, 134, .5);
  color: transparent;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
/* 前面レイヤー：ブライトゴールド */
.featured-num-fg {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
  white-space: nowrap;
}
.featured-num-fg .featured-rate-num,
.featured-num-fg .featured-rate-unit { color: #FFD942; }

.featured-rate-num {
  font-family: var(--font-accent);
  font-size: 88px;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .88;
}
.featured-rate-unit {
  font-family: var(--font-accent);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  padding-bottom: 6px;
  letter-spacing: .22em;
}
.featured-tagline {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 900;
  color: #FF5D86;
  letter-spacing: .12em;
  margin: 0;
}
.featured-price-note {
  font-size: 11px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

/* カード・ローディング */
.featured-block .card-scroll { padding: 16px 16px 8px; }
.featured-block .cards-loading { color: var(--text-muted); padding: 16px; }

/* 2列グリッド（10施設対応） */
.card-scroll.is-grid {
  overflow: visible;
  padding: 16px 16px 8px;
}
.card-scroll.is-grid .card-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  transform: none !important;
  transition: none !important;
}
.card-scroll.is-grid .fc {
  width: 100% !important;
  margin-right: 0 !important;
  transform: none !important;
  opacity: 1 !important;
}

/* CTA ボタン（gold）— 見出し直下 */
.featured-coupon-row { padding: 2px 16px 0; margin-top: -10px; }
.featured-block .coupon-card.c14 {
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  --bg: transparent;
}
.featured-block .coupon-card.c14 .coupon-accent,
.featured-block .coupon-card.c14 .coupon-left,
.featured-block .coupon-card.c14 .coupon-perf { display: none; }
.featured-block .coupon-card.c14 .coupon-right {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  background: #FF5D86;
  border-radius: 50px;
  padding: 13px 24px;
  box-shadow: 0 4px 14px rgba(214, 40, 40, .3);
}
.featured-block .coupon-card.c14 .coupon-right {
  overflow: hidden;
}
.featured-block .coupon-card.c14 .coupon-right::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.38) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: btnShineV2 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.featured-block .coupon-card.c14 .coupon-btn {
  position: relative;
  z-index: 1;
  background: transparent !important;
  border-radius: 0;
  padding: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  display: inline-block;
  width: auto;
  overflow: visible;
}
.featured-block .coupon-card.c14 .coupon-btn::after { display: none; }
.featured-block .coupon-card.c14:not(.is-owned):not(.is-loading):not(.is-claiming) .coupon-btn {
  font-size: 0;
}
.featured-block .coupon-card.c14:not(.is-owned):not(.is-loading):not(.is-claiming) .coupon-btn::before {
  content: '14%OFFクーポンを獲得！';
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
}

/* ============================================================
   PLAN CARDS (.fc) — ミニマル
   ============================================================ */
.fc {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, .08),
    0 0 0 1px rgba(0, 0, 0, .05);
  transition:
    transform .4s cubic-bezier(.25,.46,.45,.94),
    opacity .4s ease,
    box-shadow .4s ease;
}
.fc.is-carousel-active {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, .14),
    0 0 0 1px rgba(0, 0, 0, .06);
}
.card-scroll.is-grid .fc {
  box-shadow:
    0 2px 12px rgba(0, 0, 0, .09),
    0 0 0 1px rgba(0, 0, 0, .05) !important;
}

.fc-img { position: relative; height: 156px; overflow: hidden; }
.card-scroll.is-grid .fc-img { height: 130px; }
.fc-img img { width: 100%; height: 100%; object-fit: cover; }

/* タグバッジ（はみ出し）— JSが生成する際に使用 */
.fc-tag {
  position: absolute;
  top: -6px; left: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px; font-weight: 900;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,.18);
}
.fc-tag.t14 { background: var(--gold); color: var(--white); }
.fc-tag.t3  {
  background: rgba(255,255,255,.95);
  color: var(--red);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.fc-body { padding: 10px 10px 12px; }
/* 都道府県・エリア */
.fc-location {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* ジャンル */
.fc-genre {
  display: inline-block;
  font-size: 10px; font-weight: 700; color: var(--text-sub);
  background: rgba(0,0,0,.06); border-radius: 3px;
  padding: 1px 5px; margin-bottom: 3px;
}
/* 施設名 */
.fc-facility {
  font-size: 11px; font-weight: 700; color: var(--text-sub); line-height: 1.35; margin-bottom: 2px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
/* プラン名 */
.fc-name {
  font-size: 11px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fc-pt {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
  font-size: 13px;
  font-weight: 900;
}
.fc-pt.p14 { color: var(--gold); }
.fc-pt.p3  { color: var(--red); }
.fc-pt del { font-weight: 500; color: var(--text-muted); font-size: 11px; }
.fc-price-new { font-size: 18px; font-weight: 900; color: var(--red); }

/* ============================================================
   COUPON CARDS — チケット物質感 + Montserrat ジャンプ率
   ============================================================ */
.coupon-card {
  --notch: 12px;
  --bg: #fff;
  position: relative;
  display: flex;
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

/* 3%クーポン */
.coupon-card.c3 {
  box-shadow:
    0 4px 16px rgba(0, 0, 0, .09),
    0 0 0 1px rgba(0, 0, 0, .06);
}
.coupon-card.c3:active {
  transform: scale(.98);
  box-shadow: 0 2px 6px rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.05);
}

/* 14%クーポン — ゴールドリングで格差を演出 */
.coupon-card.c14 {
  box-shadow:
    0 6px 22px rgba(159, 133, 48, .22),
    0 0 0 1px rgba(159, 133, 48, .18);
}
.coupon-card.c14:active {
  transform: scale(.98);
  box-shadow: 0 2px 8px rgba(159,133,48,.14), 0 0 0 1px rgba(159,133,48,.12);
}

/* 左端アクセントバー */
.coupon-accent {
  width: 6px; flex-shrink: 0;
  border-radius: 12px 0 0 12px;
}
.coupon-card.c3  .coupon-accent { background: var(--p1-color); }
.coupon-card.c14 .coupon-accent { background: linear-gradient(180deg, #D4AF37 0%, #9F8530 100%); }

/* 割引情報エリア */
.coupon-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 16px 14px;
  position: relative;
  overflow: hidden;
}
.coupon-card.c3  .coupon-left { background: #fff; }
.coupon-card.c14 .coupon-left {
  background: linear-gradient(112deg, #FFFDF0 0%, #FFF6CC 60%, #FFFDF0 100%);
}
/* 14% — ダイヤ柄パターン（格の差） */
.coupon-card.c14 .coupon-left::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(212, 175, 55, .06) 0px,
    rgba(212, 175, 55, .06) 1px,
    transparent 1px,
    transparent 10px
  );
  pointer-events: none;
}

/* Montserrat ジャンプ率 — 数字が主役 */
.coupon-rate {
  display: flex;
  align-items: flex-end;
  line-height: 1;
  white-space: nowrap;
  width: 96px;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: 1px;
}
.cr-n {
  font-family: var(--font-accent);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .85;
}
.cr-s {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-accent);
  font-weight: 900;
  padding-bottom: 2px;
}
.cr-pct { line-height: 1.1; }
.cr-off { line-height: 1.1; }

.coupon-card.c3  .cr-n { font-size: 60px; color: var(--red); }
.coupon-card.c3  .cr-s { font-size: 20px; color: var(--red); }
.coupon-card.c14 .cr-n { font-size: 60px; color: var(--gold); }
.coupon-card.c14 .cr-s { font-size: 20px; color: var(--gold); }

.coupon-detail { display: flex; flex-direction: column; gap: 3px; }
.coupon-type   { font-size: 13px; font-weight: 900; line-height: 1.3; }
.coupon-card.c3  .coupon-type { color: var(--red); }
.coupon-card.c14 .coupon-type { color: var(--gold); }
.coupon-label  { font-size: 11px; font-weight: 600; color: var(--text-muted); line-height: 1.3; }

/* パンチホール（本物のチケット感） */
.coupon-card::before,
.coupon-card::after {
  content: '';
  position: absolute;
  right: 108px;
  width: calc(var(--notch) * 2);
  height: var(--notch);
  z-index: 3;
}
.coupon-card::before {
  top: calc(var(--notch) * -.5);
  border-radius: 0 0 var(--notch) var(--notch);
  background: var(--bg);
}
.coupon-card::after {
  bottom: calc(var(--notch) * -.5);
  border-radius: var(--notch) var(--notch) 0 0;
  background: var(--bg);
}

/* ミシン目 */
.coupon-perf {
  width: 0;
  border-left: 2px dashed rgba(0, 0, 0, .12);
  margin: 8px 0;
  flex-shrink: 0;
}
.coupon-card.c14 .coupon-perf { border-left-color: rgba(159, 133, 48, .25); }

/* 右エリア */
.coupon-right {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  flex-shrink: 0;
  border-radius: 0 12px 12px 0;
}
.coupon-card.c3  .coupon-right { background: #fff; }
.coupon-card.c14 .coupon-right {
  background: linear-gradient(155deg, #FFFDF0 0%, #FFF6CC 100%);
}

/* 獲得ボタン */
.coupon-btn {
  font-size: 13px; font-weight: 900;
  padding: 10px 12px; border-radius: 99px;
  color: var(--white);
  position: relative; overflow: hidden;
}
.coupon-card.c3  .coupon-btn { background: var(--red); }
.coupon-card.c14 .coupon-btn { background: var(--gold); }

/* Shine アニメーション */
.coupon-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.48) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-100%);
  animation: btnShineV2 2.6s ease-in-out infinite;
}
@keyframes btnShineV2 {
  0%,  35% { transform: translateX(-100%); }
  60%      { transform: translateX(220%); }
  100%     { transform: translateX(220%); }
}

/* クーポン状態 */
.coupon-card.is-loading .coupon-btn { background: #ccc !important; color: rgba(255,255,255,.7); pointer-events: none; }
.coupon-card.is-owned   { cursor: default; opacity: .72; }
.coupon-card.is-owned:active { transform: none; }
.coupon-card.is-owned   .coupon-btn { background: #999 !important; cursor: not-allowed; pointer-events: none; }
.coupon-card.is-claiming .coupon-btn { background: #bbb !important; pointer-events: none; cursor: wait; }

/* ============================================================
   POINT PANEL — フラット + Montserrat 大数字
   ============================================================ */
.pt-panel {
  border-radius: 12px;
  overflow: hidden;
  margin: 0 20px 14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
}
.pt-panel-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
}
.pt-panel-row + .pt-panel-row { border-top: 1px solid var(--border-light); }
.pt-panel-row.pp-gold { background: rgba(255, 248, 210, .65); }
.pt-panel-scope { font-size: 13px; font-weight: 700; color: var(--text-sub); }
.pt-panel-rate {
  font-family: var(--font-main);
  font-size: 13px; font-weight: 700; color: var(--text-sub);
  white-space: nowrap;
  display: flex; align-items: baseline; gap: 2px;
}
.pt-panel-rate strong {
  font-family: var(--font-accent);
  font-size: 56px; font-weight: 900;
  letter-spacing: -.05em; color: var(--red); line-height: .85;
}
.pt-panel-rate small {
  font-family: var(--font-accent);
  font-size: 24px; font-weight: 900; color: var(--red);
}
.pt-panel-rate.pp-14 strong { color: var(--gold); }
.pt-panel-rate.pp-14 small  { color: var(--gold); }

.plans-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.plans-title {
  font-family: var(--font-main);
  font-size: 13px; font-weight: 900; color: var(--text-sub);
  padding: 4px 20px 0; letter-spacing: .04em;
}

/* ============================================================
   CTA ボタン — 全幅・ソリッドカラー
   ============================================================ */
.ph-cta { margin-top: 24px; text-align: center; padding: 0 20px; }
.btn-cta {
  display: inline-block;
  max-width: 100%; width: 100%;
  padding: 14px 24px;
  font-size: 15px; font-weight: 700;
  color: var(--white);
  border-radius: 9999px;
  text-align: center; letter-spacing: .04em;
  transition: transform .2s ease, opacity .2s ease;
}
[data-p="1"] .btn-cta { background: var(--p1-color); box-shadow: 0 4px 14px rgba(186,95,191,.30); }
[data-p="2"] .btn-cta { background: var(--p2-color); box-shadow: 0 4px 14px rgba(0,191,183,.30); }
[data-p="3"] .btn-cta { background: var(--p3-color); box-shadow: 0 4px 14px rgba(246,150,1,.30); }
.btn-cta:active { transform: scale(.97); }
.phase.is-past .btn-cta { background: #bbb !important; box-shadow: none !important; pointer-events: none; }
@media (hover: hover) {
  .btn-cta:hover { opacity: .85; transform: translateY(-2px); }
}

/* ============================================================
   COMING SOON BLOCK
   ============================================================ */
.cs-block {
  text-align: center;
  padding: 32px 20px 24px;
}
.cs-block--slim {
  padding: 8px 20px 16px;
}
.cs-block--slim .cs-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  background: rgba(0,0,0,.05);
  border-radius: 50px;
  padding: 4px 14px;
  margin: 0;
}
/*
  アウトライン風テキスト — text-shadow で擬似アウトライン
  ストロークを使わないため M/N/G の対角線交差に三角が出ない。
  文字色 = セクション背景色（透けているように見せる）
  影 = フェーズカラー × 8方向 で縁取り
*/
.cs-label {
  font-family: var(--font-accent);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.1;
  margin: 0 0 10px;
}
[data-p="2"] .cs-label {
  color: var(--p2-bg);
  text-shadow:
     2px  0   0 var(--p2-color), -2px  0   0 var(--p2-color),
     0    2px 0 var(--p2-color),  0   -2px 0 var(--p2-color),
     1px  1px 0 var(--p2-color), -1px -1px 0 var(--p2-color),
     1px -1px 0 var(--p2-color), -1px  1px 0 var(--p2-color),
     2px  1px 0 var(--p2-color), -2px  1px 0 var(--p2-color),
     2px -1px 0 var(--p2-color), -2px -1px 0 var(--p2-color),
     1px  2px 0 var(--p2-color), -1px  2px 0 var(--p2-color),
     1px -2px 0 var(--p2-color), -1px -2px 0 var(--p2-color);
}
[data-p="3"] .cs-label {
  color: var(--p3-bg);
  text-shadow:
     2px  0   0 var(--p3-color), -2px  0   0 var(--p3-color),
     0    2px 0 var(--p3-color),  0   -2px 0 var(--p3-color),
     1px  1px 0 var(--p3-color), -1px -1px 0 var(--p3-color),
     1px -1px 0 var(--p3-color), -1px  1px 0 var(--p3-color),
     2px  1px 0 var(--p3-color), -2px  1px 0 var(--p3-color),
     2px -1px 0 var(--p3-color), -2px -1px 0 var(--p3-color),
     1px  2px 0 var(--p3-color), -1px  2px 0 var(--p3-color),
     1px -2px 0 var(--p3-color), -1px -2px 0 var(--p3-color);
}
.cs-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .04em;
}

/* pt-panel を plans-head なしで直置きする場合の余白 */
.phase > .pt-panel {
  margin-bottom: 32px;
}

/* ============================================================
   DETAILS — テキストリンク
   ============================================================ */
.det-body .dd-val a { color: #0070CC; text-decoration: underline; }
