/* ============================================================
   公開トップ 2026-10-12 改版 —「静かな管制室＋目的別の入口」
   ------------------------------------------------------------
   創始者「门户の感じがない・文字が多い・首页に見えない・高大上でない」→ Codex と合議。
   - 格は 墨緑の帯・余白・字の大小差 で作る。写真・渲染図・動きは使わない。
   - 主図はカルテの実データ（関連会社）。帯のセルは発電モニターと同じ .hm-*（monitor.css）。
   - 色・字は tokens.css の --pv-* のみ。見出しは Zen Kaku Gothic New（トップだけ読む）。
   - 作用域は #h10。style.css の main a:not(...)（特異性 0,5,2）と、ヘッダー partial が
     後から読み直す home-v9-peach.css に負けないため。
   ============================================================ */

body.page-home-v10 { background: var(--pv-surface); }
/* home-v9-peach.css のスマホ側が .p9-main の子に order:9 を振る（フッターは 6）。本文を先頭へ */
body.page-home-v10 #h10 { order: 1; }

#h10 { color: var(--pv-ink); font-family: var(--pv-font); }
#h10 a { text-decoration: none; color: inherit; }
#h10 .h10-in { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
#h10 .h10-nb { display: inline-block; }

/* ---- 共通の字 ---- */
#h10 .h10-h2 { font-family: 'Zen Kaku Gothic New', var(--pv-font); font-weight: 900;
  font-size: 30px; line-height: 1.35; letter-spacing: -.01em; margin: 0 0 12px; color: var(--pv-ink); }
#h10 .h10-sec-lead { font-size: 15px; line-height: 1.85; color: var(--pv-muted); margin: 0; max-width: 40em; }
#h10 .h10-link { color: var(--pv-green-700); font-weight: 700; font-size: 14px;
  border-bottom: 1px solid var(--pv-green-100); padding-bottom: 1px; }
#h10 .h10-link:hover { border-bottom-color: var(--pv-green-600); }
#h10 .h10-num, #h10 .h10-kpi-num { font-family: var(--pv-font-num); font-variant-numeric: tabular-nums; }

/* ---- ボタン ---- */
#h10 .h10-btn { display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 8px; font-size: 15px; font-weight: 700;
  transition: background .15s, border-color .15s; }
#h10 .h10-btn--primary { background: var(--pv-green-400); color: var(--pv-forest); }
#h10 .h10-btn--primary:hover { background: var(--pv-green-100); }
#h10 .h10-btn--ghost { border: 1px solid var(--pv-forest-2); background: var(--pv-forest-2); color: var(--pv-on-forest); }
#h10 .h10-btn--ghost:hover { border-color: var(--pv-on-forest-2); }

/* ================= 1. ヒーロー ================= */
#h10 .h10-hero { background: var(--pv-forest); color: var(--pv-on-forest); padding: 84px 0 92px; }
#h10 .h10-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 64px; align-items: center; }
#h10 .h10-eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--pv-green-400); }
#h10 .h10-title { font-family: 'Zen Kaku Gothic New', var(--pv-font); font-weight: 900;
  font-size: 60px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 22px; color: var(--pv-on-forest); }
#h10 .h10-lead { font-size: 17px; line-height: 1.9; color: var(--pv-on-forest-2); margin: 0 0 34px; max-width: 27em; }
#h10 .h10-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
#h10 .h10-hero-note { margin: 16px 0 0; font-size: 13px; color: var(--pv-on-forest-2); }

/* 主図: 製品の窓 */
#h10 .h10-shot { margin: 0; }
#h10 .h10-shot-bar, #h10 .h10-shot-body { background: var(--pv-surface); color: var(--pv-ink); }
#h10 .h10-shot-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  border-radius: 14px 14px 0 0; border-bottom: 1px solid var(--pv-border); }
#h10 .h10-dots { display: inline-flex; gap: 6px; }
#h10 .h10-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--pv-border); }
#h10 .h10-shot-title { font-size: 12.5px; font-weight: 700; color: var(--pv-muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
#h10 .h10-shot-body { padding: 26px 28px 22px; border-radius: 0 0 14px 14px; box-shadow: var(--pv-shadow-lg); }
#h10 .h10-kpi { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
#h10 .h10-kpi-label { flex-basis: 100%; font-size: 12.5px; font-weight: 700; color: var(--pv-muted); }
#h10 .h10-kpi-num { font-size: 56px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--pv-ink); }
#h10 .h10-kpi-num small { margin-left: 6px; font-size: 18px; font-weight: 700; color: var(--pv-muted); letter-spacing: 0; }
#h10 .h10-kpi-empty { font-size: 15px; color: var(--pv-muted); }
#h10 .h10-pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; background: var(--pv-info-bg); color: var(--pv-info); }
#h10 .h10-pill--ok { background: var(--pv-green-50); color: var(--pv-green-700); }
#h10 .h10-pill--ng { background: var(--pv-warn-bg); color: var(--pv-warn); }
#h10 .h10-bars { display: flex; align-items: flex-end; gap: 3px; height: 76px; margin: 22px 0 6px; }
#h10 .h10-bars i { flex: 1 1 0; height: var(--h); min-height: 3px; border-radius: 2px 2px 0 0; background: var(--pv-green-100); }
#h10 .h10-bars i:last-child { background: var(--pv-green-600); }
#h10 .h10-bars i.h10-bar-gap { height: 3px; background: var(--pv-border); }
#h10 .h10-bars-cap { margin: 0 0 14px; font-size: 11.5px; color: var(--pv-muted); }
#h10 .h10-rows { margin: 0; }
#h10 .h10-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--pv-border); }
#h10 .h10-row dt { font-size: 13px; font-weight: 700; color: var(--pv-ink); }
#h10 .h10-row dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
#h10 .h10-row .h10-num { font-size: 22px; font-weight: 700; }
#h10 .h10-meta { font-size: 13px; color: var(--pv-muted); }
#h10 .h10-tag { font-size: 12px; font-weight: 700; color: var(--pv-green-700); background: var(--pv-green-50);
  padding: 2px 9px; border-radius: 999px; }
#h10 .h10-doc { font-size: 13.5px; color: var(--pv-ink-2); }
#h10 .h10-doc b { font-family: var(--pv-font-num); margin-left: 2px; }
#h10 .h10-shot-cap { margin-top: 14px; font-size: 12.5px; color: var(--pv-on-forest-2); }

/* ================= セクション共通 ================= */
#h10 .h10-sec { padding: 88px 0; }
/* 入口の下と管制室の上が 88+88 で間延びしていた（Codex P3） */
#h10 .h10-doors { padding-bottom: 56px; }

/* ================= 2. 目的から入る ================= */
#h10 .h10-door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
#h10 .h10-door { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px 26px;
  border: 1px solid var(--pv-border); border-radius: 14px; background: var(--pv-surface);
  transition: border-color .15s, box-shadow .15s; }
#h10 .h10-door:hover { border-color: var(--pv-green-100); box-shadow: var(--pv-shadow); }
#h10 .h10-door-k { font-size: 12.5px; font-weight: 700; color: var(--pv-green-700); }
#h10 .h10-door-t { font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--pv-ink); }
#h10 .h10-door-d { font-size: 14px; line-height: 1.8; color: var(--pv-muted); flex: 1 1 auto; }
#h10 .h10-door-go { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--pv-green-700); }
#h10 .h10-door-foot { margin: 22px 0 0; font-size: 13px; color: var(--pv-muted); }
#h10 .h10-door-foot .h10-link { font-size: 13px; }

/* ================= 3. 管制室 ================= */
#h10 .h10-ops { background: var(--pv-bg); }
#h10 .h10-ops-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 28px; }
#h10 .h10-ops-kpi { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
#h10 .h10-ops-kpi .h10-kpi-label { flex-basis: auto; }
#h10 .h10-hm { background: var(--pv-surface); border: 1px solid var(--pv-border); border-radius: 14px; padding: 18px 20px; }
#h10 .h10-hm-row { display: grid; grid-template-columns: 220px repeat(14, minmax(0, 1fr)); gap: 4px; align-items: center; }
#h10 .h10-hm-row + .h10-hm-row { margin-top: 4px; }
#h10 .h10-hm-row--head { margin-bottom: 4px; }
#h10 .h10-hm-name { font-size: 13px; font-weight: 700; color: var(--pv-ink); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; display: flex; align-items: center; gap: 8px; }
#h10 .h10-hm-row--head .h10-hm-name, #h10 .h10-hm-d { font-size: 11px; font-weight: 700; color: var(--pv-muted); }
#h10 .h10-hm-d { text-align: center; font-family: var(--pv-font-num); }
#h10 .h10-hm-c { display: flex; align-items: center; justify-content: center; height: 30px; border-radius: 4px;
  font-family: var(--pv-font-num); font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* 帯の小字のコントラスト（Codex 指摘: 発電モニターの .hm-0 は 3.6:1、.hm-3 は 3.0:1）。
   面の色はモニターと同じまま、トップでは字の色だけ濃く／白を墨緑に */
#h10 .h10-hm-c.hm-0 { color: var(--pv-green-700); }
#h10 .h10-hm-c.hm-3 { color: var(--pv-forest); }
#h10 .h10-hm-c.hm-zero { color: var(--pv-ink); }
#h10 .h10-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#h10 .h10-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; background: var(--pv-border); }
#h10 .h10-dot--ok { background: var(--pv-green-400); }
#h10 .h10-dot--warn { background: var(--pv-warn); }
#h10 .h10-dot--danger { background: var(--pv-danger); }
#h10 .h10-ops-foot { display: flex; gap: 28px; flex-wrap: wrap; margin: 20px 0 0; }

/* ================= 4. 保守の流れ ================= */
#h10 .h10-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
#h10 .h10-step { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--pv-forest); }
#h10 .h10-step-n { font-family: var(--pv-font-num); font-size: 14px; font-weight: 700; color: var(--pv-green-600); letter-spacing: .06em; }
#h10 .h10-step-t { font-size: 19px; font-weight: 800; color: var(--pv-ink); }
#h10 .h10-step-d { font-size: 14px; line-height: 1.8; color: var(--pv-muted); }
#h10 .h10-flow-foot { margin: 28px 0 0; }

/* ================= 5. 結び ================= */
#h10 .h10-close { background: var(--pv-forest); padding: 56px 0; }
#h10 .h10-close-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
#h10 .h10-close-t { margin: 0; font-family: 'Zen Kaku Gothic New', var(--pv-font); font-weight: 900;
  font-size: 28px; color: var(--pv-on-forest); }

/* フッター: 結びの墨緑の直後に来るので、上の二重罫は要らない */
body.page-home-v10 .p9-footer { border-top: 0; }

/* ================= タブレット ================= */
@media (max-width: 1080px) {
  #h10 .h10-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  #h10 .h10-title { font-size: 52px; }
  #h10 .h10-hm-row { grid-template-columns: 170px repeat(14, minmax(0, 1fr)); }
}

/* 帯は 860px 以下で直近7日に（761〜859px でセルが 30px を切って窮屈だった — Codex 指摘）。
   子の1番目は名前、2〜8番目が古い7日 */
@media (max-width: 860px) {
  #h10 .h10-hm-row { grid-template-columns: minmax(0, 1fr) repeat(7, minmax(30px, 56px)); }
  #h10 .h10-hm-row > :nth-child(n+2):nth-child(-n+8) { display: none; }
}

/* ================= スマホ ================= */
@media (max-width: 760px) {
  #h10 .h10-in { padding: 0 16px; }
  #h10 .h10-hero { padding: 44px 0 48px; }
  #h10 .h10-eyebrow { font-size: 11.5px; margin-bottom: 14px; letter-spacing: .1em; }
  #h10 .h10-title { font-size: 38px; margin-bottom: 16px; }
  #h10 .h10-lead { font-size: 15px; margin-bottom: 26px; }
  #h10 .h10-ctas { flex-direction: column; gap: 10px; }
  #h10 .h10-btn { width: 100%; }
  #h10 .h10-hero-note { text-align: center; }
  #h10 .h10-hero-grid { gap: 36px; }
  #h10 .h10-shot-body { padding: 20px 18px 16px; }
  #h10 .h10-kpi-num { font-size: 44px; }
  #h10 .h10-row { grid-template-columns: 44px minmax(0, 1fr); }

  #h10 .h10-sec { padding: 56px 0; }
  #h10 .h10-h2 { font-size: 23px; }
  #h10 .h10-door-grid, #h10 .h10-steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #h10 .h10-door { padding: 22px 20px 20px; }
  #h10 .h10-door-t { font-size: 18px; }
  #h10 .h10-steps { gap: 24px; }

  #h10 .h10-ops-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  #h10 .h10-ops-kpi { align-items: flex-start; }
  #h10 .h10-hm { padding: 14px 12px; }
  #h10 .h10-hm-row { grid-template-columns: minmax(0, 1fr) repeat(7, 30px); gap: 3px; }
  #h10 .h10-hm-name { font-size: 12px; }
  #h10 .h10-hm-c { height: 28px; font-size: 10.5px; }

  #h10 .h10-close { padding: 40px 0; }
  #h10 .h10-close-t { font-size: 21px; }
  #h10 .h10-close .h10-btn { width: 100%; }
}
