@charset "UTF-8";
/* ==========================================================================
   LIBRA REALTY / リブラ不動産  Design System
   --------------------------------------------------------------------------
   1. Tokens (color / type / space / radius / shadow)
   2. Reset & base
   3. Layout (container / section / grid)
   4. Typography (heading / lead / prose)
   5. Components (button / card / badge / table / step / accordion /
      breadcrumb / form / cta-band / pager)
   6. Header / Footer / Mobile fixed CTA
   7. Page specific
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* brand */
  --c-brand: #0E7263;
  --c-brand-dark: #0A5548;
  --c-brand-light: #E6F2EF;
  --c-brand-soft: #F1F8F6;

  /* deep / ink */
  --c-navy: #0B1C26;
  --c-navy-soft: #17303D;
  --c-ink: #16262F;
  --c-muted: #5C6E78;
  --c-muted-light: #8A9AA2;

  /* accent */
  --c-gold: #C1964E;
  --c-gold-light: #F6EFE1;
  --c-alert: #C4552F;

  /* surfaces */
  --c-bg: #FBFAF7;
  --c-surface: #FFFFFF;
  --c-sand: #F5F2EC;
  --c-line: #E5E0D6;
  --c-line-strong: #D3CCC0;

  /* type */
  --f-head: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --fs-h4: clamp(1.1rem, 1rem + 0.45vw, 1.28rem);
  --fs-h3: clamp(1.24rem, 1.08rem + 0.7vw, 1.55rem);
  --fs-h2: clamp(1.5rem, 1.24rem + 1.1vw, 2.15rem);
  --fs-h1: clamp(1.75rem, 1.3rem + 1.9vw, 2.85rem);
  --fs-hero: clamp(2rem, 1.15rem + 3.6vw, 3.6rem);

  /* space */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 88px;

  /* radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* shadow */
  --sh-xs: 0 1px 2px rgba(11, 28, 38, .06);
  --sh-sm: 0 2px 10px rgba(11, 28, 38, .06);
  --sh-md: 0 10px 30px rgba(11, 28, 38, .08);
  --sh-lg: 0 22px 60px rgba(11, 28, 38, .12);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-bg);
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-brand); }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.4; letter-spacing: .01em; }
p { margin: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--c-navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */
.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(840px, 100% - 40px); margin-inline: auto; }
.container-wide { width: min(1320px, 100% - 40px); margin-inline: auto; }

.section { padding-block: clamp(48px, 7vw, var(--sp-9)); }
.section--tight { padding-block: clamp(36px, 5vw, 56px); }
.section--sand { background: var(--c-sand); }
.section--soft { background: var(--c-brand-soft); }
.section--navy { background: var(--c-navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--c-brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--c-gold); border-radius: 2px; }
.section--navy .eyebrow { color: #9FE3D6; }

.head-title { font-size: var(--fs-h2); margin-top: 12px; }
.head-title .hl { color: var(--c-brand); }
.head-desc { margin-top: var(--sp-4); color: var(--c-muted); font-size: var(--fs-md); line-height: 2; }
.section--navy .head-desc { color: #C8D6DC; }

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
.lead { font-size: var(--fs-lg); line-height: 2.1; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-size: var(--fs-h3); margin-top: 2.2em; padding-left: 16px;
  border-left: 5px solid var(--c-brand); line-height: 1.5;
}
.prose h3 {
  font-size: var(--fs-h4); margin-top: 1.9em; padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.prose h4 { font-size: var(--fs-md); margin-top: 1.6em; color: var(--c-brand-dark); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li, .prose ol li { list-style: none; position: relative; margin-top: .6em; }
.prose ul li::before {
  content: ""; position: absolute; left: -1.05em; top: .72em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-brand);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: -1.5em; top: .28em;
  font-family: var(--f-head); font-size: var(--fs-sm); font-weight: 700;
  color: var(--c-brand); width: 1.2em; text-align: center;
}
.prose strong { background: linear-gradient(transparent 62%, #FBE9B8 62%); font-weight: 700; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 1.5em 0; padding: 18px 22px; background: var(--c-sand);
  border-left: 4px solid var(--c-brand); border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--c-navy-soft);
}
.num { font-family: "Inter", var(--f-head); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */
/* --- 5.1 button --- */
.btn {
  --btn-bg: var(--c-brand); --btn-fg: #fff; --btn-bd: var(--c-brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-md);
  padding: 15px 28px; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  cursor: pointer; text-align: center; line-height: 1.4;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 18px 38px; font-size: var(--fs-lg); }
.btn--sm { padding: 10px 20px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn--navy { --btn-bg: var(--c-navy); --btn-bd: var(--c-navy); }
.btn--gold { --btn-bg: var(--c-gold); --btn-bd: var(--c-gold); --btn-fg: #23180a; }
.btn--line { --btn-bg: transparent; --btn-fg: var(--c-brand-dark); --btn-bd: var(--c-brand); }
.btn--line-white { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.65); }
.btn--line-white:hover { background: rgba(255,255,255,.12); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--c-navy); --btn-bd: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.btn-row--center { justify-content: center; }
.btn-note { font-size: var(--fs-xs); color: var(--c-muted); margin-top: 10px; }

/* --- 5.2 badge / tag --- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-head); font-size: var(--fs-xs); font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
  background: var(--c-brand-light); color: var(--c-brand-dark); white-space: nowrap;
}
.badge--gold { background: var(--c-gold-light); color: #8A6520; }
.badge--navy { background: #E4EBEE; color: var(--c-navy); }
.badge--free { background: var(--c-brand); color: #fff; }

/* --- 5.3 card --- */
.card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--sp-5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-brand); }
.card--flat { box-shadow: none; }
.card-title { font-size: var(--fs-h4); margin-bottom: 10px; }
.card-text { color: var(--c-muted); font-size: var(--fs-base); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-brand-light); color: var(--c-brand-dark); font-size: 20px; margin-bottom: 14px;
}
.card-link { display: block; color: inherit; }
.card-link:hover { color: inherit; }

/* worry card */
.worry { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 16px 18px; }
.worry i { color: var(--c-gold); margin-top: 5px; }
.worry p { font-size: var(--fs-base); font-weight: 500; }

/* --- 5.4 price compare --- */
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); align-items: stretch; }
.compare-panel { border-radius: var(--r-lg); padding: var(--sp-5); border: 1px solid var(--c-line); background: #fff; }
.compare-panel--ours { border: 2px solid var(--c-brand); background: var(--c-brand-soft); position: relative; }
.compare-panel h3 { font-size: var(--fs-h4); }
.compare-amount { font-family: var(--f-head); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; line-height: 1.2; margin: 10px 0 4px; }
.compare-amount--muted { color: var(--c-muted-light); }
.compare-amount--brand { color: var(--c-brand); }
.compare-note { font-size: var(--fs-sm); color: var(--c-muted); }
.compare-flag {
  position: absolute; top: -14px; left: var(--sp-5);
  background: var(--c-gold); color: #23180a; font-family: var(--f-head);
  font-size: var(--fs-xs); font-weight: 700; padding: 5px 14px; border-radius: var(--r-pill);
}
.calc { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); }
.calc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.calc-row label { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-base); }
.calc input[type="range"] { flex: 1; min-width: 220px; accent-color: var(--c-brand); }

/* --- 5.5 table --- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
.table { min-width: 620px; font-size: var(--fs-base); }
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table thead th { background: var(--c-sand); font-family: var(--f-head); font-size: var(--fs-sm); white-space: nowrap; }
.table tbody th { font-family: var(--f-head); font-weight: 700; width: 30%; background: #FCFBF9; }
.table td.is-ours { background: var(--c-brand-soft); font-weight: 700; color: var(--c-brand-dark); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }

/* --- 5.6 step --- */
.steps { counter-reset: step; display: grid; gap: var(--sp-4); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-4); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); }
.step::before {
  counter-increment: step; content: "STEP " counter(step);
  font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--c-brand); background: var(--c-brand-light); border-radius: var(--r-md);
  height: 44px; display: grid; place-items: center; text-align: center; line-height: 1.2;
}
.step h3 { font-size: var(--fs-h4); margin-bottom: 8px; }
.step p { color: var(--c-muted); }
.step-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

/* --- 5.7 accordion (FAQ) --- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.faq-item[open] { border-color: var(--c-brand); box-shadow: var(--sh-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 52px; position: relative;
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-md); line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; position: absolute; left: 16px; top: 15px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--c-brand); color: #fff;
  display: grid; place-items: center; font-size: var(--fs-sm); font-family: var(--f-head);
}
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 26px; width: 11px; height: 11px;
  border-right: 2px solid var(--c-brand); border-bottom: 2px solid var(--c-brand);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 54px 22px 52px; color: var(--c-muted); position: relative; }
.faq-answer::before {
  content: "A"; position: absolute; left: 17px; top: 2px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--c-gold-light); color: #8A6520;
  display: grid; place-items: center; font-size: var(--fs-sm); font-family: var(--f-head); font-weight: 700;
}
.faq-answer p + p { margin-top: .9em; }

/* --- 5.8 breadcrumb --- */
.breadcrumb { background: var(--c-sand); border-bottom: 1px solid var(--c-line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 13px 0; font-size: var(--fs-sm); color: var(--c-muted); }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "›"; color: var(--c-muted-light); }
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-brand); }

/* --- 5.9 form --- */
.form { display: grid; gap: var(--sp-5); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.field { display: grid; gap: 8px; }
.field > label { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-base); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.req, .opt { font-size: var(--fs-xs); font-weight: 700; padding: 3px 8px; border-radius: var(--r-pill); font-family: var(--f-body); }
.req { background: #FCE7E0; color: var(--c-alert); }
.opt { background: #EDEDEA; color: var(--c-muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-md); color: var(--c-ink); background: #fff;
  border: 1.5px solid var(--c-line-strong); border-radius: var(--r-md); padding: 13px 15px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px rgba(14,114,99,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: var(--fs-sm); color: var(--c-muted); }
.field--full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-base); }
.check input { width: 20px; height: 20px; accent-color: var(--c-brand); margin-top: 5px; flex: none; }
.form-msg { border-radius: var(--r-md); padding: 16px 18px; font-weight: 700; display: none; }
.form-msg.is-ok { display: block; background: var(--c-brand-light); color: var(--c-brand-dark); }
.form-msg.is-ng { display: block; background: #FCE7E0; color: var(--c-alert); }
.field-label { display: block; margin-bottom: 8px; }
.radio-list { display: flex; flex-wrap: wrap; gap: 10px; }
.radio { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--c-line-strong); background: #fff; border-radius: var(--r-md); padding: 11px 16px; cursor: pointer; font-size: var(--fs-base); }
.radio input { width: 18px; height: 18px; accent-color: var(--c-brand); margin: 0; flex: none; }
.radio:has(input:checked) { border-color: var(--c-brand); background: var(--c-brand-soft); }
.privacy-box { border: 1px solid var(--c-line-strong); background: var(--c-sand); border-radius: var(--r-lg); padding: var(--sp-5); }
.privacy-box h3 { font-size: var(--fs-h4); display: flex; align-items: center; gap: 8px; }
.privacy-box h3 i { color: var(--c-brand); }
.privacy-box p { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-muted); line-height: 1.9; }
.privacy-box .check { margin-top: var(--sp-4); font-weight: 500; }
.step-list { display: grid; gap: var(--sp-4); }
.step-box { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-5) var(--sp-5) 68px; box-shadow: var(--sh-sm); }
.step-num { position: absolute; left: var(--sp-5); top: var(--sp-5); width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-md); }
.step-box h3 { font-size: var(--fs-h4); }
.step-box p { margin-top: 8px; font-size: var(--fs-base); color: var(--c-muted); line-height: 1.9; }
.step-box code { background: var(--c-sand); border: 1px solid var(--c-line); border-radius: 6px; padding: 2px 7px; font-size: .9em; color: var(--c-brand-dark); word-break: break-all; }
@media (max-width: 640px) { .step-box { padding: 58px var(--sp-4) var(--sp-4); } .step-num { left: var(--sp-4); } }

/* --- 5.10 CTA band --- */
.cta-band {
  background: linear-gradient(135deg, var(--c-navy) 0%, #123C46 55%, var(--c-brand-dark) 100%);
  color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 52px);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(193,150,78,.34), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: var(--fs-h3); }
.cta-band p { color: #CFDDE2; margin-top: 14px; }
.cta-band .btn-row { margin-top: var(--sp-5); position: relative; z-index: 1; }
.cta-inline {
  border: 1px dashed var(--c-brand); background: var(--c-brand-soft);
  border-radius: var(--r-lg); padding: var(--sp-5); margin: 2em 0;
}
.cta-inline h3 { font-size: var(--fs-h4); margin-bottom: 10px; }
.cta-inline .btn-row { margin-top: var(--sp-4); }

/* --- 5.11 pager --- */
.pager { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: var(--sp-6); flex-wrap: wrap; }
.pager button, .pager span {
  min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--c-line-strong); background: #fff; font-family: var(--f-head);
  font-weight: 700; cursor: pointer; display: grid; place-items: center;
}
.pager [aria-current="page"] { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

/* --- 5.12 misc --- */
.note-box { background: var(--c-gold-light); border-radius: var(--r-md); padding: 18px 20px; font-size: var(--fs-base); }
.note-box--gray { background: var(--c-sand); }
.note-box strong { color: #8A6520; }
.point-list { display: grid; gap: 12px; }
.point-list li { display: flex; gap: 12px; align-items: flex-start; }
.point-list i { color: var(--c-brand); margin-top: 6px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-4); }
.stat { text-align: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4); }
.stat-num { font-family: var(--f-head); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); font-weight: 700; color: var(--c-brand); line-height: 1.2; }
.stat-num small { font-size: .45em; margin-left: 2px; }
.stat-label { font-size: var(--fs-sm); color: var(--c-muted); margin-top: 6px; }
.ratio { display: flex; height: 34px; border-radius: var(--r-pill); overflow: hidden; font-size: var(--fs-xs); font-family: var(--f-head); font-weight: 700; }
.ratio span { display: grid; place-items: center; color: #fff; }
.ratio .r1 { background: var(--c-brand); }
.ratio .r2 { background: var(--c-muted-light); }
.ratio .r3 { background: var(--c-navy-soft); }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-base); }
.checklist i { color: var(--c-brand); margin-top: 5px; }
.checklist--cross i { color: var(--c-alert); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: var(--fs-sm); padding: 7px 14px; border-radius: var(--r-pill); background: var(--c-brand-light); color: var(--c-brand-dark); font-family: var(--f-head); font-weight: 700; }
.chip:hover { background: var(--c-brand); color: #fff; }
.toc { background: var(--c-sand); border-radius: var(--r-lg); padding: var(--sp-5); }
.toc-title { font-family: var(--f-head); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.toc ol { counter-reset: toc; display: grid; gap: 8px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-base); color: var(--c-ink); }
.toc a::before {
  content: counter(toc, decimal-leading-zero); font-family: var(--f-head); font-size: var(--fs-xs);
  color: var(--c-brand); font-weight: 700; padding-top: 3px;
}
.toc a:hover { color: var(--c-brand); }

/* ==========================================================================
   6. HEADER / FOOTER / MOBILE CTA
   ========================================================================== */
.topbar { background: var(--c-navy); color: #B9C9D0; font-size: var(--fs-xs); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar a { color: #DCE6EA; }
.topbar-links { display: flex; gap: 18px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(251,250,247,.94);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; gap: var(--sp-4); height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--c-brand), var(--c-brand-dark)); color: #fff;
  font-family: var(--f-head); font-weight: 700; font-size: 19px;
}
.brand-text { display: grid; line-height: 1.2; }
.brand-name { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-md); letter-spacing: .06em; color: var(--c-navy); }
.brand-sub { font-size: 10px; letter-spacing: .22em; color: var(--c-muted); text-transform: uppercase; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav > li { flex: none; white-space: nowrap; }
.nav > li > a, .nav > li > button {
  display: block; padding: 10px 11px; font-family: var(--f-head); font-weight: 700;
  font-size: var(--fs-sm); color: var(--c-navy); border-radius: var(--r-md);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav > li > a:hover, .nav > li > button:hover,
.nav > li.is-active > a { background: var(--c-brand-light); color: var(--c-brand-dark); }
.nav-sub-wrap { position: relative; }
.nav-sub {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  padding: 10px; display: none; z-index: 60;
}
.nav-sub-wrap:hover .nav-sub, .nav-sub-wrap:focus-within .nav-sub { display: block; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: var(--fs-sm); color: var(--c-ink); }
.nav-sub a:hover { background: var(--c-brand-light); }
.header-cta { flex: none; display: flex; gap: 10px; align-items: center; }
.header-tel { display: grid; line-height: 1.25; text-align: right; }
.header-tel .tnum { font-family: var(--f-head); font-weight: 700; font-size: var(--fs-lg); color: var(--c-navy); }
.header-tel .ttime { font-size: 10px; color: var(--c-muted); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--c-line-strong);
  background: #fff; border-radius: var(--r-md); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--c-navy);
  transform: translateX(-50%); transition: .25s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; top: -7px; left: 0; transform: none; }
.nav-toggle span::after { content: ""; top: 7px; left: 0; transform: none; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.site-footer { background: var(--c-navy); color: #B9C9D0; padding-top: var(--sp-8); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-6); }
.site-footer h3 { color: #fff; font-size: var(--fs-base); margin-bottom: 14px; letter-spacing: .04em; }
.site-footer a { color: #B9C9D0; }
.site-footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 9px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; line-height: 1.9; color: #93A6AE; }
.footer-bottom {
  margin-top: var(--sp-7); border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: var(--fs-xs); color: #8fa3ab;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -4px 20px rgba(11,28,38,.1); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
.mobile-cta ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mobile-cta a {
  display: grid; place-items: center; gap: 2px; height: 56px; border-radius: var(--r-md);
  font-family: var(--f-head); font-weight: 700; font-size: var(--fs-xs); text-align: center; line-height: 1.2;
  background: var(--c-brand-light); color: var(--c-brand-dark);
}
.mobile-cta i { font-size: 17px; }
.mobile-cta a.is-buy { background: var(--c-brand); color: #fff; }
.mobile-cta a.is-sell { background: var(--c-navy); color: #fff; }

/* ==========================================================================
   7. PAGE SPECIFIC
   ========================================================================== */
/* hero */
.hero { position: relative; overflow: hidden; background: var(--c-navy); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .46; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,28,38,.94) 0%, rgba(11,28,38,.78) 46%, rgba(10,85,72,.5) 100%); }
.hero-inner { position: relative; padding-block: clamp(56px, 9vw, 108px); max-width: 780px; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.24; letter-spacing: .01em; }
.hero h1 .accent { color: #9FE3D6; }
.hero-copy { margin-top: 26px; font-size: var(--fs-lg); color: #D3E0E5; max-width: 620px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-5); }
.hero-points span {
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-pill);
  padding: 7px 16px; font-size: var(--fs-sm); font-family: var(--f-head); font-weight: 700;
}
.hero-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); margin-top: var(--sp-6); max-width: 640px; }
.hero-cta--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-catch-variants { margin-top: var(--sp-5); font-size: var(--fs-xs); color: #8fa8b0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; }
.hero-catch-variants summary { cursor: pointer; font-family: var(--f-head); color: #CFDDE2; }
.hero-catch-variants ul { margin-top: 10px; display: grid; gap: 6px; }
.hero-side {
  position: absolute; right: 0; bottom: 0; width: min(360px, 34%);
}
.hero-float {
  background: rgba(255,255,255,.97); color: var(--c-ink); border-radius: var(--r-lg) 0 0 0;
  padding: var(--sp-5); box-shadow: var(--sh-lg);
}
.hero-float dl { display: grid; gap: 10px; }
.hero-float dt { font-size: var(--fs-xs); color: var(--c-muted); font-family: var(--f-head); font-weight: 700; }
.hero-float dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-h4); color: var(--c-brand); }

/* page head (下層) */
.page-head { background: var(--c-sand); border-bottom: 1px solid var(--c-line); padding-block: clamp(36px, 5vw, 62px); }
.page-head .eyebrow { margin-bottom: 6px; }
.page-head h1 { font-size: var(--fs-h1); }
.page-head p { margin-top: 18px; color: var(--c-muted); max-width: 760px; font-size: var(--fs-md); line-height: 2; }
.page-head--navy { background: var(--c-navy); color: #fff; border-bottom: 0; }
.page-head--navy h1 { color: #fff; }
.page-head--navy p { color: #C8D6DC; }

/* two column */
.split { display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sidebar { display: grid; gap: var(--sp-5); position: sticky; top: calc(var(--header-h) + 20px); }
.side-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); }
.side-card h3 { font-size: var(--fs-h4); margin-bottom: 14px; }
.side-card--navy { background: var(--c-navy); color: #CFDDE2; border-color: var(--c-navy); }
.side-card--navy h3 { color: #fff; }

/* article card */
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; height: 100%; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.article-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-sand); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-body { padding: var(--sp-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--c-muted); }
.article-title { font-size: var(--fs-h4); line-height: 1.6; }
.article-excerpt { font-size: var(--fs-sm); color: var(--c-muted); flex: 1; }
.article-card--row { flex-direction: row; }
.article-card--row .article-thumb { width: 40%; aspect-ratio: 4 / 3; flex: none; }
.article-card--compact .article-body { padding: var(--sp-4); }
.article-card--compact .article-title { font-size: var(--fs-base); }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: var(--sp-5); }
.filter-btn {
  padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid var(--c-line-strong);
  background: #fff; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); cursor: pointer;
}
.filter-btn:hover { border-color: var(--c-brand); color: var(--c-brand-dark); }
.filter-btn.is-active { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.search-box { display: flex; gap: 10px; margin-left: auto; }
.search-box input { border: 1.5px solid var(--c-line-strong); border-radius: var(--r-pill); padding: 10px 18px; font: inherit; font-size: var(--fs-sm); min-width: 220px; }

/* staff card */
.staff-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; height: 100%; }
.staff-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--c-brand-light), var(--c-sand)); display: grid; place-items: center; }
.staff-photo .initials { font-family: var(--f-head); font-size: 2.4rem; font-weight: 700; color: var(--c-brand); letter-spacing: .04em; }
.staff-body { padding: var(--sp-5); display: grid; gap: 12px; }
.staff-name { font-size: var(--fs-h4); }
.staff-name small { display: block; font-size: var(--fs-xs); color: var(--c-muted); font-family: var(--f-body); font-weight: 500; letter-spacing: .1em; margin-top: 4px; }
.staff-meta { display: grid; gap: 6px; font-size: var(--fs-sm); }
.staff-meta div { display: flex; gap: 8px; }
.staff-meta dt { font-family: var(--f-head); font-weight: 700; color: var(--c-brand-dark); flex: none; width: 68px; }
.staff-meta dd { margin: 0; color: var(--c-muted); }
.staff-quote { font-size: var(--fs-sm); background: var(--c-brand-soft); border-radius: var(--r-md); padding: 14px; color: var(--c-navy-soft); }

/* voice card */
.voice-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--sp-5); display: grid; gap: 14px; height: 100%; }
.voice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.voice-person { font-family: var(--f-head); font-weight: 700; }
.voice-dl { display: grid; gap: 8px; font-size: var(--fs-sm); }
.voice-dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.voice-dl dt { font-family: var(--f-head); font-weight: 700; color: var(--c-muted); }
.voice-dl dd { margin: 0; }
.voice-comment { background: var(--c-brand-soft); border-radius: var(--r-md); padding: 16px; font-size: var(--fs-base); border-left: 4px solid var(--c-brand); }

/* profile detail */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: var(--sp-6); }
.profile-photo { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, var(--c-brand-light), var(--c-sand)); aspect-ratio: 4 / 5; display: grid; place-items: center; }
.profile-photo .initials { font-family: var(--f-head); font-size: 3rem; font-weight: 700; color: var(--c-brand); }

/* area card */
.area-card { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 190px; color: #fff; }
.area-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,28,38,.86), rgba(11,28,38,.15)); }
.area-card-body { position: relative; z-index: 1; padding: var(--sp-5); display: grid; gap: 6px; align-content: end; min-height: 190px; }
.area-card:hover { color: #fff; }
.area-card h3 { color: #fff; font-size: var(--fs-h4); }
.area-card p { font-size: var(--fs-sm); color: #D3E0E5; }

/* glossary */
.term-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.term-index a { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); font-size: var(--fs-base); }
.term-index a:hover { border-color: var(--c-brand); background: var(--c-brand-soft); }
.term-index span { display: block; font-size: var(--fs-xs); color: var(--c-muted-light); }
.term-def { background: #fff; border: 1px solid var(--c-line); border-left: 5px solid var(--c-brand); border-radius: var(--r-md); padding: var(--sp-5); }
.term-def dt { font-family: var(--f-head); font-weight: 700; color: var(--c-brand-dark); font-size: var(--fs-sm); margin-top: 14px; }
.term-def dt:first-child { margin-top: 0; }
.term-def dd { margin: 4px 0 0; }

/* misc page blocks */
.flow-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.flow-inline div { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 14px; font-size: var(--fs-sm); font-family: var(--f-head); font-weight: 700; text-align: center; }
.flow-inline div small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--c-muted); font-size: var(--fs-xs); margin-top: 4px; }

.qa-block { display: grid; gap: var(--sp-4); }
.qa { border-left: 4px solid var(--c-line-strong); padding-left: 18px; }
.qa.is-answer { border-color: var(--c-brand); }

.section-tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--c-line); margin-bottom: var(--sp-5); }
.section-tabs a { padding: 12px 18px; font-family: var(--f-head); font-weight: 700; font-size: var(--fs-sm); color: var(--c-muted); border-bottom: 3px solid transparent; }
.section-tabs a:hover, .section-tabs a.is-active { color: var(--c-brand-dark); border-color: var(--c-brand); }

.is-hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-center { text-align: center; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-5 { margin-bottom: var(--sp-5); }

/* ==========================================================================
   8. RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-side { display: none; }
  /* ヘッダーナビ：横1行を維持できない幅ではドロワー化（各項目が段落ちしないようにする） */
  :root { --header-h: 64px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta .header-tel, .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(360px, 88vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--sp-5); overflow-y: auto; transform: translateX(100%);
    transition: transform .3s var(--ease); box-shadow: var(--sh-lg); margin: 0;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav > li { white-space: normal; }
  .nav > li > a, .nav > li > button { font-size: var(--fs-md); padding: 14px 12px; width: 100%; text-align: left; border-bottom: 1px solid var(--c-line); border-radius: 0; }
  .nav-sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .nav-sub-wrap:hover .nav-sub { display: block; }
  .nav-sub a { font-size: var(--fs-sm); padding: 8px 10px; }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .compare, .profile, .form-grid { grid-template-columns: 1fr; }
  .hero-cta, .hero-cta--3 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: var(--sp-3); }
  .step::before { height: 36px; width: 116px; }
  .article-card--row { flex-direction: column; }
  .article-card--row .article-thumb { width: 100%; }
}

@media (max-width: 640px) {
  .container, .container-narrow, .container-wide { width: min(100% - 32px, 100%); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .topbar-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .mobile-cta { display: block; }
  body { padding-bottom: 84px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .btn--sm, .pager button, .search-box input { width: auto; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { flex: 1; min-width: 0; }
  .faq-item summary { padding: 16px 44px 16px 48px; font-size: var(--fs-base); }
  .faq-answer { padding: 0 20px 20px 48px; }
  .voice-dl div { grid-template-columns: 1fr; gap: 2px; }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .topbar { display: none; }
}
