/* 看護師のお給料ものさし：共通スタイル
   コンセプト：結果を「給与明細」の形で見せる。目立たせるのは明細と合計額だけで、ほかは静かに */
:root {
  --paper: #f1f5f8;   /* 背景：明細用紙の淡いブルー */
  --sheet: #ffffff;   /* 明細・カードの紙 */
  --ink: #1e2b28;     /* 文字 */
  --sub: #55655f;     /* 補足の文字 */
  --green: #2f5f7a;   /* アクセント（ボタン・見出しの線） */
  --rule: #c8d8e2;    /* 罫線 */
  --marker: #ffe58a;  /* 合計額のマーカー */
  --minus: #a2462f;   /* マイナス差額 */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
a { color: var(--green); }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* ヘッダー・フッター */
.site-header, main, .site-footer { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.site-header { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; padding-top: 18px; padding-bottom: 6px; }
.logo { font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; margin-right: auto; }
.site-header nav { display: flex; gap: 16px; font-size: 15px; }
.pr { max-width: 680px; margin: 0 auto; padding: 0 16px; font-size: 13px; color: var(--sub); }
.site-footer { margin-top: 64px; padding-top: 16px; padding-bottom: 40px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--sub); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 8px; }

/* 見出しと本文 */
h1 { font-size: 28px; line-height: 1.4; margin: 28px 0 8px; }
h2 { font-size: 22px; line-height: 1.5; margin: 44px 0 12px; padding-left: 12px; border-left: 4px solid var(--green); }
h3 { font-size: 18px; margin: 28px 0 8px; }
.lead { color: var(--sub); margin: 0 0 24px; }
.note { font-size: 14px; color: var(--sub); }
table.plain { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
table.plain th, table.plain td { border-bottom: 1px solid var(--rule); padding: 8px 6px; text-align: left; }
table.plain td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 入力フォーム */
.calc { display: grid; gap: 14px; }
.calc label { display: grid; gap: 4px; font-weight: 700; font-size: 15px; }
.calc select, .calc input[type="text"] {
  font: inherit; font-weight: 400; width: 100%;
  padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink);
}
.calc .check { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.calc .check input { width: 20px; height: 20px; accent-color: var(--green); }

/* 結果：給与明細 */
.slip {
  margin: 28px 0 8px; background: var(--sheet); border: 1px solid var(--rule); border-top: 6px solid var(--green);
  padding: 18px 18px 14px; font-variant-numeric: tabular-nums;
}
.slip-head { display: flex; justify-content: space-between; font-size: 14px; color: var(--sub); border-bottom: 1px dashed var(--rule); padding-bottom: 8px; }
.slip table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 15px; }
.slip th { text-align: left; font-weight: 400; padding: 6px 0; }
.slip td { text-align: right; padding: 6px 0; white-space: nowrap; }
.slip tr + tr th, .slip tr + tr td { border-top: 1px solid var(--rule); }
.slip .total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; }
.slip .total b { font-size: 40px; line-height: 1.2; background: linear-gradient(transparent 62%, var(--marker) 62%); }
.slip .sub-total { display: flex; justify-content: space-between; font-size: 14px; color: var(--sub); }
.advice { margin: 16px 0 0; }
.advice p { margin: 6px 0; }

/* 次の一歩への誘導 */
.next { margin: 28px 0; padding: 16px 18px; background: var(--sheet); border-left: 4px solid var(--green); }
.next a { font-weight: 700; }

/* 広告ボタン（記事内の [[cta:…]]） */
.cta { margin: 16px 0 24px; }
.cta a {
  display: block; text-align: center; padding: 14px 16px; border-radius: 8px;
  background: var(--green); color: #fff; font-weight: 700; text-decoration: none;
}
.cta a:hover { filter: brightness(1.1); }
.cta img { display: block; width: 1px; height: 1px; }

/* 記事一覧 */
.posts { list-style: none; padding: 0; margin: 0; }
.posts li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.posts a { font-weight: 700; text-decoration: none; }
.posts p { margin: 4px 0 0; font-size: 15px; color: var(--sub); }

/* 記事内の表：スマホでは横スクロール（ページ全体がはみ出さないように） */
article table {
  display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-collapse: collapse; font-size: 15px; margin: 16px 0;
}
article th, article td { border-bottom: 1px solid var(--rule); padding: 8px 6px; text-align: left; vertical-align: top; min-width: 5em; }
article thead th { border-bottom: 2px solid var(--rule); white-space: nowrap; }

/* パンくずリスト */
.breadcrumb { margin: 20px 0 0; font-size: 13px; color: var(--sub); }
.breadcrumb a { color: var(--sub); }
.breadcrumb span[aria-hidden] { margin: 0 6px; }

/* 関連記事 */
.related { margin-top: 44px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media (max-width: 480px) { h1 { font-size: 24px; } .slip .total b { font-size: 34px; } }

/* hidden 属性を確実に効かせる（.calc label の display 指定に負けないように） */
[hidden] { display: none !important; }

/* 求人の年収比較（/hikaku/）：いまの職場と求人を左右（スマホは上下）に並べる */
.pair { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pair fieldset { margin: 0; padding: 14px 14px 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); display: grid; gap: 12px; min-width: 0; }
.pair legend { font-weight: 700; padding: 0 6px; }
.pair .unit { display: grid; grid-template-columns: 5.5em 1fr; gap: 6px; }
@media (max-width: 600px) { .pair { grid-template-columns: 1fr; } }
.slip table.cmp th, .slip table.cmp td { padding: 6px 0 6px 6px; }
.slip table.cmp thead th { font-size: 13px; color: var(--sub); text-align: right; }
.slip table.cmp thead th:first-child { text-align: left; }
.slip table.cmp tfoot th, .slip table.cmp tfoot td { font-weight: 700; border-top: 2px solid var(--ink); }
.minus { color: var(--minus); }

/* 手取り計算（/tedori/） */
.site-header nav { flex-wrap: wrap; gap: 4px 16px; }
.calc .unit { display: grid; grid-template-columns: 1fr 9em; gap: 6px; }
.calc .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .calc .row2 { grid-template-columns: 1fr; } }
.calc details { border: 1px solid var(--rule); border-radius: 8px; padding: 10px 14px; background: var(--sheet); }
.calc details summary { cursor: pointer; font-weight: 700; }
.calc details[open] { display: grid; gap: 12px; }
.wide { overflow-x: auto; }

/* 図（SVG） */
.fig { margin: 24px 0; }
.fig img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 12px; background: var(--sheet); }
.fig figcaption { margin-top: 6px; font-size: 14px; color: var(--sub); }

/* 看護師国家試験 一問一答（/quiz/）。介護サイトと同じ部品 */
.quiz { margin: 20px 0 8px; background: var(--sheet); border: 1px solid var(--rule); border-top: 6px solid var(--green); padding: 16px 16px 12px; }
.quiz h2 { margin-top: 24px; font-size: 18px; }
.quiz-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; border-bottom: 1px dashed var(--rule); padding-bottom: 10px; }
.quiz-total b { font-size: 34px; line-height: 1.2; background: linear-gradient(transparent 62%, var(--marker) 62%); font-variant-numeric: tabular-nums; }
.quiz-total .note { flex-basis: 100%; margin: 0; }
.quiz-modes { display: grid; gap: 10px; margin: 16px 0 4px; }
.quiz button { font: inherit; cursor: pointer; touch-action: manipulation; }
.btn-main, .btn-sub {
  display: block; width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.btn-main { background: var(--green); color: #fff; border: 2px solid var(--green); }
.btn-sub { background: var(--sheet); color: var(--green); border: 2px solid var(--green); }
.btn-main:hover, .btn-sub:hover { filter: brightness(1.08); }
.btn-sub:disabled { color: var(--sub); border-color: var(--rule); cursor: default; filter: none; }
.link-btn { background: none; border: 0; padding: 4px 2px; color: var(--green); text-decoration: underline; font-size: 14px; min-height: 44px; }
.quiz-subjects { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.quiz-subjects button {
  width: 100%; min-height: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 12px;
  text-align: left; padding: 10px 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 8px; font-weight: 700;
}
.quiz-subjects button:hover { border-color: var(--green); }
.quiz-subjects .meta { font-weight: 400; font-size: 14px; color: var(--sub); font-variant-numeric: tabular-nums; }
.quiz-bar { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--sub); border-bottom: 1px dashed var(--rule); padding-bottom: 8px; }
.quiz-q { font-size: 18px; font-weight: 700; margin: 14px 0; }
.quiz-choices { display: grid; gap: 10px; }
.quiz-choices.tf { grid-template-columns: 1fr 1fr; }
.quiz-choices button {
  min-height: 56px; padding: 12px 14px; text-align: left; line-height: 1.6;
  background: var(--sheet); color: var(--ink); border: 2px solid var(--rule); border-radius: 8px;
}
.quiz-choices.tf button { text-align: center; font-size: 30px; font-weight: 700; min-height: 72px; }
.quiz-choices button:not(:disabled):hover { border-color: var(--green); }
.quiz-choices button:disabled { cursor: default; }
.quiz-choices button.is-right { border-color: var(--green); background: #e3f1ec; }
.quiz-choices button.is-right::before { content: "正解 "; font-size: 13px; font-weight: 700; color: var(--green); }
.quiz-choices.tf button.is-right::before { content: ""; }
.quiz-choices button.is-wrong { border-color: var(--minus); background: #f8e9e5; }
.quiz-feedback { margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--ink); }
.quiz-verdict { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.quiz-verdict.ok { color: var(--green); }
.quiz-verdict.ng { color: var(--minus); }
.quiz-feedback .btn-main { margin-top: 8px; }
.next-title { margin: 0 0 8px; font-size: 18px; padding-left: 0; border-left: 0; }
.quiz-link { margin-top: 16px; font-size: 15px; }
.quiz-link a { font-weight: 700; }
.quiz-sources summary { cursor: pointer; color: var(--green); font-weight: 700; }
.quiz-sources li { font-size: 14px; margin: 4px 0; }
/* 夜勤72時間ルールの計算（/yakin72/）：人数×夜勤時間の行 */
.nrows { display: grid; gap: 10px; }
.nrow { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 10px; border: 1px solid var(--rule); border-radius: 8px; background: var(--sheet); }
.nrow label { font-size: 13px; }
@media (max-width: 480px) { .nrow { grid-template-columns: 1fr 1fr; } .nrow label:last-child { grid-column: 1 / -1; } }
.nbtns { display: flex; gap: 10px; flex-wrap: wrap; }
.nbtns button { font: inherit; font-size: 15px; cursor: pointer; padding: 8px 14px; border: 1px solid var(--green); border-radius: 8px; background: var(--sheet); color: var(--green); touch-action: manipulation; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll table.plain { min-width: 520px; }
#b-table td.ok { color: #1f6b4f; font-weight: 700; }
#b-table td.ng { color: #b23b2a; font-weight: 700; }

/* ===== 2026-10 デザイン見直し（枠・見出し・ナビ）=====
   ねらい：仕事帰りにスマホで開いても、どこを押せば計算できるかがすぐ分かること。
   ・ヘッダーは白い帯にして、ロゴの「印」で看板を作る
   ・ナビは折り返さない横スクロールのタブ。今いるページに下線
   ・見出しだけ丸みのある字体（本文は読みやすさ優先の BIZ UDPゴシックのまま） */
.site-header {
  position: relative; background: var(--sheet);
  box-shadow: 0 0 0 100vmax var(--sheet); clip-path: inset(0 -100vmax);
  border-bottom: 1px solid var(--rule);
  display: grid; gap: 6px; padding-top: 14px; padding-bottom: 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.logo .mark { width: auto; height: 28px; flex: none; }
.site-header nav.tabs {
  display: flex; flex-wrap: nowrap; gap: 2px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 0 12px; font-size: 15px;
}
.site-header nav.tabs::-webkit-scrollbar { display: none; }
.site-header nav.tabs a {
  flex: none; white-space: nowrap; text-decoration: none; color: var(--sub);
  padding: 10px 10px 9px; border-bottom: 3px solid transparent;
}
.site-header nav.tabs a:hover { color: var(--ink); }
.site-header nav.tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--green); }
.pr { margin-top: 10px; font-size: 12px; }

h1, h2, h3, .next-title { font-family: var(--head); letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: 30px; line-height: 1.35; font-weight: 700; margin-top: 22px; }
h2 { border-left: 0; padding-left: 0; padding-top: 12px; border-top: 2px solid var(--ink); font-size: 22px; }
.lead { font-size: 16px; }
.slip .total b, .quiz-total b { font-family: var(--head); }
.cta a, .btn-main { border-radius: 10px; font-family: var(--head); letter-spacing: .02em; }
.posts a { font-family: var(--head); }
@media (max-width: 480px) { h1 { font-size: 25px; } }

:root { --head: "M PLUS 1p", "BIZ UDPGothic", "Hiragino Sans", sans-serif; --green: #23395b; --paper: #f2f5f9; --rule: #cbd6e3; --marker: #f6d27a; }
.site-header nav.tabs { padding-right: 32px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }

/* 信頼の部品（2026-10-13）：日付・要約ボックス・目次・吹き出し・章末ボタン・著者ボックス */
.dates { margin: 0 0 16px; font-size: 14px; color: var(--sub); }
.dates time + time, .dates time { white-space: nowrap; }
.summary { margin: 16px 0 20px; padding: 14px 18px 10px; background: var(--sheet); border: 2px solid var(--green); border-radius: 4px; }
.summary-label { display: inline-block; margin: 0 0 6px; padding: 0 10px; background: var(--green); color: var(--sheet); font-weight: 700; font-size: 14px; border-radius: 2px; }
.summary ul { margin: 0; padding-left: 1.2em; }
.summary li { margin: 2px 0 6px; }
.toc { margin: 0 0 28px; padding: 12px 18px; background: var(--sheet); border-left: 4px solid var(--rule); font-size: 15px; }
.toc-title { margin: 0 0 4px; font-weight: 700; color: var(--sub); }
.toc ol { margin: 0; padding-left: 1.4em; }
.toc li { margin: 2px 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.say { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; }
.say-face { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.say-body { position: relative; flex: 1; padding: 10px 14px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; }
.say-body::before { content: ""; position: absolute; left: -8px; top: 18px; width: 14px; height: 14px; background: var(--sheet); border-left: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transform: rotate(45deg); }
.say-name { display: block; font-size: 13px; color: var(--sub); }
.say-body p { margin: 0; }
.btn-cta { margin: 20px 0 32px; text-align: center; }
.btn { display: inline-block; max-width: 100%; padding: 12px 22px; background: var(--green); color: var(--sheet); font-weight: 700; text-decoration: none; border-radius: 999px; box-shadow: 0 2px 0 rgba(0,0,0,.18); }
.btn:hover { filter: brightness(1.1); }
.author { display: flex; gap: 14px; align-items: flex-start; margin: 36px 0 12px; padding: 16px 18px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 4px; font-size: 15px; }
.author-face { flex: none; width: 72px; height: 72px; border-radius: 50%; }
.author-body p { margin: 0 0 6px; }
.author-name { font-weight: 700; }
.author-link { font-size: 14px; }

/* 自己採点ツール（/goukakuten/・/border/）：入力のしかたの切り替え・科目ごとの欄・合格の見込み・当日の入口（2026-10-13） */
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.seg button { font: inherit; font-size: 15px; cursor: pointer; padding: 8px 14px; border: 1px solid var(--green); border-radius: 8px; background: var(--sheet); color: var(--green); touch-action: manipulation; }
.seg button[aria-pressed="true"] { background: var(--green); color: #fff; }
.calc .subj { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.calc .subj label { margin: 0; }
.calc .subj small { display: block; font-weight: 400; color: var(--sub); }
@media (max-width: 480px) { .calc .subj { grid-template-columns: 1fr; } }
.verdict { margin: 14px 0 6px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 8px; background: var(--sheet); }
.verdict-label { font-size: 14px; color: var(--sub); }
.verdict .rank { display: inline-block; margin-top: 4px; font-size: 30px; line-height: 1.2; font-weight: 700; font-family: var(--head); background: linear-gradient(transparent 62%, var(--marker) 62%); }
.verdict p { margin: 8px 0 0; }
.slip .weak { color: var(--minus); }
.slip .share { margin: 12px 0 0; }
.slip .share .btn-sub { display: block; text-align: center; text-decoration: none; }
.line-entry { margin: 16px 0 0; padding: 12px 14px; border: 1px dashed var(--green); border-radius: 8px; background: var(--sheet); }
.line-entry p { margin: 0 0 8px; }
.line-entry .btn-cta { margin: 0; }

/* 問い合わせフォーム（/contact/）。contactkit.py */
.calc textarea { font: inherit; font-weight: 400; width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink); resize: vertical; }
.calc input[type="email"] { font: inherit; font-weight: 400; width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink); }
.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-result { font-weight: 700; min-height: 1.5em; }

/* ── 見本3の型（2026-10-16）：見出しの帯・図解カード・冒頭カード・マーカー ── */
article h2 { text-wrap: pretty; border-top: 0; border-left: 6px solid var(--green); background: color-mix(in srgb, var(--green) 9%, #fff); padding: 10px 12px; border-radius: 0 8px 8px 0; font-size: 19px; margin: 40px 0 14px; }
article p { margin: 0 0 16px; }
mark.m { background: linear-gradient(transparent 55%, #FFF0A6 55%); color: inherit; font-weight: 700; padding: 0 1px; }
.card { margin: 6px 0 18px; padding: 14px 14px 10px; border: 2px solid #F3E3A0; background: #FFF9E6; border-radius: 16px; text-align: center; }
.card-tag { margin: 0; font-size: 13px; font-weight: 700; color: var(--green); }
.card-big { margin: 2px 0; font-size: 34px; font-weight: 900; line-height: 1.25; color: #B5501E; }
.card-big small { font-size: 14px; color: var(--ink); margin-left: 2px; }
.card-illust { display: block; max-height: 170px; max-width: 200px; width: auto; height: auto; margin: 6px auto 0; mix-blend-mode: multiply; }
.card-note { margin-top: 6px; font-size: 11.5px; line-height: 1.5; color: var(--sub); text-align: left; }
.eye { margin: 12px 0 18px; display: flex; align-items: center; gap: 8px; padding: 12px 10px 12px 16px; border: 2px solid #F3E3A0; background: #FFF9E6; border-radius: 14px; }
.eye p { margin: 0; flex: 1; font-weight: 800; font-size: 18px; line-height: 1.5; color: #5a4b12; }
.eye p small { display: block; font-size: 13px; color: var(--green); }
.eye .card-illust { width: 112px; max-height: 140px; margin: 0; flex: none; }

/* ── 見本3の色（2026-10-16 カフェオレ「見本と同じにできないか」）：白い紙・緑のアクセント・生成りの罫線 ── */
:root { --paper: #ffffff; --sheet: #ffffff; --ink: #262626; --sub: #6b6b6b; --green: #2F7D63; --rule: #ECE7D9; --marker: #FFF0A6; }
.site-header { border-bottom: 3px solid var(--green); }
.toc { background: #FAFAF7; border-left-color: var(--green); }
.summary { border-radius: 12px; }
.summary-label { border-radius: 999px; }
article h2 { background: #EEF6F1; }
.author, .say-body { background: #FAFAF7; }

/* ── 色の調整（2026-10-16）：イラストの黄（からし色 H50・彩度0.5）に合わせて全体を暖色寄りに ──
   ・背景：真っ白 → ほんのり生成り。黄色のカードやイラストと温度がそろう
   ・アクセントの緑：青みの緑（H160・彩度0.62）→ 黄みの落ち着いた緑（H140・彩度0.48）。イラストと同じくらいの彩度で、隣り合う色相（類似色）に寄せる
   ・文字・罫線も少し暖かいグレーに。白い紙（目次・書いた人）は背景から浮かせる
   ・緑の文字と背景のコントラストは 4.8以上（WCAG AA） */
:root { --paper: #FCFAF4; --sheet: #FFFFFF; --ink: #2B2A26; --sub: #6E6A60; --green: #3D7650; --rule: #ECE5D3; }
.toc, .author, .say-body { background: #FFFFFF; }
article h2 { background: #EEF4EA; }
.card, .eye { background: #FFF8E3; border-color: #EEDC98; }

/* ══ デザイン v2（2026-10-17）：整ったメディアの質感。全ページ共通の部品 ══
   ・白いカード＋ごく淡い青緑の地、枠線ではなく影で浮かせる（角丸16〜22px）
   ・主色は青緑、押させるボタンだけオレンジ。見出しは濃紺の丸ゴシック
   ・アイコンはインラインSVG（.ms。shared/ui/icons.py。2026-10-28 フォントから置き換え） */
:root { --paper: #F3F8FA; --sheet: #FFFFFF; --ink: #1F2A33; --sub: #5E6B76; --green: #0E8A8A; --rule: #E3ECF0;
  --navy: #1E3A5F; --orange: #F07B2E; --orange-dk: #D5631A; --num: #E0611F; --mark: #FFE7A3; --teal-bg: #E6F4F4;
  --sh: 0 6px 20px rgba(20,60,80,.08); --sh2: 0 2px 6px rgba(20,60,80,.06);
  --head: "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Sans", sans-serif; }
body { font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: 16px; line-height: 1.9; -webkit-font-smoothing: antialiased; }
.ms { display: inline-block; width: 1em; height: 1em; font-size: 22px; vertical-align: middle; fill: currentColor; flex-shrink: 0; }
/* ヘッダー */
.site-header { box-shadow: var(--sh2); border-bottom: 0 !important; grid-template-columns: 1fr auto; align-items: center; }
.site-header .logo { color: var(--navy); font-family: var(--head); font-weight: 800; }
.logo-ic { color: #fff; background: linear-gradient(135deg, var(--green), #3BB3B3); border-radius: 10px; padding: 5px; font-size: 20px; }
.site-header nav.tabs { grid-column: 1 / -1; }
.hd-cta { display: none; justify-self: end; background: var(--orange); color: #fff !important; font-weight: 800; font-size: 13px; text-decoration: none; border-radius: 999px; padding: 7px 14px; box-shadow: 0 3px 0 var(--orange-dk); white-space: nowrap; }
@media (min-width: 760px) { .hd-cta { display: inline-block; } }
/* 2列（PCは右にサイドバー） */
.site-header, main, .site-footer, .pr { max-width: 1120px; }
.layout { display: grid; gap: 28px; }
.layout > article { min-width: 0; max-width: 720px; }
.side { display: none; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } .side { display: block; } }
.side-in { position: sticky; top: 16px; display: grid; gap: 16px; }
.box { background: var(--sheet); border-radius: 18px; padding: 16px; box-shadow: var(--sh); }
.box h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14.5px; color: var(--navy); font-family: var(--head); }
.box h4 .ms { font-size: 20px; color: var(--green); }
.box.cta { background: linear-gradient(160deg, var(--green), #127A9C); color: #fff; text-align: center; }
.box.cta > p:first-child { font-family: var(--head); font-weight: 800; font-size: 16px; line-height: 1.5; margin: 4px 0 10px; }
.box.cta .cta { margin: 0; }
.box.cta .prn { font-size: 11px; opacity: .8; margin: 6px 0 0; }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; line-height: 1.5; }
.rank li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; }
.rank b { background: var(--teal-bg); color: var(--green); border-radius: 8px; width: 24px; height: 24px; display: grid; place-items: center; font-size: 12px; }
.rank li:nth-child(1) b { background: #F2B300; color: #fff; } .rank li:nth-child(2) b { background: #A9B4BE; color: #fff; } .rank li:nth-child(3) b { background: #D08A4E; color: #fff; }
.tools .rank li b { background: var(--teal-bg); color: var(--green); }
.rank a { color: var(--ink); text-decoration: none; }
/* 記事の冒頭 */
.hero2 { position: relative; background: linear-gradient(120deg, #DFF1F3 0%, #F4FAFB 55%, #FFF4E8 100%); border-radius: 22px; padding: 20px 18px 0; display: grid; grid-template-columns: 1fr 120px; grid-template-areas: "h h" "p i"; gap: 0 8px; align-items: end; overflow: hidden; box-shadow: var(--sh); margin-top: 8px; }
.hero2 .ht { grid-area: h; } .hero2 .lead { grid-area: p; margin: 0 0 18px; font-size: 14px; color: var(--sub); line-height: 1.75; }
.hero2 .cat { display: inline-flex; align-items: center; gap: 4px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 12px; }
.hero2 .cat .ms { font-size: 16px; }
.hero2 h1 { font-size: 23px; line-height: 1.45; margin: 12px 0 10px; color: var(--navy); font-weight: 800; border: 0; padding: 0; }
.hero-img { grid-area: i; width: 100%; max-width: 160px; justify-self: end; border-radius: 14px 14px 0 0; mix-blend-mode: multiply; }
@media (min-width: 600px) { .hero2 { grid-template-columns: 1fr 240px; grid-template-areas: "h i" "p i"; padding: 30px 30px 0; } .hero2 h1 { font-size: 30px; } .hero-img { max-width: 240px; } .hero2 .lead { padding-bottom: 14px; } }
.dates { margin: 10px 4px 0; }
/* 結論（要約ボックス） */
.summary { border: 0 !important; border-top: 5px solid var(--green) !important; border-radius: 18px !important; box-shadow: var(--sh); padding: 18px 20px 12px !important; }
.summary-label { background: none !important; color: var(--navy) !important; font-family: var(--head); font-size: 17px !important; padding: 0 !important; }
.summary-label::before { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7z'/%3E%3C/svg%3E") center / contain no-repeat; color: #F2B300; margin-right: 6px; vertical-align: -4px; font-size: 22px; }
.summary li::marker { color: var(--green); }
.toc { border: 0 !important; border-radius: 18px; box-shadow: var(--sh2); }
.toc a { color: var(--ink); }
/* 方法カード */
.ways { margin: 22px 0; background: var(--sheet); border-radius: 20px; padding: 18px 14px; box-shadow: var(--sh); }
.ways ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 760px) { .ways ul { grid-template-columns: repeat(4, 1fr); } }
.ways li a { display: grid; gap: 4px; justify-items: start; background: #F7FBFC; border-radius: 16px; padding: 14px 12px; text-decoration: none; color: var(--ink); height: 100%; border: 2px solid transparent; }
.ways li a:hover { border-color: var(--green); background: #fff; }
.ways li.top a { border-color: var(--orange); background: #FFF8F2; position: relative; }
.ways li.top a::before { content: "いちばん大きい"; position: absolute; top: -11px; right: 10px; background: var(--orange); color: #fff; font-size: 10.5px; font-weight: 800; border-radius: 999px; padding: 1px 9px; }
.ways .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #1E8FD6, #4FB3EA); }
.ways li:nth-child(2) .ic { background: linear-gradient(135deg, #F2A516, #F7C658); } .ways li:nth-child(3) .ic { background: linear-gradient(135deg, #17A37A, #4CC79F); } .ways li:nth-child(4) .ic { background: linear-gradient(135deg, #6656D8, #8E82EA); }
.ways .ic .ms { font-size: 26px; }
.ways .no { font-weight: 800; color: var(--navy); font-size: 14px; margin-top: 4px; font-family: var(--head); line-height: 1.4; }
.ways .big { font-weight: 800; color: var(--num); font-size: 23px; line-height: 1.15; font-family: var(--head); }
.ways .big small { font-size: 11px; color: var(--ink); font-weight: 700; margin-left: 1px; }
.ways .d { font-size: 12px; color: var(--sub); line-height: 1.5; }
/* 見出し・図解カード */
article h2 { background: none !important; border: 0 !important; border-bottom: 2px solid var(--rule) !important; border-radius: 0 !important; padding: 0 0 10px !important; color: var(--navy); font-family: var(--head); font-size: 21px !important; display: flex; gap: 10px; align-items: center; }
article h2::before { content: ""; flex: none; width: 8px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, var(--green), #4FC1C1); }
.card { background: var(--sheet) !important; border: 0 !important; border-radius: 18px !important; box-shadow: var(--sh); position: relative; overflow: hidden; padding-top: 20px !important; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--green), #3BB3B3); }
.card-big { color: var(--num) !important; font-family: var(--head); }
.card-illust { mix-blend-mode: multiply; }
.eye { background: var(--sheet) !important; border: 0 !important; box-shadow: var(--sh); }
mark.m { background: linear-gradient(transparent 58%, var(--mark) 58%); }
/* ボタン：外部の案内はオレンジ、サイト内は青緑の枠 */
.cta a, .fix .btn { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; background: linear-gradient(180deg, #F88B3E, var(--orange)) !important; color: #fff !important; font-weight: 800; text-decoration: none; border-radius: 999px; padding: 14px 18px; font-size: 16px; box-shadow: 0 4px 0 var(--orange-dk), 0 8px 16px rgba(240,123,46,.25); line-height: 1.4; font-family: var(--head); }
.cta a::after, .fix .btn::after { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; font-size: 20px; }
.btn-cta .btn { background: var(--sheet) !important; color: var(--green) !important; border: 2px solid var(--green); box-shadow: none !important; font-family: var(--head); }
/* 表 */
article table { background: var(--sheet); border-radius: 14px; overflow: hidden; box-shadow: var(--sh2); }
article th { background: var(--teal-bg); color: var(--navy); }
/* 書いた人・吹き出し */
.author, .say-body { border: 0 !important; box-shadow: var(--sh2); border-radius: 18px !important; }
/* 関連記事（イラストつき） */
.related h2 { margin-top: 40px; }
.rel { display: grid; gap: 12px; }
@media (min-width: 600px) { .rel { grid-template-columns: repeat(3, 1fr); } }
.rel a { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; background: var(--sheet); border-radius: 16px; padding: 10px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5; box-shadow: var(--sh2); }
.rel img { width: 84px; height: 68px; object-fit: cover; border-radius: 12px; }
@media (min-width: 600px) { .rel a { grid-template-columns: 1fr; padding: 0 0 12px; overflow: hidden; } .rel a span { padding: 0 12px; } .rel img { width: 100%; height: 120px; border-radius: 0; } }
/* スマホの画面下の固定ボタン */
.fix { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(255,255,255,.97); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); display: flex; gap: 8px; align-items: center; box-shadow: 0 -6px 18px rgba(20,60,80,.1); }
.fix .btn { flex: 1; padding: 11px 10px; font-size: 15px; }
.fix .q { font-size: 11px; color: var(--sub); line-height: 1.3; width: 7.5em; }
@media (min-width: 1000px) { .fix { display: none; } }
body:has(.fix) .site-footer { padding-bottom: 90px; }

/* デザイン v2.1：AI の採点（78点）の指摘を反映。色をやわらかく・余白を広く・カードは淡い面＋細い線 */
:root { --navy: #0B4F78; }
article h2 { margin-top: 48px !important; }
.summary, .toc, .ways { background: #F7FBFD !important; border: 1px solid #E2EEF5 !important; box-shadow: 0 2px 8px rgba(16,24,40,.04) !important; }
.summary { border-top: 5px solid var(--green) !important; }
.ways li a { background: #fff; border: 1px solid #E2EEF5; }
.ways li.top a { border: 2px solid var(--orange); }
.card { border: 1px solid #E2EEF5 !important; box-shadow: 0 2px 8px rgba(16,24,40,.05) !important; padding: 22px 18px 14px !important; }
.hero2 h1 { font-size: 25px; }
.hero-img { max-width: 46%; } .hero2 { grid-template-columns: 1fr 44%; }
@media (min-width: 600px) { .hero2 { grid-template-columns: 1fr 260px; } .hero-img { max-width: 260px; } .hero2 h1 { font-size: 31px; } }
.dates, .breadcrumb { font-size: 13px; color: #5A6878; }

/* v2.2：冒頭の絵が小さくなる・PCのヘッダーが2段になる・表が細くなるのを直す */
.hero-img { max-width: 100% !important; width: 100%; }
@media (min-width: 760px) { .site-header { grid-template-columns: auto 1fr auto; column-gap: 24px; } .site-header nav.tabs { grid-column: auto; } }
article table { width: 100%; display: table; }
.hero2 .lead { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }


/* ══ デザイン A（2026-10-17）：OpenAI の見本 A（設計の指示文を書かせてから描かせた版）の型 ══
   青緑のヘッダー帯、淡いミントの冒頭カード、オレンジと青緑の枠の2つのボタン、番号つきの4枚のカード、丸い番号の見出し、
   開け閉めできる質問、画面下は「求人を見る」「年収を試算」の2つ */
:root { --mint: #F3F8F7; --line: #E3ECEB; --deep: #13424A; --cta: #FF7A1A; --cta-dk: #E0600A; }
body { background: #fff; color: var(--deep); }
/* ヘッダー */
.site-header { background: var(--green) !important; box-shadow: none; }
.site-header .logo, .site-header .logo span { color: #fff !important; }
.site-header .logo-ic { background: rgba(255,255,255,.18); }
.site-header nav.tabs a { color: rgba(255,255,255,.92) !important; }
.site-header nav.tabs a[aria-current] { color: #fff !important; border-color: #fff !important; }
.hd-cta { background: var(--cta); box-shadow: none; }
.pr { display: flex; align-items: center; gap: 6px; width: fit-content; border: 1px solid #D5DEDD; border-radius: 999px; padding: 3px 12px !important; font-size: 12px; color: #5B6B6B; margin: 10px auto 0 16px; background: #fff; }
.pr::before { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / contain no-repeat; font-size: 16px; }
@media (min-width: 1152px) { .pr { margin-left: calc((100% - 1120px) / 2 + 16px); } }
/* 冒頭 */
.hero-a { position: relative; display: grid; grid-template-columns: 1fr 38%; align-items: end; background: var(--mint); border-radius: 18px; padding: 20px 0 0 18px; margin-top: 8px; overflow: hidden; }
.ha-t { padding-bottom: 18px; }
.hero-a .cat { display: inline-flex; align-items: center; gap: 4px; border: 1.5px solid var(--green); color: var(--green); background: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 14px; }
.hero-a .cat .ms { font-size: 18px; }
.hero-a h1 { font-size: 25px; line-height: 1.4; margin: 12px 0 10px; color: var(--deep); font-weight: 800; border: 0; padding: 0; font-family: var(--head); }
.hero-a h1 .sub { display: block; font-size: .82em; margin-top: 2px; }
.hero-a .lead { margin: 0; font-size: 13.5px; line-height: 1.75; color: #3F5559; }
.hero-a .dates { margin: 10px 0 0; font-size: 12px; }
.hero-a .hero-img { width: 100%; max-width: 100% !important; border-radius: 0; mix-blend-mode: multiply; }
@media (min-width: 600px) { .hero-a { grid-template-columns: 1fr 260px; padding: 30px 0 0 30px; } .hero-a h1 { font-size: 32px; } .hero-a .lead { font-size: 15px; } }
/* 2つのボタン */
.pair-a { display: grid; gap: 4px; margin: 18px 0 8px; text-align: center; }
.pa-main { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--cta); color: #fff !important; font-weight: 800; font-size: 19px; text-decoration: none; border-radius: 12px; padding: 15px; box-shadow: 0 4px 0 var(--cta-dk); font-family: var(--head); }
.pa-main::after { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z'/%3E%3C/svg%3E") center / contain no-repeat; font-size: 24px; }
.pa-sim { display: flex; align-items: center; gap: 10px; border: 2px solid var(--green); color: var(--green) !important; background: #fff; font-weight: 800; font-size: 18px; text-decoration: none; border-radius: 12px; padding: 12px 16px; margin-top: 10px; font-family: var(--head); }
.pa-sim .ms { font-size: 30px; }
.pa-sim::after { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; margin-left: auto; font-size: 24px; }
.pa-cap { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--cta-dk); }
.pa-sim + .pa-cap { color: var(--green); }
@media (min-width: 760px) { .pair-a { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 14px; } .pa-sim { margin-top: 0; } }
/* クイック結論 */
.quick-a { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.qa-h { all: unset; display: flex !important; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--deep); font-family: var(--head); margin-bottom: 12px; }
.qa-h .ms { color: #F2B300; font-size: 26px; }
.quick-a .ways { all: unset; display: block; counter-reset: w; }
.quick-a .ways ul { gap: 12px !important; grid-template-columns: 1fr 1fr !important; }
@media (min-width: 760px) { .quick-a .ways ul { grid-template-columns: repeat(4, 1fr) !important; } }
.quick-a .ways li { counter-increment: w; }
.quick-a .ways li a { position: relative; justify-items: center; text-align: center; background: #fff !important; border: 1px solid #DCE6E5 !important; border-radius: 14px !important; padding: 14px 10px 26px !important; box-shadow: 0 2px 6px rgba(19,66,74,.06); }
.quick-a .ways li a::after { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; right: 8px; bottom: 6px; color: #8AA; font-size: 20px; }
.quick-a .ways li a > .ic::before { content: counter(w); position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; font: 800 14px/26px var(--head); text-align: center; }
.quick-a .ways li.top a { border: 2px solid var(--cta) !important; background: #fff !important; }
.quick-a .ways li.top a::before { background: var(--cta); top: -11px; left: 50%; right: auto; transform: translateX(-50%); white-space: nowrap; }
.quick-a .ways li.top a > .ic::before { background: var(--cta); }
.quick-a .ways .ic { background: none !important; width: auto; height: 52px; margin-top: 8px; }
.quick-a .ways .ic .ms { font-size: 46px; }
.quick-a .ways li:nth-child(1) .ic .ms { color: #4F8FD6; } .quick-a .ways li:nth-child(2) .ic .ms { color: #2BA39A; } .quick-a .ways li:nth-child(3) .ic .ms { color: #F2B300; } .quick-a .ways li:nth-child(4) .ic .ms { color: #3F6FB0; }
.quick-a .ways .no { font-size: 15px; color: var(--deep); margin-top: 6px; }
.quick-a .ways .no::first-letter { font-size: 0; }
.quick-a .ways .big { color: var(--cta-dk) !important; font-size: 30px; }
.quick-a .ways .big small { color: var(--cta-dk); font-size: 13px; }
.quick-a .ways .d { font-size: 12px; }
/* 要約・目次 */
article.va .summary { background: #fff !important; border: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; border-radius: 14px !important; box-shadow: none !important; }
article.va .summary-label::before { content: none; }
article.va .summary-label { font-size: 18px !important; color: var(--deep) !important; border-bottom: 1px solid var(--line); padding-bottom: 8px !important; margin-bottom: 4px; }
article.va .summary ul { list-style: none; padding-left: 0; }
article.va .summary li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
article.va .summary li:last-child { border-bottom: 0; }
article.va .summary li::before { content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: #1E9E6B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center / 16px no-repeat; }
article.va .toc { background: var(--mint) !important; border: 0 !important; box-shadow: none !important; }
/* 見出し：丸い番号＋数字はオレンジ */
article.va h2 { border-bottom: 0 !important; padding: 0 !important; font-size: 22px !important; color: var(--deep); line-height: 1.45; }
article.va h2.mh::before { display: none; }
article.va h2.mh { align-items: flex-start; gap: 12px; }
article.va h2 .num { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; }
article.va h2 em { font-style: normal; color: var(--cta-dk); font-size: 1.35em; line-height: 1; }
/* 図解カード：中央そろえ、札は枠つき */
article.va .card { background: #fff !important; border: 1px solid #DCE6E5 !important; border-radius: 16px !important; box-shadow: none !important; text-align: center; padding: 18px 16px 14px !important; }
article.va .card::before { display: none; }
article.va .card-tag { display: inline-block; border: 1.5px solid #7CC3A4; color: #237A55; background: #F2FAF5; border-radius: 6px; padding: 2px 12px; font-size: 13px; font-weight: 700; }
article.va .card-big { color: var(--cta-dk) !important; font-size: 44px; line-height: 1.2; margin: 8px 0 4px; }
article.va .card-big small { color: var(--deep); font-size: 17px; font-weight: 800; }
article.va .card-illust { max-width: 88%; margin: 0 auto; }
article.va .card-note { text-align: left; font-size: 12px; color: #5B6B6B; }
/* よくある質問 */
.faq { border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 12px 40px 12px 14px; font-weight: 700; position: relative; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; right: 12px; top: 10px; color: var(--green); font-size: 24px; }
.faq[open] summary::after { content: "remove"; }
.faq p { margin: 0; padding: 0 14px 14px; font-size: 14.5px; }
/* 関連記事 */
article.va .rel { grid-template-columns: 1fr !important; gap: 0; border: 1px solid var(--line); border-radius: 14px; padding: 0 12px; }
article.va .rel a { grid-template-columns: 92px 1fr !important; padding: 12px 0 !important; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); background: none; }
article.va .rel a:last-child { border-bottom: 0; }
article.va .rel img { width: 92px !important; height: 68px !important; border-radius: 10px !important; object-fit: cover; background: var(--mint); }
article.va .rt { display: grid; gap: 2px; padding: 0 !important; }
article.va .rc { justify-self: start; border: 1px solid var(--green); color: var(--green); font-size: 10.5px; border-radius: 4px; padding: 0 6px; }
article.va .rn { font-size: 14px; line-height: 1.5; }
article.va .rd { font-size: 11px; color: #7A8A8A; font-weight: 400; }
/* 最後の申し込み */
.endcta { margin: 28px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--mint); padding: 18px 16px; text-align: center; }
.endcta-h { margin: 0 0 6px; font-weight: 800; font-size: 18px; font-family: var(--head); }
.endcta > p:not(.endcta-h):not(.prn) { font-size: 13.5px; text-align: left; margin: 0 0 12px; }
.endcta .prn { font-size: 11px; color: #7A8A8A; margin: 6px 0 0; }
.cta a { background: var(--cta) !important; border-radius: 12px; box-shadow: 0 4px 0 var(--cta-dk) !important; }
/* 画面下の2つのボタン */
.fixa { background: transparent !important; box-shadow: none !important; justify-content: flex-end; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)) !important; pointer-events: none; }
.fixa a { pointer-events: auto; display: flex; align-items: center; gap: 6px; text-decoration: none; color: #fff !important; font-weight: 800; font-size: 15px; border-radius: 12px; padding: 11px 14px; box-shadow: 0 6px 16px rgba(19,66,74,.25); font-family: var(--head); }
.fixa .ms { font-size: 22px; }
.fa-job { background: var(--cta); } .fa-sim { background: var(--green); }
/* A の手直し1：冒頭の絵は右下に重ねる（題名は全幅）・ヘッダーの説明は2行目・カードの数字が折り返さない */
.hero-a { display: block; padding: 20px 18px 0 !important; min-height: 300px; }
.hero-a .ha-t { position: relative; z-index: 1; }
.hero-a .lead, .hero-a .dates { max-width: 58%; }
.hero-a .hero-img { grid-area: auto; position: absolute; right: 0; bottom: 0; width: 42% !important; }
@media (min-width: 600px) { .hero-a { padding: 30px 30px 0 !important; min-height: 330px; } .hero-a h1 { max-width: 64%; } .hero-a .lead, .hero-a .dates { max-width: 60%; } .hero-a .hero-img { width: 300px !important; } }
.site-header .lt { display: grid; line-height: 1.25; }
.site-header .lt small { font-size: 11px; font-weight: 500; opacity: .85; font-family: "Noto Sans JP", sans-serif; }
.quick-a .ways { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; }
.quick-a .ways .big { font-size: 25px; white-space: nowrap; }
.quick-a .ways .big small { font-size: 11px; }
article.va .summary-label { border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; }
.pair-a + .quick-a, .quick-a { margin-top: 8px; }
/* A の手直し2：クイック結論の見出しの帯を消す・要約の見出しの線を全幅に・すき間を詰める */
.qa-h::before { display: none !important; }
article.va .summary-label { display: block; }
.quick-a { border-top: 0; padding-top: 6px; }
.pair-a { margin-bottom: 18px; }
/* 表のはみ出し対策（2026-10-17 カフェオレ「スマホで左にスライドできてしまう」）：表は箱の中だけで横スクロール。見出しは折り返してよい */
.tbl { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; border-radius: 14px; }
.tbl > table { margin: 0 !important; }
article .tbl > table { display: table; width: 100%; }
@media (max-width: 599px) { article thead th { white-space: normal; } article th, article td { min-width: 4.5em; font-size: 14px; } }
html, body { overflow-x: clip; }

/* 書いた人のカード（2026-10-17 カフェオレの見本）：白いカード・丸いアイコン・ひとこと・事実だけの本文・2つのリンク */
.author.wcard{display:block!important;background:#fff!important;border:0!important;border-radius:18px!important;box-shadow:0 2px 10px rgba(19,66,74,.08)!important;padding:22px 22px 6px!important;margin:32px 0!important;max-width:520px}
.wc-label{display:inline-block;background:#DDF0EF;color:#0E6E6E;font-weight:700;border-radius:999px;padding:3px 16px;font-size:14px;margin:0}
.wc-face{display:block;width:150px;height:150px;border-radius:50%;margin:14px auto 8px;object-fit:cover}
.wc-name{font-size:24px;font-weight:800;margin:0;line-height:1.3}
.wc-org{font-size:13px;color:#3F5559;margin:0 0 12px}
.wc-head{font-size:17px;font-weight:800;line-height:1.6;color:#0E5A5A;margin:0 0 10px}
.wc-body p{margin:0 0 10px;font-size:14.5px;line-height:1.85;color:#2E4448}
.wc-links{display:grid;margin-top:6px}
.wc-link{display:flex;align-items:center;gap:12px;border-top:1px solid #E3ECEB;padding:13px 2px;color:#0E7A7A!important;text-decoration:none;font-size:15px}
.wc-link svg{flex:none}
.wc-link span{flex:1}
.wc-link::after{content:"›";margin-left:auto;font-size:22px;line-height:1}

.wcard .wc-links{display:grid!important;height:auto!important;overflow:visible!important}

/* ══ トップページ（2026-10-17）：ChatGPT の見本の形（つかみ → 5枚のメニュー → 30秒の給与診断 → 新着記事 → ツール → 目安の表）══ */
.home { --y: #FFD23F; --y-dk: #E9B800; --navy2: #17365D; --bg2: #EEF6F8; }
.home h2 { font-family: var(--head); color: var(--navy2); border: 0; padding: 0; }
.home .ms { display: inline-block; width: 1em; height: 1em; vertical-align: middle; fill: currentColor; flex-shrink: 0; }
.btn-y { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--y); color: var(--navy2) !important; font-family: var(--head); font-weight: 800; font-size: 17px; text-decoration: none; border-radius: 999px; padding: 15px 26px; box-shadow: 0 4px 0 var(--y-dk); }
.btn-y .ms { font-size: 24px; }
.btn-y:hover { filter: brightness(1.03); }
/* つかみ */
.h-hero { position: relative; overflow: hidden; margin: 10px -16px 0; padding: 26px 16px 24px; background: linear-gradient(180deg, #E4F2F6 0%, #F2F8FA 100%); min-height: 430px; }
.h-txt { position: relative; z-index: 1; }
.h-kick { display: inline-block; margin: 0 0 10px; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--navy2); transform: rotate(-6deg); border-bottom: 1.5px solid var(--navy2); padding: 0 6px 2px; }
.h-hero h1 { margin: 6px 0 12px; font-family: var(--head); font-weight: 800; font-size: 27px; line-height: 1.45; color: var(--navy2); border: 0; padding: 0; max-width: 72%; }
.h-hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--y) 62%); }
.h-lead { margin: 0 0 18px; font-size: 13.5px; line-height: 1.8; color: #34495E; max-width: 66%; }
.h-btn { margin: 0; }
.h-btn .btn-y { width: 100%; }
.h-img { position: absolute; right: -18px; top: 52px; width: 46%; max-width: 300px !important; z-index: 0; }
.h-know { display: none; }
br.sp { display: inline; }
/* トップの主な行動3つ：全幅の縦3行（2026-10-28 icons-svg-top-3。前は2列のカード格子） */
.h-menu { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 8px; }
.h-menu a { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 40px 14px 14px; text-decoration: none; color: var(--navy2); box-shadow: var(--sh2); height: 100%; align-items: center; }
.h-menu .mi { grid-row: 1 / 3; color: var(--navy2); }
.h-menu .mi .ms { font-size: 30px; }
.h-menu b { font-family: var(--head); font-size: 15px; line-height: 1.4; }
.h-menu .md { font-size: 12px; line-height: 1.6; color: var(--sub); margin-top: 2px; }
.h-menu .go { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--navy2); }
.h-sub { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; line-height: 1.6; }
.h-sub a { color: var(--blue); text-underline-offset: 3px; }
/* 給与診断 */
.h-diag { margin: 22px -16px 0; padding: 22px 16px; background: var(--bg2); display: grid; gap: 14px; scroll-margin-top: 10px; }
.dg-kick { margin: 0; font-family: var(--head); font-weight: 700; color: var(--navy2); }
.h-diag h2 { font-size: 30px; margin: 0 0 6px; }
.dg-intro p:last-child { margin: 0; font-size: 14px; color: #34495E; }
.dg-form, .dg-res { background: #fff; border-radius: 14px; padding: 16px; box-shadow: var(--sh); }
.dg-h { margin: 0 0 10px; font-family: var(--head); font-weight: 800; color: var(--navy2); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.dg-form label { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; margin: 0 0 10px; }
.dg-form label[hidden] { display: none; }
.dg-form input, .dg-form select { width: 100%; font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid #CBD6DE; border-radius: 8px; background: #fff; }
.dg-form .in { position: relative; display: block; }
.dg-form .in i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--sub); font-size: 14px; }
.dg-form .in input { padding-right: 3.2em; }
.btn-n { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 6px; background: var(--navy2); color: #fff; font: inherit; font-family: var(--head); font-weight: 800; font-size: 16px; border: 0; border-radius: 10px; padding: 12px; cursor: pointer; }
.dg-ex { margin: 0 0 6px; font-size: 12px; color: var(--sub); }
.dg-ex[hidden] { display: none; }
.dg-badge { display: inline-block; margin: 0 0 8px; background: var(--y); color: var(--navy2); font-family: var(--head); font-size: 13px; font-weight: 700; padding: 6px 12px; transform: rotate(-1.5deg); }
.dg-badge b { display: block; font-size: 19px; }
.dg-big { margin: 0; font-family: var(--head); font-weight: 800; color: var(--navy2); }
.dg-big b { font-size: 42px; margin: 0 4px; }
.dg-avg { margin: 0 0 8px; font-size: 13px; color: var(--sub); }
.dg-bars { display: flex; align-items: flex-end; gap: 14px; height: 150px; padding: 0 8px; border-bottom: 1px solid #CBD6DE; margin-bottom: 30px; }
.dg-bars .bar { position: relative; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.dg-bars .b { width: 70%; max-width: 54px; background: #A9CDEA; border-radius: 4px 4px 0 0; }
.dg-bars .you .b { background: var(--y); }
.dg-bars .more .b { background: #6FA8DC; }
.dg-bars .v { font-size: 12px; font-weight: 700; color: var(--navy2); margin-bottom: 2px; }
.dg-bars .l { position: absolute; bottom: -24px; font-size: 11.5px; white-space: nowrap; color: #34495E; }
.dg-list { list-style: none; margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.dg-list li { position: relative; padding-left: 26px; margin: 4px 0; }
.dg-list li::before { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; left: 0; top: 0; color: var(--y-dk); font-size: 20px; }
.dg-src { margin: 0; font-size: 12px; color: var(--sub); }
/* 新着記事・ツール */
.h-sec { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 10px; }
.h-sec h2 { font-size: 22px; margin: 0; }
.h-sec a { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--navy2); }
.h-sec a .ms { font-size: 18px; }
.h-cards { list-style: none; margin: 0 -16px; padding: 0 16px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.h-cards li { scroll-snap-align: start; }
.h-cards a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--navy2); box-shadow: var(--sh2); }
.h-cards .thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; padding: 6px 0 0; background: var(--mint); }
.h-cards .tg { align-self: flex-start; margin: -12px 0 0 10px; position: relative; background: #fff; border-radius: 6px 6px 0 0; padding: 2px 8px; font-size: 11px; font-weight: 700; color: var(--sub); }
.h-cards .tt { padding: 4px 12px 0; font-size: 14px; font-weight: 700; line-height: 1.55; flex: 1; }
.h-cards time { padding: 6px 12px 10px; font-size: 12px; color: var(--sub); }
.h-tools ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.h-tools a { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-decoration: none; color: var(--navy2); height: 100%; }
.h-tools .ms { grid-row: 1 / 3; font-size: 24px; color: var(--green); }
.h-tools b { font-size: 14px; line-height: 1.4; }
.h-tools span:not(.ms) { font-size: 11.5px; color: var(--sub); line-height: 1.5; }
.h-data h2 { font-size: 20px; margin: 30px 0 10px; }
/* PC */
@media (min-width: 760px) {
  .h-hero { margin: 12px 0 0; border-radius: 20px; padding: 44px 48px; min-height: 400px; }
  .h-hero h1 { font-size: 38px; max-width: 62%; }
  .h-lead { font-size: 16px; max-width: 50%; }
  .h-btn .btn-y { width: auto; font-size: 19px; padding: 17px 34px; }
  .h-img { right: 230px; top: 20px; width: 260px; }
  .h-know { display: block; position: absolute; right: 40px; top: 120px; z-index: 1; width: 230px; background: #fff; border: 2px solid var(--y); border-radius: 10px; padding: 0 16px 12px; box-shadow: var(--sh); }
  .h-know p { margin: -14px 0 6px; display: inline-block; background: var(--y); color: var(--navy2); font-family: var(--head); font-weight: 800; font-size: 14px; padding: 4px 12px; }
  .h-know ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
  .h-know li { position: relative; padding-left: 26px; margin: 6px 0; }
  .h-know li::before { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; left: 0; color: var(--y-dk); font-size: 20px; }
  br.sp { display: none; }
  .h-diag { margin: 26px 0 0; border-radius: 20px; padding: 32px; grid-template-columns: 1fr 1fr 1.25fr; align-items: start; }
  .h-diag .dg-src { grid-column: 1 / -1; }
  .h-diag h2 { font-size: 38px; }
  .dg-form label { grid-template-columns: 1fr; gap: 4px; }
  .h-cards { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; }
  .h-tools ul { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1000px) { .h-img { right: 290px; width: 290px; } .h-know { right: 48px; width: 250px; } .dg-form label { grid-template-columns: 7em 1fr; } }

/* ══ 見本に寄せる（2026-10-17 カフェオレ「ビジュアルをもっと見本に。ヘッダーやボタンの色も変えていい」）══
   白いヘッダー・紺の文字・黄色のボタン、紺のフッター。トップの冒頭は淡い青のぼかし背景と大きい絵 */
:root { --navy2: #17365D; --blue: #1F5FBF; --y: #FFD23F; --y-dk: #E9B800; }
.site-header { background: #fff !important; box-shadow: 0 1px 0 #E3EAF2 !important; }
body > .site-header { max-width: none; padding-left: max(16px, calc((100% - 1120px) / 2 + 16px)); padding-right: max(16px, calc((100% - 1120px) / 2 + 16px)); }
.site-header .logo, .site-header .logo span { color: var(--navy2) !important; }
.site-header .logo .mark { height: 30px; width: 30px; }
.site-header .lt small { opacity: 1; color: #5A6B80; }
.site-header nav.tabs a { color: var(--navy2) !important; font-weight: 700; }
.site-header nav.tabs a[aria-current] { color: var(--navy2) !important; border-color: var(--y) !important; border-bottom-width: 3px !important; }
.hd-cta { background: #fff !important; color: var(--navy2) !important; border: 1.5px solid var(--navy2); box-shadow: none !important; }
.site-footer { max-width: none !important; background: var(--navy2); color: rgba(255,255,255,.82); border-top: 0 !important; margin-top: 56px; padding: 26px max(16px, calc((100% - 1120px) / 2 + 16px)) 40px !important; font-size: 13px; }
.site-footer a { color: #fff !important; }
.site-footer nav { gap: 6px 22px; }
body:has(.fix) .site-footer { padding-bottom: 96px !important; }
/* トップの冒頭 */
.h-hero { background:
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.95) 0 9%, transparent 30%),
    radial-gradient(circle at 92% 70%, rgba(190,222,240,.9) 0 6%, transparent 22%),
    radial-gradient(circle at 60% 85%, rgba(214,236,246,.9) 0 8%, transparent 28%),
    linear-gradient(180deg, #DCEEF8 0%, #EEF7FC 100%) !important; }
.h-hero h1 { color: var(--navy2); }
.h-img { top: auto !important; bottom: 0; right: -30px !important; width: 58% !important; max-width: 380px !important; }
.h-hero { padding-bottom: 26px; }
.h-lead { max-width: 60%; }
.h-btn { position: relative; z-index: 2; }
@media (max-width: 759px) { .h-hero { min-height: 520px; } .h-hero h1 { max-width: 100%; } .h-hero h1 em, .h-hero h1 { text-shadow: 0 0 12px #EAF5FB, 0 0 4px #EAF5FB; } .h-lead { max-width: 56%; text-shadow: 0 0 8px #EAF5FB; } .h-img { width: 64% !important; } }
@media (min-width: 760px) {
  .h-hero { min-height: 440px; padding: 50px 48px !important; }
  .h-img { right: 250px !important; width: 330px !important; max-width: 330px !important; }
  .h-know { top: 150px; }
}
@media (min-width: 1000px) { .h-img { right: 300px !important; width: 360px !important; max-width: 360px !important; } }
/* トップのボタンと診断：黄色と紺にそろえる */
.btn-n { background: var(--navy2); }
.h-menu .mi, .h-menu b, .h-tools .ms { color: var(--navy2); }
.h-menu .mi .ms, .h-tools .ms { color: var(--blue); }
.dg-badge { background: var(--y); }
@media (min-width: 760px) { .h-hero { min-height: 480px; } .h-img { width: 300px !important; max-width: 300px !important; right: 270px !important; } .h-lead { max-width: 46%; } .h-hero h1 { max-width: 60%; } }
@media (min-width: 1000px) { .h-img { width: 310px !important; max-width: 310px !important; right: 310px !important; } }
@media (max-width: 759px) { .h-lead { max-width: 60%; font-size: 13px; } }

/* ══ スマホのメニューを「三」ボタンに・冒頭を短く（2026-10-17 カフェオレ「ハンバーガーメニューに」「開いた時点でメニューが見えるように」）══ */
.nav-btn { display: none; }
@media (max-width: 759px) {
  body > .site-header { display: flex !important; flex-wrap: wrap; align-items: center; padding-top: 10px; padding-bottom: 10px; position: relative; }
  .site-header .logo { margin-right: auto; }
  .nav-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
  .nav-btn span { display: block; height: 2.5px; border-radius: 2px; background: var(--navy2); transition: transform .2s, opacity .2s; }
  .site-header.open .nav-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header.open .nav-btn span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-header nav.tabs { display: none !important; }
  .site-header.open nav.tabs { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 12px; width: 100%; margin-top: 8px; padding: 6px 0 4px; border-top: 1px solid #E3EAF2; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .site-header.open nav.tabs a { padding: 10px 4px !important; border-bottom: 1px solid #EEF2F6 !important; font-size: 15px; }
  .site-header.open nav.tabs a[aria-current] { border-bottom-color: var(--y) !important; }
  /* 冒頭を短く：開いた時点で下のメニューが見える */
  .h-hero { min-height: 0 !important; padding: 16px 16px 18px !important; }
  .h-kick { font-size: 12.5px; margin-bottom: 4px; }
  .h-hero h1 { font-size: 23px; margin: 4px 0 8px; max-width: 74%; }
  .h-lead { font-size: 12.5px; line-height: 1.7; margin-bottom: 12px; max-width: 62%; }
  .h-lead .pc { display: none; }
  .h-img { width: 44% !important; right: -14px !important; }
  .btn-y { font-size: 15.5px; padding: 12px 18px; }
  .h-menu { margin-top: 14px; }
  .pr { margin-top: 8px !important; }
}
@media (min-width: 760px) {
  .h-hero { min-height: 0 !important; padding: 34px 48px 36px !important; }
  .h-hero h1 { font-size: 34px; margin: 4px 0 10px; }
  .h-lead { margin-bottom: 16px; }
  .h-img { width: 250px !important; max-width: 250px !important; }
  .h-know { top: 50%; transform: translateY(-50%); }
}
@media (min-width: 1000px) { .h-img { width: 260px !important; max-width: 260px !important; } }
@media (min-width: 760px) { .site-header nav.tabs { -webkit-mask-image: none !important; mask-image: none !important; padding-right: 0; } .h-lead { max-width: 52%; } }

/* ══ 統一テーマ「ものさしブルー」（2026-10-17 カフェオレ「ちぐはぐ感が出てる。統一感を。全体ブルー系でアクセントにイエロー」）══
   看護・介護の両サイトで同じ中身。色：紺（文字・見出し）／青（リンク・アイコン・線）／淡い青（面）／黄（目立たせる所・主なボタン）。
   字体：見出しは M PLUS Rounded 1c、本文は Noto Sans JP。ここより下に色を直接書かない（変数を使う） */
:root {
  --navy2: #17365D; --blue: #1F5FBF; --blue-50: #F2F7FD; --blue-100: #E3EEFA; --y: #FFD23F; --y-dk: #E9B800; --y-50: #FFF6CF;
  --green: var(--blue); --deep: var(--navy2); --navy: var(--navy2); --num: var(--blue);
  --paper: #FFFFFF; --sheet: #FFFFFF; --ink: #1F2A37; --sub: #5A6B80; --rule: #DCE6F0; --line: #E3EAF2;
  --mint: var(--blue-50); --teal-bg: var(--blue-50); --marker: #FFE680; --mark: #FFE680; --minus: #C2412D;
  --cta: var(--y); --cta-dk: var(--y-dk); --orange: var(--y); --orange-dk: var(--y-dk);
  --head: "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Maru Gothic ProN", sans-serif;
}
body { background: #fff !important; color: var(--ink); font-family: "Noto Sans JP", "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif; }
h1, h2, h3, .logo, .next-title { font-family: var(--head); color: var(--navy2); }
a { color: var(--blue); }
/* 黄色のボタンは紺の文字 */
.cta a, .fix .btn, .pa-main, .fa-job, .btn-y, .btn-cta .btn { background: var(--y) !important; color: var(--navy2) !important; box-shadow: 0 4px 0 var(--y-dk) !important; border: 0 !important; }
.cta a *, .pa-main *, .fa-job * { color: var(--navy2) !important; }
/* 青のボタンは白の文字 */
.btn, .btn-main, .fa-sim, .btn-n { background: var(--blue); color: #fff !important; border-color: var(--blue); }
.btn-sub, .pa-sub { color: var(--blue) !important; border-color: var(--blue) !important; background: #fff !important; }
/* 面：淡い青にそろえる（ミント・ベージュ・クリームをやめる） */
.hero-a, .hero2, .summary-box, .sumbox, .toc, .next, .quick-a, .h-diag, .faq, .faq-a, .note-box { background-color: var(--blue-50) !important; }
.slip, .calc, .dg-form, .dg-res, .h-menu a, .h-tools a, .h-cards a { border-color: var(--line) !important; }
.slip { border-top: 4px solid var(--navy2) !important; }
.slip .total b, .verdict .rank, mark, .marker { background: linear-gradient(transparent 62%, var(--marker) 62%) !important; color: var(--navy2); }
.hero-a .lead, .hero-a .lead *, .h-lead { color: #34495E !important; }
.cat, .hero-a .cat { color: var(--blue) !important; border-color: var(--blue) !important; }
/* 記事の見出し：青の線と番号 */
article h2, main > h2, .post h2 { border-color: var(--blue) !important; }
.num, h2 .num { background: var(--blue) !important; color: #fff !important; }
/* 表 */
table th { color: var(--navy2); }
.plain th, .plain td, table td, table th { border-color: var(--rule) !important; }
/* 入力欄 */
input[type=text], input[type=number], select { border-color: #CBD6DE; }
input:focus, select:focus { outline-color: var(--blue); }
/* 吹き出し・注意書きの黄色系はそのまま、緑系の箱は青に */
.ways li.top a::before, .quick-a .ways li.top a::before, .quick-a .ways li.top a > .ic::before { background: var(--y) !important; color: var(--navy2) !important; }
/* 統一テーマの続き：大きい数字は青、カードのアイコンは青の濃淡、PR表記は両サイトとも丸い枠 */
.ways .big, .quick-a .ways .big, .quick-a .ways .big small { color: var(--blue) !important; }
.ways .ic, .quick-a .ways .ic { background: var(--blue-100) !important; }
.ways .ic .ms, .quick-a .ways .ic .ms { color: var(--blue) !important; }
.summary-label::before, .qa-h .ms { color: var(--y-dk) !important; }
.pr { display: flex; align-items: center; gap: 6px; width: fit-content; border: 1px solid var(--rule); border-radius: 999px; padding: 3px 12px !important; font-size: 12px; color: var(--sub); background: #fff; margin: 10px 0 0 max(16px, calc((100% - 1120px) / 2 + 16px)) !important; max-width: none !important; }
.pr::before { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center / contain no-repeat; font-size: 16px; color: var(--blue); }
body:not(:has(.home)) .pr { margin-left: max(16px, calc((100% - var(--wrap, 1120px)) / 2 + 16px)) !important; }

/* ══ テーマ3：トップ以外のページをトップにそろえる（2026-10-19 カフェオレ「残りのページもオープンAIと連携してデザイン見直し」）══
   OpenAI の見直し案（ai-ceo research/openai/design-rest-review.md）を、このサイトの部品名に当てはめたもの。看護・介護で同じ中身 */
/* 見出し：トップと同じ「青の縦線」。記事（article.va）は独自の型なので触らない */
main > h1 { font-size: 23px; line-height: 1.5; margin: 14px 0 10px; }
main > h2, .quiz h2 { font-size: 19px !important; line-height: 1.55; margin: 36px 0 12px; padding: 2px 0 2px 12px !important; border: 0 !important; border-left: 4px solid var(--blue) !important; }
main > h3 { font-size: 16px; color: var(--blue); margin: 22px 0 8px; }
main > p, main > ul li, main > ol li { line-height: 1.85; }
/* 計算ツールの入力：白いカードにまとめ、欄は高さ48px・角丸10px */
form.calc { background: #fff; border: 1px solid var(--line) !important; border-radius: 14px; padding: 16px; box-shadow: 0 2px 8px rgba(23,54,93,.06); display: grid; gap: 14px; }
form.calc .calc { background: none; border: 0 !important; box-shadow: none; padding: 0; display: grid; gap: 14px; }
form.calc label { font-size: 14px; color: var(--navy2); gap: 6px; }
.calc select, .calc input[type="text"], .calc input[type="number"], .calc input[type="email"] { height: 48px; padding: 0 12px; border: 1px solid #D6E3F3 !important; border-radius: 10px !important; background-color: #fff !important; font-size: 16px; color: var(--navy2); }
.calc input::placeholder { color: #9FB4D6; }
.calc select:focus, .calc input:focus { outline: 0; border-color: var(--blue) !important; box-shadow: 0 0 0 3px rgba(31,95,191,.15); }
/* 結果の明細：角丸のカード。合計は青い大きな数字 */
.slip { border-radius: 14px; border: 1px solid var(--line) !important; border-top: 4px solid var(--blue) !important; box-shadow: 0 2px 8px rgba(23,54,93,.06); background: #fff; }
.slip .total b { color: var(--blue) !important; }
.slip .advice { background: var(--blue-50); border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
/* 注意書き・次の一歩：薄青の角丸 */
main > .note { font-size: 13px; color: var(--sub); line-height: 1.75; }
.next { border-left: 0 !important; border: 1px solid #D6E3F3; border-radius: 12px; padding: 14px 16px; }
/* 表：見出し行は薄青、偶数行にうすい縞、角丸の枠 */
.tbl { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 12px 0; }
.tbl table { margin: 0 !important; border-collapse: separate; border-spacing: 0; width: 100%; }
.tbl th, .tbl td { padding: 10px 12px !important; border: 0 !important; border-bottom: 1px solid #E1ECF7 !important; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0 !important; }
.tbl table.plain tr:first-child th { background: var(--blue-50); }
.tbl table.plain tr:nth-child(even) td { background: #FAFCFF; }
.slip .tbl { border: 0; border-radius: 0; margin: 8px 0; }
.slip .tbl th, .slip .tbl td { padding: 6px 0 !important; }
/* 記事一覧：1本ずつ白いカード */
.posts { display: grid; gap: 12px; }
.posts li { padding: 14px 16px; border: 1px solid var(--line) !important; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(23,54,93,.06); transition: box-shadow .15s; }
.posts li:hover { box-shadow: 0 4px 14px rgba(31,95,191,.18); }
.posts a { color: var(--navy2); font-size: 16px; line-height: 1.6; }
.posts p { font-size: 14px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* 記事一覧の上のツールのリンク：丸いチップに */
main:has(> .posts) > h1 + .next a { display: inline-block; margin: 6px 4px 0 0; padding: 6px 12px; background: #fff; border: 1px solid #D6E3F3; border-radius: 999px; font-size: 13px; text-decoration: none; }
/* 一問一答：主ボタンはトップと同じ高さ・角丸、科目はカード */
.btn-main, .btn-sub { min-height: 48px; border-radius: 12px !important; font-weight: 700; }
.btn-main { box-shadow: 0 4px 0 #154A99; }
.quiz-subjects button { border: 1px solid var(--line) !important; border-radius: 12px !important; background: #fff; min-height: 52px; }
.quiz-subjects button:hover { border-color: var(--blue) !important; background: var(--blue-50); }
/* パンくず・日付は控えめに */
.breadcrumb { margin-top: 14px; }
main:has(> .posts) > h1 + .next p { font-size: 0; }
main:has(> .posts) > h1 + .next p::before { content: "計算ツール"; display: block; font-size: 14px; font-weight: 700; color: var(--navy2); }
/* 2026-10-19 カフェオレ「画面崩れてない？」：①「この記事の答え」の薄青の面に余白がなく、上に大きな空き・カードが面の端に貼りつく ②下に固定のボタンが右に寄る */
.quick-a { padding: 16px 12px 14px !important; border-radius: 16px; margin-top: 16px !important; }
.quick-a .qa-h { margin: 0 0 12px !important; }
.fixa { justify-content: center !important; gap: 10px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)) !important; }
.fixa a { flex: 1; max-width: 220px; justify-content: center; }
.quick-a .ways .d { font-size: 12px; letter-spacing: -.02em; padding-right: 14px; }

/* 給与診断の結果の下「次にやること」（2026-10-19 ChatGPTの評価「診断の後に悩み別の次のページを」） */
.dg-next { display: grid; gap: 8px; margin-top: 14px; }
.dg-next-h { margin: 0; font-weight: 800; color: var(--navy2); font-family: var(--head); }
.dg-next a { display: block; padding: 12px 40px 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--navy2); position: relative; }
.dg-next a::after { content: ""; display: inline-block; width: 1em; height: 1em; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z'/%3E%3C/svg%3E") center / contain no-repeat; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 22px; }
.dg-next a b { display: block; font-size: 15px; }
.dg-next a span { display: block; font-size: 13px; color: var(--sub); margin-top: 2px; }
.dg-next a.pick { border: 2px solid var(--y-dk); background: var(--y-50); }
/* 都道府県別の給料ページ（/kyuryo/）の並べ替えボタン */
.sortbtn { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.sortbtn .btn-sub { width: auto; min-height: 0; padding: 6px 14px; font-size: 14px; }
table.plain td.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.plain td.nw { white-space: nowrap; }
#kq-table th, #kq-table td { padding: 8px 6px !important; }

/* ══ 都道府県別の給料ページ（/kyuryo/）の作り直し（2026-10-20 カフェオレ「相変わらず文字だらけだ」）══
   冒頭は記事の「物差しカード」（.quick-a .ways）を3枚横並びに、近い県・職種は横棒の図、手取りは「額面→手取り」の2つの数字。色は上の変数だけ */
.kq-stat .ways ul { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
.kq-stat .ways li a { padding: 10px 4px 12px !important; gap: 2px; }
.kq-stat .ways li a::after { display: none; }
.kq-stat .ways li a > .ic::before { display: none; }
.kq-stat .ways .ic { height: 34px; margin-top: 0; }
.kq-stat .ways .ic .ms { font-size: 30px; }
.kq-stat .ways .no { font-size: 13px; margin-top: 2px; }
.kq-stat .ways .no::first-letter { font-size: inherit; }
.kq-stat .ways .big { font-size: 24px !important; }
.kq-stat .ways .d { font-size: 11px; padding-right: 0 !important; line-height: 1.4; }
@media (max-width: 360px) { .kq-stat .ways .big { font-size: 20px !important; } }
.kq-sub { margin: 8px 0 0; font-size: 13px; color: var(--sub); text-align: center; }
.kq-sub b { color: var(--navy2); }
.kq-lev { margin-top: 8px !important; }
.kq-lev .ways .big { font-size: 22px !important; }
.kq-fig img { max-width: 520px; margin: 0 auto; }
.kq-fig figcaption { font-size: 13px; }
/* 額面 → 手取り */
.kq-flow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin: 12px 0 8px; }
.kq-flow > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px; text-align: center; box-shadow: 0 2px 6px rgba(23,54,93,.06); }
.kq-flow > div.net { border: 2px solid var(--blue); background: var(--blue-50); }
.kq-flow span { display: block; font-size: 12px; color: var(--sub); font-weight: 700; }
.kq-flow b { display: block; font-family: var(--head); font-size: 19px; color: var(--navy2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.kq-flow .net b { color: var(--blue); }
.kq-arrow { color: var(--blue); font-size: 26px; }
.kq-mini { list-style: none; padding: 0; margin: 8px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kq-mini li { background: var(--blue-50); border-radius: 12px; padding: 10px; }
.kq-mini span { display: block; font-size: 12px; color: var(--sub); line-height: 1.5; }
.kq-mini b { display: block; font-family: var(--head); font-size: 17px; color: var(--navy2); font-variant-numeric: tabular-nums; }
.kq-local { grid-template-columns: 1fr; }
.kq-local li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.kq-local b { white-space: nowrap; color: var(--blue); }
.kq-point { border-left: 4px solid var(--y); background: var(--y-50); border-radius: 0 12px 12px 0; padding: 4px 14px; margin: 12px 0; }
.kq-point p { margin: 8px 0; line-height: 1.8; }
.kq-btn { text-align: center; margin: 16px 0 8px; }
/* 計算ツールのボタン */
.kq-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; padding: 14px; background: var(--blue-50); border-radius: 14px; }
.kq-tools p { grid-column: 1 / -1; margin: 0; font-weight: 800; color: var(--navy2); font-family: var(--head); }
.kq-tools .btn-sub { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; min-height: 48px; padding: 8px; font-size: 14px; line-height: 1.4; }
/* まとめページの県へのリンク */
.kq-links { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kq-links a { display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; box-shadow: 0 2px 6px rgba(23,54,93,.06); }
.kq-links b { display: block; color: var(--navy2); font-size: 16px; }
.kq-links span { font-size: 13px; color: var(--blue); }
main > h3 + .plain { margin-top: 4px; }
/* 2026-10-20 追加：年版の札・問いかけの見出し・「県の平均と比べる」フォーム（OpenAI との壁打ち kyuryo-cvr-review.md）*/
.kq-year { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; font-weight: 700; color: var(--navy2); }
.kq-year span { background: var(--blue); color: #fff; border-radius: 999px; padding: 2px 10px; font-family: var(--head); }
main > h1.kq-h1 { margin-top: 8px; }
.kq-h1 span { display: block; margin-top: 4px; color: var(--blue); font-size: .86em; }
.kq-btn .btn { display: block; text-align: center; padding: 14px 16px; font-size: 16px; font-family: var(--head); box-shadow: 0 4px 0 #154A99; }
.kq-btn .kq-sub-btn { display: inline-flex; width: auto; min-height: 48px; align-items: center; padding: 8px 18px; text-decoration: none; }
.kq-check { margin: 24px 0; padding: 16px 12px; background: var(--blue-50); border-radius: 16px; scroll-margin-top: 70px; }
.kq-check .qa-h { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 6px; }
.kq-check .qa-h .ms { color: var(--blue) !important; }
.kq-check form.calc { gap: 10px; }
.kq-check label { display: grid; gap: 4px; font-weight: 700; }
.kq-check .in { position: relative; display: block; }
.kq-check .in input { width: 100%; box-sizing: border-box; padding-right: 5.2em; }
.kq-check .in i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--sub); font-size: 14px; }
.kq-check select { width: 100%; }
.kq-res { margin-top: 12px; background: #fff; border-radius: 14px; border-top: 4px solid var(--blue); padding: 14px 12px; box-shadow: 0 2px 8px rgba(23,54,93,.06); }
.kq-res[hidden] { display: none; }
.kq-word { margin: 0 0 10px; font-size: 16px; color: var(--navy2); font-weight: 700; }
.kq-word b { font-family: var(--head); font-size: 22px; color: var(--blue); background: linear-gradient(transparent 62%, var(--marker) 62%); }
.kq-bars { display: grid; gap: 8px; }
.kb { display: grid; grid-template-columns: 4.5em 1fr; align-items: center; gap: 4px 8px; }
.kb .l { font-size: 13px; font-weight: 700; color: var(--navy2); grid-row: span 2; }
.kb .b { display: block; height: 18px; border-radius: 4px; background: var(--blue-100); }
.kb.you .b { background: var(--blue); }
.kb .v { font-size: 14px; font-weight: 700; color: var(--navy2); font-variant-numeric: tabular-nums; }
.kq-how, .kq-night { margin: 8px 0 0; font-size: 13px; color: var(--sub); }
.kq-how:empty { display: none; }
#kq-next [hidden] { display: none; }
.kq-pr { margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.kq-pr .prn { margin: 0; font-size: 11px; color: var(--sub); }
.kq-pr .kq-pr-h { margin: 2px 0 4px; font-weight: 800; color: var(--navy2); font-family: var(--head); }
.kq-pr p { font-size: 13px; margin: 0 0 8px; }
.endcta .prn { margin: 0 0 4px !important; }
.kq-lev .ways li a { padding-bottom: 30px !important; }
.kq-stat:not(:has(.qa-h)) { padding-top: 12px !important; }
.kq-feat-h { margin: 8px 0 6px; font-weight: 800; color: var(--navy2); font-family: var(--head); font-size: 15px; }
.kq-feat { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.kq-feat li { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 13px; background: #fff; }
.kq-feat span { color: var(--sub); }
.kq-feat b { color: var(--navy2); }
.kq-feat li.up b { color: var(--blue); }

/* PR表記：控えめな1行（枠・アイコンなし。読める大きさと色は保つ） */
.pr { display: block !important; border: 0 !important; background: none !important; padding: 0 !important; border-radius: 0 !important; width: auto !important; font-size: 12px !important; color: var(--sub) !important; }
.pr::before { content: none !important; }

/* ── 最初の画面を絞ったページ（body.simple：/articles/kango-kyuryo-ageru/ と /yakin/。2026-10-20 試作。見本 d2-mock-*.png） ──
   1画面に箱1つ・ボタン1つ、アイコンなし、黄色なし。見出し navy 28〜32px、補足 16px、要素の間は32px以上 */
body.simple { --sn: #17365D; --sb: #1F5FBF; --sb50: #F2F7FD; --sline: #D7E4F5; background: #fff; }
body.simple .pr { text-align: center; margin: 8px 0 0 !important; }
body.simple main { max-width: 640px; margin: 0 auto; }
.sp-top, .yk-top { text-align: center; padding: 28px 0 0; }
.sp-top h1, .yk-top h1 { margin: 0; font-size: 32px; line-height: 1.35; font-weight: 800; color: var(--sn); font-family: var(--head); border: 0 !important; padding: 0 !important; background: none !important; text-wrap: balance; }
.sp-line { margin: 24px 0 0; color: var(--sb); font-weight: 700; font-size: 16px; line-height: 1.5; font-family: var(--head); }
.sp-line b { font-size: 28px; font-weight: 800; letter-spacing: .01em; }
.sp-q { margin: 36px 0 14px; font-size: 22px; font-weight: 800; color: var(--sn); font-family: var(--head); }
.picks { display: grid; gap: 14px; text-align: center; }
.picks .pick { display: block; background: var(--sb50); border: 2px solid transparent; border-radius: 16px; padding: 28px 16px; font-size: 22px; font-weight: 800; color: var(--sb) !important; text-decoration: none; font-family: var(--head); }
.picks .pick:hover, .picks .pick[aria-pressed="true"] { border-color: var(--sb); }
.path { padding-top: 48px; scroll-margin-top: 8px; }
.path[hidden] { display: none; }
.path-h { margin: 0; font-size: 16px; font-weight: 700; color: var(--sb); text-align: center; }
.st { padding: 32px 0 56px; text-align: center; }
.st + .st { border-top: 1px solid var(--sline); padding-top: 56px; }
body.simple article h2.st-h, .st-h { display: block !important; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 28px !important; line-height: 1.35; color: var(--sn); font-family: var(--head); }
.st-big { display: block; color: var(--sb); font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: .01em; }
.st-big small { font-size: 18px; font-weight: 700; margin-left: 2px; }
.st-t { display: block; margin-top: 10px; }
.st > p { font-size: 16px; line-height: 1.8; color: var(--ink); margin: 0 auto; max-width: 30em; text-align: left; }
.st-go { margin: 32px 0 0 !important; text-align: center !important; }
.sbtn, .yk-btn { display: block; width: 100%; box-sizing: border-box; background: var(--sb); color: #fff !important; border: 0; border-radius: 12px; padding: 18px 16px; font: inherit; font-size: 18px; font-weight: 800; font-family: var(--head); text-decoration: none; text-align: center; cursor: pointer; line-height: 1.4; }
.sbtn:hover, .yk-btn:hover { filter: brightness(1.08); }
.st-ad { margin: 24px 0 0; text-align: center; }
.st-ad .prn { margin: 0 0 4px; font-size: 12px; color: var(--sub); }
.st-ad .cta { margin: 0; }
body.simple .st-ad .cta a { background: #fff !important; color: var(--sn) !important; border: 1.5px solid var(--sn) !important; box-shadow: none !important; border-radius: 12px !important; font-size: 16px; padding: 14px 16px; }
body.simple .st-ad .cta a::after { content: none; }
details.why { margin: 20px 0 0; text-align: center; }
details.why > summary { display: inline; cursor: pointer; font-size: 12px; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
details.why > summary::-webkit-details-marker { display: none; }
details.why > div { margin-top: 10px; text-align: left; font-size: 14px; line-height: 1.75; color: var(--sub); }
details.why > div p { margin: 0; }
.path-sw { margin: 8px 0 0 !important; text-align: center !important; font-size: 16px; }
.path-sw a { color: var(--sb); }
details.sp-more { margin: 48px 0 40px; border-top: 1px solid var(--sline); border-bottom: 1px solid var(--sline); }
details.sp-more > summary { cursor: pointer; padding: 20px 0; font-size: 20px; font-weight: 800; color: var(--sn); font-family: var(--head); list-style: none; text-align: center; }
details.sp-more > summary::-webkit-details-marker { display: none; }
details.sp-more > summary span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--sub); font-family: inherit; }
details.sp-more[open] > summary { border-bottom: 1px solid var(--sline); }
.sp-more-in { padding: 8px 0 24px; }
body.simple main > .yk > .breadcrumb, body.simple article.sp > .breadcrumb { margin: 32px 0 8px; }
body.simple .dates { font-size: 13px; color: var(--sub); }
/* /yakin/ */
.yk-form { margin: 32px 0 0; }
.yk-box { background: var(--sb50); border-radius: 16px; padding: 20px 18px; }
.yk-sw { display: flex; justify-content: center; gap: 0; margin: 0 auto 16px; width: max-content; border: 1px solid var(--sline); border-radius: 999px; background: #fff; overflow: hidden; }
.yk-sw label { cursor: pointer; }
.yk-sw input { position: absolute; opacity: 0; pointer-events: none; }
.yk-sw span { display: block; padding: 6px 18px; font-size: 14px; color: var(--sub); }
.yk-sw input:checked + span { background: var(--sn); color: #fff; font-weight: 700; }
.yk-sw input:focus-visible + span { outline: 2px solid var(--sb); }
.yk-fs { display: grid; gap: 16px; }
.yk-fs[hidden] { display: none; }
.yk-f { display: grid; gap: 6px; font-size: 16px; font-weight: 700; color: var(--sn); }
.yk-f input, .yk-f select { width: 100%; box-sizing: border-box; font: inherit; font-size: 22px; font-weight: 700; color: var(--sn); background: #fff; border: 1.5px solid #9DB5D6; border-radius: 12px; padding: 14px 16px; }
.yk-f input::placeholder { color: #9AA8B8; font-weight: 400; }
.yk-err { margin: 12px 0 0; font-size: 14px; color: #B42318; }
.yk-err[hidden] { display: none; }
.yk-btn { margin-top: 24px; font-size: 20px; padding: 18px; }
.yk-res { margin: 36px 0 0; text-align: center; }
.yk-res[hidden], .yk-next[hidden], .st-ad[hidden] { display: none; }
.yk-big { margin: 0; font-size: 56px; line-height: 1.1; font-weight: 800; color: var(--sn); font-family: var(--head); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.yk-big small { font-size: 26px; margin-left: 2px; }
.yk-cap { margin: 10px 0 0; font-size: 16px; color: var(--sub); }
.yk-next { margin: 32px 0 0; }
.yk-next .st-go { margin-top: 0 !important; }
.nw { display: inline-block; }
.sp-top { min-height: calc(100svh - 96px); box-sizing: border-box; }

/* ── 試作3（2026-10-20）：OpenAI の指示文（research/openai/brief-20261020-illust.md）と見本 e3-mock-*.png に合わせた上書き ── */
.sp-top, .yk-top { padding-top: 12px; }
.sp-top h1, .yk-top h1 { font-size: 32px; line-height: 1.2; }
.sp-line { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--sn); line-height: 1.7; font-family: inherit; }
.sp-line b { font-size: 16px; font-weight: 800; color: var(--sb); letter-spacing: 0; }
.sp-line b.u { box-shadow: inset 0 -2px 0 #FFD23F; }  /* この記事で黄はここだけ */
.sp-hero { display: block; width: 180px; height: auto; margin: 16px auto 0; }
.sp-q { display: none; }
.picks { gap: 12px; margin-top: 16px; }
.picks .pick { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 12px; box-sizing: border-box; font-size: 18px; border-radius: 16px; }
.sp-top { min-height: calc(100svh - 100px); }
.path { padding-top: 24px; }
.st { padding: 24px 0 48px; }
.st + .st { padding-top: 40px; }
.pbar { display: flex; gap: 6px; justify-content: center; margin: 0 auto 20px !important; max-width: 200px; }
.pbar i { flex: 1; height: 6px; border-radius: 3px; background: var(--sb50); box-shadow: inset 0 0 0 1px var(--sline); }
.pbar i.on { background: var(--sb); box-shadow: none; }
.st-img { display: block; width: auto; height: 170px; margin: 0 auto 16px; }
body.simple article h2.st-h, .st-h { font-size: 24px !important; line-height: 1.35; margin: 0 0 6px !important; }
.st-num { margin: 0 !important; text-align: center !important; font-size: 14px; color: var(--sub); }
.st-num b { font-size: 20px; font-weight: 800; color: var(--sb); margin-right: 2px; }
.st-go { margin-top: 24px !important; }
.sbtn, .yk-btn { border-radius: 16px; }
details.why > div p + p { margin-top: 8px; }
/* /yakin/ */
.yk-avg { font-size: 14px; }
.yk-avg::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #FFD23F; margin-left: 6px; vertical-align: middle; }  /* このページで黄はここだけ */
.yk-form { margin-top: 20px; }
.yk-box { border-radius: 16px; padding: 16px; }
.yk-sw { margin-bottom: 12px; }
.yk-fs { gap: 12px; }
.yk-f { font-size: 14px; gap: 4px; }
.yk-f input, .yk-f select { font-size: 16px; font-weight: 500; padding: 0 14px; height: 48px; border: 1px solid rgba(31,95,191,.35); border-radius: 12px; }
.yk-btn { height: 56px; padding: 0 16px; margin-top: 16px; font-size: 18px; }
.yk-res { margin-top: 24px; animation: ykin .35s ease; }
@keyframes ykin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .yk-res { animation: none; } }
.yk-face { display: block; width: auto; height: 120px; margin: 0 auto 8px; }
.yk-face[hidden] { display: none; }
body.simple h2.yk-verdict, .yk-verdict { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; display: block !important; font-size: 28px !important; font-weight: 800; color: var(--sn); font-family: var(--head); text-align: center; }
.yk-cap { margin-top: 6px; font-size: 14px; }
.yk-next { margin-top: 20px; }
.yk-next .sbtn { background: var(--sb50); color: var(--sb) !important; height: 48px; padding: 0 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.st > .pbar { max-width: 160px; margin: 0 auto 20px !important; }
/* 下の詳しい部分は畳まずに開いたまま（2026-10-20 カフェオレ「下の方にあるんだから読みたい人だけ読む」） */
section.sp-more { margin: 64px 0 40px; padding-top: 32px; border-top: 1px solid var(--sline); }
.yk section.sp-more { margin-top: 32px; }
body.simple h2.sp-more-h { display: block !important; margin: 0 0 16px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 24px !important; color: var(--sn); font-family: var(--head); text-align: left; }
section.sp-more .sp-more-in { padding: 0; }

/* 表：数字のセル（td.num）が見出しの丸数字用の青塗り（.num）を受けていたのを打ち消す。表はふつうの白地＋1行おきの薄い色に */
.tbl table.plain td.num, table td.num { background: transparent !important; color: inherit !important; }
.tbl table.plain tr:nth-child(even) td.num { background: #FAFCFF !important; }
/* 表の中の「435.6万円」などは途中で折り返さない */
td .nw { white-space: nowrap; }
/* ステップの説明と出典：畳まず・ラベルなしでボタンの下に（2026-10-20 カフェオレ「何も言わずに根拠を書き出せばいい」） */
div.why { margin: 20px auto 0; max-width: 30em; text-align: left; font-size: 13.5px; line-height: 1.75; color: #4A5D78; }
div.why p { margin: 0 !important; font-size: inherit !important; color: inherit !important; text-align: left !important; max-width: none !important; line-height: inherit !important; }
div.why p + p { margin-top: 8px !important; }
div.why a { color: #4A5D78; }
/* PC幅では最初の画面の高さを取らない（2択の下に「くわしく」がそのまま続く。2026-10-20 カフェオレ指摘の大きな空白） */
@media (min-width: 641px) { .sp-top { min-height: 0; padding-bottom: 8px; } body.simple section.sp-more { margin-top: 48px; } }

/* 表の色の付け方をそろえる（2026-10-20 カフェオレ「色の付け方ちぐはぐ」）
   ・見出しのマス（th）は、上の行でも左の列でも同じ薄い青
   ・1行おきの色は、上に見出し行がある表だけ。左に見出しがある表（項目：内容の表）は白地のまま */
.tbl table.plain th, table.plain th { background: var(--blue-50) !important; }
.tbl table.plain tr:has(> th + td) td, .tbl table.plain tr:has(> th + td):nth-child(even) td { background: #fff !important; }
/* 左の見出しマスは折り返さない（「書いている／人」と割れないように） */
.tbl table.plain tr:has(> th + td) > th { white-space: nowrap; width: 1%; }
/* ── すっきり型のツール（/tedori/ ほか。2026-10-20）：最初の画面のイラスト・結果の下のうちわけ・ページ下の「くわしい条件」 ── */
body.simple .yk-top .tl-hero { width: auto; height: 110px; margin: 12px auto 0; }
body.simple .yk-res .tl-why { margin-top: 20px; }
body.simple table.tl-slip { width: 100%; border-collapse: collapse; margin: 0 0 8px; font-size: 13.5px; background: transparent; border: 0; box-shadow: none; }
body.simple table.tl-slip th, body.simple table.tl-slip td { padding: 4px 0; border: 0; border-bottom: 1px solid var(--sline); background: transparent !important; color: inherit; font-weight: 400; text-align: left; }
body.simple table.tl-slip td { text-align: right; white-space: nowrap; }
body.simple table.tl-slip tfoot th, body.simple table.tl-slip tfoot td { font-weight: 700; color: var(--sn); border-bottom: 0; }
body.simple .tl-why .tbl { overflow: visible; margin: 0; border: 0; box-shadow: none; }
body.simple .tl-cond { background: var(--sb50); border-radius: 16px; padding: 16px; margin: 0 0 24px; }
body.simple .tl-cond-h { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: var(--sn); }
body.simple .tl-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--sn); }
body.simple .tl-check input { width: 20px; height: 20px; flex: none; margin-top: 2px; }
/* 埋め込み版（/embed/…：body.simple が無い）でも入力欄・ボタン・結果の色が出るように */
form.yk-form, section.yk-res { --sn: #17365D; --sb: #1F5FBF; --sb50: #F2F7FD; --sline: #D7E4F5; }
/* スマホでは、ツールの最初の画面に「くわしく」が入り込まないよう間をあける */
@media (max-width: 640px) { body.simple .yk section.sp-more { margin-top: 88px; } }
/* /hikaku/ のくわしい条件（いま・求人の2列。スマホは縦に） */
body.simple .tl-cond .pair fieldset.tl-fs { background: #fff; border: 1px solid var(--sline); border-radius: 12px; }
body.simple .tl-cond .pair legend { color: var(--sn); }
body.simple table.tl-slip thead th, body.simple table.tl-slip thead td { font-weight: 700; color: var(--sn); }
body.simple table.tl-slip td.minus, body.simple .tl-why .minus { color: #B42318; }
/* スマホ：結果が出る前は、最初の画面に「くわしく」が入らないよう下へ（結果が出たら詰める） */
@media (max-width: 640px) { body.simple .yk .yk-res[hidden] ~ section.sp-more { margin-top: 40svh; } body.simple .yk .yk-res:not([hidden]) ~ section.sp-more { margin-top: 64px; } }
/* 「くわしく」の中の章末ボタン（[[btn]]・trustkit.button）は黄色にしない（黄はページで1か所） */
body.simple .sp-more .btn-cta a.btn { background: #fff !important; color: var(--sb) !important; border: 1.5px solid var(--sb) !important; box-shadow: none !important; }
/* すっきり型の「くわしく」の中に残した古い計算欄（/yakin72/ の病棟全体の計算など）：黄色のマーカーを使わない */
body.simple .slip .total b { background: none !important; color: var(--sn); }
/* 「くわしく」の中の広告ボタンも黄色にしない（ステップの広告と同じ白地＋紺の線）。直上の「PR」は中央の小さい字 */
body.simple .sp-more p.cta { text-align: center; margin: 4px 0 24px; }
body.simple .sp-more p.cta a { display: block; background: #fff !important; color: var(--sn) !important; border: 1.5px solid var(--sn) !important; box-shadow: none !important; border-radius: 12px !important; font-size: 16px; padding: 14px 16px; text-align: center; text-decoration: none; font-weight: 700; }
body.simple .sp-more p.cta a::after { content: none; }
body.simple .sp-more p.prn { margin: 24px 0 0; font-size: 12px; color: var(--sub); text-align: center; }
.dg-badge { color: #fff; } /* ピンクの帯に紺の文字は 2.9:1 で読みにくい → 白（4.9:1）。2026-11-14 */
