/* ===========================================================
   Luna Herbtea LP v5 — REFINE
   箱だらけを脱し、エディトリアルで独自性のある見え方へ。
   v3/v4 のコンポーネント定義の後に読み込み、必要箇所を上書き。
   =========================================================== */

/* ---- 全体の呼吸（モバイル基準） ---- */
.phone .container { padding-left: 28px; padding-right: 28px; }
section.band { padding-top: 72px; padding-bottom: 72px; }

/* ---- 見出し：大きめ・締めた行間・ミックスウェイト ---- */
h2.sec-title {
  font-size: 28px; line-height: 1.38; letter-spacing: .045em; font-weight: 600;
  margin-bottom: 20px;
}
h2.sec-title .accent-word { font-weight: 700; }

/* ---- eyebrow：縦バー＋トラッキング英字。中央寄せの ruled も刷新 ---- */
.eyebrow {
  font-size: 11px; letter-spacing: .4em; color: var(--olive-mut);
}
.eyebrow.ruled { gap: 12px; }
.eyebrow.ruled::before, .eyebrow.ruled::after { width: 18px; opacity: .5; }
.eyebrow-wrap { margin-bottom: 4px; }

/* セクション番号バッジ（カラム内・エディトリアル感） */
.sec-no {
  display: inline-block; font-family: var(--font-latin); font-style: italic; font-weight: 600;
  font-size: 15px; color: var(--pink-deep); letter-spacing: .06em; margin-bottom: 8px;
}

/* ---- カードを"箱"から"面"へ：ハードな枠を消し、淡い面＋やわ影 ---- */
.point, .rcard, .cause-card, .feature, .voice-card, .stat-card,
.offer, .step, .gift, .season, .profile, .ba, .compare, .img-ph, .editorial, .disclaimer, .cta-card, .check-item {
  border-color: transparent;
}
.point, .rcard, .cause-card, .feature, .voice-card, .stat-card, .offer, .step, .season, .profile {
  background: var(--surface, #fbf7f0);
  box-shadow: 0 1px 0 rgba(120,108,92,.05), 0 18px 40px rgba(120,108,92,.06);
}
.surface, section.band.white { background: var(--white); }

/* チェックリスト：白いカードの羅列をやめ、ハーフトーンのハーブ罫リストに */
.checklist { gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.check-item {
  background: transparent !important; box-shadow: none !important; border: 0 !important;
  border-bottom: 1px solid var(--line) !important; border-radius: 0 !important;
  padding: 16px 4px !important; grid-template-columns: 26px 1fr;
}
.check-mark { background: transparent; width: 24px; height: 24px; }
.check-mark svg { width: 18px; height: 18px; stroke: var(--sage-mut); }
.check-item p { font-size: 16px; color: var(--ink-body); letter-spacing: .03em; }

/* ---- mark（要点）をより上品に：太さ控えめ ---- */
.mk { background: linear-gradient(transparent 62%, rgba(102,205,170,.28) 62%); }
.mk-pink { background: linear-gradient(transparent 62%, rgba(219,112,147,.22) 62%); }

/* ---- 引用：縦の細線＋大きな明朝 ---- */
.quote { font-size: 21px; line-height: 1.75; border-left-width: 2px; border-color: var(--sage-mut); padding-left: 20px; }

/* ---- eyebrow英字を Cormorant イタリックに戻して品良く（ruled時）---- */
.eyebrow.ruled { font-family: var(--font-latin); font-style: italic; text-transform: none; font-size: 16px; letter-spacing: .08em; color: var(--olive-mut); }

/* ---- CTAカード：くすみセージ→より洗練（内側に細い白枠＋装飾）---- */
.cta-card { border-radius: 28px; background:
  radial-gradient(120% 120% at 100% 0%, rgba(255,255,255,.12), transparent 60%), var(--sage-mut); }
.cta-card::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 20px; pointer-events: none;
}

/* ---- 比較表：罫を細く、Luna列を強調 ---- */
.compare { box-shadow: 0 18px 40px rgba(120,108,92,.07); border-radius: 20px; }
.compare thead th.luna { background: var(--olive); }
.compare td.luna { background: rgba(102,205,170,.10); }

/* ---- 数字カード：罫なし・大きな数字主役 ---- */
.stat-card { padding: 26px 24px; }
.stat-card .sc-num { font-size: 50px; }

/* ---- 季節カード：左の色帯を太く、漢字を大きく ---- */
.season { border-radius: 18px; padding-left: 66px; }
.season .s-kanji { font-size: 30px; }
.season::before { width: 6px; }

/* ---- Before/After タグ・矢印を洗練 ---- */
.ba { border-radius: 20px; }

/* ---- フッター帯：セージ→オリーブのグラデ ---- */
.foot-strip { background: linear-gradient(90deg, var(--sage-mut), var(--olive)); height: 6px; }

/* ---- 画像プレースホルダ：枠を点線のみ・地を統一 ---- */
.img-ph { border: 1px dashed rgba(120,108,92,.22); box-shadow: none; }
.editorial { box-shadow: 0 18px 44px rgba(120,108,92,.10); }

/* ---- セクション内の縦組みラベル（カラム内・装飾） ---- */
.vlabel {
  position: absolute; top: 64px; right: 14px; writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--font-latin); font-style: italic; font-size: 12px; letter-spacing: .22em;
  color: var(--olive-mut); opacity: .5; z-index: 1; pointer-events: none;
}

/* ---- 区切りの小枝（より繊細に） ---- */
.divider svg { width: 26px; }

/* ---- ボタン：丸アローを少し大きく、影を温色に ---- */
.btn-cta { letter-spacing: .06em; }

/* ===========================================================
   DESKTOP微調整（カラム内はモバイルレイアウトのまま）
   PCでも3カラム展開はせず、"スマホ画面をそのまま中央に"
   =========================================================== */
@media (min-width: 1024px) {
  /* カラム内はモバイル相当を維持（features等を縦積みのままに） */
  .feature { grid-template-columns: 1fr !important; }
  .feature:nth-child(even) .f-img { order: 0 !important; }
  .cause-cards { grid-template-columns: 1fr !important; }
  .stats3 { grid-template-columns: 1fr !important; }
  .voice-rail { grid-auto-flow: column !important; grid-template-columns: none !important; grid-auto-columns: 84% !important; overflow-x: auto !important; margin: 0 -28px !important; padding: 6px 28px 14px !important; }
  .swipe-hint { display: block !important; }
  .seasons { grid-template-columns: 1fr !important; }
  .steps { grid-template-columns: 1fr !important; }
  .checklist { grid-template-columns: 1fr !important; }
  /* モバイル用追従CTAはPCでは出さない（サイドナビが担う） */
  .sticky-cta { display: none !important; }
}

/* ===========================================================
   PROGRAM section — animated HTML rebuild
   =========================================================== */
.prog-sec {
  background: #f7f0e8;
  position: relative; overflow: clip;
  padding: 56px 0 64px;
}
/* starry canvas */
.prog-sec .prog-stars { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.prog-sec .prog-stars .star {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #c9b89a;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--del, 0s);
}
@keyframes twinkle { 0%,100%{opacity:.18;transform:scale(.8)} 50%{opacity:.9;transform:scale(1.3)} }

/* moon */
.prog-moon {
  position: absolute; top: 22px; right: 20px; z-index: 1; pointer-events: none;
  animation: moonFloat 8s ease-in-out infinite;
}
@keyframes moonFloat { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-8px) rotate(2deg)} }
.prog-moon svg { width: 62px; height: 62px; }

/* botanical top-left */
.prog-bot-tl {
  position: absolute; top: 14px; left: 12px; z-index: 1; pointer-events: none;
  animation: floaty 9s ease-in-out infinite;
}
.prog-bot-tl svg { width: 80px; height: 80px; opacity: .55; color: var(--sage-mut); }

/* header text */
.prog-head { position: relative; z-index: 2; padding: 0 24px 0; }
.prog-eyebrow { font-family: var(--font-latin); font-style: italic; font-size: 15px; letter-spacing: .06em; color: var(--olive-mut); display: block; margin-bottom: 8px; }
.prog-title {
  font-family: var(--font-mincho); font-weight: 700; font-size: 27px; line-height: 1.42;
  letter-spacing: .04em; color: var(--ink); margin: 0 0 20px;
}

/* mode pill */
.prog-mode {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--olive); color: #fff; border-radius: var(--radius-pill);
  padding: 10px 20px; font-size: 14px; font-weight: 500; letter-spacing: .04em;
  margin-bottom: 24px;
}
.prog-mode svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.5; flex: 0 0 auto; }

/* period card */
.prog-card {
  background: #fff; border-radius: var(--radius-lg); margin: 0 24px 16px;
  position: relative; overflow: hidden; z-index: 2;
  box-shadow: 0 2px 24px rgba(120,108,92,.07);
}
.prog-card-inner { display: flex; align-items: stretch; }
.prog-card-left { padding: 22px 16px 22px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.prog-card-right { width: 120px; flex: 0 0 120px; position: relative; overflow: hidden; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.prog-card-right .img-ph { height: 100%; border-radius: 0; border: 0; box-shadow: none; min-height: 110px; }
.prog-card-right .img-ph .ph-inner { font-size: 9px; padding: 5px 6px; }
.prog-period-lbl { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.prog-period-num { font-family: var(--font-latin); font-weight: 600; font-size: 54px; line-height: .9; color: var(--olive); }
.prog-period-num .u { font-size: 22px; font-family: var(--font-mincho); font-weight: 600; color: var(--ink); }

/* includes card */
.prog-includes { background: #fff; border-radius: var(--radius-lg); margin: 0 24px 16px; padding: 22px 22px 24px; position: relative; overflow: hidden; z-index: 2; box-shadow: 0 2px 24px rgba(120,108,92,.07); }
.prog-inc-head { font-family: var(--font-mincho); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.prog-inc-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prog-inc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.prog-inc-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-soft); font-size: 15px; color: var(--ink-body); }
.prog-inc-list li:last-child { border-bottom: 0; }
.prog-inc-chk { width: 24px; height: 24px; border-radius: 50%; background: var(--olive); display: flex; align-items: center; justify-content: center; flex: 0 0 24px; }
.prog-inc-chk svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2.5; }
/* botanical right */
.prog-bot-rt { position: absolute; right: -8px; bottom: 8px; width: 88px; opacity: .5; pointer-events: none; color: var(--sage-mut); animation: floaty 11s ease-in-out infinite; }

/* body text card */
.prog-body-card { background: var(--dusty-soft); border-radius: var(--radius-lg); margin: 0 24px 16px; padding: 22px; position: relative; overflow: hidden; z-index: 2; display: flex; gap: 14px; align-items: flex-start; box-shadow: 0 2px 24px rgba(120,108,92,.06); }
.prog-body-card .prog-text { flex: 1; font-size: 14.5px; line-height: 1.88; color: var(--ink-body); }
.prog-body-card .prog-text + .prog-text { margin-top: 14px; }
.prog-body-card .prog-herb-img { width: 96px; flex: 0 0 96px; border-radius: var(--radius); overflow: hidden; margin-top: 4px; }
.prog-body-card .prog-herb-img .img-ph { height: 100%; border-radius: 0; border: 0; box-shadow: none; min-height: 130px; }
.prog-body-card .prog-herb-img .ph-inner { font-size: 9px; padding: 5px 6px; }

/* footer notes */
.prog-notes { display: grid; gap: 12px; padding: 4px 24px 0; position: relative; z-index: 2; }
.prog-note { display: flex; align-items: flex-start; gap: 14px; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 2px 16px rgba(120,108,92,.06); }
.prog-note .pn-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--dusty-soft); border: 1.5px solid var(--dusty); display: flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.prog-note .pn-icon svg { width: 20px; height: 20px; stroke: var(--pink-deep); fill: none; stroke-width: 1.5; }
.prog-note p { font-size: 13.5px; line-height: 1.7; color: var(--ink-body); margin: 0; padding-top: 6px; }

/* ===========================================================
   FV：生成画像をそのまま使用＋ボタンをクリック可能に
   =========================================================== */
.hero-shot { position: relative; padding: 0; background: #f3ece0; overflow: hidden; }
.hero-shot-img { display: block; width: 100%; height: auto; }
/* 画像下部のピンクボタン位置にクリック領域を重ねる */
.hero-shot-hit {
  position: absolute; left: 5%; right: 5%; bottom: 4.8%;
  height: 6%;
  border-radius: 999px;
  z-index: 2;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-shot-hit:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(196,92,126,.30); }
.hero-shot-hit:active { transform: translateY(0); }
.hero-shot-hit:focus-visible { outline: 3px solid rgba(196,92,126,.6); outline-offset: 2px; }

/* 全幅画像セクション（生成画像をそのまま差し込む） */
.img-band { position: relative; padding: 0; overflow: hidden; line-height: 0; }
.img-band-pic { display: block; width: 100%; height: auto; }

/* 画像内ボタンへのクリック領域（汎用） */
.img-band-hit {
  position: absolute; left: 4%; right: 4%;
  border-radius: 999px; z-index: 2; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s ease, box-shadow .2s ease;
}
.img-band-hit:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(196,92,126,.28); }
.img-band-hit:active { transform: translateY(0); }
.img-band-hit:focus-visible { outline: 3px solid rgba(196,92,126,.6); outline-offset: 2px; }

/* 最終CTAのボタン位置（画像下部ピンクボタン：約88〜97%付近） */
.img-band-finalcta .img-band-finalcta-btn { top: 88%; height: 9%; left: 4%; right: 4%; }

/* ===========================================================
   インライン中間CTA（早期：Hero〜中間CTAの間に1箇所）
   =========================================================== */
.cta-band { text-align: center; }
.cta-band .container { max-width: 600px; }
.cta-band .cta-card { margin: 0 auto; }
.cta-band .cta-mininote {
  margin-top: 13px; font-size: 12px; color: rgba(255,255,255,.86);
  letter-spacing: .04em; line-height: 1.6;
}
.cta-band .cta-mininote .latin { font-size: 12.5px; letter-spacing: .02em; }

/* ===========================================================
   つなぎブロック（講座案内 → 無料カウンセリング）
   =========================================================== */
.bridge { text-align: center; position: relative; }
.bridge .container { max-width: 600px; }
.bridge-top {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--sage-mut); margin-bottom: 22px;
}
.bridge-top::before, .bridge-top::after { content: ""; height: 1px; width: 46px; background: var(--line); }
.bridge-top svg { width: 26px; height: 26px; opacity: .9; }
.bridge h2 {
  font-family: var(--font-mincho); font-weight: 600;
  font-size: 22px; line-height: 1.62; letter-spacing: .045em; color: var(--ink);
  margin: 0 0 18px;
}
.bridge p {
  font-family: var(--font-gothic); font-size: 15px; line-height: 2.0;
  color: var(--ink-body); letter-spacing: .02em; margin: 0;
}
.bridge p .em {
  font-weight: 700; color: var(--pink-deep);
  background: linear-gradient(transparent 58%, var(--dusty-soft) 58%); padding: 0 .12em;
}
.bridge .bridge-arrow {
  margin-top: 26px; display: flex; justify-content: center; color: var(--sage-mut);
}
.bridge .bridge-arrow svg { width: 30px; height: 30px; animation: bridgeBob 2.4s ease-in-out infinite; }
@keyframes bridgeBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .bridge .bridge-arrow svg { animation: none; } }
@media (min-width: 760px) { .bridge h2 { font-size: 26px; } .bridge p { font-size: 16px; } }
