/* =========================================================
   SHO-AQUA SYSTEM / P&S Corporation — リニューアル用スタイル
   コンセプト：シカゴ建築のグリッド × NY金融街のエディトリアル
   ========================================================= */

:root {
  /* カラー */
  --ink: #0a1622;
  --ink-2: #0f2031;
  --ink-3: #172c42;
  --navy: #0b2a55;
  --ocean: #1f5fbf;
  --ocean-2: #3d7fd9;
  --sky: #8fb8ea;
  --paper: #f6f4ef;
  --paper-2: #ece8df;
  --white: #ffffff;
  --brass: #b4935a;
  --brass-2: #d3b583;
  --text: #17212c;
  --muted: #5b6673;
  --muted-inv: #9aa9b8;
  --line: rgba(10, 22, 34, 0.12);
  --line-strong: rgba(10, 22, 34, 0.28);
  --line-inv: rgba(255, 255, 255, 0.14);
  --alert: #c8372d;
  --green: #0f8a63;

  /* タイポグラフィ */
  --f-serif-en: "Cormorant Garamond", "Shippori Mincho B1", serif;
  --f-serif-jp: "Shippori Mincho B1", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --f-sans: "Inter", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --f-num: "Bodoni Moda", "Cormorant Garamond", serif;

  /* レイアウト */
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --topbar-h: 34px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  word-break: auto-phrase;
  line-break: strict;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.35; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--ocean-2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--white); padding: 8px 16px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 960px; }

/* ---------- 汎用タイポ ---------- */
.eyebrow {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.is-dark .eyebrow, .eyebrow--inv { color: var(--brass-2); }
.serif-en { font-family: var(--f-serif-en); font-style: italic; font-weight: 500; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 2; color: var(--muted); }
.is-dark .lead { color: var(--muted-inv); }
.mono { font-family: var(--f-mono); }
.accent { color: var(--ocean); }
.brass { color: var(--brass); }
.note { font-size: 13px; color: var(--muted); line-height: 1.8; }
.is-dark .note { color: var(--muted-inv); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.12em;
  border: 1px solid currentColor;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn::after { content: "→"; font-family: var(--f-sans); transition: transform 0.3s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn--solid { background: var(--ocean); border-color: var(--ocean); color: var(--white); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--line { color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.textlink::after { content: "→"; transition: transform 0.3s var(--ease); }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- トップバー（世界時計） ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--topbar-h);
  background: var(--ink);
  color: var(--muted-inv);
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line-inv);
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.clocks { display: flex; gap: 22px; }
.clock b { color: var(--white); font-weight: 500; margin-left: 6px; }
.clock span { color: var(--brass-2); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.lang a { padding: 2px 4px; }
.lang a[aria-current="true"] { color: var(--white); border-bottom: 1px solid var(--brass); }
.lang a:hover { color: var(--white); }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; left: 0; right: 0; top: var(--topbar-h); z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.header.is-solid, body:not(.has-hero) .header {
  background: rgba(10, 22, 34, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line-inv);
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name strong { font-family: var(--f-sans); font-weight: 700; font-size: 16px; letter-spacing: 0.08em; }
.brand__name small { font-size: 10px; letter-spacing: 0.2em; color: var(--muted-inv); text-transform: uppercase; }

.gnav { display: flex; align-items: center; gap: 4px; }
.gnav a {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; line-height: 1.3;
}
.gnav a small { font-size: 9px; letter-spacing: 0.2em; color: var(--muted-inv); text-transform: uppercase; margin-top: 2px; }
.gnav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px;
  background: var(--brass-2); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav .gnav__cta {
  margin-left: 12px; padding: 12px 20px; flex-direction: row;
  background: var(--ocean); font-weight: 600; letter-spacing: 0.12em;
}
.gnav .gnav__cta::after { display: none; }
.gnav .gnav__cta:hover { background: var(--ocean-2); }

.menu-btn {
  display: none;
  width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-inv); background: transparent; color: inherit; cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.3s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 24px; }
.menu-btn span:nth-child(3) { top: 30px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1180px) {
  .gnav a { padding: 8px 8px; font-size: 12px; }
  .gnav a small { display: none; }
}
@media (max-width: 1024px) {
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: calc(var(--topbar-h) + var(--header-h)) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 24px var(--gutter) 48px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .menu-open .gnav { opacity: 1; transform: none; visibility: visible; }
  .gnav a { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 18px 0; font-size: 16px; border-bottom: 1px solid var(--line-inv); }
  .gnav a small { display: inline; font-size: 10px; }
  .gnav a::after { display: none; }
  .gnav .gnav__cta { margin: 28px 0 0; justify-content: center; padding: 18px; border: 0; }
  .clocks .clock:nth-child(n+2) { display: none; }
}
@media (max-width: 480px) {
  .brand__name small { display: none; }
  .topbar__tag { display: none; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--topbar-h) + var(--header-h));
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.04); animation: heroZoom 18s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,34,0.95) 0%, rgba(10,22,34,0.75) 38%, rgba(10,22,34,0.1) 75%),
    linear-gradient(0deg, rgba(10,22,34,0.9) 0%, rgba(10,22,34,0) 40%);
}
/* シカゴ風の建築グリッド */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.grid-lines i { border-left: 1px solid rgba(255,255,255,0.07); }
.grid-lines i:last-child { border-right: 1px solid rgba(255,255,255,0.07); }
.hero__body { position: relative; flex: 1; display: flex; align-items: center; }
.hero__inner { padding: clamp(40px, 8vh, 96px) 0; max-width: 820px; }
.hero h1 {
  font-family: var(--f-serif-jp);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin: 28px 0 12px;
}
.hero__en {
  font-family: var(--f-serif-en); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.8vw, 36px); color: var(--brass-2); margin-bottom: 28px; letter-spacing: 0.01em;
}
.hero__lead { font-size: clamp(15px, 1.5vw, 18px); line-height: 2.1; color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 40px; }
.hero__stats {
  position: relative; border-top: 1px solid var(--line-inv);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stats > div { padding: 24px 24px 28px; border-left: 1px solid var(--line-inv); }
.hero__stats > div:first-child { border-left: 0; padding-left: 0; }
.hero__stats dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-inv); margin-bottom: 6px; }
.hero__stats dd { margin: 0; font-family: var(--f-num); font-weight: 500; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; }
.hero__stats dd small { font-family: var(--f-sans); font-size: 13px; margin-left: 4px; color: var(--muted-inv); }
@media (max-width: 860px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--line-inv); }
  .grid-lines { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 下層ページのヒーロー ---------- */
.page-hero {
  position: relative; color: var(--white); background: var(--ink); overflow: hidden;
  padding: calc(var(--topbar-h) + var(--header-h) + clamp(56px, 10vw, 120px)) 0 clamp(48px, 7vw, 88px);
}
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,34,0.96) 20%, rgba(10,22,34,0.55)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-family: var(--f-serif-jp); font-weight: 600; font-size: clamp(32px, 5vw, 64px); letter-spacing: 0.04em; margin: 22px 0 10px; }
.page-hero__en { font-family: var(--f-serif-en); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); color: var(--brass-2); }
.page-hero__lead { max-width: 720px; margin-top: 24px; color: rgba(255,255,255,0.8); line-height: 2; }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: 0.1em; color: var(--muted-inv); margin-top: 40px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255,255,255,0.3); }

/* ---------- ティッカー ---------- */
.ticker {
  background: var(--ink-2); color: var(--white);
  border-top: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv);
  overflow: hidden; white-space: nowrap;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em;
}
.ticker__track { display: inline-flex; animation: ticker 48s linear infinite; padding: 14px 0; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 28px; }
.ticker__item span { color: var(--muted-inv); }
.ticker__item b { font-weight: 500; }
.ticker__item em { font-style: normal; color: #5fd3a2; font-size: 11px; }
.ticker__item::after { content: "◆"; color: var(--brass); font-size: 8px; margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- セクション ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 96px) 0; }
.section--white { background: var(--white); }
.section--paper2 { background: var(--paper-2); }
.section.is-dark { background: var(--ink); color: var(--white); }
.section.is-dark .muted { color: var(--muted-inv); }

.sec-head {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px 48px;
  border-top: 1px solid var(--line-strong);
  padding-top: 28px; margin-bottom: clamp(48px, 6vw, 80px);
}
.is-dark .sec-head { border-top-color: var(--line-inv); }
.sec-head__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.is-dark .sec-head__num { color: var(--muted-inv); }
.sec-head__num b { display: block; font-family: var(--f-num); font-weight: 400; font-size: 48px; line-height: 1; color: var(--brass); margin-bottom: 10px; letter-spacing: 0; }
.sec-head h2 { font-family: var(--f-serif-jp); font-weight: 600; font-size: clamp(26px, 3.6vw, 46px); letter-spacing: 0.04em; margin: 14px 0 18px; }
.sec-head h2 .serif-en { display: block; font-size: 0.62em; color: var(--muted); margin-top: 6px; letter-spacing: 0.01em; }
.is-dark .sec-head h2 .serif-en { color: var(--muted-inv); }
.sec-head .lead { max-width: 760px; margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head__num b { font-size: 36px; } }

/* ---------- 2カラム ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split, .split--5-7, .split--7-5 { grid-template-columns: 1fr; } }

.figure { position: relative; }
.figure img { width: 100%; }
.figure figcaption { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-top: 10px; display: flex; gap: 10px; }
.figure figcaption::before { content: "FIG."; font-family: var(--f-mono); color: var(--brass); }
.figure--frame { padding: 14px; background: var(--white); border: 1px solid var(--line); }

/* ---------- グリッドカード（罫線で区切る） ---------- */
.gridcards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.gridcards--1 { grid-template-columns: 1fr !important; }
.gridcards--2 { grid-template-columns: repeat(2, 1fr); }
.gridcards--4 { grid-template-columns: repeat(4, 1fr); }
.gridcards--5 { grid-template-columns: repeat(5, 1fr); }
.gridcards > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); background: transparent; transition: background 0.35s var(--ease); }
.is-dark .gridcards { border-top-color: var(--line-inv); border-left-color: var(--line-inv); }
.is-dark .gridcards > * { border-color: var(--line-inv); }
.gridcards a:hover, .gridcards .hoverable:hover { background: var(--white); }
.is-dark .gridcards a:hover { background: var(--ink-3); }
.gc__num { font-family: var(--f-mono); font-size: 12px; color: var(--brass); letter-spacing: 0.12em; }
.gc__title { font-family: var(--f-serif-jp); font-weight: 600; font-size: clamp(19px, 1.8vw, 23px); margin: 18px 0 14px; letter-spacing: 0.03em; }
.gc__en { font-family: var(--f-serif-en); font-style: italic; color: var(--muted); font-size: 17px; margin: -8px 0 14px; display: block; }
.is-dark .gc__en { color: var(--muted-inv); }
.gc__text { font-size: 14.5px; color: var(--muted); line-height: 1.95; margin: 0; }
.is-dark .gc__text { color: var(--muted-inv); }
.gc__img { margin: calc(-1 * clamp(28px, 3vw, 44px)) calc(-1 * clamp(28px, 3vw, 44px)) 24px; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.gc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gridcards a:hover .gc__img img { transform: scale(1.04); }
.gc__more { display: inline-block; margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--ocean); }
.is-dark .gc__more { color: var(--brass-2); }
@media (max-width: 1000px) { .gridcards--4, .gridcards--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .gridcards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gridcards, .gridcards--2, .gridcards--4, .gridcards--5 { grid-template-columns: 1fr; } }

/* ---------- 大きな数字 ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.figures--3 { grid-template-columns: repeat(3, 1fr); }
.figures > div { padding: 32px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.figures > div:last-child { border-right: 0; margin-right: 0; }
.is-dark .figures { border-top-color: var(--line-inv); }
.is-dark .figures > div { border-right-color: var(--line-inv); }
.fig__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.is-dark .fig__label { color: var(--muted-inv); }
.fig__value { font-family: var(--f-num); font-weight: 500; font-variant-numeric: lining-nums; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; margin: 14px 0 12px; letter-spacing: -0.01em; }
.fig__value small { font-family: var(--f-sans); font-size: 0.24em; font-weight: 500; margin-left: 6px; letter-spacing: 0.04em; }
.fig__desc { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.is-dark .fig__desc { color: var(--muted-inv); }
@media (max-width: 900px) {
  .figures, .figures--3 { grid-template-columns: 1fr 1fr; }
  .figures > div:nth-child(2n) { border-right: 0; margin-right: 0; }
}
@media (max-width: 520px) { .figures, .figures--3 { grid-template-columns: 1fr; } .figures > div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- ステートメント ---------- */
.statement { font-family: var(--f-serif-jp); font-weight: 500; font-size: clamp(24px, 3vw, 40px); line-height: 1.75; letter-spacing: 0.06em; }
.statement em { font-style: normal; color: var(--ocean); }
.is-dark .statement em { color: var(--sky); }
.statement-en { font-family: var(--f-serif-en); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.5; color: var(--muted); margin-top: 28px; }
.is-dark .statement-en { color: var(--muted-inv); }

/* ---------- 画像付きバンド ---------- */
.band { position: relative; color: var(--white); overflow: hidden; background: var(--ink); }
.band__bg { position: absolute; inset: 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,34,0.92) 25%, rgba(10,22,34,0.45)); }
.band .wrap { position: relative; }

/* ---------- 水の比率ビジュアル ---------- */
.water-ratio { border: 1px solid var(--line-inv); padding: clamp(24px, 3vw, 40px); }
.water-ratio__bar { display: flex; height: 64px; margin: 24px 0 16px; background: var(--ink-3); }
.water-ratio__bar span { display: block; height: 100%; }
.wr-sea { background: linear-gradient(90deg, var(--navy), var(--ocean)); width: 97.5%; }
.wr-ice { background: #cfe0f2; width: 2.49%; }
.wr-fresh { background: var(--brass-2); width: 0.6%; min-width: 4px; }
.water-ratio__legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 13px; }
.water-ratio__legend b { display: block; font-family: var(--f-num); font-size: 36px; font-weight: 500; line-height: 1.1; color: var(--white); }
.water-ratio__legend i { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: middle; }
@media (max-width: 600px) { .water-ratio__legend { grid-template-columns: 1fr; } }

/* ---------- フロー ---------- */
.flow { counter-reset: flow; border-left: 1px solid var(--line-strong); margin-left: 12px; }
.flow li { position: relative; padding: 0 0 26px 36px; }
.flow li::before {
  counter-increment: flow; content: counter(flow, decimal-leading-zero);
  position: absolute; left: -13px; top: 2px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-size: 10px; display: grid; place-items: center; color: var(--muted);
}
.flow li strong { display: block; font-size: 16px; font-weight: 600; }
.flow li span { font-size: 13.5px; color: var(--muted); }
.flow li.is-key::before { background: var(--ocean); border-color: var(--ocean); color: var(--white); }
.flow li.is-key strong { color: var(--ocean); }
.section--white .flow li::before { background: var(--white); }
.section--white .flow li.is-key::before { background: var(--ocean); }

/* ---------- テーブル ---------- */
.spec { border-top: 1px solid var(--line-strong); font-size: 15px; }
.spec th, .spec td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 32%; font-weight: 600; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }
.spec td small { color: var(--muted); }
.is-dark .spec { border-top-color: var(--line-inv); }
.is-dark .spec th, .is-dark .spec td { border-bottom-color: var(--line-inv); }
.is-dark .spec th { color: var(--muted-inv); }

.compare { font-size: 14.5px; background: var(--white); }
.compare th, .compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--ink); color: var(--white); font-size: 12px; letter-spacing: 0.14em; font-weight: 600; }
.compare thead th.is-ours { background: var(--green); }
.compare td.is-ours { background: #eaf7f1; color: #0b5e44; font-weight: 600; }
.compare tbody th { font-weight: 600; width: 20%; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.table-scroll table { min-width: 640px; }

/* ---------- タイムライン ---------- */
.timeline { border-top: 1px solid var(--line-strong); }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.timeline__year { font-family: var(--f-num); font-size: 34px; line-height: 1; color: var(--ocean); }
.timeline__body strong { display: block; font-weight: 600; font-size: 16px; }
.timeline__body p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.timeline li.is-now .timeline__year { color: var(--brass); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- タグ・ピル ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; letter-spacing: 0.08em; padding: 6px 12px; border: 1px solid var(--line-strong); }
.is-dark .tag { border-color: var(--line-inv); color: var(--muted-inv); }
.badge { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; padding: 5px 10px; background: var(--brass); color: var(--white); text-transform: uppercase; }
.badge--ocean { background: var(--ocean); }
.badge--line { background: transparent; color: var(--brass); border: 1px solid var(--brass); }

/* ---------- ニュース ---------- */
.news { border-top: 1px solid var(--line-strong); }
.news li { display: grid; grid-template-columns: 120px 140px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.news time { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.news .cat { font-size: 11px; letter-spacing: 0.14em; color: var(--ocean); text-transform: uppercase; font-weight: 600; }
@media (max-width: 600px) { .news li { grid-template-columns: auto 1fr; } .news li > :last-child { grid-column: 1 / -1; } }

/* ---------- 引用・チャート ---------- */
.callout { border-left: 2px solid var(--brass); padding: 8px 0 8px 24px; }
.callout p { margin: 0; }
.chart { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.chart__title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.chart__sub { font-size: 12px; color: var(--muted); }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; height: 260px; margin: 28px 0 0; padding-bottom: 0; border-bottom: 1px solid var(--line-strong); position: relative; }
.bars div { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bars span { display: block; width: 100%; max-width: 64px; background: var(--alert); transform-origin: bottom; }
.bars div:not(:first-child) span { background: var(--green); }
.bars b { font-family: var(--f-mono); font-weight: 500; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.bars-labels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.5; }
.is-reveal .bars span { animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- CTA ---------- */
.cta { text-align: left; }
.cta h2 { font-family: var(--f-serif-jp); font-weight: 600; font-size: clamp(28px, 4vw, 52px); letter-spacing: 0.04em; margin: 18px 0; }
.cta .lead { color: rgba(255,255,255,0.8); max-width: 640px; margin-bottom: 36px; }
.cta__grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.cta__list { border-top: 1px solid var(--line-inv); }
.cta__list li { padding: 16px 0; border-bottom: 1px solid var(--line-inv); display: flex; justify-content: space-between; font-size: 14px; }
.cta__list li span { color: var(--muted-inv); font-family: var(--f-mono); font-size: 12px; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 28px; }
.form__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.form label { font-weight: 600; font-size: 14px; padding-top: 14px; }
.req, .opt { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.req { background: var(--ocean); color: var(--white); }
.opt { border: 1px solid var(--line-strong); color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 0; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(31,95,191,0.15); }
.form textarea { min-height: 200px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 12px; }
.checks label { font-weight: 400; padding: 0; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--ocean); }
.form__agree { font-size: 14px; display: flex; gap: 10px; align-items: center; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--ocean); }
.form button { cursor: pointer; font: inherit; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 20px 24px; border: 1px solid var(--green); background: #eaf7f1; color: #0b5e44; margin-bottom: 32px; display: none; }
.form-msg.is-error { border-color: var(--alert); background: #fbecea; color: #8c241d; }
.form-msg.is-show { display: block; }
@media (max-width: 760px) { .form__row { grid-template-columns: 1fr; gap: 8px; } .form label { padding-top: 0; } }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: var(--muted-inv); padding: clamp(64px, 8vw, 110px) 0 32px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line-inv); }
.footer__brand .brand { color: var(--white); margin-bottom: 24px; }
.footer__brand address { font-style: normal; line-height: 2; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h3 { font-size: 11px; letter-spacing: 0.2em; color: var(--brass-2); text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer__cols li { margin-bottom: 10px; }
.footer__cols a:hover { color: var(--white); }
.footer__word {
  font-family: var(--f-serif-en); font-style: italic; color: rgba(255,255,255,0.9);
  font-size: clamp(36px, 7.4vw, 112px); line-height: 1; padding: 48px 0 40px; letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-inv);
}
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 12px; letter-spacing: 0.08em; flex-wrap: wrap; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- 出現アニメーション ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-reveal { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; } .reveal-d3 { transition-delay: 0.3s; }

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

/* ---------- ユーティリティ ---------- */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; } .mt-xl { margin-top: 96px; }
.mb-0 { margin-bottom: 0; } .mb-m { margin-bottom: 32px; } .mb-l { margin-bottom: 64px; }
.center { text-align: center; }
.h3 { font-family: var(--f-serif-jp); font-weight: 600; font-size: clamp(20px, 2.2vw, 28px); letter-spacing: 0.04em; margin-bottom: 18px; }
.list-dot li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.list-dot li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 8px; height: 1px; background: var(--brass); }
.divider { height: 1px; background: var(--line); margin: 48px 0; border: 0; }

/* 日本語に擬似イタリックをかけない */
.gc__en:lang(ja) .ja, .gc__en.ja { font-family: var(--f-sans); font-style: normal; font-size: 13px; letter-spacing: 0.06em; }

/* グリッド子要素のはみ出し防止 */
.split > *, .gridcards > *, .figures > *, .cta__grid > * { min-width: 0; }
.fig__value { overflow-wrap: anywhere; }
.band .gridcards, .gridcards.is-dark { border-top-color: var(--line-inv); border-left-color: var(--line-inv); }
.band .gridcards > *, .gridcards.is-dark > * { border-color: var(--line-inv); }
.band .gridcards a:hover { background: rgba(255,255,255,0.06); }
.sec-head > * { min-width: 0; }
h1, h2, h3, .statement { overflow-wrap: anywhere; }
.dash { font-family: var(--f-sans); font-weight: 300; margin: 0 0.06em; }
