/* Daily Voice Log 販売LP v2.1 — tokens出典: _forge/chosen-direction.json (実測継承)
   角丸=全廃 (ユーザー恒久指示 2026-07-12)。罫線・余白・タイポで組むエディトリアル構成
   v2.1: sol_review_r1 反映 (実画面証拠/書体2系統化/CTA優先順位/低画面高対応/a11y)
   v2.3: インタラクション層 (interaction-board.html 採否「全部」2026-07-12) —
   ①罫線→文字の段階reveal ②呼吸する下地(デモ帯/Final) ③言葉の粒マルキー ④罫線が走るhover */
:root {
  --bg: #f6f3ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #1d2328;
  --muted: #63717b;
  --line: #d9d4ca;
  --accent: #0f766e;
  --accent-dark: #0b5d57;
  --accent-soft: #dcefeb;
  --warn: #a84820;
  --max: 1040px;
  --font-display: "Yusei Magic", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Zen Kaku Gothic New", ui-sans-serif, system-ui, sans-serif;
  --font-caption: "DotGothic16", "Zen Kaku Gothic New", monospace; /* 擬似UI (デモ帯) 専用 */
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* a11y: スキップリンク + 共通フォーカスリング */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 10px 18px; font-weight: 700;
}
.skip:focus { left: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent-dark); outline-offset: 3px;
}

section { padding: 84px 0; }
section.ruled { border-top: 1px solid var(--ink); }
section.airy { padding: 104px 0; }

/* 章キッカー: 議論の順序を示す */
.kicker {
  display: flex; align-items: baseline; gap: 14px;
  margin: 0 0 30px; font-size: 0.8rem; letter-spacing: 0.18em; color: var(--muted);
}
.kicker b { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent); letter-spacing: 0.08em; }
.kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: translateY(-4px); }

h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 4vw, 2.1rem); line-height: 1.45; margin: 0 0 30px; }
h2 em, h1 em { font-style: normal; color: var(--accent); }

/* ===== 上部リボン (発売記念アナウンス) ===== */
.ribbon {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; text-decoration: none; text-align: center;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em; line-height: 1.5;
}
.ribbon .ribbon-go {
  color: #fff; font-weight: 700; white-space: nowrap; padding-bottom: 2px;
  /* 下線はborderでなく背景で描く: hover時の太さ変化がレイアウトへ波及しない (try-lineと同じイディオム) */
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: left bottom; background-size: 100% 1px;
  transition: background-size 0.2s ease;
}
.ribbon:hover .ribbon-go, .ribbon:focus-visible .ribbon-go { background-size: 100% 2px; }

/* ===== セクションジャンプナビ (sticky) ===== */
.jump {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.jump-inner {
  width: min(var(--max), calc(100% - 40px)); margin: 0 auto;
  display: flex; gap: 4px;
  /* デスクトップは右寄せ: hero左のコピーと対にしてバランスを取る (heroの人物=右) */
  justify-content: flex-end;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.jump-inner::-webkit-scrollbar { display: none; }
.jump a {
  flex: none; padding: 13px 12px; /* 44pxタップ標的 (ux-review 2026-07-13) */
  color: var(--muted); text-decoration: none;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: center bottom; background-size: 0 2px;
  transition: background-size 0.2s ease, color 0.14s;
}
.jump a:hover, .jump a:focus-visible { color: var(--ink); background-size: calc(100% - 24px) 2px; }
/* scroll-behavior: smooth は既定 (L25)・reduced-motionでautoへ (L472) */
section[id] { scroll-margin-top: 54px; }

/* ===== Hero (画像主導) ===== */
.hero { padding: 0; border-bottom: 1px solid var(--ink); position: relative; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: clamp(500px, 78vh, 700px); object-fit: cover; object-position: center right; }
.hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy .inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; max-width: none; }
.hero-copy .box { max-width: 33em; }
.hero-copy .box h1, .hero-copy .box p {
  text-shadow: 0 0 12px rgba(246,243,237,.92), 0 0 3px rgba(246,243,237,.88);
}
.hero-copy .trust { color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; color: var(--accent-dark);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 { margin: 0 0 18px; font-size: clamp(2rem, 5.6vw, 3.1rem); line-height: 1.32; }
.hero-sub { margin: 0 0 28px; color: var(--ink); font-size: 1.02rem; max-width: 30em; }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.btn {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 60px; padding: 10px 26px;
  font: inherit; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.btn small { font-weight: 500; font-size: 0.72rem; }
.btn-primary { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.btn-primary small { opacity: 0.88; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary small { color: var(--muted); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); }
.btn-secondary:hover small { color: var(--bg); }
/* 販売準備中 (href無し<a>): 押せない見た目に落とす */
.btn.is-pending { cursor: default; opacity: 0.62; border-style: dashed; }
.btn-primary.is-pending { background: var(--muted); border-color: var(--muted); border-style: solid; }
.btn.is-pending:hover { background: var(--muted); color: #fff; border-color: var(--muted); }
.btn-secondary.is-pending:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary.is-pending:hover small { color: var(--muted); }

.try-line { margin: 4px 0 12px; font-size: 0.92rem; }
.try-line a {
  display: inline-block; padding: 9px 2px; /* 44pxタップ標的 */
  color: var(--accent-dark); font-weight: 700; text-underline-offset: 4px;
}
.trust { margin: 0; font-size: 0.8rem; color: var(--muted); }
.trust b { color: var(--accent-dark); }

/* ===== デモ帯 (hero直下・字幕が動く) ===== */
.demo-band { border-bottom: 1px solid var(--ink); padding: 44px 0 30px; background: var(--surface); }
.demo-grid { display: grid; grid-template-columns: 1.2fr auto 1fr; gap: 26px; align-items: center; }
.term {
  background: var(--surface-strong); border: 1.5px solid var(--ink); padding: 0;
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1.5px solid var(--ink);
  padding: 8px 14px; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em;
  font-family: var(--font-caption);
}
.rec-dot { width: 9px; height: 9px; background: #c0392b; animation: blink 1.2s infinite; }
.term-body { padding: 14px 16px; }
.captions { font-family: var(--font-caption); font-size: 0.98rem; line-height: 1.95; min-height: 5.85em; }
.captions .cap-old { color: var(--muted); }
.captions .cap-now { color: var(--accent-dark); }
.cursor { display: inline-block; width: 8px; height: 1.05em; background: var(--accent); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s infinite; }
.wave { display: flex; align-items: flex-end; gap: 3px; height: 24px; margin-top: 10px; }
.wave i { width: 4px; background: var(--accent); opacity: 0.75; animation: wavePulse 1.6s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: 0.25s; }
.wave i:nth-child(3n + 1) { animation-delay: 0.5s; }
.send-chip {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.84rem; font-weight: 700; color: #fff; background: var(--accent); padding: 8px 14px;
}
.flow-arrow { color: var(--ink); font-size: 1.4rem; text-align: center; }
.obsidian-card { background: var(--surface-strong); border: 1.5px solid var(--ink); font-size: 0.82rem; }
.obsidian-card .path {
  font-size: 0.68rem; color: var(--muted); letter-spacing: 0.05em;
  border-bottom: 1.5px solid var(--ink); padding: 8px 14px;
  font-family: var(--font-caption);
}
.obsidian-card ul { margin: 12px 14px 14px; padding: 0 0 0 10px; border-left: 3px solid var(--accent); list-style: none; }
.obsidian-card li { margin: 2px 0; }
.demo-note { margin: 16px 0 0; font-size: 0.74rem; color: var(--muted); }

@keyframes blink { 50% { opacity: 0.25; } }
@keyframes wavePulse { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

/* ===== 課題 (引用は左・本文は右へオフセットして非対称に) ===== */
.lead-quote {
  font-family: var(--font-display); font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  line-height: 1.7; margin: 0 0 34px; max-width: 24em;
}
.lead-quote em { font-style: normal; color: var(--accent); }
.prose { max-width: 36em; }
.prose.offset { margin-left: auto; padding-left: 20px; border-left: 1px solid var(--line); }
.prose p { margin: 0 0 1.2em; }

/* ===== 仕組み (縦ステップ + 実画面キャプチャの2カラム) ===== */
.how-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.how-steps { border-top: 1.5px solid var(--ink); }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start;
  padding: 22px 2px 24px; border-bottom: 1px solid var(--line);
}
.step-num { font-family: var(--font-display); font-size: 1.9rem; color: var(--accent); line-height: 1.1; }
.step h3 { margin: 0 0 6px; font-size: 1.02rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.note-line { margin: 18px 0 0; font-size: 0.82rem; color: var(--muted); }
.app-shot { margin: 0; }
.app-shot img { width: 100%; border: 1.5px solid var(--ink); }
.app-shot figcaption { margin-top: 10px; font-size: 0.76rem; color: var(--muted); letter-spacing: 0.04em; }

/* ===== ベネフィット (罫線リスト・カード廃止) ===== */
.benefit-list { border-top: 1.5px solid var(--ink); }
.benefit-row {
  display: grid; grid-template-columns: 15em 1fr; gap: 24px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
}
.benefit-row h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; color: var(--accent-dark); }
.benefit-row p { margin: 0; font-size: 0.94rem; }

/* ===== 1日の流れ (画像交互) ===== */
.day-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center;
  padding: 36px 0; border-bottom: 1px solid var(--line);
}
.day-row:first-of-type { border-top: 1.5px solid var(--ink); }
.day-row .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1.5px solid var(--ink); }
.day-row.flip .pic { order: 2; }
.day-row h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; color: var(--accent-dark); }
.day-row p { margin: 0; font-size: 0.95rem; }
.day-close { margin: 44px 0 0; }
.day-close .say { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 1.9rem); margin: 0 0 10px; }
.day-close .sum { font-size: 1.02rem; color: var(--muted); margin: 0; }

/* ===== 価格 (非対称2カラム・推奨側を広く) ===== */
.price-intro { max-width: 38em; margin-bottom: 34px; }
.price-grid { display: grid; grid-template-columns: 1fr 1.3fr; border: 1.5px solid var(--ink); }
.price-col { padding: 0; display: flex; flex-direction: column; }
.price-col + .price-col { border-left: 1.5px solid var(--ink); }
.price-head {
  padding: 12px 22px; font-weight: 700; font-size: 0.92rem;
  border-bottom: 1.5px solid var(--ink); letter-spacing: 0.04em;
}
.price-col.reco { background: var(--surface-strong); }
.price-col.reco .price-head { background: var(--accent); color: #fff; }
.price-col.reco .price-head span { font-size: 0.72rem; font-weight: 500; margin-left: 10px; opacity: 0.9; }
.price-body { padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.price-body .desc { margin: 0; font-size: 0.88rem; color: var(--muted); flex: 1; }
.price-line { margin: 0; font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.3; }
.price-col.reco .price-line { color: var(--accent-dark); }
.price-line small { display: block; font-size: 0.74rem; font-weight: 500; color: var(--muted); }
.price-note { margin: 26px 0 0; font-size: 0.88rem; border-left: 4px solid var(--accent); padding: 6px 0 6px 16px; }

/* ===== 誠実フィルタ (罫線2カラム) ===== */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1.5px solid var(--ink); }
.fit-col { padding: 26px 26px 30px; }
.fit-col + .fit-col { border-left: 1px solid var(--line); }
.fit-col h3 { margin: 0 0 16px; font-size: 1rem; }
.fit-col.ok h3 { color: var(--accent-dark); }
.fit-col.ng h3 { color: var(--warn); }
.fit-col ul { margin: 0; padding: 0; list-style: none; }
.fit-col li { position: relative; padding: 0 0 12px 28px; font-size: 0.9rem; }
.fit-col.ok li::before { content: "○"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.fit-col.ng li::before { content: "×"; position: absolute; left: 0; color: var(--warn); font-weight: 700; }

/* ===== FAQ ===== */
.faq-list { max-width: 44em; border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; padding: 18px 6px; font-weight: 700; font-size: 0.95rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; font-weight: 400; flex-shrink: 0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list .a { padding: 0 6px 20px; font-size: 0.9rem; }

/* ===== Final CTA (主行動=無料で試す) ===== */
.final { text-align: center; padding: 96px 0 104px; border-top: 1px solid var(--ink); }
.final .say {
  font-family: var(--font-display); color: var(--accent-dark);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem); margin: 0 0 16px;
}
.final h2 { margin-bottom: 12px; }
.final p { color: var(--muted); margin: 0 0 30px; }
.final .cta-group { justify-content: center; }

footer {
  border-top: 1.5px solid var(--ink);
  padding: 28px 0 calc(116px + env(safe-area-inset-bottom)); font-size: 0.76rem; color: var(--muted);
}

/* ===== Sticky dual CTA (mobile) ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; gap: 0; align-items: stretch;
  background: var(--surface); border-top: 1.5px solid var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta a {
  flex: 1; display: grid; place-items: center; min-height: 52px;
  font-size: 0.86rem; font-weight: 700; text-decoration: none;
}
.sticky-cta .s-try { background: var(--accent); color: #fff; }
.sticky-cta .s-price { background: var(--surface); color: var(--ink); border-left: 1.5px solid var(--ink); }
.sticky-close {
  width: 48px; border: none; border-left: 1.5px solid var(--ink); background: var(--surface);
  color: var(--muted); font-size: 1.1rem; cursor: pointer; flex: 0 0 auto; min-height: 52px;
}

/* ===== 背景モチーフ層 v2.2 — メモ/日記/声の粒/Obsidian接続の抽象 (装飾のみ・低コントラスト・数値表記なし) ===== */
/* 課題: ノート罫 (メモ用紙) — 「書く」摩擦の場面に用紙の質感を敷く */
.motif-ruled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='34'%3E%3Cpath d='M0 33.5h8' stroke='%231d2328' stroke-opacity='0.05'/%3E%3C/svg%3E");
}
/* 設計: 言葉の粒 — heroの「声が文字の粒になる」視覚言語を右余白へ延長 (蓄積=育つ) */
.motif-grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='420'%3E%3Cg fill='%230f766e' fill-opacity='0.10'%3E%3Crect x='470' y='30' width='5' height='5'/%3E%3Crect x='430' y='84' width='3' height='3'/%3E%3Crect x='488' y='120' width='4' height='4'/%3E%3Crect x='398' y='150' width='3' height='3'/%3E%3Crect x='452' y='196' width='5' height='5'/%3E%3Crect x='370' y='236' width='3' height='3'/%3E%3Crect x='420' y='288' width='4' height='4'/%3E%3Crect x='348' y='330' width='3' height='3'/%3E%3C/g%3E%3Cg fill='%231d2328' fill-opacity='0.07'%3E%3Crect x='500' y='66' width='3' height='3'/%3E%3Crect x='458' y='140' width='3' height='3'/%3E%3Crect x='412' y='204' width='3' height='3'/%3E%3Crect x='378' y='276' width='4' height='4'/%3E%3Crect x='330' y='366' width='3' height='3'/%3E%3Crect x='300' y='398' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -16px top 48px;
}
/* 1日: 週マス (日記) — 数字を持たない週の枠。中央=今日だけが埋まる */
.motif-week {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='174' height='16'%3E%3Cg fill='none' stroke='%231d2328' stroke-opacity='0.15'%3E%3Crect x='0.5' y='0.5' width='15' height='15'/%3E%3Crect x='26.5' y='0.5' width='15' height='15'/%3E%3Crect x='52.5' y='0.5' width='15' height='15'/%3E%3Crect x='104.5' y='0.5' width='15' height='15'/%3E%3Crect x='130.5' y='0.5' width='15' height='15'/%3E%3Crect x='156.5' y='0.5' width='15' height='15'/%3E%3C/g%3E%3Crect x='78' y='0' width='16' height='16' fill='%230f766e' fill-opacity='0.18'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 44px top 92px;
}
/* 価格: 結節点グラフ — Obsidianのグラフビューの抽象 (ノートとツールが繋がる) */
.motif-graph {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='240'%3E%3Cg stroke='%230f766e' stroke-opacity='0.10' fill='none'%3E%3Cpath d='M46 196 L128 84 M128 84 L232 148 M232 148 L286 44 M128 84 L214 30 M232 148 L46 196'/%3E%3C/g%3E%3Cg fill='%230f766e' fill-opacity='0.15'%3E%3Ccircle cx='46' cy='196' r='5'/%3E%3Ccircle cx='128' cy='84' r='7'/%3E%3Ccircle cx='232' cy='148' r='5'/%3E%3Ccircle cx='286' cy='44' r='4'/%3E%3Ccircle cx='214' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -28px bottom -14px;
}
/* Final CTA: 粒が左右から中央 (ノート=CTA) へ寄っていく余韻 */
.motif-final {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg fill='%230f766e' fill-opacity='0.10'%3E%3Crect x='40' y='60' width='4' height='4'/%3E%3Crect x='96' y='120' width='3' height='3'/%3E%3Crect x='60' y='190' width='5' height='5'/%3E%3Crect x='130' y='230' width='3' height='3'/%3E%3Crect x='170' y='170' width='3' height='3'/%3E%3C/g%3E%3Cg fill='%231d2328' fill-opacity='0.07'%3E%3Crect x='70' y='90' width='3' height='3'/%3E%3Crect x='110' y='160' width='3' height='3'/%3E%3Crect x='150' y='250' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cg fill='%230f766e' fill-opacity='0.10'%3E%3Crect x='256' y='50' width='4' height='4'/%3E%3Crect x='200' y='110' width='3' height='3'/%3E%3Crect x='236' y='180' width='5' height='5'/%3E%3Crect x='170' y='220' width='3' height='3'/%3E%3Crect x='130' y='150' width='3' height='3'/%3E%3C/g%3E%3Cg fill='%231d2328' fill-opacity='0.07'%3E%3Crect x='226' y='80' width='3' height='3'/%3E%3Crect x='190' y='170' width='3' height='3'/%3E%3Crect x='150' y='60' width='4' height='4'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: left -30px bottom 20px, right -30px top 40px;
}

/* ===== reveal (JS有効時のみ隠す) ===== */
body.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
body.js-reveal .reveal.in { opacity: 1; transform: none; }

/* ===== インタラクション層 v2.3 — 採否ボード「全部」(2026-07-12・_forge/interaction_pack.json) ===== */

/* ① css-scroll-driven-reveal: 罫線 (kicker::after) が先に引かれ、見出しが乗る。
     「メモ用紙に書かれていく」モチーフの動き化。既存IO+2秒フェイルセーフをそのまま使う */
body.js-reveal .reveal .kicker::after {
  transform: translateY(-4px) scaleX(0); transform-origin: left;
  transition: transform 0.6s ease 0.15s;
}
body.js-reveal .reveal.in .kicker::after { transform: translateY(-4px) scaleX(1); }
body.js-reveal .reveal h2 {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s ease 0.35s, transform 0.45s ease 0.35s;
}
body.js-reveal .reveal.in h2 { opacity: 1; transform: none; }

/* ② breathing-gradient: 「静かに聴いている」気配。写真kvには重ねず、
     録音文脈のデモ帯とFinal CTAの下地だけに敷く (低コントラスト・7秒周期) */
.demo-band { position: relative; overflow: hidden; /* ::beforeのscale呼吸をはみ出させない (hscroll対策) */ }
.demo-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 85% at 30% 42%, var(--accent-soft) 0%, rgba(220, 239, 235, 0) 72%);
  animation: breatheSoft 7s ease-in-out infinite;
}
.demo-band .wrap { position: relative; }
.final { position: relative; overflow: hidden; /* 同上 */ }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 60% at 50% 64%, var(--accent-soft) 0%, rgba(220, 239, 235, 0) 70%);
  animation: breatheSoft 7s ease-in-out infinite;
}
.final .wrap { position: relative; }
@keyframes breatheSoft {
  0%, 100% { opacity: 0.22; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.05); }
}

/* ③ infinite-marquee-ticker: 言葉の粒が流れる帯 (設計セクション)。超低速36s・hoverで停止 */
.grain-flow {
  overflow: hidden; margin-top: 36px; padding: 12px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.grain-flow .track { display: flex; gap: 12px; width: max-content; animation: grainFlow 36s linear infinite; }
.grain-flow:hover .track { animation-play-state: paused; }
.grain-flow span {
  /* 書体は本文系を維持 (DotGothic16は擬似UIデモ帯専用契約・richness装飾書体10%上限) */
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em;
  border: 1px solid var(--line); background: var(--surface-strong);
  padding: 3px 12px; white-space: nowrap;
}
@keyframes grainFlow { to { transform: translateX(-50%); } }

/* ④ link-button-hover: 罫線と同じ言語のhover。ボタン下辺を線が左→右に走る+リンク下線スライド */
.btn { position: relative; }
.btn::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  transform: scaleX(0); transform-origin: left; transition: transform 0.28s ease;
}
.btn-primary::after { background: rgba(255, 255, 255, 0.85); }
.btn-secondary::after { background: var(--accent); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleX(1); }
.btn.is-pending::after { display: none; }
.try-line a {
  background-image: linear-gradient(var(--accent-dark), var(--accent-dark));
  background-repeat: no-repeat; background-position: left bottom 6px; background-size: 0 2px;
  transition: background-size 0.3s ease;
}
.try-line a:hover, .try-line a:focus-visible { background-size: 100% 2px; }

/* ===== 低い画面高のデスクトップ: オーバーレイ維持のまま余白だけ詰める
   (旧「通常フローに戻す」はFVでタイトルと画像が分離するため撤廃。
    125%スケーリング環境の大半がこの分岐に該当=事実上の標準表示) ===== */
@media (min-width: 861px) and (max-height: 760px) {
  .hero-copy .inner { padding: 20px 0; }
  .hero h1 { margin-bottom: 14px; }
  .hero-sub { margin-bottom: 20px; }
}

/* ===== responsive ===== */
@media (max-width: 860px) {
  section { padding: 60px 0; }
  section.airy { padding: 72px 0; }
  /* モバイルもオーバーレイ維持: 下部を生成りへ溶かすスクリムの上にコピーを重ねる */
  .hero-media img { height: min(84vh, 700px); height: min(84svh, 700px); min-height: 560px; object-position: 68% center; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, var(--bg) 0%, rgba(246, 243, 237, 0.9) 24%, rgba(246, 243, 237, 0.45) 46%, rgba(246, 243, 237, 0) 66%);
  }
  .hero-copy { z-index: 1; justify-content: flex-end; }
  .hero-copy .inner { padding: 0 0 30px; }
  .hero-copy .box { max-width: none; }
  .hero-copy .eyebrow { font-size: 0.68rem; letter-spacing: 0.1em; }
  .ribbon { font-size: 0.72rem; gap: 8px; padding: 8px 12px; }
  /* モバイルは左詰めに戻す (flex-end+overflowは先頭が到達不能になるため) */
  .jump-inner { justify-content: flex-start; }
  /* ナビが横に切れて見えない問題: 右端フェードで「続きがある」ヒント (ux-review 2026-07-13) */
  .jump::after {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; pointer-events: none;
    background: linear-gradient(to left, var(--bg) 20%, rgba(246, 243, 237, 0));
  }
  .demo-grid { grid-template-columns: 1fr; gap: 14px; }
  .flow-arrow { transform: rotate(90deg); }
  .prose.offset { margin-left: 0; padding-left: 0; border-left: none; }
  .how-grid { grid-template-columns: 1fr; gap: 30px; }
  .app-shot { max-width: 340px; }
  .benefit-row { grid-template-columns: 1fr; gap: 6px; }
  .day-row { grid-template-columns: 1fr; gap: 18px; }
  .day-row.flip .pic { order: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .price-col + .price-col { border-left: none; border-top: 1.5px solid var(--ink); }
  .fit-grid { grid-template-columns: 1fr; }
  .fit-col + .fit-col { border-left: none; border-top: 1px solid var(--line); }
  .sticky-cta.on { display: flex; }
  .motif-grain { background-position: right -70px top 36px; }
  .motif-week { background-position: right 20px top 70px; }
  .motif-graph { background-position: right -80px bottom -30px; }
}

/* ===== reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .rec-dot, .cursor, .wave i { animation: none; }
  .cursor { display: none; }
  .btn { transition: none; }
  /* v2.3 インタラクション層: 全て静止側へ */
  body.js-reveal .reveal .kicker::after { transform: translateY(-4px) scaleX(1); transition: none; }
  body.js-reveal .reveal h2 { opacity: 1; transform: none; transition: none; }
  .demo-band::before, .final::before { animation: none; opacity: 0.28; }
  .grain-flow .track { animation: none; }
  .btn::after { transition: none; }
  .try-line a { transition: none; }
}
