/* =========================================================
   NEXPHERE main.css
   スマホ基準 → 900px以上でPCレイアウト（ナビは1080px以上）
   余白は 8px 基準：8 / 16 / 24 / 32 / 48 / 56 / 80 / 120
   ========================================================= */
:root {
  --ink: #1B1F22;
  --text: #3A4045;
  --sub: #5A6166;
  --line: #E3E6E8;
  --line-strong: #C9D0D3;
  --accent: #0E5A5E;
  --accent-deep: #0A3F42;
  --tint: #ECF2F2;
  --tint-line: #D3DEDE;
  --charcoal: #1F2326;
  --radius: 8px;
  --radius-sm: 6px;
  --header-h: 60px;
  --gutter: 20px;
  --section: 80px;
  --font: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --font-en: Manrope, 'Noto Sans JP', sans-serif;
}
@media (min-width: 900px) {
  :root { --header-h: 88px; --gutter: 32px; --section: 120px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.9; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-feature-settings: 'palt' 1; margin: 0; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.num { font-family: var(--font-en); font-weight: 600; letter-spacing: 0.02em; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } .sp { display: none; } }
.muted { color: var(--sub); }
.small { font-size: 13px; line-height: 1.8; color: var(--sub); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }
.ic { flex-shrink: 0; }

.container { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 16px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { border-color: var(--ink); background: #fff; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--tint); }
.btn-sm { height: 48px; padding: 0 24px; font-size: 15px; }
.btn-lg { height: 56px; padding: 0 32px; }
.btn-xl { height: 60px; padding: 0 40px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-icon { width: 52px; padding: 0; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--ink); align-self: flex-start; }
.link .ic { transition: transform .2s; }
.link:hover .ic { transform: translateX(3px); }
.link-light { color: #fff; border-color: rgba(255,255,255,.6); }
.inline-link { color: var(--accent); font-weight: 700; border-bottom: 1px solid currentColor; }
@media (min-width: 900px) { .link { font-size: 16px; min-height: 0; padding-bottom: 8px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 var(--gutter); }
@media (min-width: 1440px) { .header-inner { padding: 0 120px; } }
@media (min-width: 900px) and (max-width: 1439px) { .header-inner { padding: 0 var(--gutter); } }
.brand img { width: 138px; height: 32px; }
@media (min-width: 900px) { .brand img { width: 172px; height: 40px; } }
.gnav { display: none; }
@media (min-width: 1080px) {
  .gnav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; letter-spacing: 0.04em; }
  .gnav > a:not(.btn) { padding: 6px 0; border-bottom: 2px solid transparent; }
  .gnav > a:not(.btn):hover, .gnav > a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
  .gnav .btn { margin-left: 4px; }
}
.menu-btn { width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: none; border: 0; cursor: pointer; }
.menu-btn span { width: 24px; height: 2px; background: var(--ink); transition: transform .25s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (min-width: 1080px) { .menu-btn, .sp-menu { display: none !important; } }
.sp-menu { position: fixed; inset: var(--header-h) 0 0; background: #fff; overflow-y: auto; display: flex; flex-direction: column; }
.sp-menu[hidden] { display: none; }
.sp-menu nav { padding: 8px var(--gutter) 0; display: flex; flex-direction: column; }
.sp-menu nav a { min-height: 64px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.sp-menu-cta { margin-top: auto; padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom)); background: var(--tint); display: flex; flex-direction: column; gap: 12px; }
.sp-menu-cta .btn { height: 56px; }
.sp-menu-hours { text-align: center; font-size: 13px; color: var(--sub); }

/* ---------- Section label & headings ---------- */
.label { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--text); }
.label-num { font-family: var(--font-en); font-weight: 700; color: var(--accent); }
.label-line { width: 24px; height: 1px; background: var(--accent); }
.label.on-dark { color: #E1EAEA; }
.label.on-dark .label-num { color: #fff; }
.label.on-dark .label-line { background: #fff; }
@media (min-width: 900px) { .label { font-size: 14px; gap: 14px; } .label-line { width: 28px; } }
.section h2 { font-size: 27px; line-height: 1.5; letter-spacing: 0.02em; }
@media (min-width: 900px) { .section h2 { font-size: 40px; line-height: 1.45; letter-spacing: 0.03em; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-ruled { padding-block: 0; }
.ruled { border-top: 1px solid var(--line); padding-block: var(--section); }
.section-tint { background: var(--tint); }
.section-dark { background: var(--accent-deep); color: #fff; }
.split-head { display: flex; flex-direction: column; gap: 20px; }
.split-body, .split-body-wide { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.split-body p, .split-body-wide p { font-size: 16px; line-height: 1.95; color: var(--text); }
@media (min-width: 900px) {
  .split-head { gap: 24px; }
  .grid-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .grid-split > .split-head { grid-column: span 5; }
  .grid-split > .split-body { grid-column: 7 / span 6; margin-top: 0; padding-top: 45px; gap: 32px; }
  .grid-split > .split-body-wide { grid-column: 6 / span 7; margin-top: 0; padding-top: 45px; }
  .split-body p, .split-body-wide p { font-size: 18px; line-height: 2; }
}

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; }
.hero-photo { order: -1; display: block; height: 420px; background: #E8ECED; overflow: hidden; }
.hero-photo img, .service-photo img, .recruit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-sp); }
.hero-copy { position: relative; background: #fff; margin: -56px var(--gutter) 0 0; padding: 36px var(--gutter) 0; display: flex; flex-direction: column; gap: 20px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--accent); }
.hero-kicker span { width: 24px; height: 2px; background: var(--accent); }
.hero h1 { font-size: 34px; line-height: 1.4; letter-spacing: 0.02em; }
.hero-lead { font-size: 16px; line-height: 1.9; color: var(--text); }
.hero-cta { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 10px; margin-top: 8px; margin-right: calc(var(--gutter) * -1); }
.hero-cta .btn { height: 56px; padding: 0 16px; }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: minmax(0, 44.5%) minmax(0, 1fr); height: 720px; }
  .hero-photo { order: 0; height: 100%; }
  .hero-photo img { object-position: var(--pos-pc); }
  .hero-copy { margin: 0; padding: 0 40px 24px max(var(--gutter), calc((100vw - 1200px) / 2)); justify-content: center; gap: 32px; }
  .hero-kicker { font-size: 15px; gap: 14px; }
  .hero-kicker span { width: 28px; }
  .hero h1 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.4; letter-spacing: 0.02em; white-space: nowrap; }
  .hero-lead { font-size: 18px; }
  .hero-cta { display: flex; gap: 12px; margin: 8px 0 0; }
  .hero-cta .btn { padding: 0 32px; }
}

/* ---------- Facts strip ---------- */
.facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.facts > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--sub); }
.facts dd { margin: 0; font-size: 15px; font-weight: 500; }
@media (min-width: 900px) {
  .facts { margin: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .facts > div { padding: 36px 0; gap: 8px; }
  .facts > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
  .facts dt { font-size: 14px; }
  .facts dd { font-size: 18px; }
}
.section-about { padding-top: var(--section); }
@media (min-width: 900px) { .section-about { padding-top: 104px; } }

/* ---------- Service ---------- */
.service-photo { display: block; height: 234px; margin: 32px calc(var(--gutter) * -1) 0; background: #E8ECED; overflow: hidden; }
@media (min-width: 900px) {
  .service-photo { height: 560px; margin: 56px 0 0; border-radius: var(--radius); }
  .service-photo img { object-position: var(--pos-pc); }
}
.cols-3 { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.cols-3 h3 { font-size: 19px; line-height: 1.5; }
.cols-3 p { font-size: 15px; line-height: 1.9; color: var(--sub); }
.service-items > div { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) {
  .cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; }
  .cols-3 h3 { font-size: 22px; }
  .cols-3 p { font-size: 16px; }
  .service-items > div { padding-top: 28px; gap: 14px; }
}

/* ---------- Area ---------- */
.area-list { margin-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.area-pref-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid #C9D6D6; margin-bottom: 14px; }
.area-pref-head h3 { font-size: 16px; }
.area-pref-head p { font-size: 13px; color: var(--sub); }
.area-pref-head .num { font-size: 22px; color: var(--ink); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { min-height: 44px; padding: 0 14px; display: flex; align-items: center; background: #fff; border: 1px solid var(--tint-line); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.4; }
.chips li.is-home { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.chips li.is-home::after { content: '所在地'; margin-left: 8px; font-size: 11px; padding: 2px 6px; border-radius: 3px; background: var(--accent); color: #fff; font-weight: 500; }
@media (min-width: 900px) {
  .area-list { margin-top: 56px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
  .chips li { min-height: 44px; padding: 0 16px; }
}

/* ---------- Values ---------- */
.values > div { border-top: 2px solid var(--accent); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.values p { color: var(--text); }
.value-num { font-family: var(--font-en); font-size: 28px; line-height: 1; font-weight: 500; color: var(--accent); }
.values h3 { margin-top: 4px; }
@media (min-width: 900px) { .values > div { padding-top: 32px; gap: 16px; } .value-num { font-size: 32px; } .values h3 { margin-top: 8px; } }

/* ---------- Signature ---------- */
.signature { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.signature p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.signature span { font-size: 13px; color: var(--sub); }
.signature strong { font-size: 19px; letter-spacing: 0.12em; }
@media (min-width: 900px) { .signature { padding-top: 28px; } .signature span { font-size: 14px; } .signature strong { font-size: 22px; } }

/* ---------- Recruit ---------- */
.recruit { display: flex; flex-direction: column; }
.recruit-photo { order: -1; display: block; height: 420px; margin: calc(var(--section) * -1) calc(var(--gutter) * -1) 40px; background: #2F4B4D; overflow: hidden; }
.recruit-body { display: flex; flex-direction: column; gap: 24px; }
.recruit-body > p { font-size: 16px; line-height: 1.95; color: #DCE6E6; }
.recruit-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.22); }
.recruit-facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.recruit-facts dt { font-size: 14px; color: #BFD0D0; }
.recruit-facts dd { margin: 0; font-size: 16px; font-weight: 500; }
.recruit .btn-row { flex-direction: column; align-items: stretch; gap: 8px; }
.recruit .btn-row .link { align-self: center; }
@media (min-width: 900px) {
  .recruit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
  .recruit-body { grid-column: span 6; gap: 32px; }
  .recruit-body > p { font-size: 18px; line-height: 2; }
  .recruit-photo { order: 0; grid-column: 8 / span 5; height: 608px; margin: 0; border-radius: var(--radius); }
  .recruit-photo img { object-position: var(--pos-pc); }
  .recruit-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid rgba(255,255,255,.22); }
  .recruit-facts > div { flex-direction: column; gap: 8px; padding: 24px 0; border-bottom: 0; }
  .recruit-facts > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.22); }
  .recruit-facts dd { font-size: 18px; }
  .recruit .btn-row { flex-direction: row; align-items: center; gap: 32px; }
}

/* ---------- Contact (top) ---------- */
.contact-grid { margin-top: 32px; display: flex; flex-direction: column; gap: 32px; }
.contact-main { border: 2px solid var(--accent); border-radius: var(--radius); padding: 28px 20px 20px; display: flex; flex-direction: column; gap: 16px; }
.contact-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--accent); }
.contact-main h3 { font-size: 23px; line-height: 1.45; }
.contact-main > p:not(.contact-eyebrow) { font-size: 15px; line-height: 1.9; color: var(--text); }
.contact-main .btn-row { flex-direction: column; align-items: stretch; gap: 4px; margin-top: 8px; }
.contact-main .btn-row .link { align-self: center; border-bottom: 0; }
.contact-sub { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-eyebrow-sub { font-size: 13px; color: var(--sub); }
.contact-sub h3 { font-size: 19px; line-height: 1.5; }
.contact-sub > p { font-size: 15px; line-height: 1.9; color: var(--sub); }
.contact-tel { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.contact-tel > p:first-child { font-size: 13px; color: var(--sub); }
.tel-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 22px; color: var(--ink); }
.tel-large { font-size: 26px; }
@media (min-width: 900px) {
  .contact-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: stretch; }
  .contact-main { grid-column: span 8; padding: 56px; gap: 28px; }
  .contact-eyebrow { font-size: 15px; }
  .contact-main h3 { font-size: 34px; letter-spacing: 0.03em; }
  .contact-main > p:not(.contact-eyebrow) { font-size: 17px; line-height: 1.95; }
  .contact-main .btn-row { flex-direction: row; align-items: center; gap: 32px; }
  .contact-main .btn-row .link { border-bottom: 1px solid var(--ink); }
  .contact-sub { grid-column: 9 / span 4; padding-top: 32px; gap: 16px; }
  .contact-sub h3 { font-size: 22px; }
  .contact-sub > p { font-size: 16px; }
  .contact-tel { margin-top: auto; }
  .tel-link { font-size: 24px; }
}

/* ---------- Sticky CTA (SP, top page) ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) 108px 52px; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .3s; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { height: 52px; padding: 0 12px; font-size: 15px; }
.sticky-cta[hidden] { display: none; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }
.page-home .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .page-home .site-footer { padding-bottom: 48px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #D3D8DB; padding: 56px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 40px; }
.footer-company { display: flex; flex-direction: column; gap: 20px; font-size: 14px; line-height: 1.9; }
.footer-company img { width: 172px; height: 40px; }
.footer-contact { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-contact > div { display: flex; gap: 16px; }
.footer-contact dt { width: 40px; flex-shrink: 0; font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: #AEB5B9; padding-top: 3px; }
.footer-contact dd { margin: 0; display: flex; flex-direction: column; }
.footer-contact a { color: #fff; font-family: var(--font-en); font-weight: 600; }
.footer-contact span { font-size: 13px; color: #AEB5B9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; }
.footer-nav a { min-height: 52px; display: flex; align-items: center; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-bottom { margin-top: 40px; font-family: var(--font-en); font-size: 12px; color: #AEB5B9; }
@media (min-width: 900px) {
  .site-footer { padding: 96px 0 48px; }
  .footer-inner { flex-direction: row; justify-content: space-between; gap: 48px; }
  .footer-company { gap: 28px; font-size: 15px; }
  .footer-nav { align-self: flex-start; grid-template-columns: repeat(2, auto); gap: 18px 72px; border-top: 0; font-size: 15px; }
  .footer-nav a { min-height: 0; border-bottom: 0; }
  .footer-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .footer-bottom { margin-top: 80px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; }
}

/* ---------- Lower pages ---------- */
.page-head { background: var(--tint); padding: 24px 0 56px; }
.page-head .container { display: flex; flex-direction: column; gap: 12px; }
.crumb { display: flex; gap: 10px; font-size: 12px; color: var(--sub); margin-bottom: 20px; }
.crumb a:hover { color: var(--accent); }
.page-en { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--accent); }
.page-head h1 { font-size: 32px; line-height: 1.4; letter-spacing: 0.04em; }
.page-lead { font-size: 15px; line-height: 1.85; color: var(--text); }
@media (min-width: 900px) {
  .page-head { padding: 64px 0 96px; }
  .page-head .container { gap: 16px; }
  .crumb { font-size: 13px; margin-bottom: 24px; }
  .page-en { font-size: 14px; }
  .page-head h1 { font-size: 48px; }
  .page-lead { font-size: 17px; }
}
.info-table { margin: 24px 0 0; border-top: 2px solid var(--ink); }
.info-table > div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.info-table dt { font-size: 13px; font-weight: 700; color: var(--accent); }
.info-table dd { margin: 0; font-size: 16px; line-height: 1.85; }
.info-table .muted { font-size: 14px; }
@media (min-width: 900px) {
  .grid-split > .info-table { margin-top: 0; }
  .info-table > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); padding: 28px 0; }
  .info-table dt { font-size: 15px; color: var(--ink); }
  .info-table-compact > div { grid-template-columns: 160px minmax(0, 1fr); padding: 20px 0; }
}
.message p { color: var(--text); }
@media (min-width: 900px) { .message { gap: 28px; } .message p { font-size: 17px; line-height: 2.05; } }
.cta-pair { display: flex; flex-direction: column; gap: 12px; }
.cta-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 56px 24px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.cta-card .ic { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
.cta-card-dark { background: var(--accent-deep); color: #fff; border-color: var(--accent-deep); }
.cta-en { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; opacity: .75; }
.cta-card strong { font-size: 19px; }
.cta-card > span:not(.cta-en) { font-size: 14px; line-height: 1.8; opacity: .85; }
@media (min-width: 900px) {
  .section-cta { padding-block: 96px; }
  .cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-card { padding: 48px 96px 48px 48px; gap: 12px; }
  .cta-card .ic { right: 48px; top: auto; bottom: 48px; transform: none; width: 24px; height: 24px; }
  .cta-card strong { font-size: 26px; }
  .cta-card > span:not(.cta-en) { font-size: 15px; }
}
.prose { max-width: 800px; display: flex; flex-direction: column; gap: 20px; }
.prose p, .prose li { font-size: 16px; line-height: 1.95; color: var(--text); }
.section .prose h2 { font-size: 19px; line-height: 1.5; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose ul { margin: 0; padding-left: 1.4em; }
.prose .btn { align-self: flex-start; }
.enacted { text-align: right; font-size: 14px; color: var(--sub); }
@media (min-width: 900px) { .section .prose h2 { font-size: 21px; margin-top: 40px; } .prose p, .prose li { font-size: 17px; } }

/* ---------- Forms ---------- */
.section-form { padding-top: 56px; }
.form-layout { display: flex; flex-direction: column; gap: 40px; }
.form-aside { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; background: var(--tint); border-radius: var(--radius); }
.section .aside-title { font-size: 14px; font-weight: 700; color: var(--sub); margin-top: 12px; }
.section .aside-title:first-child { margin-top: 0; }
.form-main { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 900px) {
  .section-form { padding-top: 96px; }
  .form-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .form-aside { grid-column: span 4; position: sticky; top: calc(var(--header-h) + 32px); padding: 32px; }
  .form-main { grid-column: 6 / span 7; }
}
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; }
.tabs button { height: 52px; border: 0; background: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.tabs button + button { border-left: 1px solid var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.panel { display: flex; flex-direction: column; gap: 12px; }
.panel[hidden] { display: none; }
.panel + .panel { margin-top: 56px; }
.js .panel + .panel { margin-top: 0; }
.section .panel-title { font-size: 22px; line-height: 1.5; }
.panel-lead { font-size: 15px; line-height: 1.9; color: var(--text); }
@media (min-width: 900px) { .section .panel-title { font-size: 28px; } .panel-lead { font-size: 16px; } }
.form { margin-top: 16px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 0; margin-bottom: 8px; }
.field > label { margin-bottom: 0; }
.req, .opt { font-size: 11px; font-weight: 700; line-height: 1; padding: 4px 6px; border-radius: 3px; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--line); color: var(--sub); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; font-size: 16px; line-height: 1.6; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; appearance: none; -webkit-appearance: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B1F22' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
::placeholder { color: #9AA1A6; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.radio span { display: flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: 15px; cursor: pointer; }
.radio input:checked + span { border-color: var(--accent); background: var(--tint); color: var(--accent); font-weight: 700; }
.radio input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-consent { flex-direction: row; align-items: center; gap: 12px; padding: 16px; background: #F5F6F5; border-radius: var(--radius-sm); }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.btn-submit { width: 100%; margin-top: 8px; }
@media (min-width: 900px) { .btn-submit { width: auto; align-self: flex-start; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Area map ---------- */
.area-map-layout { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.area-map { margin: 0 calc(var(--gutter) * -1 + 8px); display: flex; flex-direction: column; gap: 10px; }
.map-frame { position: relative; background: #fff; border: 1px solid var(--tint-line); border-radius: var(--radius); padding: 44px 8px 8px; }
.map-legend { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text); pointer-events: none; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.sw-target { background: var(--accent); }
.sw-home { background: var(--accent-deep); box-shadow: inset 0 0 0 3px var(--accent-deep), inset 0 0 0 5px #fff; }
.sw-other { background: #F2F4F4; border: 1px solid #C3CACD; }
.map-svg { display: block; width: 100%; height: auto; -webkit-tap-highlight-color: transparent; }
.muni { fill: #F2F4F4; stroke: #C3CACD; stroke-width: 0.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .15s; }
.muni.is-target { fill: var(--accent); stroke: rgba(255,255,255,.7); cursor: pointer; }
.muni.is-target.is-home { fill: var(--accent-deep); }
.muni.is-target:hover, .muni.is-target.is-active { fill: #08302F; }
.muni.is-active:not(.is-target) { fill: #E2E7E8; }
.muni:focus { outline: none; }
.muni.is-target:focus-visible { fill: #08302F; stroke: #fff; stroke-width: 2; }
.pref-borders path { fill: none; stroke: #7E888C; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; pointer-events: none; }
.home-pin { pointer-events: none; }
.home-pin circle { fill: #fff; }
.home-pin .home-pin-dot { fill: var(--accent-deep); }
.map-tip { position: absolute; z-index: 2; transform: translate(-50%, calc(-100% - 12px)); padding: 7px 12px; background: var(--ink); color: #fff; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; pointer-events: none; }
.map-tip::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.map-tip small { display: block; font-size: 11px; font-weight: 500; opacity: .75; }
.area-map figcaption { padding: 0 12px; font-size: 11px; line-height: 1.6; color: var(--sub); }
.area-side { display: flex; flex-direction: column; gap: 20px; }
.map-panel { background: #fff; border: 1px solid var(--tint-line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.map-panel-label { font-size: 12px; color: var(--sub); }
.map-panel-name { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.4; }
.map-panel-name .sw { background: var(--accent); }
.map-panel-name .sw.is-home { background: var(--accent-deep); }
.map-panel-name .sw.is-other { background: #F2F4F4; border: 1px solid #C3CACD; }
.map-panel-tags { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.map-panel-tags span { padding: 3px 10px; border-radius: 4px; background: var(--tint); color: var(--accent-deep); font-weight: 500; }
.map-panel-tags span:empty { display: none; }
.map-panel.is-other .map-panel-tags span:last-child { background: #F2F4F4; color: var(--sub); }
.area-counts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.area-counts > div { padding: 14px 0; border-bottom: 1px solid #C9D6D6; display: flex; flex-direction: column; }
.area-counts > div + div { padding-left: 16px; border-left: 1px solid #C9D6D6; }
.area-counts dt { font-size: 14px; font-weight: 700; }
.area-counts dd { margin: 0; font-size: 13px; color: var(--text); }
.area-counts .num { font-size: 22px; color: var(--ink); }
.area-details { border: 1px solid var(--ink); border-radius: var(--radius-sm); background: #fff; }
.area-details summary { list-style: none; min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.area-details summary::-webkit-details-marker { display: none; }
.area-details[open] summary { border-bottom: 1px solid var(--line); }
.area-details[open] .ic-v { display: none; }
.area-details-body { padding: 20px 16px 8px; display: flex; flex-direction: column; gap: 24px; }
.area-details .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip { width: 100%; min-height: 44px; padding: 0 12px; display: flex; align-items: center; background: #fff; border: 1px solid var(--tint-line); border-radius: var(--radius-sm); font-size: 15px; text-align: left; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.is-home { color: var(--accent); font-weight: 700; border-color: var(--accent); }
.chip.is-home::after { content: '所在地'; margin-left: auto; font-size: 11px; padding: 2px 6px; border-radius: 3px; background: var(--accent); color: #fff; font-weight: 500; }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.is-active.is-home::after { background: #fff; color: var(--accent); }
@media (min-width: 900px) {
  .area-map-layout { margin-top: 56px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .area-map { grid-column: span 8; margin: 0; gap: 14px; }
  .map-frame { padding: 56px 24px 24px; }
  .map-legend { top: 24px; left: 24px; gap: 20px; font-size: 13px; }
  .area-map figcaption { padding: 0; font-size: 13px; }
  .area-side { grid-column: 9 / span 4; gap: 28px; }
  .map-panel { padding: 28px; gap: 12px; }
  .map-panel-label { font-size: 13px; }
  .map-panel-name { font-size: 28px; }
  .map-panel-tags { font-size: 13px; }
  .area-counts > div { padding: 20px 0; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .area-counts { grid-template-columns: 1fr; }
  .area-counts > div + div { padding-left: 0; border-left: 0; }
  .area-counts dt { font-size: 16px; }
  .area-counts .num { font-size: 24px; }
  .area-details-body { padding: 20px 20px 8px; }
}
.area-details .chips li { min-height: 0; padding: 0; border: 0; background: none; display: block; }
.recruit-body > .recruit-sub { margin-top: -8px; font-size: 18px; font-weight: 500; line-height: 1.6; letter-spacing: 0.04em; color: #fff; font-feature-settings: 'palt' 1; }
@media (min-width: 900px) { .recruit-body > .recruit-sub { margin-top: -12px; font-size: 22px; } }
.field-head { display: flex; align-items: center; gap: 8px; }
.field-head label { font-size: 15px; font-weight: 700; }
