/* ==========================================================================
   Loupe LP — darkroom instrument aesthetic
   warm near-black · amber #ff9f1c · mono readouts · film motifs
   ========================================================================== */

:root {
  --bg: #0c0b09;
  --bg-alt: #100f0c;
  --panel: #14130f;
  --panel-2: #1a1813;
  --ink: #ece8e0;
  --dim: #9a948a;
  --faint: #5c574e;
  --line: rgba(236, 232, 224, 0.09);
  --amber: #ff9f1c;
  --amber-soft: rgba(255, 159, 28, 0.14);
  --ok: #5fd48a;
  --bad: #ff5d5d;
  --font-sans: "Instrument Sans", "Instrument Sans Fallback", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, Menlo, monospace;
  --shell: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lang-ja { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif; }
body.lang-ja h1, body.lang-ja h2, body.lang-ja h3 { letter-spacing: 0; line-height: 1.45; }
/* 見出しと同じ理由でラベル類も詰める。EN の全大文字ラベル用に入れた tracking
   (compare-tag 0.1em / checker 0.14em / vs-head 0.12em / trust-line 0.1em) は
   日本語に当たると字間になる。kicker 等「JA でも英語のまま」のラベルは対象外。 */
body.lang-ja .compare-tag,
body.lang-ja .trust-line,
body.lang-ja .checker .checker-label,
body.lang-ja .vs-head > div { letter-spacing: 0.03em; }
/* compare-tag は EN が全大文字なので mono だが、JA では和字が入る。mono の半角スペースは
   固定幅 0.6em で「Loupe の実測露出」の助詞前が不自然に開くため、JA では sans に戻す。
   .ui-label (SCORE · AT PEAK など JA でも英語ハードコードの UI ラベル) は mono を維持。 */
body.lang-ja .compare-tag:not(.ui-label) { font-family: inherit; }
body.lang-ja .btn small { font-family: inherit; }
/* JA の改行品質。既定の line-break: auto では長音符が行頭に来て「センサ / ーの作り」と
   分断される。strict で長音符・小書き文字を行頭禁則にする。見出しは balance で行長を
   均等化し「出し切れな / いのか」のような単語途中の改行を減らす。 */
body.lang-ja { line-break: strict; }
/* 日本語は原則どの文字間でも折れるので、ブラウザは文節を無視して幅いっぱいまで詰める。
   結果「こ / のフィルム」「直りま / せん」のように連体詞や活用語尾が割れる。text-wrap の
   pretty / balance は行長のバランス調整で、折る位置の制約ではないため効かない。
   そこで CJK 内の自動改行を全面的に禁止し、改行位置は build (scripts/ja-typography.mjs) が
   単語境界に置く <wbr> だけで決める。 */
body.lang-ja { word-break: keep-all; }
/* 和文の本文は左揃え (2026-11-05 user)。両端揃えは、語中で割らないように改行可能点を
   減らすと字間が最大 +39% 伸びたのでやめた。
   :where() で詳細度 0 にしてあるため .pain-punch や .section-alt の中央揃えは勝つ。 */
:where(body.lang-ja) :where(p, dd, figcaption) { text-align: left; }
/* 40 字以上流れる本文 (build の scripts/ja-typography.mjs が ja-flow を付ける) は普通の和文組版
   (どの字間でも折る) + 左揃え (2026-11-05 user)。単語境界だけで折ると行末がガタつき、切れ目が
   区切りに読まれる。両端揃えも試したが、数値と単位・英字の折れないかたまりの手前で行が早く終わると
   字間が 30% 前後伸びた (「ベ ー ス と の ず れ」) のでやめた。
   中央揃えの段落は 40 字以上でも単語境界のまま (以前の markJaFlow の判定と同じ)。中央に揃えている所を
   :not() に並べる: FR 01 の締め・価格の欄・最後の CTA と、640px を超えるときだけ中央の節の本文 (.inst-head p。
   640px 以下は下のモバイルの段で ja-flow に戻す)。中央揃えの段落を足したらここにも足す。
   漏れは check-linebreaks.js が「ja-flow の判定」で落とす */
body.lang-ja .ja-flow:not(.proof-close, .price-top *, .final-cta *, .inst-head p) { word-break: normal; text-align: start; }
/* 本文では単語境界の <wbr> を無効にする (WJ の追い込みより強いため) */
body.lang-ja .ja-flow:not(.proof-close, .price-top *, .final-cta *, .inst-head p) wbr { display: none; }
/* 継承で中央揃えになっている段落だけは、直接指定が継承に勝つので明示で戻す。 */
body.lang-ja .price-top p,
body.lang-ja .final-cta p { text-align: center; }
/* h1 は <br> で 2 行に割っているので balance を当てるとセグメントごとに均等化され、
   「フィルムスキャ / ン」とカタカナが分断される。h1 は font-size 側で解く。 */
body.lang-ja h2, body.lang-ja h3 { text-wrap: balance; }
/* <br> で改行位置を明示した見出しは balance を外す。balance はセグメントごとに
   行長を均等化するので、指定した改行位置の中でさらに単語が割れる。 */
body.lang-ja h2.wrap-manual { text-wrap: initial; }
/* EN の 52px は日本語だと全角で入る字数が半分になり、「シャッターを切る前 / に決まっている」と
   助詞の前で改行される。44px で「シャッターを切る前に」(10 字) が 1 行に収まる。 */
body.lang-ja .hero h1 { font-size: clamp(30px, 3.4vw, 44px); }
/* h2 も同じ理由で下げる。40px では旧 feature の 1 カラム (512px) に 12.8 字しか入らず、
   43 字の cal.h2 が 5 行 + 助詞行頭になる。34px なら 15 字/行。 */
body.lang-ja h2 { font-size: clamp(26px, 3.2vw, 34px); }
/* punch も EN の 30px 前提。JA は全角が 0.99em ずつ入るので 27 字で 802px となり
   shell-narrow の本文幅 764px を 38px 超え、「出し切れない / なら、」と助詞だけが
   2 行目に落ちる。<br> で 2 行に割っているので h1 と同じく font-size 側で解く。 */
body.lang-ja .pain-punch { font-size: clamp(21px, 2.8vw, 28px); }
body.lang-ja p, body.lang-ja li, body.lang-ja figcaption, body.lang-ja dd { text-wrap: pretty; }

/* film grain atmosphere */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: #ffb54d; }
.mono { font-family: var(--font-mono); }
.t-ok { color: var(--ok); }
.t-bad { color: var(--bad); }
.t-amber { color: var(--amber); }
.t-dim { color: var(--dim); }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 28px; }
.shell-narrow { max-width: 820px; }

h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 18px; }
h3 { font-size: 18px; line-height: 1.4; }
p { margin: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 11, 9, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 60px; }
.wordmark { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.wordmark svg { color: var(--amber); }
.wordmark:hover { color: var(--ink); }
.header-nav { display: flex; gap: 4px; margin-left: 8px; margin-right: auto; }
.header-nav a { color: var(--dim); font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 6px; }
.header-nav a:hover { color: var(--ink); background: rgba(236, 232, 224, 0.05); }
/* Easel と同じ mono の英字ナビ (JA でも訳さない。user 2026-11-04) */
.header-nav.mono { margin-left: auto; margin-right: 8px; }
.header-nav.mono a { font-size: 12px; font-weight: 400; letter-spacing: 0.08em; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
/* 静的なページ (EN と /ja/) はビルドが button を <a> にする (scripts/build-i18n.mjs)。404・thanks・account は button のまま */
.lang-switch :is(button, a) {
  border: none; background: transparent; color: var(--dim);
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  padding: 6px 10px; cursor: pointer; text-decoration: none;
}
.lang-switch :is(button.active, a[aria-current="true"]) { background: var(--ink); color: var(--bg); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--ink); }
.lang-switch a[aria-current="true"]:hover { color: var(--bg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; border-radius: 8px; font-weight: 700; text-align: center;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn small { font-weight: 500; font-size: 10.5px; letter-spacing: 0.04em; opacity: 0.75; }
.btn-sm { padding: 8px 14px; font-size: 13px; flex-direction: row; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; min-width: 220px; }
.btn-solid { background: var(--amber); color: #1a1000; }
.btn-solid:hover { background: #ffb54d; color: #1a1000; transform: translateY(-1px); }
.btn-solid small { color: #4a3000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid rgba(236, 232, 224, 0.22); }
.btn-ghost:hover { border-color: rgba(236, 232, 224, 0.45); color: var(--ink); transform: translateY(-1px); }
/* Coming Soon (urls.js の COMING_SOON): 押せないボタン。色を落とし、hover でも動かない */
.btn-soon, .btn-soon:hover {
  background: var(--panel-2); color: #bfb8ac; border: 1px dashed rgba(236, 232, 224, 0.28);
  transform: none; cursor: default;
}
.btn-soon small { color: var(--dim); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-center { justify-content: center; }

/* ---------- section chrome ---------- */
.section { position: relative; padding: 110px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-lede { color: var(--dim); font-size: 16.5px; max-width: 640px; margin-bottom: 40px; text-wrap: pretty; }

/* film frame-number label on each section */
[data-frame]::before {
  content: attr(data-frame);
  position: absolute; top: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--faint); white-space: nowrap;
}

/* perforation strip divider */
.section::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='15'%3E%3Crect x='9' y='3' width='16' height='9' rx='2.5' fill='none' stroke='rgba(236,232,224,0.13)'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  pointer-events: none;
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 120px 0 90px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 420px at 70% -80px, rgba(255, 159, 28, 0.08), transparent 70%),
    radial-gradient(600px 400px at 10% 30%, rgba(255, 159, 28, 0.04), transparent 70%);
}
.hero .shell { position: relative; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-bottom: 64px; }
.hero-copy .lede { margin-bottom: 28px; }
.hero-title h1 { margin-bottom: 0; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip {
  font-size: 11px; font-weight: 500; color: var(--dim);
  border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px;
  background: rgba(236, 232, 224, 0.03);
}
.chip-amber { color: var(--amber); border-color: rgba(255, 159, 28, 0.35); background: var(--amber-soft); font-weight: 600; }
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); margin-bottom: 22px; text-wrap: balance; }
.lede { color: var(--dim); font-size: 17px; line-height: 1.85; margin-bottom: 36px; text-wrap: pretty; }

.hero-stage { position: relative; }
.hero-shot {
  display: block; width: 100%; height: auto; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(236, 232, 224, 0.10), 0 30px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(255, 159, 28, 0.05);
}
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot-ok { background: var(--ok); animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.float-badge {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 7px;
  background: rgba(20, 19, 15, 0.94);
  border: 1px solid rgba(236, 232, 224, 0.16);
  border-radius: 8px; padding: 9px 13px;
  font-size: 11px; font-weight: 600; color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}
/* 札は右の列 (Calibration のカードと Exposure Check) のすぐ左、ライブビューの右上に置く。
   右の列の値を隠さず、窓の外へはみ出さないので幅を選ばない。right は右の列の幅 (窓の約 22%) + 余白 */
.fb-1 { top: 15%; right: 25%; animation: floaty 5s ease-in-out infinite; }
.fb-2 { top: 29%; right: 25%; animation: floaty 6s ease-in-out -1.8s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .float-badge, .dot-ok { animation: none; }
}

/* ---------- image slots (placeholders until real assets) ---------- */
.img-slot {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #14130f 0 14px, #171610 14px 28px);
  border: 1px dashed rgba(236, 232, 224, 0.18);
  border-radius: 8px; overflow: hidden;
  min-height: 200px;
}
.img-slot > span { font-size: 10.5px; color: var(--faint); text-align: center; padding: 0 12%; line-height: 1.9; letter-spacing: 0.03em; }
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- pain ---------- */
.pain-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.pain-item { display: flex; gap: 28px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.pain-num { font-size: 13px; font-weight: 600; color: var(--amber); padding-top: 4px; flex-shrink: 0; }
.pain-item h3 { margin-bottom: 10px; }
.pain-item p { color: var(--dim); font-size: 14.5px; }
.pain-punch { margin-top: 56px; font-size: clamp(22px, 3vw, 30px); line-height: 1.5; letter-spacing: -0.01em; text-align: center; }
.pain-punch strong { color: var(--amber); font-weight: 700; }

/* ---------- proof / comparison sliders ---------- */
.compare { margin: 0; }
.compare-frame { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid rgba(236, 232, 224, 0.13); aspect-ratio: 4 / 3; background: var(--panel); }
.compare-frame .img-slot { position: absolute; inset: 0; border: none; border-radius: 0; min-height: 0; }
.compare-over { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); }
.compare-over .img-slot { background: repeating-linear-gradient(45deg, #1a1813 0 14px, #1d1b14 14px 28px); }
.compare-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
  background: var(--amber); pointer-events: none; z-index: 2;
  box-shadow: 0 0 12px rgba(255, 159, 28, 0.6);
}
.compare-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
}
.compare-handle span::before { content: "◂ ▸"; font-size: 10px; color: #1a1000; letter-spacing: 1px; }
.compare-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 3; margin: 0;
}
.compare-tag {
  position: absolute; bottom: 10px; z-index: 2;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em;
  background: rgba(12, 11, 9, 0.8); border: 1px solid var(--line);
  padding: 4px 9px; border-radius: 4px; color: var(--dim);
}
.tag-left { left: 10px; }
.tag-right { right: 10px; color: var(--amber); border-color: rgba(255, 159, 28, 0.35); }
.compare figcaption { margin-top: 12px; font-size: 11px; color: var(--faint); line-height: 1.8; letter-spacing: 0.02em; }
/* 露出の比較 (2026-11-05)。素材は 3:2。画像は枠いっぱいに重ね、上の 1 枚を clip-path で切る */
.compare-frame-32 { aspect-ratio: 3 / 2; }
.compare-frame .compare-under, .compare-frame .compare-over > div, .compare-frame .compare-under > div { position: absolute; inset: 0; }
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
/* キャプションは EN が mono。JA は和字が入るので sans に戻す (mono の半角スペースは 0.6em あり、「1 コマ」が開く) */
body.lang-ja .compare figcaption { font-family: inherit; letter-spacing: 0; }
/* 露出の節 (2026-11-05 案 A): 全体を上に、下に石垣 (左)・空 (右) の拡大。枠から拡大へ線を引く (main.js)。
   拡大の切り出しは画素のまま出す (ぼかすとざらつきがならされる) */
.proof-zoom { position: relative; z-index: 0; }
.proof-full { max-width: 880px; margin: 0 auto; }
.proof-crops { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 72px; }
.crop-sky { grid-column: 2; grid-row: 1; }
.crop-dark { grid-column: 1; grid-row: 1; }
.proof-crop .proof-text { margin-top: 22px; }
.proof-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 4; }
.proof-links > path { fill: none; stroke: var(--amber); stroke-width: 1.5; }
.proof-links > path.halo { stroke: rgba(12, 11, 9, 0.55); stroke-width: 4; }
.proof-links > path.on-photo { stroke-dasharray: 3 4; }
.proof-loc b, .proof-num { position: absolute; font-size: 10px; font-weight: 700; line-height: 1; color: #1a1000; background: var(--amber); border-radius: 3px; padding: 3px 5px; }
.proof-loc b { left: calc(100% + 5px); top: -1px; }
.proof-loc.loc-below b { top: auto; bottom: -1px; }
.proof-num { top: 10px; left: 10px; z-index: 2; font-size: 11px; padding: 4px 7px; }
.compare figcaption.cap-top { margin: 0 0 12px; }
.section-lede.proof-setup { margin-bottom: 14px; }
.proof-text h3 { font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.proof-text p { color: var(--dim); font-size: 14.5px; margin: 0 0 12px; }
.compare-img.px { image-rendering: pixelated; }
.proof-loc { position: absolute; width: 6.72%; height: 6.72%; border: 1.5px solid var(--amber); border-radius: 2px; pointer-events: none; z-index: 2; box-shadow: 0 0 0 1px rgba(12, 11, 9, 0.6); }
/* 全体の図は空の枠が右上、石垣の枠が左下に来るので、札を左上と右下に置き分ける */
.tags-top .tag-left { bottom: auto; top: 10px; }
.proof-toggle { display: flex; gap: 8px; margin-top: 12px; }
.proof-toggle button { font-size: 10.5px; letter-spacing: 0.08em; padding: 6px 12px; border-radius: 4px; border: 1px solid var(--line); background: transparent; color: var(--dim); cursor: pointer; }
.proof-toggle button.on { color: var(--amber); border-color: rgba(255, 159, 28, 0.45); }
body.lang-ja .proof-toggle button { font-family: inherit; letter-spacing: 0; }
/* 締めは 1 文 1 段 (span を block に)。広い幅で 2 文目 (JA 47 字) が 1 行に収まる幅にし、
   収まらない幅では文ごとに balance で行の長さを揃える (<br> だと段落全体で揃えるので、片方の文の末尾が孤立した) */
.proof-close { margin: 64px auto 0; max-width: 50em; text-align: center; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.8; color: var(--ink); }
.proof-close span { display: block; text-wrap: balance; }
/* ピントの比較 (2026-11-06): 露出の節と同じく 図 | 読ませる文。63% を大きく、物差しの一文を締めに */
.focus-compare { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: start; margin: 72px 0 48px; }
.focus-read { padding-top: 4px; }
.focus-side { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; color: var(--dim); font-size: 14.5px; line-height: 1.75; }
.focus-tag { align-self: flex-start; font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; color: var(--dim); border: 1px solid var(--line); border-radius: 4px; padding: 3px 8px; }
.focus-tag.tag-on { color: var(--amber); border-color: rgba(255, 159, 28, 0.35); }
body.lang-ja .focus-tag:not(.ui-label) { font-family: inherit; letter-spacing: 0; }
.focus-stat { display: flex; align-items: baseline; gap: 16px; margin: 28px 0 8px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.focus-stat-num { font-size: clamp(44px, 5vw, 60px); font-weight: 700; line-height: 1; color: var(--amber); letter-spacing: -0.02em; }
.focus-stat-label { color: var(--dim); font-size: 13.5px; line-height: 1.6; }
.focus-ruler { margin: 24px 0 28px; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.7; color: var(--ink); }
.focus-measured-h { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.04em; color: var(--faint); }
body.lang-ja .focus-measured-h { font-family: inherit; letter-spacing: 0; }
.focus-notes { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.7; color: var(--dim); }

/* ---------- instruments (FR 03–05) ----------
   計器ごとに中央の見出し → 動画 / 図 → spec は最後の表 (折りたたみ) */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--amber); margin-bottom: 16px; }
/* 計器の動画は節の見出しの下に置く (2026-11-06、タブをやめた)。素材は窓の縁で切り抜いてある (動画は透過できず、
   余白の純黒が背景から浮くため)。角と影はここで付ける */
.inst-video { max-width: 960px; margin: 0 auto 72px; }
.inst-video-focus { max-width: 880px; }
.inst-media {
  display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(236, 232, 224, 0.10), 0 30px 80px rgba(0, 0, 0, 0.55);
}
/* 章の切れ目 (EXPOSURE / FOCUS)。見出しは英字のラベルのまま (JA でも訳さない)。読み上げの見出し一覧に出すため h2。
   配下の節の見出しも h2 のまま (段を下げると .section h2 の組みが全部変わるので、章と節は同じ段に並べる) */
.section .chapter-mark { display: flex; text-align: left; line-height: 1.2; align-items: baseline; gap: 14px; margin: 0 0 40px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 159, 28, 0.35); font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: 0.16em; color: var(--amber); }
.section .chapter-mark span { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--dim); }
.inst-head { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.inst-head h2 { margin-bottom: 18px; }
.inst-head p { color: var(--dim); max-width: 720px; margin: 0 auto; text-wrap: pretty; }
body.lang-ja .inst-head p { text-align: center; }
.dg.dg-big { margin: 0; padding: 32px 36px 28px; }
.dg-big .dg-axis, .dg-big .dg-title { font-size: 11px; }
.dg-big .dg-plot { padding-top: 30px; }
.dg-big .dg-rail { height: 20px; border-radius: 10px; }
.dg-big .dg-tick { font-size: 12px; }
.dg-big .dg-span { top: 84px; font-size: 13px; }
.dg-big .s-hidden { top: 84px; }
.dg-big .dg-sweep { height: 140px; margin-top: 84px; }
.dg-big .dg-sweep i { width: 5%; margin-left: -2.5%; }
.dg-big figcaption { font-size: 13.5px; text-align: center; margin-top: 22px; }
.dg-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dg-trio .dg { margin: 0; display: flex; flex-direction: column; }
.dg-trio .dg figcaption { margin-top: auto; padding-top: 14px; }
.dg-trio .dg-band { margin-top: 30px; }
.dg-trio .dg-thumbs { margin-top: 26px; }
/* 撮影後のカードは絵が 1 段だけで、隣と高さを揃えると本文の上が大きく空く。3 列 2 段にして絵で埋める */
.dg-trio .dg-after .dg-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
/* 図の和文ラベルは mono だと英数字が全角幅に組まれて「JPEG　の右端」と空いて見えるので、本文の書体に戻す。
   英字だけの見出し (THE VERDICT など) は data-i18n を持たないので mono のまま */
body.lang-ja .dg .mono[data-i18n] { font-family: var(--font-sans); letter-spacing: 0; }
.spec-sheet { margin-top: 96px; }
.spec-sheet summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px; padding: 8px 0; font-size: 12px; letter-spacing: 0.12em; color: var(--ink); border-bottom: 1px solid rgba(236, 232, 224, 0.14);
}
.spec-sheet summary::-webkit-details-marker { display: none; }
.spec-sheet summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.spec-sheet .plus { color: var(--amber); font-size: 18px; line-height: 1; transition: transform 0.2s; }
.spec-sheet[open] .plus { transform: rotate(45deg); }
.spec-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 36px; }
.spec-group { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink); margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(236, 232, 224, 0.14); }
.spec-cols dl { margin: 0; }
.spec-cols dt { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--amber); margin-top: 18px; }
.spec-cols dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.75; color: #c9c4ba; }
/* 3 列は 1 列 350px 前後と狭く、両端揃えだと和文の字間が 20〜35% 伸びる。スマホと同じく左揃えに */
body.lang-ja .spec-cols dd { text-align: start; }
/* At a glance (FAQ の見出しの直後)。札は spec-cols の dt と同じ値、1 項目 1 行の表 */
.at-a-glance { margin: 0 0 40px; border-top: 1px solid var(--line); }
.at-a-glance > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.at-a-glance dt { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--amber); padding-top: 3px; }
.at-a-glance dd { margin: 0; font-size: 14px; line-height: 1.6; color: #c9c4ba; }
@media (max-width: 640px) { .at-a-glance > div { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 860px) {
  .dg-trio, .spec-cols { grid-template-columns: minmax(0, 1fr); }
  .spec-cols { gap: 36px; }
  .inst-video { margin-bottom: 48px; }
  .dg.dg-big { padding: 20px 18px; }
  /* 狭い幅では「JPEG の右端」をレールの上の 2 段目に、「位置は機種と…」を「残す余裕」の下の段に逃がす */
  .dg-big .dg-plot { padding-top: 46px; }
  .dg-big .dg-tick.t-jpeg { top: 22px; left: 18% !important; transform: none; }
  .dg-big .dg-span { top: 100px; font-size: 11px; }
  .dg-big .s-hidden { top: 140px; }
  .dg-big .dg-sweep { height: 80px; margin-top: 170px; }
}


/* ---------- ceiling / vs table ---------- */
.ceiling-h { text-align: center; }
.section-alt .shell-narrow .section-lede { margin-left: auto; margin-right: auto; text-align: center; max-width: 720px; }
.vs-table { margin-top: 40px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.vs-row { display: grid; grid-template-columns: 200px 1fr 1fr; border-bottom: 1px solid var(--line); }
.vs-row:last-child { border-bottom: none; }
.vs-row > div { padding: 15px 20px; font-size: 13.5px; line-height: 1.6; }
.vs-row > div:first-child { color: var(--dim); font-size: 12.5px; }
.vs-row > div:nth-child(2) { color: var(--ink); background: rgba(255, 159, 28, 0.05); border-left: 1px solid rgba(255, 159, 28, 0.2); border-right: 1px solid var(--line); }
.vs-row > div:nth-child(3) { color: var(--faint); }
.vs-head > div { font-family: var(--font-mono); font-size: 11px !important; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.vs-head .vs-loupe { color: var(--amber) !important; font-weight: 600; }
.vs-note { margin-top: 18px; font-size: 11px; color: var(--faint); line-height: 1.9; }
.vs-fair { margin-top: 8px; font-size: 13px; color: var(--dim); font-style: italic; }
body.lang-ja .vs-fair { font-style: normal; } /* 和文に斜体は無い */

/* ---------- outcomes ---------- */
.outcome-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.outcome { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; transition: border-color 0.25s ease, transform 0.25s ease; }
.outcome:hover { border-color: rgba(255, 159, 28, 0.3); transform: translateY(-2px); }
.outcome-num { color: var(--amber); font-size: 15px; }
.outcome h3 { margin: 12px 0 8px; }
.outcome p { color: var(--dim); font-size: 13.5px; }

/* ---------- pricing ---------- */
.price-card {
  margin-top: 36px; background: var(--panel);
  border: 1px solid rgba(255, 159, 28, 0.25); border-radius: 16px;
  padding: 44px 48px;
  box-shadow: 0 0 80px rgba(255, 159, 28, 0.06);
}
.price-top { text-align: center; margin-bottom: 30px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 16px; }
.price-amount .mono { font-size: 56px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.price-once { color: var(--dim); font-size: 14px; }
.price-anchor { color: var(--dim); font-size: 14.5px; max-width: 520px; margin: 0 auto; text-wrap: pretty; }
.price-list { list-style: none; margin: 0 auto 32px; padding: 0; max-width: 480px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; color: #c9c4ba; }
.price-alt { text-align: center; margin-top: 20px; font-size: 11px; color: var(--faint); }

/* ---------- FAQ + checker ---------- */
.checker { margin: 8px 0 44px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 24px 28px; }
.checker-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; color: var(--amber); margin-bottom: 18px; }
.cam-group + .cam-group { margin-top: 20px; }
.cam-head { font-size: 10.5px; letter-spacing: 0.12em; color: var(--dim); margin-bottom: 10px; }
.cam-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cam-list li { font-size: 12.5px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: #c9c4ba; }
.cam-verified { flex-direction: column; gap: 8px; }
.cam-verified li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; border-color: rgba(95, 212, 138, 0.25); background: rgba(95, 212, 138, 0.06); border-radius: 8px; padding: 8px 12px; }
.cam-verified b { color: #a9e8c0; font-weight: 600; }
.cam-verified span { color: var(--dim); font-size: 12.5px; }
.cam-note { margin-top: 10px; font-size: 13px; color: var(--dim); line-height: 1.7; }
.cam-lede { margin: -6px 0 22px; font-size: 14.5px; color: #c9c4ba; line-height: 1.8; }
.cam-caveats { margin: 20px 0 0; padding: 14px 0 0 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); line-height: 1.7; display: flex; flex-direction: column; gap: 6px; }
.cam-src { margin-top: 14px; font-size: 13px; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; transition: border-color 0.2s ease; }
.faq-list details:hover { border-color: rgba(255, 159, 28, 0.25); }
.faq-list summary { cursor: pointer; padding: 17px 0; font-size: 14.5px; font-weight: 600; list-style: none; position: relative; padding-right: 30px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "＋"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 14px; transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--amber); }
.faq-list details p { padding: 0 0 20px; font-size: 13.5px; color: var(--dim); line-height: 1.9; }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative; padding: 130px 0; text-align: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 340px at 50% 120%, rgba(255, 159, 28, 0.13), transparent 70%);
}
.final-cta .shell { position: relative; }
.final-cta h2 { font-size: clamp(28px, 4.4vw, 44px); }
.final-sub { color: var(--amber); font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; margin: 14px 0 40px; }
.trust-line { margin-top: 30px; font-size: 10.5px; letter-spacing: 0.1em; color: var(--faint); }

/* ---------- legal pages (privacy.html / eula.html) ---------- */
/* 言語ブロックの排他表示。法務文書は辞書に分解せず全文を並べて置く (理由は legal.js)。
   EN を既定にするのは index.html と同じ (第一言語が HTML にある状態)。 */
.lang-block[data-lang-block="ja"] { display: none; }
body.lang-ja .lang-block[data-lang-block="ja"] { display: block; }
body.lang-ja .lang-block[data-lang-block="en"] { display: none; }

.legal { padding: 56px 0 88px; }
.legal h1 { font-size: clamp(27px, 3.4vw, 36px); line-height: 1.25; }
/* 見出しの大きさは h2 の既定 (clamp 28-40px) では条文の階層に対して大きすぎる。
   body.lang-ja h2 の 34px も同じ理由で上書きする (詳細度で勝つよう .legal を前置)。 */
.legal h2,
body.lang-ja .legal h2 { font-size: clamp(18px, 2.1vw, 21px); margin: 42px 0 10px; letter-spacing: -0.01em; }
.legal h3,
body.lang-ja .legal h3 { font-size: 15.5px; margin: 26px 0 8px; color: var(--amber); }
.legal p, .legal li { color: var(--dim); font-size: 15px; }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal code { font-family: var(--font-mono); font-size: 0.92em; color: var(--ink); }
.legal-meta { color: var(--faint); font-size: 11.5px; letter-spacing: 0.06em; margin-top: 12px; }
/* mono の半角スペースは固定幅 0.6em なので「2026 年 8 月」の数字と単位が離れる
   (index.html の .compare-tag と同じ理由)。和字が入る行は JA では sans に戻す。 */
body.lang-ja .legal-meta, body.lang-ja .legal-end { font-family: inherit; letter-spacing: 0.02em; }
.legal-lead { color: var(--ink); margin-top: 30px; }
.legal-end { color: var(--faint); font-size: 11.5px; margin-top: 40px; }
/* リリースノートのページ (releases/index.html。本文は tools/build-releases.js が書き出す) */
.release-lead { color: var(--ink); }
/* 特商法の表 (.legal-table) は屋号の legal/tokushoho.html に移った (../assets/site.css) */

.legal-nav { display: flex; gap: 20px; margin-top: 64px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; }
.legal-nav a { color: var(--faint); }
.legal-nav a:hover { color: var(--dim); }
/* 法務ページのヘッダーは nav を持たないので、言語トグルを右端に寄せる */
.header-actions-legal { margin-left: auto; }

/* footer は全ページ共通の house footer (../assets/house.css)。ここには持たない。 */

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
/* 以前はここで 1140px 以下を左揃えに戻していた (両端揃えは 430px で字間が +61% 伸びた)。
   和文の本文は全幅で左揃えになったので規則ごと撤去した (2026-11-05)。 */

@media (max-width: 960px) {
  .hero-copy { grid-template-columns: 1fr; gap: 8px; margin-bottom: 44px; }
  .proof-crops { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
  .focus-compare { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .crop-sky, .crop-dark { grid-column: auto; grid-row: auto; }
  .proof-links { display: none; }
  .outcome-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .float-badge { display: none; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row > div:first-child { padding-bottom: 4px; font-weight: 600; }
  .vs-row > div:nth-child(2) { border-left: none; border-right: none; }
  .vs-head { display: none; }
  .vs-row > div:nth-child(2)::before { content: "Loupe — "; color: var(--amber); font-family: var(--font-mono); font-size: 11px; }
  .vs-row > div:nth-child(3)::before { content: "Generic — "; font-family: var(--font-mono); font-size: 11px; }
  .price-card { padding: 32px 24px; }
  .section { padding: 84px 0; }
}

/* ---------- JA のモバイル組版 ---------- */
@media (max-width: 640px) {
  /* wrap-manual の <br> はデスクトップ幅 (1 カラム 512px) 前提の改行位置。
     モバイルでは各セグメントがさらに折り返して助詞 1 文字の孤立行を作るので、
     <br> を無効化して balance の自動分割に戻す。 */
  body.lang-ja h2.wrap-manual br { display: none; }
  /* balance は行長の均等を優先して文節境界を壊す (助詞が行頭に来る)。狭い幅では
     自然折り返しのほうが助詞行頭が少ないので、見出しの balance を全部外す。 */
  body.lang-ja h2, body.lang-ja h3 { text-wrap: initial; }
  /* h3 18px ではカード内幅 290px に 16 字しか入らず、16 字の見出しを balance が
     2 行に割って「スキャン露出のこ / とを考えなくなる」になる。 */
  body.lang-ja h3 { font-size: 16px; }
  /* 390px には 入口の印 + wordmark + 言語トグル + ボタンが収まらない。Easel と同じく
     header のボタンは隠し、購入とトライアルは hero と price のボタンに任せる (2026-11-04)。 */
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-sm { white-space: nowrap; padding: 7px 12px; }
  .lang-switch :is(button, a) { padding: 6px 8px; white-space: nowrap; }
}

/* ---------- 概念図 (2026-11-04、user のコメント「文字文字しい」) ---------- */
.dg { margin: 0 0 28px; padding: 18px 18px 16px; background: #0a0908; border: 1px solid rgba(236, 232, 224, 0.12); border-radius: 10px; }
.dg figcaption { margin-top: 14px; font-size: 12.5px; line-height: 1.7; color: var(--dim); text-align: start; }
.dg-axis, .dg-title { font-size: 10px; letter-spacing: 0.14em; color: var(--faint); margin-bottom: 12px; }
.dg-plot { position: relative; padding: 22px 0 0; }
.dg-rail { position: relative; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #1b1915 0%, #4d3c10 50%, #8a6214 80%, #c43c3c 100%); }
.dg-zone { position: absolute; top: 0; bottom: 0; }
.z-hidden { background: repeating-linear-gradient(135deg, rgba(255, 159, 28, 0.22) 0 3px, transparent 3px 7px); }
.z-margin { background: rgba(255, 255, 255, 0.16); }
.dg-rec { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--amber); box-shadow: 0 0 8px rgba(255, 159, 28, 0.7); }
.dg-tick { position: absolute; transform: translateX(-50%); white-space: nowrap; font-size: 10px; }
.dg-tick.t-jpeg, .dg-tick.t-raw { top: 0; }
.dg-tick.t-jpeg { color: var(--dim); }
.dg-tick.t-raw { color: var(--bad); left: auto !important; right: 0; transform: none; }
.dg-tick.t-rec { position: relative; display: inline-block; margin-top: 6px; color: var(--amber); }
.dg-span { position: absolute; top: 66px; font-size: 11.5px; line-height: 1.5; padding-top: 8px; border-top: 1px solid currentColor; }
.dg-span > span { display: block; padding-right: 8px; }
.s-margin > span { position: absolute; right: 0; width: max-content; padding: 8px 0 0; white-space: nowrap; }
.s-hidden { top: 120px; }
.s-hidden { color: #d9a45a; }
.s-margin { color: var(--ink); }
.dg-sweep { position: relative; height: 54px; margin-top: 128px; border-bottom: 1px solid var(--line); }
.dg-sweep i { position: absolute; bottom: 0; width: 6%; margin-left: -3%; border-radius: 2px 2px 0 0; background: rgba(236, 232, 224, 0.28); }
.dg-sweep i.flat { background: var(--bad); opacity: 0.75; }
.dg-band { display: grid; grid-template-columns: 1fr 1.1fr 1fr 0.9fr; height: 30px; border-radius: 6px; overflow: hidden; font-size: 10px; text-align: center; }
.dg-band > span { display: flex; align-items: center; justify-content: center; }
.b-ok { background: rgba(95, 212, 138, 0.22); color: #a9e8c0; font-weight: 600; }
.b-dev { background: rgba(255, 159, 28, 0.14); color: #ffd9a0; }
.b-l { background: linear-gradient(90deg, rgba(255, 159, 28, 0.3), rgba(255, 159, 28, 0.1)); }
.b-r { background: linear-gradient(90deg, rgba(255, 159, 28, 0.1), rgba(255, 159, 28, 0.3)); }
.b-risk { background: rgba(255, 93, 93, 0.25); color: #ffb3b3; font-weight: 600; }
.dg-chart { position: relative; height: 92px; margin-top: 18px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dg-chart i { position: absolute; width: 8px; height: 8px; margin: 0 0 -4px -4px; border-radius: 50%; background: rgba(236, 232, 224, 0.45); }
.dg-chart i.over { background: #d9a45a; }
.dg-chart i.warn { background: var(--amber); box-shadow: 0 0 8px rgba(255, 159, 28, 0.8); }
.c-thr { position: absolute; left: 0; right: 0; bottom: 52%; border-top: 1px dashed rgba(255, 159, 28, 0.55); }
.c-thr > span { position: absolute; right: 0; top: -15px; font-size: 9.5px; color: var(--amber); }
.c-note { position: absolute; top: -16px; transform: translateX(-50%); font-size: 10.5px; white-space: nowrap; color: var(--dim); }
.c-note.n-warn { color: var(--amber); font-size: 13px; top: -20px; }
.dg-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.dg-thumbs i { aspect-ratio: 3 / 2; border-radius: 3px; background: linear-gradient(160deg, #3a2a1a, #1f1810); display: flex; align-items: center; justify-content: center; font-style: normal; color: var(--amber); font-size: 14px; }
.dg-thumbs i.clip { outline: 1px solid var(--amber); }
@media (max-width: 640px) {
  .dg-plot { padding-top: 40px; }
  .dg-tick.t-jpeg { top: 18px; left: 18% !important; transform: none; }
  .dg-span { font-size: 10.5px; }
  .dg-band { font-size: 9px; }
}

/* ---------- モバイルの読みやすさ (2026-11-05 user) ----------
   調査: 中央揃えの段落はどのサイトも 6 行まで。写真アプリ (Darkroom・NLP) はモバイルで見出しも本文も左。
   本文は 16〜17px が基準 (HIG 17pt / M3 Body Large 16)。タップ領域は 44px (HIG)。
   なので 640px 以下は節の見出しと本文を左に揃え、本文を一段大きくする。中央に残すのは
   最後の CTA・FR 01 の締め・$99 の 3 つだけ。 */
@media (max-width: 640px) {
  .section h2, .ceiling-h, .inst-head, body.lang-ja .inst-head p { text-align: left; }
  .inst-head { margin: 0 0 40px; }
  .section-alt .shell-narrow .section-lede { margin-left: 0; text-align: left; }
  .dg-big figcaption { text-align: left; }
  .price-top .price-anchor, body.lang-ja .price-top .price-anchor { text-align: left; }
  /* 番号の列が幅を取ると本文が 290px に狭まり、左揃えの右端が荒れる。番号は見出しの上に載せる */
  .pain-item { flex-direction: column; gap: 6px; padding: 28px 0; }
  .pain-item p, .price-anchor { font-size: 16px; }
  .outcome p, .vs-row > div, .faq-list details p, .spec-cols dd { font-size: 15px; }
  .faq-list summary { font-size: 16px; }
  .price-list li { font-size: 15px; }
  .dg figcaption, .cam-note, .cam-caveats, .vs-fair { font-size: 14px; }
  .vs-note, .price-alt { font-size: 12.5px; }
  p, dd, li, figcaption { text-wrap: pretty; }
  .lang-switch :is(button, a) { padding: 11px 10px; }
  /* 左に揃えた節の本文と $99 の脇の段落は、長ければ本文の組版 (上の ja-flow の段) */
  body.lang-ja :is(.inst-head p, .price-top .price-anchor).ja-flow { word-break: normal; text-align: start; }
  body.lang-ja :is(.inst-head p, .price-top .price-anchor).ja-flow wbr { display: none; }
}
/* 和文で mono のままだと英数字が全角幅に組まれて開くので、注記も本文の書体にする */
body.lang-ja :is(.vs-note, .price-alt).mono { font-family: var(--font-sans); letter-spacing: 0; }

/* ---------- 発売記念 (launch.js が期間中だけ <html> に launch-on を付ける。期間が終わったら消す) ---------- */
html:not(.launch-on) .launch-only { display: none !important; }
html.launch-on .regular-only { display: none !important; }
.launch-bar {
  text-align: center; font-size: 12px; letter-spacing: 0.04em; color: var(--amber);
  background: var(--amber-soft); border-bottom: 1px solid rgba(255, 159, 28, 0.25);
  padding: 9px 16px;
}
.price-launch-tag {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: var(--bg); background: var(--amber);
}
html.launch-on .price-amount .price-regular { font-size: 24px; font-weight: 400; color: var(--faint); text-decoration: line-through; }
.price-launch { color: var(--dim); font-size: 13.5px; margin: -4px auto 16px; max-width: 520px; }
html.launch-on .chip-was { text-decoration: line-through; opacity: 0.6; }
