@charset "UTF-8";
/* ==========================================================================
   DeepAge Sensor — ランディングページ専用スタイル
   index.html のみが読み込む。アプリ側画面 (layout.html 系) が使う
   bulma.css / base.css / modern.css とは意図的に独立させ、
   2017 年の bulma 0.4.2 を LP から切り離す。
   設計は spot-corp.com のコーポレートサイト（タイポグラフィ主体・余白重視）
   に揃え、ブランド色のみ Sensor のターコイズを使う。
   ========================================================================== */

/* ----------------------------------------------------------
   Design Tokens
   ---------------------------------------------------------- */
:root {
  /* color: ink / paper はコーポレートサイトと共通 */
  --ink: #101418;
  --ink-2: #333a44;
  --gray: #6b7280;           /* 白背景で 4.8:1 — 本文補助として可 */
  --line: #e6e8eb;
  --paper: #ffffff;
  --paper-2: #f8f9fa;

  /* brand: Sensor のターコイズ。用途ごとにコントラストを満たす濃度を用意する */
  --brand: #00b39d;          /* 罫線・装飾など非テキスト用途のみ */
  --brand-ink: #00695c;      /* 白背景のテキスト/リンク — 6.6:1 */
  --brand-btn: #00786a;      /* 白文字ボタンの背景 — 5.4:1 */
  --brand-btn-hover: #00695c;
  --brand-soft: #eef8f6;

  --danger: #b3261e;
  --danger-soft: #fdecea;
  --success-soft: #eef8f6;

  --font-sans: "Inter", "Noto Sans JP", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --leading-body: 1.85;

  --max-width: 1080px;
  --gutter: 24px;
}

@media (min-width: 721px) {
  :root { --gutter: 40px; }
}

/* ----------------------------------------------------------
   Reset
   ---------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  line-height: var(--leading-body);
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: color .3s ease, background-color .3s ease, border-color .3s ease; }
table { border-collapse: collapse; border-spacing: 0; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ----------------------------------------------------------
   長大トークン耐性（予防・issue #30 付随修正）
   折返し不能な長い文字列（URL・メール・長い英語トークン等）が
   混入しても横はみ出しでレイアウトを壊さないための下限防御。
   通常の語の折返し位置は変えず、あふれる場合にだけ効く規則に
   限定する（overflow-x: hidden や word-break: break-all は
   sticky ヘッダー破壊・改行劣化の恐れがあるため使わない）。
   見出し (.lp-hero h1 / .lp-section h2) には適用しない
   （word-break: auto-phrase の文節折返しを壊さないため）。
   ---------------------------------------------------------- */

/* 通常の語の折返し位置は変えず、あふれる場合にだけ分割 */
body { overflow-wrap: break-word; }

/* URL・メール等、min-content 自体を縮める必要がある箇所 */
.press-links,
.contact-aside dd,
.section-note { overflow-wrap: anywhere; }

/* flex 子の min-content 下限を解除（grid は既に minmax(0,1fr) のため触らない） */
.feature-list li > span,
.footer-grid > * { min-width: 0; }

/* ----------------------------------------------------------
   Layout primitives
   ---------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.lp-section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
  /* sticky ヘッダー（min-height 64px + border）に隠れないよう、
     アンカー遷移の停止位置をヘッダー高さ分だけ下げる。
     対象は #methods 〜 #contact すべて .lp-section を持つ。 */
  scroll-margin-top: 76px;
}

@media (min-width: 721px) {
  .lp-section { padding-block: 112px; }
}

.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-ink);
  line-height: 1.6;
  margin-bottom: 14px;
}

.lp-section h2 {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
}

/* 日本語見出しの改行制御。
   CJK は既定でどの文字間でも折り返せるため、「ブラ／ウザ」のような
   語中改行が起きる。auto-phrase は対応ブラウザで文節単位に寄せる
   （非対応ブラウザは宣言ごと無視されるため安全）。
   確実に制御したい見出しは HTML 側で span を分け、下の inline-block で
   span 境界のみを改行位置にする。 */
.lp-hero h1,
.lp-section h2,
.card h3,
.step h3 {
  word-break: auto-phrase;
}

.lp-hero h1 span,
.card h3 span {
  display: inline-block;
}

/* リード文は必ず .section-lead を付ける。
   かつて `.lp-section > .container > p` も併記していたが、型セレクタを含む分
   詳細度が (0,2,1) となり、.eyebrow / .section-note / .press-links / ダーク
   セクションの色指定 (0,2,0) をすべて上書きしてしまっていた。
   セクション直下の <p> は各自の専用クラスで完結させる。 */
.section-lead {
  margin-top: 20px;
  max-width: 46em;
  color: var(--ink-2);
}

.section-note {
  margin-top: 28px;
  font-size: .8125rem;
  line-height: 1.9;
  color: var(--gray);
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.lp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding-block: 12px;
}

.lp-logo img { width: 148px; }

.lp-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  font-size: .875rem;
  font-weight: 500;
}

.lp-nav a:hover { color: var(--brand-ink); }

/* 狭い画面では本文セクションへのリンクを畳み、CTA だけ残す */
.lp-nav .nav-secondary { display: none; }

@media (min-width: 861px) {
  .lp-nav .nav-secondary { display: inline; }
}

/* ----------------------------------------------------------
   Buttons
   ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
}

.btn--primary { background: var(--brand-btn); color: #fff; }
.btn--primary:hover { background: var(--brand-btn-hover); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); }

.btn--sm { padding: 8px 16px; font-size: .8125rem; }

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */
.lp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 88px 72px;
  background: var(--paper);
}

/* 背景の作図は SVG 側に持たせる。疑似要素にすることで、画面幅ごとに
   拡大率と位置だけを差し替えられる（見出しの背後に回り込ませない）。
   狭い画面ではヘッダーと見出しの間に作図を置く余白が無く、三円が中途半端に
   切れるため、SVG は出さずブランド光だけにする。 */
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60rem 30rem at 12% -10%, var(--brand-soft), transparent 60%);
  pointer-events: none;
}

@media (min-width: 721px) {
  .lp-hero { padding-block: 136px 112px; }
  .lp-hero::before {
    background: url("../img/hero-bg.svg") no-repeat right top;
    /* cover はヒーローの高さに合わせて横方向へ過剰に拡大され、狭い画面で
       三円が本文の上に張り出す。contain なら幅に追随して縮み、どの幅でも
       右上に収まる。 */
    background-size: contain;
  }
}

.lp-hero h1 {
  font-size: clamp(1.875rem, 5.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  max-width: 15em;
}

.lp-hero .lead {
  margin-top: 28px;
  max-width: 40em;
  font-size: clamp(.9375rem, 1.6vw, 1.0625rem);
  color: var(--ink-2);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

/* ----------------------------------------------------------
   Stats
   ---------------------------------------------------------- */
.lp-stats {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 44px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

@media (min-width: 861px) {
  .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat__value {
  font-size: clamp(1.75rem, 4.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat__value .unit { font-size: .55em; font-weight: 600; margin-left: 2px; }

.stat__label {
  margin-top: 10px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.6;
}

.stat__note {
  margin-top: 4px;
  font-size: .75rem;
  line-height: 1.7;
  color: var(--gray);
}

/* ----------------------------------------------------------
   Cards (3つの使い方 / 基盤)
   ---------------------------------------------------------- */
.card-grid {
  display: grid;
  /* minmax(0,1fr): 裸の 1fr は minmax(auto,1fr) で、折返し不能な長い
     トークンを含むカードの min-content がトラック幅の下限になり
     モバイル単段で横あふれする（issue #30 付随修正で実測）。
     直下のメディアクエリと同じイディオムに揃える。 */
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 861px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.card__tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.6;
}

.card h3 {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
}

.card p {
  margin-top: 12px;
  font-size: .9375rem;
  color: var(--ink-2);
}

.card__meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--gray);
}

/* ----------------------------------------------------------
   Data table (Muon 比較)
   ---------------------------------------------------------- */
.table-scroll {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.data-table {
  width: 100%;
  min-width: 640px;
  font-size: .875rem;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.7;
  white-space: nowrap;
}

.data-table thead th {
  background: var(--paper-2);
  font-weight: 600;
  font-size: .8125rem;
  color: var(--ink-2);
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table tbody th {
  font-weight: 500;
  color: var(--ink-2);
}

.data-table .col-best {
  background: var(--brand-soft);
  font-weight: 700;
  color: var(--ink);
}

.data-table thead .col-best { color: var(--brand-ink); }

/* ----------------------------------------------------------
   Steps (導入の流れ)
   ---------------------------------------------------------- */
.steps {
  display: grid;
  /* minmax(0,1fr): .card-grid と同じ min-content 下限対策（issue #30） */
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 48px;
  counter-reset: step;
}

@media (min-width: 861px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.step {
  padding-top: 22px;
  border-top: 2px solid var(--brand);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand-ink);
}

.step h3 {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.step p {
  margin-top: 8px;
  font-size: .875rem;
  color: var(--ink-2);
}

/* ----------------------------------------------------------
   Feature list (基盤)
   ---------------------------------------------------------- */
.feature-list {
  display: grid;
  /* minmax(0,1fr): .card-grid と同じ min-content 下限対策（issue #30）。
     li > span の min-width: 0 はトラックが縮まないと効果を発揮しない。 */
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 40px;
  margin-top: 40px;
}

@media (min-width: 721px) {
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.feature-list li {
  display: flex;
  gap: 12px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
}

.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: .68em;
  border-radius: 50%;
  background: var(--brand);
}

.feature-list b { font-weight: 700; }

/* ----------------------------------------------------------
   Speed panel (検査速度のバー比較)
   バー幅は --w で指定し、.reveal と同じ仕組みで画面内に入った
   タイミングに伸ばす。GPU 側の duration を短くして先に伸びきる
   「バーレース」にすることで、数値の差を体感的に伝える。
   JS 無効・reduced-motion では最終幅で静的表示される
   （幅を 0 にするのは .js かつ未表示のときだけ）。
   ---------------------------------------------------------- */
.speed {
  margin-top: 56px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}

@media (min-width: 721px) {
  .speed { padding: 36px 44px; }
}

.speed__title {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.speed__row {
  display: grid;
  grid-template-columns: 2.6em 1fr auto;
  align-items: center;
  gap: 14px;
  padding-block: 9px;
}

.speed__label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-2);
}

.speed__track {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: #eceff2;
  overflow: hidden;
}

.speed__bar {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
}

.speed__bar--cpu {
  background: linear-gradient(90deg, #9aa3ad, #6b7280);
  transition: width 1.5s cubic-bezier(.16, 1, .3, 1) .15s;
}

.speed__bar--gpu {
  background: linear-gradient(90deg, var(--brand), var(--brand-btn));
  transition: width .6s cubic-bezier(.16, 1, .3, 1) .15s;
}

/* スクロールで .speed.reveal に .is-visible が付くまでバーは 0 幅
   （reduced-motion では共通ルールにより duration が潰れ即時表示）。 */
.js .speed:not(.is-visible) .speed__bar { width: 0; }

.speed__value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  min-width: 3.2em;
  text-align: right;
}

.speed__unit {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray);
  margin-left: 2px;
}

.speed__note {
  margin-top: 16px;
  font-size: .8125rem;
  line-height: 1.9;
  color: var(--gray);
}

/* ----------------------------------------------------------
   Contact
   ---------------------------------------------------------- */
.lp-contact { background: var(--paper-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 861px) {
  .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}

.contact-aside dt {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.contact-aside dd {
  margin-bottom: 26px;
  font-size: .9375rem;
  color: var(--ink-2);
}

.contact-aside a { color: var(--brand-ink); text-decoration: underline; }
.contact-aside a:hover { color: var(--ink); }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .8125rem;
  font-weight: 600;
}

.field .req {
  margin-left: 6px;
  font-size: .6875rem;
  font-weight: 700;
  color: var(--danger);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5dbe0;
  border-radius: 6px;
  background: var(--paper);
  font-size: .9375rem;
  line-height: 1.7;
}

.field textarea { min-height: 150px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-ink);
  outline: 2px solid var(--brand-soft);
  outline-offset: 0;
}

/* ハニーポット。利用者にも支援技術にも出さず、bot にだけ見える。 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin-top: 6px;
  font-size: .8125rem;
  color: var(--gray);
}

.form-privacy a { color: var(--brand-ink); text-decoration: underline; }

.contact-form .btn { margin-top: 22px; }

/* ----------------------------------------------------------
   Flash (サーバー確定後の送信結果)
   ---------------------------------------------------------- */
.flash {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  padding: 16px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .9375rem;
  line-height: 1.75;
}

.flash--success {
  border-color: var(--brand);
  background: var(--success-soft);
  color: var(--brand-ink);
}

.flash--error {
  border-color: #f3b4af;
  background: var(--danger-soft);
  color: var(--danger);
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
.lp-footer {
  padding-block: 56px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
  justify-content: space-between;
}

.footer-brand img { width: 132px; }

.footer-brand p {
  margin-top: 14px;
  max-width: 24em;
  font-size: .8125rem;
  color: var(--gray);
}

.footer-nav h2 {
  margin-bottom: 12px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer-nav li { line-height: 2.1; }
.footer-nav a:hover { color: var(--brand-ink); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--gray);
}

/* ----------------------------------------------------------
   CTA microcopy
   ---------------------------------------------------------- */
.cta-note {
  margin-top: 14px;
  font-size: .8125rem;
  color: var(--gray);
}

/* ----------------------------------------------------------
   Use-case chips (想定している検査対象の例)
   ---------------------------------------------------------- */
.usecases { margin-top: 40px; }

.usecase-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chips li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ----------------------------------------------------------
   Figures (グラフ・スクリーンショット)
   ---------------------------------------------------------- */
.figure-card {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.figure-card img { width: 100%; height: auto; }

.figure-card figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--gray);
  text-align: center;
}

.card__media { margin-top: 18px; }

.card__media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card__media figcaption {
  margin-top: 8px;
  font-size: .75rem;
  color: var(--gray);
}

/* ----------------------------------------------------------
   Press links (公開済み検証の出典)
   ---------------------------------------------------------- */
.press-links {
  margin-top: 16px;
  font-size: .8125rem;
  line-height: 2;
  color: var(--gray);
}

.press-links a {
  margin-left: 10px;
  color: var(--brand-ink);
  text-decoration: underline;
}

.press-links a:hover { color: var(--ink); }

/* ----------------------------------------------------------
   Dark section (学習エンジン)
   ページ中盤の視覚的アンカー。ブランド色は明度を上げた
   #3fd0ba を使い、ink 背景で 9.7:1 のコントラストを確保する。
   ---------------------------------------------------------- */
.lp-section--dark {
  background: var(--ink);
  border-top-color: var(--ink);
  /* 明色文字を暗背景に置くとグレースケール AA では線が痩せて滲んで見える。
     ダークセクションだけ既定のサブピクセル描画へ戻し、字面を太らせる。 */
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.lp-section--dark .eyebrow { color: #3fd0ba; }
.lp-section--dark h2 { color: #fff; }
/* 暗背景では同じコントラスト比でも明背景より沈んで見えるため、
   ライト側より一段明るい階調を当てる（本文 12.5:1 / 補足 8.7:1）。 */
.lp-section--dark .section-lead { color: #ced5db; }
.lp-section--dark .section-note { color: #aab3bc; }

.lp-section--dark .table-scroll {
  border-color: rgba(255, 255, 255, .14);
}

/* 既定の :focus-visible は --brand-ink（#00695c）で、--ink 背景上は
   約 2.8:1 と非テキスト 3:1 を割る。ダークセクションでは同じアクセント色
   #3fd0ba（9.7:1）へ差し替える。 */
.lp-section--dark .table-scroll:focus-visible { outline-color: #3fd0ba; }

.lp-section--dark .data-table th,
.lp-section--dark .data-table td {
  border-bottom-color: rgba(255, 255, 255, .10);
  color: #e8ecef;
}

.lp-section--dark .data-table thead th {
  background: rgba(255, 255, 255, .05);
  color: #ced5db;
}

.lp-section--dark .data-table tbody th { color: #ced5db; }

.lp-section--dark .data-table .col-best {
  background: rgba(0, 179, 157, .16);
  color: #fff;
}

.lp-section--dark .data-table thead .col-best { color: #3fd0ba; }

.lp-section--dark .figure-card {
  border-color: rgba(255, 255, 255, .14);
}

.lp-section--dark .figure-card figcaption { color: var(--gray); }

.lp-section--dark .press-links { color: #aab3bc; }
.lp-section--dark .press-links a { color: #3fd0ba; }
.lp-section--dark .press-links a:hover { color: #fff; }

/* ----------------------------------------------------------
   FAQ (details/summary アコーディオン)
   ---------------------------------------------------------- */
.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.faq { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--brand-ink);
  transition: transform .25s ease;
}

.faq[open] summary::after { transform: rotate(45deg); }

.faq p {
  max-width: 46em;
  padding: 0 4px 22px;
  font-size: .9375rem;
  color: var(--ink-2);
}

.faq p a {
  color: var(--brand-ink);
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Scroll reveal
   JS (IntersectionObserver) が有効な環境でのみ初期非表示にする。
   JS 無効・IO 非対応・reduced-motion では最初から表示される。
   ---------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* グリッド内は左から順に立ち上げる */
.js .card-grid .reveal:nth-child(2),
.js .stat-grid .reveal:nth-child(2),
.js .steps .reveal:nth-child(2) { transition-delay: .07s; }

.js .card-grid .reveal:nth-child(3),
.js .stat-grid .reveal:nth-child(3),
.js .steps .reveal:nth-child(3) { transition-delay: .14s; }

.js .stat-grid .reveal:nth-child(4),
.js .steps .reveal:nth-child(4) { transition-delay: .21s; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* 速度バーもアニメーションさせず最終幅で静的表示する。
     共通ルールは duration を潰すだけで width: 0 と delay は残るため、
     ここで明示的に上書きする。 */
  .js .speed:not(.is-visible) .speed__bar {
    width: var(--w);
    transition: none;
  }
}
