:root {
  --navy: #0b1b33;
  --navy-2: #12284a;
  --ink: #1b2533;
  --muted: #566274;
  --paper: #ffffff;
  --mist: #f4f2ec;
  --line: #e0dcd2;
  --gold: #d0a94f;
  --gold-ink: #80601a;
  --on-navy: #f4f1e8;
  --on-navy-muted: #bcc6d6;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.85 var(--sans); }
html[lang="ja"] body { line-break: strict; word-break: auto-phrase; }
html[lang="en"] body { line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 8px 14px; background: var(--paper); }
.skip:focus { left: 8px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--navy); border-bottom: 1px solid rgb(208 169 79 / .35); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img:first-child { width: 52px; }
.brand img:last-child { width: 132px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--on-navy); }
.nav a { text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--gold); }
.nav .lang { padding: 3px 10px; border: 1px solid rgb(244 241 232 / .4); border-radius: 3px; font-size: 13px; }
.nav .section-link { display: none; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border: 1px solid var(--gold); border-radius: 3px; font-weight: 600; font-size: 15px; line-height: 1.5; text-decoration: none; text-align: center; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #e0bd68; }
.btn-ghost { color: var(--on-navy); }
.btn-ghost:hover { background: rgb(208 169 79 / .16); }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); }
.hero-grid { display: grid; }
.hero-copy { padding: 52px 16px 44px; }
.kicker { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.hero h1 { margin-top: 16px; font: 500 clamp(26px, 8vw, 50px)/1.4 var(--serif); }
html[lang="en"] .hero h1 { line-height: 1.2; }
.hero-lead { margin-top: 20px; max-width: 34em; color: var(--on-navy-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-photo { position: relative; min-height: 280px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

/* Sections */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.eyebrow { color: var(--gold-ink); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.section h2 { margin-top: 8px; font: 500 clamp(25px, 5.4vw, 35px)/1.45 var(--serif); }
html[lang="en"] .section h2 { line-height: 1.25; }
.section-lead { margin-top: 14px; max-width: 44em; color: var(--muted); }

/* Challenges */
.challenges { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.challenges li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.challenges h3 { font-size: 18px; line-height: 1.55; }
.challenges p { margin-top: 6px; color: var(--muted); }

/* Functions */
.split { display: grid; gap: 34px; }
.split-photo img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 3px; }
.split-photo.portrait img { height: auto; max-height: none; }
.functions { display: grid; gap: 22px; margin-top: 28px; counter-reset: fn; }
.functions li { display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; counter-increment: fn; }
.functions li::before { content: counter(fn); grid-row: span 2; width: 34px; height: 34px; border: 1px solid var(--gold-ink); border-radius: 50%; color: var(--gold-ink); font: 500 16px/32px var(--serif); text-align: center; }
.functions h3 { font-size: 17px; line-height: 2; }
.functions p { color: var(--muted); }
.note { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--gold); color: var(--muted); font-size: 14px; }

/* Service path */
.path { display: grid; gap: 14px; margin-top: 32px; }
.stage { padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 3px; }
.stage-label { color: var(--gold-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.stage h3 { margin-top: 2px; font: 500 21px/1.5 var(--serif); }
.stage > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.stage details { margin-top: 14px; border-top: 1px solid var(--line); }
.stage summary { padding: 12px 0; font-size: 15px; font-weight: 600; line-height: 1.5; word-break: normal; cursor: pointer; }
.stage summary small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.stage details ul { padding: 0 0 12px 18px; list-style: disc; color: var(--muted); font-size: 14px; line-height: 1.75; }
.stage details li + li { margin-top: 3px; }

/* Scope */
.scope { display: grid; gap: 30px; margin-top: 30px; }
.scope h3 { padding-bottom: 8px; border-bottom: 2px solid var(--gold); font-size: 18px; }
.scope-no h3 { border-color: var(--muted); }
.scope li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); }
.scope li::before { position: absolute; left: 2px; top: 12px; color: var(--gold-ink); font-weight: 700; content: "✓"; }
.scope-no li::before { color: var(--muted); content: "–"; }

/* About */
.about-name { margin-top: 20px; font: 500 21px/1.5 var(--serif); }
.about-name small { display: block; color: var(--muted); font: 400 14px/1.6 var(--sans); }
.about-text { margin-top: 12px; color: var(--muted); }
.strengths { margin-top: 18px; }
.strengths li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.strengths strong { display: block; color: var(--ink); }
.company { width: 100%; margin-top: 38px; border-collapse: collapse; font-size: 15px; }
.company th, .company td { padding: 11px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.company th { width: 7.5em; color: var(--muted); font-weight: 500; }

/* Contact */
.contact { background: var(--navy-2); color: var(--on-navy); }
.contact .eyebrow { color: var(--gold); }
.contact .section-lead { color: var(--on-navy-muted); }
.contact-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.contact-points li { padding: 3px 14px; border: 1px solid rgb(244 241 232 / .35); border-radius: 3px; font-size: 14px; }
.placeholder { margin-top: 26px; padding: 16px 18px; border: 1px dashed var(--gold); border-radius: 3px; color: var(--gold); font-size: 15px; }

/* Footer */
.site-foot { padding: 44px 0 30px; background: var(--navy); color: var(--on-navy-muted); font-size: 13px; line-height: 1.75; }
.site-foot img { width: 170px; }
.disclaimer { margin-top: 20px; max-width: 62em; }
.disclaimer p + p { margin-top: 7px; }
.foot-links { margin-top: 16px; }
.foot-links a { color: var(--on-navy); }

/* Privacy policy */
.policy { max-width: 760px; }
.policy h1 { margin-top: 8px; font: 500 clamp(27px, 5.8vw, 38px)/1.4 var(--serif); }
.policy-date { margin: 10px 0 24px; color: var(--muted); font-size: 14px; }
.section .policy h2 { margin: 36px 0 10px; font: 600 clamp(18px, 3.6vw, 21px)/1.5 var(--sans); }
.policy ul { padding-left: 1.3em; list-style: disc; }
.policy li + li { margin-top: 6px; }
.policy a { color: var(--gold-ink); text-decoration: underline; }

.copyright { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgb(244 241 232 / .16); }

@media (min-width: 720px) {
  .challenges { grid-template-columns: repeat(3, 1fr); gap: 30px; border-top: 0; }
  .challenges li { padding: 22px 0 0; border-top: 2px solid var(--gold); border-bottom: 0; }
  .path { grid-template-columns: repeat(2, 1fr); }
  .scope { grid-template-columns: repeat(2, 1fr); gap: 44px; }
}

@media (min-width: 960px) {
  body { font-size: 17px; }
  .nav .section-link { display: inline; }
  .section { padding: 92px 0; }
  .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); min-height: 590px; }
  .hero-copy { align-self: center; padding: 72px 48px 72px max(16px, calc((100vw - var(--wrap)) / 2)); }
  .hero-photo { min-height: 0; }
  .hero h1 { font-size: min(4.4vw, 50px); }
  .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: stretch; }
  .split-photo img { max-height: none; }
  .split-photo.portrait { align-self: start; }
  .path { grid-template-columns: repeat(4, 1fr); align-items: start; }
}
