:root {
  --ink: #10213f;
  --muted: #5d6b80;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: #dbe4ef;
  --blue: #246bfe;
  --blue-dark: #1646a5;
  --cyan: #63e6dc;
  --warm: #ffb86b;
  --shadow: 0 20px 60px rgba(16, 33, 63, .12);
  --radius: 22px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-synthesis: none;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: .7rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(219, 228, 239, .85);
  background: rgba(247, 249, 252, .88);
  backdrop-filter: blur(18px);
}
.header-inner, .container { width: min(1160px, calc(100% - 2.5rem)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.05; }
.brand-text small { margin-top: .3rem; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 999px; padding: .65rem .9rem; color: var(--ink); background: var(--white); font: inherit; }
.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { color: var(--muted); font-size: .88rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.language-switcher { display: flex; gap: .35rem; margin-left: .5rem; padding-left: .9rem; border-left: 1px solid var(--line); }
.language-switcher a { padding: .25rem .45rem; border-radius: 8px; font-size: .75rem; }
.language-switcher a[aria-current="page"] { color: var(--white); background: var(--ink); }

.hero { position: relative; isolation: isolate; min-height: 620px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(8, 23, 53, .95) 10%, rgba(8, 23, 53, .72) 46%, rgba(8, 23, 53, .22)), url("/assets/hero-mission.jpg") center / cover; }
.hero::after { content: ""; position: absolute; right: -12rem; bottom: -13rem; z-index: -1; width: 35rem; height: 35rem; border: 1px solid rgba(99, 230, 220, .4); border-radius: 50%; box-shadow: 0 0 0 2rem rgba(99, 230, 220, .06), 0 0 0 5rem rgba(99, 230, 220, .04); }
.hero-inner { display: grid; align-items: center; min-height: 620px; padding: 5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.2rem; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.1rem; height: 2px; background: var(--cyan); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.045em; }
.hero h1 { max-width: 760px; font-size: clamp(3.25rem, 8vw, 7.1rem); }
.hero-lead { max-width: 650px; margin: 1.6rem 0 0; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 1.8vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); }
.button-ghost { color: var(--white); border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .08); }

.section { padding: 6rem 0; }
.section-tight { padding: 4rem 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.4rem; }
.section-heading h2 { max-width: 660px; font-size: clamp(2.1rem, 5vw, 4rem); }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); }
.kicker { margin: 0 0 .7rem; color: var(--blue); font-size: .75rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.surface { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.card { height: 100%; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card h3 { margin-bottom: .7rem; font-size: 1.4rem; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: inline-flex; margin-top: 1.2rem; color: var(--blue); font-weight: 800; text-decoration: none; }
.card-link::after { content: " ↗"; }
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(var(--blue), var(--cyan)); }
.service-meta { margin: 1rem 0 0; color: var(--blue-dark); font-size: .82rem; font-weight: 800; }
.pill { display: inline-flex; padding: .3rem .65rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .75rem; font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); }
.stat { padding: 1.7rem; background: var(--white); }
.stat strong { display: block; color: var(--blue); font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: .85rem; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.split > :first-child { position: sticky; top: 120px; }
.split h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.prose { color: var(--muted); font-size: 1.04rem; }
.prose p { margin: 0 0 1.3rem; }
.prose h2 { margin: 2.4rem 0 .8rem; color: var(--ink); font-size: 1.55rem; }
.prose h3 { margin: 1.8rem 0 .5rem; color: var(--ink); font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose a { color: var(--blue); font-weight: 700; }
.page-hero { padding: 6rem 0 4rem; background: linear-gradient(135deg, #e9f1ff, #f7f9fc 55%, #e8fbf8); }
.page-hero h1 { max-width: 820px; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.page-hero .lead { max-width: 700px; margin: 1.3rem 0 0; color: var(--muted); font-size: 1.15rem; }
.content-wrap { padding: 4rem 0 6rem; }
.detail-panel { padding: clamp(1.4rem, 4vw, 3rem); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { width: 28%; color: var(--muted); font-size: .9rem; }
.contact-note { padding: 1.4rem; border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: #eef4ff; }
.contact-note p { margin: 0; }
input, textarea { width: 100%; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: var(--white); font: inherit; }
textarea { min-height: 160px; resize: vertical; }
label { display: grid; gap: .35rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.form-grid { display: grid; gap: 1rem; }
.form-help { color: var(--muted); font-size: .9rem; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button:disabled { cursor: wait; opacity: .65; }

:where(a, button, input, textarea):focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; }

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

.site-footer { padding: 3rem 0 1.5rem; color: rgba(255, 255, 255, .72); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer .brand-text small { color: rgba(255, 255, 255, .55); }
.site-footer p { max-width: 320px; margin: .9rem 0 0; font-size: .9rem; }
.site-footer h2 { margin-bottom: .8rem; color: var(--white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: grid; gap: .35rem; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: .9rem; text-decoration: none; }
.footer-links a:hover { color: var(--cyan); }
.copyright { margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .75rem; }

@media (max-width: 820px) {
  .header-inner, .container { width: min(100% - 1.5rem, 680px); }
  .header-inner { min-height: 68px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: .75rem; left: .75rem; display: none; align-items: stretch; flex-direction: column; padding: 1rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .98); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .55rem .7rem; }
  .language-switcher { margin: .3rem 0 0; padding: .6rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .hero, .hero-inner { min-height: 570px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .section { padding: 4.5rem 0; }
  .section-heading, .split { display: block; }
  .section-heading p { margin-top: 1rem; }
  .split > :first-child { position: static; margin-bottom: 2rem; }
  .grid-3, .grid-2, .stats, .footer-grid { grid-template-columns: 1fr; }
  .stat { padding: 1.2rem 1.5rem; }
  .page-hero { padding: 4.5rem 0 3rem; }
  .content-wrap { padding: 2.5rem 0 4rem; }
  th { width: 36%; }
}
