:root {
  --navy: #0b2344;
  --navy-2: #173b67;
  --red: #e92732;
  --red-dark: #bf1e28;
  --gold: #c99b45;
  --ink: #172234;
  --muted: #657084;
  --line: #dce2ea;
  --soft: #f5f7fa;
  --soft-blue: #edf3fa;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(12, 35, 68, .10);
  --shadow-sm: 0 8px 26px rgba(12, 35, 68, .08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --header-h: 92px;
  --ease: cubic-bezier(.2,.72,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 1120px;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: .02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .42s var(--ease), transform .42s var(--ease);
}
body.is-ready { opacity: 1; transform: translateY(0); }
body.is-leaving { opacity: 0; transform: translateY(-8px); }

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

.container { width: min(var(--container), calc(100% - 88px)); margin: 0 auto; }
.section { padding: 108px 0; position: relative; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 52px; margin-bottom: 52px; }
.section-head__copy { max-width: 680px; }
.section-title { margin: 12px 0 0; font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 44px; line-height: 1.35; letter-spacing: .01em; }
.section-title em { font-style: normal; color: var(--red); }
.section-lead { margin: 0; max-width: 520px; color: var(--muted); font-size: 15px; }
.section--navy .section-lead { color: rgba(255,255,255,.72); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 12px 30px rgba(233,39,50,.25); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 16px 34px rgba(233,39,50,.32); }
.btn--outline { color: var(--navy); border-color: rgba(11,35,68,.25); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--white { color: var(--navy); background: #fff; }
.btn--text { min-height: auto; padding: 0; border-radius: 0; color: var(--navy); }
.btn__arrow { font-size: 19px; line-height: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,35,68,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.site-logo { width: 245px; display: flex; align-items: center; }
.site-logo img { width: 100%; height: 72px; object-fit: contain; }
.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 31px; align-items: center; margin: 0; padding: 0; list-style: none; }
.global-nav a { position: relative; display: block; padding: 34px 0 30px; color: #33425a; font-size: 13px; font-weight: 700; white-space: nowrap; }
.global-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.global-nav a:hover::after, .global-nav a.is-active::after { transform: scaleX(1); }
.global-nav a.is-active { color: var(--navy); }
.header-cta { min-width: 204px; min-height: 48px; padding: 0 22px; font-size: 13px; }

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 78% 38%, rgba(233,39,50,.10), transparent 28%),
    radial-gradient(circle at 87% 18%, rgba(201,155,69,.14), transparent 20%),
    linear-gradient(135deg, #fff 0%, #fff 58%, #f5f8fc 100%);
}
.hero::before { content: ""; position: absolute; right: -140px; top: 55px; width: 610px; height: 610px; border: 1px solid rgba(11,35,68,.08); border-radius: 50%; }
.hero::after { content: ""; position: absolute; right: -70px; top: 125px; width: 470px; height: 470px; border: 1px solid rgba(201,155,69,.22); border-radius: 50%; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 44px; padding: 76px 0 92px; }
.hero-copy h1 { margin: 18px 0 24px; color: var(--navy); font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 56px; line-height: 1.26; letter-spacing: -.02em; }
.hero-copy h1 span { display: block; color: var(--red); }
.hero-copy__lead { max-width: 650px; margin: 0; color: #516078; font-size: 17px; line-height: 2; }
.success-fee-highlight { display: flex; align-items: center; gap: 15px; padding: 18px 22px; border: 2px solid rgba(233,39,50,.28); border-radius: 16px; background: linear-gradient(135deg, #fff7f7 0%, #fffdf8 100%); box-shadow: 0 12px 30px rgba(233,39,50,.10); }
.success-fee-highlight__icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--red); font-size: 21px; font-weight: 900; box-shadow: 0 8px 20px rgba(233,39,50,.24); }
.success-fee-highlight strong { display: block; color: var(--red); font-family: "Noto Serif JP", "Yu Mincho", serif; font-size: 22px; line-height: 1.35; }
.success-fee-highlight div > span { display: block; margin-top: 3px; color: var(--navy); font-size: 13px; font-weight: 800; }
.success-fee-highlight--hero { max-width: 650px; margin-top: 25px; }
.success-fee-highlight--fees { max-width: 860px; margin: 0 auto 34px; padding: 24px 30px; justify-content: center; }
.success-fee-highlight--fees strong { font-size: 27px; }
.success-fee-highlight--fees div > span { font-size: 15px; }
.hero-actions { display: flex; gap: 14px; margin-top: 36px; }
.hero-notes { display: flex; gap: 24px; margin-top: 34px; color: #5b677a; font-size: 12px; font-weight: 700; }
.hero-notes span { display: flex; align-items: center; gap: 7px; }
.hero-notes span::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: var(--navy); font-size: 10px; }

.hero-panel { position: relative; min-height: 500px; }
.hero-emblem { width: 392px; margin: 8px auto 0; filter: drop-shadow(0 26px 38px rgba(11,35,68,.16)); animation: float 5.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-stat-card { position: absolute; display: flex; flex-direction: column; gap: 3px; width: 170px; padding: 18px 20px; border: 1px solid rgba(11,35,68,.08); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); }
.hero-stat-card strong { color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 22px; }
.hero-stat-card span { color: var(--muted); font-size: 11px; font-weight: 700; }
.hero-stat-card--one { top: 16px; left: -6px; }
.hero-stat-card--two { right: -8px; top: 172px; }
.hero-stat-card--three { left: 18px; bottom: 18px; }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { padding: 28px 30px; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 13px; }
.trust-item:last-child { border-right: 1px solid var(--line); }
.trust-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--soft-blue); color: var(--navy); font-weight: 900; }
.trust-item strong { display: block; color: var(--navy); font-size: 14px; }
.trust-item small { color: var(--muted); font-size: 11px; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.info-card { position: relative; min-height: 260px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 4px 0 rgba(11,35,68,.02); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s; }
.info-card:hover { transform: translateY(-6px); border-color: rgba(11,35,68,.2); box-shadow: var(--shadow-sm); }
.info-card__num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 900; }
.info-card h3 { margin: 24px 0 12px; color: var(--navy); font-size: 20px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.info-card__tag { position: absolute; right: 22px; top: 22px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; }

.eligibility-strip { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--line); }
.eligibility-item { min-height: 178px; padding: 24px 18px; background: #fff; }
.eligibility-item b { display: block; color: var(--red); font-size: 12px; letter-spacing: .12em; }
.eligibility-item strong { display: block; margin-top: 18px; color: var(--navy); font-size: 14px; line-height: 1.6; }
.eligibility-item small { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }

.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.case-card { padding: 38px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.case-card__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.case-benefit-amount { margin-bottom: 20px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #f2f7ff 0%, #fffdf7 100%); border: 1px solid rgba(201,172,110,.32); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.case-card__type { display: block; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 30px; line-height: 1.35; font-weight: 800; }
.case-card h3 { margin: 18px 0 8px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 25px; }
.case-card__meta { color: var(--muted); font-size: 13px; }
.case-total { margin-top: 24px; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, #fff7f7 0%, #fffdf9 100%); border: 1px solid rgba(233,39,50,.18); display: flex; justify-content: space-between; align-items: end; }
.case-total span { color: var(--navy); font-size: 14px; font-weight: 800; }
.case-total strong { color: var(--red); font-size: 36px; line-height: 1; }
.case-tax { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #fff7f7; color: #8e2a30; font-size: 12px; }
.tax-refund-note { margin-top: 24px; padding: 20px 24px; border-left: 5px solid var(--gold); border-radius: 12px; background: #fffaf0; color: #594b31; font-size: 14px; font-weight: 800; box-shadow: 0 8px 24px rgba(12,35,68,.05); }

.cta-band { position: relative; overflow: hidden; padding: 70px 0; background: var(--navy); color: #fff; }
.cta-band::after { content: ""; position: absolute; right: -130px; top: -170px; width: 440px; height: 440px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.cta-band-grid { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.cta-band h2 { margin: 0 0 10px; font-family: "Noto Serif JP", serif; font-size: 36px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); }
.cta-band-actions { display: flex; gap: 12px; flex-shrink: 0; }

.page-hero { position: relative; overflow: hidden; padding: 82px 0 76px; background: linear-gradient(135deg, #f7f9fc 0%, #fff 66%); border-bottom: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; width: 360px; height: 360px; right: 5%; top: -165px; border: 1px solid rgba(11,35,68,.10); border-radius: 50%; }
.breadcrumb { margin-bottom: 30px; color: var(--muted); font-size: 11px; font-weight: 700; }
.breadcrumb span { margin: 0 8px; color: #a1a9b6; }
.page-hero-grid { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.page-hero h1 { margin: 12px 0 0; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 54px; line-height: 1.3; }
.page-hero h1 small { display: block; margin-top: 10px; color: var(--muted); font-family: inherit; font-size: 15px; letter-spacing: .08em; font-weight: 500; }
.page-hero__lead { max-width: 510px; margin: 0 0 8px; color: var(--muted); font-size: 15px; }

.feature-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.feature-banner__main { padding: 48px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.feature-banner__main strong { display: block; margin: 18px 0 6px; font-family: "Noto Serif JP", serif; font-size: 44px; color: #fff; }
.feature-banner__main p { margin: 0; color: rgba(255,255,255,.72); }
.feature-banner__side { padding: 48px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.feature-banner__side strong { display: block; margin: 18px 0 6px; color: var(--red); font-family: "Noto Serif JP", serif; font-size: 44px; }
.feature-banner__side p { margin: 0; color: var(--muted); }

.requirement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.requirement-card { min-height: 236px; padding: 30px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.requirement-card__top { display: flex; align-items: center; justify-content: space-between; }
.requirement-card__num { color: var(--gold); font-family: "Noto Serif JP", serif; font-size: 36px; font-weight: 800; line-height: 1; }
.requirement-card__check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff4f4; color: var(--red); font-weight: 900; }
.requirement-card h3 { margin: 26px 0 10px; color: var(--navy); font-size: 18px; }
.requirement-card p { margin: 0; color: var(--muted); font-size: 13px; }

.pension-tabs { display: flex; gap: 10px; margin-bottom: 28px; }
.tab-btn { padding: 13px 22px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 13px; font-weight: 800; }
.tab-btn.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }
.formula-box { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 34px 38px; border-radius: 18px; background: var(--navy); color: #fff; margin-bottom: 26px; }
.formula-box strong { font-family: "Noto Serif JP", serif; font-size: 25px; }
.formula-box span { color: rgba(255,255,255,.64); font-size: 12px; }
.data-table-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th, .data-table td { padding: 17px 14px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.data-table th { background: #f3f6fa; color: var(--navy); font-weight: 800; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th:last-child, .data-table td:last-child { border-right: 0; }
.data-table td strong { color: var(--red); }
.note-box { margin-top: 22px; padding: 20px 23px; border-left: 4px solid var(--gold); background: #fffaf0; color: #67542c; font-size: 13px; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 40px; bottom: 40px; width: 1px; background: var(--line); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 82px 1fr; align-items: center; min-height: 175px; }
.timeline-item__dot { z-index: 2; grid-column: 2; justify-self: center; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; border: 2px solid var(--navy); color: var(--navy); font-weight: 900; box-shadow: 0 0 0 10px #fff; }
.timeline-item__card { padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.timeline-item:nth-child(odd) .timeline-item__card { grid-column: 1; grid-row: 1; }
.timeline-item:nth-child(even) .timeline-item__card { grid-column: 3; grid-row: 1; }
.timeline-item__card b { color: var(--red); font-size: 10px; letter-spacing: .16em; }
.timeline-item__card h3 { margin: 5px 0 6px; color: var(--navy); font-size: 19px; }
.timeline-item__card p { margin: 0; color: var(--muted); font-size: 13px; }
.timeline-item:last-child .timeline-item__dot { border-color: var(--red); background: var(--red); color: #fff; }

.docs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.doc-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.doc-item__num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--navy); background: var(--soft-blue); font-size: 12px; font-weight: 900; }
.doc-item strong { display: block; color: var(--navy); font-size: 14px; }
.doc-item small { display: block; color: var(--muted); font-size: 11px; }
.doc-item__check { color: var(--gold); font-size: 21px; }

.price-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 30px; align-items: start; }
.price-cards { display: grid; gap: 18px; }
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.price-card--main { color: #fff; background: var(--navy); border-color: var(--navy); }
.price-card__label { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.price-card__value { margin: 14px 0 8px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 40px; line-height: 1.25; }
.price-card--main .price-card__value { color: #fff; }
.price-card p { margin: 0; color: var(--muted); font-size: 12px; }
.price-card--main p { color: rgba(255,255,255,.68); }
.expense-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 18px; }
.expense-list span { padding: 12px 14px; border-radius: 10px; background: var(--soft); color: var(--navy); font-size: 12px; font-weight: 700; }

.calc-box { position: sticky; top: 120px; padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-box h3 { margin: 0 0 8px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 27px; }
.calc-box__lead { margin: 0 0 24px; color: var(--navy); font-size: 18px; line-height: 1.8; font-weight: 800; }
.calc-input-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.calc-input-grid .form-row { margin-bottom: 16px; }
.calc-input-grid .form-label { display: inline-block; margin-bottom: 8px; color: var(--navy); font-size: 14px; font-weight: 900; }
.calc-input-grid .form-control {
  height: 60px;
  background: linear-gradient(135deg, #fff9db 0%, #fff3f3 100%);
  border: 2px solid rgba(233,39,50,.28);
  box-shadow: 0 10px 24px rgba(233,39,50,.10);
  font-size: 18px;
  font-weight: 800;
}
.calc-input-grid .form-control::placeholder { color: rgba(11,35,68,.45); }
.calc-input-grid .form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(233,39,50,.12), 0 12px 26px rgba(233,39,50,.14);
  background: #fffef4;
}
.calc-estimate { margin-bottom: 18px; padding: 20px 22px; border-radius: 20px; background: linear-gradient(135deg, #f3f7ff 0%, #fffdf8 100%); border: 1px solid rgba(201,172,110,.3); }
.calc-estimate span { display: block; margin-bottom: 8px; color: var(--navy); font-size: 14px; font-weight: 800; }
.calc-estimate strong { display: block; color: var(--red); font-family: "Noto Serif JP", serif; font-size: 42px; line-height: 1.1; }
.form-row { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 12px; font-weight: 800; }
.form-control { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,35,68,.08); }
textarea.form-control { height: 132px; padding-top: 14px; resize: vertical; }
.calc-results { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-line { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; color: var(--muted); font-size: 13px; }
.calc-line strong { color: var(--navy); }
.calc-line--summary { padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line); }
.calc-line--summary span { font-size: 12px; }
.calc-line--summary strong { color: var(--navy); font-size: 18px; }
.calc-line--balance { margin-top: 14px; padding: 20px 22px; border-radius: 18px; background: linear-gradient(135deg, #fff7f7 0%, #fffdf9 100%); border: 1px solid rgba(233,39,50,.18); align-items: end; }
.calc-line--balance span { color: var(--navy); font-size: 14px; font-weight: 800; }
.calc-line--balance strong { color: var(--red); font-size: 34px; line-height: 1; }
.calc-line--total { margin-top: 8px; padding: 18px 0 0; border-top: 1px dashed var(--line); font-weight: 800; }
.calc-line--total strong { color: var(--red); font-size: 24px; }
.calc-disclaimer { margin-top: 18px; color: #8a92a0; font-size: 10px; }

.caution-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.caution-card { padding: 28px; border-radius: 16px; border: 1px solid #eadfc5; background: #fffaf0; }
.caution-card b { color: var(--gold); font-size: 11px; letter-spacing: .12em; }
.caution-card h3 { margin: 8px 0; color: var(--navy); font-size: 17px; }
.caution-card p { margin: 0; color: #6b624f; font-size: 12px; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; align-items: start; }
.contact-layout--form-only { display: block; max-width: 920px; margin: 0 auto; }
.contact-layout--form-only .contact-form { width: 100%; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-info { position: sticky; top: 120px; }
.contact-info h2 { margin: 12px 0 18px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 36px; }
.contact-info > p { color: var(--muted); font-size: 14px; }
.contact-channel { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, transform .2s; }
.contact-channel:hover { border-color: var(--navy); transform: translateX(4px); }
.contact-channel__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--soft-blue); color: var(--navy); font-weight: 900; }
.contact-channel strong { display: block; color: var(--navy); font-size: 14px; }
.contact-channel small { display: block; color: var(--muted); font-size: 11px; }
.contact-form { padding: 42px; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row--full { grid-column: 1 / -1; }
.form-note { margin: 16px 0 0; color: var(--muted); font-size: 11px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: grid; grid-template-columns: 54px 1fr 30px; align-items: center; gap: 14px; padding: 24px 0; border: 0; background: transparent; text-align: left; color: var(--navy); font-weight: 800; }
.faq-q__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--soft-blue); color: var(--navy); }
.faq-q__plus { font-size: 24px; transition: transform .25s; }
.faq-item.is-open .faq-q__plus { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0 0 24px 68px; max-width: 880px; color: var(--muted); font-size: 13px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.site-footer { padding: 64px 0 26px; background: #071a34; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.25fr .75fr 1fr; gap: 70px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 245px; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 360px; margin: 20px 0 0; color: rgba(255,255,255,.58); font-size: 12px; }
.footer-title { margin: 4px 0 17px; color: var(--gold); font-size: 11px; letter-spacing: .14em; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li + li { margin-top: 10px; }
.footer-nav a { color: rgba(255,255,255,.74); font-size: 12px; }
.footer-nav a:hover { color: #fff; }
.footer-info { margin: 0; }
.footer-info div { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 11px; }
.footer-info dt { color: rgba(255,255,255,.42); }
.footer-info dd { margin: 0; color: rgba(255,255,255,.74); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; color: rgba(255,255,255,.38); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 40px; background: rgba(3,15,32,.68); backdrop-filter: blur(8px); }
.modal.is-open { display: grid; }
.modal-card { width: min(520px, 100%); padding: 38px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); animation: fadeUp .3s var(--ease); }
.modal-card h3 { margin: 0 0 12px; color: var(--navy); font-family: "Noto Serif JP", serif; font-size: 25px; }
.modal-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

/* Compact submission-result window: stays visible without blacking out the page. */
.modal--compact {
  display: none;
  place-items: start center;
  padding: 24px 16px;
  background: rgba(3,15,32,.12);
  backdrop-filter: none;
  overflow-y: auto;
}
.modal--compact.is-open { display: grid; }
.modal--compact .modal-card {
  width: min(360px, calc(100vw - 32px));
  margin: 0;
  padding: 22px 22px 20px;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(3,15,32,.24);
  text-align: center;
}
.modal--compact .modal-card h3 { font-size: 20px; margin-bottom: 8px; }
.modal--compact .modal-card p { font-size: 13px; line-height: 1.75; margin-bottom: 16px; }
.modal--compact .modal-card .btn { min-width: 112px; padding: 11px 22px; }
@media (max-width: 600px) {
  .modal--compact { padding-top: max(16px, env(safe-area-inset-top)); }
  .modal--compact .modal-card { width: min(330px, calc(100vw - 24px)); padding: 20px 18px 18px; }
}

.utility-bar { background: var(--navy); color: #fff; }
.utility-inner { height: 32px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .08em; }
.utility-inner span:last-child { color: rgba(255,255,255,.62); }

@media (max-width: 1180px) {
  body { min-width: 1024px; }
  .container { width: calc(100% - 56px); }
  .global-nav ul { gap: 20px; }
  .site-logo { width: 210px; }
  .hero-copy h1 { font-size: 54px; }
  .hero-grid { gap: 38px; }
  .eligibility-item { padding: 20px 13px; }
}

/* Multilingual controls */
.utility-inner { gap: 20px; }
.utility-title { flex: 0 0 auto; font-weight: 800; }
.utility-copy { margin-left: auto; color: rgba(255,255,255,.62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-select { flex: 0 0 auto; display: flex; align-items: center; gap: 7px; }
.language-select__icon { color: #fff !important; font-size: 13px; }
.language-select select { height: 24px; min-width: 132px; padding: 0 26px 0 9px; border: 1px solid rgba(255,255,255,.30); border-radius: 999px; color: #fff; background: #173b67; font-size: 10px; font-weight: 700; outline: none; cursor: pointer; }
.language-select option { color: #172234; background: #fff; }
.home-language-panel { border-bottom: 1px solid var(--line); background: #f7f9fc; }
.home-language-panel__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.home-language-copy strong { display: block; color: var(--navy); font-size: 14px; }
.home-language-copy span { display: block; color: var(--muted); font-size: 11px; }
.home-language-links { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.home-language-link { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 11px; font-weight: 800; transition: .2s ease; white-space: nowrap; }
.home-language-link:hover { border-color: var(--navy); transform: translateY(-1px); }
.home-language-link.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }
body.lang-en, body.lang-vi, body.lang-id { letter-spacing: .005em; }
body.lang-en .hero-copy h1, body.lang-vi .hero-copy h1, body.lang-id .hero-copy h1 { font-size: 48px; }
body.lang-ko .hero-copy h1, body.lang-zh .hero-copy h1 { font-size: 51px; }
body.lang-vi .global-nav ul, body.lang-id .global-nav ul { gap: 18px; }
body.lang-vi .global-nav a, body.lang-id .global-nav a { font-size: 12px; }
body.lang-vi .header-cta, body.lang-id .header-cta { min-width: 218px; padding: 0 16px; font-size: 12px; }
body.lang-en .section-title, body.lang-vi .section-title, body.lang-id .section-title { font-size: 40px; }

@media (max-width: 768px) {
  .case-card__type { font-size: 24px; }
  .case-total { padding: 18px 20px; }
  .case-total strong { font-size: 30px; }
}

@media (max-width: 768px) {
  .calc-line--balance { padding: 16px 18px; }
  .calc-line--balance strong { font-size: 28px; }
}

@media (max-width: 768px) {
  .calc-input-grid { grid-template-columns: 1fr; gap: 0; }
  .calc-estimate strong { font-size: 34px; }
}

@media (max-width: 768px) {
  .calc-box__lead { font-size: 16px; line-height: 1.7; }
  .calc-input-grid .form-control { height: 56px; font-size: 17px; }
}
