/* ===== コラム・下層ページ（style.css のトークンを使う） ===== */
.col { padding: 56px 0 96px; }
.col__in { max-width: 760px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 960px) { .col { padding: 80px 0 120px; } .col__in { padding: 0; } }

/* パンくず */
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--ink-3); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* 章頭と同じ型：区分（小）→ 見出し（大）→ ひとこと */
.col-head__k { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.2em; color: var(--shu-deep); }
.col-head__k::after { content: ""; width: 32px; height: 2px; background: currentColor; }
.col-head__h { margin-top: 14px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(26px, 1.4vw + 18px, 38px); line-height: 1.5; letter-spacing: 0.04em; word-break: auto-phrase; }
.col-head__lead { margin-top: 20px; font-size: 17px; line-height: 2; color: var(--ink-2); }
.col-head__meta { margin-top: 16px; font-size: 13px; color: var(--ink-3); }

/* 架空の表記 */
.fiction { margin-top: 20px; padding: 10px 14px; background: var(--wait-wash); border-left: 3px solid var(--wait); font-size: 14px; line-height: 1.8; color: var(--ink); }

/* 冒頭の結論 */
.answer { margin-top: 36px; padding: 24px 24px 20px; background: var(--sheet); border: 1.5px solid var(--ink); }
.answer__k { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--shu-deep); }
.answer__h { margin-top: 8px; font-family: var(--font-serif); font-weight: 600; font-size: 21px; line-height: 1.7; }
.answer ol { margin-top: 12px; padding-left: 1.4em; list-style: decimal; }
.answer li { font-size: 16px; line-height: 1.9; }
.answer li strong { font-weight: 700; }

/* 本文 */
.art { margin-top: 56px; }
.art h2 { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--rule); font-family: var(--font-serif); font-weight: 600; font-size: clamp(22px, 0.8vw + 17px, 28px); line-height: 1.6; letter-spacing: 0.03em; word-break: auto-phrase; }
.art h2::before { content: ""; display: block; width: 32px; height: 2px; background: var(--shu); margin-bottom: 16px; margin-top: -21px; margin-bottom: 20px; }
.art h3 { margin-top: 36px; font-size: 18px; font-weight: 700; line-height: 1.7; }
.art p { margin-top: 18px; font-size: 16px; line-height: 2.05; }
.art ul.dots { margin-top: 14px; padding-left: 1.3em; list-style: disc; }
.art ul.dots li { font-size: 16px; line-height: 1.95; margin-top: 4px; }
.art .small { font-size: 14px; color: var(--ink-3); line-height: 1.9; }

/* 社長の会話例 */
.talk { margin-top: 24px; padding-left: 18px; border-left: 3px solid var(--ink); }
.talk p { margin-top: 0; font-family: var(--font-serif); font-weight: 600; font-size: 19px; line-height: 1.85; }
.talk cite { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: var(--ink-3); }

/* 渡したもの */
.give { margin-top: 24px; padding: 18px 20px; background: var(--paper-2); border: 1px solid var(--rule); }
.give__k { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.give p, .give li { font-size: 15px; line-height: 1.9; }
.give ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; }
.give__say { margin-top: 10px !important; font-weight: 700; }

/* AIの出力（原文） */
.out { margin-top: 24px; background: var(--sheet); border: 1px solid var(--rule); border-top: 3px solid var(--ai); }
.out__k { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 700; color: var(--ai); }
.out__k span { font-weight: 500; color: var(--ink-3); }
.out__b { padding: 8px 18px 18px; }
.out__b p, .out__b li { font-size: 15px !important; line-height: 1.9 !important; }
.out__b p { margin-top: 10px !important; }
.out__b h4 { margin-top: 16px; font-size: 15px; font-weight: 700; }
.out__b ol, .out__b ul { margin-top: 8px; padding-left: 1.4em; }
.out__b ol { list-style: decimal; } .out__b ul { list-style: disc; }
.out__b .t { font-family: var(--font-serif); font-weight: 600; font-size: 18px !important; }
.out__cut { color: var(--ink-3); font-size: 13px !important; }
/* 推測で書かれた箇所 */
mark.guess { background: var(--shu-wash); color: var(--ink); border-bottom: 2px solid var(--shu); padding: 0 2px; }
mark.guess::after { content: "推測"; margin-left: 4px; font-size: 11px; font-weight: 700; color: var(--shu-deep); vertical-align: 1px; }
.legend { margin-top: 10px !important; font-size: 13px !important; color: var(--ink-3); }
.legend mark.guess::after { content: none; }

/* 前後の比較 */
.cmp { margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 720px) { .cmp { grid-template-columns: 1fr 1fr; } }
.cmp__col { background: var(--sheet); border: 1px solid var(--rule); padding: 14px 16px 16px; }
.cmp__k { font-size: 13px; font-weight: 700; color: var(--ink-2); padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.cmp__col--after .cmp__k { color: var(--ai); }
.cmp__col dl { margin-top: 6px; }
.cmp__col dt { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--ink-3); }
.cmp__col dd { margin-top: 2px; font-size: 15px; line-height: 1.8; }
.cmp__none { color: var(--ink-3); }

/* 観察の表 */
.obs { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.obs th, .obs td { border-bottom: 1px solid var(--rule); padding: 10px 8px; text-align: left; vertical-align: top; }
.obs thead th { font-size: 13px; color: var(--ink-3); border-bottom: 1.5px solid var(--ink); }
.obs tbody th { font-weight: 700; white-space: nowrap; }
.obs-wrap { overflow-x: auto; }

/* そのまま使える：3つのメモ */
.memo3 { margin-top: 28px; background: var(--sheet); border: 1.5px solid var(--ink); }
.memo3__h { background: var(--ink); color: var(--paper); padding: 12px 18px; font-family: var(--font-serif); font-weight: 600; font-size: 18px; }
.memo3 ol { counter-reset: m; }
.memo3 li { counter-increment: m; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.memo3 li:last-child { border-bottom: 0; }
.memo3 li::before { content: counter(m); grid-row: 1 / span 3; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--shu); color: var(--shu-deep); font-weight: 700; display: grid; place-items: center; }
.memo3 strong { font-size: 17px; }
.memo3 .q { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.memo3 .ex { font-size: 14px; line-height: 1.8; background: var(--paper); padding: 6px 10px; border-left: 2px solid var(--rule); }

/* 役割分担 */
.roles { margin-top: 24px; display: grid; gap: 12px; }
@media (min-width: 720px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.roles > div { background: var(--sheet); border: 1px solid var(--rule); padding: 14px 16px; }
.roles h3 { margin-top: 0 !important; font-size: 15px !important; }
.roles .r-boss h3 { color: var(--ink); } .roles .r-ai h3 { color: var(--ai); } .roles .r-us h3 { color: var(--wait); }
.roles ul { margin-top: 8px; padding-left: 1.2em; list-style: disc; }
.roles li { font-size: 14.5px; line-height: 1.8; }

/* 次にやること・相談 */
.next { margin-top: 28px; padding: 18px 20px; border: 1.5px dashed var(--shu); background: var(--sheet); }
.next__k { font-size: 13px; font-weight: 700; color: var(--shu-deep); }
.next p { margin-top: 6px !important; font-size: 17px !important; font-weight: 700; }
.col-cta { margin-top: 72px; padding: 32px 24px; background: var(--paper-2); text-align: center; }
.col-cta::before { content: ""; display: block; width: 48px; height: 3px; background: var(--shu); margin: 0 auto 20px; }
.col-cta__h { font-family: var(--font-serif); font-weight: 600; font-size: clamp(19px, 0.6vw + 16px, 24px); line-height: 1.7; word-break: auto-phrase; }
.col-cta .btn { margin-top: 20px; }
.col-cta__note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* 記録と参照 */
.rec { margin-top: 48px; font-size: 13px; color: var(--ink-3); line-height: 1.9; border-top: 1px solid var(--rule); padding-top: 16px; }

/* 一覧 */
.col-list { margin-top: 40px; display: grid; gap: 16px; }
.ccard { display: block; background: var(--sheet); border: 1px solid var(--rule); padding: 20px 22px; color: var(--ink); text-decoration: none; }
.ccard:hover { border-color: var(--ink); }
.ccard__pillar { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--shu-deep); }
.ccard__q { margin-top: 8px; font-family: var(--font-serif); font-weight: 600; font-size: 20px; line-height: 1.6; word-break: auto-phrase; }
.ccard__a { margin-top: 8px; font-size: 15px; line-height: 1.85; color: var(--ink-2); }
.ccard__meta { margin-top: 10px; font-size: 12px; color: var(--ink-3); }
.col-soon { margin-top: 32px; font-size: 14px; color: var(--ink-3); line-height: 1.9; }
.col-soon ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }
.answer .small { font-size: 14px; color: var(--ink-3); line-height: 1.9; }
.col-rel { margin-top: 56px; }
.col-rel__h { font-family: var(--font-serif); font-weight: 600; font-size: 20px; }
.col-rel .col-list { margin-top: 16px; }
/* チェック表 */
.check { margin-top: 24px; background: var(--sheet); border: 1.5px solid var(--ink); }
.check__h { background: var(--ink); color: var(--paper); padding: 12px 18px; font-family: var(--font-serif); font-weight: 600; font-size: 18px; }
.check ul { padding: 6px 18px 12px; }
.check li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.8; }
.check li:last-child { border-bottom: 0; }
.check li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border: 1.5px solid var(--ink); background: var(--paper); }
.check li strong { display: block; font-size: 16px; }
.check li span { display: block; color: var(--ink-2); font-size: 14px; }
.check__group { padding: 12px 18px 0; font-size: 13px; font-weight: 700; color: var(--shu-deep); letter-spacing: 0.08em; }
/* そのまま使える文面 */
.tmpl { margin-top: 20px; background: var(--sheet); border: 1px solid var(--rule); border-left: 4px solid var(--shu); }
.tmpl__k { padding: 10px 16px; border-bottom: 1px solid var(--rule); font-size: 13px; font-weight: 700; color: var(--shu-deep); }
.tmpl__b { padding: 6px 18px 16px; }
.tmpl__b p { font-size: 15px !important; line-height: 1.9 !important; margin-top: 10px !important; }
/* 表 */
.tbl-wrap { margin-top: 20px; overflow-x: auto; }
.tbl { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; line-height: 1.75; background: var(--sheet); }
.tbl th, .tbl td { border: 1px solid var(--rule); padding: 9px 10px; text-align: left; vertical-align: top; }
.tbl thead th { background: var(--paper-2); font-size: 13px; }
.tbl tbody th { white-space: nowrap; font-weight: 700; }
@media (max-width: 599px) {
  .tbl { min-width: 0; font-size: 13.5px; }
  .tbl th, .tbl td { padding: 7px 6px; }
  .tbl tbody th { white-space: normal; }
}
.tbl th, .tbl td { overflow-wrap: normal; word-break: normal; line-break: strict; }
@media (max-width: 599px) { .tbl tbody th { min-width: 3em; } }

/* 列の多い表（3列以上。ビルドで tbl--stack と data-label を付ける）：狭い画面では1行ずつのカードにする */
@media (max-width: 599px) {
  .tbl--stack { min-width: 0; background: transparent; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tbl--stack tbody, .tbl--stack tr { display: block; }
  .tbl--stack tr { margin-bottom: 14px; background: var(--sheet); border: 1px solid var(--rule); }
  .tbl--stack tbody th, .tbl--stack td { display: block; border: 0; border-top: 1px solid var(--rule); padding: 8px 12px; }
  .tbl--stack tr > :first-child { border-top: 0; background: var(--paper-2); font-weight: 700; }
  .tbl--stack td[data-label]::before, .tbl--stack tbody th[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
  .tbl--stack tr > :first-child[data-label]::before { content: attr(data-label) "："; display: inline; font-size: 12px; color: var(--ink-3); }
  .tbl--stack td:empty { display: none; }
}

/* 記事末の「試した条件」（使ったAI・モデル・設定・日付。rules.md 6.4） */
.tried { margin-top: 48px; padding: 16px 20px; border: 1px solid var(--rule); background: var(--sheet); font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.tried__h { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
