/* マップシリーズ共通のデザイン（サイトごとの色は --ac / --ac-d / --ac-s） */
:root {
  --ink: #1b2733; --ink-2: #4d5b68; --mute: #8693a0; --line: #e1e6eb; --bg: #fff; --paper: #f6f8fa; --navy: #16283a;
  --head: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --num: "Inter", "Noto Sans JP", sans-serif;
  --r: 10px; --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
img { max-width: 100%; height: auto; }
a { color: var(--ac); }
p { margin: 0 0 1em; text-align: justify; text-justify: inter-character; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.5; margin: 0; letter-spacing: .03em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mock-note { margin: 0; background: var(--navy); color: #c9d5e1; font-size: 12px; text-align: center; padding: 5px; }
.ic { width: 40px; height: 40px; } .ic-s { width: 18px; height: 18px; flex: none; vertical-align: -3px; }

/* ヘッダー */
.hd { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo .mk { width: 42px; height: 42px; border-radius: 10px; background: var(--ac); color: #fff; display: grid; place-items: center; }
.logo .mk .ic { width: 28px; height: 28px; }
.logo small { display: block; font-size: 10.5px; color: var(--mute); line-height: 1.4; letter-spacing: .02em; }
.logo b { display: block; font-family: var(--head); font-size: 19px; line-height: 1.3; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ac); }
.nav .nav-pro { color: #fff; background: var(--navy); padding: 8px 14px; border-radius: 6px; }
.nav .nav-pro:hover { background: var(--ac-d); color: #fff; }
.menu-btn { display: none; }
.bc { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 12px; color: var(--mute); }
.bc .wrap { padding-top: 9px; padding-bottom: 9px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.bc a { color: var(--ink-2); text-decoration: none; } .bc i { font-style: normal; color: #c2ccd6; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 26px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: background .2s ease; }
.btn-main { background: var(--ac); color: #fff; } .btn-main:hover { background: var(--ac-d); }
.btn-line { background: #fff; color: var(--ac); border: 1.5px solid var(--ac); } .btn-line:hover { background: var(--ac-s); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.6); } .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* 都道府県のタイル地図 */
.tiles { position: relative; display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); grid-template-rows: repeat(12, auto); gap: 4px; }
.tl { grid-column: calc(var(--x) + 1); grid-row: calc(var(--y) + 1); aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 6px; background: #e9eef3; color: var(--ink-2); text-decoration: none; font-size: 11px; font-weight: 500; line-height: 1.15; position: relative; transition: transform .15s ease, background .15s ease; }
.tl:hover { transform: scale(1.08); z-index: 2; background: var(--navy); color: #fff; }
.tl.has { background: var(--ac); color: #fff; }
.tl.has:hover { background: var(--ac-d); }
.tl b { font-family: var(--num); font-size: 10px; font-weight: 700; background: #fff; color: var(--ac-d); border-radius: 999px; min-width: 16px; padding: 0 4px; margin-top: 2px; line-height: 15px; }
.tiles.sm { gap: 2px; } .tiles.sm .tl { font-size: 0; border-radius: 3px; } .tiles.sm .tl span { display: none; }

/* 最初の画面 */
.hero { background: linear-gradient(160deg, var(--ac-s) 0%, #fff 55%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 470px; gap: 56px; align-items: center; padding-top: 60px; padding-bottom: 64px; }
.eyebrow { font-size: 12.5px; font-weight: 700; color: var(--ac); letter-spacing: .14em; margin: 0 0 14px; }
.hero h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.45; letter-spacing: .04em; }
.hero .lead { margin: 18px 0 26px; color: var(--ink-2); font-size: 15px; max-width: 36em; }
.finder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 14px 34px rgba(22,40,58,.1); max-width: 540px; }
.finder label { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--ink-2); padding: 2px 6px 0; }
.finder select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; }
.finder button { font: inherit; font-weight: 700; color: #fff; background: var(--ac); border: 0; border-radius: 8px; padding: 0 26px; cursor: pointer; white-space: nowrap; }
.finder button:hover { background: var(--ac-d); }
.hero-pts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--ink-2); }
.hero-pts b { font-family: var(--num); color: var(--ac-d); font-size: 15px; margin-right: 4px; }
.hero-map { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 0 0 1px var(--line); }
.hm-cap { margin: 12px 0 0; font-size: 12px; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.hm-cap .dot { width: 12px; height: 12px; border-radius: 3px; background: var(--ac); }

/* 節 */
.sec { padding: 80px 0; } .sec.soft { background: var(--paper); }
.sec-head { text-align: center; margin-bottom: 40px; }
.en { margin: 0 0 6px; font-family: var(--num); font-weight: 700; font-size: 12px; letter-spacing: .24em; color: var(--ac); }
.sec-head h2 { font-size: clamp(23px, 2.8vw, 32px); text-align: center; }
.sec-head p { text-align: center; color: var(--ink-2); margin: 12px auto 0; max-width: 46em; font-size: 15px; }
.more { text-align: center; margin: 30px 0 0; }

/* 専門家のカード */
.lcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.lcs.one { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
.lc-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lc-yrs { font-size: 11px; font-weight: 700; color: var(--ac-d); background: var(--ac-s); border-radius: 99px; padding: 2px 8px; white-space: nowrap; line-height: 1.5; }
.lc-yrs b { font: 700 14px/1 var(--num); margin: 0 1px; color: var(--ac); }
.lc { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.lc:hover { border-color: var(--ac); box-shadow: 0 12px 26px rgba(22,40,58,.08); }
.lc-ph { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--ac-s); color: var(--ac); display: grid; place-items: center; }
.lc-ph img { width: 76px; height: 76px; object-fit: cover; display: block; }
.lc-b { display: flex; flex-direction: column; min-width: 0; }
.lc-reg { font-size: 12px; font-weight: 700; color: var(--ac); display: flex; align-items: center; gap: 4px; }
.lc b { font-family: var(--head); font-size: 16px; line-height: 1.45; margin: 2px 0; }
.lc-rep { font-size: 12.5px; color: var(--ink-2); }
.lc-pr { font-size: 12.5px; color: var(--mute); line-height: 1.7; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc.big { grid-template-columns: 110px minmax(0, 1fr); padding: 22px; }
.lc.big .lc-ph, .lc.big .lc-ph img { width: 110px; height: 110px; }
.lc.big b { font-size: 19px; } .lc.big .lc-pr { -webkit-line-clamp: 3; font-size: 13.5px; }

/* 地域の一覧 */
.area-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.an-g { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.an-h { display: block; font-family: var(--head); font-weight: 700; color: var(--ink); text-decoration: none; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.an-l { display: flex; flex-wrap: wrap; gap: 6px; }
.an-l a { font-size: 13px; text-decoration: none; color: var(--ink-2); background: var(--paper); border-radius: 6px; padding: 3px 10px; }
.an-l a.has { background: var(--ac-s); color: var(--ac-d); font-weight: 700; }
.an-l a:hover { background: var(--ac); color: #fff; }

/* 基礎知識・声・お知らせ */
.kns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kns.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kn { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 16px; }
.kn-h a { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; }
.kn-l { font-size: 13px; color: var(--ink-2); margin: 6px 0 10px; }
.kn ul, .side ul, .rel ul { list-style: none; margin: 0; padding: 0; }
.kn li a, .side li a, .rel li a { display: block; padding: 8px 0 8px 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; position: relative; line-height: 1.6; }
.kn li a::before, .side li a::before, .rel li a::before { content: ""; position: absolute; left: 2px; top: 16px; width: 6px; height: 6px; border-top: 1.5px solid var(--ac); border-right: 1.5px solid var(--ac); transform: rotate(45deg); }
.kn li a:hover, .side li a:hover, .rel li a:hover { color: var(--ac); }
.vos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.vo { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; text-decoration: none; color: var(--ink); }
.vo b { font-family: var(--head); font-size: 15.5px; line-height: 1.6; margin-bottom: 8px; }
.vo b::before { content: "“"; font-family: Georgia, serif; color: var(--ac); font-size: 1.5em; line-height: 0; margin-right: 4px; vertical-align: -.2em; }
.vo span { font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.two h2 { font-size: 22px; margin-bottom: 14px; }
.news a, .kikan a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; }
.news time { font-family: var(--num); font-size: 13px; color: var(--mute); flex: none; }
.kikan a .ic-s { color: var(--ac); }
.pro-band { background: var(--navy); color: #fff; padding: 64px 0; }
.pro-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.pro-band h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.pro-band p { margin: 0; color: #c3cfdb; font-size: 14.5px; }
.pro-band .en { color: #8fd0c8; }
.pb-cta { display: grid; gap: 10px; }

/* 2列（本文＋横の欄） */
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 48px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.col-main { min-width: 0; }
.side { display: grid; gap: 18px; position: sticky; top: 92px; }
.sd-box { background: var(--paper); border-radius: var(--r); padding: 18px; }
.sd-h { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-family: var(--head); font-weight: 700; font-size: 15px; }
.sd-h .ic-s { color: var(--ac); }
.sd-sub { margin: 12px 0 2px; font-size: 12px; font-weight: 700; color: var(--ac-d); }
.side li a { font-size: 13px; padding: 6px 0 6px 14px; }
.side li a::before { top: 13px; }
.sd-all { display: block; text-align: center; margin-top: 12px; font-size: 13px; font-weight: 700; }
.sd-pk { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink-2); font-size: 12px; line-height: 1.5; }
.sd-pk img { border-radius: 6px; object-fit: cover; }
.sd-pk b { display: block; font-size: 13px; color: var(--ink); }
.sd-pro { display: block; background: var(--navy); color: #fff; border-radius: var(--r); padding: 20px; text-decoration: none; }
.sd-pro small { font-size: 11.5px; color: #9fb2c4; } .sd-pro b { display: block; font-family: var(--head); font-size: 17px; line-height: 1.5; margin: 4px 0 8px; } .sd-pro span { font-size: 12px; color: #8fd0c8; }

/* ページの頭 */
.ph { margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ph h1 { font-size: clamp(24px, 3vw, 32px); }
.ph p:not(.en):not(.meta) { color: var(--ink-2); margin: 12px 0 0; font-size: 15px; }
.ph.sm h1 { font-size: clamp(22px, 2.6vw, 28px); }
.meta { margin: 10px 0 0; font-family: var(--num); font-size: 13px; color: var(--mute); }
.box-map { background: var(--paper); border-radius: 14px; padding: 22px; margin-bottom: 26px; max-width: 620px; }
.wards { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.wards a { font-size: 13px; text-decoration: none; color: var(--ink-2); background: var(--paper); border-radius: 6px; padding: 4px 10px; }
.wards a.has { background: var(--ac-s); color: var(--ac-d); font-weight: 700; }
.wards a b { font-family: var(--num); margin-left: 4px; }
.empty { background: var(--paper); border-radius: 14px; padding: 30px; text-align: center; }
.empty p { text-align: center; color: var(--ink-2); }
.em-h { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--ink) !important; }
.em-near { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 20px; }
.em-near a { background: #fff; border: 1px solid var(--ac); border-radius: 6px; padding: 5px 12px; text-decoration: none; font-weight: 700; font-size: 14px; }
.gp { margin-bottom: 30px; }
.gp-h { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; padding-bottom: 8px; margin-bottom: 12px; border-bottom: 2px solid var(--ac); }
.gp-h span { font-family: var(--num); font-size: 13px; color: var(--mute); }
.gp .lcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gp-none { font-size: 13.5px; color: var(--mute); }

/* 専門家のページ */
.ls-hd { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ls-ph { width: 120px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--ac-s); color: var(--ac); display: grid; place-items: center; }
.ls-ph img { width: 120px; height: 120px; object-fit: cover; display: block; }
.ls-reg { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--ac); display: flex; align-items: center; gap: 4px; }
.ls-hd h1 { font-size: clamp(22px, 2.8vw, 30px); }
.ls-rep { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.ls-pr { font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.75; color: var(--ac-d); background: var(--ac-s); border-radius: var(--r); padding: 16px 20px; }
.ls-tabs { display: flex; gap: 6px; margin: 0 0 24px; flex-wrap: wrap; }
.ls-tabs a { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; }
.ls-tabs a:hover { border-color: var(--ac); color: var(--ac); }
.ls-body img { float: right; margin: 0 0 14px 20px; max-width: 45%; border-radius: 8px; }
.ls-body::after { content: ""; display: block; clear: both; }
.ls-body p { font-size: 15px; line-height: 2; }
.ct-box { background: #fff; border: 2px solid var(--ac); border-radius: 14px; padding: 22px 24px; margin: 30px 0; }
.ct-h { margin: 0 0 14px; font-family: var(--head); font-weight: 700; font-size: 17px; text-align: left; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ct-row a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.ct-row small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }
.ct-tel { background: var(--navy); color: #fff; font-family: var(--num); font-size: 20px; }
.ct-tel small { font-family: var(--sans); }
.ct-mail { background: var(--ac); color: #fff; font-size: 15px; }
.ct-row .ic-s { width: 24px; height: 24px; }
.ct-hours { margin: 12px 0 0; font-size: 13px; color: var(--ink-2); text-align: left; }
.ct-note { margin: 4px 0 0; font-size: 12px; color: var(--mute); text-align: left; }
.ls-sec { margin: 40px 0 0; scroll-margin-top: 90px; }
.ls-sec h2 { font-size: 20px; padding-left: 14px; border-left: 4px solid var(--ac); margin-bottom: 16px; }
.fee { display: grid; grid-template-columns: 1fr auto; margin: 0; border-top: 1px solid var(--line); }
.fee dt, .fee dd { padding: 14px 4px; border-bottom: 1px solid var(--line); margin: 0; }
.fee dd { font-family: var(--num); font-weight: 700; color: var(--ac-d); text-align: right; font-size: 17px; }
.note { font-size: 12.5px; color: var(--mute); margin-top: 10px; }
.prof { display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: start; }
.prof img { width: 90px; height: 90px; border-radius: 10px; object-fit: cover; }
.ov { display: grid; grid-template-columns: 7.5em 1fr; margin: 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.ov dt, .ov dd { padding: 12px 6px; border-bottom: 1px solid var(--line); margin: 0; }
.ov dt { color: var(--ink-2); background: var(--paper); font-size: 13px; }
.ov dd { word-break: break-all; }
.gmap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.gmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.web { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: var(--ink); }
.web b { font-family: var(--head); font-size: 16px; color: var(--ac-d); } .web span { display: block; font-size: 12.5px; color: var(--mute); } .web p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.ls-sec.pro { background: var(--paper); border-radius: var(--r); padding: 20px 22px; }
.ls-sec.pro h2 { border: 0; padding: 0; font-size: 16px; }
.ls-sec.pro p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* 記事・文章のページ */
.art-body, .prose { font-size: 15.5px; line-height: 2.05; }
.art-body h2, .prose h2, .prose h3 { font-size: 20px; margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--ac); }
.prose h4 { font-size: 17px; margin: 28px 0 10px; }
.art-body img, .prose img { border-radius: 6px; }
.prose table, .art-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 14.5px; }
.prose th, .prose td, .art-body th, .art-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th, .art-body th { background: var(--paper); font-weight: 700; }
.prose ul, .prose ol, .art-body ul, .art-body ol { padding-left: 1.4em; }
.prose dt { font-weight: 700; margin-top: 12px; } .prose dd { margin: 4px 0 0 0; color: var(--ink-2); }
.art-cta { background: var(--ac-s); border-radius: 14px; padding: 24px 26px; margin: 40px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.art-cta p { margin: 0; font-weight: 700; color: var(--ac-d); }
.rel { margin-top: 36px; }
.rel-h { font-family: var(--head); font-weight: 700; margin-bottom: 8px; }
.alist a { display: block; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.alist b { font-family: var(--head); font-size: 17px; display: block; margin-bottom: 4px; }
.alist span { font-size: 13.5px; color: var(--ink-2); }
.alist a:hover b { color: var(--ac); }
.kk-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.kk-jump a { font-size: 12.5px; text-decoration: none; color: var(--ink-2); background: var(--paper); border-radius: 6px; padding: 3px 9px; }
.kk { margin-bottom: 28px; scroll-margin-top: 90px; }
.kk h2 { font-size: 18px; margin-bottom: 10px; }
.tbl { overflow-x: auto; }
.kk table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.kk th, .kk td { border-top: 1px solid var(--line); padding: 9px 8px; text-align: left; vertical-align: top; }
.kk th { width: 30%; } .kk td.tel { white-space: nowrap; font-family: var(--num); }

/* フッター */
.ft { background: var(--navy); color: #b6c4d2; padding: 56px 0 0; font-size: 13px; }
.ft-top { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft-logo { font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 8px; }
.ft-brand p { text-align: left; font-size: 12.5px; line-height: 1.85; }
.ft-h { margin: 0 0 8px; font-weight: 700; color: #fff; }
.ft-col a { display: block; color: #b6c4d2; text-decoration: none; padding: 3px 0; }
.ft-col a:hover { color: #fff; }
.copy { margin: 40px 0 0; padding: 16px 24px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 11.5px; color: #8295a8; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.is-open { display: flex; position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 24px 20px; box-shadow: 0 20px 30px rgba(0,0,0,.12); }
  .nav.is-open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.is-open .nav-pro { text-align: center; margin-top: 12px; border: 0; }
  .menu-btn { display: inline-flex; margin-left: auto; appearance: none; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 14px; cursor: pointer; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-map { max-width: 520px; }
  .with-side { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lcs, .vos, .kns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .logo small { display: none; } .logo b { font-size: 16px; } .logo .mk { width: 36px; height: 36px; }
  .hero .wrap { padding-top: 34px; padding-bottom: 40px; gap: 30px; }
  .finder { grid-template-columns: minmax(0, 1fr); } .finder button { min-height: 48px; }
  .hero-map { padding: 12px; } .tl { font-size: 8.5px; border-radius: 4px; } .tl b { font-size: 8px; min-width: 12px; line-height: 12px; padding: 0 2px; }
  .sec { padding: 56px 0; }
  .lcs, .vos, .kns, .kns.two, .area-nav, .two, .gp .lcs, .side, .ct-row { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .pro-band .wrap { grid-template-columns: minmax(0, 1fr); }
  .ls-hd { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; } .ls-ph, .ls-ph img { width: 84px; height: 84px; }
  .ls-body img { float: none; margin: 0 0 14px; max-width: 100%; }
  .lc.big { grid-template-columns: 76px minmax(0, 1fr); } .lc.big .lc-ph, .lc.big .lc-ph img { width: 76px; height: 76px; }
  .ov { grid-template-columns: 6em 1fr; }
  .ft-top { grid-template-columns: minmax(0, 1fr); }
}
/* 地図を大きく、県名は1行 */
.hero .wrap { grid-template-columns: minmax(0, 1fr) 560px; gap: 48px; }
.tl { font-size: 11px; letter-spacing: -.04em; white-space: nowrap; }
.tl span { transform-origin: center; }
.tiles { grid-template-rows: repeat(12, minmax(0, auto)); }
@media (max-width: 1180px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) 480px; } .tl { font-size: 9.5px; } }
@media (max-width: 1080px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-map { max-width: 600px; } }
@media (max-width: 680px) { .tl { font-size: 7.5px; } }

/* 掲載のご案内（専門家の皆様へ） */
.rc-key { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 56px; background: #fff; }
.rc-price { grid-row: span 2; background: var(--ac-d); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; }
.rc-price small { font-size: 13px; letter-spacing: .1em; opacity: .8; }
.rc-price b { font-family: var(--num); font-size: 52px; line-height: 1.1; letter-spacing: -.01em; margin: 6px 0 10px; white-space: nowrap; }
.rc-price b em { font-style: normal; font-family: var(--head); font-size: 15px; margin-right: 6px; letter-spacing: .04em; }
.rc-price b i { font-style: normal; font-family: var(--head); font-size: 20px; margin-left: 2px; }
.rc-price span { font-size: 13px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 10px; }
.rc-pts { list-style: none; margin: 0; padding: 24px 28px 6px; display: grid; gap: 10px; }
.rc-pts li { display: flex; align-items: baseline; gap: 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.rc-pts b { flex: none; width: 9.5em; font-family: var(--head); font-size: 15.5px; color: var(--ink); white-space: nowrap; }
.rc-pts b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); margin-right: 9px; vertical-align: 2px; }
.rc-cta { grid-column: 2; display: flex; gap: 12px; padding: 12px 28px 26px; }
.rc-key .rc-cta .btn { flex: 1; min-width: 0; padding: 8px 14px; }
.rc-cta.c { justify-content: center; padding: 26px 0 0; }
.rc-cta .btn { min-width: 240px; }
.rc-sec { margin-bottom: 56px; }
.rc-sec h2 { font-size: clamp(20px, 2.2vw, 24px); padding-bottom: 12px; margin-bottom: 22px; border-bottom: 2px solid var(--ink); }
.rc-lead { color: var(--ink-2); font-size: 15px; }
.rc-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rc-feat li { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 18px; background: #fff; }
.rc-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ac-s); color: var(--ac); margin-bottom: 14px; }
.rc-ic .ic { width: 30px; height: 30px; }
.rc-feat b { display: block; font-family: var(--head); font-size: 16.5px; line-height: 1.5; margin-bottom: 8px; }
.rc-feat p { font-size: 14px; color: var(--ink-2); line-height: 1.8; margin: 0; }
.rc-ex { margin: 18px 0 0; text-align: right; font-size: 14px; }
.rc-ex a { font-weight: 700; }
.av { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.av-g { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.av-h { font-family: var(--head); font-weight: 700; font-size: 14.5px; margin: 0 0 8px; }
.av ul { list-style: none; margin: 0; padding: 0; }
.av-wide { grid-column: 1 / -1; order: 9; }
.av-wide ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 22px; }
.av li { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; padding: 4px 0; border-top: 1px dashed var(--line); line-height: 1.6; }
.av li b { font-family: var(--num); font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--ac); }
.av li.av-few b { color: #b0661b; }
.av li.av-full { color: var(--mute); } .av li.av-full b { color: var(--mute); font-weight: 400; }
.rc-cond { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.rc-cond li { counter-increment: c; position: relative; padding: 12px 14px 12px 50px; background: var(--paper); border-radius: 8px; font-size: 15px; line-height: 1.7; display: flex; align-items: center; }
.rc-cond li::before { content: counter(c); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--ac); color: #fff; font: 600 13px/26px var(--num); text-align: center; }
.rc-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.8; }
.rc-tbl th, .rc-tbl td { border-bottom: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.rc-tbl tr:first-child th, .rc-tbl tr:first-child td { border-top: 1px solid var(--line); }
.rc-tbl th { width: 11em; background: var(--paper); font-family: var(--head); font-weight: 700; white-space: nowrap; }
.rc-tbl .num { font-family: var(--num); font-size: 18px; color: var(--ac-d); }
.rc-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rc-steps li { counter-increment: s; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; position: relative; }
.rc-steps li::before { content: "STEP " counter(s); display: block; font: 700 12px/1 var(--num); letter-spacing: .12em; color: var(--ac); margin-bottom: 10px; }
.rc-steps b { display: block; font-family: var(--head); font-size: 16px; margin-bottom: 6px; }
.rc-steps p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.8; }
.rc-note { margin-top: 18px; background: var(--paper); border-radius: var(--r); padding: 16px 20px; font-size: 14px; color: var(--ink-2); }
.rc-note p { margin: 0 0 4px; } .rc-note b { color: var(--ink); }
.rc-small { font-size: 12.5px; color: var(--mute); margin-top: 14px; line-height: 1.8; }
@media (max-width: 1100px) {
  .rc-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-steps { grid-template-columns: 1fr; }
  .av { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .av-wide ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .rc-key { grid-template-columns: 1fr; }
  .rc-price { padding: 22px; }
  .rc-price { grid-row: auto; }
  .rc-pts { padding: 18px 20px 4px; }
  .rc-pts li { flex-direction: column; gap: 2px; }
  .rc-cta { grid-column: auto; flex-direction: column; padding: 12px 20px 22px; }
  .av-wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-cta .btn { width: 100%; min-width: 0; }
  .rc-feat, .av, .rc-cond, .rc-steps { grid-template-columns: 1fr; }
  .rc-tbl th { width: auto; display: block; border-bottom: 0; white-space: normal; }
  .rc-tbl td { display: block; }
  .rc-tbl tr:first-child td { border-top: 0; }
}

/* フォーム */
.fm { max-width: 760px; }
.fm-lead { color: var(--ink-2); font-size: 15px; margin-bottom: 26px; }
.fm-row { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: start; }
.fm-row:last-of-type { border-bottom: 1px solid var(--line); }
.fm-row label { font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.6; padding-top: 11px; display: flex; align-items: baseline; gap: 10px; }
.fm-row label span { white-space: nowrap; }
.fm-row label em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; line-height: 1.6; height: fit-content; white-space: nowrap; }
.fm-row label .req { background: #b3261e; color: #fff; } .fm-row label .opt { background: var(--paper); color: var(--mute); }
.fm input, .fm select, .fm textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #c8d0d8; border-radius: 8px; background: #fff; color: var(--ink); line-height: 1.6; }
.fm textarea { min-height: 180px; resize: vertical; }
.fm input:focus, .fm select:focus, .fm textarea:focus { outline: 2px solid var(--ac); outline-offset: 1px; border-color: var(--ac); }
.fm small { display: block; font-size: 12.5px; color: var(--mute); margin-top: 6px; line-height: 1.7; }
.fm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fm-agree { margin: 22px 0 0; font-size: 13.5px; color: var(--ink-2); }
.fm-send { text-align: center; margin-top: 22px; }
.fm-send .btn { min-width: 300px; border: 0; cursor: pointer; font-family: inherit; }
.fm-send .btn:disabled { opacity: .6; cursor: default; }
.fm-to { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-left: 4px solid var(--ac); border-radius: var(--r); padding: 16px 20px; margin-bottom: 22px; background: var(--ac-s); }
.fm-to[hidden], .fm-none[hidden] { display: none; }
.fm-to-l { font-size: 12.5px; font-weight: 700; color: var(--ac-d); letter-spacing: .06em; flex: none; }
.fm-to-o { display: flex; align-items: center; gap: 14px; }
.fm-to-o img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.fm-to-o p { margin: 0; line-height: 1.5; } .fm-to-o b { display: block; font-family: var(--head); font-size: 17px; } .fm-to-o small { margin: 0; }
.fm-none { background: #fdf3f2; border: 1px solid #f0c9c5; border-radius: var(--r); padding: 16px 20px; color: #8a2a22; }
.fm-done { max-width: 720px; } .fm-done p { color: var(--ink-2); } .fm-done .btn { margin-top: 14px; }
.fm-pv { background: var(--paper); padding: 10px 14px; border-radius: 8px; font-size: 13.5px; }
@media (max-width: 760px) {
  .fm-row { grid-template-columns: 1fr; gap: 8px; padding: 14px 0; }
  .fm-row label { padding-top: 0; }
  .fm-send .btn { width: 100%; min-width: 0; }
  .fm-to { flex-direction: column; align-items: flex-start; gap: 8px; }
}

.nw { white-space: nowrap; }

/* 掲載のお申込み：まとまりごと */
.fm-sec { border: 0; margin: 0 0 34px; padding: 0; min-width: 0; }
.fm-sec legend { display: flex; align-items: center; gap: 12px; width: 100%; font-family: var(--head); font-weight: 700; font-size: 19px; padding: 0 0 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.fm-sec legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ac); color: #fff; font: 700 14px/1 var(--num); flex: none; }
.fm-sec-l { font-size: 14px; color: var(--ink-2); margin: 10px 0 4px; }
.fm-sec .fm-row:first-of-type { border-top: 0; }
.fm input[type=file] { padding: 9px 12px; background: var(--paper); cursor: pointer; }
.fm-thumb { display: block; margin-top: 10px; max-width: 160px; max-height: 160px; border-radius: 8px; border: 1px solid var(--line); }
.fm textarea.short { min-height: 92px; }

/* 記事：更新日・リード・まとめの枠 */
.meta .upd { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--ac-d); font-weight: 700; }
.art-lead { font-size: 16.5px; line-height: 1.95; color: var(--ink); background: var(--ac-s); border-radius: var(--r); padding: 18px 22px; margin: 0 0 28px; }
.art-point { border: 1px solid var(--ac); border-radius: var(--r); padding: 18px 22px 10px; margin: 0 0 30px; }
.art-point > p:first-child { font-family: var(--head); font-weight: 700; color: var(--ac-d); margin-bottom: 8px; }
.art-point ul { margin: 0 0 8px; }
.art-body .tbl table { min-width: 520px; }
.art-body .src { font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 30px; }

/* 基礎知識（トップの3つの箱・基礎知識のページ） */
.gd-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gd-box { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px 22px; }
.gd-hd { display: flex; align-items: center; gap: 14px; }
.gd-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--ac-s); color: var(--ac); flex: none; }
.gd-ic .ic { width: 30px; height: 30px; }
.gd-hd .en { font: 700 11px/1 var(--num); letter-spacing: .14em; color: var(--ac); margin: 0 0 6px; }
.gd-hd h3, .gd-hd h2 { font-size: 20px; line-height: 1.3; }
.gd-l { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; margin: 14px 0 12px; min-height: 3.6em; }
.gd-ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.gd-ul li { border-bottom: 1px solid var(--line); }
.gd-ul a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.gd-ul a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--ac); border-right: 2px solid var(--ac); transform: rotate(45deg); flex: none; }
.gd-ul a:hover { color: var(--ac); }
.gd-more { margin-top: auto; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 8px; background: var(--paper); color: var(--ac-d); font-weight: 700; font-size: 14px; text-decoration: none; }
.gd-more span { font: 600 12px/1 var(--num); background: #fff; color: var(--ac); border-radius: 99px; padding: 4px 8px; }
.gd-more:hover { background: var(--ac-s); }
.gd-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 44px; }
.gd-nav a { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.gd-nav a .ic-s { color: var(--ac); }
.gd-nav a span { margin-left: auto; font: 600 12px/1 var(--num); color: var(--mute); }
.gd-nav a:hover { border-color: var(--ac); }
.gd-sec { margin-bottom: 56px; scroll-margin-top: 96px; }
.gd-sec > .gd-hd { padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.gd-sec > .gd-l { min-height: 0; margin: 14px 0 20px; font-size: 14.5px; }
.gd-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.gd-card { position: relative; display: flex; flex-direction: column; padding: 20px 22px 18px 66px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.gd-card:hover { border-color: var(--ac); box-shadow: 0 6px 18px rgba(22, 40, 58, .06); }
.gd-no { position: absolute; left: 20px; top: 20px; font: 700 20px/1 var(--num); color: var(--ac); letter-spacing: -.02em; }
.gd-card b { font-family: var(--head); font-size: 16.5px; line-height: 1.5; white-space: nowrap; }
.gd-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; margin: 6px 0 0; text-align: left; }
.gd-card small { margin-top: auto; padding-top: 8px; font: 600 11.5px/1 var(--num); color: var(--ac-d); }
@media (max-width: 900px) {
  .gd-top { grid-template-columns: 1fr; }
  .gd-l { min-height: 0; }
}
@media (max-width: 760px) {
  .gd-nav { grid-template-columns: 1fr; }
  .gd-cards { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gd-card b, .gd-ul a { white-space: normal; }
}
.gd-card { min-height: 124px; }
@media (max-width: 1180px) { .gd-card { min-height: 144px; } }
@media (max-width: 1000px) { .gd-card { min-height: 124px; } }
@media (max-width: 760px) { .gd-card { min-height: 0; } }

/* お客様の声のアイコン */
.vo-hd { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.vo-hd .face { width: 56px; height: 56px; flex: none; }
.vo-hd b { margin-bottom: 0; }
.alist.voice a { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
.alist.voice .face { grid-row: span 2; width: 48px; height: 48px; }
.vo-face .face { width: 72px; height: 72px; display: block; margin-bottom: 12px; }
.vo b { text-wrap: pretty; }

/* ───── 記事の図解の部品（posts/*.json の本文で使う） ───── */
.fig { margin: 8px 0 34px; padding: 22px 22px 18px; background: var(--paper); border-radius: 14px; }
.fig > figcaption, .fig-cap { font-family: var(--head); font-weight: 700; font-size: 15px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.fig > figcaption::before, .fig-cap::before { content: "図"; font: 700 11px/1 var(--num); color: #fff; background: var(--ac); border-radius: 4px; padding: 4px 6px; letter-spacing: .06em; }
.fig-note { font-size: 12.5px; color: var(--mute); margin: 12px 0 0; line-height: 1.7; }

/* 流れ図：ol.fig-flow > li > b + span */
.fig-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 26px; counter-reset: f; }
.fig-flow li { position: relative; counter-increment: f; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 12px 12px; text-align: center; }
.fig-flow li::before { content: counter(f); display: grid; place-items: center; width: 26px; height: 26px; margin: -27px auto 8px; border-radius: 50%; background: var(--ac); color: #fff; font: 700 13px/1 var(--num); }
.fig-flow li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 12px; height: 12px; border-top: 2.5px solid var(--ac); border-right: 2.5px solid var(--ac); transform: translateY(-50%) rotate(45deg); }
.fig-flow b { display: block; font-family: var(--head); font-size: 14.5px; line-height: 1.5; }
.fig-flow span { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin-top: 6px; text-align: left; }
.fig-flow { padding-top: 14px; }

/* 期限の年表：ol.fig-tl > li > em(期限) + b + span */
.fig-tl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.fig-tl::before { content: ""; position: absolute; left: 76px; top: 8px; bottom: 8px; width: 2px; background: var(--ac); opacity: .35; }
.fig-tl li { display: grid; grid-template-columns: 64px 24px minmax(0, 1fr); align-items: start; gap: 0 0; padding: 8px 0; }
.fig-tl em { font-style: normal; font: 700 13px/1.5 var(--num); color: var(--ac-d); text-align: right; padding-right: 10px; white-space: nowrap; }
.fig-tl li::before { content: ""; grid-column: 2; grid-row: 1; width: 12px; height: 12px; margin: 4px 0 0 7px; border-radius: 50%; background: #fff; border: 3px solid var(--ac); position: relative; z-index: 1; }
.fig-tl li.hot::before { background: #b3261e; border-color: #b3261e; }
.fig-tl li > div { grid-column: 3; grid-row: 1; background: #fff; border-radius: 8px; padding: 8px 14px; border: 1px solid var(--line); }
.fig-tl b { font-family: var(--head); font-size: 14.5px; }
.fig-tl span { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.65; }

/* 割合の帯：div.fig-bar > span[style=--w:50%] */
.fig-bars { display: grid; gap: 12px; }
.fig-row { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 12px; align-items: center; }
.fig-row > p { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.5; text-align: left; }
.fig-bar { display: flex; height: 40px; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.fig-bar span { width: var(--w); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; border-right: 2px solid #fff; }
.fig-bar span:last-child { border-right: 0; }
.fig-bar .c1 { background: var(--ac); } .fig-bar .c2 { background: var(--ac-d); } .fig-bar .c3 { background: #5d9a94; } .fig-bar .c4 { background: #8bb9b3; }
.fig-bar .free { background: repeating-linear-gradient(45deg, #fff, #fff 6px, #eef2f4 6px, #eef2f4 12px); color: var(--ink-2); }
.fig-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }
.fig-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* 比べる：div.fig-vs > div > b + ul */
.fig-vs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fig-vs > div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 16px 10px; border-top: 4px solid var(--ac); }
.fig-vs > div.alt { border-top-color: #b07a4a; } .fig-vs > div.mid { border-top-color: #5d9a94; }
.fig-vs b { display: block; font-family: var(--head); font-size: 16px; margin-bottom: 8px; }
.fig-vs ul { list-style: none; margin: 0; padding: 0; }
.fig-vs li { font-size: 13px; line-height: 1.65; padding: 6px 0 6px 22px; border-top: 1px dashed var(--line); position: relative; }
.fig-vs li::before { position: absolute; left: 0; top: 6px; font-weight: 700; }
.fig-vs li.ok::before { content: "○"; color: var(--ac); } .fig-vs li.ng::before { content: "×"; color: #b3261e; } .fig-vs li.tri::before { content: "△"; color: #b07a4a; }

/* 計算の例：div.fig-calc > p.q + p.f + p.a */
.fig-calc { background: #fff; border: 2px solid var(--ac); border-radius: 12px; padding: 18px 20px; }
.fig-calc .q { font-size: 14px; margin: 0 0 10px; }
.fig-calc .f { font: 600 16px/1.7 var(--num); background: var(--ac-s); border-radius: 8px; padding: 10px 14px; margin: 0 0 10px; text-align: center; }
.fig-calc .a { font-size: 14.5px; margin: 0; } .fig-calc .a strong { color: var(--ac-d); font-size: 1.15em; }

/* チェックリスト：ul.fig-check > li.ok/.ng */
.fig-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fig-check li { background: #fff; border-radius: 8px; padding: 10px 12px 10px 40px; font-size: 13.5px; line-height: 1.6; position: relative; border: 1px solid var(--line); }
.fig-check li::before { position: absolute; left: 12px; top: 9px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--num); color: #fff; }
.fig-check li.ng::before { content: "×"; background: #b3261e; } .fig-check li.ok::before { content: "✓"; background: var(--ac); }

/* 家系図（SVG）：svg.fig-tree。色は class で */
.fig-tree { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; font-family: var(--sans); }
.fig-tree .bx { fill: #fff; stroke: #c8d0d8; stroke-width: 1.5; }
.fig-tree .me { fill: var(--navy); stroke: none; } .fig-tree .me + text, .fig-tree text.w { fill: #fff; }
.fig-tree .p1 { fill: var(--ac-s); stroke: var(--ac); stroke-width: 2; }
.fig-tree .p2 { fill: #f3ede2; stroke: #b07a4a; stroke-width: 2; }
.fig-tree .p3 { fill: #ece8f2; stroke: #8a6aa0; stroke-width: 2; }
.fig-tree .sp { fill: #fdf3f2; stroke: #b3261e; stroke-width: 2; }
.fig-tree .ln { stroke: #8693a0; stroke-width: 1.5; fill: none; }
.fig-tree text { font-size: 13px; fill: var(--ink); text-anchor: middle; dominant-baseline: middle; font-weight: 700; }
.fig-tree text.s { font-size: 10.5px; font-weight: 500; fill: var(--ink-2); }
.fig-tree .tag { font-size: 11px; font-weight: 700; }

@media (max-width: 760px) {
  .fig { padding: 18px 14px 14px; margin-left: -4px; margin-right: -4px; }
  .fig-flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 24px; }
  .fig-flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -19px; transform: translateX(-50%) rotate(135deg); }
  .fig-row { grid-template-columns: 1fr; gap: 4px; }
  .fig-check { grid-template-columns: 1fr; }
  .fig-tl::before { left: 66px; }
  .fig-tl li { grid-template-columns: 54px 24px minmax(0, 1fr); }
}
.art-body h3 { font-size: 17px; margin: 30px 0 10px; color: var(--ac-d); }
.art-body ol, .art-body ul { margin: 0 0 1.4em; }
.art-body li { margin-bottom: 4px; }
@media (max-width: 420px) {
  .fig-bar { height: auto; min-height: 44px; }
  .fig-bar span { white-space: normal; font-size: 11px; line-height: 1.3; text-align: center; padding: 4px 2px; }
}

/* 専門家ページ（2026-10-25 強化） */
.ls-rep span { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.ls-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
.lf { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: 12px; padding: 14px 16px; }
.lf-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--ac); flex: none; }
.lf-ic .ic-s { width: 18px; height: 18px; }
.lf p { margin: 0; font-size: 13.5px; line-height: 1.7; text-align: left; }
.lf small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mute); }
.lf-tel a { font: 700 18px/1.4 var(--num); color: var(--ac-d); text-decoration: none; display: inline-block; margin-right: 10px; white-space: nowrap; }
.ls-pr { position: relative; padding-left: 26px; }
.ls-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ls-chips li { font-size: 13.5px; font-weight: 700; color: var(--ac-d); background: var(--ac-s); border-radius: 8px; padding: 6px 12px; line-height: 1.5; }
.ls-svc { font-size: 14.5px; line-height: 1.9; background: var(--paper); border-radius: 12px; padding: 16px 18px; margin: 0; }
.ls-body { font-size: 15.5px; }
.ls-body p { font-size: 15.5px; line-height: 2.05; margin: 0 0 1.05em; }
.ls-body h2, .ls-body h3 { font-size: 17.5px; margin: 34px 0 12px; padding: 10px 14px; background: var(--ac-s); border-radius: 10px; color: var(--ac-d); border-left: 0; }
.ls-body h3 { font-size: 16px; background: none; padding: 0 0 8px; border-bottom: 2px solid var(--ac-s); border-radius: 0; }
.ls-body mark { background: linear-gradient(transparent 58%, #fde7a8 58%); color: inherit; padding: 0 1px; }
.ls-body strong { color: var(--ac-d); }
.ls-body ul { margin: 0 0 1.2em; padding: 14px 18px 14px 36px; background: var(--paper); border-radius: 12px; }
.ls-body ul li { margin: 4px 0; }
.ls-body a { word-break: break-all; }
.fee2 { display: grid; gap: 10px; }
.fee2 > div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.fee2 p { margin: 0; font-weight: 700; font-size: 14.5px; text-align: left; }
.fee2 b { font: 700 16px/1.6 var(--num); color: var(--ac-d); text-align: right; }
.prof-l { list-style: none; margin: 0; padding: 0; }
ul.prof-l li { position: relative; padding: 6px 0 6px 18px; border-bottom: 1px dashed var(--line); font-size: 14.5px; line-height: 1.8; }
ul.prof-l li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); }
p.prof-l { font-size: 14.5px; line-height: 1.9; }
.ls-sec.gift { background: #fff8e8; border: 1px solid #f2dfae; border-radius: var(--r); padding: 20px 22px; }
.ls-sec.gift h2 { border-left-color: #d9a21e; }
@media (max-width: 760px) {
  .ls-facts { grid-template-columns: 1fr; }
  .fee2 > div { grid-template-columns: 1fr; gap: 4px; }
  .fee2 b { text-align: left; }
  .ls-rep span { display: block; margin: 2px 0 0; padding: 0; border: 0; }
}
.ls-svc-in { font-size: 14.5px; margin: 0 0 10px; }

/* トップの説明文の強調（2026-10-25：3つの札の代わりに） */
.lead .em { color: var(--ac-d); font-weight: 700; background: linear-gradient(transparent 60%, #fde7a8 60%); padding: 0 2px; }
.ov { grid-template-columns: 7.5em minmax(0, 1fr); }
.ov dd { overflow-wrap: anywhere !important; min-width: 0; }
@media (max-width: 360px) { .ov { grid-template-columns: 6em minmax(0, 1fr); } }

/* 専門家のホームページ（画面の写真・ブログの新着） */
.wb { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.wb.noshot { grid-template-columns: 1fr; }
.wb-shot { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(22,40,58,.10); text-decoration: none; transition: transform .2s ease; }
.wb-shot:hover { transform: translateY(-2px); }
.wb-bar { display: flex; align-items: center; gap: 5px; background: #eef1f4; padding: 7px 10px; }
.wb-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfd6dd; }
.wb-bar em { font-style: normal; font: 500 11px/1 var(--num); color: var(--ink-2); background: #fff; border-radius: 99px; padding: 4px 10px; margin-left: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wb-shot img { display: block; width: 100%; height: auto; }
.wb-info b { display: block; font-family: var(--head); font-size: 17px; line-height: 1.5; color: var(--ac-d); }
.wb-url { display: block; font: 500 12.5px/1.6 var(--num); color: var(--mute); word-break: break-all; }
.wb-info > p { font-size: 13.5px; color: var(--ink-2); margin: 10px 0 0; line-height: 1.8; }
.wb-go { margin-top: 14px; min-height: 46px; font-size: 14px; }
.wb-go::after { content: "↗"; font-family: var(--num); }
.wb-news { margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 12px; }
.wb-news > p { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--ac); letter-spacing: .06em; }
.wb-news ul { list-style: none; margin: 0; padding: 0; }
.wb-news a { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 8px; padding: 6px 0; font-size: 13px; line-height: 1.6; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.wb-news a:hover { color: var(--ac); }
.wb-news time { font: 500 12px/1.6 var(--num); color: var(--mute); }
.wb small { display: block; margin-top: 12px; font-size: 11.5px; color: var(--mute); }
@media (max-width: 760px) { .wb { grid-template-columns: 1fr; padding: 14px; } }

/* 記事：よくある質問・この記事について */
.faq { margin: 44px 0 0; }
.faq h2 { font-size: 20px; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--ac); }
.faq-q { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq-q summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 14px 16px; font-family: var(--head); font-weight: 700; font-size: 15.5px; line-height: 1.6; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::before { content: "Q"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ac); color: #fff; font: 700 13px/1 var(--num); }
.faq-q summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ac); border-bottom: 2px solid var(--ac); transform: rotate(45deg); transition: transform .2s ease; }
.faq-q[open] summary::after { transform: rotate(-135deg); }
.faq-q p { margin: 0; padding: 0 18px 16px 54px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
.art-about { margin: 34px 0 0; background: var(--paper); border-radius: 12px; padding: 16px 20px; font-size: 13px; color: var(--ink-2); }
.aa-h { margin: 0 0 6px; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.art-about dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0 0 6px; }
.art-about dt { font-weight: 700; } .art-about dd { margin: 0; }
.art-about p { margin: 0; font-size: 12.5px; color: var(--mute); }

/* 地域ページの下：役立つ記事・近くの地域 */
.rg { margin: 44px 0 0; }
.rg h2 { font-size: 19px; padding-left: 14px; border-left: 4px solid var(--ac); margin-bottom: 10px; }
.rg-l { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.rg-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; }
.rg-a { display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s ease; }
.rg-a:hover { border-color: var(--ac); }
.rg-a b { font-family: var(--head); font-size: 15px; color: var(--ac-d); }
.rg-a span { font-size: 12.5px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.rg-n { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-n a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 6px 8px 6px 14px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); background: #fff; }
.rg-n a b { font: 600 12px/1 var(--num); background: var(--ac); color: #fff; border-radius: 99px; padding: 4px 8px; }
.rg-n a:hover { border-color: var(--ac); }
@media (max-width: 760px) { .rg-g { grid-template-columns: 1fr; grid-auto-rows: auto; } }
@media (max-width: 420px) {
  .prose table, .prose tbody, .prose tr, .prose th, .prose td { display: block; width: 100%; }
  .prose th { border-bottom: 0; }
  .prose td { overflow-wrap: anywhere; }
}
.meta .sv { margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--line); color: var(--ink-2); font-weight: 700; }
@media (max-width: 520px) { .meta .sv { display: block; margin: 4px 0 0; padding: 0; border: 0; } }
