/* 介護のお給料ものさし：共通スタイル
   コンセプト：結果を「給与明細」の形で見せる。目立たせるのは明細と合計額だけで、ほかは静かに */
:root {
  --paper: #f2f6f4;   /* 背景：明細用紙の淡いグリーン */
  --sheet: #ffffff;   /* 明細・カードの紙 */
  --ink: #1e2b28;     /* 文字 */
  --sub: #55655f;     /* 補足の文字 */
  --green: #2f6f5e;   /* アクセント（ボタン・見出しの線） */
  --rule: #c9dcd5;    /* 罫線 */
  --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; } }

/* 介護福祉士 一問一答（/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; }

/* 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: 6.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); }

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

/* 手取り計算（/tedori/）。ナビが6項目になったので折り返す */
.site-header nav { flex-wrap: wrap; gap: 4px 16px; }
.site-header nav a { white-space: nowrap; }
.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; }

/* 受験資格の計算（/jukenshikaku/）：日数の進み具合 */
.meter { height: 8px; background: var(--rule); border-radius: 4px; margin-top: 6px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--green); }
.calc input[type="date"] {
  font: inherit; font-weight: 400; width: 100%; box-sizing: border-box;
  padding: 9px 12px; border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink);
}
.calc 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; }
.calc fieldset legend { font-weight: 700; padding: 0 6px; }
.slip.jk th { width: 45%; padding-right: 8px; }
.slip.jk td { white-space: normal; }
.slip.jk .total { flex-wrap: wrap; gap: 4px 12px; }
.slip.jk .total b { font-size: 22px; }

/* 合格点の推移と自己採点（/goukakuten/） */
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scroll table.plain { min-width: 520px; }
table.judge td.ok { color: var(--green); font-weight: 700; }
table.judge td.ng { color: var(--minus); font-weight: 700; }
.calc label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.calc label.check input { width: auto; margin: 0; }
.slip table.judge { margin: 8px 0 12px; }
.slip table.judge th, .slip table.judge td { white-space: nowrap; padding: 6px 4px; width: auto; text-align: right; font-size: 14px; }
.slip table.judge th:first-child, .slip table.judge td:first-child { text-align: left; }
.scroll table.plain th:first-child, .scroll table.plain td:first-child { white-space: nowrap; }

/* ===== 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: "Zen Maru Gothic", "BIZ UDPGothic", "Hiragino Maru Gothic ProN", sans-serif; --paper: #f3f6f1; --rule: #cfddd5; }
.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; }

/* 書いた人のカード（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 カフェオレ「介護サイトもやってくれ」）。下は kango/static/style.css の同じ部分の写し ══ */
:root { --line: #E3ECEB; --mint: #F3F8F7; --sh: 0 6px 20px rgba(20,60,80,.08); --sh2: 0 2px 6px rgba(20,60,80,.06); }
/* ══ トップページ（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%; } }

/* 介護サイトの調整：ふだんのページは幅680、トップだけ1120 */
main:has(.home) { max-width: 1120px; }
body:has(.home) .pr { max-width: 1120px; }
body:not(:has(.home)) > .site-header { padding-left: max(16px, calc((100% - 680px) / 2 + 16px)) !important; padding-right: max(16px, calc((100% - 680px) / 2 + 16px)) !important; }
body:not(:has(.home)) > .site-footer { padding-left: max(16px, calc((100% - 680px) / 2 + 16px)) !important; padding-right: max(16px, calc((100% - 680px) / 2 + 16px)) !important; }
.site-header { align-items: center !important; padding-top: 10px; padding-bottom: 0; }
.site-header .logo { display: inline-flex; align-items: center; gap: 10px; }
.site-header .lt { display: grid; line-height: 1.25; }
.site-header .lt small { font-size: 11px; font-weight: 500; font-family: "Noto Sans JP", sans-serif; }
.site-header nav.tabs a { padding: 12px 2px 10px; border-bottom: 3px solid transparent; text-decoration: none; }
@media (min-width: 760px) { body > .site-header { flex-wrap: nowrap; gap: 28px; } }
/* 診断のフォーム：看護の欄と同じ見た目にする */
.dg-form label.check { display: flex; gap: 8px; font-weight: 500; font-size: 13.5px; }
.dg-form label.check input { width: auto; }
.h-diag .slip { margin: 0; }
/* 新着記事：絵の代わりに分野のアイコン */
.h-cards .ph { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #E4F2F6, #F6FAEF); }
.h-cards .ph .ms { font-size: 54px; color: var(--blue); }
body:has(.home) { background: #fff; }
.site-header nav.tabs { flex: 0 1 auto; width: auto; }
@media (min-width: 760px) { .site-header nav.tabs { display: flex; gap: 22px; } }
.h-diag .slip { border-top-color: var(--navy2) !important; }
.h-diag .slip .total b { color: var(--navy2); }
@media (min-width: 760px) { body > .site-header { display: flex !important; align-items: center !important; gap: 32px; padding-top: 8px; } .site-header nav.tabs { margin: 0; padding: 0; } .site-header nav.tabs a { padding: 18px 2px 15px; } }
/* ヘッダーとフッターの中身はどのページも幅1120にそろえる（680だとPCでロゴとタブが窮屈） */
body:not(:has(.home)) > .site-header, body:not(:has(.home)) > .site-footer { padding-left: max(16px, calc((100% - 1120px) / 2 + 16px)) !important; padding-right: max(16px, calc((100% - 1120px) / 2 + 16px)) !important; }
.site-header .logo { flex: none; }

/* ══ 統一テーマ「ものさしブルー」（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; }
body:not(:has(.home)) { --wrap: 680px; }

/* ══ テーマ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; }

/* 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; }

/* 表：数字のセル（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; }

/* ══ すっきり型（body.simple。2026-10-20 看護 kangopay.com の手本を移したもの。決まりは ai-ceo の research/playbook/simple-page.md）══
   最初の1画面＝見出し（問いかけ）・数字の1行・イラスト1枚・2択（記事）か入力欄＋ボタン1つ（ツール）だけ。
   色：navy #17365D / blue #1F5FBF / 薄い青 #F2F7FD / 黄 #FFD23F（1ページ1か所）/ 白 */
body.simple { --sn: #17365D; --sb: #1F5FBF; --sb50: #F2F7FD; --sline: #D7E4F5; background: #fff; }
body.simple .pr { text-align: center; margin: 8px auto 0 !important; }
body.simple main { max-width: 640px; margin: 0 auto; }
body.simple .nw { display: inline-block; }
/* 最初の画面 */
body.simple .sp-top, .tl-top { text-align: center; padding: 12px 0 0; }
body.simple .sp-top h1, .tl-top h1 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 800; color: var(--sn); font-family: var(--head); border: 0 !important; padding: 0 !important; background: none !important; text-wrap: balance; }
body.simple .sp-line { margin: 12px 0 0; font-size: 14px; font-weight: 500; color: var(--sn); line-height: 1.7; }
body.simple .sp-line b { font-size: 16px; font-weight: 800; color: var(--sb); }
body.simple .sp-line b.u { box-shadow: inset 0 -2px 0 #FFD23F; }  /* ページで黄はここだけ */
body.simple .sp-hero { display: block; width: auto; height: 180px; max-width: 220px; object-fit: contain; margin: 16px auto 0; }
body.simple .picks { display: grid; gap: 12px; margin-top: 16px; text-align: center; }
body.simple .pick { display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 12px; box-sizing: border-box; background: var(--sb50); border: 2px solid transparent; border-radius: 16px; font-size: 18px; font-weight: 800; color: var(--sb) !important; text-decoration: none; font-family: var(--head); }
body.simple .pick:hover, body.simple .pick[aria-pressed="true"] { border-color: var(--sb); }
body.simple .sp-top { min-height: calc(100svh - 100px); box-sizing: border-box; }
/* 2択の後のステップ */
body.simple .path { padding-top: 24px; scroll-margin-top: 8px; }
body.simple .path[hidden] { display: none; }
body.simple .path-h { margin: 0; font-size: 16px; font-weight: 700; color: var(--sb); text-align: center; }
body.simple .st { padding: 24px 0 48px; text-align: center; }
body.simple .st + .st { border-top: 1px solid var(--sline); padding-top: 40px; }
body.simple .pbar { display: flex; gap: 6px; justify-content: center; margin: 0 auto 20px !important; max-width: 160px; }
body.simple .pbar i { flex: 1; height: 6px; border-radius: 3px; background: var(--sb50); box-shadow: inset 0 0 0 1px var(--sline); }
body.simple .pbar i.on { background: var(--sb); box-shadow: none; }
body.simple .st-img { display: block; width: auto; height: 170px; margin: 0 auto 16px; }
body.simple article h2.st-h, body.simple .st-h { display: block !important; margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 24px !important; line-height: 1.35; color: var(--sn); font-family: var(--head); }
body.simple .st-num { margin: 0 !important; text-align: center !important; font-size: 14px; color: var(--sub); }
body.simple .st-num b { font-size: 20px; font-weight: 800; color: var(--sb); margin-right: 2px; }
body.simple .st-go { margin: 24px 0 0 !important; text-align: center !important; }
body.simple .sbtn, .tl-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; box-sizing: border-box; background: var(--sb) !important; color: #fff !important; border: 0 !important; border-radius: 16px !important; box-shadow: none !important; padding: 10px 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; }
body.simple .sbtn:hover, .tl-btn:hover { filter: brightness(1.08); }
body.simple .st-ad { margin: 24px 0 0; text-align: center; }
body.simple .st-ad[hidden] { display: none; }
body.simple .st-ad .prn, .tl-ad .prn { margin: 0 0 4px; font-size: 12px; color: var(--sub); text-align: center; }
body.simple .st-ad .cta, .tl-ad .cta { margin: 0; }
body.simple .st-ad .cta a, .tl-ad .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; }
body.simple .st-ad .cta a::after, .tl-ad .cta a::after { content: none; }
body.simple div.why { margin: 20px auto 0; max-width: 30em; text-align: left; font-size: 13.5px; line-height: 1.75; color: #4A5D78; }
body.simple 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; }
body.simple div.why p + p { margin-top: 8px !important; }
body.simple div.why a { color: #4A5D78; }
body.simple .path-sw { margin: 8px 0 0 !important; text-align: center !important; font-size: 16px; }
body.simple .path-sw a { color: var(--sb); }
/* 下の「くわしく」：畳まずにそのまま。黄色のマーカーは使わず太字だけ */
body.simple section.sp-more { margin: 64px 0 40px; padding-top: 32px; border-top: 1px solid var(--sline); }
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; }
body.simple section.sp-more .sp-more-in { padding: 0; }
body.simple .sp-more mark, body.simple .sp-more .marker, body.simple .sp-more .slip .total b { background: none !important; }
body.simple .sp-more mark { font-weight: 700; color: inherit; }
body.simple .breadcrumb { margin: 32px 0 8px; }
body.simple .dates { font-size: 13px; color: var(--sub); }
/* 「くわしく」の中の章末ボタン（黄色）は薄い青にする（黄色はページで1か所だけ） */
body.simple .sp-more .btn-cta .btn, body.simple .sp-more .btn-y { background: var(--sb50) !important; color: var(--sb) !important; box-shadow: none !important; border: 0 !important; }
/* 表：白地＋1行おきの薄い色（上に見出し行がある表だけ）、見出しのマスは薄い青。末尾の「表の色の付け方をそろえる」と同じ考え方 */
body.simple .tbl table th { background: var(--sb50) !important; }
body.simple .tbl table td { background: #fff; }
body.simple .tbl table tr:nth-child(even):not(:has(> th + td)) td { background: #FAFCFF; }
/* ツール（入力欄＋ボタン → 結果＝表情イラスト・判定・差の1行・ボタン1つ） */
.tl-line { margin: 12px 0 0; font-size: 14px; color: var(--sn); }
.tl-line b { font-size: 16px; font-weight: 800; color: var(--sb); }
.tl-line b.u { box-shadow: inset 0 -2px 0 #FFD23F; }  /* ページで黄はここだけ */
form.tl-form { margin: 20px 0 0; background: var(--sb50); border: 0 !important; border-radius: 16px; padding: 16px; box-shadow: none; display: grid; gap: 12px; }
.tl-form .tl-f { display: grid; gap: 4px; font-size: 14px; font-weight: 700; color: var(--sn); }
.tl-form .tl-f input, .tl-form .tl-f select { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; font-weight: 500; color: var(--sn); background: #fff; height: 48px; padding: 0 14px; border: 1px solid rgba(31,95,191,.35) !important; border-radius: 12px !important; }
.tl-form .tl-btn { margin-top: 4px; }
.tl-sw { display: flex; justify-content: center; margin: 0 auto; width: max-content; border: 1px solid var(--sline); border-radius: 999px; background: #fff; overflow: hidden; }
.tl-sw label { cursor: pointer; }
.tl-sw input { position: absolute; opacity: 0; pointer-events: none; }
.tl-sw span { display: block; padding: 6px 18px; font-size: 14px; color: var(--sub); }
.tl-sw input:checked + span { background: var(--sn); color: #fff; font-weight: 700; }
.tl-sw input:focus-visible + span { outline: 2px solid var(--sb); }
.tl-err { margin: 0; font-size: 14px; color: #B42318; }
.tl-err[hidden], .tl-res[hidden], .tl-next[hidden] { display: none; }
.tl-res { margin: 24px 0 0; text-align: center; animation: tlin .35s ease; }
@keyframes tlin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tl-res { animation: none; } }
.tl-face { display: block; width: auto; height: 120px; margin: 0 auto 8px; }
.tl-face[hidden] { display: none; }
h2.tl-verdict { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; display: block !important; font-size: 28px !important; line-height: 1.3; font-weight: 800; color: var(--sn); font-family: var(--head); text-align: center; }
.tl-big { margin: 8px 0 0; font-size: 40px; line-height: 1.15; font-weight: 800; color: var(--sb); font-family: var(--head); font-variant-numeric: tabular-nums; }
.tl-big small { font-size: 18px; margin-left: 2px; }
.tl-cap { margin: 6px 0 0; font-size: 14px; color: var(--sub); }
.tl-next { margin: 20px 0 0; }
.tl-next .st-go { margin-top: 0 !important; }
.tl-next .sbtn { background: var(--sb50) !important; color: var(--sb) !important; min-height: 48px; font-size: 16px; }
.tl-ad { margin: 16px 0 0; }
.tl-detail { margin-top: 24px; }
section.tl-more { margin-top: 32px; }
/* PC幅では最初の画面の高さを取らない（2択の下に「くわしく」がそのまま続く） */
@media (min-width: 641px) { body.simple .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%; }
/* すっきり型ツールの結果（埋め込み版 /embed/ には body.simple が無いので、tl- の部品はここで最低限の形を決める） */
.tl-face { display: block; width: auto; height: 120px; margin: 0 auto 8px; }
.tl-face[hidden], .tl-res[hidden], .tl-err[hidden] { display: none; }
.tl-res { text-align: center; }
.tl-res .tl-detail { text-align: left; }
.tl-big { font-size: 32px; font-weight: 800; color: #1F5FBF; margin: 4px 0 0; }
.tl-cond { margin: 32px 0 0; padding: 16px; border: 1px solid var(--sline); border-radius: 16px; display: grid; gap: 12px; }
h2.tl-cond-h { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; font-size: 18px !important; color: var(--sn); }
.tl-cond .tl-f { display: grid; gap: 4px; font-size: 14px; font-weight: 700; color: var(--sn); }
.tl-cond .tl-f input, .tl-cond .tl-f select { height: 44px; font-size: 16px; border: 1px solid rgba(31,95,191,.35); border-radius: 12px; padding: 0 12px; background: #fff; width: 100%; box-sizing: border-box; }
.tl-cond .unit { display: flex; gap: 8px; }
.tl-cond label.check { display: flex; gap: 8px; font-size: 14px; align-items: flex-start; }
.tl-cond label.check input { width: auto; height: auto; margin-top: 4px; }
.tl-detail { margin-top: 24px; }
/* ツールの最初の画面：見出し〜ボタン（と結果）だけ。下の「条件を足す」はスマホでは1画面目の外へ */
.tl-first { min-height: calc(100svh - 100px); box-sizing: border-box; }
@media (min-width: 641px) { .tl-first { min-height: 0; } }
.tl-detail .total b, body.simple .slip .total b { background: none !important; }
body.simple .slip .tbl { border: 0; border-radius: 0; margin: 8px 0; }
body.simple .slip .tbl table th, body.simple .slip .tbl table td { background: none !important; }
/* 埋め込み版（body.simple なし）でも、すっきり型のツールの部品が同じ形になるように */
.tl-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; background: #1F5FBF; color: #fff; border: 0; border-radius: 16px; font: inherit; font-size: 18px; font-weight: 800; cursor: pointer; }
.tl-next .sbtn { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 16px; background: #F2F7FD; color: #1F5FBF; font-weight: 800; text-decoration: none; }
.tl-detail .total b { background: none !important; }
.tl-cond, .tl-form { --sn: #17365D; --sb: #1F5FBF; --sb50: #F2F7FD; --sline: #D7E4F5; }
.tl-res { --sn: #17365D; --sb: #1F5FBF; --sb50: #F2F7FD; --sline: #D7E4F5; }
body.simple .tl-next .sbtn { background: var(--sb50) !important; color: var(--sb) !important; min-height: 48px; font-size: 16px; }
/* 結果（または案内）が出たら、最初の画面の高さ取りをやめる（結果の下に空白を作らない） */
body.simple .tl-first:has(> .tl-res:not([hidden])), body.simple .tl-first:has(> p.note:not([hidden])) { min-height: 0; }
.tl-big[hidden] { display: none; }
body.simple .tl-cond fieldset { border: 1px solid var(--sline); border-radius: 12px; padding: 12px; display: grid; gap: 10px; margin: 0; }
body.simple .tl-cond fieldset legend { font-weight: 700; color: var(--sn); font-size: 14px; padding: 0 4px; }
body.simple .tl-cond .row2 { display: grid; gap: 10px; }
/* ツールの明細の中の黄色（マーカー・黄色のボタン）は使わない（黄色はページで1か所だけ） */
body.simple .tl-detail .verdict .rank, body.simple .tl-detail mark { background: none !important; }
body.simple .tl-detail .btn-cta .btn, body.simple .tl-cond .btn-cta .btn { background: var(--sb50) !important; color: var(--sb) !important; box-shadow: none !important; }
body.simple .tl-cond .seg { display: grid; gap: 8px; }
body.simple .tl-cond .subj { display: grid; gap: 10px; }
body.simple #g-mode-part { display: grid; gap: 12px; }
body.simple #g-mode-part[hidden] { display: none; }
/* ツールの明細の判定表：左の見出しは折り返す（長い項目名で右の結果が押し出されないように）、比較表の金額は折り返さない */
body.simple .tl-detail table.judge th, body.simple table.judge th { white-space: normal !important; width: auto !important; }
body.simple .tl-detail table.cmp td { white-space: nowrap; }
/* 求人比較：最初の画面の「いま／求人」の2列の表、結果の差のうちわけ */
.tl-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tl-grid th, .tl-grid td { padding: 4px 2px !important; border: 0 !important; background: none !important; vertical-align: middle; }
.tl-grid thead th { font-size: 13px; color: #17365D; text-align: center; }
.tl-grid thead th:first-child { width: 31%; }
.tl-grid tbody th { font-size: 13px; font-weight: 700; color: #17365D; text-align: left; line-height: 1.35; white-space: normal !important; width: auto !important; }
.tl-grid tbody th small { display: block; font-weight: 400; font-size: 11px; color: #5A6B80; }
.tl-grid input, .tl-grid select { width: 100%; box-sizing: border-box; height: 40px; font-size: 15px; padding: 0 8px; border: 1px solid rgba(31,95,191,.35); border-radius: 10px; background: #fff; color: #17365D; }
.tl-grid select + input, .tl-grid input + select { margin-top: 4px; height: 34px; font-size: 13px; }
.tl-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.tl-split li { background: #F2F7FD; border-radius: 12px; padding: 8px 4px; text-align: center; line-height: 1.3; }
.tl-split li span { display: block; font-size: 12px; color: #5A6B80; }
.tl-split li b { font-size: 18px; color: #17365D; }
.tl-split li small { font-size: 11px; color: #5A6B80; margin-left: 1px; }
body.simple .tl-form:has(.tl-grid) { padding: 12px 10px; }
body.simple .sp-more .prn { font-size: 12px; color: var(--sub); margin: 16px 0 4px; text-align: center; }
body.simple .sp-more .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; text-align: center; padding: 14px 16px; }
body.simple .sp-more .cta a * { color: var(--sn) !important; }
