@charset "utf-8";
/* MIROCANA ECノート — ブログ固有のスタイル。
   色・字・余白は site.css の :root トークンをそのまま使う（独自の色を足さない）。
   守ること: 本文・補助文とも16px(1rem)未満を作らない／動きを足さない／横スクロールを出さない。 */

.blog-main{ padding-block:24px 96px; background:var(--color-bg); }
.blog .container{ max-width:1200px; margin-inline:auto; padding-inline:var(--gutter); }

/* ---- パンくず ---- */
.crumbs{ margin-bottom:20px; }
.crumbs ol{ display:flex; flex-wrap:wrap; gap:4px 0; margin:0; padding:0; list-style:none; font-size:1rem; color:var(--color-ink-muted); }
.crumbs li + li::before{ content:"›"; margin-inline:10px; color:var(--color-ink-muted); }
.crumbs a{ color:var(--color-ink-muted); }
.crumbs li[aria-current]{ overflow-wrap:anywhere; }
/* スマホ幅だけ：現在のページ（記事タイトル）は1行に収めて、あふれた分は「…」にする（全文は直下の見出し h1 に出る）。
   基準幅 8em を割る狭さのときだけ次の行へ回る＝375px幅のパンくずは2行・63px（旧：長いタイトルは3行・126px）。
   結論をスマホの1画面目に入れる基準（blog-article-standard §3）のための変更。PC・タブレット幅は従来どおり折り返す。 */
@media (max-width:719.98px){
  .crumbs li[aria-current]{ flex:1 1 8em; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
}

/* ---- 記事レイアウト（PC：本文＋右に目次） ---- */
.post-layout{ display:block; }
.post{ max-width:720px; margin-inline:auto; min-width:0; }
.toc-aside, .toc-col{ display:none; }
@media (min-width:1080px){
  .post-layout{ display:grid; grid-template-columns:minmax(0,720px) 248px; gap:48px; justify-content:center; align-items:start; }
  .post{ margin-inline:0; }
  .toc-col{ display:block; position:sticky; top:calc(var(--header-h) + 24px); }
  .toc-aside{ display:block; }
  .toc-inline{ display:none; }
}
/* 画面に余裕がある幅（1240px以上）では、目次の列を少し広げる（長い題の折り返しを2行に収める）。
   2026-11-15 tomo「PCの目次が大きくて圧迫感がある・目線が動かしづらい」→ 列 320→272px、本文との間 56→40px（目次を本文に近づけて目線の移動を短く） */
@media (min-width:1240px){
  .post-layout{ grid-template-columns:minmax(0,720px) 272px; gap:40px; }
}

/* ---- 記事の頭 ---- */
.post-head{ margin-bottom:28px; }
.post-cat{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 12px; font-size:1rem; }
.post-cat a{ color:var(--color-brand); font-weight:700; text-decoration:none; }
.post-head h1{ font-size:var(--fs-h1-sub); line-height:1.5; }
.post-meta{ display:flex; flex-wrap:wrap; gap:4px 20px; margin:16px 0 0; font-size:1rem; color:var(--color-ink-muted); }
.badge{ display:inline-block; padding:0 10px; border-radius:999px; font-size:1rem; line-height:1.7; font-weight:700; background:var(--color-tint); color:var(--color-brand-hover); }
.badge-intermediate{ background:#EFEAC4; color:#4D4A12; }
.badge-advanced{ background:#E6E2DA; color:var(--color-ink); }

/* ---- 冒頭の結論・確認方法 ---- */
.answer{ margin:0 0 24px; padding:20px 22px; background:var(--color-tint); border-left:6px solid var(--color-brand); border-radius:0 var(--radius-s) var(--radius-s) 0; }
.answer h2{ font-size:1.125rem; margin:0 0 8px; color:var(--color-brand-hover); }
.answer p{ margin:0; font-weight:500; }
/* 記事のトップ画像（結論の直後・16:9）。PCは本文幅内で最大640px。スマホは高さを画面高の28%までにして、そのぶん幅も縮める（縦につぶさない）。
   寸法は width/height と aspect-ratio で先に確保（読み込みで位置がずれない）。背景の淡青は読み込み中の色 */
.hero{ margin:0 0 24px; }
.hero img{ display:block; width:min(100%, 640px); height:auto; aspect-ratio:16 / 9; margin-inline:auto; border-radius:var(--radius-s); background:#BFD7F2; }
@media (max-width:699px){
  .hero img{ width:min(100%, calc(28vh * 16 / 9)); width:min(100%, calc(28svh * 16 / 9)); }
}
.verify{ margin:0 0 24px; padding:16px 20px; background:var(--color-surface); border:1px solid var(--color-line); border-radius:var(--radius-s); }
.verify h2{ font-size:1rem; margin:0 0 6px; }
.verify ul{ margin:0 0 6px; padding-left:1.2em; list-style:disc; }
.verify p{ margin:0; color:var(--color-ink-muted); }
.verify-stale{ margin-top:10px !important; color:var(--color-error) !important; font-weight:700; }

/* ---- 目次 ----
   大見出し（H2）と小見出し（H3）の差は、字の大きさ（スマホ・タブレットはどちらも16px以上。16px未満にしない決まり）ではなく、
   「太さ・色・印・字下げ・縦の線」で作る（上位ブログの型。観察メモ＝drafts/2026-11-14-blog-readability/）。
   例外＝PCの右の目次だけは tomo の指示（2026-11-15）で 15px／14px（下の「PCの右の目次だけ小さく・静かにする」）。本文・表・スマホの目次は16px以上のまま。
   左に縦の線（レール）を通し、H2＝太字・濃い色・大きい丸い印、H3＝細字・補助色・字下げ・小さい中抜きの印。
   PC＝右の固定列／スマホ・タブレット＝本文の頭に、閉じた状態の <details>（長い目次を全部開いたまま出さない）。 */
.toc{ margin:0 0 32px; }
.toc-title{ margin:0; font-weight:700; }
.toc-list, .toc-sub{ margin:0; padding:0; list-style:none; }
/* 縦の線（レール）は、リストの左の余白（7px）に背景で引く（印がはみ出しても、スクロールの枠で切れないように） */
.toc{ --toc-rail:#BEC4BF; }
@supports (color:color-mix(in srgb, red, blue)){ .toc{ --toc-rail:color-mix(in srgb, var(--color-field-line) 35%, var(--color-line)); } }
.toc-list{ padding-left:7px; background:linear-gradient(var(--toc-rail), var(--toc-rail)) 6px 0 / 2px 100% no-repeat local; }
.toc-sub{ margin-bottom:4px; }
.toc a{ display:block; position:relative; padding:6px 10px 6px 31px; color:var(--color-ink-muted); text-decoration:none; line-height:1.5; overflow-wrap:anywhere; }
.toc a:hover{ color:var(--color-brand); text-decoration:underline; }
.toc a:focus-visible{ outline:3px solid var(--color-focus); outline-offset:-3px; }
.toc a::before{ content:""; position:absolute; left:-5px; top:calc(6px + .75em - 5px); width:10px; height:10px; box-sizing:border-box; border-radius:50%; background:var(--color-bg); border:2px solid var(--color-field-line); }
.toc-l2 > a{ padding:7px 10px 7px 20px; color:var(--color-ink); font-weight:700; }
.toc-l2 > a::before{ left:-6px; top:calc(7px + .75em - 6px); width:12px; height:12px; background:var(--color-brand); border:0; }
/* PC：右の固定列。高さが画面を超えるときは目次の中だけスクロール（「目次」の字は上に残す） */
.toc-aside{ margin:0; max-height:calc(100vh - var(--header-h) - 48px); max-height:calc(100dvh - var(--header-h) - 48px); overflow:auto; overscroll-behavior:contain; padding:0 4px 12px 0; }
.toc-aside > .toc-title{ position:sticky; top:0; z-index:1; margin:0 0 6px; padding:0 0 10px; background:var(--color-bg); color:var(--color-ink-muted); font-size:1rem; letter-spacing:.12em; }
/* スマホ・タブレット：閉じた <details>。押すと開く（JavaScriptなし・動きなし） */
.toc-inline{ background:var(--color-surface); border:1px solid var(--color-line); border-radius:var(--radius-s); }
.toc-fold > summary{ display:flex; align-items:center; gap:10px; min-height:56px; padding:10px 16px; list-style:none; cursor:pointer; }
.toc-fold > summary::-webkit-details-marker{ display:none; }
.toc-fold > summary:focus-visible{ outline:3px solid var(--color-focus); outline-offset:-3px; border-radius:var(--radius-s); }
.toc-fold > summary::after{ content:""; flex:none; width:10px; height:10px; margin:-4px 4px 0 0; border-right:2px solid var(--color-brand); border-bottom:2px solid var(--color-brand); transform:rotate(45deg); }
.toc-fold[open] > summary::after{ margin-top:4px; transform:rotate(-135deg); }
.toc-inline .toc-title{ font-size:1.125rem; }
.toc-count{ color:var(--color-ink-muted); }
.toc-act{ margin-left:auto; color:var(--color-brand); font-weight:700; }
.toc-fold:not([open]) .toc-act-close, .toc-fold[open] .toc-act-open{ display:none; }
.toc-fold .toc-list{ max-height:min(60vh, 560px); max-height:min(60svh, 560px); overflow:auto; overscroll-behavior:contain; margin:2px 12px 14px 16px; padding-bottom:28px; -webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image:linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
/* 今読んでいる項目（CSSだけ）。対応しているブラウザだけに効き、対応外では出ないだけで目次は同じに働く（Chrome 140以降）。
   PCの目次は、今読んでいる章の小見出しだけを開き、ほかの章の小見出しは閉じる（最大33項目の目次を、画面に収める）。 */
@supports (scroll-target-group:auto) and selector(:target-current) and selector(:has(a)){
  .toc-list{ scroll-target-group:auto; }
  .toc-aside .toc-l2:not(:has(:target-current)) > .toc-sub{ display:none; }
  .toc a:target-current{ background:var(--color-tint); color:var(--color-brand-hover); font-weight:700; border-radius:0 6px 6px 0; }
  .toc a:target-current::before{ background:var(--color-brand); border:0; width:12px; height:12px; left:-6px; top:calc(6px + .75em - 6px); }
  .toc .toc-l2 > a:target-current::before{ top:calc(7px + .75em - 6px); }
}
/* PCの右の目次だけ小さく・静かにする（2026-11-15 tomo「少し大きくて圧迫感」「目線が動かしづらい」）。
   ・字：大見出し15px／小見出し14px（スマホ・タブレットの目次は16px のまま）。補助の案内なので本文より一段下げる。
   ・大見出しの太さを700→600、丸い印を12→10px、小見出しの印を10→8px、行の上下の余白を小さく＝全部が濃く太く並ぶ圧を減らす。
   ・「今の位置」の地色は残す（目線の目印はここだけにする）。 */
@media (min-width:1080px){
  .toc-aside > .toc-title{ font-size:.875rem; letter-spacing:.1em; padding-bottom:8px; }
  .toc-aside a{ font-size:.875rem; line-height:1.5; padding:5px 8px 5px 27px; word-break:auto-phrase; text-wrap:pretty; }
  .toc-aside a::before{ left:-4px; top:calc(5px + .75em - 4px); width:8px; height:8px; }
  .toc-aside .toc-l2 > a{ font-size:.9375rem; font-weight:600; padding:6px 8px 6px 16px; }
  .toc-aside .toc-l2 > a::before{ left:-5px; top:calc(6px + .75em - 5px); width:10px; height:10px; }
}
@supports (scroll-target-group:auto) and selector(:target-current) and selector(:has(a)){
  @media (min-width:1080px){
    .toc-aside a:target-current{ font-weight:600; }
    .toc-aside a:target-current::before{ left:-5px; top:calc(5px + .75em - 5px); width:10px; height:10px; }
    .toc-aside .toc-l2 > a:target-current::before{ top:calc(6px + .75em - 5px); }
  }
}

/* ---- 本文 ---- */
.post-body > * + *{ margin-top:1.2em; }
.post-body h2{ margin-top:2.4em; padding-top:.9em; border-top:3px solid var(--color-brand); font-size:var(--fs-h2); }
.post-body h3{ margin-top:2em; font-size:var(--fs-h3); padding-left:.7em; border-left:5px solid var(--color-mark); }
.post-body h4{ margin-top:1.6em; font-size:1.125rem; }
/* 箇条書き・番号つき手順。印をブランドの緑にして本文と区別し、項目の間を空ける（上位ブログ：印に色・間隔8〜12px・行間28〜29px）。
   番号は太字の緑（標準の番号のまま＝ start 属性の続き番号も効く）。手順の中の入れ子（「結果：…」）は、左の線でまとめて親と区別する。 */
.post-body{ --list-line:#A9C9BF; }
@supports (color:color-mix(in srgb, red, blue)){ .post-body{ --list-line:color-mix(in srgb, var(--color-brand) 35%, var(--color-surface)); } }
.post-body ul, .post-body ol{ padding-left:1.6em; }
.post-body ul{ list-style:disc; }
.post-body ol{ list-style:decimal; }
.post-body li{ line-height:1.7; }
.post-body li + li{ margin-top:.5em; }
.post-body li::marker{ color:var(--color-brand); }
.post-body ul > li::marker{ font-size:1.1em; }
.post-body ol > li::marker{ font-weight:700; }
.post-body li > ul, .post-body li > ol{ margin-top:.55em; padding-left:1.4em; border-left:3px solid var(--list-line); }
.post-body li > ul > li::marker, .post-body li > ol > li::marker{ color:var(--color-field-line); }
.post-body a{ overflow-wrap:anywhere; }
.post-body code{ padding:.1em .4em; border-radius:4px; background:#E9E6DC; font-size:1rem; overflow-wrap:anywhere; }
.post-body pre{ margin:0; padding:16px; overflow-x:auto; background:#232A27; color:#F3F1EA; border-radius:var(--radius-s); line-height:1.7; }
.post-body pre code{ padding:0; background:none; color:inherit; overflow-wrap:normal; }
.post-body blockquote{ margin-inline:0; padding:.2em 1.2em; border-left:4px solid var(--color-line); color:var(--color-ink-muted); }
.post-body hr{ border:0; border-top:1px solid var(--color-line); }
.cite a{ text-decoration:none; padding:0 .15em; font-weight:700; }

/* 表。見出し行を濃い緑に白字、左端の列（項目名）を淡い緑＋太字、罫線は縦横に引く（上位ブログの型）。
   セルの字は16px・行間1.6（本文17px・行間1.85より少し詰める）。線は「線」と「強い線」の中間まで濃くする（地との差 約2倍。以前は1.3倍で薄かった）。
   列数のクラス（t-c2〜t-c6）と数字の列（.num）は md.mjs が付ける。
   スマホ：2列の表は画面に収める（横スクロールなし）。3列以上は表の中だけ横スクロールにし、左端の列を固定して項目が見え続けるようにする。 */
.table-wrap{ --tbl-line:#AFB5AF; overflow-x:auto; border:1px solid var(--tbl-line); border-radius:var(--radius-s); background:var(--color-surface); }
@supports (color:color-mix(in srgb, red, blue)){ .table-wrap{ --tbl-line:color-mix(in srgb, var(--color-field-line) 45%, var(--color-line)); } }
.table-wrap:focus-visible{ outline:3px solid var(--color-focus); outline-offset:2px; }
.table-wrap table{ width:100%; border-collapse:separate; border-spacing:0; font-size:1rem; line-height:1.6; }
.table-wrap th, .table-wrap td{ padding:10px 14px; text-align:left; vertical-align:top; border-right:1px solid var(--tbl-line); border-bottom:1px solid var(--tbl-line); overflow-wrap:break-word; }
.table-wrap tr > :last-child{ border-right:0; }
.table-wrap tbody tr:last-child > *{ border-bottom:0; }
.table-wrap thead th{ background:var(--color-brand); color:var(--color-on-brand); font-weight:700; border-right-color:rgba(255,253,248,.38); border-bottom:0; }
.table-wrap tbody th{ background:var(--color-tint); color:var(--color-ink); font-weight:700; }
.table-wrap .num{ text-align:right; font-variant-numeric:tabular-nums; }
/* 表の中の出典番号：消さずに、静かにする（太字をやめて補助色・行の高さに影響させない）。上付きの大きさは本文と同じ（ブラウザの標準＝約83%。これまでも16px未満の例外） */
.table-wrap .cite{ line-height:0; }
.table-wrap .cite a{ font-weight:500; color:var(--color-ink-muted); }
.table-wrap thead .cite a{ color:inherit; }
/* 3列以上：文の長い列に押されて、短い語の列が2〜3字の幅に潰れないよう、2列目以降の最小の幅を決める */
.table-wrap table:not(.t-c2) :is(td, thead th:not(:first-child)){ min-width:8em; }
.t-c2{ table-layout:fixed; }
.t-c2 thead th:first-child, .t-c2 tbody th{ width:36%; }
.t-c3 thead th:first-child, .t-c3 tbody th, .t-c4 thead th:first-child, .t-c4 tbody th,
.t-c5 thead th:first-child, .t-c5 tbody th, .t-c6 thead th:first-child, .t-c6 tbody th{ width:9em; position:sticky; left:0; z-index:1; }
.t-c3 thead th:first-child, .t-c4 thead th:first-child, .t-c5 thead th:first-child, .t-c6 thead th:first-child{ z-index:2; }
@media (max-width:719.98px){
  .t-c2 thead th:first-child, .t-c2 tbody th{ width:40%; }
  /* スマホの横スクロールの表では、数字を左揃えにする（右揃えだと、列の右端＝画面の外に数字が隠れて見える） */
  .table-wrap .num{ text-align:left; }
  .t-c3{ min-width:600px; } .t-c4{ min-width:720px; } .t-c5{ min-width:820px; } .t-c6{ min-width:940px; }
  .t-c3 tbody th, .t-c4 tbody th, .t-c5 tbody th, .t-c6 tbody th, .t-c3 thead th:first-child, .t-c4 thead th:first-child, .t-c5 thead th:first-child, .t-c6 thead th:first-child{ box-shadow:6px 0 8px -6px rgba(35,42,39,.35); }
  /* 文の多い3列以上の表（.t-prose＝md.mjs が判定）は、スマホでは1行ごとのカードに積む。横スクロールなし・各セルの読む幅を確保。
     見出し行は見た目だけ隠し（読み上げには残る）、各セルの上に見出しの語（data-label）を出す。数字・短い語の表は、上の横スクロール（左端の列を固定）のまま。 */
  .t-prose, .t-prose tbody, .t-prose tr, .t-prose td{ display:block; min-width:0; width:auto; }
  .t-prose thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
  .t-prose tbody th{ display:block; width:auto; position:static; box-shadow:none; border:0; padding:10px 14px; }
  .t-prose tbody tr{ border-bottom:1px solid var(--tbl-line); }
  .t-prose tbody tr:last-child{ border-bottom:0; }
  .t-prose td{ border:0; padding:10px 14px 12px; }
  .t-prose td + td{ padding-top:0; }
  .t-prose td::before{ content:attr(data-label); display:block; margin-bottom:2px; color:var(--color-brand-hover); font-size:1rem; font-weight:700; }
  /* 横スクロールする表（数字・短い語の表）の下に、動かせるという一言を出す（左に固定して、動かしても見え続ける）。右の列が切れて見えるだけでは気づきにくいため */
  .table-wrap[role="region"]::after{ content:"横にスクロールできます →"; display:block; position:sticky; left:0; width:max-content; max-width:100%; padding:8px 14px 10px; border-top:0; color:var(--color-ink-muted); font-size:1rem; line-height:1.5; }
}

/* ---- 囲み ---- */
.callout{ padding:16px 20px; border-radius:var(--radius-s); border-left:6px solid var(--color-brand); background:var(--color-tint); }
.callout > * + *{ margin-top:.7em; }
.callout-title{ margin:0; font-weight:700; }
.callout-tip{ background:#F5F3D2; border-left-color:#8A8412; }
.callout-warn{ background:#FBEEE2; border-left-color:#B5541C; }
.callout-stop{ background:#FBE9E7; border-left-color:var(--color-error); }

/* ---- 画面写真 ---- */
.shot{ margin:1.6em 0; }
.shot img{ width:100%; height:auto; border:1px solid var(--color-line); border-radius:var(--radius-s); background:#fff; }
.shot figcaption{ margin-top:8px; font-size:1rem; color:var(--color-ink-muted); }
.shot-box{ padding:28px 20px; border:2px dashed var(--color-field-line); border-radius:var(--radius-s); background:var(--color-surface); color:var(--color-ink-muted); text-align:center; }

/* ---- FAQ・出典・免責・関連・相談 ---- */
.faq dl{ margin:0; }
.faq dt{ margin-top:1.2em; font-weight:700; }
.faq dd{ margin:.4em 0 0; }
.sources ol{ padding-left:1.5em; list-style:decimal; }
.sources li{ margin-top:.5em; overflow-wrap:anywhere; }
.src-meta{ color:var(--color-ink-muted); }
.post > section, .post > aside{ margin-top:48px; }
.post > section > h2, .blog-cta h2{ font-size:var(--fs-h3); margin:0 0 .6em; }
.disclaimer{ padding:16px 20px; border:1px solid var(--color-line); border-radius:var(--radius-s); color:var(--color-ink-muted); }
.disclaimer p + p{ margin-top:.6em; }
/* 紹介リンク（成果報酬）のある記事だけに出る。冒頭の【PR】と、A8 の広告コード（:::a8）の枠 */
.pr-note{ margin:0 0 20px; padding:10px 14px; border:1px solid var(--color-line); border-radius:var(--radius-s); background:var(--color-surface); color:var(--color-ink-muted); font-size:var(--fs-note); line-height:1.7; }
.ad-link{ margin:1.4em 0; padding:12px 16px; border:1px solid var(--color-line); border-radius:var(--radius-s); background:var(--color-surface); }
.ad-label{ display:inline-block; margin-right:8px; padding:0 7px; border:1px solid var(--color-ink-muted); border-radius:4px; color:var(--color-ink-muted); font-size:.8125rem; font-weight:700; line-height:1.6; vertical-align:.12em; }
.ad-link a{ font-weight:700; overflow-wrap:anywhere; }
.ad-link img{ display:inline; max-width:100%; height:auto; }
.ad-link img[width="1"][height="1"]{ width:1px; height:1px; }
.blog-cta{ padding:28px 24px; background:var(--color-brand); color:var(--color-on-brand); border-radius:var(--radius-m); }
.blog-cta h2{ color:var(--color-on-brand); }
.blog-cta p{ margin:0 0 20px; }
.blog-cta-btn{ display:inline-flex; align-items:center; gap:10px; min-height:52px; padding:12px 28px; border-radius:999px; background:var(--color-surface); color:var(--color-brand-hover); font-weight:700; text-decoration:none; }
.blog-cta-btn:hover{ color:var(--color-brand-hover); background:#fff; }
.blog-cta-btn:focus-visible{ outline-color:var(--color-on-brand); }

/* ---- 一覧 ---- */
.list-head{ margin:8px 0 32px; }
.list-head h1{ font-size:var(--fs-h1-sub); }
.list-head .lead{ margin:12px 0 0; font-size:var(--fs-lead); color:var(--color-ink-muted); max-width:44em; }
.list-links{ display:flex; flex-wrap:wrap; gap:8px 24px; margin:20px 0 0; }
.list-links a{ display:inline-flex; align-items:center; gap:8px; font-weight:700; }
.blog-main section + section{ margin-top:56px; }
.blog-main section > h2{ font-size:var(--fs-h2); margin:0 0 20px; }
.cards{ display:grid; gap:var(--grid-gap); grid-template-columns:1fr; margin:0; padding:0; list-style:none; }
@media (min-width:720px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1080px){ .cards{ grid-template-columns:repeat(3,1fr); } }
.cards-cat a{ display:flex; flex-direction:column; gap:8px; height:100%; padding:20px; background:var(--color-surface); border:1px solid var(--color-line); border-radius:var(--radius-m); color:var(--color-ink); text-decoration:none; }
.cards-cat a:hover{ border-color:var(--color-brand); }
.card-title{ font-family:var(--font-head); font-weight:700; font-size:1.1875rem; line-height:1.5; }
.card-desc{ color:var(--color-ink-muted); }
.card-count{ margin-top:auto; font-weight:700; color:var(--color-brand); }
/* 記事カードのみ。小さい補助文字・ホバーの動きは今回の指定に基づく例外。 */
.cards:not(.cards-cat){ gap:40px 32px; grid-template-columns:minmax(0,1fr); }
@media (min-width:720px){ .cards:not(.cards-cat){ grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 36px; } }
@media (min-width:1080px){ .cards:not(.cards-cat){ grid-template-columns:repeat(3,minmax(0,1fr)); gap:56px 48px; } }
.card{ --card-ink:#13273d; --card-accent:#d87927; --card-muted:#68717c; --card-tint:#f2f5f8; min-width:0; }
.card > a{ display:flex; flex-direction:column; height:100%; padding:0; gap:0; border:0; border-radius:2px; background:#fff; color:var(--card-ink); text-decoration:none; box-shadow:0 14px 40px -10px rgb(19 39 61 / .14); }
.card > a:hover{ color:var(--card-ink); }
.card > a:focus-visible{ outline:3px solid var(--card-ink); outline-offset:5px; }
.card-media{ display:block; aspect-ratio:3 / 2; overflow:hidden; border-radius:2px 2px 0 0; background:var(--card-tint); }
.card-media img{ display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.card-fallback{ display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:12px; height:100%; padding:28px; color:var(--card-ink); font-family:var(--font-head); }
.card-fallback::before{ content:""; width:32px; height:3px; background:var(--card-accent); }
.card-fallback > span:first-child{ font-size:1.125rem; font-weight:700; }
.card-fallback > span:last-child{ font-size:.875rem; color:var(--card-muted); }
.card-body{ display:flex; flex-direction:column; flex:1; gap:24px; padding:26px 28px 28px; min-width:0; }
.card .card-title{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; overflow-wrap:anywhere; min-height:5.1em; max-height:5.1em; font-size:1rem; font-weight:500; line-height:1.7; }
.card .card-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 14px; position:relative; padding-right:38px; margin-top:auto; color:var(--card-muted); font-size:.75rem; line-height:1.7; }
.card-date{ flex:none; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:.04em; }
.card-category{ min-width:0; overflow-wrap:anywhere; }
.card-arrow{ position:absolute; right:0; top:50%; width:28px; height:1px; background:currentColor; }
.card-arrow::after{ content:""; position:absolute; right:0; bottom:0; width:9px; height:1px; background:currentColor; transform:rotate(30deg); transform-origin:right center; }
.card > a:is(:hover,:focus-visible) .card-arrow{ color:var(--card-accent); }
/* 浮き上がりはカード全体がリンクであることを伝える。タッチ時には動かさない。 */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .card > a{ transition:transform 180ms ease-out; }
  .card > a:hover{ transform:translateY(-4px); }
  .card > a:active{ transform:translateY(-1px); }
}
.col-read-wrap{ max-width:880px; }
.map-list{ margin:0; padding:0; list-style:none; }
.map-list li{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 12px; padding:10px 0; border-bottom:1px solid var(--color-line); }

/* ---- プレビュー専用（公開ページには出ない） ---- */
.preview-banner{ margin:0 0 16px; padding:12px 16px; background:#FBEEE2; border:2px solid #B5541C; border-radius:var(--radius-s); font-weight:700; }
.preview-issues{ margin:0 0 20px; padding:12px 16px; background:var(--color-surface); border:1px solid var(--color-line); border-radius:var(--radius-s); }
.preview-issues ul{ margin:10px 0 0; padding-left:1.2em; list-style:disc; }
.preview-issues .lv-error b{ color:var(--color-error); }
