/* ==========================================================================
   Green Battery 日本語サイト  / style.css
   白を基調に、深緑・エメラルドをアクセントとするデザインシステム
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --white: #ffffff;
  --paper: #f1f4f1;        /* ページの地。純白より落ち着く */
  --mist: #e7ede9;
  --sage: #e3efe6;
  --line: #dce3de;
  --line-strong: #c3cec8;

  --ink: #131b17;
  --ink-2: #3b4540;
  --ink-3: #69736d;

  --forest: #0c2e20;
  --deep: #0a5230;
  --green: #00853c;      /* ロゴの葉色 */
  --emerald: #19a463;
  --leaf: #aac708;       /* ロゴのライム。ごく控えめに使用 */
  --sun: #e2a11b;        /* チャート：太陽光 */
  --sun-soft: #fbf3dc;

  --font-sans: "GB Latin", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 2px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 16px; font-size: 14px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 7vw, 108px) 0; position: relative; }
.section--paper { background: var(--mist); }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.nobr { white-space: nowrap; }
.pc-only { display: inline; }
@media (max-width: 767px) { .pc-only { display: none; } }

/* ---------- 3. Typography ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--green);
  margin-bottom: 28px;
}
.eyebrow .num { font-variant-numeric: tabular-nums; color: var(--ink-3); font-weight: 400; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; order: 1; }
.eyebrow .num + span { order: 2; }
.eyebrow .num { order: 0; }
.eyebrow--light { color: #bfe6c9; }
.eyebrow--light .num { color: rgba(255,255,255,.6); }

.h-display {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(38px, 6.2vw, 88px);
  line-height: 1.32;
  letter-spacing: .06em;
}
.h-section {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.h-sub { font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.6; letter-spacing: .05em; }
.lead { font-size: clamp(15px, 1.25vw, 17px); color: var(--ink-2); line-height: 2.1; max-width: 36em; }
.small { font-size: 13px; color: var(--ink-3); line-height: 1.8; }
.note { font-size: 12px; color: var(--ink-3); line-height: 1.8; letter-spacing: .03em; }
.serif { font-family: var(--font-serif); }
.num-font { font-feature-settings: "tnum" 1; font-variant-numeric: tabular-nums; }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head .lead { justify-self: end; }
.section-head--stack { grid-template-columns: minmax(0, 1fr); }
.section-head--stack .lead { justify-self: start; }
@media (max-width: 900px) { .section-head { grid-template-columns: minmax(0, 1fr); } .section-head .lead { justify-self: start; } }

/* ---------- 4. Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 60px; padding: 0 26px 0 30px; min-width: 240px;
  font-size: 15px; font-weight: 500; letter-spacing: .08em;
  border: 1px solid var(--forest); background: var(--forest); color: #fff;
  overflow: hidden; isolation: isolate; transition: color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-out); z-index: -1; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .arrow { width: 18px; height: 10px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.btn--ghost::before { background: var(--forest); }
.btn--ghost:hover { color: #fff; border-color: var(--forest); }
.btn--light { background: #fff; color: var(--forest); border-color: #fff; }
.btn--light::before { background: var(--sage); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light::before { background: rgba(255,255,255,.14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--forest);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .3s var(--ease-out);
}
.text-link:hover { background-size: 0 1px; background-position: right bottom; }
.text-link .arrow { width: 16px; height: 9px; transition: transform .4s var(--ease-out); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link--light { color: #fff; }

/* ---------- 5. Header / global nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: height .4s var(--ease), border-color .4s, box-shadow .4s, transform .38s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-open { background: #fff; border-bottom-color: var(--line); }
body { padding-top: 84px; }
.hd-inner { height: 100%; display: flex; align-items: center; gap: 24px; max-width: 1600px; margin: 0 auto; padding: 0 clamp(20px, 3vw, 44px); }
.hd-logo { flex: none; display: block; width: clamp(176px, 15vw, 224px); }
.hd-logo img { width: 100%; height: auto; }

.gnav { margin-left: auto; height: 100%; position: static; }
.gnav-list { display: flex; height: 100%; align-items: stretch; }
.gnav-item { position: static; display: flex; }
.gnav-link {
  display: flex; align-items: center; gap: 6px; height: 100%;
  padding: 0 clamp(10px, 1.05vw, 18px);
  font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--ink);
  white-space: nowrap; transition: color .15s;
}
.gnav-link:hover, .gnav-item.is-active > .gnav-link, .gnav-link[aria-current="page"] { color: var(--green); }
.gnav-indicator {
  position: absolute; bottom: -1px; left: 0; height: 2px; width: 0; background: var(--green);
  transform: translateX(var(--ix, 0)); transition: transform .45s var(--ease-out), width .45s var(--ease-out), opacity .3s;
  opacity: 0; pointer-events: none;
}
.gnav.has-indicator .gnav-indicator { opacity: 1; }
.gnav-link { position: relative; }
.gnav:not(.has-indicator) .gnav-link[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--green); pointer-events: none; }
.hd-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.hd-lang { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); padding: 6px 2px; border-bottom: 1px solid transparent; }
.hd-lang:hover { color: var(--ink); border-bottom-color: var(--ink); }
.hd-contact {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px;
  background: var(--forest); color: #fff; font-size: 14px; font-weight: 500; letter-spacing: .1em;
  transition: background .3s;
}
.hd-contact:hover { background: var(--green); }
.hd-contact svg { width: 16px; height: 16px; }

/* Mega menu */
/* The panel is always fully opaque and never cross-fades: it opens with a quick clip reveal and
   closes instantly, so two menus (or a menu and the page) can never show through each other. */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 2;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px -24px rgba(12, 46, 32, .28);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0);
}
.gnav-item.is-active .mega { visibility: visible; pointer-events: auto; clip-path: inset(0 0 -80px 0); transition: clip-path .26s var(--ease-out); }
.gnav.is-swapping .gnav-item.is-active .mega { transition: none; }
.mega-inner { max-width: 1600px; margin: 0 auto; padding: 44px clamp(20px, 3vw, 44px) 48px; display: grid; grid-template-columns: 1.05fr 2.2fr 1fr; gap: 56px; }
.mega-intro { padding-right: 12px; border-right: 1px solid var(--line); }
.mega-kicker { font-size: 12px; letter-spacing: .16em; color: var(--green); margin-bottom: 14px; }
.mega-title { font-size: 26px; font-weight: 700; letter-spacing: .08em; line-height: 1.5; margin-bottom: 14px; }
.mega-desc { font-size: 13.5px; color: var(--ink-3); line-height: 1.95; margin-bottom: 26px; }
.mega-links { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.mega-link {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: center; gap: 4px 12px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
}
.mega-link:first-child { border-top: 1px solid var(--line); }
.mega-link .ml-num { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; grid-row: span 2; }
.mega-link .ml-title { font-size: 16px; font-weight: 500; letter-spacing: .06em; line-height: 1.5; transition: color .3s; }
.mega-link .ml-desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.7; grid-column: 2; }
.mega-link .ml-arrow { grid-row: 1 / span 2; grid-column: 3; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.mega-link .ml-arrow svg { width: 11px; height: 8px; }
.mega-link:hover .ml-title { color: var(--green); }
.mega-link:hover .ml-arrow { background: var(--green); border-color: var(--green); color: #fff; transform: translateX(3px); }
.mega-fig { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.mega-fig img { width: 100%; height: 100%; object-fit: cover; }

.mega-fig figcaption { position: absolute; left: 0; bottom: 0; background: #fff; font-size: 11px; letter-spacing: .12em; color: var(--ink-3); padding: 6px 12px 0 0; }
.mega-backdrop { position: fixed; inset: 0; background: rgba(10, 22, 16, .38); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; z-index: 95; }
.mega-backdrop.is-on { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }

/* Burger + drawer */
.hd-burger { display: none; width: 48px; height: 48px; position: relative; margin-right: -10px; }
.hd-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), opacity .3s; }
.hd-burger span:nth-child(1) { top: 18px; }
.hd-burger span:nth-child(2) { top: 24px; }
.hd-burger span:nth-child(3) { top: 30px; }
.hd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s; }
.drawer-inner { padding: 12px 20px 48px; }
.dr-item { border-bottom: 1px solid var(--line); }
.dr-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.dr-head a { flex: 1; padding: 20px 0; font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.dr-head a .dr-num { font-size: 11px; color: var(--ink-3); font-weight: 400; margin-right: 14px; letter-spacing: .1em; }
.dr-toggle { width: 48px; height: 48px; position: relative; flex: none; }
.dr-toggle::before, .dr-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease-out); }
.dr-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.dr-toggle[aria-expanded="true"]::after { transform: translate(-50%, -50%) rotate(0); }
.dr-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.dr-sub > div { overflow: hidden; }
.dr-item.is-open .dr-sub { grid-template-rows: 1fr; }
.dr-sub a { display: flex; justify-content: space-between; padding: 12px 0 12px 26px; font-size: 14.5px; color: var(--ink-2); }
.dr-sub a:last-child { margin-bottom: 14px; }
.dr-sub a::after { content: "→"; color: var(--green); }
.drawer .hd-contact { display: flex; justify-content: center; height: 58px; margin-top: 28px; }
.dr-meta { display: flex; justify-content: space-between; margin-top: 24px; font-size: 13px; color: var(--ink-3); }

@media (max-width: 1180px) {
  .gnav, .hd-actions .hd-contact, .hd-lang--pc { display: none; }
  .hd-burger { display: block; }
  .hd-actions { margin-left: auto; }
  :root { --header-h: 68px; }
  body { padding-top: 68px; }
}
@media (min-width: 1181px) { .drawer { display: none; } }

/* ---------- 6. Reveal animations ---------- */
.js .rv { opacity: 0; transition: opacity .55s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; }
/* Image reveal: fade + settle. (Never clip the observed element itself: a fully clipped box never
   reports as intersecting, so neither the reveal nor lazy image loading would ever fire.) */
.js .rv-img img { opacity: 0; transition: opacity .55s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-img.is-in img { opacity: 1; transform: none; }
.js .rv-line { transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv-line.is-in { transform: none; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; }
.js .rv-text { opacity: 0; transition: opacity .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-text.is-in { opacity: 1; }

/* ---------- 7. Hero ---------- */
.hero { position: relative; min-height: clamp(640px, calc(100svh - 84px), 960px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vh, 80px) clamp(24px, 3vw, 56px) clamp(120px, 14vh, 150px) max(var(--gutter), calc((100vw - 1600px) / 2 + 44px)); }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; color: var(--green); margin-bottom: clamp(24px, 4vh, 40px); }
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 0 rgba(25,164,99,.5);  }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,164,99,.45); } 70% { box-shadow: 0 0 0 12px rgba(25,164,99,0); } 100% { box-shadow: 0 0 0 0 rgba(25,164,99,0); } }
.hero h1 { font-family: var(--font-sans); font-weight: 700; font-size: clamp(40px, 4.7vw, 76px); line-height: 1.42; letter-spacing: .06em; margin-bottom: clamp(24px, 4vh, 40px); white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-lead { font-size: clamp(15px, 1.15vw, 17px); color: var(--ink-2); line-height: 2.15; max-width: 30em; margin-bottom: clamp(32px, 5vh, 52px); }
.hero-visual { position: relative; overflow: hidden; background: var(--mist); }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-slide.is-on { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }


.js .hero-visual { clip-path: inset(0 0 0 100%); transition: clip-path 1.6s var(--ease-out) .15s; }
.js .is-loaded .hero-visual { clip-path: inset(0 0 0 0); }
.hero-caption { position: absolute; right: 18px; top: 16px; font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hero-data {
  position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 2;
  display: grid; grid-template-columns: auto auto; gap: 0; background: #fff;
}
.hero-data div { padding: 18px 26px 16px; }
.hero-data div + div { border-left: 1px solid var(--line); }
.hero-data dt { font-size: 11.5px; color: var(--ink-3); letter-spacing: .1em; line-height: 1.5; }
.hero-data dd { font-size: 34px; font-weight: 300; line-height: 1.3; letter-spacing: .02em; color: var(--forest); }
.hero-data dd small { font-size: 13px; margin-left: 4px; font-weight: 500; color: var(--ink-2); }
.hero-data .hd-note { grid-column: 1 / -1; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--ink-3); padding: 7px 26px; letter-spacing: .06em; }
.hero-dots { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(24px, 3vw, 44px); z-index: 2; display: flex; gap: 10px; }
.hero-dots button { width: 44px; height: 20px; position: relative; }
.hero-dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.45); }
.hero-dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-on::after { animation: dotfill 7s linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; left: max(var(--gutter), calc((100vw - 1600px) / 2 + 44px)); bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .24em; color: var(--ink-3); }
.hero-scroll span.bar { width: 1px; height: 54px; background: var(--line); position: relative; overflow: hidden; }
.hero-scroll span.bar::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--green); }

.js .hero .rv-hero { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.2s var(--ease-out); }
.js .is-loaded .hero .rv-hero { opacity: 1; transform: none; }
.js .is-loaded .hero .rv-hero:nth-child(2) { transition-delay: .15s; }
.js .is-loaded .hero .rv-hero:nth-child(3) { transition-delay: .3s; }
.js .is-loaded .hero .rv-hero:nth-child(4) { transition-delay: .45s; }

@media (max-width: 1180px) and (min-width: 901px) { .hero h1 { font-size: 42px; } }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { order: -1; height: 58svh; min-height: 360px; }
  .hero-copy { padding: 40px var(--gutter) 64px; }
  .hero h1 { white-space: normal; font-size: clamp(36px, 10vw, 56px); }
  .hero-scroll { display: none; }
  .hero-data { left: 16px; bottom: 16px; }
  .hero-data div { padding: 12px 16px 10px; }
  .hero-data dd { font-size: 24px; }
  .hero-data .hd-note { padding: 6px 16px; }
  .hero-dots { right: 16px; bottom: auto; top: 16px; }
  .hero-caption { top: auto; bottom: 8px; right: 12px; }
  .hero .btn { min-width: 0; flex: 1 1 100%; }
}

/* ---------- 8. Page hero (下層) ---------- */
.page-hero { position: relative; padding: clamp(56px, 6vw, 96px) 0 0; }



.ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.ph-title { font-size: clamp(36px, 5.4vw, 76px); font-weight: 700; line-height: 1.3; letter-spacing: .06em; }
.ph-title small { display: block; font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--green); margin-bottom: 20px; }
.ph-lead { color: var(--ink-2); line-height: 2.1; font-size: clamp(15px, 1.2vw, 17px); padding-bottom: 8px; }
.ph-visual { position: relative; margin-top: clamp(36px, 4.5vw, 64px); height: clamp(260px, 44vw, 560px); overflow: hidden; }
.ph-visual img { width: 100%; height: 100%; object-fit: cover; }
.ph-visual .img-note { position: absolute; right: 14px; bottom: 12px; font-size: 11px; color: rgba(255,255,255,.9); text-shadow: 0 1px 6px rgba(0,0,0,.4); letter-spacing: .1em; }
@media (max-width: 900px) { .ph-grid { grid-template-columns: minmax(0, 1fr); } }

/* sticky in-page nav */

/* ---------- 9. Generic media & cards ---------- */
.media { position: relative; overflow: hidden; background: var(--mist); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .img-note { position: absolute; right: 10px; bottom: 8px; font-size: 10.5px; color: rgba(255,255,255,.92); letter-spacing: .1em; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-32 { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-11 { aspect-ratio: 1 / 1; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font-size: 11.5px; letter-spacing: .08em; border: 1px solid var(--line-strong); color: var(--ink-2); background: #fff; }
.chip--green { border-color: transparent; background: var(--sage); color: var(--deep); }
.chip--solid { border-color: var(--forest); background: var(--forest); color: #fff; }

/* ---------- 10. Home: challenge / flow diagram ---------- */
.challenge-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.bigstat { border-top: 1px solid var(--ink); padding-top: 22px; }
.bigstat + .bigstat { margin-top: 36px; }
.bigstat .v { font-size: clamp(64px, 8vw, 120px); font-weight: 300; line-height: 1; letter-spacing: -.01em; color: var(--forest); display: flex; align-items: baseline; gap: 10px; }
.bigstat .v small { font-size: .26em; font-weight: 500; letter-spacing: .06em; color: var(--ink-2); }
.bigstat .k { margin-top: 14px; font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.bigstat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.bigstat-row .bigstat + .bigstat { margin-top: 0; }
@media (max-width: 900px) { .challenge-top { grid-template-columns: minmax(0, 1fr); } }

.flow { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.flow-steps { display: flex; flex-direction: column; border-top: 1px solid var(--line); counter-reset: fs; }
.flow-step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 2px 8px; width: 100%; text-align: left; padding: 18px 8px 18px 0; border-bottom: 1px solid var(--line); transition: background .3s; }
.flow-step .fs-num { font-size: 12px; color: var(--ink-3); letter-spacing: .1em; padding-top: 3px; }
.flow-step .fs-title { font-size: 16px; font-weight: 500; letter-spacing: .06em; color: var(--ink-3); transition: color .3s; }
.flow-step .fs-text { grid-column: 2; font-size: 13px; color: var(--ink-3); line-height: 1.85; display: grid; grid-template-rows: 0fr;  }
.flow-step .fs-text > span { overflow: hidden; }
.flow-step .fs-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; }
.flow-step.is-on .fs-title { color: var(--ink); font-weight: 700; }
.flow-step.is-on .fs-num { color: var(--green); }
.flow-step.is-on .fs-text { grid-template-rows: 1fr; padding-top: 6px; }
.flow-step:hover .fs-title { color: var(--ink); }
.flow.is-playing .flow-step.is-on .fs-bar { animation: fsbar var(--dur, 5s) linear forwards; }
@keyframes fsbar { to { transform: scaleX(1); } }
.flow-stage { position: relative; background: #fff; border: 1px solid var(--line); padding: clamp(12px, 2vw, 28px); }
.flow-stage svg { width: 100%; height: auto; overflow: visible; }
.flow-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.flow-play { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-2); padding: 8px 0; }
.flow-play svg { width: 26px; height: 26px; }
.flow-summary { display: flex; flex-wrap: wrap; gap: 8px; }
/* svg parts */
.fl-band-night { fill: #eef2f6; }
.fl-band-day { fill: #fbf7ea; }
.fl-axis { stroke: var(--line-strong); stroke-width: 1; }
.fl-tick { font-size: 12px; fill: var(--ink-3); font-family: var(--font-sans); letter-spacing: .04em; }
.fl-demand { fill: #d7dbd9; transition: fill .6s; }
.fl-demand-line { fill: none; stroke: #5b6560; stroke-width: 2; }
.fl-solar { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 1.6s var(--ease); }
.fl-surplus { fill: rgba(25,164,99,.18); opacity: 0; transition: opacity .6s, fill .6s; }
.fl-hatch { opacity: 0; transition: opacity .6s; }
.fl-evening { fill: var(--green); opacity: 0; transition: opacity .8s; }
.fl-label { font-family: var(--font-sans); font-size: 15px; font-weight: 700; fill: var(--ink); letter-spacing: .06em; opacity: 0; transition: opacity .5s; }
.fl-label--sm { font-size: 12.5px; font-weight: 500; fill: var(--ink-2); }
.fl-label--white { fill: #fff; }
.fl-battery { opacity: 0; transition: opacity .6s, transform .8s var(--ease-out); transform: translateY(10px); transform-box: fill-box; }
.fl-battery-level { transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); transition: transform 1.6s var(--ease); fill: var(--emerald); }
.fl-arrow { fill: none; stroke: var(--green); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0; transition: opacity .6s; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.fl-sun, .fl-moon { transition: opacity .6s; }
.flow[data-step="0"] .fl-solar, .flow[data-step]:not([data-step="0"]) .fl-solar { stroke-dashoffset: 0; }
.flow.pre[data-step] .fl-solar { stroke-dashoffset: 1200; }
.flow[data-step="1"] .fl-surplus, .flow[data-step="1"] .lb-surplus { opacity: 1; }
.flow[data-step="2"] .fl-surplus { opacity: .35; fill: #c8cfcb; }
.flow[data-step="2"] .fl-hatch, .flow[data-step="2"] .lb-curtail { opacity: 1; }
.flow[data-step="3"] .fl-surplus, .flow[data-step="4"] .fl-surplus, .flow[data-step="5"] .fl-surplus { opacity: 1; fill: rgba(25,164,99,.28); }
.flow[data-step="3"] .fl-battery, .flow[data-step="4"] .fl-battery, .flow[data-step="5"] .fl-battery { opacity: 1; transform: none; }
.flow[data-step="3"] .fl-battery-level, .flow[data-step="5"] .fl-battery-level { transform: scaleY(1); }
.flow[data-step="4"] .fl-battery-level { transform: scaleY(.25); }
.flow[data-step="3"] .ar-in, .flow[data-step="3"] .lb-charge { opacity: 1; }
.flow[data-step="4"] .ar-out, .flow[data-step="4"] .fl-evening, .flow[data-step="4"] .lb-discharge { opacity: 1; }
.flow[data-step="4"] .fl-evening { opacity: .85; }
.flow[data-step="5"] .fl-evening { opacity: .55; }
.flow[data-step="5"] .lb-balance { opacity: 1; }
.flow[data-step="0"] .lb-solar { opacity: 1; }
.lb-demand { opacity: 1 !important; }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-steps { order: 2; }
  .flow-step .fs-text { font-size: 13.5px; }
  .fl-label { font-size: 22px; }
  .fl-label--sm { font-size: 18px; }
  .fl-tick { font-size: 17px; }
}

/* ---------- 11. Statement photo band ---------- */
.band { position: relative; height: clamp(420px, 70vh, 760px); overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.band-bg { position: absolute; inset: 0; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 16, 0) 30%, rgba(8, 24, 16, .62) 100%); }
.band .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 96px); }
.band-quote { font-family: var(--font-serif); font-weight: 500; font-size: clamp(26px, 3.6vw, 52px); line-height: 1.6; letter-spacing: .08em; }
.band-quote em { font-style: normal; border-bottom: 1px solid rgba(255,255,255,.6); }
.band .img-note { position: absolute; right: 14px; top: 12px; z-index: 1; font-size: 11px; opacity: .8; letter-spacing: .1em; }

/* ---------- 12. Solution (battery callouts) ---------- */
.solution { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sol-visual { position: relative; }
.sol-visual .media { aspect-ratio: 840 / 621; background: #fff; }
.sol-visual .media img { object-fit: contain; }
.sol-list { border-top: 1px solid var(--line); }
.sol-item { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.sol-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: var(--deep); display: grid; place-items: center; grid-row: span 2; }
.sol-icon svg { width: 28px; height: 28px; }
.sol-item h3 { font-size: 18px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.sol-item p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.markets { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.markets .small { margin-right: 6px; }
.hotspot { position: absolute; width: 22px; height: 22px; transform: translate(-50%, -50%); }
.hotspot::before, .hotspot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.hotspot::before { background: var(--green); transform: scale(.45); }
.hotspot::after { border: 1px solid var(--green); transform: scale(1.5); opacity: .5; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.hotspot-label { position: absolute; transform: translateY(-50%); background: #fff; border: 1px solid var(--line); font-size: 12.5px; padding: 6px 12px; white-space: nowrap; letter-spacing: .06em; box-shadow: 0 10px 30px -18px rgba(0,0,0,.3); }
@media (max-width: 900px) { .solution { grid-template-columns: minmax(0, 1fr); } .hotspot-label { font-size: 11px; padding: 4px 8px; } }

/* ---------- 13. 24h chart ---------- */
.day { border: 1px solid var(--line); background: #fff; }
.day-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 2.4vw, 32px); border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); }
.seg button { height: 40px; padding: 0 20px; font-size: 13.5px; letter-spacing: .1em; color: var(--ink-2); transition: background .3s, color .3s; }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.day-play { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 12px; border: 1px solid var(--line-strong); font-size: 13px; letter-spacing: .08em; }
.day-play svg { width: 18px; height: 18px; }
.day-read { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.day-read div { padding: 16px clamp(12px, 2vw, 28px); }
.day-read div + div { border-left: 1px solid var(--line); }
.day-read dt { font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.day-read dt i { width: 10px; height: 10px; flex: none; }
.day-read dd { font-size: clamp(20px, 2.2vw, 30px); font-weight: 300; line-height: 1.4; font-variant-numeric: tabular-nums; }
.day-read dd small { font-size: 12px; margin-left: 3px; color: var(--ink-3); font-weight: 400; }
.day-state { display: inline-flex; align-items: center; gap: 8px; font-size: 15px !important; font-weight: 700 !important; padding-top: 8px; }
.day-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.day-state[data-s="charge"] { color: var(--emerald); }
.day-state[data-s="charge"]::before { background: var(--emerald); }
.day-state[data-s="discharge"] { color: var(--deep); }
.day-state[data-s="discharge"]::before { background: var(--deep); }
.day-chart-wrap { position: relative; padding: 12px clamp(8px, 1.6vw, 20px) 4px; touch-action: pan-y; }
.day-chart { width: 100%; height: auto; overflow: visible; cursor: crosshair; }
.day-chart text { font-family: var(--font-sans); font-size: 12px; fill: var(--ink-3); letter-spacing: .03em; }
.day-chart .grid line { stroke: #edf1ee; }
.day-chart .axis-zero { stroke: var(--line-strong); }
.day-chart .s-solar { fill: none; stroke: var(--sun); stroke-width: 2; }
.day-chart .s-solar-area { fill: var(--sun-soft); }
.day-chart .s-demand { fill: none; stroke: var(--ink); stroke-width: 2; }
.day-chart .s-net { fill: none; stroke: #9aa39e; stroke-width: 2; stroke-dasharray: 5 5; }
.day-chart .s-withb { fill: none; stroke: var(--green); stroke-width: 2.5; }
.day-chart .s-curtail { fill: url(#hatch); }
.day-chart .s-charge { fill: var(--emerald); }
.day-chart .s-discharge { fill: var(--deep); }
.day-chart .s-soc { fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-dasharray: 2 3; }
.day-chart .cursor line { stroke: var(--ink); stroke-width: 1; }
.day-chart .cursor circle { stroke: #fff; stroke-width: 2; }
.day-chart .panel-label { font-size: 12px; fill: var(--ink-2); font-weight: 500; }
.day-chart .night { fill: #f4f6f8; }
.day-range { display: block; width: calc(100% - 2 * clamp(8px, 1.6vw, 20px)); margin: 0 auto 12px; accent-color: var(--green); }
.day-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 14px clamp(16px, 2.4vw, 32px); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.day-legend span { display: inline-flex; align-items: center; gap: 8px; }
.day-legend i { width: 18px; height: 10px; flex: none; }
.lg-line { height: 0 !important; border-top: 2px solid; }
.lg-dash { height: 0 !important; border-top: 2px dashed; }
.day-desc { padding: 16px clamp(16px, 2.4vw, 32px) 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); line-height: 1.9; background: var(--paper); }
.day-desc b { color: var(--ink); }
.day-foot { margin-top: 14px; }
.day-table { margin-top: 12px; }
.day-table summary { cursor: pointer; font-size: 13px; color: var(--ink-2); }
.day-table table { border-collapse: collapse; margin-top: 10px; font-size: 12.5px; width: 100%; max-width: 640px; }
.day-table th, .day-table td { border-bottom: 1px solid var(--line); padding: 6px 10px; text-align: right; font-variant-numeric: tabular-nums; }
.day-table th:first-child, .day-table td:first-child { text-align: left; }
@media (max-width: 767px) {
  .day-read { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-read div:nth-child(1) { grid-column: 1 / -1; }
  .day-read div + div { border-left: 0; }
  .day-read div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .day-read div:nth-child(3), .day-read div:nth-child(5) { border-left: 1px solid var(--line); }
  .day-chart text { font-size: 20px; }
  .day-chart .panel-label { font-size: 20px; }
}

/* ---------- 14. Capabilities (horizontal scroll) ---------- */
.hs { position: relative; }
.hs-sticky { position: relative; }
.hs-track { display: flex; gap: clamp(16px, 2vw, 28px); }
.cap-card { flex: 0 0 clamp(300px, 30vw, 420px); position: relative; background: #fff; }
.cap-card .media { aspect-ratio: 4 / 5; }
.cap-card .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(8, 24, 16, .72)); }
.cap-card .cap-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; color: #fff; padding: 28px 28px 30px; }
.cap-card .cap-num { font-size: 12px; letter-spacing: .16em; opacity: .8; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.cap-card h3 { font-size: 22px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; margin-bottom: 10px; }
.cap-card p { font-size: 13.5px; line-height: 1.85; opacity: .92; }
.cap-card .media img { transition: transform .6s var(--ease-out); }

.hs-progress { display: flex; align-items: center; gap: 18px; margin-top: 28px; font-size: 12px; color: var(--ink-3); letter-spacing: .1em; }
.hs-progress .bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.hs-progress .bar i { position: absolute; left: 0; right: 0; top: -.5px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; }
@media (min-width: 901px) {
  .hs.is-pinned { height: var(--hs-h, auto); }
  .hs.is-pinned .hs-sticky { position: sticky; top: calc(var(--header-h) + clamp(24px, 5vh, 56px)); overflow: hidden; }
  .hs.is-pinned .hs-track { will-change: transform; }
}
@media (max-width: 900px) {
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: none; }
  .hs-track::-webkit-scrollbar { display: none; }
  .cap-card { flex-basis: 78vw; scroll-snap-align: start; }
}

.strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: clamp(48px, 5.5vw, 80px); }
.strength { padding: 36px clamp(0px, 2vw, 32px) 8px 0; }
.strength + .strength { padding-left: clamp(20px, 2.5vw, 40px); border-left: 1px solid var(--line); }
.strength .s-num { font-size: 13px; color: var(--green); letter-spacing: .1em; margin-bottom: 18px; }
.strength h3 { font-size: 20px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; margin-bottom: 12px; }
.strength p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 900px) { .strengths { grid-template-columns: minmax(0, 1fr); } .strength + .strength { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- 15. Scale (dark) ---------- */
.scale { background: var(--forest); color: #fff; overflow: hidden; }
.scale .h-section { color: #fff; }
.scale .lead { color: rgba(255,255,255,.75); }
.scale-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.scale-cell { background: var(--forest); padding: clamp(24px, 3vw, 44px); position: relative; }
.scale-cell .k { font-size: 13px; letter-spacing: .1em; color: rgba(255,255,255,.72); line-height: 1.7; }
.scale-cell .v { font-size: clamp(56px, 7vw, 112px); font-weight: 200; line-height: 1.05; letter-spacing: -.01em; margin: 18px 0 10px; font-variant-numeric: tabular-nums; }
.scale-cell .v small { font-size: .28em; font-weight: 400; letter-spacing: .06em; margin-left: 6px; }
.scale-cell .d { font-size: 13px; color: rgba(255,255,255,.66); line-height: 1.8; }
.sc-a { grid-column: span 7; }
.sc-b { grid-column: span 5; }
.sc-c { grid-column: span 4; }
.sc-d { grid-column: span 4; }
.sc-e { grid-column: span 4; }
.ratio-bar { display: flex; height: 12px; margin: 26px 0 12px; gap: 2px; }
.ratio-bar span { display: block; height: 100%; transform-origin: left; }
.ratio-bar .rb-ehv { background: var(--leaf); }
.ratio-bar .rb-hv { background: var(--emerald); }
.js .ratio-bar span { transform: scaleX(0); transition: transform 1.6s var(--ease-out); }
.js .is-in .ratio-bar span { transform: none; }
.js .is-in .ratio-bar span + span { transition-delay: .2s; }
.ratio-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: rgba(255,255,255,.8); }
.ratio-legend span { display: inline-flex; align-items: center; gap: 8px; }
.ratio-legend i { width: 10px; height: 10px; }
.region-bars { margin-top: 22px; display: grid; gap: 10px; }
.region-bars li { display: grid; grid-template-columns: 64px 1fr 28px; gap: 12px; align-items: center; font-size: 13px; color: rgba(255,255,255,.8); }
.region-bars .rbar { height: 8px; background: rgba(255,255,255,.08); position: relative; }
.region-bars .rbar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: #fff; transform-origin: left; }
.js .region-bars .rbar i { transform: scaleX(0); transition: transform 1.4s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-in .region-bars .rbar i { transform: none; }
.region-bars b { font-weight: 500; text-align: right; color: #fff; font-variant-numeric: tabular-nums; }
.scale-note { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.55); }
.milestones { margin-top: clamp(48px, 5.5vw, 80px); position: relative; }
.milestones h3 { font-size: 15px; letter-spacing: .12em; color: rgba(255,255,255,.72); font-weight: 500; margin-bottom: 30px; }
.ms-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.ms-track::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: rgba(255,255,255,.22); }
.ms { position: relative; padding: 36px 24px 0 0; }
.ms::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--forest); border: 1px solid var(--leaf); }
.ms.is-future::before { border-style: dashed; border-color: rgba(255,255,255,.6); }
.ms time { font-size: 13px; letter-spacing: .1em; color: var(--leaf); }
.ms.is-future time { color: rgba(255,255,255,.7); }
.ms p { margin-top: 8px; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.88); }
@media (max-width: 900px) {
  .sc-a, .sc-b, .sc-c, .sc-d, .sc-e { grid-column: span 12; }
  .ms-track { grid-template-columns: minmax(0, 1fr); }
  .ms-track::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .ms { padding: 0 0 28px 34px; }
}

/* ---------- 16. Japan map ---------- */
.jmap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.jmap-stage { position: relative; background: var(--paper); aspect-ratio: 1 / .9; }
.jmap-svg { width: 100%; height: 100%; }
.jmap-svg .pref { fill: #dfe5e1; stroke: #fff; stroke-width: .7; transition: fill .45s var(--ease); }
.jmap-svg .pref.is-grid { fill: #bfdcc8; }
.jmap-svg .pref.is-sale { fill: #7fc39a; }
.jmap-svg.has-focus .pref.is-grid, .jmap-svg.has-focus .pref.is-sale { fill: #d3e3d8; }
.jmap-svg .pref.is-focus.is-grid { fill: #9fd1b0; }
.jmap-svg .pref.is-focus.is-sale { fill: var(--emerald); }
.jmap-svg .pin { cursor: pointer; }
.jmap-svg .pin circle.halo { fill: var(--green); opacity: .18;  }
.jmap-svg .pin circle.dot { fill: var(--forest); stroke: #fff; stroke-width: 1.5; transition: fill .3s; }
.jmap-svg .pin text { font-family: var(--font-sans); font-size: 9px; font-weight: 700; fill: #fff; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.jmap-svg .pin:hover circle.dot, .jmap-svg .pin.is-focus circle.dot { fill: var(--green); }
.jmap-svg .rlabel { font-family: var(--font-sans); font-size: 11px; fill: var(--ink); letter-spacing: .08em; font-weight: 700; pointer-events: none; }
.jmap-svg .rlabel-sub { font-family: var(--font-sans); font-size: 9px; fill: var(--ink-3); letter-spacing: .04em; pointer-events: none; }
.jmap-svg .leader { stroke: var(--ink-3); stroke-width: .6; }
@keyframes halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.8); opacity: 0; } }
.js .jmap-svg .pin { opacity: 0; transform: translateY(-6px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js .jmap.is-in .jmap-svg .pin { opacity: 1; transform: none; }
.jmap-tip { position: absolute; z-index: 3; pointer-events: none; background: var(--forest); color: #fff; font-size: 12.5px; padding: 8px 12px; white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .2s; letter-spacing: .06em; }
.jmap-tip.is-on { opacity: 1; }
.jmap-tip b { font-size: 16px; margin-left: 6px; }
.jmap-legend { position: absolute; left: 20px; top: 20px; display: grid; gap: 8px; font-size: 12px; color: var(--ink-2); }
.jmap-legend span { display: flex; align-items: center; gap: 8px; }
.jmap-legend i { width: 14px; height: 10px; }
.jmap-legend i.pin-i { width: 14px; height: 14px; border-radius: 50%; background: var(--forest); border: 2px solid #fff; }
.jmap-total { position: absolute; right: 20px; bottom: 20px; text-align: right; }
.jmap-total .v { font-size: clamp(48px, 5vw, 76px); font-weight: 200; line-height: 1; color: var(--forest); }
.jmap-total .v small { font-size: 16px; font-weight: 500; margin-left: 4px; }
.jmap-total .k { font-size: 12px; color: var(--ink-3); letter-spacing: .08em; margin-top: 6px; }
.jmap-panel { border-top: 1px solid var(--ink); }
.rtabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.rtab { padding: 16px 4px 14px; text-align: left; position: relative; }
.rtab .rt-name { display: block; font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--ink-3); transition: color .3s; }
.rtab .rt-count { display: block; font-size: 30px; font-weight: 300; line-height: 1.3; color: var(--ink-3); transition: color .3s; font-variant-numeric: tabular-nums; }
.rtab::after { content: ""; position: absolute; left: 0; right: 12px; bottom: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.rtab[aria-selected="true"] .rt-name, .rtab[aria-selected="true"] .rt-count, .rtab:hover .rt-name { color: var(--ink); }
.rtab[aria-selected="true"]::after { transform: none; }
.rpanel { padding-top: 30px; }
.rpanel[hidden] { display: none; }
.rpanel h3 { font-size: 22px; font-weight: 700; letter-spacing: .06em; margin-bottom: 4px; }
.rpanel .r-area { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
.rpanel p { font-size: 14.5px; line-height: 2; color: var(--ink-2); margin-bottom: 26px; }
.pref-bars { display: grid; gap: 4px; }
.pref-bars li { display: grid; grid-template-columns: 5.5em 1fr 3em; gap: 14px; align-items: center; font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); cursor: default; }
.pref-bars .pb { height: 10px; background: var(--mist); position: relative; }
.pref-bars .pb i { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--green); border-radius: 0 2px 2px 0; transform-origin: left; transition: transform .9s var(--ease-out); }
.pref-bars b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.pref-bars b small { font-size: 11px; color: var(--ink-3); margin-left: 2px; font-weight: 400; }
.pref-bars li.is-focus .pb i { background: var(--forest); }
.rpanel .note { margin-top: 14px; }
@media (max-width: 900px) {
  .jmap { grid-template-columns: minmax(0, 1fr); }
  .jmap-stage { aspect-ratio: 1 / 1.05; }
  .jmap-legend { left: 12px; top: 12px; }
  .jmap-total { right: 12px; bottom: 12px; }
  .rtab .rt-count { font-size: 24px; }
  .rtab .rt-name { font-size: 12.5px; }
}

/* ---------- 17. Vision ---------- */
.vision { position: relative; color: #fff; overflow: hidden; }
.vision-bg { position: absolute; inset: 0; }
.vision-bg img { width: 100%; height: 100%; object-fit: cover; }
.vision::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 26, 18, .82) 0%, rgba(8, 26, 18, .55) 55%, rgba(8, 26, 18, .15) 100%); }
.vision .wrap { position: relative; z-index: 2; }
.vision-quote { font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3.8vw, 58px); line-height: 1.65; letter-spacing: .08em; max-width: 15em; }
.vision-text { margin-top: 36px; max-width: 34em; color: rgba(255,255,255,.85); line-height: 2.1; font-size: 15.5px; }
.mission-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid rgba(255,255,255,.35); }
.mission { padding: 30px 24px 0 0; }
.mission + .mission { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.mission .m-num { font-size: 12px; letter-spacing: .16em; color: var(--leaf); }
.mission .m-key { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; margin: 10px 0 8px; line-height: 1.3; }
.mission p { font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mission:nth-child(3) { padding-left: 0; border-left: 0; } .mission { padding-bottom: 28px; } }
@media (max-width: 520px) { .mission-grid { grid-template-columns: minmax(0, 1fr); } .mission + .mission { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); } }

/* ---------- 18. Safety layers ---------- */
.safety { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.rings { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; margin: 0 auto; }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings .ring { fill: none; stroke: var(--line); stroke-width: 1; transition: stroke .4s, stroke-width .4s; }
.rings .ring-fill { fill: var(--sage); opacity: 0; transition: opacity .5s; }
.rings .ring-label { font-family: var(--font-sans); font-size: 11px; fill: var(--ink-3); letter-spacing: .06em; transition: fill .4s; }
.rings .core { fill: var(--forest); }
.rings .core-text { font-family: var(--font-sans); fill: #fff; font-size: 13px; text-anchor: middle; letter-spacing: .08em; font-weight: 500; }
.rings [data-layer].is-on .ring { stroke: var(--green); stroke-width: 2; }
.rings [data-layer].is-on .ring-fill { opacity: .55; }
.rings [data-layer].is-on .ring-label { fill: var(--deep); font-weight: 700; }
.js .rings .ring { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 2s var(--ease), stroke .4s, stroke-width .4s; }
.js .rings.is-in .ring { stroke-dashoffset: 0; }
.layer-list { border-top: 1px solid var(--line); }
.layer { display: grid; grid-template-columns: 48px 1fr; gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); cursor: default; transition: background .3s; }
.layer .l-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--green); grid-row: span 2; transition: background .3s, color .3s, border-color .3s; }
.layer .l-icon svg { width: 22px; height: 22px; }
.layer h3 { font-size: 16.5px; font-weight: 700; letter-spacing: .05em; line-height: 1.6; }
.layer p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.layer.is-on .l-icon { background: var(--green); color: #fff; border-color: var(--green); }
@media (max-width: 900px) { .safety { grid-template-columns: minmax(0, 1fr); } .rings { max-width: 420px; } }

/* ---------- 19. Company teaser ---------- */
.company { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 80px); align-items: stretch; }
.company-photo { position: relative; min-height: 520px; }
.company-photo .media { position: absolute; inset: 0; }
.company-photo figcaption { position: absolute; left: 0; bottom: 0; background: #fff; padding: 14px 22px 0 0; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; }
.facts { border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.85; }
.facts dt { color: var(--ink-3); font-size: 13px; }
.facts dd { color: var(--ink); }
.leaders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.leader { position: relative; border: 1px solid var(--line); padding: 26px 24px 24px; background: #fff; transition: border-color .2s, transform .3s var(--ease-out); }
.leader:hover { border-color: var(--green); transform: translateY(-4px); }
.leader .mono { width: 64px; height: 64px; border-radius: 50%; background: var(--sage); color: var(--deep); display: grid; place-items: center; font-family: var(--font-serif); font-size: 22px; font-weight: 600; margin-bottom: 22px; }
.leader .role { font-size: 12px; letter-spacing: .1em; color: var(--green); }
.leader .name { font-size: 21px; font-weight: 700; letter-spacing: .12em; margin: 4px 0 2px; }
.leader .name-en { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }
.leader .bio { font-size: 13px; color: var(--ink-2); line-height: 1.85; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .company { grid-template-columns: minmax(0, 1fr); } .company-photo { min-height: 0; aspect-ratio: 3 / 2; } }
@media (max-width: 520px) { .leaders { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 20. News ---------- */
.news-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.news-feature { display: block; }
.news-feature .media { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.news-feature .media img { transition: transform .6s var(--ease-out); }

.news-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; margin-bottom: 10px; }
.news-meta time { font-variant-numeric: tabular-nums; }
.news-feature h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.7; letter-spacing: .04em; transition: color .3s; }
.news-feature:hover h3 { color: var(--green); }
.news-list { border-top: 1px solid var(--ink); }
.news-row { display: grid; grid-template-columns: 120px 1fr 36px; gap: 8px 22px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-row .thumb { width: 120px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.news-row .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-row h3 { font-size: 15.5px; font-weight: 500; line-height: 1.75; letter-spacing: .04em; transition: color .3s; }
.news-row .go { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, border-color .3s, color .3s; }
.news-row .go svg { width: 12px; height: 9px; }
.news-row:hover h3 { color: var(--green); }
.news-row:hover .go { background: var(--green); border-color: var(--green); color: #fff; }
.news-row .news-meta { margin-bottom: 4px; }
.news-row--noimg { grid-template-columns: 1fr 36px; }
@media (max-width: 900px) { .news-layout { grid-template-columns: minmax(0, 1fr); } .news-row { grid-template-columns: 88px 1fr; } .news-row .thumb { width: 88px; } .news-row .go { display: none; } .news-row--noimg { grid-template-columns: minmax(0, 1fr); } }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.news-filter button { height: 38px; padding: 0 18px; border: 1px solid var(--line-strong); font-size: 13px; letter-spacing: .08em; color: var(--ink-2); transition: background-color .15s, color .15s, border-color .15s; }
.news-filter button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.news-filter button .c { font-size: 11px; margin-left: 6px; opacity: .7; }
.news-row[hidden] { display: none; }
.insights { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.insight { background: #fff; padding: 26px 22px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; transition: background .2s; }
.insight:hover { background: var(--paper); }
.insight .i-num { font-size: 11px; letter-spacing: .14em; color: var(--green); }
.insight h3 { font-size: 15.5px; font-weight: 700; line-height: 1.75; letter-spacing: .04em; flex: 1; }
.insight .i-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--ink-3); }
@media (max-width: 1080px) { .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .insights { grid-template-columns: minmax(0, 1fr); } .insight { min-height: 0; } }

/* ---------- 21. Careers ---------- */
.careers { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.mosaic { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(420px, 44vw, 620px); }
.mosaic .media:first-child { grid-row: span 2; }
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 32px 0 40px; }
.areas li { background: #fff; padding: 18px 20px; font-size: 14.5px; font-weight: 500; letter-spacing: .05em; display: flex; justify-content: space-between; gap: 8px; }
.areas li span { font-size: 11px; color: var(--green); letter-spacing: .12em; }
.career-stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 28px; }
.career-stats div .v { font-size: clamp(40px, 4vw, 56px); font-weight: 300; line-height: 1.1; color: var(--forest); }
.career-stats div .v small { font-size: 14px; margin-left: 4px; font-weight: 500; }
.career-stats div .k { font-size: 12.5px; color: var(--ink-3); letter-spacing: .08em; }
@media (max-width: 900px) { .careers { grid-template-columns: minmax(0, 1fr); } .mosaic { height: 440px; } }

/* ---------- 22. CTA ---------- */
.cta { position: relative; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8, 26, 18, .72), rgba(8, 26, 18, .88)); }
.cta .wrap { position: relative; z-index: 2; }
.cta-title { font-family: var(--font-sans); font-weight: 700; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.5; letter-spacing: .06em; }
.cta-lead { margin-top: 22px; color: rgba(255,255,255,.82); max-width: 36em; line-height: 2.05; }
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); margin-top: clamp(48px, 6vw, 80px); }
.aud { position: relative; display: flex; flex-direction: column; gap: 14px; background: rgba(8, 26, 18, .5); padding: clamp(24px, 3vw, 40px); min-height: 280px; transition: background .25s var(--ease); }
.aud:hover { background: rgba(0, 133, 60, .55); }
.aud .a-icon { width: 44px; height: 44px; color: var(--leaf); }
.aud .a-for { font-size: 12px; letter-spacing: .14em; color: rgba(255,255,255,.7); }
.aud h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.aud p { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.9; flex: 1; }
.aud .a-go { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; letter-spacing: .08em; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); }
.aud .a-go svg { width: 18px; height: 10px; transition: transform .4s var(--ease-out); }
.aud:hover .a-go svg { transform: translateX(6px); }
@media (max-width: 900px) { .audiences { grid-template-columns: minmax(0, 1fr); } .aud { min-height: 0; } }

/* ---------- 23. Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,.78); padding: clamp(64px, 8vw, 104px) 0 32px; font-size: 13.5px; }
.ft-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgba(255,255,255,.14); }
.ft-logo { width: 220px; margin-bottom: 26px; }
.ft-tagline { font-family: var(--font-serif); font-size: 17px; color: #fff; letter-spacing: .1em; line-height: 1.8; margin-bottom: 22px; }
.ft-addr { font-style: normal; line-height: 2; font-size: 13px; }
.ft-addr a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.ft-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.ft-nav h2 { font-size: 13.5px; color: #fff; font-weight: 700; letter-spacing: .1em; margin-bottom: 14px; }
.ft-nav h2 a:hover { color: var(--leaf); }
.ft-nav li a { display: inline-block; padding: 4px 0; font-size: 12.5px; color: rgba(255,255,255,.66); transition: color .3s; }
.ft-nav li a:hover { color: #fff; }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 12px; color: rgba(255,255,255,.55); }
.ft-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft-bottom a:hover { color: #fff; }
.ft-social { display: flex; gap: 10px; margin-top: 24px; }
.ft-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.ft-social a:hover { background: rgba(255,255,255,.12); }
.ft-social svg { width: 15px; height: 15px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, visibility .3s, transform .3s var(--ease-out); }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .ft-top { grid-template-columns: minmax(0, 1fr); } .ft-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 24. Subpage components ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.two-col--top { align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }

.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; counter-reset: p; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 36px; height: 1px; background: var(--line-strong); }
.p-step { position: relative; padding: 0 18px 0 0; }
.p-step .p-dot { position: relative; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--green); margin-bottom: 26px; transition: background .4s, color .4s, border-color .4s; }
.p-step .p-dot svg { width: 28px; height: 28px; }
.p-step:hover .p-dot, .p-step.is-in .p-dot { border-color: var(--green); }
.p-step .p-num { font-size: 12px; letter-spacing: .14em; color: var(--green); }
.p-step h3 { font-size: 18px; font-weight: 700; letter-spacing: .06em; margin: 6px 0 8px; line-height: 1.5; }
.p-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.process-line { position: absolute; left: 0; top: 36px; height: 2px; margin-top: -.5px; width: 100%; background: var(--green); transform-origin: left; }
@media (max-width: 900px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process::before, .process-line { left: 36px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process-line { width: 2px; transform-origin: top; }
  .js .process-line.rv-line { transform: scaleY(0); }
  .js .process-line.rv-line.is-in { transform: none; }
  .p-step { display: grid; grid-template-columns: 72px 1fr; gap: 0 20px; padding: 0 0 28px; }
  .p-step .p-dot { margin-bottom: 0; grid-row: span 3; }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.feature { display: flex; flex-direction: column; }
.feature .media { aspect-ratio: 3 / 2; margin-bottom: 22px; }
.feature .f-num { font-size: 12px; color: var(--green); letter-spacing: .14em; margin-bottom: 8px; }
.feature h3 { font-size: 19px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .feature-grid--2 { grid-template-columns: minmax(0, 1fr); } }

.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.case { border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.case .media { aspect-ratio: 16 / 10; }
.case .c-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case .c-pref { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.case h3 { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.case p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; flex: 1; }
.case .c-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: 6px; }
.case .c-specs div { padding: 14px 0 0; }
.case .c-specs div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.case .c-specs dt { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.case .c-specs dd { font-size: 26px; font-weight: 300; line-height: 1.3; color: var(--forest); }
.case .c-specs dd small { font-size: 12px; margin-left: 2px; font-weight: 500; }
.case-type { display: grid; place-items: center; background: var(--forest); color: #fff; aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.case-type svg { width: 42%; opacity: .95; }
@media (max-width: 900px) { .case-grid { grid-template-columns: minmax(0, 1fr); } }

.region-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.rcard { background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.rcard .rc-map { height: 150px; display: grid; place-items: center; margin-bottom: 6px; }
.rcard .rc-map svg { height: 100%; width: auto; }
.rcard .rc-map .pref { fill: #e3e9e5; stroke: #fff; stroke-width: .4; }
.rcard .rc-map .pref.on { fill: var(--emerald); }
.rcard .rc-count { font-size: 44px; font-weight: 200; color: var(--forest); line-height: 1; }
.rcard .rc-count small { font-size: 13px; font-weight: 500; margin-left: 4px; }
.rcard h3 { font-size: 18px; font-weight: 700; letter-spacing: .06em; }
.rcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 1080px) { .region-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .region-cards { grid-template-columns: minmax(0, 1fr); } }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.stat-row > div { padding: 28px 24px 8px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-row .v { font-size: clamp(44px, 5vw, 76px); font-weight: 200; line-height: 1.1; color: var(--forest); font-variant-numeric: tabular-nums; }
.stat-row .v small { font-size: 14px; font-weight: 500; margin-left: 4px; }
.stat-row .k { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.8; }
@media (max-width: 900px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; } .stat-row > div { border-bottom: 1px solid var(--line); padding-bottom: 20px; } }

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 36px 1fr 28px; gap: 12px; align-items: center; padding: 24px 0; font-size: 16.5px; font-weight: 500; letter-spacing: .04em; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-serif); color: var(--green); font-size: 20px; }
.faq summary .pm { width: 28px; height: 28px; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease-out); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .a { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 0 40px 28px 0; font-size: 14.5px; color: var(--ink-2); line-height: 2; }
.faq .a::before { content: "A"; font-family: var(--font-serif); color: var(--ink-3); font-size: 20px; line-height: 1.5; }
.faq .a a { color: var(--green); border-bottom: 1px solid currentColor; }

.table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.table th, .table td { text-align: left; padding: 22px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.9; }
.table th { width: 11em; font-weight: 500; color: var(--ink-3); font-size: 14px; padding-right: 24px; }
@media (max-width: 600px) { .table th, .table td { display: block; width: auto; padding: 0; border: 0; } .table th { padding-top: 18px; font-size: 12.5px; } .table td { padding: 4px 0 18px; border-bottom: 1px solid var(--line); } }

.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.office { background: #fff; padding: 30px 26px; }
.office .o-city { font-size: 12px; letter-spacing: .14em; color: var(--green); }
.office h3 { font-size: 20px; font-weight: 700; letter-spacing: .08em; margin: 6px 0 12px; }
.office address { font-style: normal; font-size: 14px; color: var(--ink-2); line-height: 1.95; }
@media (max-width: 900px) { .offices { grid-template-columns: minmax(0, 1fr); } }

.member { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.member:first-child { border-top: 1px solid var(--ink); }
.member .mono-lg { width: 100%; aspect-ratio: 1; max-width: 280px; background: var(--paper); display: grid; place-items: center; font-family: var(--font-serif); font-size: clamp(56px, 6vw, 88px); color: var(--deep); position: relative; }
.member .mono-lg::after { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line); }
.member .role { font-size: 13px; color: var(--green); letter-spacing: .1em; }
.member h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; letter-spacing: .14em; margin: 6px 0 2px; }
.member .en { font-size: 12.5px; color: var(--ink-3); letter-spacing: .12em; margin-bottom: 22px; }
.member .bio { font-size: 15px; color: var(--ink-2); line-height: 2.05; margin-bottom: 24px; }
.member dl { display: grid; grid-template-columns: 5em 1fr; gap: 8px 20px; font-size: 13.5px; line-height: 1.85; border-top: 1px solid var(--line); padding-top: 20px; }
.member dt { color: var(--ink-3); }
@media (max-width: 800px) { .member { grid-template-columns: minmax(0, 1fr); } .member .mono-lg { max-width: 140px; font-size: 48px; } }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.gallery .media:nth-child(1) { grid-column: span 7; aspect-ratio: 3 / 2; }
.gallery .media:nth-child(2) { grid-column: span 5; aspect-ratio: auto; }
.gallery .media:nth-child(3) { grid-column: span 5; aspect-ratio: 3 / 2; }
.gallery .media:nth-child(4) { grid-column: span 7; aspect-ratio: auto; }
@media (max-width: 700px) { .gallery .media { grid-column: span 12 !important; aspect-ratio: 3 / 2 !important; } }

.video-block { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.video-block video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.05)); }
.video-play span { width: 88px; height: 88px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); display: grid; place-items: center; transition: transform .5s var(--ease-out), background .3s; }
.video-play:hover span { transform: scale(1.08); background: rgba(255,255,255,.15); }
.video-play svg { width: 22px; height: 22px; margin-left: 4px; }
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

.split-banner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--paper); }
.split-banner .media { min-height: 420px; }
.split-banner .sb-body { padding: clamp(40px, 6vw, 88px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
@media (max-width: 900px) { .split-banner { grid-template-columns: minmax(0, 1fr); } .split-banner .media { min-height: 260px; } }

.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); counter-reset: s3; }
.steps3 li { padding: 30px 28px 8px 0; position: relative; }
.steps3 li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps3 .s-n { font-size: clamp(44px, 4.4vw, 64px); font-weight: 200; color: var(--green); line-height: 1; margin-bottom: 18px; }
.steps3 h3 { font-size: 18px; font-weight: 700; letter-spacing: .06em; margin-bottom: 6px; }
.steps3 p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 800px) { .steps3 { grid-template-columns: minmax(0, 1fr); } .steps3 li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* contact form */
.form-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); }
.type-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.type-picker label { position: relative; cursor: pointer; }
.type-picker input { position: absolute; opacity: 0; inset: 0; }
.type-picker span { display: flex; flex-direction: column; gap: 4px; height: 100%; border: 1px solid var(--line-strong); padding: 16px 16px 14px; font-size: 14px; font-weight: 500; letter-spacing: .04em; line-height: 1.5; transition: border-color .3s, background .3s; }
.type-picker span small { font-size: 11.5px; color: var(--ink-3); font-weight: 400; }
.type-picker input:checked + span { border-color: var(--green); background: var(--sage); box-shadow: inset 0 0 0 1px var(--green); }
.type-picker input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 2px; }
@media (max-width: 700px) { .type-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; grid-template-columns: 11em 1fr; gap: 12px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.field:first-of-type { border-top: 1px solid var(--ink); }
.field > label, .field > .flabel { font-size: 14.5px; font-weight: 500; padding-top: 12px; letter-spacing: .04em; }
.req { display: inline-block; margin-left: 8px; font-size: 10.5px; padding: 1px 6px; background: var(--green); color: #fff; vertical-align: 2px; letter-spacing: .08em; font-weight: 500; }
.opt { display: inline-block; margin-left: 8px; font-size: 10.5px; padding: 0 6px; border: 1px solid var(--line-strong); color: var(--ink-3); vertical-align: 2px; letter-spacing: .08em; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 0; color: var(--ink); transition: border-color .3s, background .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { min-height: 200px; resize: vertical; }
.field .err { grid-column: 2; font-size: 12.5px; color: #b3261e; display: none; }
.field.is-invalid .err { display: block; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.consent { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 36px 0 24px; font-size: 14px; }
.consent input { width: 20px; height: 20px; accent-color: var(--green); }
.consent a { color: var(--green); border-bottom: 1px solid currentColor; }
.form-submit { display: flex; justify-content: center; }
.form-status { text-align: center; margin-top: 18px; font-size: 14px; }
@media (max-width: 800px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .field { grid-template-columns: minmax(0, 1fr); gap: 8px; } .field .err { grid-column: 1; } .field > label, .field > .flabel { padding-top: 0; } }

.prose { max-width: 820px; }
.prose h2 { font-size: 20px; font-weight: 700; letter-spacing: .06em; margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose p, .prose li { font-size: 15px; line-height: 2; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.4em; margin: 8px 0; }
.prose a { color: var(--green); border-bottom: 1px solid currentColor; }

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv, .js .rv-img, .js .rv-img img, .js .rv-text .split-line > span, .js .hero-visual { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- 26. Additional components ---------- */
.hero-data .hd-note { border-left: 0 !important; }
.hero-data .hd-note dd { font-size: inherit; font-weight: 400; color: inherit; line-height: 1.5; }
.thumb--graphic { background: var(--mist); }
.news-page .news-list { border-top: 1px solid var(--ink); }

/* problem chain */
.chain { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.chain-item { position: relative; padding: 28px 22px 20px 0; }
.chain-item + .chain-item { padding-left: 22px; border-left: 1px solid var(--line); }
.chain-item + .chain-item::before { content: ""; position: absolute; left: -6px; top: 44px; width: 11px; height: 11px; border-top: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong); background: var(--paper); transform: rotate(45deg); }
.chain-item .ch-num { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.chain-item svg { width: 48px; height: 48px; color: var(--deep); margin: 16px 0 18px; }
.chain-item h3 { font-size: 17px; font-weight: 700; letter-spacing: .05em; line-height: 1.6; margin-bottom: 8px; }
.chain-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.chain-item--key { background: var(--forest); color: #fff; padding-left: 22px !important; }
.chain-item--key svg { color: var(--leaf); }
.chain-item--key p { color: rgba(255,255,255,.82); }
.chain-item--key .ch-num { color: var(--leaf); }
@media (max-width: 1080px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chain-item { border-bottom: 1px solid var(--line); } .chain-item + .chain-item::before { display: none; } .chain-item:nth-child(odd) { padding-left: 0; border-left: 0; } .chain-item--key { grid-column: 1 / -1; } }
@media (max-width: 600px) { .chain { grid-template-columns: minmax(0, 1fr); } .chain-item + .chain-item { padding-left: 0; border-left: 0; } }

/* compare (business) */
.compare { border-top: 1px solid var(--ink); }
.cmp-row { display: grid; grid-template-columns: 15em 1fr; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.cmp-label { font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.5; }
.cmp-label small { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); margin-top: 4px; }
.cmp-row--us .cmp-label { color: var(--deep); }
.cmp-bars { display: flex; gap: 8px; }
.cmp-one { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--forest); color: #fff; height: 64px; align-items: center; position: relative; overflow: hidden; }
.cmp-one i { font-style: normal; font-size: 13px; text-align: center; letter-spacing: .04em; position: relative; }
.cmp-one i + i::before { content: ""; position: absolute; left: 0; top: -8px; bottom: -8px; width: 1px; background: rgba(255,255,255,.18); }
.cmp-seg { flex: 1; height: 64px; display: grid; place-items: center; border: 1px dashed var(--line-strong); font-size: 13px; color: var(--ink-3); position: relative; }
.js .compare .cmp-one { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-out) .2s; }
.js .compare.is-in .cmp-one { clip-path: inset(0 0 0 0); }
.compare figcaption { padding-top: 12px; }
@media (max-width: 800px) { .cmp-row { grid-template-columns: minmax(0, 1fr); gap: 12px; } .cmp-one { grid-template-columns: minmax(0, 1fr); height: auto; padding: 8px 0; } .cmp-one i { padding: 8px 0; } .cmp-one i + i::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; } .cmp-bars { flex-direction: column; } .cmp-seg { height: 44px; } }

/* info panel (LTDA) */
.info-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.info-figure { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 48px); }
.if-v { font-size: clamp(64px, 7vw, 104px); font-weight: 200; color: var(--forest); line-height: 1; }
.if-v small { font-size: 16px; font-weight: 500; margin-left: 6px; }
.if-k { font-size: 13px; color: var(--ink-2); margin: 8px 0 22px; }
.if-timeline { height: 10px; background: var(--mist); position: relative; }
.if-timeline span { position: absolute; left: 10%; right: 0; top: 0; bottom: 0; background: repeating-linear-gradient(90deg, var(--emerald) 0 calc(5% - 2px), transparent calc(5% - 2px) 5%); transform-origin: left; }
.js .if-timeline span { transform: scaleX(0); transition: transform 2s var(--ease-out) .3s; }
.js .info-panel.is-in .if-timeline span { transform: none; }
.if-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 8px; }
.if-scale span:nth-child(2) { margin-left: 4%; margin-right: auto; }
@media (max-width: 800px) { .info-panel { grid-template-columns: minmax(0, 1fr); } .info-figure { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; } }

.benefits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.benefits li { background: #fff; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.benefits strong { font-size: 15px; letter-spacing: .05em; color: var(--deep); }
.benefits span { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 1080px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .benefits { grid-template-columns: minmax(0, 1fr); } }

.process-wrap { position: relative; }

/* safety subpage */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.principle { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); position: relative; transition: border-color .4s; }
.principle:hover { border-color: var(--green); }
.principle .pr-num { position: absolute; right: 24px; top: 20px; font-size: 12px; color: var(--ink-3); letter-spacing: .12em; }
.principle svg { width: 64px; height: 64px; color: var(--green); margin-bottom: 24px; }
.principle h3 { font-size: 19px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.principle p { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 900px) { .principles { grid-template-columns: minmax(0, 1fr); } }

.vflow { border-top: 1px solid var(--ink); }
.vf-head { font-size: 13px; letter-spacing: .12em; color: var(--green); font-weight: 500; padding: 22px 0 6px; }
.vflow ol { position: relative; margin-left: 6px; }
.vflow ol::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 26px; width: 1px; background: var(--line-strong); }
.vflow li { position: relative; padding: 12px 0 14px 30px; display: flex; flex-direction: column; }
.vflow strong { font-size: 16px; letter-spacing: .05em; }
.vflow li > span:last-child { font-size: 13px; color: var(--ink-3); }
.vf-dot { position: absolute; left: -5px; top: 19px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 2px solid var(--green); }
.vf-dot--key { background: var(--green); }
.js .vflow li { opacity: 0; transform: translateX(-10px); transition: opacity .8s var(--ease), transform .9s var(--ease-out); }
.js .vflow.is-in li { opacity: 1; transform: none; }
.js .vflow.is-in ol li:nth-child(2) { transition-delay: .12s; }
.js .vflow.is-in ol li:nth-child(3) { transition-delay: .24s; }

.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.steps4 li { padding: 28px 22px 8px 0; position: relative; }
.steps4 li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.steps4 .s4-n { display: block; font-size: clamp(40px, 4vw, 56px); font-weight: 200; color: var(--green); line-height: 1; margin-bottom: 16px; }
.steps4 h3 { font-size: 17px; font-weight: 700; letter-spacing: .05em; margin-bottom: 8px; }
.steps4 p { font-size: 13.5px; color: var(--ink-2); line-height: 1.95; }
.steps4 .chip { margin: 2px 0; }
@media (max-width: 900px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps4 li:nth-child(3) { padding-left: 0; border-left: 0; } .steps4 li { border-bottom: 1px solid var(--line); padding-bottom: 20px; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: minmax(0, 1fr); } .steps4 li + li { padding-left: 0; border-left: 0; } }

/* about */
.statement { font-family: var(--font-serif); font-weight: 600; font-size: clamp(32px, 5vw, 72px); line-height: 1.55; letter-spacing: .08em; color: var(--forest); }
.mission-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.mission-list li { border-top: 2px solid var(--forest); padding-top: 24px; position: relative; }
.mission-list .ml-n { font-size: 12px; color: var(--ink-3); letter-spacing: .12em; }
.mission-list .ml-key { font-size: clamp(40px, 4vw, 60px); font-weight: 200; color: var(--green); line-height: 1.2; margin: 10px 0 14px; }
.mission-list .ml-key small { font-size: .4em; font-weight: 500; margin-left: 4px; }
.mission-list h3 { font-size: 17px; font-weight: 700; letter-spacing: .05em; margin-bottom: 8px; }
.mission-list p { font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 900px) { .mission-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .mission-list { grid-template-columns: minmax(0, 1fr); } }
.constraints { border-top: 1px solid rgba(255,255,255,.35); }
.constraints li { display: flex; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: clamp(16px, 1.5vw, 20px); letter-spacing: .05em; }
.constraints li span { font-size: 12px; color: var(--leaf); letter-spacing: .12em; }
.js .constraints li { opacity: 0; transform: translateX(16px); transition: opacity .8s var(--ease), transform 1s var(--ease-out); }
.js .constraints.is-in li { opacity: 1; transform: none; }
.js .constraints.is-in li:nth-child(2) { transition-delay: .1s; }
.js .constraints.is-in li:nth-child(3) { transition-delay: .2s; }
.js .constraints.is-in li:nth-child(4) { transition-delay: .3s; }
.js .constraints.is-in li:nth-child(5) { transition-delay: .4s; }

/* company */
.offices-map { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.om-map { aspect-ratio: 1 / .9; }
.om-svg { width: 100%; height: 100%; }
.om-label { font-family: var(--font-sans); font-size: 13px; font-weight: 700; fill: var(--ink); letter-spacing: .06em; paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.om-arc { }
.offices-map .offices { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) { .offices-map { grid-template-columns: minmax(0, 1fr); } .om-map { max-width: 460px; width: 100%; margin: 0 auto; } }

/* news media */
.media-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.media-list { border-top: 1px solid rgba(255,255,255,.35); }
.media-list li { display: grid; grid-template-columns: 6em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 14.5px; line-height: 1.8; }
.media-list time { color: var(--leaf); font-size: 13px; letter-spacing: .08em; }
@media (max-width: 900px) { .media-grid { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact-card { position: sticky; top: calc(var(--header-h) + 24px); }
.field--stack { display: block; padding: 0 0 26px; border-top: 0 !important; }
.field--stack legend { padding: 0; margin-bottom: 16px; }
.field--stack + .field { border-top: 1px solid var(--ink); }
@media (max-width: 800px) { .contact-card { position: static; } }

/* ---------- 27. Japanese line breaking & fallbacks ---------- */
h1, h2, h3, .lead, .ph-lead, .hero-lead, .cta-lead, .vision-text { word-break: auto-phrase; }
p, dd, li { line-break: strict; }
.hs:not(.is-pinned) .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.hs:not(.is-pinned) .cap-card { scroll-snap-align: start; }
html { overflow-x: clip; }
@media (max-width: 600px) {
  .career-stats { flex-wrap: wrap; gap: 20px 28px; }
  .areas { grid-template-columns: minmax(0, 1fr); }
  .bigstat .v { font-size: clamp(48px, 15vw, 64px); }
  .h-section { font-size: clamp(25px, 7.4vw, 32px); }
}
.drawer { inset: 0; padding-top: var(--header-h); }
.flow-play { white-space: nowrap; }
@media (max-width: 600px) {
  .jmap-stage { aspect-ratio: auto; display: flex; flex-direction: column; }
  .jmap-stage .jmap-svg { order: 2; height: auto; aspect-ratio: 1 / .92; }
  .jmap-legend { position: static; order: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 14px 14px 0; font-size: 11px; }
  .jmap-total { display: none; }
  .flow-controls { flex-wrap: wrap; }
}
.ph-title { font-size: clamp(34px, 4.6vw, 64px); }
@media (min-width: 901px) { .ph-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.mega-fig figcaption { left: auto; right: 8px; bottom: 6px; background: none; padding: 0; color: rgba(255,255,255,.92); text-shadow: 0 1px 4px rgba(0,0,0,.5); font-size: 10.5px; }
.case-type .casemap { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-map-label { position: absolute; right: 16px; bottom: 14px; z-index: 1; font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.85); }

/* ---------- 28. Performance: pause hero loops off screen ---------- */
.hero.is-paused .hero-slide img, .hero.is-paused .hero-scroll span.bar::after, .hero.is-paused .hero-dots button::after { animation-play-state: paused; }

/* ---------- 29. Layout tightening (QA pass) ---------- */
/* heading + single link on one row (home news) */
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.section-head--row .eyebrow { margin-bottom: 18px; }

/* news page: header row on top, list in two columns so neither side sits empty */
.news-page { display: block; }
.news-page .news-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.news-page .news-side .eyebrow { grid-column: 1 / -1; }
.news-page .news-side h2 { grid-column: 1; }
.news-page .news-side .news-filter { grid-column: 2; margin: 0 !important; justify-content: flex-end; }
.news-page .news-side .note { grid-column: 1 / -1; margin-top: 14px; }
.news-page .news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); align-content: start; }
@media (max-width: 1000px) {
  .news-page .news-side { grid-template-columns: minmax(0, 1fr); }
  .news-page .news-side .news-filter { grid-column: 1; justify-content: flex-start; margin-top: 20px !important; }
  .news-page .news-list { grid-template-columns: minmax(0, 1fr); }
}

/* short intro column beside a long column: keep it in view instead of leaving a void */
@media (min-width: 901px) {
  .two-col--top:not(.news-page) > :first-child:not(.media) { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
}

/* leadership: smaller monogram block */
.member { padding: clamp(32px, 4vw, 48px) 0; }
@media (min-width: 801px) {
  .member { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
  .member .mono-lg { max-width: 200px; font-size: clamp(44px, 4.4vw, 64px); }
}
.video-play { isolation: isolate; }
@media (min-width: 901px) {
  .offices-map { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: stretch; }
  .om-map { aspect-ratio: auto; min-height: 420px; }
}
@media (max-width: 900px) { .om-map { aspect-ratio: 1 / .85; } }
@media (max-width: 600px) { .section { padding: 56px 0; } }
@media (max-width: 600px) {
  .bigstat .k br, .stat-row .k br { display: none; }
  .bigstat .k { font-size: 12.5px; }
  .bigstat-row { gap: 20px; }
}

/* =====================================================================
   30. Typography: Mincho/serif for numbers and English accents
   Japanese copy stays in Noto Sans JP; numerals, units written in Latin
   letters and short English labels use Noto Serif JP (lining figures).
   ===================================================================== */
:root { --font-num: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; }
.num-serif,
.bigstat .v, .intro-stats .v, .scale-cell .v, .stat-row .v, .keynums dd, .hero-data dd, .jmap-total .v,
.rt-count, .rc-count, .case .c-specs dd, .if-v, .career-stats .v, .steps3 .s-n, .steps4 .s4-n,
.day-read dd, .region-bars b, .pref-bars b {
  font-family: var(--font-num); font-weight: 400; letter-spacing: 0; font-feature-settings: "lnum" 1, "pnum" 1;
}
.bigstat .v, .intro-stats .v, .scale-cell .v, .stat-row .v, .keynums dd, .jmap-total .v, .if-v, .career-stats .v, .rc-count { font-weight: 300; }
/* Japanese pieces inside number blocks (約, 件, エリア …) use the same Mincho as the numerals */
.num-serif small, .bigstat .v small, .intro-stats .v small, .scale-cell .v small, .stat-row .v small, .keynums dd small, .hero-data dd small,
.jmap-total .v small, .rc-count small, .case .c-specs dd small, .if-v small, .career-stats .v small, .day-read dd small, .pref-bars b small, .jp {
  font-family: var(--font-num); font-weight: 400; letter-spacing: .04em;
}
/* Latin units (TWh, GWh, MW, MWh, %) follow the numerals */
small.u-lat, .unit-serif { font-family: var(--font-num) !important; font-weight: 400 !important; letter-spacing: .02em !important; }
/* English accents and numbering */
.eyebrow .num, .mega-kicker, .ml-num, .dr-num, .hero-scroll, .cap-num, .f-num, .p-num, .pr-num, .ch-num, .m-num, .ml-n,
.o-city, .leader .name-en, .member .en, .gateway-en, .pillar-num, .hs-progress, .num-font, .news-meta time, .insight time, .ms time {
  font-family: var(--font-num); font-feature-settings: "lnum" 1;
}
.eyebrow .num { font-size: 14px; letter-spacing: .06em; }
.mega-kicker, .gateway-en, .o-city, .m-num { letter-spacing: .12em; }
.news-meta time { font-size: 13px; letter-spacing: .04em; }

/* =====================================================================
   31. Homepage (simplified gateway)
   ===================================================================== */
.section-head-link { display: flex; flex-wrap: wrap; gap: 8px 28px; padding-bottom: 10px; }

/* 01 why storage */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.intro-copy .lead { margin-top: 24px; }
.intro-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 36px 0 40px; }
.intro-stats > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.intro-stats .v { font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--forest); display: flex; align-items: baseline; gap: 6px; }
.intro-stats .v small { font-size: 14px; color: var(--ink-2); }
.intro-stats .k { margin-top: 12px; font-size: 13px; color: var(--ink-2); line-height: 1.75; }
.intro-visual .flow-stage { padding: clamp(10px, 1.6vw, 22px); }
.intro-visual figcaption { margin-top: 10px; }
.flow--static .fl-solar { stroke-dashoffset: 0 !important; }
.flow--static .fl-surplus { opacity: 1; fill: rgba(25,164,99,.28); }
.flow--static .fl-evening { opacity: .75; }
.flow--static .fl-battery { opacity: 1; transform: none; }
.flow--static .fl-battery-level { transform: scaleY(.6); }
.flow--static .fl-arrow, .flow--static .lb-surplus, .flow--static .lb-discharge { opacity: 1; }
.flow--static .fl-label { font-size: 17px; }
@media (max-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1fr); }
  .flow--static .fl-label { font-size: 26px; }
}

/* 02 business pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pillar { position: relative; display: block; overflow: hidden; background: var(--forest); color: #fff; }
.pillar .media { aspect-ratio: 4 / 3.4; }
.pillar .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 24, 16, 0) 35%, rgba(8, 24, 16, .78)); }
.pillar .media img { transition: transform .5s var(--ease-out); }

.pillar-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 26px 26px; z-index: 1; }
.pillar-num { font-size: 15px; opacity: .85; margin-bottom: 6px; }
.pillar h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 700; letter-spacing: .06em; line-height: 1.5; margin-bottom: 6px; }
.pillar-body p:last-child { font-size: 13px; line-height: 1.8; opacity: .9; }
@media (max-width: 900px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar .media { aspect-ratio: 16 / 10; }
}

/* 03 projects preview */
.proj { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.jmap--preview { display: block; }
.jmap--preview .jmap-stage { aspect-ratio: 1 / .86; }
.proj-copy .lead { margin-top: 20px; }
.keynums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0 12px; border-top: 1px solid var(--ink); }
.keynums > div { padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.keynums > div:nth-child(odd) { padding-right: 20px; }
.keynums > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.keynums dt { font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em; }
.keynums dd { font-size: clamp(40px, 3.8vw, 56px); line-height: 1.15; color: var(--forest); }
.keynums dd small { font-size: 13px; margin-left: 4px; color: var(--ink-2); }
@media (max-width: 900px) {
  .proj { grid-template-columns: minmax(0, 1fr); }
  .proj-copy { order: -1; }
}

/* 04 vision (compact) */
.vision--compact { padding: clamp(96px, 11vw, 160px) 0; }

/* 05 gateways */
.gateways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gateway { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; transition: border-color .2s; }
.gateway:hover { border-color: var(--green); }
.gateway .media { aspect-ratio: 16 / 10; }
.gateway .media img { transition: transform .5s var(--ease-out); }

.gateway-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.gateway-en { font-size: 12px; color: var(--green); }
.gateway h3 { font-size: 20px; font-weight: 700; letter-spacing: .06em; }
.gateway-body > p:not(.gateway-en) { font-size: 13.5px; color: var(--ink-2); line-height: 1.85; flex: 1; }
.gateway-go { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--forest); letter-spacing: .06em; }
.gateway-go svg { width: 18px; height: 10px; transition: transform .25s var(--ease-out); }
.gateway:hover .gateway-go svg { transform: translateX(5px); }
@media (max-width: 900px) { .gateways { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .section-head--row { flex-direction: column; align-items: flex-start; } }

/* =====================================================================
   32. 24-hour chart: fits in one screen on desktop
   ===================================================================== */
@media (min-width: 1000px) {
  .day { display: grid; grid-template-columns: 210px minmax(0, 1fr); grid-template-areas: "top top" "read chart" "read range" "legend legend" "desc desc"; }
  .day-top { grid-area: top; padding-top: 14px; padding-bottom: 14px; }
  .day-read { grid-area: read; grid-template-columns: minmax(0, 1fr); border-bottom: 0; border-right: 1px solid var(--line); align-content: start; }
  .day-read div { padding: 12px 20px; }
  .day-read div + div { border-left: 0; border-top: 1px solid var(--line); }
  .day-read dd { font-size: 24px; }
  .day-chart-wrap { grid-area: chart; padding-top: 10px; }
  .day-range { grid-area: range; }
  .day-legend { grid-area: legend; padding-top: 12px; padding-bottom: 12px; gap: 6px 18px; font-size: 12px; }
  .day-desc { grid-area: desc; padding-top: 12px; padding-bottom: 14px; }
}
@media (max-width: 767px) {
  .day-read { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .day-read div { padding: 10px 12px; }
  .day-read div:nth-child(1) { grid-column: auto; }
  .day-read div:nth-child(n) { border-left: 0; border-top: 0; }
  .day-read div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .day-read div:nth-child(3n+2), .day-read div:nth-child(3n+3) { border-left: 1px solid var(--line); }
  .day-read dd { font-size: 20px; }
  .day-state { font-size: 13px !important; }
  .day-legend { font-size: 11.5px; gap: 6px 14px; }
  .day-top { padding: 12px 14px; }
  .seg button { padding: 0 16px; }
}
.day-read dd.day-state { font-family: var(--font-sans); letter-spacing: .04em; }
.flow--static { display: block; }
#news .news-layout { align-items: center; }
#news .news-feature .media { aspect-ratio: 16 / 10; margin-bottom: 18px; }
#news .news-list .news-row { padding: 26px 0; }
.intro-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 6px; font-size: 13px; color: var(--ink-2); }
.intro-legend span { display: inline-flex; align-items: center; gap: 8px; }
.intro-legend i { width: 14px; height: 10px; }
.intro-legend .lg-charge { background: rgba(25,164,99,.45); }
.intro-legend .lg-discharge { background: var(--green); }
.intro-visual figcaption .note { display: block; }
@media (max-width: 900px) {
  .flow--static .lb-surplus, .flow--static .lb-discharge { display: none; }
}
/* phones: card rows become swipeable instead of long stacks */
@media (max-width: 700px) {
  .pillars, .gateways { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
  .pillars::-webkit-scrollbar, .gateways::-webkit-scrollbar { display: none; }
  .pillar, .gateway { flex: 0 0 80%; scroll-snap-align: start; }
  .pillar .media { aspect-ratio: 4 / 4.2; }
  .band-quote { font-size: 21px; letter-spacing: .04em; }
  .swipe-hint { display: flex; }
}
.swipe-hint { display: none; align-items: center; gap: 8px; margin-top: 10px; font-size: 11.5px; color: var(--ink-3); letter-spacing: .08em; }
.swipe-hint::after { content: ""; width: 36px; height: 1px; background: currentColor; }

/* =====================================================================
   33. Rendering cost (cursor/scroll smoothness)
   ===================================================================== */
/* Skip rendering of off-screen sections. Turned off (html.cv-off) when the page is opened
   on an anchor or an in-page link is used, so jump targets land exactly. */
html:not(.cv-off) main > section:not(.hero):not(.page-hero) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* chart readouts and flow diagram update often: keep their layout work local */
.day, .flow, .jmap-stage, .rings { contain: layout paint; }
.day-read dd { contain: layout; }

/* ==========================================================================
   34. Load performance: closed menus are not laid out or painted
   ========================================================================== */
/* The 7 mega panels and the mobile drawer hold lots of text and images. While closed, skip their layout and
   paint entirely so opening a page only lays out what is on screen. Opening still uses the same reveal. */
.mega { content-visibility: hidden; }
.gnav-item.is-active .mega { content-visibility: visible; }
.drawer { content-visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s, content-visibility 0s linear .35s allow-discrete; }
.drawer.is-open { content-visibility: visible; transition: opacity .35s var(--ease), visibility 0s, content-visibility 0s allow-discrete; }

/* Page-to-page navigation: keep the current page on screen until the next one has rendered, then cross-fade
   (Chrome / Edge; other browsers simply navigate as before). Page headers are shown immediately, not faded in,
   so the cross-fade lands on a complete first view. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ==========================================================================
   35. News photo reel (news.html): every photo posted to お知らせ, flowing sideways
   ========================================================================== */
.reel { --rh: clamp(180px, 22vw, 300px); position: relative; margin-top: clamp(36px, 4.5vw, 64px); overflow: hidden; }
.reel-track { display: flex; width: max-content; animation: reel 110s linear infinite; }
.reel-dup { display: contents; }
.reel-item { position: relative; flex: none; height: var(--rh); aspect-ratio: var(--r); margin: 0 12px 0 0; overflow: hidden; background: var(--paper); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; }
.reel-item.is-contain img { object-fit: contain; }
.reel-item.is-dark { background: #1f272c; }
.reel-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; background: linear-gradient(transparent, rgba(8, 20, 14, .62)); color: #fff; font-size: 12px; letter-spacing: .06em; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reel-item figcaption time { font-family: var(--font-num); margin-right: 10px; letter-spacing: .08em; }
.reel:hover .reel-track, .reel.is-paused .reel-track { animation-play-state: paused; }
@keyframes reel { to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 600px) { .reel-item { margin-right: 8px; } .reel-item figcaption { font-size: 11px; padding: 22px 10px 8px; } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel-track { animation: none; }
  .reel-dup { display: none; }
}

/* ==========================================================================
   36. Insight articles (insight-*.html, generated by tools/build-insights.pl)
   ========================================================================== */
.art-hero { padding-bottom: clamp(28px, 3.5vw, 48px); }
.art-head { max-width: 880px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 22px; }
.art-meta time { font-family: var(--font-num); }
.art-title { font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.art-lead { margin-top: 24px; font-size: clamp(15px, 1.2vw, 17px); line-height: 2.05; color: var(--ink-2); max-width: 46em; }
.art-section { padding-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); }
.art-grid { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 760px); gap: clamp(32px, 5vw, 88px); justify-content: center; }
.art-side { position: relative; }
.art-toc { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 18px; }
.art-toc-h { font-size: 12px; letter-spacing: .16em; color: var(--green); margin-bottom: 14px; }
.art-toc ol { counter-reset: toc; border-left: 1px solid var(--line); }
.art-toc li { counter-increment: toc; }
.art-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 8px 0 8px 16px; font-size: 13px; line-height: 1.7; color: var(--ink-2); transition: color .2s; }
.art-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-num); color: var(--ink-3); font-size: 11.5px; padding-top: 1px; }
.art-toc a:hover { color: var(--green); }
.art-body { min-width: 0; padding-top: 18px; }
.art-body > p, .art-body li { font-size: 16px; line-height: 2.1; color: var(--ink-2); }
.art-body > p + p { margin-top: 1.1em; }
.art-body h2 { font-size: clamp(21px, 2vw, 26px); font-weight: 700; line-height: 1.6; letter-spacing: .04em; margin: 72px 0 22px; padding-top: 30px; border-top: 1px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.art-body h3 { font-size: 18px; font-weight: 700; letter-spacing: .04em; margin: 40px 0 14px; padding-left: 14px; border-left: 3px solid var(--green); line-height: 1.6; }
.art-body > ul, .art-body > ol { margin: 18px 0; padding-left: 1.4em; }
.art-body > ul { list-style: disc; }
.art-body > ol { list-style: decimal; }
.art-body > ul li + li, .art-body > ol li + li { margin-top: 8px; }
.art-body li::marker { color: var(--green); }
.art-body strong { color: var(--ink); font-weight: 700; }
.art-body a:not(.text-link) { color: var(--green); border-bottom: 1px solid currentColor; }
.art-keys { background: var(--sage); padding: clamp(24px, 3vw, 36px); }
.art-keys-h { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--deep); margin-bottom: 14px; }
.art-keys ul { list-style: none; padding: 0; }
.art-keys li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.95; color: var(--ink); }
.art-keys li + li { margin-top: 10px; }
.art-keys li::before { content: ""; position: absolute; left: 0; top: .82em; width: 10px; height: 2px; background: var(--green); }
.table-scroll { margin: 26px 0; overflow-x: auto; }
.art-table { width: 100%; min-width: 560px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14px; line-height: 1.85; }
.art-table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-3); letter-spacing: .06em; padding: 14px 16px 12px 0; border-bottom: 1px solid var(--line-strong); vertical-align: bottom; }
.art-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.art-table td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }
.art-body .faq { margin-top: 8px; }
.art-body .faq summary { font-size: 15.5px; padding: 20px 0; }
.art-sources { list-style: decimal; padding-left: 1.4em; }
.art-sources li { font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.art-sources li + li { margin-top: 8px; }
.art-body .art-sources a { color: var(--ink-2); border-bottom-color: var(--line-strong); word-break: break-all; }
.art-note { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px !important; line-height: 1.9 !important; color: var(--ink-3) !important; }
.art-back { margin-top: 28px; }
.insights--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.art-more { background: var(--paper); }
@media (max-width: 1000px) {
  .art-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .art-toc { position: static; padding: 20px 22px; border: 1px solid var(--line); margin-bottom: 24px; }
  .art-toc ol { border-left: 0; }
  .art-toc a { padding-left: 0; }
}
@media (max-width: 700px) {
  .art-body > p, .art-body li { font-size: 15px; }
  .art-body h2 { margin-top: 56px; }
  .insights--3 { grid-template-columns: minmax(0, 1fr); }
}
/* case cards: keep text at natural height (equal-height cards used to stretch every paragraph) */
.case .c-body > * { flex: none; }
.case .c-body > .note { margin-top: auto; padding-top: 8px; }

/* ============ 37. Home hero film (TVCM) + video reel ============ */
/* The CM carries its own on-screen text, so the film is never cropped:
   object-fit: contain on a dark ground, and the copy sits below it. */
.hero--film { display: block; min-height: 0; background: #fff; }
.hero-film { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #04120c; overflow: hidden; }
.hf-poster, .hf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hf-video { opacity: 0; transition: opacity .8s var(--ease); }
.hero-film.is-playing .hf-video { opacity: 1; }
.hero-film.is-playing .hf-poster { opacity: 0; transition: opacity .8s var(--ease); }
.hf-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 3vw, 40px) clamp(16px, 2.2vw, 26px);
  background: linear-gradient(0deg, rgba(3,14,9,.7) 0%, rgba(3,14,9,.26) 46%, rgba(3,14,9,0) 100%);
  color: #fff; pointer-events: none;
}
.hf-bar > * { pointer-events: auto; }
.hf-title { font-size: 11.5px; letter-spacing: .2em; color: rgba(255,255,255,.9); }
.hf-ctrl { display: flex; gap: 9px; flex: none; }
.hf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(3,14,9,.34);
  color: #fff; font-size: 11.5px; letter-spacing: .12em;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.hf-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.8); }
.hf-btn svg { width: 13px; height: 13px; flex: none; }
.hf-btn[data-hf="play"] { width: 38px; padding: 0; }
.hf-btn .ic-play, .hf-btn .ic-on { display: none; }
.hero-film.is-vpaused .hf-btn .ic-play { display: block; }
.hero-film.is-vpaused .hf-btn .ic-pause { display: none; }
.hf-btn[aria-pressed="true"] .ic-on { display: block; }
.hf-btn[aria-pressed="true"] .ic-off { display: none; }
.hero--film .hero-scroll { bottom: clamp(74px, 8vw, 104px); color: rgba(255,255,255,.75); }
.hero--film .hero-scroll span.bar { background: rgba(255,255,255,.34); }
.hero--film .hero-scroll span.bar::after { background: #fff; }
.hero--film .hero-copy {
  display: grid; gap: clamp(26px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); align-items: end;
  padding: clamp(40px, 5.5vw, 72px) var(--gutter) clamp(48px, 6vw, 84px) max(var(--gutter), calc((100vw - 1600px) / 2 + 44px));
}
.hero--film h1 { white-space: normal; font-size: clamp(32px, 3.6vw, 62px); line-height: 1.38; }
.hero--film .hero-lead { margin-bottom: clamp(26px, 4vw, 44px); }
.hero--film .hero-data { position: static; background: transparent; }
@media (min-width: 901px) {
  .hero--film .hero-copy { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .hero--film .hero-data { justify-self: end; }
}
@media (max-width: 900px) {

  .hf-title { display: none; }
  .hf-bar { justify-content: flex-end; }
  .hero--film .hero-data { grid-template-columns: auto auto; }
}

/* --- video reel: swipe / drag through the company movies --- */
.vreel { position: relative; --reel-inset: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.vreel-track {
  display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
  /* the reel runs edge to edge, but the first slide lines up with the heading above it */
  padding-inline: var(--reel-inset); scroll-padding-inline-start: var(--reel-inset);
}
.vreel-track::-webkit-scrollbar { display: none; }
.vreel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vreel-track.is-gliding { scroll-snap-type: none; }
.vreel-track:focus-visible { outline: 2px solid var(--leaf); outline-offset: 4px; }
.vslide { flex: 0 0 clamp(260px, 58vw, 860px); min-width: 0; scroll-snap-align: start; }
.vs-frame { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.vs-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.vreel-track.is-dragging .video-play { pointer-events: none; }
.vs-meta { padding: 18px 0 0; }
.vs-cat { display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .16em; color: var(--leaf); }
.vs-time { color: rgba(255,255,255,.55); letter-spacing: .08em; }
.vs-time::before { content: ""; display: inline-block; width: 14px; height: 1px; background: rgba(255,255,255,.3); vertical-align: middle; margin-right: 12px; }
.vs-title { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; letter-spacing: .04em; margin: 10px 0 8px; }
.vs-desc { font-size: 14px; line-height: 1.95; color: rgba(255,255,255,.72); }
.vreel-nav { display: flex; align-items: center; gap: 16px; margin-top: clamp(20px, 2.4vw, 30px); padding-inline: var(--reel-inset); }
.vreel-arrow {
  width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid rgba(255,255,255,.34);
  color: #fff; display: grid; place-items: center; transition: background .3s var(--ease), border-color .3s var(--ease);
}
.vreel-arrow:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.7); }
.vreel-arrow svg { width: 17px; height: 10px; }
.vreel-dots { display: flex; gap: 8px; flex: 1 1 auto; }
.vreel-dots .vd { flex: 1 1 auto; max-width: 72px; height: 18px; position: relative; }
.vreel-dots .vd::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(255,255,255,.28); }
.vreel-dots .vd.is-on::before { background: #fff; }
@media (max-width: 900px) {
  .vs-meta { padding-top: 14px; }
  .vreel-nav { margin-top: 18px; }
  .vslide { flex: 0 0 82vw; }
}
/* the business slides are light, so the play control needs its own contrast */
.vs-frame .video-play { background: linear-gradient(0deg, rgba(3,14,9,.42), rgba(3,14,9,.12)); }
.vs-frame .video-play span { background: rgba(3,14,9,.4); border-color: rgba(255,255,255,.85); }
.vs-frame .video-play:hover span { background: rgba(3,14,9,.62); }
.hero--film .hero-scroll { text-shadow: 0 1px 10px rgba(0,0,0,.45); }

/* --- headline sitting on the film, top left --- */
.hero-film::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 58%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3,14,9,.56) 0%, rgba(3,14,9,.26) 45%, rgba(3,14,9,0) 100%);
}
.hf-copy {
  position: absolute; z-index: 2; pointer-events: none; color: #fff;
  left: max(var(--gutter), calc((100vw - 1600px) / 2 + 44px));
  right: clamp(20px, 5vw, 80px);
  top: clamp(24px, 4.5vw, 76px);
  text-shadow: 0 2px 20px rgba(3,14,9,.5);
}
.hf-copy .hero-tag { color: #fff; margin-bottom: clamp(10px, 1.5vw, 22px); }
.hf-copy .hero-tag i { background: var(--lime); box-shadow: none; }
.hf-copy h1 {
  color: #fff; margin: 0; white-space: normal;
  font-size: clamp(24px, 3.3vw, 58px); line-height: 1.44; letter-spacing: .05em;
}
/* the copy block below starts with the lead now that the headline is on the film */
.hero--film .hero-copy { padding-top: clamp(34px, 4.5vw, 60px); }
@media (max-width: 900px) {
  .hf-copy { top: 14px; right: 14px; left: 16px; }
  .hf-copy .hero-tag { font-size: 11px; margin-bottom: 8px; }
  .hf-copy h1 { font-size: clamp(19px, 5.6vw, 26px); line-height: 1.5; }
  .hero-film::before { height: 72%; }
}
/* the tagline on the film is set in Mincho, like the numerals */
.hf-copy h1 { font-family: var(--font-serif); font-weight: 600; letter-spacing: .08em; }

/* ============ 38. Calmer surface + refined case maps ============ */
/* the page used to sit on pure white; a soft off-white reads calmer and lets the
   photography and the dark sections carry the contrast */
body { background: var(--paper); }
.case-type { background: linear-gradient(168deg, #10362a 0%, #0a2419 100%); }
.case-type::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(0,0,0,0) 45%, rgba(4,16,11,.5) 100%);
}
.case-flag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34); background: rgba(6,22,15,.42);
  color: rgba(255,255,255,.9); font-size: 11px; letter-spacing: .1em; white-space: nowrap;
}
.case-map-label { z-index: 2; }
.hero--film { background: var(--paper); }
.site-header, .mega, .drawer { background: #fff; }

/* ============ 39. Company brochure (3D flip) ============ */
.bro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.bro-hint { display: flex; align-items: center; gap: 12px; margin-top: clamp(22px, 3vw, 34px); font-size: 13px; color: var(--ink-3); letter-spacing: .04em; }
.bro-hint-ic { flex: none; width: 34px; height: 34px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--green); }
.bro-hint-ic svg { width: 17px; height: 12px; }
.bro-card { width: 100%; max-width: 660px; justify-self: center; perspective: 2400px; }
.bro-inner {
  position: relative; aspect-ratio: 1500 / 1060; transform-style: preserve-3d;
  transition: transform 1.65s var(--ease-out);
}
.bro-card:hover .bro-inner,
.bro-card:focus-within .bro-inner,
.bro-inner.is-flipped { transform: rotateY(-180deg); }
.bro-face {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: var(--mist); box-shadow: 0 34px 70px -34px rgba(8,28,18,.55), 0 2px 8px -4px rgba(8,28,18,.3);
}
.bro-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* the printed spine: a soft crease on the bound edge of each cover */
.bro-face::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 16px; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,18,11,.20), rgba(4,18,11,0));
}
.bro-face--front::after { left: 0; }
.bro-face--back { transform: rotateY(180deg); }
.bro-face--back::after { right: 0; background: linear-gradient(270deg, rgba(4,18,11,.20), rgba(4,18,11,0)); }
.bro-flip {
  display: none; margin: 18px auto 0; height: 38px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2);
  font-size: 12.5px; letter-spacing: .08em;
}
@media (max-width: 900px) {
  .bro { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 6vw, 44px); }
  .bro-card { max-width: 100%; }
}
/* pointer: coarse means hover is not available, so offer the control instead */
@media (hover: none) {
  .bro-card:hover .bro-inner { transform: none; }
  .bro-inner.is-flipped { transform: rotateY(-180deg); }
  .bro-flip { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .bro-inner { transition: none; }
}

/* 5 business areas: 01-03 across the top, 04-05 centred underneath, all one size */
.feature-grid--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 34px); }
.feature-grid--5 > * { grid-column: span 2; }
.feature-grid--5 > :nth-child(4) { grid-column: 2 / span 2; }
.feature-grid--5 > :nth-child(5) { grid-column: 4 / span 2; }
.feature-grid--5 .feature h3 { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.feature-grid--5 .feature p { font-size: 13.5px; line-height: 1.95; }
.feature-grid--5 .feature .media { margin-bottom: 20px; }
@media (max-width: 760px) {
  .feature-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid--5 > *, .feature-grid--5 > :nth-child(4), .feature-grid--5 > :nth-child(5) { grid-column: auto; }
}
@media (max-width: 460px) { .feature-grid--5 { grid-template-columns: minmax(0, 1fr); } }
/* the spread is a single sheet: the crease sits down the middle, and each face
   carries a small caption so it is clear which side is showing */
.bro-face::after { left: 50%; width: 22px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(4,18,11,0), rgba(4,18,11,.22) 48%, rgba(4,18,11,.22) 52%, rgba(4,18,11,0)); }
.bro-face--front::after, .bro-face--back::after { left: 50%; right: auto; }
.bro-face figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: rgba(255,255,255,.92); color: var(--ink-2);
  font-size: 11px; letter-spacing: .12em; padding: 7px 14px;
}

/* ============ 40. Titles in Mincho ============ */
/* Every large heading is set in Noto Serif JP. Weight is 600 because that is the
   heaviest serif weight the subset ships — 700 would be synthesised (faux bold). */
.h-section,
.ph-title,
.hero h1,
.cta-title,
.h-sub,
.art-title,
.art-body h2,
.member h3,
.mission .m-key,
.mission-list .ml-key {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .04em;
}
.mission .m-key, .mission-list .ml-key { font-weight: 500; }
.member h3 { letter-spacing: .14em; }
.art-body h2 { letter-spacing: .05em; }
/* header retracts while scrolling down */
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* --- brochure: download button and full-screen reader --- */
.btn-size { font-size: 11px; letter-spacing: .08em; color: var(--ink-3); margin-left: 10px; }
.btn:hover .btn-size { color: inherit; opacity: .75; }
.bro-card { position: relative; }
.bro-zoom {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%) translateY(6px); z-index: 3;
  height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.5);
  background: rgba(6,22,15,.55); color: #fff; font-size: 11.5px; letter-spacing: .1em;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease-out);
}
.bro-card:hover .bro-zoom, .bro-card:focus-within .bro-zoom { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
@media (hover: none) { .bro-zoom { opacity: 1; pointer-events: auto; transform: translateX(-50%); } }

.bro-modal { width: min(96vw, 1560px); max-width: none; max-height: 94vh; border: 0; padding: 0; background: transparent; overflow: visible; }
.bro-modal::backdrop { background: rgba(4,16,11,.86); }
.bm-stage { background: #0a1c13; overflow: auto; max-height: calc(94vh - 66px); }
.bm-stage img { display: block; width: 100%; height: auto; }
.bm-bar { display: flex; align-items: center; gap: 14px; padding: 14px 4px 0; color: #fff; flex-wrap: wrap; }
.bm-tabs { display: flex; gap: 8px; }
.bm-tabs button {
  height: 34px; padding: 0 15px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: transparent; color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .08em;
  transition: background .25s, color .25s, border-color .25s;
}
.bm-tabs button[aria-pressed="true"] { background: #fff; color: var(--forest); border-color: #fff; }
.bm-dl { margin-left: auto; color: #fff; font-size: 12.5px; letter-spacing: .08em; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 2px; }
.bm-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; }
.bm-close:hover { background: rgba(255,255,255,.15); }
.bm-close svg { width: 16px; height: 16px; }
@media (max-width: 700px) {
  .bm-bar { gap: 10px; padding-top: 12px; }
  .bm-tabs button { padding: 0 11px; font-size: 11px; }
  .bm-dl { margin-left: 0; order: 3; }
}

/* ============ 41. Readability and contrast tweaks ============ */
/* the hero lead was set small and light; at this length it needs more size and ink */
.hero-lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.95; color: var(--ink); max-width: 34em; }
.hero--film .hero-lead { color: var(--ink-2); }
/* the お問い合わせ band sat almost black over its photo */
.cta::before { background: linear-gradient(180deg, rgba(8,26,18,.55), rgba(8,26,18,.74)); }

/* --- news list: fold the archive away behind a button --- */
.news-more-row { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 44px); }
.news-more {
  display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 30px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink);
  font-size: 13.5px; letter-spacing: .1em;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.news-more:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.nm-count { font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); }
.news-more:hover .nm-count { color: rgba(255,255,255,.72); }

/* --- insights: give the five articles more of a cover ---------------- */
.insights { counter-reset: ins; }
.insight { position: relative; padding: 30px 24px 26px; min-height: 278px; overflow: hidden; }
.insight::before {
  counter-increment: ins; content: counter(ins, decimal-leading-zero);
  position: absolute; right: 18px; top: 14px; z-index: 0;
  font-family: var(--font-num); font-weight: 400; font-size: 46px; line-height: 1;
  color: var(--line); transition: color .4s var(--ease);
}
.insight::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--green); transition: width .5s var(--ease-out);
}
.insight:hover::before { color: var(--sage); }
.insight:hover::after { width: 100%; }
.insight > * { position: relative; z-index: 1; }
.insight .i-num {
  align-self: flex-start; display: inline-flex; align-items: center; height: 24px; padding: 0 11px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 11px; letter-spacing: .1em; color: var(--ink-2);
  transition: border-color .3s, color .3s;
}
.insight:hover .i-num { border-color: var(--green); color: var(--green); }
.insight h3 { font-family: var(--font-serif); font-weight: 600; font-size: 16.5px; line-height: 1.85; letter-spacing: .03em; }
.insight .i-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3);
  padding-top: 16px; border-top: 1px solid var(--line);
}
.insight .i-foot::after { content: "→"; color: var(--green); font-size: 14px; transition: transform .4s var(--ease-out); }
.insight:hover .i-foot::after { transform: translateX(6px); }
/* the brochure heading sits in a narrow column, so it needs a smaller size to keep its two lines */
.bro-text .h-section { font-size: clamp(26px, 2.8vw, 38px); }
/* long Japanese headings need more than half the row: 12 characters at 48px do not
   fit in a 1fr column until about 1900px wide */
@media (min-width: 901px) { .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* ============ 42. 採用：募集職種のカード ============ */
/* 3職種を1枚ずつのカードにして、要項は開閉で出す。職種ごとの色は --jc で差し替える */
.jobs { display: grid; gap: 14px; margin-top: clamp(40px, 4.5vw, 64px); }

.job {
  position: relative; background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .35s var(--ease), box-shadow .5s var(--ease-out);
}
.job::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  background: var(--jc, var(--green));
  transform: scaleY(0); transform-origin: top;
  transition: transform .55s var(--ease-out);
}
.job:hover { border-color: var(--line-strong); }
.job:hover::before { transform: scaleY(1); }
.job.is-open { border-color: var(--line-strong); box-shadow: 0 24px 60px -40px rgba(12, 46, 32, .5); }
.job.is-open::before { transform: scaleY(1); }

.job-head {
  display: grid; align-items: start;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 4px clamp(14px, 1.8vw, 26px);
  padding: clamp(24px, 2.6vw, 34px) clamp(20px, 2.4vw, 34px);
  cursor: pointer;
}
.job-n {
  font-family: var(--font-num); font-size: clamp(22px, 2.2vw, 30px); line-height: 1;
  color: var(--jc, var(--green)); opacity: .8; padding-top: 3px;
}
.job-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip--sun { border-color: transparent; background: var(--sun-soft); color: #8a5c05; }

.job-title {
  font-family: var(--font-serif); font-weight: 600; letter-spacing: .04em;
  font-size: clamp(22px, 2.3vw, 30px); line-height: 1.45; color: var(--ink);
}
.job-title small {
  display: block; margin-top: 8px;
  font-family: var(--font-sans); font-weight: 400; font-size: 12px;
  letter-spacing: .1em; color: var(--ink-3);
}
.job-sum { margin-top: 16px; font-size: 14.5px; line-height: 2; color: var(--ink-2); max-width: 40em; }

.job-key { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; }
.job-key > div { padding: 0 clamp(16px, 1.8vw, 26px); border-left: 1px solid var(--line); }
.job-key > div:first-child { padding-left: 0; border-left: 0; }
.job-key dt { font-size: 11.5px; letter-spacing: .1em; color: var(--ink-3); }
.job-key dd {
  margin-top: 6px; font-size: 13px; letter-spacing: .02em; color: var(--ink);
  white-space: nowrap;
}
.job-key dd b {
  font-family: var(--font-num); font-weight: 400; font-size: clamp(22px, 2vw, 28px);
  letter-spacing: 0; color: var(--jc, var(--green)); margin-right: 1px;
  font-feature-settings: "lnum" 1, "pnum" 1;
}

.job-act { margin-top: 22px; }
.job-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 6px 0 18px;
  background: transparent; border: 1px solid var(--line-strong);
  font-size: 12.5px; letter-spacing: .1em; color: var(--ink);
  cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.job-toggle:hover { border-color: var(--jc, var(--green)); color: var(--jc, var(--green)); background: var(--jc-soft, var(--sage)); }
.jt-pm { position: relative; width: 34px; height: 34px; flex: none; }
.jt-pm::before, .jt-pm::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.4px;
  background: currentColor; transform: translate(-50%, -50%);
  transition: transform .4s var(--ease-out), opacity .3s var(--ease);
}
.jt-pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.job.is-open .jt-pm::after { transform: translate(-50%, -50%) rotate(0); }

/* 0fr → 1fr で高さを補間する。対応していない環境でも開閉自体は成立する */
.job-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.job.is-open .job-body { grid-template-rows: 1fr; }
.job-body > div { overflow: hidden; }
.job-inner { padding: 0 clamp(20px, 2.4vw, 34px) clamp(30px, 3.2vw, 44px); }
.job-body-h {
  font-family: var(--font-serif); font-weight: 600; font-size: 15px; letter-spacing: .06em;
  color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}

.job-table { display: grid; }
.job-table > div {
  display: grid; grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: 6px clamp(18px, 2vw, 32px);
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.job-table dt { font-size: 13px; letter-spacing: .06em; color: var(--ink-3); line-height: 1.8; }
.job-table dd { font-size: 14.5px; line-height: 1.95; color: var(--ink); }
.jt-note { display: inline-block; margin-top: 4px; font-size: 12.5px; line-height: 1.85; color: var(--ink-3); }

.job-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.job-note { font-size: 12.5px; color: var(--ink-3); }

.jobs-foot {
  margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 2.6vw, 34px);
  border-top: 1px solid var(--line); font-size: 14px; line-height: 2; color: var(--ink-2);
  max-width: 48em;
}

@media (min-width: 981px) {
  .job-head { grid-template-columns: 46px minmax(0, 1fr) auto minmax(130px, auto); align-items: center; }
  .job-n { align-self: start; }
  .job-id { align-self: center; }
  .job-key { margin-top: 0; }
  .job-act { margin-top: 0; justify-self: end; }
}
@media (max-width: 980px) {
  .job-head { grid-template-columns: 38px minmax(0, 1fr); }
  .job-key, .job-act { grid-column: 2; }
}
@media (max-width: 560px) {
  /* 数字3つは2列に並べる。flex では 47% ずつでも数ピクセル足りず縦一列に落ちた */
  .job-key { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; margin-top: 20px; }
  .job-key > div { padding: 0; border-left: 0; }
  .job-key dd { white-space: normal; }
  .job-key dd b { font-size: 22px; }
  .job-table > div { grid-template-columns: 1fr; }
  .job-table dt { color: var(--ink-2); font-weight: 500; }
  .job-cta { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .job-body { transition: none; }
  .job::before { transition: none; }
}

/* ============ 43. 採用：応募の流れ（タイムライン） ============ */
/* レールは [data-inview] が is-in を受け取ったときに伸びる。JSの追加は不要 */
.jflow { --gap: clamp(26px, 3vw, 38px); position: relative; display: grid; gap: var(--gap); margin-top: clamp(44px, 5vw, 68px); }

/* レールは段ごとに1本ずつ引く。丸を結ぶ区間だけになるので、最後の丸から先に線が伸びない。
   区間は丸が点灯した直後に引かれ、線と番号が交互に進む */
.jflow-step { position: relative; }
.jflow-step::before, .jflow-step::after { content: ""; position: absolute; }
.jflow-step::before { background: var(--line-strong); }
.jflow-step::after { background: var(--green); transition: transform .38s var(--ease-out); transition-delay: calc(var(--i, 0) * .38s + .44s); }
.jflow-step:last-child::before, .jflow-step:last-child::after { display: none; }
.jf-mark {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line-strong); color: var(--ink-3);
  transition: border-color .55s var(--ease), color .55s var(--ease),
              background-color .55s var(--ease), box-shadow .7s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .38s + .4s);
}
.jf-mark i { font-family: var(--font-num); font-style: normal; font-size: 19px; letter-spacing: 0; font-feature-settings: "lnum" 1, "pnum" 1; }
.jflow.is-in .jf-mark { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 5px var(--sage); }
/* 最後の段だけ到達点として塗りつぶす */
.jflow.is-in .jflow-step:last-child .jf-mark { background: var(--forest); border-color: var(--forest); color: #fff; box-shadow: 0 0 0 5px rgba(12, 46, 32, .1); }

.jf-body h3 { font-size: 17px; font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.jf-body > p { font-size: 14px; color: var(--ink-2); line-height: 1.95; }
.jf-meta {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12px; letter-spacing: .04em; color: var(--ink-3);
}
.js .jf-body {
  opacity: 0; transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .75s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .38s + .55s);
}
.js .jflow.is-in .jf-body { opacity: 1; transform: none; }

@media (min-width: 861px) {
  .jflow { --gap: clamp(18px, 2.2vw, 34px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .jflow-step::before, .jflow-step::after { left: 28px; top: 27px; height: 1px; width: calc(100% - 28px + var(--gap)); }
  .jflow-step::after { transform: scaleX(0); transform-origin: left center; }
  .jflow.is-in .jflow-step::after { transform: scaleX(1); }
  .jf-body { margin-top: 24px; padding-right: clamp(8px, 1.2vw, 20px); }
}
@media (max-width: 860px) {
  .jflow-step::before, .jflow-step::after { left: 27px; top: 28px; width: 1px; height: calc(100% - 28px + var(--gap)); }
  .jflow-step::after { transform: scaleY(0); transform-origin: center top; }
  .jflow.is-in .jflow-step::after { transform: scaleY(1); }
  .jflow-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .jf-body { padding-bottom: 4px; }
}

/* 職種ごとの選考フロー。カードの色をそのまま持ってくる */
.jflow-byjob {
  margin-top: clamp(34px, 4vw, 54px);
  background: var(--white); border: 1px solid var(--line);
  padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.4vw, 32px);
}
.jfb-head { font-size: 11.5px; letter-spacing: .12em; color: var(--ink-3); margin-bottom: 18px; }
.jflow-byjob ul { display: grid; gap: 14px; }
.jflow-byjob a { display: grid; gap: 7px; }
.jflow-byjob b {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink);
}
.jflow-byjob b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jc, var(--green)); flex: none; }
.jflow-byjob span { font-size: 13px; color: var(--ink-2); line-height: 1.8; padding-left: 17px; }
.jflow-byjob a:hover b { color: var(--jc, var(--green)); }
.jflow-byjob a:hover span { color: var(--ink); }
@media (min-width: 861px) {
  .jflow-byjob ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .jflow-byjob li { padding-right: clamp(16px, 2vw, 28px); }
  .jflow-byjob li + li { border-left: 1px solid var(--line); padding-left: clamp(18px, 2vw, 28px); }
}
@media (prefers-reduced-motion: reduce) {
  .jflow-step::after, .jf-mark, .js .jf-body { transition: none; }
}

/* --- 応募の流れ 04：内定・入社の紙吹雪 --- */
/* 丸が点灯したあとに弾け、しばらく置いてまた弾ける。常時降らせると落ち着かないため */
.jflow-step--end { overflow: visible; }
.jf-confetti { position: absolute; left: 28px; top: 4px; width: 0; height: 0; z-index: 2; pointer-events: none; }
.jf-confetti i {
  position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  border-radius: 1.5px; opacity: 0;
}
.jflow.is-in .jf-confetti i {
  animation: jf-pop 6s var(--ease-out) infinite;
  animation-delay: calc(1.5s + var(--cd, 0s));
}
@keyframes jf-pop {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0) scale(.4); }
  7%   { opacity: 1; }
  34%  { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .jflow.is-in .jf-confetti i { animation: none; }
}

/* ============ 44. お知らせの記事ページ ============ */
/* 本文は旧サイト（WordPress）から引き継いだHTMLなので、<p> と <br> が主体。
   解説記事（.art-body）の組版を土台に、見出しのない文章でも読めるように整える */
.art-section > .wrap { max-width: 860px; }
.news-article { font-size: 15.5px; line-height: 2.05; color: var(--ink-2); }
.news-article > p { margin-bottom: 1.6em; }
.news-article > p:last-child:empty { margin: 0; }
.news-article strong { display: inline-block; margin-top: .4em; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.news-article a { color: var(--green); border-bottom: 1px solid currentColor; word-break: break-all; }
.news-article figure { margin: clamp(26px, 3vw, 40px) 0; }
.news-article figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.news-article figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.8; color: var(--ink-3); }
.news-article img { max-width: 100%; height: auto; }
.news-article ul, .news-article ol { margin: 0 0 1.6em 1.4em; }
.news-article li { margin-bottom: .5em; }
.news-article table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 14.5px; }
.news-article th, .news-article td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.news-article th { background: var(--mist); font-weight: 600; white-space: nowrap; }

.art-hero .art-back { margin-bottom: clamp(20px, 2.4vw, 30px); font-size: 13px; }
.art-hero .art-back a { color: var(--ink-3); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: color .3s var(--ease); }
.art-hero .art-back a:hover { color: var(--green); border-color: currentColor; }
.art-foot { margin-top: clamp(40px, 4.5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }

/* ============ 45. お問い合わせ：確認画面 ============ */
/* スパム対策の見えない入力欄。人の目にもスクリーンリーダーにも触れさせない */
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.confirm { animation: confirm-in .4s var(--ease-out) both; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.confirm h2 { margin-bottom: 14px; }
.confirm h2:focus { outline: none; }
.confirm-lead { font-size: 14.5px; color: var(--ink-2); margin-bottom: 26px; }

.confirm-list { display: grid; grid-template-columns: 11em 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.confirm-list dt,
.confirm-list dd { background: #fff; padding: 15px 18px; font-size: 14.5px; line-height: 1.8; }
.confirm-list dt { font-weight: 600; color: var(--ink-2); background: var(--tint); }
.confirm-list dd { white-space: pre-wrap; word-break: break-word; }
.confirm-list dd.is-empty { color: var(--ink-3); }

.confirm-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.confirm-actions .btn { min-width: 190px; justify-content: center; }
.confirm-actions .btn[disabled] { opacity: .55; pointer-events: none; }

@media (max-width: 560px) {
  .confirm-list { grid-template-columns: 1fr; }
  .confirm-list dt { padding-bottom: 6px; }
  .confirm-list dd { padding-top: 6px; }
  .confirm-actions .btn { width: 100%; }
}

/* ============ 46. 送信完了ページ ============ */
.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 4.5vw, 56px) clamp(22px, 4vw, 48px); box-shadow: 0 18px 40px rgba(12,46,32,.06); }
.thanks-mark { color: var(--green); margin-bottom: 20px; }
.thanks-mark svg { display: inline-block; }
.thanks-lead { margin-top: 14px; font-size: 16.5px; }
.thanks-note { margin-top: 20px; font-size: 14px; line-height: 1.95; color: var(--ink-2); text-align: left; }
.thanks-note a { color: var(--green); border-bottom: 1px solid currentColor; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }
@media (max-width: 560px) { .thanks-actions .btn { width: 100%; justify-content: center; } }
