:root {
  --navy-950: #061827;
  --navy-900: #071f33;
  --navy-800: #0b304c;
  --navy-700: #12476b;
  --blue-100: #eaf3f6;
  --blue-50: #f4f8f9;
  --amber: #ffbd38;
  --amber-dark: #d98500;
  --ink: #102433;
  --muted: #5e6d76;
  --line: #d9e1e5;
  --white: #fff;
  --paper: #fbfcfa;
  --shell: 1200px;
  --shadow: 0 28px 80px rgba(4, 24, 39, 0.14);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where(p, li, summary, dt, dd, label) {
  line-break: strict;
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  :where(p, li, summary, dt, dd, label) { word-break: auto-phrase; }
}

.phrase { display: inline-block; white-space: nowrap; }
.heading-line { display: block; white-space: nowrap; }

body.dialog-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 8px;
  z-index: 999;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--amber);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 120px 0; }

.notice-bar { color: #dbe8ef; background: var(--navy-950); font-size: 12px; }
.notice-inner { min-height: 36px; display: flex; align-items: center; gap: 16px; }
.notice-inner > span { color: var(--amber); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.notice-inner p { margin: 0; flex: 1; }
.notice-compact { display: none; }
.notice-inner a { min-height: 44px; display: inline-flex; align-items: center; color: var(--white); text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(7, 31, 51, .09);
  backdrop-filter: blur(18px);
}

.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 42px; height: 42px; position: relative; overflow: hidden; background: var(--navy-900); border-radius: 2px; }
.brand-mark::before { content: ""; position: absolute; left: 11px; top: 7px; width: 19px; height: 20px; border: 3px solid var(--white); border-top: 0; transform: rotate(45deg); }
.brand-mark i { position: absolute; left: 6px; width: 30px; height: 8px; border-top: 2px solid var(--amber); border-radius: 50%; transform: rotate(-3deg); }
.brand-mark i:nth-child(1) { bottom: 8px; }
.brand-mark i:nth-child(2) { bottom: 3px; opacity: .7; }
.brand-mark i:nth-child(3) { display: none; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 20px; letter-spacing: .08em; }
.brand-copy small { margin-top: 6px; color: var(--navy-700); font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .25em; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.site-nav a { position: relative; padding: 24px 0; text-decoration: none; font-size: 13px; font-weight: 700; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 17px; height: 2px; background: var(--amber-dark); transition: right .2s ease; }
.site-nav a:hover::after { right: 0; }
.nav-cta, .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; text-decoration: none; font-weight: 800; letter-spacing: .02em; transition: transform .18s ease, background .18s ease, color .18s ease; }
.nav-cta { padding: 0 20px; color: var(--white); background: var(--navy-900); font-size: 13px; }
.nav-cta:hover, .button:hover { transform: translateY(-2px); }
.menu-button { display: none; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--navy-900); transition: transform .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100svh - 112px); display: flex; align-items: stretch; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.hero-shade { background: rgba(4, 20, 32, .7); }
.hero-shade::after { content: ""; position: absolute; inset: 0 44% 0 0; background: rgba(3, 19, 31, .35); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 376px; align-items: end; gap: 72px; padding-top: clamp(72px, 10vh, 120px); padding-bottom: clamp(80px, 11vh, 130px); }
.hero-copy { max-width: 720px; }

.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 12px; color: var(--navy-700); font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; }
.eyebrow > span { width: 34px; height: 2px; background: currentColor; }
.eyebrow-light { color: #b7d4e2; }
.section-heading h2, .hero-copy h1, .final-cta h2, .dialog-aside h2 { margin: 0; font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; font-weight: 600; line-height: 1.28; letter-spacing: .01em; line-break: strict; text-wrap: balance; word-break: keep-all; }
.hero-copy h1 { font-size: clamp(42px, 6vw, 78px); line-height: 1.16; letter-spacing: -.02em; }
.hero-copy h1 em, .section-heading h2 em { color: var(--amber); font-style: normal; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #edf5f8; font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; line-height: 2; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 56px; padding: 0 28px; font-size: 14px; }
.button-accent { color: var(--navy-950); background: var(--amber); }
.button-accent:hover { background: #ffca5e; }
.button-ghost { color: var(--white); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .55); }
.button-dark { color: var(--white); background: var(--navy-900); }
.hero-points { margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 24px; list-style: none; color: #dbe8ef; font-size: 12px; font-weight: 700; }
.hero-points span { margin-right: 6px; color: var(--amber); }

.hero-panel { padding: 34px 32px; color: var(--ink); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); }
.panel-number { margin: 0; color: #d9e1e5; font: 300 54px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.panel-label { margin: 10px 0 14px; color: var(--navy-700); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.hero-panel h2 { margin: 0; font-family: "Yu Mincho", "YuMincho", serif; font-size: 25px; line-height: 1.55; }
.hero-panel ol { margin: 26px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hero-panel li { min-height: 72px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.hero-panel li > span { color: var(--amber-dark); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-panel li p { margin: 0; display: grid; }
.hero-panel li strong { font-size: 14px; }
.hero-panel li small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.scroll-cue { position: absolute; z-index: 2; left: 28px; bottom: 28px; display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; writing-mode: vertical-rl; font: 700 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.scroll-cue i { width: 1px; height: 32px; background: rgba(255, 255, 255, .6); }

.section-heading h2 { font-size: clamp(36px, 4.2vw, 58px); color: var(--navy-900); }
.section-heading-light h2 { color: var(--white); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(56px, 9vw, 124px); align-items: start; }
.intro-content { padding-top: 34px; }
.intro-lead { margin: 0; font-size: clamp(18px, 2vw, 24px); line-height: 2; font-weight: 700; }
.principles { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles article { padding: 26px 20px 0 0; }
.principles article + article { padding-left: 20px; border-left: 1px solid var(--line); }
.principles span { color: var(--amber-dark); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.principles h3 { margin: 14px 0 8px; font-size: 17px; }
.principles p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }

.subsidy { color: var(--white); background: var(--navy-900); }
.subsidy-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.subsidy-heading > p { margin: 0 0 8px; color: #c8d9e1; font-size: 14px; line-height: 2; }
.estimator { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; color: var(--ink); background: var(--white); box-shadow: 0 32px 90px rgba(0, 0, 0, .2); }
.estimator-form { padding: clamp(28px, 5vw, 56px); }
.estimator-step { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.estimator-step > span { padding: 5px 8px; color: var(--navy-950); background: var(--amber); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.estimator-step label { font-size: 14px; font-weight: 800; }
.estimator select, .contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 54px; padding: 0 15px; color: var(--ink); background: var(--white); border: 1px solid #b9c5cb; border-radius: 0; }
.estimator select { cursor: pointer; }
.estimator-applicant-step, .estimator-cost-step { margin-top: 28px; }
.cost-input { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 66px; border-bottom: 2px solid var(--navy-900); }
.cost-input > span { font: 500 26px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.cost-input input { min-width: 0; height: 64px; padding: 0 12px; border: 0; outline: 0; font: 700 clamp(28px, 4vw, 42px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.cost-input small { font-weight: 700; }
.field-help { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.estimator-button { width: 100%; margin-top: 30px; }
.estimator-error { min-height: 24px; margin: 8px 0 -16px; color: #b63224; font-size: 12px; font-weight: 700; }
.estimator-result { min-height: 460px; padding: clamp(28px, 5vw, 56px); display: grid; place-items: center; background: var(--blue-50); border-left: 1px solid var(--line); }
.result-empty { max-width: 280px; text-align: center; }
.result-empty > span { width: 82px; height: 82px; margin: 0 auto 26px; display: grid; place-items: center; color: var(--amber-dark); background: var(--white); border: 1px solid var(--line); border-radius: 50%; font: 500 34px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.result-empty h3 { margin: 0; font-size: 19px; }
.result-empty p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.result-content { width: 100%; }
.result-city { margin: 0 0 22px; color: var(--navy-700); font: 800 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.result-content dl { margin: 0; border-top: 1px solid var(--line); }
.result-content dl div { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.result-content dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.result-content dd { margin: 0; font: 700 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.result-content dd.result-highlight { color: var(--amber-dark); font-size: clamp(25px, 3vw, 36px); }
.result-rule { margin: 20px 0 12px; color: var(--muted); font-size: 12px; }
.result-content > a { color: var(--navy-700); font-size: 12px; font-weight: 800; text-underline-offset: 3px; }
.result-other h3 { margin: 0; font-size: 24px; }
.result-other > p:not(.result-city) { color: var(--muted); }
.result-other .button { margin-top: 18px; }
.source-group { margin-top: 44px; }
.source-group + .source-group { margin-top: 54px; }
.source-group-heading { margin-bottom: 16px; display: flex; align-items: end; gap: 14px; }
.source-group-heading p { margin: 0; color: var(--amber); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.source-group-heading h3 { margin: 0; font-size: 21px; }
.source-group-heading span { margin-left: auto; color: #b7c8d0; font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 1px; background: rgba(255, 255, 255, .18); }
.source-cards article { min-width: 0; padding: 26px 28px; display: grid; align-content: start; background: var(--navy-900); }
.source-cards span { color: #b7d4e2; font-size: 11px; font-weight: 700; }
.source-cards strong { margin-top: 8px; font-size: 14px; }
.source-cards b { color: var(--amber); font: 700 28px/1.35 ui-monospace, SFMono-Regular, Menlo, monospace; }
.source-cards small { margin-top: 6px; color: #98adb8; font-size: 10px; }
.source-cards a, .limited-programs a { width: fit-content; min-height: 44px; margin-top: 12px; display: inline-flex; align-items: center; color: #d7e6ed; font-size: 10px; font-weight: 800; text-underline-offset: 3px; }
.limited-programs { margin-top: 54px; padding: 28px; display: grid; grid-template-columns: .72fr 1fr 1fr; gap: 28px; border: 1px solid rgba(255, 255, 255, .18); }
.limited-programs > div span { padding: 5px 8px; color: var(--navy-950); background: var(--amber); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.limited-programs h3 { margin: 16px 0 0; font-size: 20px; line-height: 1.5; }
.limited-programs article { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.limited-programs strong { font-size: 17px; }
.limited-programs p { margin: 10px 0 0; color: #b7c8d0; font-size: 12px; line-height: 1.8; }
.subsidy-note { margin: 22px 0 0; color: #b7c8d0; font-size: 11px; }

.solutions { background: var(--paper); }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 70px; }
.split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 14px; line-height: 2; }
.solution-list { margin-top: 74px; display: grid; gap: 56px; }
.solution-card { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 430px; background: var(--white); box-shadow: 0 20px 70px rgba(7, 31, 51, .08); }
.solution-card-reverse { grid-template-columns: .85fr 1.15fr; }
.solution-card-reverse .solution-media { order: 2; }
.solution-media { position: relative; min-height: 390px; overflow: hidden; background: var(--blue-100); }
.solution-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.solution-card:hover .solution-media img { transform: scale(1.025); }
.solution-media > span { position: absolute; top: 0; left: 0; width: 58px; height: 58px; display: grid; place-items: center; color: var(--navy-950); background: var(--amber); font: 800 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.solution-copy { padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.solution-copy > p:first-child { margin: 0; color: var(--navy-700); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.solution-copy h3 { margin: 16px 0 18px; font-family: "Yu Mincho", "YuMincho", serif; font-size: clamp(28px, 3vw, 38px); }
.solution-copy > p:not(:first-child) { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.solution-copy ul { margin: 26px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; border-top: 1px solid var(--line); }
.solution-copy li { font-size: 11px; font-weight: 800; }
.solution-copy li::before { content: "—"; margin-right: 6px; color: var(--amber-dark); }

.media-story { overflow: hidden; background: #eef2f3; }
.media-story-heading { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: clamp(52px, 8vw, 112px); }
.media-story-intro { padding-bottom: 8px; }
.media-story-intro > span { display: inline-flex; min-height: 28px; padding: 0 10px; align-items: center; color: var(--navy-950); background: var(--amber); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.media-story-intro p { max-width: 520px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.media-feature { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .4fr); background: var(--navy-950); box-shadow: 0 24px 80px rgba(7, 31, 51, .12); }
.process-video-frame { min-width: 0; margin: 0; background: var(--navy-950); }
.process-video-frame video { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; background: var(--navy-950); }
.process-video-frame figcaption { min-height: 70px; padding: 16px 22px; display: flex; align-items: center; gap: 24px; color: #d4e2e8; border-top: 1px solid rgba(255, 255, 255, .14); }
.process-video-frame figcaption span { flex: 0 0 auto; color: var(--amber); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.process-video-frame figcaption p { margin: 0; font-size: 11px; line-height: 1.7; }
.media-notes { display: grid; align-content: stretch; background: var(--navy-900); }
.media-notes article { min-height: 0; padding: 28px 26px; display: grid; grid-template-columns: 38px 1fr; align-content: center; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.media-notes article:last-child { border-bottom: 0; }
.media-notes article > span { padding-top: 3px; color: var(--amber); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.media-notes strong { color: var(--white); font-size: 14px; }
.media-notes p { margin: 8px 0 0; color: #aebfc7; font-size: 11px; line-height: 1.8; }
.media-gallery { margin-top: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.media-gallery figure { min-width: 0; margin: 0; overflow: hidden; background: var(--white); }
.media-gallery img { width: 100%; height: clamp(220px, 21vw, 286px); object-fit: cover; transition: transform .55s ease; }
.media-gallery figure:hover img { transform: scale(1.025); }
.media-gallery figcaption { padding: 22px 22px 24px; display: grid; align-content: start; }
.media-gallery figcaption > span { color: var(--amber-dark); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.media-gallery strong { margin-top: 12px; font-size: 15px; }
.media-gallery p { margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.media-disclaimer { margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.8; }

.compare { background: var(--blue-50); }
.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.comparison-wrap { margin-top: 64px; overflow-x: auto; background: var(--white); border: 1px solid var(--line); }
.comparison-wrap table { width: 100%; min-width: 820px; border-collapse: collapse; }
.comparison-wrap th, .comparison-wrap td { padding: 22px 24px; text-align: center; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 13px; }
.comparison-wrap tr:last-child th, .comparison-wrap tr:last-child td { border-bottom: 0; }
.comparison-wrap th:last-child, .comparison-wrap td:last-child { border-right: 0; }
.comparison-wrap thead th { color: var(--white); background: var(--navy-900); font-size: 14px; }
.comparison-wrap thead th:first-child { background: var(--navy-950); }
.comparison-wrap tbody th { text-align: left; background: #f7f9f9; }
.rating { display: inline-flex; min-height: 28px; align-items: center; padding: 0 10px; font-size: 11px; font-weight: 800; }
.rating.good { color: #15593a; background: #e4f5eb; }
.rating.mid { color: #73500e; background: #fff4d9; }
.comparison-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; }

.flow { background: var(--white); }
.flow-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(64px, 10vw, 140px); }
.flow-heading { position: sticky; top: 120px; align-self: start; }
.flow-heading > p:not(.eyebrow) { max-width: 430px; margin: 28px 0 0; color: var(--muted); font-size: 14px; line-height: 2; }
.flow-heading .button { margin-top: 28px; }
.flow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.flow-list li { min-height: 164px; padding: 30px 0; display: grid; grid-template-columns: 78px 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.flow-list li > span { color: var(--amber-dark); font: 400 32px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.flow-list p { margin: 0; color: var(--navy-700); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; }
.flow-list h3 { margin: 11px 0 8px; font-size: 21px; }
.flow-list small { color: var(--muted); font-size: 12px; }

.checklist { padding-top: 0; background: var(--white); }
.checklist-grid { display: grid; grid-template-columns: 1.08fr .92fr; background: var(--navy-900); color: var(--white); }
.checklist-media { min-height: 560px; }
.checklist-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist-copy { padding: clamp(38px, 6vw, 76px); }
.checklist-copy h2 { margin: 0; font-family: "Yu Mincho", "YuMincho", serif; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.5; }
.checklist-copy ul { margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .2); }
.checklist-copy li { min-height: 82px; display: grid; grid-template-columns: 42px 1fr; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.checklist-copy li > span { color: var(--amber); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.checklist-copy li p { margin: 0; display: grid; }
.checklist-copy li small { margin-top: 4px; color: #b8cbd4; font-size: 11px; }
.text-link { min-height: 48px; margin-top: 24px; padding: 0; color: var(--white); background: none; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .6); cursor: pointer; font-weight: 800; }
.text-link span { margin-left: 22px; color: var(--amber); }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .66fr 1.34fr; gap: 90px; }
.faq-heading { align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 92px; padding: 24px 54px 24px 0; position: relative; display: flex; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--amber-dark); font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.faq-list summary i { position: absolute; right: 6px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 1px; background: var(--navy-900); }
.faq-list summary i::after { transform: rotate(90deg); transition: transform .2s ease; }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details > p { margin: -8px 0 0; padding: 0 54px 30px 34px; color: var(--muted); font-size: 13px; line-height: 2; }

.final-cta { min-height: 520px; position: relative; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-950); }
.final-cta-media, .final-cta-shade { position: absolute; inset: 0; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-shade { background: rgba(4, 21, 34, .78); }
.final-cta-inner { position: relative; z-index: 1; text-align: center; }
.final-cta-inner .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(40px, 5vw, 66px); }
.final-cta p:not(.eyebrow) { margin: 20px 0 0; color: #d7e5eb; }
.final-cta .button { margin-top: 30px; min-width: 230px; }

.site-footer { padding-top: 76px; color: #c4d2d9; background: var(--navy-950); }
.brand-footer { color: var(--white); }
.brand-footer .brand-copy small { color: #9db4bf; }
.footer-main { padding-bottom: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.footer-main > div > p { margin: 24px 0 0; color: #8fa6b1; font-size: 12px; }
.footer-main nav { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-main nav div { display: grid; align-content: start; gap: 10px; }
.footer-main nav strong { margin-bottom: 10px; color: var(--amber); font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.footer-main nav a { min-height: 44px; display: flex; align-items: center; color: #c4d2d9; text-decoration: none; font-size: 12px; }
.footer-main nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #78909b; border-top: 1px solid rgba(255, 255, 255, .12); font: 700 9px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }

.inquiry-dialog { width: min(1060px, calc(100% - 32px)); max-height: min(90vh, 850px); padding: 0; color: var(--ink); background: var(--white); border: 0; box-shadow: 0 40px 120px rgba(0, 0, 0, .38); }
.inquiry-dialog::backdrop { background: rgba(3, 16, 26, .76); backdrop-filter: blur(5px); }
.dialog-layout { display: grid; grid-template-columns: 36% 64%; }
.dialog-aside { position: relative; padding: 54px 42px; color: var(--white); background: var(--navy-900); }
.dialog-aside h2 { font-size: clamp(27px, 2.55vw, 34px); }
.dialog-aside > p:not(.eyebrow) { margin: 24px 0 0; color: #c6d8e1; font-size: 12px; line-height: 2; }
.dialog-aside ul { margin: 34px 0 0; padding: 22px 0 0; display: grid; gap: 10px; list-style: none; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; font-weight: 800; }
.dialog-aside li::before { content: "✓"; margin-right: 8px; color: var(--amber); }
.dialog-form-wrap { position: relative; padding: 54px 48px; overflow-y: auto; }
.dialog-close { position: absolute; top: 14px; right: 16px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; color: var(--navy-900); background: transparent; border: 0; cursor: pointer; font-size: 28px; line-height: 1; }
.dialog-close-light { display: none; color: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span { font-size: 12px; font-weight: 800; }
.contact-form label b { margin-left: 5px; color: #9f2f23; font-size: 9px; }
.contact-form label > span > small { margin-left: 5px; color: var(--muted); font-size: 9px; font-style: normal; font-weight: 600; }
.contact-form textarea { min-height: 110px; padding-top: 12px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .estimator select:focus { border-color: var(--navy-700); outline: 2px solid rgba(18, 71, 107, .16); outline-offset: 1px; }
.form-mode-switch { margin: 0 0 16px; padding: 0; border: 0; }
.form-mode-switch legend { margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.form-mode-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form .form-mode-option { min-height: 78px; padding: 14px 16px; display: flex; grid-template-columns: none; align-items: center; gap: 11px; color: var(--navy-900); background: var(--white); border: 1px solid #b9c5cb; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.contact-form .form-mode-option:hover { border-color: var(--navy-700); }
.contact-form .form-mode-option:has(input:checked) { background: var(--blue-50); border-color: var(--navy-700); box-shadow: inset 0 0 0 1px var(--navy-700); }
.contact-form .form-mode-option input { flex: 0 0 auto; width: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: var(--navy-700); }
.contact-form .form-mode-option > span { display: grid; gap: 4px; font-weight: 500; }
.form-mode-option strong { font-size: 13px; line-height: 1.3; }
.contact-form .form-mode-option small { margin: 0; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.45; }
.form-guidance { margin: 0 0 20px; padding: 10px 12px; color: var(--navy-700); background: var(--blue-50); border-left: 3px solid var(--amber); font-size: 11px; line-height: 1.7; }
.form-detail-panel { margin: 24px 0 0; padding: 24px; background: #f4f7f8; border: 1px solid var(--line); }
.form-detail-panel h3 { margin: 0; color: var(--navy-900); font-size: 16px; }
.form-detail-panel > p { margin: 6px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.form-message { margin-top: 18px; }
.form-full { grid-column: 1 / -1; }
.form-consent { margin-top: 18px; display: grid !important; grid-template-columns: 20px 1fr; align-items: start; gap: 10px !important; }
.form-consent input { width: 18px; min-height: 18px; margin: 2px 0 0; }
.form-consent span { color: var(--muted); font-size: 11px !important; font-weight: 500 !important; }
.form-consent a { color: var(--navy-700); }
.form-actions { margin-top: 22px; display: flex; gap: 12px; }
.form-actions .button { min-width: 190px; }
.copy-button { min-height: 52px; padding: 0 18px; color: var(--navy-700); background: transparent; border: 1px solid var(--line); cursor: pointer; font-size: 12px; font-weight: 800; }
.form-status { min-height: 22px; margin: 10px 0 0; color: var(--muted); font-size: 11px; }

.info-page { background: var(--blue-50); }
.info-hero { padding: 92px 0 58px; color: var(--white); background: var(--navy-900); }
.info-hero h1 { margin: 0; font-family: "Yu Mincho", "YuMincho", serif; font-size: clamp(36px, 5vw, 58px); }
.info-hero p { margin: 12px 0 0; color: #bdd1dc; }
.info-content { padding: 70px 0 110px; }
.info-card { max-width: 900px; margin-inline: auto; padding: clamp(28px, 6vw, 70px); background: var(--white); box-shadow: 0 18px 70px rgba(7, 31, 51, .08); }
.info-card h2 { margin: 42px 0 14px; color: var(--navy-900); font-size: 20px; }
.info-card h2:first-child { margin-top: 0; }
.info-card p, .info-card li, .info-card dd { color: var(--muted); font-size: 14px; line-height: 2; }
.info-card ul, .info-card ol { padding-left: 1.4em; }
.info-card dl { margin: 0; }
.info-card dl div { padding: 18px 0; display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.info-card dt { font-weight: 800; }
.info-card dd { margin: 0; }
.info-card .button { margin-top: 28px; }
.contact-page-card { max-width: 1000px; }
.contact-page-card .contact-form { margin-top: 30px; }
.not-found { min-height: 100svh; padding: 48px 24px; display: grid; place-items: center; color: var(--white); background: var(--navy-950); }
.not-found-inner { max-width: 560px; text-align: center; }
.not-found-code { color: var(--amber); font: 700 clamp(80px, 18vw, 160px)/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.not-found h1 { margin: 18px 0 0; font-family: "Yu Mincho", "YuMincho", serif; font-size: 34px; }
.not-found p { color: #bdced6; }
.not-found .button { margin-top: 18px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-nav { position: fixed; inset: 112px 0 auto; padding: 28px 24px 32px; display: none; align-items: stretch; flex-direction: column; gap: 0; color: var(--white); background: var(--navy-900); box-shadow: 0 30px 60px rgba(3, 16, 26, .28); }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 48px; padding: 12px 0; display: flex; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .site-nav a::after { display: none; }
  .nav-cta { margin-top: 18px; color: var(--navy-950); background: var(--amber); }
  .menu-button { display: block; }
  .hero-inner { grid-template-columns: 1fr 330px; gap: 30px; }
  .hero-panel { padding: 28px 24px; }
  .hero-shade::after { right: 32%; }
  .intro-grid, .subsidy-heading, .split-heading, .media-story-heading, .media-feature, .flow-grid, .faq-grid { grid-template-columns: 1fr; }
  .intro-content { padding-top: 0; }
  .subsidy-heading, .split-heading { gap: 30px; }
  .flow-grid, .faq-grid { gap: 54px; }
  .flow-heading { position: static; }
  .checklist-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 84px 0; }
  .notice-inner { min-height: 44px; gap: 8px; }
  .notice-inner > span { display: none; }
  .notice-inner p { font-size: 10px; line-height: 1.5; }
  .notice-wide { display: none; }
  .notice-compact { display: inline; }
  .notice-inner a { flex: 0 0 auto; font-size: 10px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 18px; }
  .site-nav { inset: 112px 0 auto; max-height: calc(100svh - 112px); overflow-y: auto; }
  .hero { min-height: auto; }
  .hero-media img { object-position: 59% 50%; }
  .hero-shade { background: rgba(3, 17, 28, .72); }
  .hero-shade::after { display: none; }
  .hero-inner { min-height: 730px; padding-top: 74px; padding-bottom: 44px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 42px; }
  .hero-copy h1 { font-size: clamp(38px, 10.8vw, 52px); }
  .hero-lead { font-size: 16px; line-height: 1.9; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-points { gap: 8px 16px; }
  .hero-panel { display: none; }
  .scroll-cue { display: none; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 48px); }
  .intro-grid { gap: 38px; }
  .intro-lead { font-size: 18px; }
  .principles { margin-top: 40px; grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .estimator { margin-top: 42px; grid-template-columns: 1fr; }
  .estimator-result { min-height: 380px; border-top: 1px solid var(--line); border-left: 0; }
  .source-cards { grid-template-columns: 1fr; }
  .source-group-heading { align-items: center; }
  .source-group-heading h3 { font-size: 17px; }
  .source-cards article { padding: 24px 22px; }
  .limited-programs { padding: 22px; grid-template-columns: 1fr; gap: 22px; }
  .limited-programs article { padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); border-left: 0; }
  .solution-list { margin-top: 48px; gap: 28px; }
  .solution-card, .solution-card-reverse { grid-template-columns: 1fr; }
  .solution-card-reverse .solution-media { order: 0; }
  .solution-media { min-height: 260px; }
  .solution-copy { padding: 32px 26px 36px; }
  .media-feature { margin-top: 44px; }
  .process-video-frame figcaption { align-items: flex-start; flex-direction: column; gap: 8px; }
  .media-notes article { min-height: 112px; }
  .media-gallery { grid-template-columns: 1fr; }
  .media-gallery img { height: auto; aspect-ratio: 16 / 9; }
  .comparison-wrap { margin-top: 42px; }
  .comparison-wrap::after { content: "横にスクロールできます →"; position: sticky; left: 14px; display: block; width: max-content; padding: 8px 0; color: var(--muted); font-size: 10px; }
  .flow-list li { grid-template-columns: 58px 1fr; }
  .checklist { padding-top: 0; }
  .checklist-grid { width: 100%; grid-template-columns: 1fr; }
  .checklist-media { min-height: 300px; }
  .faq-list summary { min-height: 84px; padding-right: 40px; gap: 12px; font-size: 14px; }
  .faq-list details > p { padding: 0 36px 28px 22px; }
  .final-cta { min-height: 500px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main nav { gap: 24px; }
  .footer-bottom { padding: 22px 0; flex-direction: column; align-items: flex-start; }
  .inquiry-dialog { width: 100%; max-width: none; max-height: 100svh; height: 100svh; margin: 0; }
  .dialog-layout { min-height: 100%; grid-template-columns: 1fr; }
  .dialog-aside { padding: 42px 24px 30px; }
  .dialog-aside > p:not(.eyebrow), .dialog-aside ul { display: none; }
  .dialog-close-light { display: grid; }
  .dialog-form-wrap { padding: 32px 24px 48px; }
  .dialog-form-wrap > .dialog-close { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-detail-panel { padding: 20px 18px; }
  .form-full { grid-column: auto; }
  .form-actions { flex-direction: column; }
  .form-actions .button, .copy-button { width: 100%; }
  .info-hero { padding: 70px 0 42px; }
  .info-content { padding: 40px 0 80px; }
  .info-card dl div { grid-template-columns: 1fr; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
