:root {
  --navy: #102844;
  --navy-2: #17395f;
  --gold: #b9852b;
  --gold-dark: #8a611d;
  --gold-soft: #ead9b9;
  --cream: #f7f3eb;
  --paper: #fffdf9;
  --ink: #172231;
  --muted: #647080;
  --line: #dce2e7;
  --white: #fff;
  --shadow: 0 20px 60px rgba(15, 35, 58, .1);
  --radius: 20px;
  --font-heading: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --font-body: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .025em;
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: .2em; }
a:hover { color: var(--gold-dark); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #d69e3e; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 10px 16px; transform: translateY(-150%); color: var(--white); background: var(--navy); }
.skip-link:focus { transform: none; }
.site-main { min-height: 60vh; }

h1, h2, h3, h4 { margin-top: 0; color: var(--navy); font-family: var(--font-heading); font-weight: 600; line-height: 1.45; letter-spacing: .045em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin-top: 0; }
.lead { max-width: 780px; color: #4f5d6c; font-size: clamp(1rem, 1.5vw, 1.1rem); }
.eyebrow { margin: 0 0 12px; color: var(--gold-dark); font-size: .76rem; font-weight: 700; letter-spacing: .19em; }
.eyebrow--light { color: #e9ca8a; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--cream { background: var(--cream); }
.section--navy { color: #e9eef3; background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding-block: 58px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 56px; align-items: end; margin-bottom: 54px; }
.section-heading > * { margin-bottom: 0; }
.section-heading__line { width: 62px; height: 2px; margin-top: 25px; background: var(--gold); }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border: 1px solid var(--navy); border-radius: 3px; color: var(--white); background: var(--navy); font-size: .9rem; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button:hover { color: var(--navy); background: var(--white); transform: translateY(-1px); }
.button--outline { color: var(--navy); background: rgba(255, 255, 255, .75); }
.button--gold { border-color: #c99a43; color: var(--navy); background: #e8c783; }
.button--gold:hover { color: var(--white); background: var(--gold); }
.button--small { min-height: 40px; padding: 9px 17px; font-size: .8rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.text-link::after { content: "→"; color: var(--gold); }

.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(16, 40, 68, .1); background: rgba(255, 253, 249, .96); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.site-brand:hover { color: var(--navy); }
.site-brand__mark { display: grid; width: 43px; aspect-ratio: 1; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-family: Georgia, serif; font-size: .72rem; letter-spacing: .08em; }
.site-brand strong { display: block; font-family: var(--font-heading); font-size: .98rem; letter-spacing: .06em; }
.site-brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .53rem; letter-spacing: .12em; }
.site-brand .custom-logo-link { display: block; }
.site-brand .custom-logo { width: auto; max-height: 54px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__list { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 25px); margin: 0; padding: 0; list-style: none; }
.site-nav__list a { color: var(--ink); font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--gold-dark); }
.nav-toggle { display: none; min-width: 48px; min-height: 48px; padding: 6px; border: 0; color: var(--navy); background: transparent; }
.nav-toggle__label { display: block; font-size: .68rem; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 24px; height: 2px; margin: 5px auto 0; background: currentColor; content: ""; transition: transform .2s; }
.nav-toggle__icon::before { transform: translateY(-7px); }
.nav-toggle__icon::after { transform: translateY(5px); }

.hero { position: relative; min-height: calc(100svh - 82px); overflow: hidden; color: var(--navy); background: linear-gradient(112deg, #fffdf8 0%, #fffdf8 54%, #f3e6cd 100%); }
.hero::before, .hero::after { position: absolute; border: 1px solid rgba(185, 133, 43, .22); border-radius: 50%; content: ""; pointer-events: none; }
.hero::before { right: -10vw; bottom: -32vw; width: min(66vw, 880px); aspect-ratio: 1; box-shadow: 0 0 0 80px rgba(185, 133, 43, .045), 0 0 0 160px rgba(185, 133, 43, .028); }
.hero::after { top: 10%; right: 10%; width: 13px; height: 13px; border: 0; background: var(--gold); box-shadow: 80px 150px 0 rgba(185, 133, 43, .38), -30px 300px 0 rgba(185, 133, 43, .18); }
.hero__grid { position: relative; z-index: 1; display: grid; min-height: calc(100svh - 82px); grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); align-items: center; gap: 7vw; padding-block: clamp(70px, 10vw, 130px); }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { display: block; color: var(--gold-dark); font-style: normal; }
.hero__lead { max-width: 620px; margin-bottom: 36px; color: #405268; font-size: clamp(1rem, 1.8vw, 1.16rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { align-self: end; border-top: 1px solid rgba(16, 40, 68, .15); }
.hero__proof-item { padding: 19px 0; border-bottom: 1px solid rgba(16, 40, 68, .15); }
.hero__proof-item span { display: block; margin-bottom: 3px; color: var(--gold-dark); font-family: Georgia, serif; font-size: .72rem; letter-spacing: .16em; }
.hero__proof-item strong { color: var(--navy); font-family: var(--font-heading); font-size: 1.08rem; }

.page-hero { position: relative; overflow: hidden; padding: clamp(82px, 10vw, 132px) 0; color: var(--white); background: linear-gradient(105deg, rgba(11, 32, 55, .99), rgba(23, 57, 95, .94)); }
.page-hero::after { position: absolute; right: -8%; bottom: -90%; width: 48%; aspect-ratio: 1; border: 1px solid rgba(234, 217, 185, .25); border-radius: 50%; box-shadow: 0 0 0 65px rgba(234, 217, 185, .045), 0 0 0 130px rgba(234, 217, 185, .025); content: ""; }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; color: var(--white); font-size: clamp(2.35rem, 5vw, 4.4rem); }
.page-hero__lead { max-width: 700px; margin: 0; color: #dbe4ec; }
.breadcrumbs { padding-block: 17px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; color: var(--muted); font-size: .75rem; list-style: none; }
.breadcrumbs li + li::before { margin-right: 8px; color: #aab3bc; content: "/"; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; padding: clamp(25px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card__number { display: block; margin-bottom: 20px; color: var(--gold); font-family: Georgia, serif; font-size: 1.5rem; }
.card p:last-child { margin-bottom: 0; }
.card--link { transition: transform .2s, box-shadow .2s; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--link > a::after { position: absolute; inset: 0; content: ""; }
.card__tag { display: inline-block; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; color: #765115; background: #f1e3c8; font-size: .72rem; font-weight: 700; }
.mission-quote { max-width: 970px; margin: 0 auto; color: var(--white); font-family: var(--font-heading); font-size: clamp(1.65rem, 4vw, 3.1rem); line-height: 1.75; text-align: center; }
.mission-quote em { color: #e8c783; font-style: normal; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); gap: clamp(48px, 8vw, 100px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.visual-panel { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); background: linear-gradient(145deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.visual-panel::before { position: absolute; inset: 15% -20% auto 20%; aspect-ratio: 1; border: 1px solid rgba(232, 199, 131, .35); border-radius: 50%; box-shadow: 0 0 0 50px rgba(232, 199, 131, .06), 0 0 0 100px rgba(232, 199, 131, .035); content: ""; }
.visual-panel__word { position: absolute; right: 8%; bottom: 8%; left: 8%; color: rgba(255, 255, 255, .9); font-family: var(--font-heading); font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.55; }
.visual-panel__word span { display: block; margin-bottom: 10px; color: #e8c783; font-family: var(--font-body); font-size: .68rem; letter-spacing: .18em; }
.visual-panel__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.process__item { padding: 28px 22px; background: var(--white); }
.process__item span { color: var(--gold-dark); font-family: Georgia, serif; }
.process__item strong { display: block; margin: 8px 0; color: var(--navy); font-family: var(--font-heading); }
.process__item p { margin: 0; color: var(--muted); font-size: .84rem; }
.flow-list { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.flow-list li { position: relative; padding: 0 0 42px 74px; counter-increment: flow; }
.flow-list li::before { position: absolute; top: 0; left: 0; display: grid; width: 44px; aspect-ratio: 1; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-dark); background: var(--paper); content: counter(flow, decimal-leading-zero); font-family: Georgia, serif; font-size: .75rem; }
.flow-list li::after { position: absolute; top: 44px; bottom: 0; left: 22px; width: 1px; background: var(--gold-soft); content: ""; }
.flow-list li:last-child { padding-bottom: 0; }
.flow-list li:last-child::after { display: none; }
.flow-list h3 { margin-bottom: 8px; }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case-card { position: relative; display: flex; min-height: 100%; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 17px; }
.case-card__meta span { padding: 4px 9px; border-radius: 999px; color: #765115; background: #f4e8d1; font-size: .68rem; }
.case-card h2, .case-card h3 { margin-bottom: 16px; font-size: 1.3rem; }
.case-card p { color: var(--muted); }
.case-card .text-link { margin-top: auto; }
.case-card > a::after { position: absolute; inset: 0; content: ""; }
.empty-state { padding: 34px; border: 1px dashed #b7c0c9; border-radius: var(--radius); background: rgba(255, 255, 255, .58); text-align: center; }
.case-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin-bottom: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.case-summary > div { padding: 28px; background: var(--white); }
.case-summary span { display: block; margin-bottom: 8px; color: var(--gold-dark); font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.case-story { display: grid; grid-template-columns: minmax(170px, .35fr) 1fr; gap: 50px; padding: 38px 0; border-top: 1px solid var(--line); }
.case-story p { margin-bottom: 0; color: #4f5d6c; }
.case-voice { margin-top: 30px; padding: 35px; border-radius: var(--radius); color: var(--white); background: var(--navy); }
.case-voice span { display: block; color: #e8c783; font-size: .7rem; letter-spacing: .15em; }
.case-voice blockquote { margin: 12px 0 0; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.9; }
.case-note { margin-top: 24px; color: var(--muted); font-size: .78rem; }

.network { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.network__center { color: var(--white); background: var(--navy); }
.network__center h3 { color: var(--white); }
.fact-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.fact-table th, .fact-table td { padding: 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fact-table th { width: 28%; color: var(--navy); font-size: .85rem; }
.pending { color: #695331; font-size: .9rem; font-style: normal; }
.notice { padding: 23px 26px; border: 1px solid #dfcda8; border-radius: 14px; background: #f3eee2; }
.notice strong { color: #765115; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.faq-item summary { position: relative; padding: 22px 58px 22px 24px; color: var(--navy); font-family: var(--font-heading); font-size: 1.05rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { position: absolute; top: 50%; right: 24px; transform: translateY(-50%); color: var(--gold-dark); content: "+"; font-family: var(--font-body); font-size: 1.5rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-item__answer { padding: 0 24px 22px; color: #4f5d6c; }
.faq-item__answer p:last-child { margin-bottom: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .5fr); gap: clamp(40px, 7vw, 82px); align-items: start; }
.contact-form { display: grid; gap: 23px; }
.form-row { display: grid; gap: 8px; }
.form-row--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-row label, .form-legend { color: var(--navy); font-weight: 700; }
.required { margin-left: 7px; color: #9a2f27; font-size: .72rem; }
.optional { margin-left: 7px; color: var(--muted); font-size: .72rem; font-weight: 400; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #aeb8c0; border-radius: 5px; color: var(--ink); background: var(--white); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold-dark); outline: 3px solid rgba(185, 133, 43, .2); }
.checkbox { display: flex; gap: 11px; align-items: flex-start; }
.checkbox input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 5px; }
.form-help { margin: 0; color: var(--muted); font-size: .78rem; }
.form-status { margin-bottom: 26px; padding: 17px 20px; border-left: 4px solid var(--navy-2); background: #edf3f6; }
.form-status--success { border-color: #36715f; background: #e8f2ee; }
.form-status--error { border-color: #a43f36; background: #f8ecea; }
.hfp-hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-aside { position: sticky; top: 112px; padding: 30px; border-radius: var(--radius); color: var(--white); background: var(--navy); }
.contact-aside h2, .contact-aside h3 { color: var(--white); }
.contact-aside ol { margin: 0; padding-left: 1.3em; }
.contact-aside li { margin: .8em 0; }

.contact-cta { padding: clamp(65px, 8vw, 90px) 0; color: #e4ebf1; background: var(--navy); }
.contact-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: center; }
.contact-cta h2 { max-width: 760px; margin-bottom: 14px; color: var(--white); }
.contact-cta p:last-child { margin-bottom: 0; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; font-size: clamp(1.7rem, 3vw, 2.25rem); }
.prose h3 { margin-top: 1.8em; }
.prose li { margin: .4em 0; }
.prose > :first-child { margin-top: 0; }

.site-footer { padding: 70px 0 26px; color: #cdd8e1; background: #0b2037; }
.site-footer a { color: #dbe5ed; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-bottom: 50px; }
.site-footer__name { margin-bottom: 8px; color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; }
.site-footer__message { color: #aebdca; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { font-size: .82rem; text-decoration: none; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: #9fafbd; font-size: .72rem; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.pagination .current { color: var(--white); background: var(--navy); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1100px) {
  .site-header__inner { min-height: 74px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; max-height: calc(100vh - 74px); overflow-y: auto; align-items: stretch; padding: 22px 24px 28px; border-top: 1px solid var(--line); background: var(--paper); box-shadow: 0 18px 30px rgba(15, 35, 58, .12); }
  .is-menu-open .site-nav { display: grid; }
  .site-nav__list { display: grid; gap: 0; }
  .site-nav__list a { display: block; padding: 11px 5px; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .site-nav .button { margin-top: 5px; }
  .is-menu-open .nav-toggle__icon { background: transparent; }
  .is-menu-open .nav-toggle__icon::before { transform: translateY(0) rotate(45deg); }
  .is-menu-open .nav-toggle__icon::after { transform: translateY(-2px) rotate(-45deg); }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  body.admin-bar .site-header { top: 46px; }
  .container { width: min(100% - 36px, 720px); }
  .section-heading, .split, .contact-layout, .contact-cta__inner, .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse > :first-child { order: initial; }
  .hero { min-height: auto; }
  .hero__grid { min-height: auto; grid-template-columns: 1fr; padding-block: 88px; }
  .hero__proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-self: auto; }
  .hero__proof-item { padding: 16px 12px; border-right: 1px solid rgba(16, 40, 68, .15); text-align: center; }
  .hero__proof-item strong { font-size: .9rem; }
  .cards, .case-grid, .network { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .case-summary { grid-template-columns: 1fr; }
  .case-story { grid-template-columns: 1fr; gap: 8px; }
  .visual-panel { min-height: 340px; }
  .contact-aside { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 30px, 520px); }
  .site-brand strong { font-size: .86rem; }
  .site-brand small { display: none; }
  .site-brand__mark { width: 38px; }
  .hero h1 { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero__proof { grid-template-columns: 1fr; }
  .hero__proof-item { border-right: 0; text-align: left; }
  .cards, .case-grid, .network, .process, .form-row--split { grid-template-columns: 1fr; }
  .page-hero { padding-block: 75px; }
  .page-hero h1 { font-size: 2.45rem; }
  .section { padding-block: 70px; }
  .button { width: 100%; }
  .fact-table th, .fact-table td { display: block; width: 100%; padding: 13px 15px; }
  .fact-table th { padding-bottom: 0; border-bottom: 0; }
  .footer-nav { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
}

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

@media print {
  .site-header, .site-footer, .contact-cta, .breadcrumbs, .button { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .section, .page-hero { padding: 30px 0; color: #000; background: #fff; }
  .page-hero h1 { color: #000; }
  a { color: #000; text-decoration: underline; }
}
