/* ============================================================
   KAKEHASHI 架け橋 — Premium Japanese Food & Sake Export
   Warm, premium, Japanese-modern editorial
   ============================================================ */

:root {
  --bg: #FAF6EF;          /* warm ivory */
  --bg-soft: #F2E9DB;     /* deeper warm ivory */
  --text: #1E1B17;        /* deep charcoal */
  --text-muted: #5E554A;
  --navy: #16263F;        /* deep navy (hero / bands) */
  --navy-2: #1E3552;      /* lighter navy */
  --indigo: #1B3A5B;      /* accent blue */
  --gold: #C2A24A;        /* premium gold */
  --gold-soft: #E7D9B4;
  --red: #C0392B;         /* hinomaru red / CTA */
  --red-dark: #A5301F;
  --line: #E6DBC9;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mincho: "Shippori Mincho", "Noto Sans JP", serif;
  --jp-sans: "Noto Sans JP", sans-serif;

  --maxw: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(22, 38, 63, 0.45);
  --shadow-soft: 0 10px 36px -26px rgba(22, 38, 63, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.lang-ja { font-family: var(--jp-sans); letter-spacing: 0.01em; }
.lang-ja h1, .lang-ja h2, .lang-ja h3, .lang-ja .brand-name { font-family: var(--mincho); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.14; margin: 0; }
.lang-ja h1, .lang-ja h2, .lang-ja h3 { font-weight: 700; line-height: 1.3; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ---------- Section heading (red bar + JP title + EN caption) ---------- */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head.center { text-align: center; }
.sec-title { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
.center .sec-title { justify-content: center; }
.sec-title::before {
  content: ""; width: 5px; height: 1.1em; background: var(--red); border-radius: 3px;
  align-self: center; flex: 0 0 auto;
}
.center .sec-title::before { display: none; }
.sec-title em {
  font-style: normal; font-family: var(--sans); font-weight: 600;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
}
.sec-lead { color: var(--text-muted); margin: 0.9rem 0 0; max-width: 640px; }
.center .sec-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  padding: 0.9rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.lang-ja .btn { font-family: var(--jp-sans); }
.btn:hover { transform: translateY(-2px); }
.btn-cta { background: var(--red); color: #fff; box-shadow: 0 12px 30px -12px rgba(192,57,43,.65); }
.btn-cta:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-block { width: 100%; padding: 1.05rem; }

/* ---------- Brand mark (rising sun over water) ---------- */
.logo-mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--mincho); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.12em; color: var(--text); }
.brand-name .kanji { color: var(--red); margin-left: 0.35em; font-size: 0.86em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.1em; color: var(--text-muted); font-family: var(--jp-sans); }
.lang-en .brand-sub { font-family: var(--sans); font-style: italic; letter-spacing: 0.02em; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 0.5rem 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(250,246,239,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 64px; }

/* header on transparent hero (top) = light text */
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .brand-sub { color: rgba(255,255,255,.8); }
.site-header:not(.scrolled) .nav-list a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .logo-mark .wave { stroke: rgba(255,255,255,.85); }

.nav-list { display: flex; gap: 1.7rem; }
.nav-list a { position: relative; font-size: 0.9rem; font-weight: 500; color: var(--text); padding: 0.3rem 0; }
.lang-ja .nav-list a { font-family: var(--jp-sans); }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease); }
.nav-list a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--text);
  padding: 0.45rem 0.9rem; border: 1.5px solid var(--line); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.lang-switch::before { content: "🌐"; font-size: 0.85em; }
.lang-switch:hover { background: var(--bg-soft); border-color: var(--gold); }
.site-header:not(.scrolled) .lang-switch { color: #fff; border-color: rgba(255,255,255,.5); }
.site-header:not(.scrolled) .lang-switch:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); display: block; transition: .3s var(--ease); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { background: var(--bg); border-top: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.2rem; }
.mobile-menu a { display: block; padding: 0.85rem 0.25rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.lang-ja .mobile-menu a { font-family: var(--jp-sans); }
.mobile-menu .btn { margin-top: 0.75rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 92svh; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.42; transform: scale(1.05); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,21,36,.78), rgba(13,21,36,.55) 45%, rgba(13,21,36,.85)),
    radial-gradient(120% 90% at 12% 40%, rgba(27,58,91,.5), transparent 60%);
}
/* hinomaru rising-sun decoration */
.hero-sun {
  position: absolute; top: 16%; right: 8%; width: clamp(120px, 18vw, 240px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0%, #b8392c 70%, rgba(192,57,43,0) 72%);
  opacity: 0.85; filter: blur(0.3px);
}
.hero-content { position: relative; color: #fff; max-width: 760px; padding: 6rem 0 4rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.lang-ja .hero-badge { font-family: var(--jp-sans); letter-spacing: 0.08em; text-transform: none; }
.hero-badge .tag { background: var(--red); color: #fff; padding: 0.32rem 0.8rem; border-radius: 999px; }
.hero-badge .who { color: var(--gold-soft); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); letter-spacing: 0.3px; }
.lang-ja .hero h1 { line-height: 1.28; }
.hero h1 .accent { color: var(--gold); }
.hero h1 .accent-red { color: #ff7a66; }
.hero-sub { margin: 1.4rem 0 2rem; font-size: clamp(1rem, 1.9vw, 1.2rem); max-width: 600px; color: rgba(255,255,255,.9); font-weight: 300; }
.lang-ja .hero-sub { font-weight: 400; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: 0.82rem; font-weight: 500; padding: 0.45rem 0.95rem; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.lang-ja .hero-pill { font-family: var(--jp-sans); }
.hero-pill::before { content: "✓"; color: var(--gold); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-cue span { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrollDot 1.6s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* hero routes mini (EN) */
.hero-routes { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; font-size: 0.86rem; color: rgba(255,255,255,.85); }
.hero-routes .from { font-family: var(--serif); font-size: 1.2rem; color: #fff; letter-spacing: 1px; }
.hero-routes .arrow { color: var(--gold); }
.hero-routes .to { display: inline-flex; gap: 0.5rem; flex-wrap: wrap; }
.hero-routes .to span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); padding: 0.25rem 0.7rem; border-radius: 999px; }

/* ============================================================
   CHALLENGES (JP) / cards with icon + text
   ============================================================ */
.challenges { background: var(--bg); }
.challenge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.5rem); }
.challenge-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.4rem; text-align: center; box-shadow: var(--shadow-soft);
}
.challenge-icon {
  width: 62px; height: 62px; margin: 0 auto 1.1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem;
  background: var(--bg-soft); color: var(--navy);
}
.challenge-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.lang-ja .challenge-card p { font-family: var(--jp-sans); }

/* ============================================================
   OUR ROLE — bridge flow
   ============================================================ */
.role { background: var(--navy); color: #fff; }
.role .sec-title { color: #fff; }
.role .sec-title em { color: var(--gold); }
.role-flow {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; margin-top: 1rem;
}
.role-node {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center;
}
.role-node .role-ico { font-size: 2.2rem; margin-bottom: 0.6rem; }
.role-node h3 { font-size: 1.25rem; color: #fff; }
.role-node p { margin: 0.3rem 0 0; color: rgba(255,255,255,.7); font-size: 0.85rem; }
.lang-ja .role-node p, .lang-ja .role-node h3 { font-family: var(--mincho); }
.role-node.maker { border-color: rgba(255,255,255,.25); }
.role-node.buyer { border-color: var(--gold); background: rgba(194,162,74,.12); }
.role-mid { text-align: center; }
.role-mid .role-label { display: inline-block; background: var(--red); color: #fff; font-weight: 600; font-size: 0.82rem; padding: 0.4rem 1rem; border-radius: 999px; margin-bottom: 0.9rem; }
.lang-ja .role-mid .role-label { font-family: var(--jp-sans); }
.role-arrow { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold)); position: relative; margin: 0 0.4rem; }
.role-arrow::after { content: ""; position: absolute; right: -1px; top: 50%; transform: translateY(-50%); border-left: 9px solid var(--gold); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.role-tasks { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 0.9rem; }
.role-tasks span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.92); font-size: 0.78rem; padding: 0.3rem 0.75rem; border-radius: 999px; }
.lang-ja .role-tasks span { font-family: var(--jp-sans); }

/* ============================================================
   EDGE / WHY US — numbered cards (gold)
   ============================================================ */
.edge { background: var(--bg); }
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.6vw, 2rem); }
.edge-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-soft); position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.edge-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.edge-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem;
}
.edge-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.edge-card p { color: var(--text-muted); margin: 0; font-size: 0.94rem; }
.lang-ja .edge-card p, .lang-ja .edge-card h3 { font-family: var(--jp-sans); }
.lang-ja .edge-card h3 { font-family: var(--mincho); }

/* ============================================================
   FEATURE GRID (Opportunity / What we handle) icon + title + text
   ============================================================ */
.features { background: var(--bg-soft); }
.feature-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.7rem); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease);
}
.feature-card:hover { transform: translateY(-5px); }
.feature-ico {
  width: 54px; height: 54px; border-radius: 14px; background: var(--bg-soft); color: var(--red);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.feature-card p { color: var(--text-muted); margin: 0; font-size: 0.93rem; }

/* ============================================================
   SCOPE & FEE / PRODUCT LINEUP & TERMS
   ============================================================ */
.scope { background: var(--bg); }
.scope-grid { display: grid; grid-template-columns: 1.25fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.scope-products {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-soft);
}
.scope-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.scope-item { text-align: center; }
.scope-thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 0.8rem; box-shadow: var(--shadow-soft); }
.scope-thumb img { width: 100%; height: 100%; object-fit: cover; }
.scope-item h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.scope-item p { margin: 0; color: var(--text-muted); font-size: 0.82rem; }
.lang-ja .scope-item h3 { font-family: var(--mincho); }
.lang-ja .scope-item p { font-family: var(--jp-sans); }
.scope-criteria { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); font-size: 0.84rem; color: var(--text-muted); text-align: center; }
.lang-ja .scope-criteria { font-family: var(--jp-sans); }

.fee-card {
  background: linear-gradient(160deg, #fff, #fdf6ee);
  border: 1.5px solid var(--gold-soft); border-left: 5px solid var(--red);
  border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; justify-content: center;
}
.fee-head { font-family: var(--serif); font-weight: 700; color: var(--red); margin-bottom: 1.1rem; line-height: 1.1; }
.lang-ja .fee-head { font-family: var(--mincho); }
.fee-head .big { font-size: clamp(2.2rem, 5vw, 3rem); }
.fee-head .small { font-size: 0.9rem; color: var(--text-muted); margin-left: 0.4rem; }
.fee-title { display: block; font-family: var(--sans); font-size: 0.95rem; color: var(--text); font-weight: 600; margin-bottom: 0.5rem; }
.lang-ja .fee-title { font-family: var(--jp-sans); }
.fee-list { display: grid; gap: 0.6rem; }
.fee-list li { position: relative; padding-left: 1.7rem; font-size: 0.92rem; color: var(--text); }
.lang-ja .fee-list li { font-family: var(--jp-sans); }
.fee-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ============================================================
   HOW IT WORKS — steps
   ============================================================ */
.how { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 3vw, 2rem); }
.step { position: relative; text-align: center; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 0.9rem; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.lang-ja .step h3 { font-family: var(--mincho); }
.lang-ja .step p { font-family: var(--jp-sans); }
.step::after { content: "›"; position: absolute; top: 0.9rem; right: -0.7rem; color: var(--gold); font-size: 1.6rem; font-family: var(--serif); }
.steps .step:last-child::after { display: none; }
.step.fee-step .step-num { background: var(--red); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(192,57,43,.55), transparent 70%); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; position: relative; padding: clamp(2.5rem, 5vw, 3.6rem) 0; }
.cta-inner h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: #fff; }
.cta-inner h2 .accent { color: var(--gold); }
.cta-inner .btn { white-space: nowrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-intro h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 1rem; }
.contact-intro p { color: var(--text-muted); }
.lang-ja .contact-intro p { font-family: var(--jp-sans); }
.contact-meta { margin-top: 1.6rem; font-size: 0.95rem; line-height: 2; }
.contact-meta a { color: var(--indigo); border-bottom: 1.5px solid var(--red); padding-bottom: 1px; }
.contact-person { font-weight: 600; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.lang-ja .field label { font-family: var(--jp-sans); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 0.8rem 0.9rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,162,74,.18); }
.field textarea { resize: vertical; }
.form-status { margin: 0.9rem 0 0; font-size: 0.92rem; text-align: center; min-height: 1.2em; }
.form-status.ok { color: var(--indigo); }
.form-status.err { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--text); color: rgba(255,255,255,.8); padding: 3.4rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.6); }
.footer-tag { margin: 0.8rem 0 0; font-size: 0.92rem; color: rgba(255,255,255,.62); font-weight: 300; max-width: 320px; }
.lang-ja .footer-tag { font-family: var(--mincho); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 0.6rem; text-align: right; }
.footer-contact a { color: #fff; }
.footer-contact a.footer-lang { color: rgba(255,255,255,.85); border-bottom: 1px solid var(--gold); padding-bottom: 2px; font-size: 0.9rem; }
.footer-contact a.footer-mail { border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
.footer-note { font-size: 0.84rem; color: rgba(255,255,255,.55); }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.84rem; color: rgba(255,255,255,.5); }
.footer-bottom p { margin: 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MULTI-PAGE SITE — nav active state
   ============================================================ */
.nav-list a[aria-current="page"] { color: var(--red); }
.nav-list a[aria-current="page"]::after { width: 100%; }
.site-header:not(.scrolled) .nav-list a[aria-current="page"] { color: #fff; }
.mobile-menu a[aria-current="page"] { color: var(--red); font-weight: 700; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 85% 20%, rgba(27,58,91,.55), transparent 60%);
}
.page-hero .hero-sun { top: -10%; right: 4%; opacity: 0.7; }
.page-hero .container { position: relative; padding-top: clamp(7rem, 12vw, 9.5rem); padding-bottom: clamp(2.6rem, 5vw, 4rem); }
.crumbs { font-size: 0.78rem; letter-spacing: 0.04em; color: rgba(255,255,255,.6); margin-bottom: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.82); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: rgba(255,255,255,.4); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lang-ja .page-hero h1 { line-height: 1.3; }
.page-hero h1 em { font-style: normal; font-family: var(--sans); display: block; font-size: 0.32em; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 0.6rem; }
.page-hero .lead { margin: 1rem 0 0; max-width: 620px; color: rgba(255,255,255,.88); font-weight: 300; }
.lang-ja .page-hero .lead { font-weight: 400; }

/* ============================================================
   HOMEPAGE — intro + nav cards + split sections
   ============================================================ */
.home-intro { background: var(--bg); }
.home-intro-inner { max-width: 760px; }
.home-intro .eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.home-intro h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); margin: 0.8rem 0 1rem; }
.home-intro p { color: var(--text-muted); margin: 0; }

.home-cards { background: var(--bg-soft); }
.home-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.1rem, 2.4vw, 1.7rem); }
.home-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.home-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.home-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.home-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.home-card:hover .home-card-img img { transform: scale(1.06); }
.home-card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.home-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.lang-ja .home-card h3 { font-family: var(--mincho); }
.home-card p { color: var(--text-muted); font-size: 0.93rem; margin: 0 0 1.1rem; flex: 1; }
.lang-ja .home-card p { font-family: var(--jp-sans); }
.more-link { font-weight: 600; font-size: 0.9rem; color: var(--red); display: inline-flex; align-items: center; gap: 0.4rem; }
.lang-ja .more-link { font-family: var(--jp-sans); }
.more-link::after { content: "→"; transition: transform .25s var(--ease); }
.home-card:hover .more-link::after { transform: translateX(4px); }

.home-split-sec { background: var(--bg); }
.home-split-sec.alt { background: var(--bg-soft); }
.home-split { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.home-split.reverse .home-split-media { order: 2; }
.home-split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.home-split-media img { width: 100%; height: 100%; object-fit: cover; }
.home-split-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.home-split-body .eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.home-split-body h2 { margin-top: 0.7rem; }
.home-split-body p { color: var(--text-muted); margin: 0 0 1.2rem; }
.lang-ja .home-split-body p { font-family: var(--jp-sans); }
.home-split-list { display: grid; gap: 0.6rem; margin-bottom: 1.4rem; }
.home-split-list li { position: relative; padding-left: 1.7rem; color: var(--text); font-size: 0.95rem; }
.lang-ja .home-split-list li { font-family: var(--jp-sans); }
.home-split-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* stat band */
.stats { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); text-align: center; }
.stat .num { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat .label { margin-top: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,.82); }
.lang-ja .stat .label { font-family: var(--jp-sans); }

/* generic prose for inner pages */
.prose { max-width: 760px; }
.prose p { color: var(--text-muted); margin: 0 0 1.2rem; }
.lang-ja .prose p { font-family: var(--jp-sans); }
.prose h3 { font-size: 1.4rem; margin: 2rem 0 0.7rem; }
.lang-ja .prose h3 { font-family: var(--mincho); }

/* market list rows */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.6vw, 1.8rem); }
.market-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.market-card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.market-card-img img { width: 100%; height: 100%; object-fit: cover; }
.market-card-body { padding: 1.4rem 1.4rem 1.6rem; }
.market-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.lang-ja .market-card h3 { font-family: var(--mincho); }
.market-card h3 .en { font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-left: 0.5rem; }
.market-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }
.lang-ja .market-card p { font-family: var(--jp-sans); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .home-card-grid, .market-grid { grid-template-columns: 1fr; }
  .home-split { grid-template-columns: 1fr; }
  .home-split.reverse .home-split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .edge-grid, .feature-grid.cols-3 { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:nth-child(2)::after { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .scope-grid, .contact-grid, .role-flow { grid-template-columns: 1fr; }
  .role-arrow { display: none; }
  .role-mid { padding: 0.5rem 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .challenge-grid, .steps, .scope-items, .field-row, .feature-grid.cols-4, .stats-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .hero-actions .btn { flex: 1; }
  .footer-contact { align-items: flex-start; text-align: left; }
}
