:root {
  --ink: #111827;
  --paper: #f4f6f9;
  --white: #ffffff;
  --blue: #1847d6;
  --blue-deep: #0b2b83;
  --sky: #dce7ff;
  --line: rgba(17, 24, 39, 0.16);
  --muted: #5d6678;
  --accent: #e85d35;
  --radius: 1.2rem;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 78px;
  display: flex;
  align-items: center;
  background: rgba(244, 246, 249, .93);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(244, 246, 249, .98); }
.nav-wrap { width: min(calc(100% - 48px), var(--max)); margin: auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: .12em; }
.brand-mark { position: relative; width: 31px; height: 31px; background: var(--blue); border-radius: 50%; overflow: hidden; }
.brand-mark::after { content: ""; position: absolute; width: 22px; height: 22px; left: 13px; top: 12px; background: var(--paper); transform: rotate(38deg); }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .84rem; font-weight: 700; letter-spacing: .08em; }
.main-nav a { padding: .35rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); border-color: var(--blue); }
.nav-recruit { padding: .65rem 1rem !important; color: #fff !important; background: var(--ink); border: 0 !important; border-radius: 999px; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 700; }

.page { padding-top: 78px; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.display { margin: 0; font-size: clamp(3.2rem, 8vw, 7.8rem); line-height: .96; letter-spacing: -.065em; font-weight: 760; }
.display-jp { display: block; margin-top: 1.5rem; font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.6; font-weight: 600; letter-spacing: .09em; }
.section-title { margin: .5rem 0 1rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.1; letter-spacing: -.045em; }
.section-lead { max-width: 48rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: end; margin-bottom: 3rem; }

.hero { position: relative; min-height: calc(100svh - 78px); background: #071d59; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { height: 100%; filter: saturate(.9) contrast(1.02); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,16,49,.9) 0%, rgba(4,16,49,.62) 40%, rgba(4,16,49,.1) 72%), linear-gradient(0deg, rgba(4,16,49,.54), transparent 45%); }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-content { position: relative; z-index: 2; min-height: calc(100svh - 78px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-block: 5rem 3rem; }
.hero .eyebrow { color: #9db9ff; }
.hero-copy { max-width: 770px; }
.hero-summary { max-width: 33rem; margin: 2rem 0 0; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 2rem; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.72); font-size: .78rem; letter-spacing: .12em; }
.scroll-cue { display: flex; gap: .7rem; align-items: center; }
.scroll-cue::before { content: ""; width: 48px; height: 1px; background: currentColor; }

.statement { padding: 9rem 0 8rem; background: var(--white); }
.statement-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8vw; }
.statement-copy h2 { margin: 0 0 2rem; font-size: clamp(2rem, 4.5vw, 4.4rem); line-height: 1.25; letter-spacing: -.04em; }
.statement-copy p { margin: 0 0 1rem; color: var(--muted); }
.number-stack { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--line); }
.metric { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.metric:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 2rem; }
.metric:nth-child(even) { padding-left: 2rem; }
.metric strong { display: block; color: var(--blue); font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; }
.metric span { font-size: .8rem; color: var(--muted); }

.business { padding: 8rem 0; }
.business-list { border-top: 1px solid var(--line); }
.business-row { display: grid; grid-template-columns: 80px 1fr 1.1fr 40px; gap: 2rem; align-items: center; padding: 2.3rem 0; border-bottom: 1px solid var(--line); transition: color .2s ease, padding .2s ease; }
.business-row:hover { color: var(--blue); padding-left: .8rem; }
.business-row .num { font-variant-numeric: tabular-nums; color: var(--blue); font-weight: 700; }
.business-row h3 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.4rem); line-height: 1.2; }
.business-row p { margin: 0; color: var(--muted); }
.arrow { font-size: 1.6rem; }

.photo-band { position: relative; min-height: 660px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.photo-band > img { position: absolute; inset: 0; height: 100%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,20,54,.82), transparent 62%); }
.photo-band-content { position: relative; z-index: 2; padding: 4rem 0; }
.photo-band-content h2 { max-width: 700px; margin: .5rem 0 1rem; font-size: clamp(2rem, 5vw, 4.8rem); line-height: 1.15; letter-spacing: -.04em; }
.photo-band-content p { max-width: 38rem; margin: 0; color: rgba(255,255,255,.78); }

.recruit-teaser { padding: 8rem 0; background: var(--blue); color: #fff; }
.recruit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 6vw; align-items: center; }
.recruit-teaser h2 { margin: .5rem 0 2rem; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .98; letter-spacing: -.05em; }
.recruit-teaser p { max-width: 35rem; color: rgba(255,255,255,.8); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1rem; min-height: 54px; margin-top: 1rem; padding: .8rem 1.4rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 700; transition: background .2s, color .2s; }
.button:hover { background: #fff; color: var(--blue); }
.recruit-portrait { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.recruit-portrait img { height: 100%; }

.page-hero { padding: 8rem 0 6rem; background: var(--white); border-bottom: 1px solid var(--line); }
.page-hero .display { color: var(--blue); font-size: clamp(3.6rem, 9vw, 8.5rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr .5fr; gap: 3rem; align-items: end; }
.page-hero p { margin: 0 0 .5rem; color: var(--muted); }
.content-section { padding: 7rem 0; }
.content-section.white { background: var(--white); }
.prose-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; }
.prose-grid h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.2; letter-spacing: -.04em; }
.prose { max-width: 45rem; }
.prose p { margin: 0 0 1.4rem; color: var(--muted); }
.prose .large { color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.7; }

.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value-card { min-height: 330px; padding: 2.4rem; background: var(--paper); }
.value-card .num { color: var(--blue); font-weight: 800; }
.value-card h3 { margin: 4rem 0 1rem; font-size: 1.7rem; line-height: 1.35; }
.value-card p { margin: 0; color: var(--muted); }

.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { padding: 1.3rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.company-table th { width: 30%; color: var(--muted); font-size: .85rem; font-weight: 600; }

.service-cards { display: grid; gap: 1.5rem; }
.service-card { display: grid; grid-template-columns: 120px 1fr; gap: 2rem; padding: 2.5rem; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(24,71,214,.12); }
.service-card .service-num { font-size: 3rem; line-height: 1; color: var(--sky); font-weight: 800; }
.service-card h2 { margin: 0 0 .7rem; font-size: clamp(1.6rem, 3vw, 2.8rem); }
.service-card p { margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag { padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }

.culture-photo { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.5rem; align-items: end; margin-top: 4rem; }
.culture-photo .wide { aspect-ratio: 3/2; border-radius: var(--radius); overflow: hidden; }
.culture-photo .wide img { height: 100%; }
.quote { padding: 2rem; color: #fff; background: var(--blue-deep); border-radius: var(--radius); }
.quote p { margin: 0; font-size: 1.25rem; line-height: 1.7; }
.quote small { display: block; margin-top: 1.5rem; color: rgba(255,255,255,.65); }

.jobs { display: grid; gap: 1rem; margin-top: 3rem; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 1.8rem 2rem; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; }
.job h3 { margin: 0 0 .3rem; font-size: 1.25rem; }
.job p { margin: 0; color: var(--muted); font-size: .9rem; }
.job span { color: var(--blue); font-weight: 800; }

.entry-box { padding: clamp(2rem, 6vw, 5rem); color: #fff; background: var(--ink); border-radius: var(--radius); }
.entry-box h2 { margin: 0 0 1rem; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; }
.entry-box p { max-width: 40rem; color: rgba(255,255,255,.68); }

.site-footer { padding: 5rem 0 2rem; color: #fff; background: #07122d; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.footer-brand { font-size: 1.5rem; font-weight: 800; letter-spacing: .12em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 2rem; }
.footer-nav a { color: rgba(255,255,255,.72); }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.48); font-size: .72rem; }

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

@media (max-width: 860px) {
  .site-header { height: 68px; }
  .page { padding-top: 68px; }
  .nav-wrap, .container { width: min(calc(100% - 32px), var(--max)); }
  .menu-button { display: block; }
  .main-nav { position: fixed; left: 0; right: 0; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 16px 1.4rem; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .9rem 0; }
  .nav-recruit { margin-top: .5rem; text-align: center; }
  .hero, .hero-content { min-height: calc(92svh - 68px); }
  .hero-content { padding-top: 3rem; }
  .hero-media::after { background: linear-gradient(90deg, rgba(4,16,49,.9), rgba(4,16,49,.42)), linear-gradient(0deg, rgba(4,16,49,.74), transparent); }
  .hero-bottom { position: static; width: 100%; margin-top: 4rem; }
  .section-head, .statement-grid, .recruit-grid, .page-hero-grid, .prose-grid, .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .statement, .business, .recruit-teaser, .content-section { padding: 5rem 0; }
  .business-row { grid-template-columns: 50px 1fr 28px; gap: 1rem; }
  .business-row p { grid-column: 2 / 4; }
  .photo-band { min-height: 520px; }
  .recruit-portrait { max-width: 520px; }
  .value-list { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card h3 { margin-top: 2rem; }
  .culture-photo { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .display { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-summary { font-size: .95rem; }
  .hero-bottom { align-items: flex-end; }
  .hero-bottom > span:last-child { display: none; }
  .number-stack { grid-template-columns: 1fr; }
  .metric:nth-child(odd) { border-right: 0; padding-right: 0; }
  .metric:nth-child(even) { padding-left: 0; }
  .business-row { grid-template-columns: 38px 1fr 24px; }
  .service-card { grid-template-columns: 1fr; gap: 1rem; padding: 1.6rem; }
  .service-card .service-num { font-size: 2rem; }
  .job { grid-template-columns: 1fr; gap: .8rem; padding: 1.5rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
