@charset "UTF-8";

/* ============================================================
   入口のページ（市民の声を拾うサイト）
   Yuko Maie のサイトと同じ、紺・白・やわらかい金。
   本文 18px 以上、小さな字も 16px 以上。押せるものは 52px 以上。
   ============================================================ */

:root {
  --navy-900: #0a1a2f;
  --navy-800: #0f2745;
  --navy-600: #1f456f;
  --navy-500: #2f5b8a;
  --white: #ffffff;
  --paper: #fbfbf9;
  --mist: #f2f4f7;
  --line: #e3e7ec;
  --ink: #14243a;
  --ink-soft: #4a5b70;
  --ink-mute: #5f6f85;
  --gold-600: #a8842f;
  --gold-500: #c2a15a;
  --gold-400: #d6bd8a;
  --gold-100: #f5eddd;
  --mint: #3f7d6f;
  --mint-bg: #e8f2ef;
  --container: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  font-size: 18px; line-height: 1.8; font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; background: var(--navy-800); color: #fff; padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; }

/* ---------- 上の帯 ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand-mark { width: 11px; height: 11px; background: var(--gold-500); transform: rotate(45deg); flex: none; }
.demo-tag { font-size: 16px; color: var(--ink-soft); }

/* ---------- ヒーロー ---------- */
.hero { background: var(--navy-800); color: #fff; }
.hero-in { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { color: var(--gold-400); font-size: 16px; font-weight: 700; letter-spacing: .08em; }
h1 { font-size: clamp(1.6rem, 5vw, 2.9rem); line-height: 1.4; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.hero-sub { color: #c9d6e6; font-size: clamp(1.1rem, 2.4vw, 1.25rem); max-width: 36em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); }
.btn-line { border: 1.5px solid #c9d6e6; color: #fff; }

/* ---------- セクション ---------- */
.sec { padding: 64px 0; }
.sec-mist { background: var(--mist); }
.sec-note { background: var(--paper); border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.5rem, 4vw, 1.95rem); line-height: 1.4; margin-bottom: 20px; }
h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--gold-500); margin-top: 12px; }
h3 { font-size: 1.25rem; line-height: 1.5; margin: 36px 0 14px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; }

/* 流れ（6つ） */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px 24px; counter-reset: step; margin-top: 8px; }
.flow li { counter-increment: step; border-top: 3px solid var(--navy-500); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.flow li::before { content: counter(step); font-size: 16px; font-weight: 700; color: var(--gold-600); }
.flow b { font-size: 1.2rem; }
.flow span { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }

/* 2つの声の例 */
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.case-h { font-size: 16px; font-weight: 700; color: var(--navy-500); }
.quote { font-size: 1.3rem; font-weight: 700; line-height: 1.5; }
.case ul { display: flex; flex-direction: column; gap: 6px; }
.case li { position: relative; padding-left: 1.1em; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.case li::before { content: ""; position: absolute; left: 0; top: .72em; width: .42em; height: .42em; border-radius: 50%; background: var(--gold-500); }

/* 意味の骨格 */
.bone { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.node { background: var(--white); border: 1.5px solid var(--navy-500); border-radius: 10px; padding: 14px 16px; min-width: 0; }
.node small { display: block; font-size: 16px; color: var(--ink-mute); line-height: 1.5; }
.node b { font-size: 1.15rem; line-height: 1.5; }
.node-core { border-color: var(--gold-600); background: var(--gold-100); }
.node-me { border-color: var(--mint); background: var(--mint-bg); }
.node-miss { border: 1.5px dashed var(--ink-mute); background: transparent; }
.node-miss b { color: var(--ink-mute); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; font-size: 16px; color: var(--ink-soft); }
.legend li { display: flex; align-items: center; gap: 8px; }
.lg { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.lg-ai { border: 1.5px solid var(--navy-500); background: var(--white); }
.lg-me { border: 1.5px solid var(--mint); background: var(--mint-bg); }
.lg-miss { border: 1.5px dashed var(--ink-mute); }

/* 体験への入口 */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 28px; margin: 28px 0 32px; }
.modes li { display: flex; flex-direction: column; gap: 4px; border-left: 3px solid var(--gold-500); padding-left: 16px; min-width: 0; }
.modes b { font-size: 1.15rem; }
.modes span { color: var(--ink-soft); font-size: 17px; line-height: 1.7; }

/* 前提 */
.notes { display: flex; flex-direction: column; gap: 8px; max-width: 44em; }
.notes li { position: relative; padding-left: 1.1em; color: var(--ink-soft); }
.notes li::before { content: ""; position: absolute; left: 0; top: .8em; width: .42em; height: .42em; border-radius: 50%; background: var(--navy-500); }

/* フッター */
.foot { background: var(--navy-900); color: #c9d6e6; padding: 32px 0; font-size: 16px; }
.foot-by { color: #fff; font-weight: 700; margin-top: 4px; }

@media (max-width: 600px) {
  .hero-in { padding-top: 44px; padding-bottom: 52px; }
  .sec { padding: 48px 0; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
