/* 記事用CSS（/column/article.css）。LPの css/style.css とは独立させ、LPの改修の影響を受けないようにする。
   方針：読み進めやすさ（答えがすぐ拾える・スマホで表が読める・目で追いやすい余白）。JavaScriptは使わない（INPに影響させない） */
:root {
  --c-main: #ffa500;
  --c-main-dark: #e65100;
  --c-main-soft: #fff6e5;
  --c-main-line: #ffd699;
  --c-accent: #41c9d5;
  --c-text: #2b2b2b;
  --c-sub: #6b6b6b;
  --c-line: #e6e6e6;
  --c-bg: #f5f5f5;
  --c-note-bg: #f7f7f7;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  font-feature-settings: "palt" 0;
}
a { color: var(--c-main-dark); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { max-width: 100%; height: auto; vertical-align: middle; }

/* 折り返し：見出しは行の長さをそろえ、本文は最後の行に1〜2文字だけ残らないようにする */
/* 文章は両端揃え（右端をそろえ、行末のガタつきと右の余白をなくす）。見出しは左揃えのまま */
/* 両端揃えはスマホの狭い幅で字間が不ぞろいに広がるので使わない（左揃え） */

/* 読んだ割合の進捗バー（CSSのスクロール連動。対応しないブラウザでは表示されないだけ） */
.a-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--c-main); transform-origin: 0 50%; transform: scaleX(0); z-index: 10; }
@supports (animation-timeline: scroll()) {
  .a-progress { animation: a-progress linear both; animation-timeline: scroll(root); }
  @keyframes a-progress { to { transform: scaleX(1); } }
}
@supports not (animation-timeline: scroll()) { .a-progress { display: none; } }

.a-wrap { max-width: 760px; margin: 0 auto; background: #fff; min-height: 100vh; }

.a-top { background: var(--c-main); padding: 12px 20px; }
.a-top__site { color: #fff; font-weight: 700; text-decoration: none; font-size: 15px; letter-spacing: 0.04em; }

.a-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 20px 0; }  /* パンくずと【PR】を1行にまとめ、上部の余白を詰める（2026-10-15 人間の指摘「上部がスカスカ」） */
.a-crumbs { padding: 0; font-size: 12px; color: var(--c-sub); line-height: 1.6; }
.a-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.a-crumbs li + li::before { content: "›"; margin-right: 4px; }
.a-crumbs a { color: var(--c-sub); }
/* 現在のページ名は H1 と同じなので画面には出さない（構造化データには残す） */
.a-crumbs li[aria-current] { display: none; }

.a-main { padding: 0 20px 40px; }
.a-title { font-size: clamp(20px, 6.2vw, 28px); line-height: 1.45; margin: 6px 0 6px; letter-spacing: 0.01em; }
.a-pr { font-size: 14px; color: var(--c-text); font-weight: 700; margin: 0; line-height: 1.6; white-space: nowrap; }  /* 広告の表示は記事の最上の【PR】だけにする（2026-10-15 人間の指示。リンクごとの注記は出さない）。目立たないと見られないよう本文に近い大きさ・色にする（2026-10-26 人間の承認） */
/* アプリの表の並びが広告の提携順であることを、表の上に1行だけ出す（2026-10-26 人間の承認） */
.a-body .a-order-note { font-size: 13px; color: var(--c-sub); margin: 0 0 6px; line-height: 1.6; }
.a-meta { font-size: 12px; color: var(--c-sub); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 16px; line-height: 1.7; }
.a-meta .a-pr + span, .a-meta p { margin: 0; }
.a-eyecatch { margin: 0 0 24px; }
/* 流れ図は縦に長いので、パソコンでは幅を抑える */
.a-body .a-fig-flow img, .a-body .a-fig-diagram img { display: block; width: 100%; max-width: min(560px, 100%); height: auto; margin: 0 auto; }
.a-eyecatch figure { margin: 0; }
.a-eyecatch img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.a-eyecatch figcaption { font-size: 12px; color: var(--c-sub); margin-top: 4px; }

/* リード＝この記事の結論 */
.a-intro { position: relative; background: var(--c-main-soft); border: 1px solid var(--c-main-line); border-radius: var(--radius); padding: 20px 14px 12px; margin: 8px 0 20px; font-size: 16px; line-height: 1.75; }
.a-intro::before { content: "この記事の結論"; position: absolute; top: -12px; left: 14px; background: var(--c-main-dark); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; letter-spacing: 0.06em; }
.a-intro p { margin: 0 0 8px; }
.a-intro ul { list-style: none; margin: 0 0 8px; padding: 4px 0; border-radius: 8px; background: #fff; }
.a-intro li { margin: 0; padding: 5px 10px; line-height: 1.65; font-size: 15px; text-align: left; }
.a-intro .a-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }  /* ラベルを見出しにしたので「：」は画面に出さない（読み上げには残す） */
.a-intro li strong { display: inline-block; margin: 0 6px 0 0; padding: 0 7px; border-radius: 4px; background: var(--c-main-dark); color: #fff; font-size: 11.5px; line-height: 1.75; letter-spacing: 0.02em; vertical-align: 1px; }  /* ラベルを札にしてアプリ名と同じ行に並べる */
.a-intro p:last-child { margin-bottom: 0; }

/* 目次：大見出しは常に表示、小見出しは「詳しく」で開く（目次は本文ではないので折りたたんでよい） */
.a-toc { border: 1px solid var(--c-line); border-radius: var(--radius); padding: 14px 18px 12px; margin: 0 0 36px; background: #fff; }
.a-toc__title { font-weight: 700; margin: 0 0 6px; font-size: 15px; }
.a-toc ol { margin: 0; padding-left: 1.3em; }
.a-toc > ol > li { margin: 6px 0; line-height: 1.6; font-size: 15px; }
.a-toc a { color: var(--c-text); text-decoration: none; }
.a-toc a:hover { color: var(--c-main-dark); text-decoration: underline; }
.a-toc details { margin: 2px 0 0; }
.a-toc summary { font-size: 12px; color: var(--c-main-dark); cursor: pointer; list-style: none; display: inline-block; }
.a-toc summary::-webkit-details-marker { display: none; }
.a-toc summary::before { content: "＋ "; }
.a-toc details[open] summary::before { content: "－ "; }
.a-toc details ol { padding-left: 1.1em; font-size: 14px; color: var(--c-sub); }
.a-toc details li { margin: 4px 0; line-height: 1.6; }

/* 本文 */
.a-body h2 { position: relative; font-size: 20px; line-height: 1.6; margin: 56px 0 18px; padding: 12px 14px 12px 16px; background: var(--c-main-soft); border-left: 6px solid var(--c-main); border-radius: 0 var(--radius) var(--radius) 0; color: var(--c-text); letter-spacing: 0.01em; }
.a-body h3 { font-size: 17px; line-height: 1.55; margin: 40px 0 14px; padding: 0 0 8px 0; border-bottom: 2px solid var(--c-main-line); }
.a-body h3::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--c-main); border-radius: 2px; margin-right: 8px; transform: translateY(-2px); }
.a-body p { margin: 0 0 1.25em; }
.a-body ul, .a-body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.a-body li { margin: 4px 0; line-height: 1.75; }
.a-body strong { background: linear-gradient(transparent 62%, #ffe2a8 62%); font-weight: 700; }
.a-body blockquote p:last-child { margin-bottom: 0; }
.a-body blockquote { margin: 0 0 22px; padding: 12px 16px; border-left: 4px solid var(--c-line); color: var(--c-sub); background: var(--c-note-bg); border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; }
.a-body figure { margin: 8px 0 28px; }
.a-body figure img { border-radius: var(--radius); border: 1px solid var(--c-line); }
.a-body figcaption, .a-body .a-table-note { font-size: 12.5px; color: var(--c-sub); margin-top: 6px; line-height: 1.7; }

/* この記事の調べ方（リードの直後に置く。最初は閉じておき、最初の画面を答えと目次に使う） */
.a-method { margin: 0 0 24px; padding: 0; background: var(--c-note-bg); border-radius: var(--radius); font-size: 14px; color: #555; line-height: 1.8; }
.a-method__title { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; font-weight: 700; font-size: 13.5px; color: var(--c-sub); letter-spacing: 0.04em; cursor: pointer; list-style: none; }
.a-method__title::-webkit-details-marker { display: none; }
.a-method__title::after { content: "＋"; font-size: 16px; color: var(--c-main-dark); }
.a-method[open] .a-method__title::after { content: "－"; }
.a-method ul { list-style: disc; margin: 0; padding: 0 16px 12px 2.4em; }
.a-method li { margin: 4px 0; line-height: 1.75; }

/* 見出しの直後の答え（見出しの問いへの答えを、斜め読みでも拾えるように） */
.a-answer { position: relative; line-height: 1.7; padding: 10px 14px 10px 42px; background: #fff; border: 1px solid var(--c-main-line); border-radius: var(--radius); font-weight: 500; }
.a-answer::before { content: "A"; position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-main); color: #fff; font-size: 13px; font-weight: 700; line-height: 22px; text-align: center; }

/* 注記（※ や、公式で確認できなかった事項）：本文と区別して控えめに。消さない */
.a-body p.a-note { margin-bottom: 8px; }
.a-body p.a-note + :not(.a-note) { margin-top: 22px; }
.a-src { font-size: 12px; color: var(--c-sub, #777); line-height: 1.6; margin: 6px 0 22px; }  /* 出典・時点は文章から外し、段の終わりに小さく（2026-10-15） */
.a-intro .a-src { margin: 8px 0 0; font-size: 11.5px; }
.a-intro .a-conclusion { font-weight: 700; font-size: 17px; line-height: 1.6; }  /* 結論の1行目は答えそのもの */
.a-note { font-size: 14.5px; color: #555; border-left: 3px solid #d9d9d9; padding: 2px 0 2px 12px; line-height: 1.8; }

/* 表：パソコンは表、スマホはアプリごとのカード */
.a-table-scroll { margin: 0 0 8px; }
@media (min-width: 641px) { .a-table-scroll { overflow-x: auto; } }  /* パソコン幅で列が多い表が本文の枠からはみ出さないように（横スクロール） */
.a-body table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.7; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.a-body th, .a-body td { padding: 10px 12px; vertical-align: top; text-align: left; border-bottom: 1px solid var(--c-line); }
.a-body thead th { background: var(--c-main); color: #fff; font-weight: 700; font-size: 14px; white-space: normal; }  /* 長い列名で表がはみ出したため折り返す（2026-10-27） */
.a-body tbody tr:nth-child(even) td, .a-body tbody tr:nth-child(even) th { background: #fcfcfc; }
.a-body tbody th { background: var(--c-main-soft); font-weight: 700; white-space: nowrap; }
.a-body tbody tr:last-child th, .a-body tbody tr:last-child td { border-bottom: 0; }
.a-body td.is-unknown { color: #9a9a9a; }
.a-cell-note, .a-body td.a-unknowns { display: none; }
.a-body tbody td:first-child { font-weight: 700; white-space: normal; min-width: 6.5em; background: var(--c-main-soft); }  /* 長い名前で表がはみ出したため折り返す（2026-10-27） */
@media (max-width: 640px) {
  .a-body table, .a-body tbody, .a-body tr, .a-body th, .a-body td { display: block; width: 100%; }
  .a-body tbody td:first-child, .a-body tbody th { white-space: normal; overflow-wrap: anywhere; }  /* カードの見出しが右端で切れないように（2026-10-13 最終読者の指摘） */
  .a-body table { border: 0; border-radius: 0; overflow: visible; font-size: 15px; }
  .a-body thead { display: none; }
  .a-body tbody tr { border: 1px solid var(--c-line); border-radius: var(--radius); margin: 0 0 12px; overflow: hidden; background: #fff; }
  .a-body tbody tr:nth-child(even) td { background: #fff; }
  .a-body tbody th { background: var(--c-main); color: #fff; font-size: 16px; padding: 10px 14px; border: 0; }
  /* 各行は「列名｜内容」の2列にして、カードを短くする */
  .a-body td, .a-body tbody tr:last-child td { display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; border-bottom: 1px dashed var(--c-line); padding: 7px 14px; line-height: 1.65; font-size: 14.5px; }
  .a-body tbody tr td.is-unknown { display: none; }
  .a-body tbody tr td.a-unknowns { display: block; font-size: 12.5px; color: #8a8a8a; background: #fafafa; padding: 6px 14px; }
  .a-body tbody tr td:last-child { border-bottom: 0; }
  .a-body td[data-label]::before { content: attr(data-label); font-size: 12px; font-weight: 700; color: var(--c-main-dark); line-height: 1.6; padding-top: 3px; letter-spacing: 0.02em; }
  /* 1列目（アプリ名）はカードの見出しにする */
  .a-body tbody td:first-child, .a-body tbody tr:nth-child(even) td:first-child, .a-body tbody tr:last-child td:first-child { display: block; background: var(--c-main); color: #fff; font-size: 15.5px; padding: 7px 14px; border: 0; }
  .a-body tbody td:first-child::before { display: none; }
  /* ※の注記をセルのすぐ下にも出す（カードでは表の下の注記まで遠いため） */
  .a-cell-note { display: block; margin-top: 6px; padding-left: 8px; border-left: 2px solid #d9d9d9; font-size: 13px; line-height: 1.7; color: #555; font-weight: 400; }
}

.a-faq { margin: 56px 0 0; }
.a-faq h2 { font-size: 20px; margin: 0 0 18px; padding: 14px 16px 14px 20px; background: var(--c-main-soft); border-left: 6px solid var(--c-main); border-radius: 0 var(--radius) var(--radius) 0; }
.a-faq__item { margin: 10px 0 0; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.a-faq__item summary { position: relative; display: block; padding: 14px 40px 14px 46px; font-weight: 700; line-height: 1.65; cursor: pointer; list-style: none; }
.a-faq__item summary::-webkit-details-marker { display: none; }
.a-faq__item summary::before { content: "Q"; position: absolute; left: 12px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-main-dark); color: #fff; font-size: 13px; line-height: 24px; text-align: center; }
.a-faq__item summary::after { content: "＋"; position: absolute; right: 14px; top: 13px; font-size: 18px; color: var(--c-main-dark); font-weight: 400; }
.a-faq__item[open] summary::after { content: "－"; }
.a-faq__item[open] summary { background: var(--c-main-soft); }
.a-faq__a { padding: 12px 16px 4px; }
.a-faq__a p { margin: 0 0 10px; }

.a-note-box { margin: 40px 0 0; padding: 14px 18px; background: var(--c-note-bg); border-radius: var(--radius); font-size: 14px; color: var(--c-sub); }
.a-note-box p { margin: 0; }

/* アプリのアイコン */
.a-app-icon { display: block; width: 40px; height: 40px; border-radius: 10px; margin: 0 0 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
@media (max-width: 640px) {
  /* カードの見出し：アイコンとアプリ名を横に並べる */
  .a-body tbody td:first-child .a-app-icon-link { display: inline-block; margin: 0; vertical-align: middle; }
  .a-body tbody td:first-child .a-app-icon { display: inline-block; width: 44px; height: 44px; vertical-align: middle; margin: 0 10px 0 0; border: 2px solid #fff; }
}

/* アプリを選ぶときの違い（図を HTML で組んだもの） */
.a-guide { margin: 8px 0 28px; padding: 14px 14px 10px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; }
.a-guide__title { margin: 0 0 4px; font-weight: 700; font-size: 16px; }
.a-guide__top { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--c-main-dark); letter-spacing: 0.04em; }
.a-guide__list { list-style: none; margin: 0; padding: 0; }
.a-guide__row { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; padding: 8px 10px; background: var(--c-main-soft); border-radius: 8px; line-height: 1.5; font-size: 14px; }
.a-guide__icon { flex: none; width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.a-guide__item { display: inline-flex; align-items: center; gap: 4px; margin: 2px 10px 2px 0; white-space: nowrap; }
.a-guide__mini { width: 20px; height: 20px; border-radius: 5px; box-shadow: 0 1px 2px rgba(0,0,0,0.12); }
.a-guide__text { min-width: 0; }
.a-guide__text b { display: block; font-size: 13px; }
.a-guide__text { overflow-wrap: anywhere; }
.a-body .a-guide__title { margin: 0 0 2px; }
.a-body .a-guide__top { margin: 14px 0 6px; }
.a-body .a-guide__list { margin: 0; padding: 0; }
.a-body .a-guide__row { margin: 0 0 6px; line-height: 1.5; }
.a-body .a-guide__note { margin: 8px 0 0; }
.a-nw { white-space: nowrap; }  /* アプリ名・短いリンクを途中で改行しない */
.a-guide__note, .a-guide figcaption { margin: 8px 0 0; font-size: 12px; color: var(--c-sub); line-height: 1.6; }

/* アイコンのリンク（インストール導線と同じ広告リンク） */
.a-app-icon-link { display: block; width: max-content; line-height: 0; margin: 0 0 6px; }
.a-app-icon-link .a-app-icon { margin: 0; }
.a-app-icon-link:hover .a-app-icon { opacity: 0.85; }

/* アプリのインストール導線（広告リンク） */
.a-app-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 12px; background: linear-gradient(180deg, #ff8a1f 0%, #e65100 100%); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; box-shadow: 0 3px 0 #b33f00, 0 4px 10px rgba(230,81,0,0.25); }
.a-app-btn:hover { filter: brightness(1.05); }
.a-app-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b33f00; }
.a-app-btn__icon { width: 28px; height: 28px; border-radius: 7px; background: #fff; }
.a-app-btn__label { flex: 1; }
.a-app-btn__arrow { font-size: 20px; line-height: 1; opacity: 0.9; }
.a-body .a-pr-note { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 8px; background: #fff; }
.a-body td.a-app-cell { vertical-align: middle; white-space: nowrap; width: 1%; }
/* 1つのアプリの記事のインストールの枠（<!--INSTALL:アプリ名-->）。スマホで親指で押せる幅いっぱいのボタン */
.a-install { margin: 20px 0 24px; padding: 12px; border: 1px solid var(--c-line); border-radius: 12px; background: #fff8f1; }
.a-body .a-install__note { margin: 0 0 8px; font-size: 14px; color: var(--c-text, #333); }
.a-install__btn { display: flex; width: 100%; box-sizing: border-box; padding: 12px 14px 12px 10px; font-size: 16px; }
.a-install__btn .a-app-btn__icon { width: 36px; height: 36px; }
/* 結論の枠の中のボタン（最初の画面で押せるように。2026-10-14）。枠の中なので余白を詰め、注記は小さめ */
.a-intro .a-install { margin: 10px 0 12px; padding: 10px; background: #fff; }
.a-intro .a-install__note, .a-install-row .a-install__note { margin: 0 0 6px; font-size: 12.5px; line-height: 1.5; color: var(--c-sub, #666); }
.a-install-row { margin: 10px 0 0; padding: 10px; border-radius: 10px; background: #fff; }
.a-install-row__btns { display: flex; gap: 6px; }
.a-install-row__btn { flex: 1 1 0; min-width: 0; justify-content: center; gap: 5px; padding: 9px 6px; font-size: clamp(12px, 3.6vw, 15px); }
.a-install-row__btn .a-app-btn__icon { width: 26px; height: 26px; flex: none; }
.a-install-row__btn .a-app-btn__label { flex: none; overflow: hidden; text-overflow: ellipsis; }

/* 公式ストアへのリンク（広告ではない）：枠線のボタン */
.a-app-cell--store { white-space: nowrap; }
.a-store-btn { display: inline-flex; align-items: center; justify-content: center; margin: 2px 4px 2px 0; padding: 6px 12px; border: 1.5px solid var(--c-main-dark); border-radius: 10px; background: #fff; color: var(--c-main-dark); font-size: 13px; font-weight: 700; text-decoration: none; }
.a-store-btn:hover { background: var(--c-main-soft); }

/* 目次へ戻る（小さく。広告・ポップアップに見えない控えめな見た目） */
.a-totop { position: fixed; right: 4px; bottom: 12px; z-index: 5; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--c-main-dark); background: rgba(255, 255, 255, 0.9); border: 1px solid var(--c-main-line); border-radius: 50%; text-decoration: none; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }

@supports (animation-timeline: scroll()) {
  .a-totop { animation: a-totop linear both; animation-timeline: scroll(root); animation-range: 0 1600px; }
  @keyframes a-totop { 0%, 95% { opacity: 0; visibility: hidden; } 100% { opacity: 1; visibility: visible; } }
}

.a-related { margin: 40px 0 0; }
.a-related h2 { font-size: 18px; margin: 0 0 8px; }

.a-footer { background: var(--c-main); text-align: center; padding: 28px 16px 72px; margin-top: 40px; }
.a-footer__nav { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.a-footer__nav a { color: #fff; font-size: 13px; }
.a-footer__copy { margin: 0; color: #fff; font-size: 11px; }

@media (min-width: 641px) {
  /* パソコンの表の中では、ボタンを列の幅に収める */
  .a-body td.a-app-cell .a-app-btn { font-size: 13px; padding: 6px 12px 6px 6px; gap: 6px; }
  .a-body td.a-app-cell .a-app-btn__icon { width: 24px; height: 24px; }
  .a-body td.a-app-cell .a-app-btn__arrow { display: none; }
  .a-body td.a-app-cell .a-store-btn { font-size: 12px; padding: 5px 10px; }
  /* 列が多い表で右端がはみ出してボタンの文字が切れたため（2026-10-27）、ボタンの文字は折り返し、ストアの2つは縦に積む */
  .a-body td.a-app-cell { white-space: normal; width: 10.5em; }
  .a-body td.a-app-cell .a-app-btn__icon { display: none; }  /* アイコンは1列目に出ているので、ボタンでは省いて1〜2行に収める */
  .a-body td.a-app-cell .a-app-btn { padding: 7px 10px; font-size: 12.5px; }
  .a-body td.a-app-cell .a-app-btn { white-space: normal; line-height: 1.3; }
  .a-body td.a-app-cell--store .a-store-btn { display: flex; margin: 2px 0 4px; white-space: nowrap; }
}

@media (min-width: 760px) {
  .a-body .a-fig-flow img, .a-body .a-fig-diagram img { max-width: 440px; }
  .a-footer { padding-bottom: 32px; }
  body { font-size: 17px; }
  .a-main { padding: 0 44px 56px; }
  .a-title { font-size: 28px; }
  .a-body h2, .a-faq h2 { font-size: 22px; }
  .a-body h3 { font-size: 19px; }
}

/* スマホでは「目次へ戻る」が本文の行末に重なるので出さない（.a-totop の規則より後ろに置く） */
@media (max-width: 640px) {
  .a-totop { display: none; }
  .a-body p.a-note--dup { display: none; }
  .a-body tbody tr td.a-app-cell { display: block; width: 100%; padding: 8px 14px 12px; text-align: center; border-bottom: 0; }
  .a-body tbody tr td.a-app-cell:empty { display: none; }
  .a-body tbody tr td.a-app-cell--store { display: flex; gap: 8px; }
  .a-body tbody tr td.a-app-cell--store .a-store-btn { flex: 1; margin: 0; padding: 10px 8px; font-size: 14px; }
  .a-body tbody tr td.a-app-cell .a-app-btn { display: flex; width: 100%; padding: 10px 12px 10px 10px; font-size: clamp(13px, 4vw, 16px); white-space: nowrap; line-height: 1.35; text-align: left; }
  .a-body tbody tr td.a-app-cell .a-app-btn__icon { width: 34px; height: 34px; }  /* 同じ注記がカードの中に出ているので、表の下では重ねない */
}

/* ===== 読み進めやすさ（2026-10-06）===== */
/* 大見出しに番号を振り、いま全体のどこを読んでいるかを分かるようにする */
.a-body { counter-reset: sec; }
.a-body h2 { counter-increment: sec; padding-left: 58px; min-height: 58px; }
.a-body h2::before { content: counter(sec, decimal-leading-zero); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--c-main); color: #fff; font-size: 14px; font-weight: 700; line-height: 34px; text-align: center; letter-spacing: 0; }
/* 箇条書き：点を目立たせ、項目の間を空けて1つずつ読めるようにする */
.a-body ul { list-style: none; padding-left: 0; }
.a-body ul > li { position: relative; margin: 0 0 10px; padding-left: 1.3em; line-height: 1.75; }
.a-body ul > li::before { content: ""; position: absolute; left: 0.25em; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-main); }
.a-body ol > li { margin: 0 0 10px; padding-left: 0.2em; }
.a-body ol > li::marker { color: var(--c-main-dark); font-weight: 700; }
.a-li-label { display: block; color: var(--c-text); font-weight: 700; }
.a-li-sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a-body p { margin: 0 0 1.35em; }
.a-body p a, .a-body li a { font-weight: 700; }
/* 目次：押しやすい行の高さにする */
.a-toc > ol > li { margin: 0; padding: 9px 0; border-bottom: 1px dashed var(--c-line); }
.a-toc > ol > li:last-child { border-bottom: 0; }
.a-toc > ol > li::marker { color: var(--c-main-dark); font-weight: 700; }
/* 答えの囲み：見出しの直後に、色の面で目に入るようにする */
.a-answer { background: #fffaf0; border-width: 1.5px; }
/* 次に読む記事（記事の最後） */
.a-next { margin: 48px 0 0; }
.a-next__title { margin: 0 0 12px; font-size: 18px; line-height: 1.5; padding-left: 12px; border-left: 5px solid var(--c-main); }
.a-next__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.a-next__item a { position: relative; display: block; padding: 14px 40px 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; color: var(--c-text); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.55; }
.a-next__item a::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--c-main-dark); font-size: 22px; line-height: 1; }
.a-next__item a:hover { border-color: var(--c-main); background: var(--c-main-soft); }
/* コラム一覧 */
.a-main > .a-related { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 10px; }
.a-main > .a-related li a { display: block; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--radius); color: var(--c-text); text-decoration: none; font-weight: 700; line-height: 1.55; }
@media (min-width: 760px) { .a-next__list { grid-template-columns: 1fr 1fr; } }
/* 短い数値だけの表（a-table--grid）は、スマホでもカードにせず、表のまま1画面に収める（2026-10-15） */
@media (max-width: 640px) {
  .a-body table.a-table--grid { display: table; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
  .a-body table.a-table--grid thead { display: table-header-group; position: static; width: auto; height: auto; clip: auto; overflow: visible; }
  .a-body table.a-table--grid tbody { display: table-row-group; }
  .a-body table.a-table--grid tr { display: table-row; border: 0; margin: 0; }
  .a-body table.a-table--grid th, .a-body table.a-table--grid td, .a-body table.a-table--grid tbody tr:last-child td { display: table-cell; width: auto; padding: 6px 8px; text-align: right; font-size: 14px; border-bottom: 1px solid var(--c-line); background: #fff; color: inherit; }
  .a-body table.a-table--grid { width: 100%; }
  .a-body table.a-table--grid th { font-size: 11.5px; line-height: 1.4; white-space: normal; background: var(--c-main-soft); text-align: right; }
  .a-body table.a-table--grid th, .a-body table.a-table--grid td { padding-left: 6px; padding-right: 6px; }
  .a-body table.a-table--grid th:first-child, .a-body table.a-table--grid tbody td:first-child, .a-body table.a-table--grid tbody tr:nth-child(even) td:first-child, .a-body table.a-table--grid tbody tr:last-child td:first-child { display: table-cell; text-align: left; background: var(--c-main-soft); color: inherit; font-size: 14px; padding: 6px 8px; }
  .a-body table.a-table--grid tbody tr:nth-child(even) td:not(:first-child) { background: #fcfcfc; }
  .a-body table.a-table--grid td[data-label]::before { display: none; }
}
