/* richble — 個人の「お金・資産形成」の伴走AI（Marrible の姉妹ブランド）。
   Cloudflare Pages 用・自己完結の静的サイト。
   トーン: 白基調×墨×差し色1色（深松緑 #1F6D63）。明朝の見出し（Zen Old Mincho）。
   絵文字・グラデ・グローは使わない（家族共通の大人トーン規律）。
   日本語本文に text-wrap: pretty は使わない（家族共通の組版教訓）。 */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --ink: #1b2330;
  --ink-2: #4a5568;
  --ink-3: #8a94a3;
  --line: #e5e8ee;
  --accent: #1f6d63;       /* 深松緑（差し色1色） */
  --accent-soft: #5c9890;  /* 同色相の淡色（補助線・サブ） */
  --bg-soft: #f4f8f6;      /* ごく僅かに緑を含む白に近い背景 */
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; }

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.brand {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* 公開準備中の状態表示（押せるボタンに見せない＝正直なCTA） */
.statePill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--bg-soft);
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  padding: 7px 15px;
}
.statePill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-soft);
}

/* ---------- hero ---------- */
.hero { padding: 80px 0 64px; }
.hero h1 {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.hero h1 .accent { color: var(--accent); }
.sub {
  margin: 26px 0 0;
  max-width: 34em;
  color: var(--ink-2);
}
.heroState {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.heroNote {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- sections ---------- */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.section.soft { background: var(--bg-soft); }
.kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.section h2 {
  margin: 10px 0 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.5;
}
.lead {
  margin: 18px 0 0;
  max-width: 42em;
  color: var(--ink-2);
}
.note {
  margin: 20px 0 0;
  max-width: 42em;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px;
  background: #fff;
}
.card .num {
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-soft);
  letter-spacing: 0.06em;
}
.card h3 {
  margin: 6px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.6;
}
.card p {
  margin: 10px 0 0;
  font-size: 13.5px;
  color: var(--ink-2);
}

/* ---------- creed（思想・暗転ブロック） ---------- */
.creed {
  background: var(--ink);
  color: #fff;
}
.creedQuote {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: 0.05em;
}
.creedBody {
  margin: 20px 0 0;
  max-width: 42em;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.80);
}

/* ---------- disclaimer（免責） ---------- */
.disclaimer {
  padding: 44px 0 0;
}
.disclaimerBox {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  padding: 22px 22px;
}
.disclaimerBox .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-3);
}
.disclaimerBox p {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 52px;
}
.footNote {
  margin: 12px 0 0;
  max-width: 42em;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footFamily {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.footFamily a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.copyright {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- faq（ネイティブ details アコーディオン・JS不要） ---------- */
.faq {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.faqItem {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0 18px;
}
.faqItem > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
}
.faqItem > summary::-webkit-details-marker { display: none; }
.faqItem > summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.faqItem[open] > summary::after { content: "−"; }
.faqItem > p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0; }
  .cards { grid-template-columns: 1fr; }
}
