/* 風評ドック テーマ本体 CSS。デザイン案 C（A2 ベース + A1 のヘッダー/フッター）。色は tokens.css、フォントは fonts.css。 */
/* 風評ドック デザインシステム（共通部分）。A1 / A2 で共通のトークン・文字・部品。
   色は tokens.css（案2: #1D9E75 基準）。フォントは fonts.css（自前ホスティング・外部CDNなし）。 */
:root {
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-latin: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  /* 余白（4px 基準） */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --fs-body: 17px; --lh-body: 1.95;
  --wrap: 1120px; --wrap-text: 720px;
}
@media (max-width: 767px) { :root { --fs-body: 16px; --lh-body: 1.9; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-text); background: #fff; letter-spacing: .02em; line-break: strict; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--c-brand-ink); text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-ink-hover); }
:focus-visible { outline: 3px solid var(--c-brand-ink); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; } /* WordPress 標準の :focus の黒い枠を、マウスで押した直後には出さない。キーボード操作の緑の枠（上）は残す */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: .03em; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
p { margin: 0 0 1.5em; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--c-brand-ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--text { width: min(var(--wrap-text), 100% - 40px); margin-inline: auto; }
@media (max-width: 767px) { .wrap { width: calc(100% - 40px); } }

/* ---- 英字ラベル（飾り。読み上げ不要） ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-latin); font-size: 12px; line-height: 1; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--c-brand-ink); }

/* ---- ボタン・リンク ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: var(--r-md); border: 1px solid transparent; background: var(--c-brand-ink); color: #fff; font: 700 16px/1 var(--font-sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s; }
.btn:hover { background: var(--c-brand-ink-hover); color: #fff; }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; border-radius: 10px; }
.btn--ghost { background: #fff; color: var(--c-brand-ink-strong); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-tint-50); color: var(--c-brand-ink-strong); }
.btn svg, .link-arrow svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c-brand-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; line-height: 1.4; }
.link-arrow:hover { color: var(--c-brand-ink-hover); }

/* ---- ロゴ（ロックアップ） ---- */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-text); }
.lockup img { width: 40px; height: 40px; }
.lockup__name { font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: .06em; font-feature-settings: "palt"; }
.lockup--sm img { width: 32px; height: 32px; } .lockup--sm .lockup__name { font-size: 17px; }

/* ---- ヘッダー（共通部分。高さ・ナビの形は a1/a2 で上書き） ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--c-line); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--c-text-2); text-decoration: none; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--c-brand-ink-strong); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line-strong); background: #fff; border-radius: 12px; color: var(--c-text); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-panel { display: none; border-top: 1px solid var(--c-line); background: #fff; }
.mobile-panel ul { list-style: none; padding: 8px 20px 20px; }
.mobile-panel li + li { border-top: 1px solid var(--c-line); }
.mobile-panel a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 16px; font-weight: 500; color: var(--c-text); text-decoration: none; }
.mobile-panel .btn { width: 100%; margin-top: 16px; justify-content: center; }
@media (max-width: 899px) {
  .nav, .site-header .btn--header { display: none; }
  .menu-btn { display: inline-flex; }
  body.menu-open .mobile-panel { display: block; }
}

/* ---- フッター（ヘッダーのメニューと重複させない: 法務リンクのみ） ---- */
.site-footer { margin-top: var(--s-10); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; }
.site-footer__legal a { font-size: 14px; color: var(--c-text-2); text-decoration: none; }
.site-footer__legal a:hover { color: var(--c-brand-ink-strong); text-decoration: underline; }
.site-footer small { display: block; font-size: 13px; color: var(--c-text-3); line-height: 1.7; }

/* ---- アイキャッチ（既存の暗いサイバー調の画像を、CSS だけで馴染ませる） ---- */
.eyecatch { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0c1d19; border-radius: var(--r-md); border: 1px solid var(--c-line-strong); }
.eyecatch img { width: 100%; height: 100%; object-fit: cover; }
/* 試作（design-system の比較用）。採用案は .eyecatch（= T1+T2 の組み合わせ）。*/
.eyecatch--t0 { border-radius: 0; border: 0; }
.eyecatch--t2 img { filter: saturate(.82) brightness(.97) contrast(.98); }
.eyecatch--t2::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); background: linear-gradient(180deg, rgba(14, 90, 67, 0) 55%, rgba(18, 121, 89, .22) 100%); pointer-events: none; }
.eyecatch--t3 { padding: 10px; background: var(--c-tint-50); border: 1px solid var(--c-tint-200); border-radius: var(--r-lg); }
.eyecatch--t3 > img { border-radius: 8px; }
.eyecatch--t3 { aspect-ratio: auto; }
.eyecatch--t3 .eyecatch__inner { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.eyecatch--t3 .eyecatch__inner img { width: 100%; height: 100%; object-fit: cover; }

/* ---- 記事カード（一覧・関連記事）---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; list-style: none; }
.card-post a { display: block; color: inherit; text-decoration: none; }
.card-post .eyecatch { border-radius: 10px; }
.card-post__meta { display: flex; align-items: center; gap: 10px; margin: 14px 0 6px; font-size: 12.5px; line-height: 1.4; color: var(--c-text-3); }
.card-post__cat { font-weight: 600; color: var(--c-brand-ink); }
.card-post__title { font-size: 15.5px; line-height: 1.7; font-weight: 600; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-post a:hover .card-post__title { color: var(--c-brand-ink-strong); text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 899px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (max-width: 559px) { .card-grid { grid-template-columns: 1fr; gap: 28px; } .card-post a { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: start; } .card-post__meta { margin-top: 0; } .card-post__title { -webkit-line-clamp: 3; font-size: 15px; } }

/* ---- 記事（本文） ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; font-size: 13px; line-height: 1.6; color: var(--c-text-3); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--c-text-3); }
.crumbs a { color: var(--c-text-2); text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.article-title { font-size: 34px; line-height: 1.5; letter-spacing: .03em; }
@media (max-width: 767px) { .article-title { font-size: 26px; line-height: 1.55; } }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--c-text-3); line-height: 1.6; }
.article-meta time { color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.prose { font-size: var(--fs-body); }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: 28px; line-height: 1.5; margin: 88px 0 28px; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; line-height: 1.6; margin: 56px 0 18px; scroll-margin-top: 96px; }
@media (max-width: 767px) { .prose h2 { font-size: 23px; margin: 64px 0 22px; } .prose h3 { font-size: 19px; margin: 44px 0 14px; } }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.6em; padding-left: 1.5em; }
.prose li { margin: .35em 0; padding-left: .25em; }
.prose ul { list-style: none; padding-left: 0; } .prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: .35em; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand); }
.prose ol li::marker { font-family: var(--font-latin); font-weight: 600; color: var(--c-brand-ink); }
.prose .table-wrap { overflow-x: auto; margin: 36px 0; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
.prose th, .prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.prose thead th { background: var(--c-surface); font-weight: 600; color: var(--c-text); white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose .note { margin: 32px 0; padding: 20px 24px; background: var(--c-surface); border-radius: var(--r-md); font-size: 15px; line-height: 1.85; color: var(--c-text-2); }

/* 目次（h2 を常時表示、h3 は開閉） */
.toc { margin: 40px 0; padding: 24px 28px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.toc__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.toc__title { font-size: 17px; font-weight: 700; }
.toc ol { list-style: none; counter-reset: toc; }
.toc > ol > li { counter-increment: toc; border-top: 1px solid var(--c-line); }
.toc > ol > li:first-child { border-top: 0; }
.toc details > summary, .toc li > a.toc__h2 { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; font-size: 15.5px; line-height: 1.7; font-weight: 500; color: var(--c-text); text-decoration: none; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc .toc__n { flex: none; width: 1.8em; font-family: var(--font-latin); font-size: 13px; font-weight: 600; color: var(--c-brand-ink); font-variant-numeric: tabular-nums; }
.toc .toc__n::before { content: counter(toc, decimal-leading-zero); }
.toc summary svg { margin-left: auto; width: 18px; height: 18px; color: var(--c-text-3); transition: transform .15s; flex: none; align-self: center; }
.toc details[open] summary svg { transform: rotate(180deg); }
.toc details ul { list-style: none; padding: 0 0 10px 2.6em; }
.toc details li { padding: 3px 0; } .toc details li::before { display: none; }
.toc details li a { font-size: 14.5px; line-height: 1.7; color: var(--c-text-2); text-decoration: none; } .toc details li a:hover { color: var(--c-brand-ink-strong); text-decoration: underline; }
.toc a:hover { color: var(--c-brand-ink-strong); }

/* 記事末の CTA（役割ごとに1つ: 診断へ。相談は控えめなテキストリンク） */
.cta { margin: 80px 0 56px; padding: 40px 44px; background: var(--c-tint-50); border: 1px solid var(--c-tint-200); border-radius: var(--r-xl); display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.cta__title { font-size: 21px; line-height: 1.6; }
.cta__text { margin: 8px 0 0; font-size: 15px; line-height: 1.85; color: var(--c-text-2); }
.cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.cta__sub { font-size: 14px; }
@media (max-width: 767px) { .cta { grid-template-columns: 1fr; padding: 28px 24px; margin: 56px 0 40px; } .cta__actions { align-items: stretch; } .cta .btn { width: 100%; } .cta__sub { align-self: flex-start; } .cta__title { font-size: 19px; } }

/* 監修者ボックス */
.supervisor { margin: 56px 0; padding: 28px 32px; background: #fff; border: 1px solid var(--c-line-strong); border-left: 4px solid var(--c-brand); border-radius: var(--r-md); }
.supervisor__label { margin: 8px 0 4px; font-size: 13px; color: var(--c-text-3); letter-spacing: .08em; }
.supervisor__name { font-size: 19px; font-weight: 700; line-height: 1.6; margin: 0 0 10px; }
.supervisor p { font-size: 15px; line-height: 1.9; color: var(--c-text-2); margin: 0 0 .8em; }
.supervisor p:last-child { margin: 0; }
@media (max-width: 767px) { .supervisor { padding: 22px 20px; } }

.related { margin-top: 96px; }
.related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.related__title { font-size: 26px; line-height: 1.4; margin-top: 12px; }

/* 診断ツール（現行プラグインのマークアップ。見た目の刷新は別ステップ。ここでは FV に収まる最小限の調整のみ） */
.tool-skin #fuuhyou-dock-app { max-width: none; margin: 0; padding: 0; font-family: var(--font-sans); }
.tool-skin .fd-hero { text-align: left; margin: 0 0 28px; }
.tool-skin .fd-badge { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--c-brand-ink); padding: 0; margin: 0 0 20px; border-radius: 0; font-family: var(--font-sans); font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.tool-skin .fd-badge::before { content: ""; width: 28px; height: 2px; background: var(--c-brand); }
.tool-skin .fd-hero h1 { font-size: 52px; line-height: 1.4; letter-spacing: .02em; color: var(--c-text); margin: 0 0 20px; }
.tool-skin .fd-hero p { font-size: 17px; line-height: 1.9; color: var(--c-text-2); margin: 0; max-width: 34em; }
.tool-skin .fd-search { display: flex; gap: 12px; margin: 0; }
.tool-skin .fd-search input { height: 60px; padding: 0 20px; border: 1px solid var(--c-input-border); border-radius: var(--r-md); font: 400 17px var(--font-sans); color: var(--c-text); background: #fff; flex: 1; min-width: 0; }
.tool-skin .fd-search input::placeholder { color: var(--c-text-3); }
.tool-skin .fd-search button { height: 60px; padding: 0 32px; border-radius: var(--r-md); background: var(--c-brand-ink); color: #fff; font: 700 16px var(--font-sans); letter-spacing: .04em; border: 0; cursor: pointer; white-space: nowrap; }
.tool-skin .fd-search button:hover { background: var(--c-brand-ink-hover); }
@media (max-width: 767px) { .tool-skin .fd-hero h1 { font-size: 30px; } .tool-skin .fd-hero p { font-size: 15.5px; } .tool-skin .fd-search { flex-direction: column; } .tool-skin .fd-search input, .tool-skin .fd-search button { height: 56px; width: 100%; flex: none; } }


/* ============ 組み合わせ版 C: A2（セクション・アイコン・図形・3ステップ）をベースに、ヘッダーとフッターは A1 の静かな方 ============ */
/* ---- ヘッダー（A1: 白・罫線のみ・テキストナビ・枠線のお問い合わせボタン） ---- */
.site-header__in { height: 72px; }
.nav { gap: 4px; margin-left: auto; margin-right: 20px; }
.nav a { border-radius: 8px; }
.nav a:hover { text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.btn--header { height: 42px; padding: 0 20px; font-size: 14px; border-radius: 10px; }
@media (max-width: 899px) { .site-header__in { height: 60px; } .lockup img { width: 34px; height: 34px; } .lockup__name { font-size: 18px; } }

/* (A2 由来) ============ 案 A2: セクション区切りとアイコン・図形で構造を見せる ============
   ヘッダー: ナビを丸いカプセルにまとめ、右にアイコンつきボタン
   FV      : 左に見出し＋診断入力、右にレーダーチャート風の図形（診断結果のイメージ。装飾）。直下に3ステップの帯
   区切り  : 面の色（白／淡い面／ティント）の交互配置、見出しのアクセントバー、アイコンつきカード */
/* ---- ファーストビュー ---- */
.fv { position: relative; overflow: hidden; padding: 88px 0 120px; background: linear-gradient(180deg, var(--c-tint-50) 0%, #fff 92%); }
.fv__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.fv .tool-skin .fd-hero h1 { font-size: 46px; }
.fv__art { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; margin-inline: auto; }
.art__disc { position: absolute; inset: 6%; border-radius: 50%; background: var(--c-tint-100); }
.art__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--c-tint-200); }
.art__ring--2 { inset: 16%; border-style: dashed; }
.art__radar { position: absolute; inset: 10%; }
.art__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--c-text-2); box-shadow: 0 6px 18px rgba(14, 58, 44, .08); line-height: 1; }
.art__chip svg { width: 16px; height: 16px; color: var(--c-brand-ink); }
.fv::before { content: ""; position: absolute; right: -180px; top: -200px; width: 640px; height: 640px; border-radius: 50%; background: var(--c-tint-100); opacity: .55; }
.fv::after { content: ""; position: absolute; left: -120px; bottom: -160px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid var(--c-tint-200); }
@media (max-width: 899px) { .fv { padding: 56px 0 72px; } .fv__grid { grid-template-columns: 1fr; gap: 40px; } .fv .tool-skin .fd-hero h1 { font-size: 30px; } .fv__art { max-width: 300px; } .art__chip { font-size: 11.5px; padding: 7px 11px; } }

/* ---- 3ステップの帯 ---- */
.steps { position: relative; z-index: 2; margin-top: -56px; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); box-shadow: 0 10px 30px rgba(14, 58, 44, .06); list-style: none; overflow: hidden; }
.steps li { padding: 28px 32px; align-content: start; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; }
.steps li + li { border-left: 1px solid var(--c-line); }
.steps__n { grid-row: span 2; font-family: var(--font-latin); font-size: 34px; line-height: 1; font-weight: 600; color: var(--c-brand-ink); letter-spacing: -.02em; }
.steps__t { font-size: 17px; font-weight: 700; line-height: 1.5; }
.steps__d { font-size: 14.5px; line-height: 1.8; color: var(--c-text-2); }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; margin-top: -32px; } .steps li + li { border-left: 0; border-top: 1px solid var(--c-line); } .steps li { padding: 20px 22px; } }

/* ---- セクション ---- */
.sec { padding: 104px 0; }
.sec--surface { background: var(--c-surface); }
.sec-head { margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 14px; }
.sec-title { font-size: 32px; line-height: 1.5; display: flex; align-items: center; gap: 16px; }
.sec-title::before { content: ""; width: 5px; height: 1.15em; border-radius: 3px; background: var(--c-brand); flex: none; }
.about { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.about p { font-size: 17px; line-height: 2; color: var(--c-text-2); }
.about__panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: 28px 32px; }
.about__panel h3 { font-size: 15px; letter-spacing: .08em; color: var(--c-text-3); margin-bottom: 14px; font-weight: 600; }
.about__panel ul { list-style: none; }
.about__panel li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--c-line); font-size: 15.5px; font-weight: 500; }
.about__panel li:first-child { border-top: 0; }
.about__panel svg { width: 20px; height: 20px; color: var(--c-brand-ink); flex: none; }
.icon-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.icon-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 28px 24px 26px; }
.icon-card__ic { width: 48px; height: 48px; border-radius: 50%; background: var(--c-tint-100); color: var(--c-brand-ink-strong); display: grid; place-items: center; margin-bottom: 20px; }
.icon-card__ic svg { width: 24px; height: 24px; }
.icon-card p { margin: 0; font-size: 15.5px; line-height: 1.85; font-weight: 500; }
.sec-foot { margin-top: 48px; }
@media (max-width: 899px) { .sec { padding: 72px 0; } .about { grid-template-columns: 1fr; gap: 28px; } .icon-cards { grid-template-columns: repeat(2, 1fr); gap: 14px; } .sec-title { font-size: 25px; } .icon-card { padding: 22px 18px; } }
@media (max-width: 559px) { .icon-cards { grid-template-columns: 1fr; } }

/* ---- 記事 ---- */
.article-head { padding: 56px 0 36px; background: linear-gradient(180deg, var(--c-tint-50), #fff); }
.article-head .crumbs { margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; background: var(--c-tint-100); color: var(--c-brand-ink-strong); border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.article-head .article-meta { margin-top: 22px; }
.article-meta svg { width: 16px; height: 16px; color: var(--c-text-3); display: inline-block; vertical-align: -3px; margin-right: 6px; }
.article-hero { width: min(720px, 100% - 40px); margin: 0 auto 56px; }
.prose h2 { display: flex; gap: 14px; align-items: flex-start; }
.prose h2::before { content: ""; flex: none; width: 5px; height: 1.2em; margin-top: .15em; border-radius: 3px; background: var(--c-brand); }
.prose h3 { padding-left: 14px; border-left: 3px solid var(--c-tint-200); }
.toc { background: #fff; border-color: var(--c-line-strong); }
.cta { grid-template-columns: 1fr; gap: 26px; }
.cta__actions { flex-direction: row; align-items: center; gap: 28px; margin-left: 78px; flex-wrap: wrap; }
.cta__body { display: flex; gap: 22px; align-items: flex-start; }
.cta__body > div:last-child { flex: 1; min-width: 0; }
.cta__ic { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--c-brand-ink-strong); display: grid; place-items: center; border: 1px solid var(--c-tint-200); }
.cta__ic svg { width: 26px; height: 26px; }
.supervisor { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; background: var(--c-surface); border: 1px solid var(--c-line); border-left: 1px solid var(--c-line); border-radius: var(--r-lg); }
.supervisor > :not(.supervisor__ic) { grid-column: 2; }
.supervisor__ic { grid-row: 1 / span 5; width: 52px; height: 52px; border-radius: 50%; background: var(--c-tint-100); color: var(--c-brand-ink-strong); display: grid; place-items: center; }
.supervisor__ic svg { width: 26px; height: 26px; }
@media (max-width: 767px) { .article-head { padding: 32px 0 24px; } .cta { grid-template-columns: 1fr; } .cta__actions { margin-left: 0; flex-direction: column; align-items: stretch; gap: 18px; } .cta__ic { display: none; } .supervisor > :not(.supervisor__ic) { grid-column: 1; } .supervisor { grid-template-columns: 1fr; } .supervisor__ic { display: none; } }

/* ---- フッター（淡い・罫線のみ。ヘッダーのメニューと重複させない） ---- */
.site-footer { margin-top: 56px; padding: 64px 0 56px; border-top: 1px solid var(--c-line); background: #fff; }
.site-footer__in { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.site-footer__in .lockup { justify-self: start; } /* グリッドの子は既定で列いっぱいに伸びる。リンクの範囲をマークと文字だけにする */
.site-footer small { margin-top: 48px; }
@media (max-width: 767px) { .site-footer__in { grid-template-columns: 1fr; } .site-footer { margin-top: 40px; padding: 48px 0 40px; } }


/* ---- レーダー図の「サンプル」表示 ---- */
.art__badge { position: absolute; left: 50%; top: -2%; transform: translateX(-50%); display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--c-brand-ink-strong); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; z-index: 2; }
.art__note { margin: 14px auto 0; max-width: 460px; text-align: center; font-size: 12.5px; line-height: 1.7; color: var(--c-text-2); }
@media (max-width: 899px) { .art__note { font-size: 12px; } }

/* ---- 文節で改行（スマホで単語の途中で切れないように） ---- */
.nb { display: inline-block; }
.steps__d, .art__note { word-break: auto-phrase; text-wrap: pretty; }
.steps__n { min-width: 2ch; width: 2.1ch; }

/* ============ ブロックテーマ向けの調整・既存本文（Cocoon 由来のマークアップを含む）の互換スタイル ============ */
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 30; }
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.wp-block-post-content.prose { max-width: none; margin: 0; padding: 0; }
.prose p:empty { display: none; }
.prose a { text-decoration: underline; }
.prose .wp-block-table { overflow-x: auto; margin: 36px 0; border: 1px solid var(--c-line); border-radius: var(--r-md); }
.prose .wp-block-table table { margin: 0; border: 0; }
.prose figure { margin: 32px 0; }
.prose img { height: auto; border-radius: var(--r-sm); }
.prose .wp-element-caption { margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--c-text-3); text-align: center; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--c-line); margin: 48px 0; }
.prose .blank-box, .prose .block-box { margin: 32px 0; padding: 20px 24px; background: var(--c-surface); border-radius: var(--r-md); font-size: 15px; line-height: 1.85; color: var(--c-text-2); }
.prose .wp-block-embed { margin: 32px 0; }
.prose .has-text-align-center { text-align: center; }
.prose pre { overflow-x: auto; padding: 16px 20px; background: var(--c-surface); border-radius: var(--r-md); font-size: 14px; }

/* 記事ページ: 文字幅・ヒーロー */
.article-hero { width: min(720px, 100% - 40px); margin: 0 auto 56px; }
.article-hero .eyecatch { margin: 0; }
.article-head { padding: 56px 0 36px; background: linear-gradient(180deg, var(--c-tint-50), #fff); }
.article-head .crumbs { margin-bottom: 28px; }
.article-head .article-meta { margin-top: 22px; }
.article-meta svg { width: 16px; height: 16px; color: var(--c-text-3); display: inline-block; vertical-align: -3px; margin-right: 6px; }

/* FV（トップ）の診断ツール: 入力前の見た目のみ。結果画面は tool-min.css の最小限の上書きだけ */
.fv .fv__artwrap { min-width: 0; }

/* 固定ページ・一覧の見出し */
.page-head { padding: 64px 0 40px; background: linear-gradient(180deg, var(--c-tint-50), #fff); }
.page-head .crumbs { margin-bottom: 24px; }
.page-title { font-size: 34px; line-height: 1.5; }
.archive-body { padding: 24px 0 0; }
.pager { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--c-line-strong); border-radius: 10px; text-decoration: none; color: var(--c-text); font-weight: 600; }
.pager .page-numbers.current { background: var(--c-brand-ink); border-color: var(--c-brand-ink); color: #fff; }
.pager a.page-numbers:hover { background: var(--c-tint-50); }
@media (max-width: 767px) { .page-head { padding: 36px 0 24px; } .page-title { font-size: 26px; } }
.notfound { padding: 96px 0; text-align: center; }
.notfound .page-title { margin-bottom: 20px; }

/* WordPress 標準のレイアウト規則（:root :where(.is-layout-flow) > * { margin: 0 }）に負けないよう、本文の段落の余白を明示する */
.prose > p { margin: 0 0 1.5em; }
.prose > ul, .prose > ol { margin: 0 0 1.6em; }
.prose > figure, .prose > .wp-block-table { margin-block: 32px; }
.prose > .wp-block-table { margin-block: 36px; }
.prose > .toc { margin-block: 40px; }
/* 表: コアの block-library の罫線（黒・太い）をデザインの罫線に置き換える */
.prose .wp-block-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.75; border: 0; }
.prose .wp-block-table th, .prose .wp-block-table td { padding: 14px 18px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--c-line); }
.prose .wp-block-table thead { border: 0; }
.prose .wp-block-table thead th { background: var(--c-surface); font-weight: 600; color: var(--c-text); white-space: nowrap; }
.prose .wp-block-table tbody tr:last-child td { border-bottom: 0; }
.prose .wp-block-table figcaption { padding: 8px 18px 12px; font-size: 13px; color: var(--c-text-3); }

.mobile-panel svg { width: 18px; height: 18px; flex: none; color: var(--c-text-3); }

.mobile-panel .btn { color: #fff; min-height: 52px; font-size: 16px; }
.mobile-panel .btn:hover { color: #fff; }

/* 固定ページ本文の先頭に、ページタイトルと同じ H1 が入っているページ（お問い合わせ・法務・著者など）。旧サイトでもタイトルと本文の両方が H1 だった。
   見出し構成（DOM）は変えず、見た目はタイトル側の 1 つだけにする（同じ文言の重複表示を避ける）。 */
.prose > h1:first-child { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lockup h1.lockup__name { margin: 0; }

/* 本文中の自サイト記事のブログカード */
.blogcard { margin: 32px 0; }
.blogcard__link { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--c-line-strong); border-radius: var(--r-md); text-decoration: none; color: inherit; background: #fff; }
.blogcard__link:hover { background: var(--c-tint-50); }
.blogcard__thumb img { width: 160px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--c-line); }
.blogcard__title { display: block; font-size: 16px; line-height: 1.6; font-weight: 700; color: var(--c-text); }
.blogcard__snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 13.5px; line-height: 1.7; color: var(--c-text-2); }
.blogcard__meta { display: block; margin-top: 8px; font-size: 12.5px; color: var(--c-text-3); }
@media (max-width: 559px) { .blogcard__link { grid-template-columns: 112px 1fr; gap: 12px; padding: 12px; } .blogcard__thumb img { width: 112px; height: 63px; } .blogcard__title { font-size: 14.5px; } .blogcard__snippet { display: none; } }

.prose a.blogcard__link { text-decoration: none; }
.prose a.blogcard__link .blogcard__title { text-decoration: none; }
.prose a.blogcard__link:hover .blogcard__title { text-decoration: underline; text-underline-offset: .2em; }

/* 「こんな方におすすめ」: 本文の ✅ を表示する（アイコンなし）。✅ は行頭に固定し、折り返した行は文字の位置にそろえる */
.icon-card--check { padding: 24px 22px; }
.icon-card--check p { position: relative; padding-left: 1.9em; }
.icon-card--check .check-mark { position: absolute; left: 0; top: 0; width: 1.5em; line-height: inherit; text-align: left; }

/* スマホのメニューを開いたとき: メニューとページの境目をはっきりさせる（ページを暗くし、メニューに影と濃い線をつける） */
@media (max-width: 899px) {
  body.menu-open::before { content: ""; position: fixed; inset: 0; background: rgba(14, 58, 44, .45); z-index: 20; }
  body.menu-open .mobile-panel { border-bottom: 2px solid var(--c-brand-ink); box-shadow: 0 14px 28px rgba(14, 58, 44, .22); }
  body.menu-open { overflow: hidden; }
}
