/* コラムの記事（column/*.html。prices/render.mjs --site で書き出す）。
   ヘッダー・本文の幅・題名は個人情報の取扱い（.pv）と同じ部品を使い、ここには記事にしか無いもの（見出し・表・計算機・相談の導線）だけを置く。
   色と文字は home.css の値（--purple・--ink・--mist など）を使う */
/* 記事は表を含むので、個人情報の取扱いより広い本文の幅（左右の余白を除いて約710px・日本語で1行約40字）にする */
.col-wrap.pv-wrap { max-width: 952px; }
.col-meta { font-size: 13px; line-height: 1.7; color: var(--sub); margin: -24px 0 32px; text-align: left; }
/* カテゴリの札（サムネの左上の札と同じ色） */
.col-label { display: inline-block; margin-right: 12px; padding: 4px 8px; border-radius: 8px; background: var(--deep); color: var(--white); font-size: 13px; font-weight: 700; line-height: 1.4; }
/* 名前と肩書きは途中で折らず、入りきらない時はまとめて次の行へ */
.col-by { display: inline-block; }
/* 記事の上の画像（site-articles-drafts/thumb.mjs で作るサムネ） */
.col-hero { margin: 0 0 48px; }
.col-hero img { display: block; width: 100%; height: auto; border-radius: 12px; }
.col-wrap > p, .col-wrap li { font-size: var(--fs-body); line-height: var(--lh-body); }
.col-wrap > p { margin: 0 0 24px; }
.col-wrap h2 { font-size: 28px; line-height: 1.4; margin: 64px 0 24px; }
.col-wrap h3 { font-size: 18px; line-height: 1.7; margin: 48px 0 12px; }
.col-wrap ul { margin: 0 0 24px; padding-left: 1.4em; }
.col-wrap li { margin: 0 0 8px; }
/* 本文の箇条書き。home.css が全部の点を消しているので、紫の丸を1行目の高さの真ん中に置き、折り返した行は文字の頭にそろえる（10-16 吉田さま「点をちゃんとデザインして」） */
.col-wrap > ul { padding-left: 0; list-style: none; }
.col-wrap > ul > li { position: relative; padding-left: 1.25em; }
.col-wrap > ul > li::before { content: ""; position: absolute; left: .2em; top: calc(var(--lh-body) * .5em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
/* 番号つきの箇条書き。点と同じ紫の丸に白い番号を入れ、1行目の真ん中にそろえる */
.col-wrap > ol { margin: 0 0 24px; padding-left: 0; list-style: none; counter-reset: col-ol; }
.col-wrap > ol > li { position: relative; padding-left: 2.25em; counter-increment: col-ol; }
.col-wrap > ol > li::before { content: counter(col-ol); position: absolute; left: 0; top: calc(var(--lh-body) * .5em - 11px); width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: var(--white); font-size: 15px; font-weight: 700; line-height: 26px; text-align: center; }
.col-wrap strong { font-weight: 700; }

/* 表。スマホでは表だけ横に送れるようにして、ページ全体は横にはみ出させない */
.col-wrap .tw { overflow-x: auto; margin: 0 0 32px; }
.col-wrap table { width: 100%; min-width: 520px; table-layout: fixed; border-collapse: collapse; font-size: 16px; line-height: 1.7; }
.col-wrap th, .col-wrap td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.col-wrap thead th { background: var(--mist); font-weight: 700; }
/* 列は等分にする。文の長さで列の幅を決めると、長い文の列がほかの列を押しつぶす（10-16 2列の表で右の列が1字ずつ折れた） */

/* 本文の画面の写真（原稿の ![説明](/img/column/<slug>/01.png "写真の下の説明")）。枠線で地の白と分け、説明は写真の下に小さく */
.col-fig { margin: 8px 0 32px; }
.col-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.col-fig figcaption { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: var(--sub); }

/* 計算機（prices/calc.js が中を作る） */
.pcalc { margin: 0 0 48px; padding: 32px; background: var(--mist); border-radius: 12px; }
.pcalc-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 16px; }
.pcalc-f { display: flex; flex-direction: column; gap: 8px; }
.pcalc-l { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.pcalc-i { display: flex; align-items: center; gap: 4px; }
.pcalc-i input { width: 100%; min-width: 44px; height: 48px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font: inherit; font-size: 18px; font-weight: 700; text-align: center; color: var(--ink); -moz-appearance: textfield; }
.pcalc-i input::-webkit-inner-spin-button, .pcalc-i input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pcalc-step { flex: none; width: 44px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.pcalc-step:hover { border-color: var(--purple); }
.pcalc-u { flex: none; min-width: 1.2em; font-size: 15px; color: var(--sub); }
.pcalc-out { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--pale); }
.pcalc-pick { margin: 0 0 4px; font-size: 22px; font-weight: 700; line-height: 1.4; }
.pcalc-pick strong { color: var(--deep); }
.pcalc-why { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.pcalc-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.pcalc-sum div { padding: 16px 16px; border-radius: 12px; background: var(--white); }
.pcalc-sum dt { font-size: 13px; line-height: 1.4; color: var(--sub); }
.pcalc-sum dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; line-height: 1.4; font-feature-settings: "palt" 1; }
.pcalc-sum .pcalc-plus { background: var(--deep); }
.pcalc-sum .pcalc-plus dt, .pcalc-sum .pcalc-plus dd { color: var(--white); }
.pcalc-sum .pcalc-minus dd { color: var(--ink); }
.pcalc .pcalc-bars { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pcalc-bars li { display: grid; grid-template-columns: 13em minmax(0, 1fr) 8em; align-items: center; gap: 12px; margin: 0; font-size: 15px; line-height: 1.4; }
.pcalc-bn { color: var(--sub); }
.pcalc-bar { height: 12px; border-radius: 8px; background: var(--pale); overflow: hidden; }
.pcalc-bar > span { display: block; width: var(--w, 0); height: 100%; border-radius: 8px; background: var(--purple); opacity: .45; }
.pcalc-bars .is-pick .pcalc-bn, .pcalc-bars .is-pick .pcalc-bv { color: var(--deep); font-weight: 700; }
.pcalc-bars .is-pick .pcalc-bar > span { opacity: 1; }
.pcalc-bv { text-align: right; white-space: nowrap; }
.pcalc-bars .is-off { color: var(--sub); }
.pcalc-bars .is-off .pcalc-bv { grid-column: 3; }
.pcalc-be { margin: 24px 0 0; font-size: 16px; line-height: 1.7; }
.pcalc-be strong { color: var(--deep); }
/* 記事の機能（診断・判定・見積もり・洗い出し。prices/render.mjs の {{tool:名前}}、本体は /tools/<名前>.js）。地と欄は計算機（.pcalc）にそろえる。
   2026-10-27 使い勝手の作り直し: 診断は1問1枚・選んだら次へ、数は −・＋、選ぶ物は札。押せる所は44px以上、選んだ物は塗りと太字と印で分かる。
   2026-11-10 作り直し（審査 FINDINGS A4〜A9・A12・B1・B5・B8・E1〜E3・E6・E7・E11〜E13）:
   - 右の結果欄（248px）を廃止。PC もスマホも1列: 入力 → 入力の下に付いてくる要約の帯（.ctool-dock。入力が長い時は画面の下に留まる）→ 答えの札（.ctool-ans）→ 説明 → ボタン（中央）→ 次に読む
   - 数の札は .ctool-key（大きな数1〜2つ）と .ctool-sum（名前と値の行）の2種類だけ。値は1行で出し、入らない時は ctool.js が字を小さく（is-s・is-xs）するか名前の下に積む（is-stack）。1字ずつ縦に割れる組み方にしない
   - 札（.ctool-sg）の ✓ の右 40px をやめ、左の小さな丸（ラジオ）か四角（チェック）で選んだ物を示す。3列の小さな札（is-3）は印を出さず塗りと太字だけ
   - 診断の「← 前の問い」は進み具合の行の右端（問いの塊の左下にボタンを置かない）
   - 文は左ぞろえ（短い行の両端ぞろえで字間が開く）。札・選択肢・値の名前は文節で折る（対応するブラウザ）。語の途中で折らない */
.ctool { margin: 0 0 48px; padding: 32px; background: var(--mist); border-radius: 12px; }
.ctool-h { margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ctool-lead { margin: 0 0 24px; font-size: 15px; line-height: 1.7; color: var(--sub); }
.ctool-note { margin: 16px 0 0; font-size: 13px; line-height: 1.7; color: var(--sub); }
.ctool-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ctool [hidden] { display: none !important; }
@keyframes ctool-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html[lang="ja"] body.home .ctool :is(p, li, dd, dt, td, th, label, legend, h3) { text-align: left; line-break: strict; text-wrap: wrap; }
/* 短い札と値は語の途中で折らず、入らない時だけどこかで折る（文節で折れない Safari の受け皿） */
html[lang="ja"] body.home .ctool :is(.ctool-scale li, .ctool-chip, .ctool-btn, .ctool-prev, .ctool-steps-m, .ctool-case-st, .ctool-rank-v, .ctool-key dd.is-wrap, .ctool-sum .is-stack dd, .ctool-sg-t, .ctool-sg-s, .ctool-rank-t, .ctool-rank-m, .ctool-steps-t, .ctool-key dt, .ctool-sum dt, .ctool-l, .ctool-dock) { word-break: keep-all; overflow-wrap: anywhere; }
/* 文節で折れるブラウザ（Chrome）ではこちらが勝つよう、上の受け皿より後に置き、強さもそろえる。
   :is() の強さは中で一番強い選択子で決まるので、受け皿にある .ctool-key dd.is-wrap と .ctool-sum .is-stack dd をこちらにも入れる
   （入れないと受け皿が強く、「Code｜タブで作業するフォルダを選ぶ」のように空白の所でしか折れなかった） */
@supports (word-break: auto-phrase) {
  html[lang="ja"] body.home .ctool :is(.ctool-sg-t, .ctool-sg-s, .ctool-opt-t, .ctool-rank-t, .ctool-rank-m, .ctool-steps-t, .ctool-key dt, .ctool-sum dt, .ctool-l, .ctool-qt, .ctool-res, .ctool-dock, .ctool-key dd.is-wrap, .ctool-sum .is-stack dd) { word-break: auto-phrase; }
}

/* 押しボタン */
.ctool-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.ctool-btn:hover:not(:disabled) { border-color: var(--purple); }
.ctool-btn:disabled { opacity: .4; cursor: default; }
.ctool-btn.is-main { border-color: var(--deep); background: var(--deep); color: var(--white); }
.ctool-btn.is-main:hover { border-color: var(--purple); background: var(--purple); }
.ctool-btn.is-done, .ctool-btn.is-main.is-done { border-color: var(--deep); background: var(--pale); color: var(--deep); }
/* 結果のボタン列は中央（段の終わりのボタンを左下に置かない。スマホは縦に積んで幅いっぱい） */
.ctool-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 16px 0 0; }
.ctool button:focus-visible, .ctool input:focus-visible, .ctool select:focus-visible, .ctool summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* 診断（1問1枚） */
.ctool.is-quiz .ctool-stage { min-height: 380px; }
.ctool-prog { display: flex; align-items: center; gap: 16px; }
.ctool-prog-n { flex: none; font-size: 15px; font-weight: 700; color: var(--deep); font-feature-settings: "tnum" 1; white-space: nowrap; }
.ctool .ctool-prog-bar { display: flex; flex: 1; min-width: 60px; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ctool .ctool-prog-bar li { flex: 1; height: 6px; margin: 0; border-radius: 4px; background: var(--pale); }
.ctool .ctool-prog-bar .is-done { background: var(--purple); }
.ctool .ctool-prog-bar .is-cur { background: var(--deep); }
.ctool-prev { flex: none; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.ctool-prev:hover:not(:disabled) { border-color: var(--purple); }
.ctool-prev:disabled { opacity: .4; cursor: default; }
.ctool-card { min-width: 0; margin: 16px 0 0; padding: 0; border: 0; animation: ctool-in .2s ease-out; }
.ctool-qt { margin: 0 0 16px; padding: 0; font-size: 18px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.ctool-opts { display: grid; gap: 8px; }
.ctool-opt { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.ctool-opt:hover { border-color: var(--purple); }
.ctool-opt-t { min-width: 0; }
.ctool-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--purple); border-radius: 50%; color: var(--deep); font-size: 15px; font-weight: 700; font-feature-settings: "tnum" 1; }
.ctool-opt[aria-pressed="true"] { border-color: var(--deep); background: var(--pale); box-shadow: inset 0 0 0 1px var(--deep); }
.ctool-opt[aria-pressed="true"] .ctool-opt-t { font-weight: 700; color: var(--deep); }
.ctool-opt[aria-pressed="true"] .ctool-num { border-color: var(--deep); background: var(--deep); color: var(--white); }
.ctool-nav { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; margin: 16px 0 0; }
.ctool-hint { font-size: 13px; color: var(--sub); }
@media (hover: none) { .ctool-hint { display: none; } }

/* 結果の欄（診断・計算機とも） */
.ctool-result { animation: ctool-in .2s ease-out; }
.ctool.is-calc .ctool-result { margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--pale); animation: none; }
.ctool-after { margin: 16px 0 0; }
.ctool-after:empty { display: none; }
.ctool-wait { margin: 0; font-size: 15px; line-height: 1.7; color: var(--sub); }
.ctool .ctool-scale { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin: 0 0 16px; padding: 0; list-style: none; }
.ctool .ctool-scale li { display: flex; flex-direction: column; justify-content: center; min-height: 52px; margin: 0; padding: 8px 8px; background: var(--white); color: var(--sub); font-size: 13px; line-height: 1.4; text-align: center; }
.ctool .ctool-scale li:first-child { border-radius: 8px 0 0 8px; }
.ctool .ctool-scale li:last-child { border-radius: 0 8px 8px 0; }
.ctool .ctool-scale .is-past { background: var(--pale); color: var(--deep); }
.ctool .ctool-scale .is-at { background: var(--deep); color: var(--white); font-weight: 700; }
.ctool .ctool-scale .is-at::before { content: "いまここ"; display: block; margin: 0 0 2px; font-size: 13px; font-weight: 400; }
/* 段の名前が長い時（スマホ）は縦に並べ、語の途中で折らない */
@media (max-width: 560px) {
  .ctool .ctool-scale { grid-auto-flow: row; grid-auto-columns: auto; }
  .ctool .ctool-scale li { flex-direction: row; justify-content: flex-start; gap: 8px; min-height: 44px; padding: 8px 12px; text-align: left; }
  .ctool .ctool-scale li:first-child { border-radius: 8px 8px 0 0; }
  .ctool .ctool-scale li:last-child { border-radius: 0 0 8px 8px; }
  .ctool .ctool-scale .is-at::before { margin: 0; }
}
.ctool-res { margin: 0 0 8px; font-size: 22px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ctool-res strong { color: var(--deep); }
.ctool-why { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.ctool-body > p:last-child, .ctool-body > div:last-child { margin-bottom: 0; }
/* 結果の中の箇条書きは本文と同じ紫の点（home.css が点を消すため） */
.ctool-result ul:not([class]) { margin: 0 0 16px; padding: 0; list-style: none; }
.ctool-result ul:not([class]) > li { position: relative; margin: 0 0 8px; padding-left: 1.2em; font-size: 16px; line-height: 1.7; }
.ctool-result ul:not([class]) > li::before { content: ""; position: absolute; left: .15em; top: calc(1.9 * .5em - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.ctool-result .ctool-why ul:not([class]) { margin-top: 8px; }
.ctool-result .ctool-why ul:not([class]) > li, .ctool-result div > ul:not([class]) > li { font-size: inherit; line-height: inherit; }
.ctool-next { margin: 0; padding: 16px 24px; border-radius: 12px; background: var(--white); }
.ctool-next dt { font-size: 13px; font-weight: 700; color: var(--sub); }
.ctool-next dd { margin: 4px 0 0; font-size: 16px; line-height: 1.7; }
.ctool-next dd + dt { margin-top: 12px; }
/* コピーできる命令の箱（Claude Code の始め方など）。ボタンは箱の右上に置く（44px） */
.ctool-cmd { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); }
.ctool-cmd code { flex: 1; min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.7; color: var(--ink); white-space: pre; overflow: auto; max-height: 20em; }
/* コードは折り返さず横に送る。折ると字下げが崩れ、セル番地が「$D$20／01」と割れていた（2026-11-19 レビュー H4）。長いコードは箱の中で送る */
.ctool-cmd .ctool-btn { flex: none; min-height: 44px; padding: 0 12px; font-size: 13px; }
.ctool-mine { margin: 16px 0 0; border-radius: 12px; background: var(--white); }
.ctool-mine summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; font-size: 15px; font-weight: 700; color: var(--deep); cursor: pointer; list-style: none; }
.ctool-mine summary::-webkit-details-marker { display: none; }
.ctool-mine summary::after { content: "開く ＋"; font-size: 13px; }
.ctool-mine[open] summary::after { content: "閉じる −"; }
.ctool .ctool-mine ol { margin: 0; padding: 0 16px 8px; list-style: none; }
.ctool .ctool-mine li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; margin: 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.ctool-mine-q { grid-column: 1; font-size: 13px; color: var(--sub); }
.ctool-mine-a { grid-column: 1; font-weight: 700; color: var(--ink); }
.ctool-link { grid-column: 2; grid-row: 1 / 3; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ctool-link:hover { border-color: var(--purple); }

/* 計算機: 入力の列と、下に付いてくる要約の帯 */
.ctool-form { position: relative; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ctool-form > .ctool-f:has(> .ctool-fn:not([hidden])) { gap: 8px; }
.ctool-dock { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; margin: 0; padding: 8px 16px; border: 0; border-radius: 12px; background: var(--deep); color: var(--white); font: inherit; font-size: 15px; line-height: 1.4; text-align: left; box-shadow: 0 8px 24px rgba(33, 33, 35, .25); cursor: pointer; transition: background-color .15s; }
.ctool-dock:hover { background: var(--purple); }
.ctool-dock > span:first-child { flex: 1; min-width: 0; } /* 折り方は .ctool-dock から受け継ぐ（上の受け皿と auto-phrase） */
.ctool-dock strong { font-size: 16px; font-weight: 700; font-feature-settings: "tnum" 1; } /* 長い名前（「Gemini（Google Workspace に含まれる）」）は2行に折る。nowrap だと右の「結果を見る」に食い込んだ。数字と単位は組み立て側の .nw が守る */
.ctool-dock-go { flex: none; margin-left: auto; font-weight: 700; white-space: nowrap; }
.ctool-dock-go::after { content: " ↓"; }

/* 答えの札: 大きな数（1〜2つ）・順位や棒・名前と値の行 */
.ctool-ans { margin: 0 0 16px; padding: 16px 24px; border-radius: 12px; background: var(--white); }
.ctool .ctool-key { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 24px; margin: 0; }
.ctool-key > div { min-width: 0; }
.ctool-key dt { font-size: 13px; line-height: 1.4; color: var(--sub); }
.ctool-key dd { margin: 4px 0 0; font-size: 28px; font-weight: 700; line-height: 1.4; color: var(--deep); white-space: nowrap; font-feature-settings: "tnum" 1; }
.ctool-key dd.is-s { font-size: 22px; }
.ctool-key dd.is-xs { font-size: 18px; }
.ctool-key dd.is-wrap { white-space: normal; }
.ctool-list-h { margin: 16px 0 8px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--sub); }
.ctool-ans > .ctool-list-h:first-child, .ctool-ans > div > .ctool-list-h:first-child { margin-top: 0; }
.ctool-ans > .ctool-key + .ctool-list-h, .ctool-ans > .ctool-key + .ctool-rank, .ctool-ans > .ctool-key + div { margin-top: 16px; }
.ctool .ctool-sum { display: grid; gap: 0; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--pale); }
.ctool-ans > .ctool-sum:first-child { margin-top: 0; border-top: 0; }
.ctool-sum > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--pale); }
.ctool-sum dt { font-size: 13px; line-height: 1.4; color: var(--sub); }
.ctool-sum dd { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); text-align: right; white-space: nowrap; font-feature-settings: "tnum" 1; }
.ctool-sum > div.is-stack { grid-template-columns: minmax(0, 1fr); }
.ctool-sum .is-stack dd { text-align: left; white-space: normal; }
/* 順位の一覧: 番号・名前・値を1行に、棒と補足はその下 */
.ctool .ctool-rank { margin: 0; padding: 0; list-style: none; }
.ctool .ctool-rank li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-areas: "n t v" "n bar bar" "n m m"; column-gap: 12px; row-gap: 0; align-items: center; margin: 0; padding: 8px 0; border-top: 1px solid var(--pale); font-size: 15px; line-height: 1.4; }
.ctool .ctool-rank li:first-child { border-top: 0; padding-top: 0; }
.ctool-rank-n { grid-area: n; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pale); color: var(--deep); font-size: 13px; font-weight: 700; font-feature-settings: "tnum" 1; }
.ctool-rank-t { grid-area: t; min-width: 0; font-weight: 700; color: var(--ink); }
.ctool-rank-v { grid-area: v; font-size: 15px; font-weight: 700; color: var(--deep); text-align: right; white-space: nowrap; font-feature-settings: "tnum" 1; }
.ctool-rank-bar { grid-area: bar; height: 8px; margin: 8px 0 0; border-radius: 4px; background: var(--mist); overflow: hidden; }
.ctool-rank-bar > span { display: block; width: var(--w, 0); height: 100%; border-radius: 4px; background: var(--purple); opacity: .55; transition: width .2s; }
.ctool-rank-m { grid-area: m; margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--sub); }
.ctool-rank .is-top .ctool-rank-n { background: var(--deep); color: var(--white); }
.ctool-rank .is-top .ctool-rank-t { color: var(--deep); }
.ctool-rank .is-top .ctool-rank-bar > span { background: var(--deep); opacity: 1; }
.ctool-rank .is-dim { color: var(--sub); }
.ctool-rank .is-dim .ctool-rank-t, .ctool-rank .is-dim .ctool-rank-v { color: var(--sub); font-weight: 400; }
/* 年ごとの積み上げの棒 */
.ctool-years { margin: 0; }
.ctool .ctool-yb { margin: 0; padding: 0; list-style: none; }
.ctool .ctool-yb li { display: grid; grid-template-columns: 4em minmax(0, 1fr) auto; gap: 0 8px; align-items: center; margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.ctool-yb-n { color: var(--sub); white-space: nowrap; }
.ctool-yb-v { font-weight: 700; white-space: nowrap; font-feature-settings: "tnum" 1; }
.ctool-yb-bar { display: flex; height: 10px; border-radius: 8px; background: var(--mist); overflow: hidden; }
.ctool-yb-bar > span { flex: none; width: var(--w, 0); height: 100%; transition: width .2s; }
.ctool-yb-bar .is-first, .ctool-key-l .is-first::before { background: var(--ink); }
.ctool-yb-bar .is-tool, .ctool-key-l .is-tool::before { background: var(--deep); }
.ctool-yb-bar .is-help, .ctool-key-l .is-help::before { background: var(--purple); opacity: .55; }
.ctool-key-l { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 4px 0 0; font-size: 13px; color: var(--sub); }
.ctool-key-l span::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 2px; vertical-align: -1px; }
/* 結果の中の表（採択率・不正・AIツールの割り当て）。はみ出す時は横に送り、右端にまだ続く時だけ影を出す */
.ctool .tw { margin: 0 0 16px; overflow-x: auto; background: linear-gradient(to left, transparent, var(--mist) 70%) right / 32px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(33, 33, 35, .18), transparent) right / 16px 100% no-repeat scroll; }
.ctool .tw > table { min-width: 0; font-size: 15px; background: var(--white); }
.ctool .tw > table th, .ctool .tw > table td { padding: 8px 12px; }
.col-wrap .ctool table tbody td:first-child, .col-wrap .ctool table thead th:first-child { min-width: 6em; }

/* 数の欄（−・数・＋）と早押し */
.ctool-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ctool-l { margin: 0; padding: 0; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ctool-step { display: flex; align-items: center; gap: 8px; max-width: 320px; }
.ctool-sb { flex: none; width: 44px; height: 48px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; }
.ctool-sb:hover { border-color: var(--purple); }
.ctool-step input { flex: 1; width: 100%; min-width: 3em; height: 48px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 18px; font-weight: 700; text-align: center; font-feature-settings: "tnum" 1; -moz-appearance: textfield; }
.ctool-step input::-webkit-inner-spin-button, .ctool-step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ctool-u { flex: none; min-width: 1.5em; font-size: 15px; color: var(--sub); }
.ctool-fn { margin: 0; font-size: 13px; line-height: 1.7; color: var(--sub); }
.ctool-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.ctool-chip { min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ctool-chip:hover { border-color: var(--purple); }
.ctool select.hojo-sel { max-width: 100%; }

/* 札の選択（ラジオ・チェックを大きな札にする） */
.ctool-seg { min-width: 0; margin: 0; padding: 0; border: 0; }
.ctool-seg legend { margin: 0 0 8px; }
.ctool-segs { display: grid; gap: 8px; }
.ctool-segs.is-1 { grid-template-columns: minmax(0, 1fr); }
.ctool-segs.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctool-segs.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* 札が多い選択は幅に合わせて2〜3列（1枚は230px以上。語の途中で折らない幅） */
.ctool-segs.is-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.ctool-sg { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; min-height: 56px; padding: 8px 12px 8px 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; transition: border-color .15s, background-color .15s; }
.ctool-sg:hover { border-color: var(--purple); }
.ctool-sg input { position: absolute; opacity: 0; pointer-events: none; }
.ctool-sg-t { font-size: 15px; line-height: 1.4; color: var(--ink); }
.ctool-sg-s { font-size: 13px; line-height: 1.4; color: var(--sub); }
/* 左の印: 丸（ラジオ）か角の丸い四角（チェック）。選ぶと塗りつぶす */
.ctool-sg::before { content: ""; position: absolute; left: 14px; top: 50%; box-sizing: border-box; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid #B4B4C0; border-radius: 50%; background: var(--white); transition: border-color .15s, background-color .15s; }
.ctool-sg:has(input[type="checkbox"])::before { border-radius: 4px; }
.ctool-sg:has(input:checked) { border-color: var(--deep); background: var(--pale); box-shadow: inset 0 0 0 1px var(--deep); }
.ctool-sg:has(input:checked) .ctool-sg-t { font-weight: 700; color: var(--deep); }
.ctool-sg:has(input:checked)::before { border-color: var(--deep); background: var(--deep); box-shadow: inset 0 0 0 3px var(--white); }
.ctool-sg:has(input[type="checkbox"]:checked)::before { box-shadow: none; background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3 6.8 11l5.2-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.ctool-sg:has(input:focus-visible) { outline: 2px solid var(--purple); outline-offset: 2px; }
/* 3列の小さな札（2人・一部・会社が止まる など）: 印は出さず、塗りと太字だけ。中央そろえ */
.ctool-segs.is-3 .ctool-sg { align-items: center; min-height: 48px; padding: 8px 8px; text-align: center; }
.ctool-segs.is-3 .ctool-sg::before { content: none; }
.ctool-segs.is-3 .ctool-sg-t { font-size: 15px; }
/* 主力のAIの札（AIツール） */
.col-wrap .ctool-picks { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.col-wrap .ctool-picks li { margin: 0; list-style: none; }
.col-wrap .ctool-picks li::before { content: none; }
.ctool-picks li { padding: 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.ctool-picks-t { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ctool-logo { flex: none; width: 24px; height: 24px; object-fit: contain; }
.ctool-picks-d { margin: 0 0 8px; font-size: 15px; line-height: 1.7; color: var(--ink); }
.ctool-picks-c { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }
.ctool-picks-c strong { color: var(--deep); }
.ctool-fn-i { display: block; font-size: 13px; color: var(--sub); }
/* 手順の段（自動化の手段・Claude Code の始め方・補助金の流れ）。番号の丸と、手段の札 */
.ctool-steps { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; counter-reset: st; }
.ctool-steps li { position: relative; padding: 12px 16px 12px 64px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); counter-increment: st; }
.ctool-steps li::before { content: counter(st); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: var(--white); font-size: 15px; font-weight: 700; }
.ctool-steps-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 8px; margin: 0 0 4px; }
.ctool-steps-t { font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--ink); }
.ctool-steps-m { padding: 2px 8px; border-radius: 999px; background: var(--pale); color: var(--deep); font-size: 13px; font-weight: 700; line-height: 1.7; }
.ctool-steps-d { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }
/* 事例の札（業務の自動化の事例）。左だけの太い線は使わず、見出しと字の大きさで組む */
.ctool-cases { display: grid; gap: 12px; margin: 0 0 16px; padding: 0; list-style: none; }
.ctool-case { padding: 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.ctool-case-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 8px; }
.ctool-case-t { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.ctool-case-st { padding: 2px 8px; border-radius: 999px; background: var(--mist); color: var(--deep); font-size: 13px; font-weight: 700; line-height: 1.7; }
.ctool-case-st.is-live { background: var(--pale); }
.ctool-case-d { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px 12px; margin: 0; }
.ctool-case-d dt { font-size: 13px; font-weight: 700; line-height: 1.7; color: var(--sub); }
.ctool-case-d dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); }
.ctool-case-m { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: var(--sub); }
/* スマホは項目を値の上に置く。6.5em の横並びだと値が1行8字ほどで「ん。」が行末に残った（2026-11-19 レビュー M3） */
@media (max-width: 560px) {
  .ctool-case-d { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ctool-case-d dd + dt { margin-top: 8px; }
}
/* PC で横の欄に目次が出る時は、本文の中の目次を出さない（2つ出ていた。2026-11-19 レビュー M6） */
@media (min-width: 1101px) {
  body:has(.col-side-toc) .col-wrap .col-toc { display: none; }
}

/* 洗い出しの1行（1枚の札）。PC は数の欄と種類の札を2列に */
.ctool-rows { display: flex; flex-direction: column; gap: 12px; }
.ctool-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px 16px 16px; border-radius: 12px; background: var(--white); }
.ctool-row-top { grid-column: 1 / -1; display: flex; gap: 8px; }
.ctool-name { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; }
.ctool-name::placeholder { font-weight: 400; color: var(--sub); }
.ctool-del { flex: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--sub); font: inherit; font-size: 18px; cursor: pointer; }
.ctool-del:hover { border-color: var(--purple); color: var(--deep); }
.ctool-row-nums { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ctool-row .ctool-l { font-size: 13px; color: var(--sub); }
.ctool-row .ctool-step { max-width: none; }
.ctool-row .ctool-sb { width: 44px; height: 44px; }
.ctool-row .ctool-step input { height: 44px; font-size: 18px; }
.ctool-add { align-self: flex-end; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--deep); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.ctool-add:hover { border-color: var(--purple); }

@media (prefers-reduced-motion: reduce) {
  .ctool-card, .ctool-result { animation: none; }
  .ctool *, .ctool-dock { transition: none !important; }
}

/* 現在地（トップ › AIコラム） */
.col-crumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; font-size: 13px; line-height: 1.4; color: var(--sub); }
.col-crumb a { color: inherit; }
/* 書いた人 */
.col-author { display: flex; gap: 24px; margin: 96px 0 0; padding: 32px; border: 1px solid var(--pale); border-radius: 12px; }
.col-author img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.col-author-k { margin: 0 0 4px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--deep); }
.col-author-name { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.col-author-name span { display: block; font-size: 13px; font-weight: 400; color: var(--sub); }
.col-author-bio { margin: 0 0 12px; font-size: 15px; line-height: 1.7; }
.col-author-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; font-size: 15px; line-height: 1.4; }
.col-author-links a { color: var(--purple); font-weight: 700; }
/* 記事の下の相談 */
.col-ask { margin-top: 96px; padding: 96px 0; background: var(--mist); }
.col-ask h2 { margin: 0 0 16px; }
.col-ask-btns { display: flex; flex-wrap: wrap; gap: 16px; }
/* 関連記事 */
.col-rel { padding: 96px 0 0; }
.col-rel h2 { margin: 0 0 32px; font-size: 28px; line-height: 1.4; }

/* 最終更新（題の下の行） */
.col-mod { white-space: nowrap; }
/* 更新履歴（本文の末尾） */
.col-history { margin: 64px 0 0; }
.col-wrap .col-history h2 { margin: 0 0 16px; font-size: 18px; }
.col-wrap .col-history ul { margin: 0; padding: 0; list-style: none; }
/* grid だと文の中の .nw が1マスずつになり「1列」「2点」が日付の列に入った（2026-11-19 レビュー H2）。日付は左に置き、文は1つの流れのまま */
.col-wrap .col-history li { position: relative; margin: 0; padding: 8px 0 8px calc(9.5em + 12px); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.7; }
.col-history time { position: absolute; left: 0; top: 10px; color: var(--sub); }
@media (max-width: 560px) {
  .col-wrap .col-history li { padding-left: 0; }
  .col-history time { position: static; display: block; }
}
/* 書いた人の欄の、この記事に関係する経験 */
.col-author-notes { margin: 0 0 12px; padding-left: 1.2em; font-size: 15px; line-height: 1.7; }
.col-author-notes li { margin: 0 0 4px; }

/* ===== 記事の部品（prices/render.mjs の「:::種類」と表・目次・よくある質問）=====
   決まり: 存在感はブランドの深い青紫（--deep）と薄い紫（--mist）の面で出す。箱の中に枠線の箱を重ねず、中の区切りは地の色の差で作る。
   カードはごく薄い影で浮かせる。角の丸みは外側16px・内側10pxの2段。片側だけの線は使わない */
.col-wrap { --hair: #E6E6EE; --r-out: 16px; --r-in: 10px; --lift: 0 1px 2px rgba(33, 33, 35, .04), 0 8px 28px rgba(62, 62, 168, .08); }
.col-wrap h1, .col-wrap h2, .col-wrap h3 { font-feature-settings: "palt" 1; }
.col-wrap h2[id], .col-wrap h3[id], .col-tool[id] { scroll-margin-top: 88px; }
/* 部品の中は左そろえ（サイトのスマホの両端そろえが短い行の字間を開けるため）。行頭に「？」「）」などが来ない改行にする */
:is(.col-sum, .col-toc, .col-note, .col-tool, .col-score, .col-faq, .col-method, .col-pr, .col-wrap table), :is(.col-sum, .col-toc, .col-note, .col-tool, .col-score, .col-faq, .col-method, .col-wrap table) :is(p, li, dd, dt, td, th, h3) { text-align: left; line-break: strict; }
/* 広告の表記（題の下・小さく） */
.col-wrap > .col-pr { margin: -16px 0 16px; font-size: 13px; line-height: 1.7; color: var(--sub); }
/* 調べ方。薄い紫の面に、札と本文を横に並べる */
.col-wrap > .col-method { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: baseline; margin: 0 0 32px; padding: 16px 16px; border-radius: var(--r-in); background: var(--mist); font-size: 15px; line-height: 1.7; }
/* 引用（公的な定義などの原文）。片側だけの線は使わず、調べ方と同じ薄い面で分ける */
.col-wrap > .col-quote { margin: 0 0 32px; padding: 16px 16px; border-radius: var(--r-in); background: var(--mist); font-size: 15px; line-height: 1.7; }
.col-quote p { margin: 0; }
.col-method-k { margin: 0; font-size: 13px; font-weight: 700; color: var(--deep); white-space: nowrap; }
/* 先に結論。記事でいちばん強い面。深い青紫から青紫へのグラデーションに、順位の丸と道具の名前 */
.col-sum { margin: 0 0 48px; padding: 32px 32px 16px; border-radius: var(--r-out); background: linear-gradient(135deg, var(--deep) 0%, #4B4BC4 100%); color: var(--white); box-shadow: 0 12px 32px rgba(62, 62, 168, .22); }
.col-sum-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.4; color: rgba(255, 255, 255, .78); letter-spacing: .04em; }
.col-wrap .col-sum-list { margin: 0; padding: 0; list-style: none; }
.col-wrap .col-sum-list li { display: grid; grid-template-columns: 28px 4fr 3fr 5fr; gap: 2px 16px; align-items: center; margin: 0; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; line-height: 1.7; }
.col-wrap .col-sum-list li:first-child { border-top: 0; }
.col-wrap .col-sum-list li::before { content: none; }
.col-sum-i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--deep); font-size: 15px; font-weight: 700; font-feature-settings: "tnum" 1; }
.col-sum-who { color: rgba(255, 255, 255, .82); }
.col-sum-tool { font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--white); font-feature-settings: "palt" 1; }
.col-sum-why { color: var(--white); }
.col-sum strong, .col-sum a { color: var(--white); }
/* 目次。薄い紫の面に、白抜き番号の丸。中見出しは白い札にして横に並べる */
.col-toc { margin: 0 0 64px; border-radius: var(--r-out); background: var(--mist); }
.col-toc summary { display: flex; align-items: center; gap: 8px; padding: 16px 32px; cursor: pointer; list-style: none; }
.col-toc summary::-webkit-details-marker { display: none; }
.col-toc summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(-135deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.col-toc details:not([open]) summary::after { transform: rotate(45deg) translate(-2px, -2px); }
.col-toc summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; border-radius: var(--r-out); }
.col-toc-k { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--deep); }
.col-toc-n { padding: 1px 8px; border-radius: 8px; background: var(--white); font-size: 13px; font-weight: 700; line-height: 1.7; color: var(--deep); }
.col-wrap .col-toc ol { margin: 0; padding: 0 32px 16px; list-style: none; counter-reset: none; }
.col-wrap .col-toc ol > li { margin: 0; padding: 12px 0; padding-left: 0; border-top: 1px solid rgba(62, 62, 168, .1); counter-increment: none; }
.col-wrap .col-toc ol > li:first-child { border-top: 0; }
.col-wrap .col-toc ol > li::before { content: none; }
.col-toc-h { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 700; line-height: 1.7; }
.col-toc-i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: var(--white); font-size: 13px; font-feature-settings: "tnum" 1; }
.col-wrap .col-toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px 48px; padding: 0; list-style: none; }
.col-wrap .col-toc ul li { margin: 0; padding: 0; font-size: 13px; line-height: 1.4; }
.col-wrap .col-toc ul li::before { content: none; }
.col-toc ul a { display: block; padding: 4px 12px; border-radius: 999px; background: var(--white); color: var(--deep); text-decoration: none; font-weight: 700; }
.col-toc-h:hover span:last-child { color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }
.col-toc ul a:hover { background: var(--deep); color: var(--white); }
.col-toc a:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 8px; }
/* ポイント・注意。地の色とアイコンの札 */
.col-wrap > .col-note { margin: 0 0 32px; padding: 16px 24px; border-radius: var(--r-in); background: var(--mist); }
.col-wrap > .col-note.is-warn { background: #FFF5E0; }
.col-note-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--deep); }
.col-note.is-warn .col-note-k { color: #8A5300; }
.col-note-k svg { flex: none; width: 20px; height: 20px; }
.col-note p, .col-note li { font-size: 16px; line-height: 1.7; }
.col-note p { margin: 0 0 8px; }
.col-note p:last-child, .col-note ul:last-child, .col-note ol:last-child { margin-bottom: 0; }
.col-note ul { margin: 0 0 8px; padding-left: 1.2em; }
.col-note li { margin: 0 0 4px; }
/* 道具のカード。薄い影で浮かせ、上の帯（薄い紫）に順位と名前。中は地の色の差で分ける */
.col-wrap > .col-tool { margin: 0 0 32px; border-radius: var(--r-out); background: var(--white); box-shadow: var(--lift); overflow: hidden; }
.col-tool-hd { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin: 0; padding: 24px 32px; background: var(--mist); }
.col-tool-rank { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: var(--white); font-size: 18px; font-weight: 700; line-height: 1; font-feature-settings: "tnum" 1; box-shadow: 0 4px 12px rgba(62, 62, 168, .3); }
.col-wrap .col-tool-name { margin: 0; font-size: 22px; line-height: 1.4; color: var(--ink); }
.col-tool-lead { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--deep); }
.col-tool > :not(.col-tool-hd) { margin-left: 32px; margin-right: 32px; }
.col-tool-img { display: block; width: calc(100% - 56px); height: auto; margin-top: 24px; border: 1px solid var(--hair); border-radius: var(--r-in); }
.col-tool-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; margin-bottom: 16px; }
.col-tool-spec div { padding: 12px 16px; border-radius: var(--r-in); background: var(--fog); }
.col-tool-spec dt { font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--sub); letter-spacing: .04em; }
.col-tool-spec dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; line-height: 1.7; }
.col-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.col-pc > div { padding: 16px 16px; border-radius: var(--r-in); }
.col-pc-pro { background: var(--mist); }
.col-pc-con { background: var(--fog); }
.col-pc-k { margin: 0 0 8px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.col-pc-pro .col-pc-k { color: var(--deep); }
.col-pc-con .col-pc-k { color: var(--sub); }
.col-wrap .col-pc ul { margin: 0; padding: 0; list-style: none; }
.col-wrap .col-pc li { position: relative; margin: 0 0 8px; padding-left: 24px; font-size: 15px; line-height: 1.7; }
.col-wrap .col-pc li:last-child { margin-bottom: 0; }
.col-wrap .col-pc li::before { content: ""; position: absolute; left: 0; top: .42em; width: 17px; height: 17px; border-radius: 50%; }
.col-wrap .col-pc-pro li::before { background: var(--deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/17px no-repeat; }
.col-wrap .col-pc-con li::before { background: #9A9AA3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/17px no-repeat; }
.col-tool-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.col-ad { display: inline-block; margin-left: 8px; padding: 0 4px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.7; vertical-align: 2px; }
/* 採点の棒。薄い影のカードに太めの棒。いちばん高い道具だけ濃い色と札 */
.col-wrap > .col-score { margin: 0 0 48px; padding: 24px 32px; border-radius: var(--r-out); background: var(--white); box-shadow: var(--lift); }
.col-score-k { margin: 0 0 16px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.col-wrap .col-score ol { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.col-wrap .col-score li { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 4.5em; align-items: center; gap: 4px 16px; margin: 0 0 16px; padding: 0; font-size: 15px; line-height: 1.7; counter-increment: none; }
.col-wrap .col-score li:last-child { margin-bottom: 0; }
.col-wrap .col-score li::before { content: none; }
.col-score-n { font-weight: 700; }
.col-score-bar { height: 12px; border-radius: 8px; background: var(--mist); overflow: hidden; }
.col-score-bar > span { display: block; width: var(--w, 0); height: 100%; border-radius: 8px; background: #A3A3E8; }
.col-score .is-top .col-score-bar > span { background: linear-gradient(90deg, var(--deep), var(--purple)); }
.col-score .is-top .col-score-n { color: var(--deep); }
.col-score-v { text-align: right; white-space: nowrap; font-size: 13px; color: var(--sub); font-feature-settings: "tnum" 1; }
.col-score-v strong { font-size: 18px; color: var(--ink); }
.col-score .is-top .col-score-v strong { color: var(--deep); }
.col-score-note { grid-column: 2 / -1; font-size: 13px; color: var(--sub); }
/* 手順。番号の丸は本文の番号つき箇条書きと同じ形 */
.col-wrap > .col-steps > li { padding-bottom: 8px; }
.col-steps p { margin: 0 0 12px; }
.col-steps img { display: block; width: 100%; height: auto; margin: 0 0 16px; border: 1px solid var(--hair); border-radius: var(--r-in); }
/* 表。角を丸めた枠に入れ、見出しの行は薄い紫、おすすめの列は濃い青紫の見出しと薄い紫の地 */
.col-wrap .tw > table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--hair); border-radius: var(--r-in); overflow: hidden; }
.col-wrap .tw > table th, .col-wrap .tw > table td { border: 0; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.col-wrap .tw > table tr > :last-child { border-right: 0; }
.col-wrap .tw > table tbody tr:last-child > * { border-bottom: 0; }
.col-wrap .tw > table thead th { background: var(--mist); font-size: 15px; color: var(--ink); vertical-align: bottom; }
.col-wrap tbody td:first-child { font-weight: 700; background: #FAFAFD; }
.col-wrap .tw > table thead th.is-pick { background: var(--deep); color: var(--white); }
.col-wrap td.is-pick { background: var(--mist); font-weight: 700; color: var(--deep); }
.col-pick { display: table; margin: 0 0 4px; padding: 0 8px; border-radius: 4px; background: var(--white); color: var(--deep); font-size: 13px; font-weight: 700; line-height: 1.7; }
.col-mark { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; }
.col-mark svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; }
.col-mark.is-best { color: var(--deep); }
.col-mark.is-yes { color: var(--purple); }
.col-mark.is-part { color: #8A8A93; }
.col-mark.is-no { color: #B4B4BC; }
/* よくある質問。薄い紫の面の札を並べ、Q と A の丸で問いと答えを分ける */
.col-wrap > .col-faq { margin: 0 0 8px; border-radius: var(--r-in); background: var(--mist); }
.col-faq summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 24px; cursor: pointer; list-style: none; }
.col-faq summary::-webkit-details-marker { display: none; }
.col-faq summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ease); }
.col-faq[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.col-faq summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; border-radius: var(--r-in); }
.col-wrap .col-faq h3 { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
/* 問いは長いので、サイトの見出しの決まり（語の途中で折らない＋はみ出したらどこでも折る）だと「？」だけが次の行に落ちる。ふつうの日本語の改行にする */
html[lang="ja"] body.home .col-faq h3 { word-break: normal; overflow-wrap: normal; line-break: strict; text-wrap: wrap; } /* balance にすると折る位置が「スプレッド／シート」などカタカナ語の中に寄り、36件増えたので戻した（2026-11-19） */
.col-faq-q { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--deep); color: var(--white); font-size: 15px; font-weight: 700; }
.col-faq-q.is-a { background: var(--white); color: var(--deep); }
.col-faq-a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; margin: 0 12px 12px; padding: 16px 16px 16px 8px; border-radius: var(--r-in); background: var(--white); }
.col-faq-a p { margin: 0; font-size: 16px; line-height: 1.7; }

/* 相談の導線 */
.col-cta { display: flex; justify-content: center; margin: 48px 0 0; }
/* 機能の結果の下の案内（最上流の戦略 §4）。出口A＝合う仕組み（つなぎの台帳に行がある時だけ）、出口B＝相談 */
.col-next { margin: 16px 0 48px; }
.col-next-k { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--sub); }
.col-wrap .col-next-a { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.col-next-a li { display: grid; gap: 4px; padding: 16px 16px; border: 1px solid var(--line); border-radius: var(--r-in); background: var(--white); }
.col-next-a a { font-weight: 700; color: var(--deep); }
.col-next-a .nw { white-space: nowrap; }
/* 説明の文だけに掛ける。題名の中の .nw に掛かると「データ」だけ小さくなっていた（2026-11-19 レビュー H1） */
.col-next-a li > span { font-size: 15px; line-height: 1.7; }
.col-next-b { margin: 0; font-size: 16px; line-height: 1.7; }
.col-next-b a { color: var(--deep); font-weight: 700; }

@media (max-width: 760px) {
  /* スマホの表は横に送らせず、1行を1枚の札にして「見出し（data-label）」と中身を縦に並べる。1列目は札の題にする */
  .col-wrap .tw:not(.is-wide) { overflow: visible; }
  /* 比べる表は表のまま横に送る。1列目（項目の名前）は左に留めて、どの行かを見失わない */
  .col-wrap .tw.is-wide { margin-right: -16px; padding-right: 16px; }
  .col-wrap table.is-wide { min-width: 600px; font-size: 15px; }
  .col-wrap table.is-wide th, .col-wrap table.is-wide td { padding: 8px 12px; }
  .col-wrap table.is-wide th:first-child, .col-wrap table.is-wide td:first-child { position: sticky; left: 0; z-index: 1; width: 110px; background: var(--white); box-shadow: 1px 0 0 var(--line); }
  .col-wrap table.is-wide thead th:first-child { background: var(--mist); }
  .col-wrap table:not(.pcalc-t):not(.is-wide) { min-width: 0; table-layout: auto; border: 0; }
  .col-wrap table:not(.pcalc-t):not(.is-wide) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .col-wrap table:not(.pcalc-t):not(.is-wide), .col-wrap table:not(.pcalc-t):not(.is-wide) tbody, .col-wrap table:not(.pcalc-t):not(.is-wide) tr, .col-wrap table:not(.pcalc-t):not(.is-wide) td { display: block; width: 100%; }
  .col-wrap table:not(.pcalc-t):not(.is-wide) tr { border: 1px solid var(--line); border-radius: 8px; margin: 0 0 12px; overflow: hidden; }
  .col-wrap table:not(.pcalc-t):not(.is-wide) td { border: 0; border-top: 1px solid var(--line); padding: 8px 16px; }
  .col-wrap table:not(.pcalc-t):not(.is-wide) td:first-child { border-top: 0; background: var(--mist); font-weight: 700; }
  .col-wrap table:not(.pcalc-t):not(.is-wide) td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--sub); line-height: 1.4; margin: 0 0 2px; }
  .col-meta { margin: -8px 0 24px; }
  .col-hero { margin: 0 0 32px; }
  .col-wrap h2 { font-size: 22px; margin: 64px 0 16px; }
  .col-wrap > .col-method { grid-template-columns: 1fr; padding: 12px 16px; }
  .col-sum { padding: 24px 16px 8px; }
  .col-wrap .col-sum-list li { grid-template-columns: 28px minmax(0, 1fr); gap: 0 12px; align-items: start; }
  .col-sum-i { grid-row: 1 / span 3; margin-top: 2px; }
  .col-sum-who { font-size: 13px; }
  .col-toc summary { padding: 16px 16px; }
  .col-wrap .col-toc ol { padding: 0 16px 16px; }
  .col-wrap .col-toc ul { margin-left: 48px; }

  .col-tool-hd { padding: 16px 16px; gap: 12px; }
  .col-tool-rank { width: 42px; height: 42px; font-size: 18px; }
  .col-wrap .col-tool-name { font-size: 18px; }
  .col-tool > :not(.col-tool-hd) { margin-left: 16px; margin-right: 16px; }
  .col-tool-img { width: calc(100% - 40px); }
  .col-tool-spec, .col-pc { grid-template-columns: 1fr; }
  .col-tool-cta .btn { width: 100%; }
  .col-wrap > .col-score { padding: 16px; }
  .col-wrap .col-score li { grid-template-columns: minmax(0, 1fr) auto; }
  .col-score-bar { grid-column: 1 / -1; grid-row: 2; }
  .col-score-note { grid-column: 1 / -1; }
  .col-faq summary { padding: 16px 16px; gap: 12px; }
  .col-faq-a { margin: 0 8px 8px; }

  .col-wrap h3 { font-size: 18px; margin: 32px 0 8px; }
  .pcalc { padding: 16px; }
  .pcalc-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  /* 時給は桁が多いので1段まるごと使う */
  .pcalc-f:last-child { grid-column: 1 / -1; }
  .pcalc-sum { grid-template-columns: 1fr; gap: 8px; }
  .pcalc-sum div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; }
  .pcalc-sum dd { margin: 0; font-size: 22px; }
  .pcalc-bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .pcalc-bar { grid-column: 1 / -1; grid-row: 2; }
  .pcalc-bars .is-off .pcalc-bv { grid-column: 2; }
  .ctool { padding: 16px 16px; }
  .ctool.is-quiz .ctool-stage { min-height: 0; }
  .ctool-qt { font-size: 18px; }
  .ctool-opt { min-height: 56px; padding: 8px 12px; font-size: 15px; }
  .ctool-step { max-width: none; }
  /* ボタンは縦に積んで幅いっぱい（11-04 の決まり） */
  .ctool-acts { flex-direction: column; align-items: stretch; }
  .ctool-acts .ctool-btn, .ctool-nav .ctool-btn { width: 100%; }
  .ctool-ans { padding: 16px; }
  .ctool-key dd { font-size: 22px; }
  .ctool-key dd.is-s { font-size: 22px; }
  .ctool-key dd.is-xs { font-size: 18px; }
  .ctool-row { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  /* 「1回の分数」「月の回数」は1列に積み、単位（分・回）も見せる（2列だと − 15 + − 40 + と詰まり、単位を隠していた） */
  .ctool-row-nums { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  /* 3分割の札は「決まっている」（6字）が1行に入る大きさにする（14px だと「決まってい｜る」と割れた） */
  .ctool-segs.is-3 .ctool-sg { padding: 8px 8px; }
  .ctool-segs.is-3 .ctool-sg-t { font-size: 13px; }
  /* 説明文つきの札（「一覧＋1件ずつの詳細ページ／詳細ページにしか無い項目も取る」）は2列だと3〜4行に折れて読みにくいので1列に積む */
  .ctool-segs:not(.is-3):has(.ctool-sg-s) { grid-template-columns: minmax(0, 1fr); }
  .ctool-dock { bottom: calc(12px + env(safe-area-inset-bottom)); padding: 8px 12px; font-size: 13px; }
  .ctool-dock strong { font-size: 16px; }
  .ctool-cmd { flex-wrap: wrap; }
  .ctool-cmd .ctool-btn { width: 100%; }
  .ctool .tw > table th, .ctool .tw > table td { padding: 8px 8px; font-size: 15px; }
  .col-cta .btn { width: 100%; }
  .col-author { flex-direction: column; gap: 16px; margin-top: 64px; padding: 24px; }
  .col-ask { margin-top: 64px; padding: 64px 0; }
  .col-ask-btns .btn { width: 100%; }
  .col-rel { padding: 64px 0 0; }
  .col-rel h2 { font-size: 22px; margin-bottom: 24px; }
}
/* 利用者の声（X 公式の埋め込み）。読み込まれる前と読み込めない時は、投稿へのリンクを薄い枠の中に出す */
.col-wrap > .col-x { margin: 0 auto 24px; max-width: 550px; padding: 12px 16px; border: 1px solid var(--pale); border-radius: 12px; font-size: 15px; }
.col-wrap > .twitter-tweet-rendered { margin: 0 auto 24px !important; }
/* 記事も同じ逆転を直す：中身の幅を 712px にそろえる（1300 以下は余白 48px×2）。home.css の .pv-wrap の直しと対 */
@media (max-width: 1300px) {
  .col-wrap.pv-wrap { max-width: calc(712px + 96px); }
}
/* スマホで横に送る表に「送れる」印を付ける（2026-10-24 Fable 指摘：375 で ChatGPT の4列の表が右端で切れて見えた）。
   表の上に一言（左に留める）、右端にまだ続く時だけ影（背景の local / scroll の重ね方で、端まで送ると影が消える） */
@media (max-width: 760px) {
  .col-wrap .tw.is-wide::before { content: "横に送ると、ほかの列も見られます →"; position: sticky; left: 0; display: block; margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--sub); }
  .col-wrap .tw.is-wide {
    background:
      linear-gradient(to left, transparent, var(--white) 70%) right / 32px 100% no-repeat local,
      radial-gradient(farthest-side at 100% 50%, rgba(33, 33, 35, .22), transparent) right / 16px 100% no-repeat scroll;
  }
}

/* ===== 2026-10-25 トップと同じ水準に（記事の頭・PC の右の欄・章の番号・書いた人・濃紺の相談の帯）=====
   本文の文と部品（表・図・計算機・よくある質問）は変えず、外側の枠だけを組み替える */
.col-page .hd { position: sticky; }
/* 記事の頭：薄紫の地。PC は左に文、右にサムネ */
.col-head { background: var(--mist); padding: 64px 0; }
.col-head-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.col-head h1 { margin: 16px 0 24px; font-size: 40px; font-weight: 900; line-height: 1.4; letter-spacing: .01em; font-feature-settings: "palt" 1; }
.col-meta-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; line-height: 1.7; color: var(--sub); }
.col-meta-top .col-label { margin-right: 0; }
.col-head .col-crumb { margin: 0 0 16px; }
.col-by-row { display: flex; align-items: center; gap: 12px; }
.col-by-row img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.col-by { font-size: 16px; font-weight: 700; line-height: 1.4; }
.col-by small { display: block; font-size: 13px; font-weight: 400; color: var(--sub); }
.col-head .col-hero { margin: 0; }
.col-head .col-hero img { border-radius: 16px; }
/* 本文の段：PC は本文と、付いてくる右の欄（目次と小さな相談） */
/* 本文は760pxで止まるので、余りは間に溜めず右の目次の幅（300px〜）で吸い、間は常に64pxにする（2026-10-27 吉田さま「すきまあきすぎ」） */
.col-grid { display: grid; grid-template-columns: minmax(0, 760px) minmax(300px, 1fr); gap: 64px; align-items: start; padding-top: 64px; }
.col-grid > .col-wrap { max-width: 760px; min-width: 0; }
/* 右の欄の箱は本文と同じ高さまで伸ばす（中身の高さだけだと、付いてくる余地が無い） */
.col-side { align-self: stretch; }
.col-side-in { position: sticky; top: calc(var(--hd-h) + 32px); display: flex; flex-direction: column; gap: 24px; }
.col-side-toc { padding: 24px; border-radius: 16px; background: var(--mist); }
.col-side-k { margin: 0 0 12px; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--deep); }
.col-side-toc { position: relative; }
.col-side-toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - var(--hd-h) - 300px); overflow-y: auto; scrollbar-width: thin; }
/* 目次が入り切らない時（column-toc.js が is-more を付ける）は下端をぼかして「まだある」と分かるようにする */
.col-side-toc.is-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 56px; border-radius: 0 0 16px 16px; background: linear-gradient(to bottom, rgba(238, 238, 250, 0), var(--mist) 75%); pointer-events: none; }
.col-side-toc.is-more ol { padding-bottom: 48px; }
.col-side-toc a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px; border-radius: 8px; color: var(--sub); text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.4; }
.col-side-toc .col-toc-i { width: 24px; height: 24px; font-size: 13px; background: var(--white); color: var(--deep); border: 1px solid var(--pale); }
.col-side-toc a:hover { color: var(--ink); background: var(--white); }
.col-side-toc a.is-now { color: var(--ink); background: var(--white); }
.col-side-toc a.is-now .col-toc-i { background: var(--purple); border-color: var(--purple); color: var(--white); }
.col-side-ask { padding: 24px; border-radius: 16px; background: var(--deep); color: var(--white); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.col-side-ask img { width: 72px; height: 72px; object-fit: contain; }
.col-side-ask p { margin: 0; word-break: keep-all; text-wrap: balance; font-size: 15px; font-weight: 700; line-height: 1.7; }
.col-side-ask .btn { width: 100%; background: var(--ink); border-color: var(--ink); color: var(--white); }  /* 濃い紫の地の相談は墨の塗り（11-01 吉田さま「無料相談ボタンが白」） */
.col-side-ask .btn:hover { background: #000; border-color: #000; }
/* 章の見出し：目次と同じ番号の丸 */
.col-wrap h2:has(.col-h-n) { display: flex; align-items: flex-start; gap: 12px; }
.col-h-t { flex: 1; min-width: 0; } /* 見出しの文（render.mjs が包む）。文の中の囲みで箱が分かれないよう1つの箱にする */
.col-h-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-top: 2px; border-radius: 50%; background: var(--purple); color: var(--white); font-size: 18px; font-weight: 900; line-height: 1; font-feature-settings: "tnum" 1; }
/* 書いた人：トップの「吉田敬悟とは」と同じく、顔に紫の輪と小さな羊 */
.col-author-ph { position: relative; flex: none; width: 104px; height: 104px; }
.col-author .col-author-ph > img:first-child { width: 96px; height: 96px; margin: 4px; border-radius: 50%; box-shadow: 0 0 0 4px var(--pale); }
.col-author .col-author-buddy { position: absolute; right: -14px; bottom: -10px; width: 52px; height: 52px; border-radius: 0; object-fit: contain; }
/* 最後の相談の帯：トップの相談の区画と同じ濃紺の地 */
.col-ask { margin-top: 96px; padding: 96px 0; background: var(--deep); color: var(--white); }
.col-ask .wrap { display: flex; flex-direction: column; gap: 32px; }
.col-ask-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.col-ask-head img { width: 160px; height: 160px; object-fit: contain; flex: none; }
.col-ask .sig { color: var(--white); }
.col-ask h2 { margin: 0; font-size: var(--fs-h2); font-weight: 900; line-height: 1.08; letter-spacing: .02em; }
/* 見出しの折れない囲み（.nw）どうしの間で折れるように（WebKit は囲みの間でも折らず、スマホで右の羊が画面の外へ出た） */
.col-ask h2 .nw, .col-rel .sec-head h2 .nw { display: inline-block; }
@media (max-width: 760px) { .col-ask-head { flex-wrap: wrap; } }
.col-ask .wrap > p:not(.col-ask-btns) { max-width: 760px; margin: 0; font-size: var(--fs-body); line-height: 1.7; }
/* ほかの記事：トップの区画と同じ見出し */
.col-rel { padding: 96px 0; background: var(--mist); }
.col-rel .wrap { display: flex; flex-direction: column; gap: 48px; }
.col-rel .sec-head :is(h1, h2) { margin: 0; font-size: var(--fs-h2); font-weight: 900; line-height: 1.08; }

@media (max-width: 1100px) {
  .col-head-in { grid-template-columns: 1fr; gap: 32px; }
  .col-grid { grid-template-columns: 1fr; padding-top: 64px; }
  .col-grid > .col-wrap { max-width: 760px; margin: 0 auto; width: 100%; }
  .col-side { display: none; }
}
@media (max-width: 760px) {
  .col-head { padding: 32px 0 48px; }
  .col-head h1 { font-size: 22px; margin: 12px 0 16px; }
  .col-grid { padding-top: 48px; }
  .col-h-n { width: 32px; height: 32px; font-size: 15px; margin-top: 0; }
  .col-wrap h2:has(.col-h-n) { gap: 8px; }
  .col-ask { padding: 64px 0; }
  .col-ask-head img { width: 88px; height: 88px; }
  .col-rel { padding: 64px 0; }
  .col-rel .wrap { gap: 32px; }
}
/* 肩書きは語の途中で折らない（「経営企画部｜長」） */
.col-author-name span, .col-by small { word-break: keep-all; }
/* スマホの本文は、サイト共通の両端ぞろえ（home.css 1112行）のまま（11-07 吉田さま「スマホの本文を左寄せにしない」。10月中旬の左寄せ（英字混じりの行の字間）は取り下げ） */
@media (max-width: 760px) {
  .col-ask h2, .col-rel .sec-head :is(h1, h2) { font-size: 22px; }
}
/* 2026-10-25 吉田さま「変すぎない？」：頭の右にサムネを並べると、題名とサムネの大きな文字が左右で重なる。
   頭は文字だけにして題名を横いっぱいに、サムネは本文の最初（本文と同じ幅）に置く。題名は文節で折る */
.col-head-in { grid-template-columns: 1fr; }
.col-head-txt { max-width: 1040px; }
.col-head h1 { word-break: auto-phrase; text-wrap: balance; }
.col-grid > .col-wrap > .col-hero { margin: 0 0 48px; }
.col-grid > .col-wrap > .col-hero img { border-radius: 12px; }
.col-head h1 { word-break: keep-all; overflow-wrap: anywhere; }
/* 2026-10-25 吉田さま「上（の帯）いるのか？ふつうの記事メディアはどういう構成」：横いっぱいの帯をやめ、
   ふつうの記事と同じく、本文の列の一番上に パンくず・札と日付・題名・書いた人 → サムネ → 本文 の順に置く。右の欄は題名の高さから並ぶ */
.col-grid { padding-top: 48px; }
.col-top { margin: 0 0 32px; }
.col-top .col-crumb { margin: 0 0 16px; }
.col-top h1 { margin: 12px 0 16px; font-size: 32px; font-weight: 900; line-height: 1.4; letter-spacing: .01em; font-feature-settings: "palt" 1; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance; }
/* 題名の「｜」の後ろ（副題）は1段小さく改行する。「｜」の文字は見た目では隠す（render.mjs の h1Html。一覧の札の .post-sub と同じ扱い） */
.col-top h1 .col-h-sep { display: none; }
.col-top h1 .col-h-sub { display: block; margin-top: 8px; font-size: max(16px, .6em); font-weight: 700; line-height: 1.4; color: var(--sub); }
.col-grid > .col-wrap > .col-hero { margin: 0 0 48px; }
@media (max-width: 760px) {
  .col-grid { padding-top: 24px; }
  .col-top { margin-bottom: 24px; }
  .col-top h1 { font-size: 22px; }
}

/* ===== 2026-11-01 記事の見直し ===== */
/* 本文の中のリンク：黒い下線だけでは押せると分からない→紫の文字と下線 */
.col-wrap :is(p, li, td) a:not(.btn) { color: var(--deep); text-decoration: underline; text-decoration-color: rgba(62, 62, 168, .45); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.col-wrap :is(p, li, td) a:not(.btn):hover { color: var(--purple); text-decoration-color: currentColor; }
/* 表：列の幅を等分にすると、長い列だけ4行に詰まり短い列が空いた→中身に合わせる */
.col-wrap table { table-layout: auto; }
/* 横の目次：「人の判｜断」と語の途中で折れた */
.col-side :is(a, li) { word-break: auto-phrase; }
/* 数字と単位の欄（render.mjs が短い数値の欄に num を付ける）は「3,000｜円」と泣き別れさせない */
.col-wrap td.num { white-space: nowrap; }
.col-wrap [data-d] { white-space: nowrap; } /* 料金の表で JS が書き換える短い値（「6分」「月3,000円」）。書き換えで組み立て時の .nw が消えるため、箱ごと折らない */
/* 表の1列目（名前の列）が「月1回の｜顧問」と細く折れた→最低限の幅 */
.col-wrap tbody td:first-child, .col-wrap thead th:first-child { min-width: 8.5em; }

/* ===== 2026-11-01 第2弾（吉田さまのダメ出し：ボタンの位置・カードの中の改行・表の列幅・ロゴ）===== */
/* ボタンは右寄せか中央（「ボタンは右側か真中央ぞろえ。左にあるのはおかしい」）。機能の結果のボタン列は中央（上の .ctool-acts） */
.col-tool-cta, .col-ask-btns { justify-content: flex-end; }
.ctool-add { align-self: flex-end; }
/* ツールのロゴ（prices/render.mjs の logo()。名前の先頭が台帳のツールの時だけ出る） */
.col-logo { display: inline-block; width: 20px; height: 20px; margin-right: 8px; object-fit: contain; vertical-align: -4px; }
.col-logo-chip { box-sizing: content-box; width: 22px; height: 22px; padding: 4px; margin-right: 8px; border-radius: 50%; background: var(--white); vertical-align: -9px; }
.col-score-n .col-logo { width: 18px; height: 18px; vertical-align: -3px; }
.col-tool-hd { display: flex; align-items: center; }
.col-tool-hd > div { flex: 1; min-width: 0; }
.col-tool-logo { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--white); box-shadow: 0 1px 2px rgba(33, 33, 35, .06); }
.col-tool-logo .col-logo { width: 32px; height: 32px; margin: 0; }
.ctool-picks-t { display: flex; align-items: center; gap: 8px; }
.ctool-logo { flex: none; width: 24px; height: 24px; object-fit: contain; }
@media (max-width: 760px) {
  .col-tool-logo { width: 44px; height: 44px; }
  .col-tool-logo .col-logo { width: 28px; height: 28px; }
  /* 選ぶ札が多い所はスマホで1列にして、札の名前を1行で読めるようにする（2列だと「Google / Workspace / （Standard以 / 上）」と細切れになった） */
  .ctool-segs.is-auto { grid-template-columns: minmax(0, 1fr); }
  .ctool-segs.is-auto .ctool-sg { min-height: 52px; }
  /* 横に送る表も、列の幅は中身に合わせる（等分の 600px 固定をやめる）。どの列も最低限の幅は持たせ、1字ずつ折れないようにする */
  .col-wrap table.is-wide { width: auto; min-width: 100%; }
  .col-wrap table.is-wide th, .col-wrap table.is-wide td { min-width: 7em; }
  .col-wrap table.is-wide th:first-child, .col-wrap table.is-wide td:first-child { width: auto; min-width: 7.5em; }
}
/* 表の見出しの行のロゴは名前の上に置く（列が狭いと、横に並べたロゴと名前が列ごとに1行・2行とばらついた） */
.col-wrap thead th .col-logo { display: block; width: 24px; height: 24px; margin: 0 0 8px; }
@media (max-width: 760px) {
  /* 金額が「16,800円か｜ら」と折れた→比べる表の列は最低9字分 */
  .col-wrap table.is-wide th, .col-wrap table.is-wide td { min-width: 9em; }
}
/* 次に使える仕組み：左に実例の絵、右に名前と一言 */
.col-next-a li:has(.col-next-img) { grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; align-items: center; }
.col-next-img { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 12px; background: var(--mist); object-fit: contain; }

/* 補助金さがし（/tools/hojo-search.js。2026-11-08） */
.hojo-fixed { margin: 0 0 24px; padding: 16px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.hojo-fixed p { margin: 0; font-size: 15px; line-height: 1.7; }
.hojo-fixed .hojo-fixed-h { margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.hojo-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.hojo-sel, .hojo-in { width: 100%; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px; }
.hojo-sel:focus-visible, .hojo-in:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
/* iPhone の Safari は select の高さを無視するので、見た目を自前にして入力欄とそろえる。右端の矢印は線を2本重ねて描く */
.hojo-sel { -webkit-appearance: none; appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.hojo-count { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--ink); }
.hojo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hojo-row { padding: 16px 16px; border-radius: 12px; background: var(--white); }
.hojo-t { display: flex; align-items: center; min-height: 44px; margin: -8px 0 0; padding: 8px 0; font-size: 16px; font-weight: 700; line-height: 1.7; color: var(--deep); }
.hojo-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px 16px; margin: 8px 0 0; }
.hojo-dl div { min-width: 0; }
.hojo-dl dt { font-size: 13px; color: var(--sub); }
.hojo-dl dd { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.hojo-left { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: 8px; background: var(--pale); font-size: 13px; font-weight: 700; color: var(--deep); }
.hojo-left.is-soon { background: var(--yellow); color: var(--ink); }
@media (max-width: 760px) { .hojo-filters { grid-template-columns: minmax(0, 1fr); gap: 12px; } .hojo-row { padding: 12px 16px; } }
/* 採択率の表の棒（デジタル化・AI導入補助金の採択率・11-08）。料金の記事の棒 .pcalc-bar を表の欄の中で横に並べる */
.ctool-rate { display: flex; align-items: center; gap: 8px; }
.ctool-rate .pcalc-bar { display: block; flex: 1 1 auto; min-width: 48px; }
.ctool-sk th, .ctool-sk td { white-space: nowrap; }
.ctool-sk td:first-child { white-space: normal; }
.ctool-sk td:last-child, .ctool-sk th:last-child { width: 30%; }
.ctool-rate strong { flex: none; min-width: 4.2em; text-align: right; color: var(--deep); font-feature-settings: "tnum" 1; }
/* 本文の列が狭い幅（タブレット）では、5列が枠に入るよう字と余白を詰める（B1: 768px で「採択率」の列が枠の外へ出ていた） */
@media (max-width: 1100px) {
  .ctool .tw > table.ctool-sk { font-size: 15px; }
  .ctool .tw > table.ctool-sk th, .ctool .tw > table.ctool-sk td { padding: 8px 8px; }
  .ctool-sk td:last-child, .ctool-sk th:last-child { width: auto; }
  .ctool-rate .pcalc-bar { min-width: 36px; }
}
/* スマホは1回を1枚の札にし、交付決定日を見出しと同じ行に、申請数と交付決定数を横に2つ並べて札を短くする（回の数が13ある年度でも縦に伸びすぎない） */
@media (max-width: 760px) {
  .col-wrap .ctool table.ctool-sk:not(.pcalc-t) tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td { padding: 8px 12px; font-size: 15px; }
  .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td:first-child, .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td:nth-child(2), .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td:last-child { grid-column: 1 / -1; }
  .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td:nth-child(2) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
  .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td:not(:first-child)::before { font-size: 13px; }
  .col-wrap .ctool table.ctool-sk:not(.pcalc-t) td:nth-child(2)::before { display: inline; margin: 0; }
}
/* 不正の勧誘の表（デジタル化・AI導入補助金の不正・11-08）。PC で「当たる決まり」の列が押しつぶされないよう幅を決める（スマホは札になる） */
.ctool-fs th:nth-child(1), .ctool-fs td:nth-child(1) { width: 30%; }
.ctool-fs th:nth-child(2), .ctool-fs td:nth-child(2) { width: 9em; }
/* 申請の手順（デジタル化・AI導入補助金とは・11-08）。次の手順は本当の手順の番号を丸に出し、全体の並びはいまの手順を濃く、済んだ手順を薄くする */
.ctool-steps.is-num li::before { content: attr(data-n); }
.ctool .ctool-flow { display: grid; gap: 4px; margin: 0 0 16px; padding: 0 0 0 1.6em; font-size: 15px; line-height: 1.7; color: var(--ink); }
.ctool-flow li { margin: 0; padding: 2px 0; list-style: decimal; }
.ctool-flow li::marker { color: var(--sub); font-size: 13px; }
.ctool-flow li.is-done { color: var(--sub); }
.ctool-flow li.is-done::after { content: "（済み）"; font-size: 13px; }
.ctool-flow li.is-now { font-weight: 700; color: var(--deep); }

/* ===== 2026-11-10 触る端末（hover が無い端末＝スマホ・タブレット）では、押せる所を44px以上にする（見た目の高さはなるべく変えない）。E12・E13・B6・B8 ===== */
@media (hover: none), (max-width: 760px) {
  .col-wrap .col-toc ol > li { padding: 4px 0; }
  .col-toc-h { min-height: 44px; }
  .col-toc ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .col-wrap .col-toc ul { gap: 0 8px; margin-top: 2px; }
  .col-crumb a, .col-author-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -12px 0; }
  .col-crumb { align-items: center; }
  /* inline-flex だと題名の中の .nw が別々の箱になり「向けAI研修教／非エンジニア　材」と割れた（2026-11-19 レビュー H1）。block のまま上下の余白で44pxを取る */
  .col-next-a a { display: block; padding: 8px 0; margin: -8px 0; }
}
/* 表の中の語（プラン名・列の見出し）は文節で折る（対応するブラウザ）。語の途中で折れた「プロフェッ｜ショナル」 */
@supports (word-break: auto-phrase) { html[lang="ja"] body.home .col-wrap :is(th, td) { word-break: auto-phrase; } }

/* ===== 2026-11-19 UI/UX 通しレビューの直し（M2・M4・著者の欄） =====
   両端揃えは本文の段落のためのもの。短い欄（肩書・出典の一覧・札・更新履歴・道具の注記）では余りが字間に配られ「株 式 会 社」「DX 推 進 指 標」と開いたので、ここだけ外す。本文の段落は両端揃えのまま */
@media (max-width: 760px) {
  .col-wrap :is(.col-author-name span, .col-author-notes li, .col-next-a li, .col-history li, .ctool-case-m, .ctool-case-d dd) { text-align: start; }
  .col-wrap ul.col-src li { text-align: start; } /* 出典の一覧（render.mjs が印を付ける。確かめ M2） */
}
/* 札の題名と、よくある質問の問いは、行の長さをそろえて行末に1〜2字を残さない（「経営KPIの生データ毎朝更｜新」「何です｜か？」） */
.col-next-a a, .col-wrap summary { text-wrap: balance; }
/* 著者の欄の「この記事に関係する経験」は紹介文と同じ大きさにする（本文の li の大きさを受けて紹介文より大きくなっていた） */
.col-wrap .col-author-notes li { font-size: 15px; line-height: 1.7; }

/* 2列の表（「決まり」「見る所」など）は、スマホの札で値の見出しを出さない。値の欄が1つなので、同じ見出しが行の数だけくり返されていた（2026-11-19 レビュー H5）。
   表のまま見せると値の欄が狭くなり、長いカタカナ語が途中で折れたので札のままにする */
@media (max-width: 760px) {
  .col-wrap table.is-two:not(.pcalc-t):not(.is-wide) td:not(:first-child)::before { content: none; } /* 元の指定に優先度で負けていた（確かめ H5） */
}
/* 「この機能の答え方」の開閉の箱（render.mjs）。道具の「開く ＋」の箱と同じ作り */
.col-wrap .col-how { margin: 24px 0 32px; border-radius: var(--r-in); background: var(--mist); }
.col-wrap .col-how > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 16px; cursor: pointer; list-style: none; }
.col-wrap .col-how > summary::-webkit-details-marker { display: none; }
.col-wrap .col-how > summary h3 { margin: 0; font-size: 16px; line-height: 1.4; color: var(--deep); }
.col-wrap .col-how > summary::after { content: "開く ＋"; flex: none; font-size: 13px; font-weight: 700; color: var(--deep); }
.col-wrap .col-how[open] > summary::after { content: "閉じる −"; }
.col-wrap .col-how-b { padding: 4px 16px 16px; }
.col-wrap .col-how-b > :last-child { margin-bottom: 0; }
/* 道具の結果の見出しの2文目以降と、畳んだ注記（tools/ctool.js。2026-11-19 レビュー H3） */
.ctool-res-sub { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.ctool-more { margin: 16px 0 0; }
.ctool-more > summary { display: flex; align-items: center; justify-content: center; min-height: 44px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--deep); cursor: pointer; list-style: none; }
.ctool-more > summary::-webkit-details-marker { display: none; }
.ctool-more > summary::after { content: "＋"; margin-left: 8px; }
.ctool-more[open] > summary::after { content: "−"; }
.ctool-more > .ctool-note { margin-top: 4px; }
.ctool-res.is-long { font-size: 18px; line-height: 1.7; }
/* 手順の札の中のコードの箱が札ごと画面の外へ広がった（kokyaku-kanri-excel が幅2,043px。2026-11-19 確かめ）。札と箱に幅の歯止めを付ける */
.ctool-steps li, .ctool-steps li > * { min-width: 0; }
.ctool-cmd { min-width: 0; max-width: 100%; }
.ctool-cmd code.is-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.ctool-dock strong { white-space: nowrap; } /* 下の帯の数字「0／8」「あと13日」を折らない（2026-11-19 確かめ M4） */

/* ===== 同じ選択肢をくり返す問いの小さなボタンの列（tools/ctool.js compactScales。2026-11-21 UI/UX 見直し H3） ===== */
.ctool-scale-key { display: grid; gap: 8px; margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: var(--white); }
.ctool-scale-key-h { font-size: 13px; font-weight: 700; color: var(--sub); }
.ctool-scale-key > div:not(.ctool-scale-key-h) { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); gap: 8px; align-items: baseline; }
.ctool-scale-key dt { font-size: 15px; font-weight: 700; color: var(--deep); text-align: center; }
.ctool-scale-key dd { margin: 0; font-size: 15px; line-height: 1.7; }
.ctool-scale-key dd b { display: block; font-weight: 700; color: var(--ink); }
.ctool-scale-key dd span { display: block; color: var(--sub); }
.ctool-seg.is-scale { margin-bottom: 12px; }
.ctool-seg.is-scale legend { margin-bottom: 8px; }
.ctool-seg.is-scale .ctool-segs { display: flex; gap: 8px; }
.ctool-seg.is-scale .ctool-sg { flex: 1 1 0; align-items: center; min-height: 44px; padding: 8px 4px; text-align: center; }
.ctool-seg.is-scale .ctool-sg::before { content: none; }
.ctool-seg.is-scale .ctool-sg-s { display: none; }
.ctool-seg.is-scale .ctool-sg-t { font-size: 15px; }
.ctool-seg.is-scale.is-num .ctool-sg-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ctool-seg.is-scale.is-num .ctool-sg::after { content: attr(data-n); font-size: 16px; font-weight: 700; color: var(--ink); }
.ctool-seg.is-scale.is-num .ctool-sg:has(input:checked)::after { color: var(--deep); }
/* 名前をボタンに書く時の並べ方と、説明の名前の欄（2026-11-21 「やめ／る」「道具で／自動化」と折れた） */
.ctool-seg.is-scale:not(.is-num) .ctool-segs { display: flex; flex-wrap: wrap; }
.ctool-seg.is-scale:not(.is-num) .ctool-sg { flex: 1 1 var(--lw, 80px); } /* 余った札は行いっぱいに広げ、左下に1つだけ残さない */
.ctool-seg.is-scale:not(.is-num) .ctool-sg-t { white-space: nowrap; }
.ctool-seg.is-w2 { --lw: 56px; } .ctool-seg.is-w3 { --lw: 70px; } .ctool-seg.is-w4 { --lw: 84px; } .ctool-seg.is-w5 { --lw: 98px; } .ctool-seg.is-w6 { --lw: 112px; }
.ctool-scale-key.is-words > div:not(.ctool-scale-key-h) { grid-template-columns: max-content minmax(0, 1fr); gap: 12px; }
.ctool-scale-key.is-words dt { white-space: nowrap; text-align: start; }
/* 横に送る比べる表は、列の幅を中身に合わせる。最小600pxにしていたため、2字の列に広い幅が付き、締切の日付が画面の外に出た（2026-11-21 UI/UX 見直し H5）。
   長い文の欄は16字ほどで折り、1列目は札の名前の長さまで */
@media (max-width: 760px) {
  .col-wrap table.is-wide { min-width: 100%; width: max-content; }
  .col-wrap table.is-wide th, .col-wrap table.is-wide td { max-width: 11em; } /* 16em だと長い欄が幅を取り、料金の列が切れた（n8n。2026-11-22） */
  .col-wrap table.is-wide th:first-child, .col-wrap table.is-wide td:first-child { width: auto; min-width: 5em; max-width: 8em; }
}
/* 列の幅を中身に合わせた横送りの表では、欄の中の語を途中で折らず「・」や区切りで折る（「デジタ｜ル化」が出た。2026-11-22） */
@media (max-width: 760px) {
  /* 欄の語を折らない指定（keep-all）は、長い文の欄で逆に語の途中の折れを27件増やしたので外した（2026-11-22） */
  /* 語を途中で折らなくなったので、全部の列に付けていた最低9字分（「16,800円か｜ら」対策）を4字分に下げる。2字の「回」の列に135px付いて締切が画面の外に出ていた */
  .col-wrap table.is-wide th, .col-wrap table.is-wide td { min-width: 4em; }
}
/* 番号のボタンの下の、選んだ答えの名前（2026-11-22 確かめ: 説明が画面の外で番号の意味が分からない） */
.ctool-scale-pick { margin: 8px 0 0; min-height: 1.6em; font-size: 15px; line-height: 1.7; color: var(--deep); font-weight: 700; }
.ctool-seg.is-scale.is-num .ctool-sg::after { white-space: nowrap; font-size: 15px; }
/* 答えの選び方とボタンの列の細部（2026-11-22 吉田さまの画面: 「対象／外」と割れる・同じ語が2回・PCで箱とボタンが横いっぱいに間延び） */
.ctool-scale-key { width: fit-content; max-width: 100%; gap: 8px; padding: 16px 16px 16px; }
.ctool-scale-key > div:not(.ctool-scale-key-h) { grid-template-columns: max-content minmax(0, 1fr); gap: 12px; align-items: first baseline; }
.ctool-scale-key dt { min-width: 1.4em; white-space: nowrap; text-align: start; font-size: 15px; }
.ctool-scale-key dd { font-size: 15px; line-height: 1.7; }
.ctool-scale-key dd b { font-size: 15px; }
.ctool-scale-key dd span { margin-top: 2px; font-size: 13px; line-height: 1.7; }
.ctool-scale-key-h { margin: 0 0 2px; font-size: 13px; letter-spacing: .02em; }
.ctool-seg.is-scale.is-num .ctool-segs { max-width: none; } /* 枠いっぱいに（440px で止めると右に大きな空白が出た 11-22） */
.ctool-seg.is-scale .ctool-sg { min-height: 44px; border-radius: 8px; }
.ctool-seg.is-scale legend { font-size: 15px; }
/* 2026-11-22 続き: 記号の欄を全部の行でそろえる（行ごとの max-content だと「対象外」の行だけ名前が右にずれた）。字の「対象外」の札は小さく、選んだ答えの行は控えめに */
.ctool-scale-key { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 16px; row-gap: 8px; align-items: first baseline; }
.ctool-scale-key-h { grid-column: 1 / -1; }
.ctool-scale-key > div:not(.ctool-scale-key-h) { display: contents; }
.ctool-seg.is-scale.is-num .ctool-sg:is([data-n="対象外"], [data-n="わからない"])::after { font-size: 13px; }
.ctool-scale-pick { margin: 4px 0 0; font-size: 13px; font-weight: 400; color: var(--sub); }

/* ===== 2026-11-22 px レベルの見た目レビュー（別文脈の確認役）の直し ===== */
/* 数字の字詰め: "tnum" の指定が本文の "palt" を消し、「・」だけ全角幅に開いていた → 数字だけ等幅にする書き方へ */
.ctool-prog-n, .ctool-num, .ctool-dock strong, .ctool-key dd, .ctool-sum dd, .ctool-rank-n, .ctool-rank-v, .ctool-yb-v, .ctool-step input, .col-sum-i, .col-toc-i, .col-h-n { font-feature-settings: "palt" 1; font-variant-numeric: tabular-nums; }
/* 番号の丸・本文の点は深い1色にそろえる（目次の「1」と章の「1」が別の色だった） */
.col-wrap > ul > li::before, .col-wrap > ol > li::before, .col-h-n, .ctool-result ul:not([class]) > li::before { background: var(--deep); }
/* 押せる文字は本文のリンクと同じ見た目（深い色＋薄い下線）に1つ */
.col-next-a a, .ctool-next a { color: var(--deep); text-decoration: underline; text-decoration-color: rgba(62, 62, 168, .35); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.col-next-a a { line-height: 1.4; }
/* 目次: 下線を外し、1行でも2行でも上下の余白を同じに */
.col-wrap .col-toc a, .col-wrap .col-toc a span { text-decoration: none; }
.col-wrap .col-toc ol > li { padding: 4px 0; }
.col-toc-h { min-height: 0; padding: 8px 0; align-items: start; }
.col-toc-h .col-toc-i { margin-top: -1px; }
/* 合計・要点の表: 最後の行の線を消す。PC で項目と値が離れすぎないよう幅を抑える */
.ctool-sum > div:last-child { border-bottom: 0; }
@media (min-width: 761px) { .ctool-sum { max-width: 520px; } }
/* 順位の一覧: 薄い行は丸も薄く */
.ctool-rank .is-dim .ctool-rank-n { opacity: .55; }
/* 増減ボタン: 「−」と「＋」を同じ太さ・同じ高さで描く */
.ctool-sb, .pcalc-step { position: relative; color: transparent; }
.ctool-sb::before, .pcalc-step::before, .ctool-sb[data-step="1"]::after, .pcalc-step:not([data-d^="-"])::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -8px; border-radius: 1px; background: var(--deep); }
.ctool-sb[data-step="1"]::after, .pcalc-step:not([data-d^="-"])::after { width: 2px; height: 14px; margin: -8px 0 0 -1px; }
/* 候補の札: 最後の1枚が左下に1つだけ残らないよう、行を伸ばして埋める */
.ctool-quick .ctool-chip { flex: 1 1 auto; }
/* 横3列の選択肢が4つの時は 2×2（PC は4列）。左下に1つだけ残らない */
.ctool-segs.is-3:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 761px) { .ctool-segs.is-3:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 料金の計算: 狭い画面は1列（単位が増減ボタンに食い込んだ）。PC の5欄は 3＋2 の空きを出さない */
@media (max-width: 400px) { .pcalc-in { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) {
  .pcalc-in:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pcalc-in:has(> :nth-child(5):last-child) > :nth-child(-n+3) { grid-column: span 2; }
  .pcalc-in:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}
/* 事例の札: 状態の札が押せるボタンに見えた → 角を小さく。項目名は13pxの太字 */
.ctool-case-st { border-radius: 4px; }
.ctool-case { border-radius: 12px; }
.ctool-case-d dt { font-size: 13px; }
/* 引用: 目次や道具と同じ薄紫の箱だった → 白地に上下の細い線（片側の縦線は使わない） */
.col-wrap > .col-quote { padding: 16px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); }
/* 出典: 本文と同じ大きさで長すぎた */
.col-wrap ul.col-src li { font-size: 15px; line-height: 1.7; }
/* 図の説明は本文より明確に小さく */
.col-fig figcaption { font-size: 13px; }
/* 結果の見出し: スマホは1段小さく、行の長さをそろえる */
@media (max-width: 760px) { .ctool-res { font-size: 18px; text-wrap: balance; } }
/* よくある質問の問いは 16px に（17px はここだけの段だった） */
.col-faq summary h3, .col-faq summary { font-size: 16px; }
/* 答えの選び方: 番号は右ぞろえで名前に寄せ、箱の幅はボタンの列と同じに。説明は語の切れ目で折る */
.ctool-scale-key dt { text-align: end; }
.ctool-scale-key { width: 100%; max-width: none; }
.ctool-scale-key dd, .ctool-scale-key dd span { word-break: auto-phrase; }
.ctool-seg.is-scale legend { margin-bottom: 8px; }
/* 目次の下線は本文リンクの指定（.col-wrap :is(p,li,td) a:not(.btn)）より強く外す */
.col-wrap .col-toc li a:not(.btn), .col-wrap .col-toc li a:not(.btn) span { text-decoration: none; }
/* 料金の計算の最後の文: 「6｜分」と数と単位の間で折れない */
.pcalc-be strong { white-space: nowrap; }
/* 順位の補足: 2つの事実を「・」でつながず、別のかたまりで並べる（折れる時はかたまりごと） */
.ctool-rank-mi { display: inline-block; margin-right: 12px; white-space: nowrap; }
.ctool-rank-mi:last-child { margin-right: 0; }
/* 事例の札: 「人が確かめる所」は中身の上に小さな見出しで */
.ctool-case-l { display: block; margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--sub); }
/* 押せる所は44px以上（目次が43px、次に使える仕組みが42px になっていた） */
.col-toc-h { min-height: 44px; box-sizing: border-box; }
@media (hover: none), (max-width: 760px) { .col-next-a a { padding: 12px 0; margin: -12px 0; } }
/* 段をそろえた後の合わせ: 目次の小項目の頭を章の名前の頭に（丸28px＋間16px） */
.col-wrap .col-toc ul { margin-left: 44px; }
/* 更新履歴の見出しは章の見出しと同じ段 */
.col-wrap .col-history h2 { font-size: 22px; }
/* 次に読む: 1行1本の一覧。補足は下の小さな行 */
.ctool-next-l { display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; }
.ctool-next-l li { margin: 0; padding: 0; }
.ctool-next-l li::before { content: none; }
.ctool-next-l li > span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.7; color: var(--sub); }
/* 長い選択肢の問いは1列 */
.ctool-segs.is-1 { grid-template-columns: minmax(0, 1fr); }
/* 下の帯: 2つの事実を「／」でつながず、かたまりで並べる。右の矢印は太字にそろえる */
.ctool-dock-i { display: inline-block; margin-right: 16px; }
.ctool-dock-i:last-child { margin-right: 0; }
.ctool-dock-go::after { font-weight: 700; }
/* 答えの札: 大きな答えは1つ目だけ。2つ目からは1段小さく */
.ctool-key > div + div dd { font-size: 22px; }
/* 順位の一覧: 丸と右の値は名前の1行目にそろえる */
.ctool-rank li { align-items: start; }
.ctool-rank-n { margin-top: 0; }
/* 見出しの2行目が「（」で始まる時、字の頭をそろえる */
.col-wrap :is(h2, h3), .ctool-res { text-spacing-trim: trim-start; }
/* 書いた人の下のリンク: 字の間を16pxにそろえる（押せる幅は内側の余白で） */
.col-author-links { column-gap: 16px; }
/* ラベル（小さな見出し）は灰色1色に */
.col-author-k { color: var(--sub); }
.col-author-links a { color: var(--deep); text-decoration: underline; text-decoration-color: rgba(62, 62, 168, .35); text-underline-offset: 4px; }
/* 関連記事の見出しの太さを他の区画と同じに */
.col-rel h2 { font-weight: 700; }
/* 数字だけの列は右ぞろえ（表として出る時）。札になる時は値の並びのまま */
.col-wrap table.is-wide :is(th, td).is-r { text-align: end; font-variant-numeric: tabular-nums; }
@media (min-width: 761px) { .col-wrap table :is(th, td).is-r { text-align: end; font-variant-numeric: tabular-nums; } }
/* 開け閉めの印は「∨」1種類に（よくある質問・目次と同じ形） */
.col-wrap .col-how > summary::after, .ctool-mine summary::after { content: ""; display: inline-block; flex: none; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.col-wrap .col-how[open] > summary::after, .ctool-mine[open] summary::after { content: ""; transform: rotate(-135deg) translate(-2px, -2px); }
/* 引用の出どころは本文から分けて小さな灰色の行に */
.col-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; line-height: 1.7; color: var(--sub); }
/* 1列目が2字以下の表は1列目を細く */
.col-wrap table.is-nf :is(th, td):first-child { min-width: 0; width: 2.5em; white-space: nowrap; }
/* 順位の補足のかたまりは、長ければ中で折り返す（はみ出した） */
.ctool-rank-mi { max-width: 100%; white-space: normal; }
/* 次に読むの一覧は、本文の箇条書きの字下げ・大きさを受け継がない */
.ctool .ctool-next-l { margin: 4px 0 0; padding: 0; }
.ctool .ctool-next-l > li { margin: 0; padding: 0; font-size: 16px; line-height: 1.7; }
.ctool .ctool-next-l > li::before { content: none; }
.ctool .ctool-next-l > li > span { font-size: 13px; }
.ctool-rank .ctool-rank-n { align-self: start; margin-top: 0; }
/* 段の寄せで語の途中の改行が増えた所を戻す（表の見出しはラベルの段 13px、よくある質問の問いの横の余白は 16px） */
.col-wrap .tw > table thead th { font-size: 13px; }
.ctool .tw > table th { font-size: 13px; }
.col-faq summary { padding: 16px 16px; }
/* よくある質問の問いも文節で折る（「プ｜ラン」「マク｜ロ」と語の途中で折れた） */
@supports (word-break: auto-phrase) { html[lang="ja"] body.home .col-faq h3 { word-break: auto-phrase; } }
@media (max-width: 760px) { .ctool-segs.is-3 .ctool-sg { padding-inline: 4px; } }
/* 表のセルでは語の途中で折らず、列の幅を中身に合わせて取る（段の寄せの後、狭くなった列で「Work｜space」「アン｜ケート」と折れた） */
.col-wrap .tw > table :is(th, td) { overflow-wrap: normal; }
/* 目次の横の余白は 24px（32px に寄せると2行の項目が増えた） */
.col-wrap .col-toc ol { padding-inline: 24px; }
.col-toc summary { padding-inline: 24px; }
/* 事例の札の題名も文節で折る（「トッ｜プ」と折れた） */
@supports (word-break: auto-phrase) { html[lang="ja"] body.home .ctool-case-t { word-break: auto-phrase; } }
@media (max-width: 760px) { .col-wrap .col-toc ol, .col-toc summary { padding-inline: 16px; } }
/* 章・小見出しは、文節で折れるブラウザでは文節で折る（keep-all だと入りきらない時に「アク｜セス」と語の途中で折れた）。iPhone は今の keep-all のまま */
@supports (word-break: auto-phrase) { html[lang="ja"] body.home .col-wrap :is(h2, h3) { word-break: auto-phrase; } }
/* 目次の項目は見出しの仲間なので文節で折る（本文の li は行の端まで詰めるため normal のまま） */
@supports (word-break: auto-phrase) { html[lang="ja"] body.home .col-toc-h > span:last-child { word-break: auto-phrase; } }
/* 答えの選び方の番号の右ぞろえが、道具の中を左寄せにする指定（91行目・詳細度が上）に負けて「1」と名前の間が大きく空いていた */
html[lang="ja"] body.home .ctool .ctool-scale-key dt { text-align: start; }
/* 「対象外」「わからない」は段階の外の答えなので、区切り線の下に分けて置く。番号の列は数字の幅だけにし、見出しと同じ左端から始める（右ぞろえにすると左に大きな空きが出た 11-22） */
.ctool .ctool-scale-key > div.is-out { display: flex; grid-column: 1 / -1; gap: 16px; align-items: first baseline; }
.ctool .ctool-scale-key > div:not(.is-out) + div.is-out { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }

/* 記事の段の下の余白：書いた人の札と右の目次の箱が、下の「ほかの記事」の帯にくっつかないようにする（2026-11-24 吉田さま「なんかくっついてて変」）。帯の上の余白（.col-rel の 96px／スマホ 64px）と同じ幅 */
.col-grid { padding-bottom: 96px; }
@media (max-width: 760px) { .col-grid { padding-bottom: 64px; } }

/* 2026-11-24 3つの札の段違い（2つと1つ）をやめる: 長い札は PC で3列、スマホで縦1列。札の中の言葉は途中で折らない短さにする（吉田さま「クソでざ」） */
.ctool-segs.is-3w { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) { .ctool-segs.is-3w { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* 2026-11-24 3つの長い札（is-3w）は、行の半分ではなく行の幅いっぱいを使う（半分を3つに割ると、タブレットで札が数十pxになり1字ずつ折れた） */
.ctool-row > .ctool-seg:has(.ctool-segs.is-3w) { grid-column: 1 / -1; }
