:root {
    --navy-950: #041321;
    --navy-900: #071a2f;
    --navy-800: #0b2744;
    --navy-700: #123b61;
    --gold-600: #9c7625;
    --gold-500: #b88a2e;
    --gold-400: #cfaa59;
    --gold-300: #e0c680;
    --ink: #102033;
    --muted: #5d6b79;
    --line: #dfe5ea;
    --surface: #f5f7f8;
    --white: #fff;
    --error: #b42318;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1200px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Inter", "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.8; letter-spacing: .02em; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
::selection { color: var(--navy-950); background: var(--gold-300); }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 9px 15px; color: var(--white); background: var(--navy-900); border-radius: 7px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.mobile-only { display: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 74px; background: rgba(7,21,45,.94); border-bottom: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px); transition: background .35s ease, box-shadow .35s ease, height .35s ease; }
.site-header--solid { background: var(--navy-950); }
.site-header.is-scrolled { height: 74px; background: rgba(7,21,45,.94); border-color: rgba(255,255,255,.12); box-shadow: 0 8px 35px rgba(4,19,33,.14); }
.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px), 1200px); height: 100%; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--white); }
.brand-logo { display: block; width: 148px; height: auto; }
.global-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.86); font-size: 14px; font-weight: 800; }
.site-header.is-scrolled .brand, .site-header.is-scrolled .global-nav { color: var(--white); }
.global-nav > a:not(.header-cta) { position: relative; padding: 10px 0; }
.global-nav > a:not(.header-cta)::after { position: absolute; right: 0; bottom: 4px; left: 0; height: 1px; background: var(--gold-400); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.global-nav > a:not(.header-cta):hover::after,
.global-nav > a:not(.header-cta)[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 20px; color: var(--navy-950); background: var(--gold-400); border-radius: 999px; font-weight: 600; transition: background .3s ease, transform .3s var(--ease); }
.header-cta:hover { background: var(--gold-300); transform: translateY(-2px); }
.header-cta[aria-current="page"] { background: var(--gold-300); box-shadow: 0 0 0 2px rgba(224,198,128,.28); }
.menu-toggle { display: none; position: relative; z-index: 102; width: 46px; height: 46px; padding: 0; background: transparent; border: 0; cursor: pointer; }
.menu-toggle span { position: absolute; left: 11px; width: 24px; height: 1px; background: var(--white); transition: .3s ease; }
.site-header.is-scrolled .menu-toggle span { background: var(--white); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 27px; }
.menu-toggle[aria-expanded="true"] span { top: 23px; }
.site-header .menu-toggle[aria-expanded="true"] span { background: var(--white); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.consultation-hero { position: relative; overflow: hidden; color: var(--white); background: radial-gradient(circle at 82% 40%, rgba(207,170,89,.14), transparent 29%), linear-gradient(135deg, var(--navy-950), #092541 62%, #0f3656); }
.consultation-hero::after { position: absolute; right: -13vw; bottom: -42vw; width: 70vw; height: 70vw; border: 1px solid rgba(207,170,89,.13); border-radius: 50%; content: ""; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 110px; align-items: end; min-height: 690px; padding-top: 160px; padding-bottom: 104px; }
.breadcrumb { display: flex; gap: 12px; margin-bottom: 70px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .1em; }
.breadcrumb a:hover { color: var(--gold-300); }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--gold-400); font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.3; }
.eyebrow::before { width: 26px; height: 1px; background: currentColor; content: ""; }
.hero-copy h1 { margin: 0; font-size: clamp(48px, 6vw, 78px); font-weight: 500; letter-spacing: -.055em; line-height: 1.16; }
.hero-message { margin-top: 44px; color: rgba(255,255,255,.76); font-size: 16px; line-height: 2; }
.hero-message p { margin: 0; }
.hero-message .hero-lead { margin-bottom: 9px; color: var(--white); font-size: 20px; font-weight: 500; }
.hero-message .hero-note { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 14px; }
.assurance-card { padding: 38px 42px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); backdrop-filter: blur(14px); }
.assurance-title { margin: 0 0 20px; color: var(--gold-300); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.assurance-card ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.assurance-card li { display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.92); font-size: 14px; }
.assurance-card li span { display: grid; flex: 0 0 23px; height: 23px; color: var(--gold-300); border: 1px solid rgba(207,170,89,.5); border-radius: 50%; font-size: 11px; place-items: center; }
.assurance-card li .assurance-copy { display: inline; flex: 1; height: auto; color: inherit; border: 0; border-radius: 0; font-size: inherit; line-height: 1.8; }

.form-section { padding: 128px 0 142px; background: var(--surface); }
.form-container { width: min(calc(100% - 40px), 920px); margin-inline: auto; }
.form-intro { margin-bottom: 42px; text-align: center; }
.form-intro .eyebrow { justify-content: center; }
.form-intro h2 { margin: 0 0 22px; color: var(--navy-900); font-size: clamp(34px, 4vw, 50px); font-weight: 600; letter-spacing: -.045em; line-height: 1.3; }
.form-intro > p:not(.eyebrow):not(.required-note) { margin: 0; color: var(--muted); }
.required-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.required-note span, .required { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 7px; color: #7b5714; background: #f7ebcf; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .05em; vertical-align: middle; }
.optional { color: #7a8793; font-size: 10px; font-weight: 500; }
.auto-label { color: var(--gold-600); font-size: 10px; font-weight: 600; }
.consultation-flow { display: grid; grid-template-columns: .65fr 2fr; gap: 36px; align-items: center; margin-bottom: 28px; padding: 32px 36px; background: var(--white); border: 1px solid rgba(7,26,47,.08); border-radius: var(--radius-md); box-shadow: 0 13px 40px rgba(7,26,47,.035); }
.flow-heading .eyebrow { margin-bottom: 10px; }
.flow-heading h3 { margin: 0; color: var(--navy-900); font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.flow-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.flow-list li { position: relative; display: flex; gap: 11px; align-items: flex-start; min-height: 54px; padding: 0 25px; color: var(--navy-900); font-size: 12px; font-weight: 500; line-height: 1.7; }
.flow-list li:first-child { padding-left: 0; }
.flow-list li:last-child { padding-right: 0; }
.flow-list li:not(:last-child)::after { position: absolute; top: 23px; right: -3px; color: var(--gold-500); content: "→"; font-size: 13px; }
.flow-number { flex: 0 0 auto; padding-top: 2px; color: var(--gold-600); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.flow-list small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.form-alert { margin-bottom: 24px; padding: 16px 19px; color: #7a271a; background: #ffefed; border: 1px solid #f2b8b1; border-radius: var(--radius-sm); font-size: 14px; }
.consultation-form { display: grid; gap: 28px; }
.form-block, .privacy-box { margin: 0; padding: 50px 54px 54px; background: var(--white); border: 1px solid rgba(7,26,47,.08); border-radius: var(--radius-md); box-shadow: 0 13px 40px rgba(7,26,47,.045); }
.form-block legend { float: left; width: 100%; margin: 0 0 38px; padding: 0; color: var(--navy-900); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.form-block legend + * { clear: both; }
.form-block legend > span { margin-right: 14px; color: var(--gold-600); font-size: 11px; letter-spacing: .1em; }
.form-block legend small { margin-left: 8px; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 29px 24px; }
.field--full { grid-column: 1 / -1; }
.field label { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 8px; color: var(--navy-900); font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { display: block; width: 100%; color: var(--ink); background: #fbfcfc; border: 1px solid #cfd7de; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s, background .2s; }
.field input, .field select { height: 56px; padding: 0 16px; }
.field select { padding-right: 42px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 24px, calc(100% - 14px) 24px; background-repeat: no-repeat; background-size: 5px 5px; }
.field textarea { min-height: 154px; padding: 15px 16px; line-height: 1.7; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b97a2; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9caab6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: var(--white); border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(18,59,97,.1); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field input[readonly] { color: var(--navy-800); background: #f1f4f6; cursor: default; }
.field-help, .postal-status { min-height: 20px; margin: 5px 0 0; color: #71808e; font-size: 11px; line-height: 1.7; }
.postal-status.is-found { color: #25704a; }
.postal-status.is-error { color: var(--error); }
.field-error { min-height: 21px; margin: 5px 0 0; color: var(--error); font-size: 12px; line-height: 1.7; }
.field-meta { display: flex; justify-content: space-between; gap: 16px; }
.char-count { margin-top: 6px; color: #7c8893; font-size: 11px; white-space: nowrap; }
.block-help { margin: -26px 0 24px; color: var(--muted); font-size: 13px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice-card { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 12px 16px; color: var(--navy-900); background: #fbfcfc; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 500; transition: .2s ease; }
.choice-card:hover { border-color: #aeb9c3; background: var(--white); }
.choice-card:has(input:checked) { background: #f7f3e9; border-color: var(--gold-500); }
.choice-card input, .privacy-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.choice-mark { position: relative; flex: 0 0 21px; height: 21px; background: var(--white); border: 1px solid #aeb8c1; border-radius: 6px; }
input:focus-visible + .choice-mark { outline: 3px solid var(--gold-400); outline-offset: 3px; }
input:checked + .choice-mark { background: var(--navy-800); border-color: var(--navy-800); }
input:checked + .choice-mark::after { position: absolute; top: 4px; left: 7px; width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.group-error { min-height: 0; }
.privacy-box { padding-block: 29px; }
.privacy-check { display: flex; align-items: flex-start; justify-content: center; gap: 13px; cursor: pointer; font-size: 13px; }
.privacy-check .choice-mark { margin-top: 3px; }
.privacy-check a { color: var(--navy-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.privacy-box .group-error { text-align: center; }
.submit-area { padding-top: 22px; text-align: center; }
.submit-area > p { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.submit-button { display: inline-flex; align-items: center; justify-content: space-between; width: min(100%, 490px); min-height: 72px; padding: 8px 12px 8px 28px; color: var(--white); background: var(--navy-900); border: 0; border-radius: 999px; box-shadow: 0 18px 35px rgba(7,26,47,.18); cursor: pointer; font-size: 15px; font-weight: 600; transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.submit-button:hover { background: var(--navy-800); box-shadow: 0 21px 42px rgba(7,26,47,.23); transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: .72; transform: none; }
.submit-arrow { display: grid; flex: 0 0 48px; height: 48px; color: var(--navy-950); background: var(--gold-400); border-radius: 50%; font-size: 20px; place-items: center; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer { padding: 82px 0 30px; color: rgba(255,255,255,.64); background: var(--navy-950); }
.footer-main { display: grid; grid-template-columns: 1.4fr 2fr; gap: 100px; padding-bottom: 72px; }
.footer-brand { margin-bottom: 20px; }
.footer-position { margin: 0 0 15px; color: var(--gold-300); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.footer-address { margin: 0; font-size: 12px; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-nav-group h2 { margin: 0 0 20px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.footer-nav-group ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-nav-group a { font-size: 12px; transition: color .25s ease; }
.footer-nav-group a:hover,
.footer-nav-group a[aria-current="page"],
.footer-nav-group .footer-cta { color: var(--gold-300); }
.footer-nav-group .footer-cta { font-weight: 600; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; }
.footer-legal { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--gold-300); }

.thanks-page { min-height: 100vh; background: var(--surface); }
.thanks-main { display: grid; min-height: calc(100vh - 120px); padding: 160px 20px 90px; background: radial-gradient(circle at 50% 0, rgba(207,170,89,.09), transparent 38%), var(--surface); place-items: center; }
.thanks-card { width: min(100%, 760px); padding: 70px 64px; background: var(--white); border: 1px solid rgba(7,26,47,.08); border-radius: var(--radius-lg); box-shadow: 0 28px 80px rgba(7,26,47,.09); text-align: center; }
.thanks-symbol { display: grid; width: 64px; height: 64px; margin: 0 auto 28px; color: var(--navy-900); background: #f7f0df; border: 1px solid var(--gold-300); border-radius: 50%; font-size: 24px; place-items: center; }
.thanks-card .eyebrow { justify-content: center; }
.thanks-card h1 { margin: 0 0 30px; color: var(--navy-900); font-size: clamp(36px, 5vw, 56px); font-weight: 600; letter-spacing: -.05em; }
.thanks-card > p { margin: 0; color: var(--muted); }
.thanks-card .thanks-lead { margin-bottom: 4px; color: var(--ink); font-size: 18px; font-weight: 500; }
.receipt-card { width: min(100%, 430px); margin: 32px auto 0; padding: 22px 24px; background: #f8f5ec; border: 1px solid rgba(184,138,46,.35); border-radius: var(--radius-sm); }
.receipt-card > span { display: block; margin-bottom: 5px; color: var(--gold-600); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.receipt-card strong { display: block; color: var(--navy-900); font-size: clamp(18px, 3vw, 23px); font-weight: 600; letter-spacing: .08em; line-height: 1.5; }
.receipt-card p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.receipt-card + .thanks-links { margin-top: 34px; }
.inline-link { color: var(--navy-700); text-decoration: underline; }
.thanks-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.thanks-links a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 10px 16px; color: var(--navy-900); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; transition: .25s ease; }
.thanks-links a:hover { color: var(--white); background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-2px); }
.insights-followup { margin-top: 48px; padding-top: 42px; border-top: 1px solid var(--line); text-align: left; }
.insights-followup h2 { margin: 0 0 22px; color: var(--navy-900); font-size: 18px; font-weight: 600; letter-spacing: -.02em; text-align: center; }
.insights-followup-grid { display: grid; gap: 10px; }
.insights-followup-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding: 13px 18px; color: var(--navy-900); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; line-height: 1.65; transition: border-color .25s ease, background .25s ease, transform .25s var(--ease); }
.insights-followup-card > span:last-child { flex: 0 0 auto; color: var(--gold-600); font-size: 16px; }
.insights-followup-card:hover { background: #fbfaf6; border-color: var(--gold-400); transform: translateY(-2px); }

@media (max-width: 960px) {
    .global-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 90px 34px 40px; color: var(--white) !important; background: var(--navy-950); font-size: 18px; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .3s ease; }
    .global-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .menu-toggle { display: block; }
    .global-nav .header-cta { margin-top: 10px; padding: 0 20px; font-size: 14px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding-top: 148px; padding-bottom: 82px; }
    .breadcrumb { margin-bottom: 54px; }
    .assurance-card { width: min(100%, 560px); }
    .consultation-flow { grid-template-columns: 1fr; gap: 24px; }
    .footer-main { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
    body { font-size: 15px; }
    .container, .form-container { width: min(calc(100% - 32px), var(--container)); }
    .header-inner { width: calc(100% - 32px); }
    .site-header { height: 74px; }
    .brand-mark { width: 30px; height: 30px; }
    .brand-name { font-size: 14px; }
    .desktop-only { display: none; }
    .mobile-only { display: initial; }
    .hero-grid { padding-top: 116px; padding-bottom: 62px; }
    .breadcrumb { margin-bottom: 43px; }
    .hero-copy h1 { font-size: clamp(44px, 14vw, 60px); }
    .hero-message { margin-top: 32px; font-size: 14px; }
    .hero-message .hero-lead { font-size: 17px; }
    .hero-message .hero-note { margin-top: 16px; font-size: 13px; }
    .assurance-card { padding: 27px 24px; }
    .assurance-card li { font-size: 13px; }
    .form-section { padding: 80px 0 94px; }
    .form-intro { margin-bottom: 34px; text-align: left; }
    .form-intro .eyebrow { justify-content: flex-start; }
    .form-intro h2 { font-size: 32px; }
    .consultation-flow { gap: 20px; padding: 27px 20px; border-radius: 16px; }
    .flow-list { grid-template-columns: 1fr; gap: 19px; }
    .flow-list li, .flow-list li:first-child, .flow-list li:last-child { min-height: 0; padding: 0 0 0 3px; }
    .flow-list li:not(:last-child)::after { top: auto; right: auto; bottom: -17px; left: 10px; content: "↓"; font-size: 11px; }
    .form-block, .privacy-box { padding: 31px 20px 34px; border-radius: 16px; }
    .form-block legend { margin-bottom: 28px; font-size: 19px; }
    .fields-grid, .checkbox-grid { grid-template-columns: 1fr; }
    .fields-grid { gap: 21px; }
    .block-help { margin-top: -18px; }
    .choice-card { min-height: 56px; }
    .privacy-check { justify-content: flex-start; }
    .privacy-box .group-error { text-align: left; }
    .submit-button { min-height: 66px; padding-left: 21px; font-size: 13px; }
    .submit-arrow { flex-basis: 44px; height: 44px; }
    .site-footer { padding-top: 62px; }
    .footer-main { gap: 42px; padding-bottom: 48px; }
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
    .footer-nav-group:last-child { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 15px; }
    .footer-legal { flex-wrap: wrap; gap: 10px 20px; }
    .thanks-main { padding: 122px 16px 64px; }
    .thanks-card { padding: 48px 20px 28px; border-radius: 20px; }
    .thanks-card h1 { font-size: 36px; }
    .thanks-links { grid-template-columns: 1fr; margin-top: 38px; }
    .insights-followup { margin-top: 38px; padding-top: 34px; }
    .insights-followup h2 { font-size: 16px; text-align: left; }
    .insights-followup-card { min-height: 68px; padding: 13px 15px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
