:root {
  --brand: #2B5BE8;
  --brand-dark: #1E46C4;
  --brand-soft: #EEF3FF;
  --brand-ink: #0B2A8A;
  --navy: #0E1A36;
  --navy-2: #1A2A4F;
  --accent-yellow: #FFE24A;

  --ink-900: #0E1A36;
  --ink-800: #15254F;
  --ink-700: #2B3A5E;
  --ink-600: #4B5A7A;
  --ink-500: #6B7894;
  --ink-400: #9AA4BD;

  --line: #E4E9F4;
  --line-strong: #C8D1E6;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FA;
  --bg-band: #EEF1F7;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

[data-theme="red"]   { --brand: #C8102E; --brand-dark: #9E0C24; --brand-soft: #FCEBEE; --brand-ink: #6E0716; }
[data-theme="navy"]  { --brand: #0F2E6B; --brand-dark: #08204F; --brand-soft: #E7ECF7; --brand-ink: #061B47; }
[data-theme="blue"]  { --brand: #2B5BE8; --brand-dark: #1E46C4; --brand-soft: #EEF3FF; --brand-ink: #0B2A8A; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink-900);
  background: var(--bg);
  font-feature-settings: "palt";
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
.num, .en { font-family: "Inter", "Noto Sans JP", sans-serif; font-feature-settings: "tnum"; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Top strip */
.top-strip { background: var(--navy); color: #fff; font-size: 12px; letter-spacing: 0.04em; }
.top-strip .wrap { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.top-strip a { color: #fff; opacity: 0.8; text-decoration: none; margin-left: 18px; white-space: nowrap; }
.top-strip a:hover { opacity: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-gaina { height: 46px; width: auto; display: block; }
.logo-njd { height: 38px; width: auto; display: block; }
.logo-div { width: 1px; height: 34px; background: var(--line); display: block; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--navy); display: grid; place-items: center; color: #fff;
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 16px;
}
.logo-text { font-size: 16px; color: var(--ink-900); font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.logo-sub { font-size: 11px; color: var(--brand); font-weight: 700; letter-spacing: 0.1em; white-space: nowrap; }
nav.site-nav { display: flex; gap: 22px; align-items: center; font-size: 13px; font-weight: 600; }
nav.site-nav a { color: var(--ink-800); text-decoration: none; transition: color .2s; white-space: nowrap; }
nav.site-nav a:hover { color: var(--brand); }
.header-cta { display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  text-decoration: none; transition: all .2s; cursor: pointer; border: 0;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(43,91,232,0.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-outline-ink { background: #fff; color: var(--ink-800); border: 1.5px solid var(--line-strong); }
.btn-outline-ink:hover { border-color: var(--ink-800); }
.btn-lg { padding: 18px 34px; font-size: 15px; }
.btn-xl { padding: 22px 44px; font-size: 16px; }
.btn-arrow::after { content: "→"; font-family: "Inter", sans-serif; transition: transform .2s; }
.btn:hover .btn-arrow::after { transform: translateX(4px); }

section { padding: 110px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em;
  color: var(--brand); text-transform: uppercase;
  margin-bottom: 18px;
}
h2.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800; letter-spacing: 0.02em; line-height: 1.45;
  margin: 0 0 20px; color: var(--ink-900);
}
h2.section-title .brand { color: var(--brand); }
h2.section-title .hl { background: linear-gradient(transparent 60%, rgba(255,226,74,0.6) 60%); padding: 0 4px; }
.section-lead { font-size: 15px; color: var(--ink-600); max-width: 720px; margin: 0 auto; }

.ph {
  position: relative;
  background: repeating-linear-gradient(135deg, rgba(14,26,54,0.06) 0 8px, rgba(14,26,54,0.02) 8px 16px);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--ink-500);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px; letter-spacing: 0.08em; overflow: hidden;
}
.ph-label { background: #fff; padding: 6px 12px; border: 1px solid var(--line); border-radius: 4px; text-transform: uppercase; }

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F6FA 100%);
  padding: 80px 0 80px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(600px 400px at 70% 30%, rgba(43,91,232,0.06), transparent 70%);
  pointer-events: none;
}
.hero-split .hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--brand); border-radius: 50%; }
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; letter-spacing: 0.02em; line-height: 1.25;
  margin: 0 0 24px; color: var(--ink-900); text-wrap: pretty;
}
.hero h1 .brand { color: var(--brand); }
.hero h1 .quote {
  display: inline-block; padding: 0 4px;
  position: relative;
}
.hero h1 .quote::before, .hero h1 .quote::after {
  content: "「"; font-weight: 600;
}
.hero h1 .quote::after { content: "」"; }
.hero h1 .hero-line1 { white-space: nowrap; }
.hero .hero-sub {
  font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; color: var(--ink-800);
  margin: 0 0 20px;
}
.hero .hero-lead {
  font-size: 15px; color: var(--ink-600); max-width: 540px; margin: 0 0 36px; line-height: 1.9;
}
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-badges {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line);
}
.hero-result-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 12px; text-align: center;
}
.hero-result-card .hr-num {
  font-family: "Inter", sans-serif; font-weight: 800;
  font-size: clamp(36px, 4vw, 48px); color: var(--brand);
  line-height: 1; letter-spacing: -0.02em;
}
.hero-result-card .hr-num .unit { font-size: 13px; font-weight: 700; color: var(--ink-500); margin-left: 3px; }
.hero-result-card .hr-label { font-size: 12px; color: var(--ink-700); margin-top: 10px; font-weight: 700; }
.achv-badge {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.achv-badge .ab-num {
  font-family: "Inter", sans-serif; font-weight: 800; font-size: 24px;
  color: var(--brand); line-height: 1;
}
.achv-badge .ab-num .unit { font-size: 12px; font-weight: 700; color: var(--ink-500); margin-left: 2px; }
.achv-badge .ab-label { font-size: 12px; color: var(--ink-700); font-weight: 600; line-height: 1.4; }
.hero-visual-wrap { position: relative; align-self: stretch; display: flex; }
.hero-visual { width: 100%; height: 100%; min-height: 480px; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(14,26,54,0.18); object-fit: cover; display: block; }
.hero-float-card {
  position: absolute; background: #fff;
  border-radius: var(--radius); padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(14,26,54,0.15);
  display: flex; align-items: center; gap: 12px; font-size: 12px;
}
.hero-float-card .fc-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800;
}
.hero-float-card .fc-t { font-weight: 700; color: var(--ink-900); font-size: 13px; }
.hero-float-card .fc-s { color: var(--ink-500); font-size: 11px; }
.hero-fc-1 { top: 24px; right: -24px; }
.hero-fc-2 { bottom: 24px; left: -28px; }

/* HERO FULL */
.hero-full { padding: 0; background: var(--navy); }
.hero-full-bg { position: relative; height: 86vh; min-height: 640px; max-height: 800px; overflow: hidden; }
.hero-full-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,54,0.45) 0%, rgba(14,26,54,0.85) 100%); }
.hero-full-inner { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 88px; }
.hero-full h1 { color: #fff; max-width: 880px; }
.hero-full .hero-sub { color: #fff; }
.hero-full .hero-lead { color: rgba(255,255,255,0.85); max-width: 620px; }
.hero-full .hero-badge { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); }
.hero-full .hero-result-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); }
.hero-full .hero-result-card .hr-num { color: #fff; }
.hero-full .hero-result-card .hr-label { color: rgba(255,255,255,0.85); }
.hero-full .hero-badges { border-top-color: rgba(255,255,255,0.15); }

/* HERO STAT */
.hero-stat .hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-stat .stat-panel { padding: 0; }
.hero-stat .stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stat .stat-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 16px 26px; text-align: center;
}
.hero-stat .stat-ico { display: flex; justify-content: center; margin-bottom: 10px; }
.hero-stat .stat-ico svg { width: 40px; height: 40px; }
.hero-stat .stat-num {
  font-family: "Inter", sans-serif; font-weight: 800;
  font-size: clamp(40px, 4.5vw, 56px); color: var(--brand);
  line-height: 1; letter-spacing: -0.02em;
}
.hero-stat .stat-num .unit { font-size: 14px; font-weight: 700; color: var(--ink-600); margin-left: 4px; }
.hero-stat .stat-label { font-size: 13px; color: var(--ink-700); margin-top: 12px; font-weight: 700; }
.hero-stat .stat-note { margin-top: 14px; font-size: 11px; color: rgba(255,255,255,0.7); text-align: right; letter-spacing: 0.04em; }

/* HERO MAP */
.hero-map .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-map .map-box { aspect-ratio: 1/1; position: relative; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(14,26,54,0.12); border: 1px solid var(--line); overflow: hidden; }
.hero-map .map-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 36px 36px; opacity: 0.7; }
.hero-map .map-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--brand); transform: translate(-50%, -50%); }
.hero-map .map-pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0.4; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.7; } 100% { transform: scale(2.2); opacity: 0; } }
.hero-map .map-label { position: absolute; transform: translate(14px, -50%); font-size: 11px; color: var(--ink-900); background: #fff; padding: 3px 8px; border: 1px solid var(--line); border-radius: 4px; font-weight: 700; box-shadow: 0 4px 10px rgba(14,26,54,0.08); }

/* ISSUES */
.issues-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.issue-card {
  padding: 28px 24px; border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: #fff;
  transition: all .2s;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.issue-card .issue-head { display: flex; align-items: center; gap: 12px; }
.issue-card .issue-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--brand-soft); border-radius: 12px; flex-shrink: 0; }

.issue-card .issue-no {
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700;
  color: var(--brand-dark); letter-spacing: 0.18em;
  white-space: nowrap;
}
.issue-card .issue-text { font-size: 15px; font-weight: 700; color: var(--ink-900); margin: 0; line-height: 1.6; }
.issue-closer {
  margin-top: 56px; text-align: center;
  padding: 36px;
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg);
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 800;
  line-height: 1.6;
}
.issue-closer .brand { color: var(--brand); background: var(--accent-yellow); padding: 0 8px; border-radius: 2px; color: var(--navy); }

/* SOLUTION */
.solution-section { background: var(--bg-soft); }
.flow-bar {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0;
  margin-bottom: 56px; overflow: hidden;
}
.flow-bar-step {
  position: relative;
  padding: 28px 16px; text-align: center;
  border-right: 1px solid var(--line);
}
.flow-bar-step:last-child { border-right: 0; }
.flow-bar-step .fb-num { font-family: "Inter", sans-serif; font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: 0.16em; margin-bottom: 8px; }
.flow-bar-step .fb-label { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.flow-bar-step:not(:last-child)::after {
  content: "▶"; position: absolute;
  right: -8px; top: 50%; transform: translateY(-50%);
  color: var(--brand); font-size: 12px;
  padding: 2px 0;
  z-index: 2;
}
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  text-align: center;
}
.benefit-card .b-ico {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.benefit-card h3 { font-size: 18px; font-weight: 800; color: var(--ink-900); margin: 0 0 10px; }
.benefit-card p { font-size: 13px; color: var(--ink-600); margin: 0; }

/* STRENGTHS — 3 reasons */
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strength-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  display: flex; flex-direction: column;
  transition: all .2s;
}

.strength-num-big {
  font-family: "Inter", sans-serif; font-size: 80px; font-weight: 800;
  color: var(--brand-soft); line-height: 0.8; margin-bottom: -16px;
}
.strength-reason {
  font-size: 11px; font-weight: 700; color: var(--brand);
  letter-spacing: 0.2em; margin-bottom: 8px;
}
.strength-title {
  font-size: 22px; font-weight: 800; color: var(--ink-900);
  margin: 0 0 16px; line-height: 1.4;
}
.strength-visual { aspect-ratio: 16/10; margin-bottom: 16px; border-radius: var(--radius); width: 100%; object-fit: cover; display: block; }
.strength-visual-cad { background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 8px; }
.strength-body { font-size: 14px; color: var(--ink-600); margin: 0 0 16px; flex: 1; line-height: 1.8; }
.strength-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.strength-list li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-600); line-height: 1.8; }
.strength-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.strength-result {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft);
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; color: var(--navy);
}
.strength-result::before { content: "→"; color: var(--brand); font-weight: 800; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .2s;
}

.service-card .s-ico {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.service-card .s-num {
  font-family: "Inter", sans-serif; font-size: 10px; font-weight: 700;
  color: var(--brand); letter-spacing: 0.18em;
}
.service-card .s-name { font-size: 16px; font-weight: 800; color: var(--ink-900); margin: 0; line-height: 1.4; }
.service-card .s-desc { font-size: 12px; color: var(--ink-600); margin: 0; line-height: 1.65; }
/* 10枚目構成: 最終行の S09・S10 を中央寄せ (4カラム時) */
@media (min-width: 1025px) {
  .services-grid > .service-card:nth-child(9) { grid-column: 2 / 3; }
  .services-grid > .service-card:nth-child(10) { grid-column: 3 / 4; }
}

/* O&M */
.om-section {
  background: var(--navy); color: #fff;
  position: relative; overflow: hidden;
}
.om-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% 30%, rgba(43,91,232,0.18), transparent 65%);
  pointer-events: none;
}
.om-section .wrap { position: relative; }
.om-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.om-section .eyebrow { color: var(--accent-yellow); }
.om-section h2 { color: #fff; text-align: left; margin: 0 0 24px; }
.om-section h2 .brand { color: var(--accent-yellow); }
.om-section .om-lead { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 15px; line-height: 1.9; }
.om-merits { display: grid; gap: 12px; margin-bottom: 32px; }
.om-merit {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  font-size: 15px; font-weight: 700;
}
.om-merit::before {
  content: "→"; color: var(--accent-yellow); font-weight: 800; font-size: 16px;
}
.om-supplement { font-size: 13px; color: rgba(255,255,255,0.6); }
.om-visual { aspect-ratio: 16/9; width: 100%; border-radius: var(--radius-lg); object-fit: cover; display: block; }
.om-visual.ph { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); }
.om-visual.ph .ph-label { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); }

/* RESULTS / NUMBERS */
.results-section { background: var(--bg-soft); }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 880px; margin: 0 auto; }
.result-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 32px 40px; text-align: center;
}
.result-ico { display: flex; justify-content: center; margin-bottom: 18px; }
.result-ico svg { width: 56px; height: 56px; }
.result-num {
  font-family: "Inter", sans-serif; font-weight: 800;
  font-size: clamp(56px, 7vw, 84px); color: var(--brand);
  line-height: 1; letter-spacing: -0.02em;
}
.result-num .unit { font-size: 18px; font-weight: 700; color: var(--ink-600); margin-left: 4px; }
.result-label { font-size: 14px; color: var(--ink-700); margin-top: 14px; font-weight: 700; }
.results-logos {
  margin-top: 56px; padding: 32px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.results-logos-head { text-align: center; margin-bottom: 24px; font-size: 13px; font-weight: 700; color: var(--ink-700); letter-spacing: 0.04em; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.logos-prep {
  text-align: center; padding: 48px 24px;
  background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-600); font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
}
.logo-cell {
  aspect-ratio: 2/1; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-family: "Inter", sans-serif; font-size: 11px; color: var(--ink-400);
  letter-spacing: 0.08em;
}

/* IMAGES */
.images-section { background: var(--bg-soft); }
.images-stack { display: flex; flex-direction: column; gap: 28px; max-width: 920px; margin: 0 auto; }
.image-figure { margin: 0; }
.image-figure-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(15,23,42,0.10);
}
/* 動画は寸法(16:9)を先に確保し、読込前のレイアウトシフト/空白を防止 */
.image-figure video.image-figure-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy);
}
@media (max-width: 768px) {
  .images-stack { gap: 18px; }
}

/* STORY */
.story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.story-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); display: block; }
.story-quote {
  font-family: "Noto Serif JP", "Noto Sans JP", serif;
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 700;
  line-height: 1.5; color: var(--ink-900);
  margin: 0 0 24px;
}
.story-quote .brand { color: var(--brand); }
.story-body { font-size: 15px; color: var(--ink-700); margin: 0 0 24px; line-height: 1.95; }
.story-flow { display: flex; gap: 12px; margin-top: 32px; }
.story-step {
  flex: 1; padding: 14px 12px; text-align: center;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; color: var(--ink-900);
}
.story-closer {
  font-size: 18px; font-weight: 800; color: var(--brand);
  padding-top: 24px; border-top: 1px solid var(--line);
}

/* SAFETY */
.safety-section { background: var(--bg-soft); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safety-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center;
}
.safety-card .sc-ico {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 16px;
}
.safety-card h3 { font-size: 16px; font-weight: 800; color: var(--ink-900); margin: 0 0 6px; line-height: 1.5; }
.safety-card p { font-size: 12px; color: var(--ink-600); margin: 0; line-height: 1.7; }

/* FINAL CTA */
.final-cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  text-align: center;
}
.final-cta-section h2 { color: #fff; }
.final-cta-section .eyebrow { color: var(--accent-yellow); }
.final-cta-section p { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 0 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* CONTACT FORM */
.contact-form-section { padding: 110px 0; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info h2 { text-align: left; margin: 0 0 18px; }
.contact-info p { font-size: 15px; color: var(--ink-600); margin: 0 0 32px; line-height: 1.9; }
.contact-info-list { display: grid; gap: 14px; }
.contact-info-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; background: var(--bg-soft);
  border-radius: var(--radius);
}
.contact-info-item .ci-ico {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; flex-shrink: 0; font-weight: 800;
}
.contact-info-item .ci-t { font-weight: 700; color: var(--ink-900); font-size: 14px; }
.contact-info-item .ci-s { font-size: 12px; color: var(--ink-500); }
.contact-info-item .ci-num { font-family: "Inter", sans-serif; font-size: 22px; font-weight: 800; color: var(--ink-900); }

.contact-form { background: #fff; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-form h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--ink-900); }
.contact-form .sub { color: var(--ink-500); font-size: 13px; margin-bottom: 24px; }
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px;
}
.form-row label .req { font-size: 10px; color: #fff; background: var(--brand); padding: 2px 6px; border-radius: 3px; font-weight: 700; }
.form-row label .opt { font-size: 10px; color: var(--ink-500); background: var(--bg-soft); padding: 2px 6px; border-radius: 3px; font-weight: 700; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; background: #fff;
  color: var(--ink-900); transition: border-color .15s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 0; border-color: var(--brand);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.form-checks label {
  padding: 10px 14px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--ink-700);
  display: flex; gap: 8px; align-items: center; margin: 0;
}
.form-checks label input { width: auto; margin: 0; }
.form-privacy { font-size: 12px; color: var(--ink-500); text-align: center; margin: 16px 0; }
.form-privacy a { color: var(--brand); }
.form-submit { width: 100%; padding: 18px; }

/* COMPANY */
.company-section { background: var(--bg-soft); }
.company-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.company-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.company-table th, .company-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: 0; }
.company-table th { font-weight: 700; color: var(--ink-900); width: 130px; background: var(--bg-soft); }
.company-table td { color: var(--ink-700); }

/* FOOTER */
footer.site-footer { background: #fff; color: var(--ink-2); padding: 32px 0; font-size: 13px; border-top: 1px solid var(--line); }
footer.site-footer.site-footer--minimal { padding: 28px 0; }
footer.site-footer.site-footer--minimal .foot-copy { margin-top: 0; padding-top: 0; border-top: 0; }
footer.site-footer a { color: var(--ink); text-decoration: none; }
footer.site-footer a:hover { color: var(--brand); }
footer.site-footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
footer.site-footer h4 { color: var(--ink); font-size: 13px; font-weight: 700; margin: 0 0 16px; letter-spacing: 0.04em; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer .foot-logo-text { color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; }
footer .foot-copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }

/* Fixed rail */
.fixed-rail { position: fixed; right: 20px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 10px; transition: all .3s; }
.fixed-rail.rail-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
.fixed-rail a {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 13px; text-decoration: none;
  box-shadow: 0 12px 24px rgba(14,26,54,0.25);
}
.fr-primary { background: var(--brand); color: #fff; }
.fr-navy { background: var(--navy); color: #fff; }

/* Responsive */
@media (max-width: 1080px) {
  .header-cta .btn-outline-ink { display: none; }
  nav.site-nav { gap: 18px; font-size: 12px; }
  .top-strip .wrap > div:first-child { display: none; }
}
@media (max-width: 1200px) { .hero-fc-1 { right: 8px; top: 8px; } .hero-fc-2 { left: 8px; bottom: 8px; } }

@media (max-width: 920px) {
  .wrap { padding: 0 18px; }
  section { padding: 64px 0; }
  nav.site-nav { display: none; }
  .top-strip { display: none; }
  .hero-split .hero-grid, .hero-stat .hero-grid, .hero-map .hero-grid, .om-grid, .story-grid, .contact-wrap, .company-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-fc-1, .hero-fc-2 { display: none; }
  .issues-grid { grid-template-columns: 1fr; }
  .strengths-grid, .benefit-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-bar { grid-template-columns: repeat(3, 1fr); }
  .flow-bar-step { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 8px; }
  .flow-bar-step:nth-child(3n) { border-right: 0; }
  .flow-bar-step:nth-last-child(-n+3) { border-bottom: 0; }
  .flow-bar-step:last-child { border-bottom: 0; }
  .flow-bar-step .fb-num { font-size: 10px; margin-bottom: 4px; }
  .flow-bar-step .fb-label { font-size: 13px; }
  .flow-bar-step::after { display: none !important; }
  .form-row.two { grid-template-columns: 1fr; }
  .form-checks { grid-template-columns: 1fr; }
  footer.site-footer .foot-grid { grid-template-columns: 1fr 1fr; }
  .fixed-rail {
    display: flex; flex-direction: row; gap: 0;
    right: 0; left: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(14,26,54,0.08);
  }
  .fixed-rail a {
    flex: 1;
    justify-content: center;
    padding: 14px 16px;
    font-size: 14px;
    box-shadow: none;
  }
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  .story-flow { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 48px 0; }
  /* Header / logo */
  .site-header .wrap { gap: 10px; }
  .logo { gap: 9px; }
  .logo-gaina { height: 34px; }
  .logo-njd { height: 28px; }
  .logo-div { height: 26px; }
  .logo-mark { width: 36px; height: 36px; font-size: 14px; }
  .logo-text { font-size: 13px; white-space: nowrap; }
  .header-cta .btn { padding: 10px 14px; font-size: 12px; white-space: nowrap; }
  /* Hero */
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero .hero-sub { font-size: 16px; }
  .hero .hero-lead { font-size: 14px; }
  .hero-split .hero-grid { gap: 28px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }
  .hero::before { display: none; }
  .hero-full-bg { height: 70vh; min-height: 480px; }
  .hero-full h1 { font-size: clamp(26px, 8vw, 36px); }
  /* Section titles */
  h2.section-title { font-size: clamp(24px, 6vw, 30px); }
  .eyebrow { font-size: 11px; }
  /* Issues */
  .issue-card { padding: 20px 16px; gap: 8px; }
  .issue-card .issue-ico { width: 44px; height: 44px; }
  .issue-card .issue-ico svg { width: 32px; height: 32px; }
  .issue-card .issue-no { font-size: 10px; letter-spacing: 0.14em; font-weight: 700; }
  .issue-card .issue-text { font-size: 16px; line-height: 1.55; }
  .issue-closer { font-size: 18px; padding: 24px 16px; }
  /* Services - 2 cols on phones */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .service-card { padding: 18px 14px; }
  .service-card .s-num { font-size: 11px; }
  .service-card .s-name { font-size: 14px; }
  .service-card .s-desc { font-size: 12px; line-height: 1.6; }
  .service-card .s-ico { width: 44px; height: 44px; }
  .service-card .s-ico svg { width: 28px; height: 28px; }
  /* Safety - 2 cols */
  .safety-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .safety-card { padding: 22px 16px; }
  .safety-card h3 { font-size: 14px; }
  .safety-card p { font-size: 12px; line-height: 1.6; }
  .safety-card .sc-ico { width: 56px; height: 56px; }
  .safety-card .sc-ico svg { width: 28px; height: 28px; }
  /* Results - 2x2 */
  .results-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .result-card { padding: 24px 8px; }
  .result-num { font-size: 32px; }
  .result-num .unit { font-size: 12px; }
  .result-label { font-size: 11px; margin-top: 8px; line-height: 1.4; }
  /* Logo grid - 3 cols */
  .results-logos { padding: 20px; margin-top: 40px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  /* Stats / badges */
  .hero-badges { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; padding-top: 24px; }
  .hero-result-card { padding: 18px 6px; }
  .hero-result-card .hr-num { font-size: 28px; }
  .hero-result-card .hr-num .unit { font-size: 11px; }
  .hero-result-card .hr-label { font-size: 11px; margin-top: 6px; line-height: 1.4; }
  /* Benefits / Strengths */
  .benefit-card, .strength-card { padding: 28px 20px; }
  .b-ico { width: 60px; height: 60px; }
  .b-ico svg { width: 32px; height: 32px; }
  /* Final CTA */
  .final-cta-section { padding: 56px 0; }
  .final-cta-row .btn { width: 100%; text-align: center; justify-content: center; }
  .final-cta-section p { font-size: 14px; }
  /* Company */
  .company-table th { width: 100px; padding: 12px; font-size: 13px; }
  .company-table td { padding: 12px; font-size: 13px; }
  /* Footer */
  footer.site-footer .foot-copy { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================================
   HERO — collage variant (hero-stat / collage-hero)
   ヒーロー背景にコラージュ画像を使用
   ============================================================ */
.hero.hero-stat {
  background: linear-gradient(180deg, rgba(10,18,38,0.82) 0%, rgba(10,18,38,0.66) 55%, rgba(10,18,38,0.88) 100%), url("images/hero-collage.webp") center/cover no-repeat;
  padding: 140px 0 140px;
  min-height: 720px;
  display: flex;
  align-items: center;
}
.hero.hero-stat .hero-grid { width: 100%; }
.hero.hero-stat h1,
.hero.hero-stat .hero-sub { color: #fff; }
.hero.hero-stat .hero-lead { color: rgba(255,255,255,0.85); }
.hero.hero-stat .hero-badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.28); color: #fff; }
.hero.hero-stat .hero-badge .dot { background: var(--brand); }
@media (max-width: 768px) {
  .hero.hero-stat { padding: 80px 0; min-height: 0; }
}

/* Global overflow guard */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }
