/* 静岡企業しらべ（uncap.co.jp と同じ色・書体） */
:root {
  --ink: #14161a;
  --blue: #1160f7;
  --blue-dark: #0b47ba;
  --gray: #3c4450;
  --muted: #5b6472;
  --light: #eef0f4;
  --line: #dcdfe6;
  --line-strong: #c3c9d2;
  --line-green: #06c755;
  --bg: #ffffff;
  --radius: 16px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.5; font-weight: 900; margin: 0; }
h1 { font-size: clamp(26px, 4vw, 34px); }
h2 { font-size: clamp(20px, 3vw, 24px); }
h3 { font-size: 17px; }
p { margin: 0; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.stack { display: flex; flex-direction: column; gap: 48px; padding-top: 24px; padding-bottom: 72px; }
.stack-sm { display: flex; flex-direction: column; gap: 16px; }
.sec { display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: 17px; color: var(--gray); }
.lead-box { background: var(--light); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.muted, .note { color: var(--muted); font-size: 13px; }
.center { text-align: center; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: static; width: auto; height: auto; clip: auto; display: block; padding: 8px 24px; background: var(--ink); color: #fff; }
.eyebrow { font-family: Outfit, sans-serif; font-weight: 700; font-size: 14px; color: var(--blue); }

/* ヘッダー */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; flex-direction: column; line-height: 1.3; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-name { font-size: 22px; font-weight: 900; }
.logo-sub { font-size: 12px; color: var(--muted); }
.gnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 14px; font-weight: 500; }
.gnav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 0; }
.gnav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }

/* ぱんくず：スマホでも1行、横スクロール */
.crumbs { padding-top: 20px; font-size: 13px; color: var(--muted); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs ol { display: flex; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: '＞'; margin: 0 6px; }
.crumbs a { color: var(--muted); }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.4; }
.btn-sm { min-height: 40px; padding: 0 20px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; opacity: .9; }
.btn-line { background: var(--line-green); color: var(--ink); }
.btn-line:hover { color: var(--ink); opacity: .9; }
.btn-block { width: 100%; }

/* トップ */
.hero { background: var(--light); padding: 56px 0 64px; }
.hero + .wrap { padding-top: 40px; }
.hero .wrap { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); }
.hero-lead { font-size: 17px; color: var(--gray); max-width: 760px; }
.entrances { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.entrance { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--gray); font-size: 14px; }
.entrance:hover { border-color: var(--blue); color: var(--gray); }
.entrance-title { font-size: 18px; font-weight: 900; color: var(--ink); }
.region-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.region { display: flex; flex-direction: column; gap: 4px; background: var(--light); border-radius: var(--radius); padding: 20px 24px; text-decoration: none; color: var(--gray); font-size: 14px; }
.region-name { font-size: 20px; font-weight: 900; color: var(--ink); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.facts li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; font-size: 14px; color: var(--gray); display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-size: 17px; color: var(--ink); }

/* 検索 */
.search { position: relative; display: flex; flex-wrap: wrap; gap: 12px; max-width: 720px; }
.search input { flex: 1 1 280px; min-width: 0; height: 52px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 22px; font: inherit; color: var(--ink); background: #fff; }
.search-results { position: absolute; top: 58px; left: 0; right: 0; z-index: 10; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(20, 22, 26, .08); }
.search-results a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.search-results a:hover, .search-results a:focus { background: var(--light); }
.search-results small { color: var(--muted); }

/* リスト・チップ・カード */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; text-decoration: none; color: var(--ink); }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips span { color: var(--muted); background: #fafbfc; border-style: dashed; }
.list { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.card a { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; }
.card a:hover { border-color: var(--blue); }
.card-title { font-weight: 900; color: var(--ink); }
.card-meta { font-size: 13px; color: var(--muted); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; font-weight: 700; }
.tags li { background: var(--light); border-radius: 999px; padding: 4px 12px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* 表 */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td { padding: 14px 16px; text-align: left; vertical-align: top; }
table.data thead tr { background: var(--light); }
table.data tbody tr { border-top: 1px solid var(--line); }
table.data tbody th { font-weight: 700; }
table.data td.src { font-size: 13px; color: var(--muted); }
table.data tr.empty td:not(.src) { color: var(--muted); }
table.data tr.empty { background: #fafbfc; }
table.kv { min-width: 0; }
table.kv th { width: 30%; background: var(--light); }

/* 企業ページ */
.company-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 24px; padding-bottom: 72px; }
.company-layout > article { flex: 999 1 620px; min-width: 0; padding: 0; }
.side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.side-cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.side-cta p:not(.side-cta-title) { color: var(--line); }
.side-cta-title { font-size: 20px; font-weight: 900; line-height: 1.5; }
.side-cta-more { margin: 0; font-size: 13px; text-align: center; }
.side-cta-more a { color: #fff; text-underline-offset: 3px; }
.eyebrow a { color: inherit; text-underline-offset: 3px; }
.side-box { border: 1px solid var(--line); border-radius: 20px; padding: 24px; font-size: 14px; }
.side-box-title { font-weight: 900; margin-bottom: 8px; }
.side-box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.side-box dt { color: var(--muted); }
.side-box dd { margin: 0; }
.side-box dd a { overflow-wrap: anywhere; }
.side-note { font-size: 11px; color: var(--muted); margin-top: 6px; }
.slot { border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 24px; gap: 12px; }
.slot h2 { font-size: 20px; }
.slot p { color: var(--gray); font-size: 15px; }
.faq { display: flex; flex-direction: column; gap: 20px; }
.qa p { color: var(--gray); font-size: 15px; margin-top: 4px; }
.sources { border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }

/* ハローワーク */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tip { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tip p { font-size: 14px; color: var(--gray); }

/* 相談への帯 */
.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.cta-band p { color: var(--line); font-size: 15px; max-width: 760px; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .agency-link a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ガイド本文 */
.prose { display: flex; flex-direction: column; gap: 20px; }
.prose h2 { margin-top: 16px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; }
.byline { font-size: 13px; color: var(--muted); }

/* 相談フォーム */
.form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b3374f; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-weight: 700; }
.field input[type=text], .field input[type=tel] { height: 52px; border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 16px; font: inherit; color: var(--ink); }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 240px; }
.opts { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.opts label { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; }
.req { font-size: 12px; color: #b3374f; }
.done { background: var(--light); border-radius: 24px; padding: 40px 32px; display: flex; flex-direction: column; gap: 12px; }

/* フッター */
.site-footer { background: var(--ink); color: var(--line); padding: 48px 0; font-size: 13px; margin-top: 64px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 32px; }
.fhead { font-weight: 700; color: #fff; margin-bottom: 8px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.fnote { margin-top: 6px; }

/* スマホ：企業ページの相談ボタンを画面下に固定 */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .stack { gap: 40px; }
  .cta-band { padding: 28px 20px; }
  .form { padding: 24px 16px; }
  .hero { padding: 40px 0 48px; }
  .has-sticky .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
  .has-sticky .sticky-cta .btn { width: 100%; }
  .has-sticky .site-footer { padding-bottom: 132px; }
  .sticky-sub { display: block; margin-top: 6px; text-align: center; font-size: 13px; color: var(--muted); }
  .side { position: static; }
}

/* ---------- 図・アイコン ---------- */
.icon { flex: none; }
.hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.hero-art { width: 100%; height: auto; }
.entrance-icon, .fact-icon, .step-icon, .tip-icon, .tile-icon, .q-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.entrance-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--light); margin-bottom: 6px; }
.facts li { gap: 6px; }
.fact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--light); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.steps li { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--light); border-radius: var(--radius); padding: 24px; font-size: 14px; color: var(--gray); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 18px; right: 20px; font-family: Outfit, sans-serif; font-weight: 800; font-size: 28px; color: #c9d6f3; }
.steps strong { font-size: 17px; color: var(--ink); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; background: #fff; }
.tip-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--light); }
.region-map { max-width: 640px; }
.region-map a:hover rect { opacity: .85; }

/* 図（チャート） */
.chart { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.chart-svg svg { display: block; overflow: visible; }
.chart figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--muted); }
.chart figcaption span:first-child:not(.chart-src) { font-weight: 700; color: var(--gray); font-size: 13px; }

/* 企業ページ：ひと目でわかる数字・問い */
.stack-company { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tiles-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.tile-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--light); margin-bottom: 6px; }
.tile-label { font-size: 13px; color: var(--gray); font-weight: 700; }
.tile-value { font-family: Outfit, 'Zen Kaku Gothic New', sans-serif; font-size: 24px; font-weight: 800; line-height: 1.3; }
.tile-src { font-size: 11px; color: var(--muted); }
.tile-sub { font-size: 14px; color: var(--gray); font-weight: 700; }
.chg { font-size: 13px; font-weight: 700; }
.chg.up { color: #137a3a; }
.chg.down { color: #b3374f; }
.q h2 { display: flex; align-items: center; gap: 12px; }
.q-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--light); }
.answer { font-size: 17px; font-weight: 500; border-left: 4px solid var(--blue); padding: 4px 0 4px 16px; }
.split h2 { display: flex; align-items: center; gap: 12px; }
.split-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; }
.split-col { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; height: 100%; }
.split-col ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.split-col.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.split-head { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 17px; color: var(--blue); }
.split-col.dark .split-head { color: #9dbdfb; }
.split-arrow { color: var(--line-strong); }
.toc { border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; font-size: 14px; }
.toc-title { font-weight: 900; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 16px; }

@media (max-width: 900px) {
  .hero .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; justify-self: center; order: -1; margin-bottom: -8px; }
}
@media (max-width: 760px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-arrow { transform: rotate(90deg); justify-self: center; }
  .tile-value { font-size: 21px; }
  .side .toc { display: none; }
  .chart { padding: 14px 12px 10px; }
}

/* 横棒（HTML） */
.hb { display: flex; flex-direction: column; gap: 14px; }
.hb-row { display: flex; flex-direction: column; gap: 4px; }
.hb-label { font-size: 14px; }
.hb-row.is-hi .hb-label { font-weight: 700; }
.hb-track { display: flex; align-items: center; gap: 10px; }
.hb-bar { display: block; height: 22px; border-radius: 6px; background: var(--line-strong); flex: none; max-width: calc(100% - 90px); }
.hb-row.is-hi .hb-bar { background: var(--blue); }
.hb-val { font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.hb-row.is-hi .hb-val { color: var(--blue); }
/* 縦棒・折れ線：画面幅が狭いときは幅の狭い図に切り替える（横スクロールさせない） */
.chart-narrow { display: none; }
@media (max-width: 600px) {
  .chart-wide { display: none; }
  .chart-narrow { display: block; }
}
.region-map { margin: 0; display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.rm-dir { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.rm-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rm-block { display: flex; flex-direction: column; gap: 2px; border-radius: 18px; padding: 18px; text-decoration: none; color: var(--gray); font-size: 13px; }
.rm-block:hover { color: var(--ink); outline: 2px solid var(--blue); }
.rm-0 { background: #dce6fb; } .rm-1 { background: #b9cef8; } .rm-2 { background: #8fb2f5; }
.rm-name { font-size: 22px; font-weight: 900; color: var(--ink); }
@media (max-width: 760px) { .rm-block { padding: 14px 12px; } .rm-name { font-size: 18px; } }
.mini-head { font-weight: 900; font-size: 15px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks li { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--light); font-size: 14px; font-weight: 500; }
.checks .icon { color: var(--blue); }

/* スマホ：表は横スクロールさせず、1行ずつ縦に積む（出典・時点も見えるように） */
@media (max-width: 760px) {
  table.data { min-width: 0; font-size: 15px; }
  table.data:not(.kv) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table.data:not(.kv) tbody tr { display: block; padding: 14px 16px; }
  table.data:not(.kv) tbody tr:first-child { border-top: 0; }
  table.data:not(.kv) th, table.data:not(.kv) td { display: block; padding: 0; }
  table.data:not(.kv) tbody th { font-size: 13px; color: var(--gray); margin-bottom: 2px; }
  table.data:not(.kv) td.src { margin-top: 4px; font-size: 12px; }
  table.data:not(.kv) td.src::before { content: '出典：'; }
  table.data.kv th, table.data.kv td { padding: 12px 14px; }
}

/* スマホ：ヘッダーを2段に収め、トップの見出しと検索欄を1画面目に入れる */
@media (max-width: 760px) {
  .site-header .wrap { position: relative; gap: 4px; padding-top: 12px; padding-bottom: 6px; }
  .gnav { gap: 0 18px; width: 100%; }
  .gnav .btn { position: absolute; top: 12px; right: 16px; }
  .hero { padding: 28px 0 40px; }
  .hero-art { order: 0; max-width: 260px; margin: 8px auto 0; }
}

/* 国の認定（一覧ごとに出典と時点を添える） */
.certs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.certs li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--radius); background: var(--light); }
.certs li > .icon { color: var(--blue); margin-top: 3px; }
.certs li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cert-src { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

/* 最寄り駅（直線距離） */
.stations { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.stations li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.stations li.is-nearest { border-color: var(--blue); background: var(--light); }
.st-name { font-weight: 900; }
.st-lines { font-size: 13px; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.st-km { font-weight: 700; white-space: nowrap; }
.stations li.is-nearest .st-km { color: var(--blue); }
@media (max-width: 760px) { .stations li { grid-template-columns: 1fr auto; } .st-lines { grid-column: 1 / -1; grid-row: 2; } }
/* 非公開求人 */
.job-badge { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue, #1160F7); background: #eaf1ff; border-radius: 999px; padding: 2px 10px; margin-bottom: 4px; }
.tile-value-sm { font-size: 18px; }
.job-table th { width: 9em; white-space: nowrap; vertical-align: top; }
@media (max-width: 760px) { .job-table th { width: 6.5em; white-space: normal; } }
/* 古いデータの注意書き */
.old-data { display: flex; gap: 8px; align-items: flex-start; background: #fff8e6; border: 1px solid #f0d58c; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #6b5200; }
.old-data svg { flex: none; margin-top: 2px; }
/* 自社の一次情報（紹介実績・アドバイザーの確認） */
.first-party { border: 1px solid #b9d0fb; background: #f4f8ff; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.first-party .badge { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue); background: #fff; border: 1px solid #b9d0fb; border-radius: 999px; padding: 2px 10px; margin: 0; }
.fp-list { margin: 0; display: grid; gap: 4px 12px; }
.fp-list dt { font-weight: 700; }
.fp-list dd { margin: 0 0 8px; }
@media (max-width: 760px) { .gnav .gnav-wide { display: none; } }
/* ランキングの表：スマホでは各セルの前に列の名前を出す（会社名は見出しなので出さない） */
@media (max-width: 760px) {
  table.rank td[data-label]::before, table.rank td.src[data-label]::before { content: attr(data-label) '：'; color: var(--muted); font-size: 12px; font-weight: 500; }
  table.rank tbody th { font-size: 16px; color: var(--ink); }
}
.more-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: 14px; font-weight: 700; }
/* 記事：コメント枠と「この記事を書いた人」 */
.comment-box { margin: 28px 0; padding: 20px; border-radius: var(--radius); background: var(--light); border-left: 4px solid var(--blue); }
.comment-head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.comment-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.comment-head > span { display: flex; flex-direction: column; line-height: 1.4; }
.comment-label { font-size: 12px; color: var(--blue); font-weight: 700; }
.comment-role { font-size: 12px; color: var(--muted); }
.comment-body { line-height: 1.9; }
.comment-body p { margin: 0 0 12px; }
.comment-body p:last-child { margin-bottom: 0; }
.comment-body ul { margin: 0 0 12px; padding-left: 1.3em; }
.comment-body li { margin: 2px 0; }
.comment-body .comment-sub { margin: 20px 0 6px; font-weight: 700; color: var(--ink); padding-left: 10px; border-left: 3px solid var(--blue); line-height: 1.5; }
.comment-body > .comment-sub:first-child { margin-top: 4px; }
.comment-more { margin-top: 4px; }
.comment-more > summary { list-style: none; cursor: pointer; margin: 8px 0 0; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; font-weight: 700; color: var(--blue); text-align: center; }
.comment-more > summary::-webkit-details-marker { display: none; }
.comment-more > summary::after { content: " ▼"; font-size: 12px; }
.comment-more[open] > summary { display: none; }
.comment-more-topics { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--muted); }
.comment-agency { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.author-box { margin-top: 40px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.author-label { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.author-main { display: flex; align-items: center; gap: 16px; }
.author-main img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; }
.author-name { margin: 0; font-size: 20px; font-weight: 900; }
.author-role { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.author-bio { margin: 16px 0 0; font-size: 14px; line-height: 1.9; }
.author-meta { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
/* 記事の冒頭に置く監修者（リードのすぐ下） */
.author-top { margin-top: 0; padding: 16px 20px; }
.author-top .author-label { margin-bottom: 10px; }
.author-top .author-main { gap: 14px; }
.author-top .author-main img { width: 64px; height: 64px; }
.author-top .author-name { font-size: 17px; }
.author-top .author-bio { margin-top: 12px; font-size: 13px; line-height: 1.8; }

/* LINEの友だち追加の特典の案内（config.lineGift.enabled のとき） */
.line-gift { margin: .8rem 0 0; font-size: .875rem; color: var(--muted, #52606d); }
.side-cta-gift { margin: .4rem 0 .6rem; font-size: .8125rem; color: var(--muted, #52606d); }

/* 転職フェア・イベント日程 */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.event-card { display: flex; gap: 1rem; border: 1px solid var(--line, #d5dde5); border-radius: 12px; padding: 1rem; background: var(--card, #fff); }
.event-date { flex: 0 0 4.2rem; margin: 0; text-align: center; background: var(--accent-soft, #eef4f9); border-radius: 10px; padding: .6rem .2rem; line-height: 1.2; }
.event-date span { display: block; font-size: 1.25rem; font-weight: 700; }
.event-date small { display: block; font-size: .8rem; }
.event-body { min-width: 0; flex: 1; }
.event-body h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.event-dl { display: grid; grid-template-columns: 4.5em 1fr; gap: .25rem .5rem; margin: 0; font-size: .92rem; }
.event-dl dt { color: var(--muted, #52606d); }
.event-dl dd { margin: 0; overflow-wrap: anywhere; }
.event-notes { margin: .5rem 0 0; padding-left: 1.2em; font-size: .85rem; color: var(--muted, #52606d); }
.steps { padding-left: 1.4em; }
.steps li { margin-bottom: .6rem; }
@media (max-width: 560px) {
  .event-card { flex-direction: column; gap: .5rem; }
  .event-date { flex: none; display: inline-flex; align-items: baseline; gap: .4rem; padding: .3rem .7rem; align-self: flex-start; }
  .event-date span { display: inline; font-size: 1.05rem; }
  .event-date small { display: inline; }
}

/* 市町の求人ページ：条件で見るリンク */
.filter-links { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; font-size: .92rem; margin: .4rem 0 0; }
.filter-links a { display: inline-block; padding: .25rem .7rem; border: 1px solid var(--line, #d5dde5); border-radius: 999px; text-decoration: none; }
.job-pick li { margin-bottom: .35rem; }
.job-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.job-badges .job-badge { margin-bottom: 0; }
.job-badge-sub { background: transparent; border: 1px solid currentColor; padding: 1px 9px; }

/* 記事（SEOメディア） */
.draft-banner { background: #fff4d6; border: 1px solid #f0c75e; border-radius: var(--radius); padding: 12px 16px; font-size: 14px; font-weight: 700; }
.prose .article-data { margin: 20px 0; }
.prose .article-data .table-wrap { margin: 0; }
.prose .toc { margin: 20px 0; }
.article-sources .list { font-size: 13px; color: var(--muted); }

/* 記事の図解（:::points）と写真 */
.points { margin: 24px 0; padding: 20px; border-radius: var(--radius); background: #f3f7ff; border: 1px solid #d6e3fd; }
.points figcaption { font-weight: 700; font-size: 16px; margin: 0 0 14px; color: var(--ink, #14161a); }
.points ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.points li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; margin: 0; }
.points-icon { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #e6efff; color: var(--blue); display: grid; place-items: center; }
.points-num { position: absolute; top: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.points-text { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.5; }
.points-text span { font-size: 13px; color: var(--muted); }
.article-img { margin: 24px 0; }
.article-img img { display: block; width: 100%; height: auto; border-radius: 12px; }
.article-img figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.eyecatch { margin: 0 0 20px; }
.eyecatch img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* 記事の冒頭のアンキャップ転職への案内 */
.agency-top { margin: 8px 0 4px; padding: 16px 18px; border: 2px solid var(--blue); border-radius: 12px; background: #f3f7ff; display: flex; flex-direction: column; gap: 10px; }
.agency-top-text { margin: 0; font-size: 14px; color: var(--ink, #14161a); }
.agency-top-btn { display: block; text-align: center; padding: 12px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.agency-top-btn:hover { background: var(--blue-dark); color: #fff; }

/* 会社カードの数字のチップ（2026-11-21 UI改善） */
.card a { gap: 6px; transition: border-color .15s, box-shadow .15s; }
.card a:hover { box-shadow: 0 4px 16px rgba(17, 96, 247, .08); }
.card-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.stat { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--light); font-size: 12px; color: var(--muted); }
.stat-v { font-weight: 900; font-size: 14px; color: var(--ink); }
.stat-cert { background: #e9f8ef; }
.stat-cert .stat-v { color: #0b7a3b; }

/* 見出しの左に青い線をつけて、区切りをわかりやすく */
.sec > h2 { position: relative; padding-left: 14px; }
.sec > h2::before { content: ''; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 2px; background: var(--blue); }

/* スマホでトップの入口カードを2列に（縦に長くなりすぎないように） */
@media (max-width: 640px) {
  .entrances { grid-template-columns: 1fr 1fr; gap: 10px; }
  .entrance { padding: 14px; font-size: 12px; }
  .entrance-title { font-size: 15px; }
  .entrance-icon { width: 36px; height: 36px; border-radius: 10px; }
}
/* スマホではトップの挿絵を出さない（検索窓と入口を先に見せる） */
@media (max-width: 640px) { .hero-art { display: none; } }

/* 記事のカード（アイキャッチつき） */
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.guide-cards a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s; }
.guide-cards a:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(17, 96, 247, .08); }
.guide-cards img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.guide-card-title { padding: 12px 14px 16px; font-weight: 900; font-size: 15px; line-height: 1.5; color: var(--ink); }
@media (max-width: 640px) { .guide-cards { grid-template-columns: 1fr 1fr; gap: 10px; } .guide-card-title { font-size: 13px; padding: 8px 10px 12px; } }

/* 「… →」の文字リンクをボタンに */
.more a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border: 1px solid var(--blue); border-radius: 999px; color: var(--blue); font-weight: 700; font-size: 14px; text-decoration: none; }
.more a:hover { background: var(--blue); color: #fff; }

/* 会社ページの見出し：社名を大きく、説明を小さく（文言は同じ。2026-11-21 UI改善） */
.company-h1 .h1-name { display: block; }
.company-h1 .h1-sub { display: block; margin-top: 4px; font-size: .55em; font-weight: 700; color: var(--muted); line-height: 1.5; }

/* 年収のページ：途中の案内・相談の帯のボタン（2026-11-25） */
.agency-mid { margin: 8px 0; padding: 20px 22px; border-radius: 16px; background: var(--ink, #14161a); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.agency-mid-title { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.5; color: #fff; }
.agency-mid-text { margin: 0; font-size: 14px; line-height: 1.8; color: var(--line, #dfe3ea); }
.agency-mid-btn { display: block; text-align: center; padding: 14px 16px; border-radius: 999px; background: #fff; color: var(--ink, #14161a); font-weight: 900; font-size: 16px; text-decoration: none; }
.agency-mid-btn:hover { background: #f3f7ff; color: var(--blue); }
.cta-band .btn-agency { background: #fff; color: var(--ink, #14161a); font-weight: 900; }
.cta-band .btn-agency:hover { background: #f3f7ff; color: var(--blue); }
@media (max-width: 760px) { .cta-band .btn-agency { width: 100%; padding: 0 16px; } }
