/* HIKARU NOTE 共通スタイル（2026-11-01 A案：ElevenLabs風）
   参考：styles.refero.design の ElevenLabs（色・余白・文字の決め方のみ）
   生成りの白とベージュの2色の帯で区切る。横線・枠線は使わない。
   文字は細めのゴシック＋字間広め、差し色はセージ1色。アイコンは線画（assets/icons.svg）。
   写真は .photo の枠に入れる（未用意のあいだは「写真（準備中）」の枠を表示）。 */
:root {
  --bg: #fdfcfb;         /* ページの地（生成りの白） */
  --band: #f4f1ed;       /* 帯・カード（一段深いベージュ） */
  --stone: #e9e5df;      /* アイコンの下地・プレースホルダー */
  --ink: #1c1c1c;        /* 文字・ボタン */
  --sub: #77726c;        /* 補足 */
  --sage: #81b4ad;       /* 差し色 */
  --sage-ink: #5f9790;   /* 差し色の文字 */
  --sage-soft: #e7f0ee;
  --sage-deep: #4a7d76;  /* 公式サイトへのボタン（白文字で読める濃さ） */
  --terra: #b86b5b;      /* 注意の文字 */
  --terra-soft: #f6ebe7; /* 注意の下地 */
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --latin: "Poppins", "Zen Kaku Gothic New", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .02em;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0 0 12px; }
.em { color: var(--sage-ink); }
.em-terra { color: var(--terra); }

.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- PR表記・ヘッダー ---------- */
.pr-bar { background: var(--band); color: var(--sub); font-size: 11px; text-align: center; padding: 6px 16px; letter-spacing: .04em; }
.pr-bar strong { font-family: var(--latin); font-weight: 600; color: var(--terra); margin-right: 8px; letter-spacing: .1em; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 252, 251, .9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.site-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-decoration: none; }
.site-title .brand { font-family: var(--latin); font-weight: 500; font-size: 14.5px; letter-spacing: .16em; }
.site-title .brand small { display: block; font-family: var(--gothic); font-weight: 400; font-size: 9.5px; letter-spacing: .08em; color: var(--sub); line-height: 1.4; margin-top: 1px; }
.site-title .brand { line-height: 1.25; }
.site-title img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--band); }
.site-header nav { display: flex; gap: 18px; }
.site-header nav a { font-size: 12px; color: var(--sub); text-decoration: none; letter-spacing: .08em; }

/* ---------- セクション ---------- */
.sec { padding-block: 48px; }
.sec.band { background: var(--band); }
.eyebrow { font-family: var(--latin); font-size: 11px; font-weight: 500; letter-spacing: .22em; color: var(--sage-ink); margin: 0 0 10px; text-transform: uppercase; }
.numbered { counter-reset: sec; }
.numbered .sec { counter-increment: sec; }
.numbered .sec .eyebrow::before { content: counter(sec, decimal-leading-zero) " — "; }
.numbered .sec .eyebrow.ja::before { content: counter(sec, decimal-leading-zero) "｜"; }
.eyebrow.ja { letter-spacing: .12em; }
.sec h2 { font-size: 23px; line-height: 1.6; letter-spacing: .04em; margin-bottom: 26px; }
.note { font-size: 12px; color: var(--sub); line-height: 1.8; margin: 14px 0 0; }
.note.warn { color: var(--terra); }
.gap { height: 20px; }

/* カード（帯の上は白、白の上はベージュ） */
.card { background: var(--band); border-radius: 16px; padding: 18px; }
.band .card { background: var(--bg); }

/* 写真の枠（未用意のあいだはプレースホルダー） */
.photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 4 / 3;
  max-width: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  color: var(--sub);
  font-size: 11.5px;
  text-align: center;
  line-height: 1.6;
}
.photo.wide { aspect-ratio: 16 / 10; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo svg.i { width: 28px; height: 28px; stroke-width: 1.3; }

/* ---------- ボタン ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 22px;
  font-family: var(--gothic);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  background: var(--ink);
  color: #fff;
}
.btn svg.i { width: 18px; height: 18px; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn.pending { background: var(--stone); color: var(--sub); cursor: default; }
.btn-note { font-size: 11px; color: var(--sub); text-align: center; margin: 8px 0 0; line-height: 1.8; }
.btn-note a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }
/* 公式サイトへのボタン：押せる場所だとわかるように、右端の矢印・影・押したときの沈み込み */
a.btn:not(.line) { background: var(--sage-deep); position: relative; padding-inline: 58px; box-shadow: 0 6px 18px rgba(74, 125, 118, .28); transition: transform .15s, box-shadow .15s, background-color .15s; -webkit-tap-highlight-color: transparent; }
a.btn:not(.line)::after { content: ""; position: absolute; right: 10px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7d76' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; }
a.btn:not(.line):active { transform: translateY(2px); box-shadow: 0 2px 6px rgba(74, 125, 118, .25); background-color: #3f6c66; }
@media (hover: hover) { a.btn:not(.line):hover { background-color: #3f6c66; } }
.motion a.btn:not(.line)::after { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(4px); } }

/* ---------- ひかるの吹き出し ---------- */
.talk { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.talk img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--stone); }
.bubble { flex: 1; min-width: 0; background: var(--bg); border-radius: 16px 16px 16px 4px; padding: 12px 16px; font-size: 13px; line-height: 1.75; }
.sec:not(.band) .bubble { background: var(--band); }

/* ---------- ファーストビュー ---------- */
.fv { padding-block: 28px 40px; }
.fv .eyebrow { margin-bottom: 16px; }
.fv h1 { font-size: 30px; line-height: 1.5; letter-spacing: .05em; }
.fv h1 em { font-style: normal; color: var(--sage-ink); }
.fv .lead { font-size: 13px; color: var(--sub); line-height: 1.9; margin: 14px 0 20px; }
.fv .lead b { color: var(--ink); font-weight: 500; font-size: 15px; }
.fv .photo { margin-bottom: 14px; }
.fv .photo.wide { aspect-ratio: 2 / 1; margin-bottom: 16px; }
.fv .photo img { object-position: 50% 35%; }
.fv .btn-note { margin-bottom: 18px; }
.timebox-note a { color: var(--sage-ink); text-decoration: underline; text-underline-offset: 3px; }
.cp-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terra-soft);
  color: var(--terra);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 18px;
}
.cp-notice svg.i { width: 16px; height: 16px; }
.timebox { background: var(--band); border-radius: 16px; padding: 22px 12px 18px; }
.band .timebox { background: var(--bg); }
.band .timebox .ic { background: var(--band); }
.band .timebox .on .ic { background: var(--sage); }
.timebox-q { font-size: 12px; text-align: center; color: var(--sub); letter-spacing: .06em; margin: 0 0 6px; }
.timebox-t { font-size: 17px; font-weight: 700; text-align: center; color: var(--ink); letter-spacing: .04em; line-height: 1.55; margin: 0 0 8px; }
.timebox-s { font-size: 12px; text-align: center; color: var(--sage-ink); letter-spacing: .04em; line-height: 1.7; margin: 0 0 18px; }
.timebox ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1.3fr 1fr; text-align: center; position: relative; }
.timebox ol::before { content: ""; position: absolute; top: 24px; left: 17%; right: 17%; border-top: 1px solid #d8d2ca; }
.timebox li { position: relative; font-size: 12.5px; line-height: 1.45; }
.timebox li small { display: block; font-size: 11px; color: var(--sage-ink); margin-top: 2px; }
.timebox .ic { position: relative; z-index: 1; width: 48px; height: 48px; margin: 0 auto 8px; display: grid; place-content: center; border-radius: 50%; background: var(--bg); }
.timebox .on .ic { background: var(--sage); color: #fff; }
.sec-lead { font-size: 13px; color: var(--sub); line-height: 1.9; margin: -6px 0 18px; }
.timebox-h { font-size: 13px; font-weight: 500; text-align: center; margin: 0 0 16px; }
.reasons + .timebox { margin: 10px 0; }
.timebox-warn { font-size: 12px; font-weight: 500; color: var(--terra); text-align: center; margin: 20px 0 8px; }
.risks.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.risks.three .risk { padding: 12px 4px; font-size: 12.5px; }
.risks.three .risk small { font-size: 10.5px; }
.timebox-note { font-size: 11.5px; line-height: 1.8; color: var(--sub); text-align: center; margin: 14px 0 0; }
.inapp { font-size: 11px; color: var(--sub); text-align: center; line-height: 1.8; margin: 18px 0 0; }

/* ---------- 3つの理由 ---------- */
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reason { display: flex; gap: 14px; align-items: flex-start; }
.reason > svg.i { color: var(--sage-ink); margin-top: 3px; }
.reason > div { min-width: 0; }
.reason h3 { font-size: 15px; line-height: 1.6; margin-bottom: 4px; }
.reason p { font-size: 13px; color: var(--sub); line-height: 1.75; margin: 0; }
.reason .cond { font-size: 12px; margin-top: 6px; }
.reason .cond::before { content: "※ "; }

/* ---------- シミュレーション ---------- */
.fund-name { text-align: center; font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.fund-name .tag { display: block; width: max-content; margin: 0 auto 6px; font-size: 10.5px; color: var(--terra); background: var(--terra-soft); padding: 1px 10px; border-radius: 9999px; letter-spacing: .06em; }
.fund-name + .note { text-align: center; margin: -6px 0 14px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trio > div { background: var(--band); border-radius: 14px; padding: 12px 4px; text-align: center; font-size: 11px; color: var(--sub); line-height: 1.5; }
.band .trio > div { background: var(--bg); }
.trio b { display: block; font-family: var(--latin); font-weight: 500; font-size: 20px; color: var(--ink); line-height: 1.3; margin-top: 2px; }
.trio b small { font-family: var(--gothic); font-size: 11px; margin-left: 1px; }
.calc { display: grid; justify-items: center; margin-top: 18px; }
.calc .card { width: 100%; text-align: center; font-size: 13px; }
.calc .card b { display: block; font-family: var(--latin); font-weight: 500; font-size: 26px; line-height: 1.3; }
.calc .card b small { font-family: var(--gothic); font-size: 13px; margin-left: 2px; }
.calc .card .f { display: block; font-size: 11px; color: var(--sub); }
.calc .card.goal { background: var(--sage-soft); }
.calc .card.goal b { color: var(--sage-ink); }
.calc .down { display: grid; justify-items: center; padding: 8px 0; font-size: 11px; color: var(--sub); line-height: 1.4; }
.calc .down svg.i { transform: rotate(90deg); width: 18px; height: 18px; color: var(--sage-ink); }

/* ---------- 仕組み ---------- */
.flow4 { display: grid; grid-template-columns: 1fr 22px 1fr; grid-template-rows: auto 22px auto; align-items: center; }
.flow4 .card { text-align: center; font-size: 12.5px; line-height: 1.55; padding: 16px 6px; }
.flow4 .card svg.i { display: block; margin: 0 auto 8px; color: var(--sage-ink); }
.flow4 .card.goal { background: var(--sage-soft); }
.flow4 .arrow { color: var(--sage-ink); font-size: 14px; text-align: center; }
/* 右上のカードから左下のカードへ：2行目の全幅の真ん中に置く */
.flow4 .a-diag { grid-column: 1 / -1; justify-self: center; }
.mid-text { font-size: 13px; text-align: center; line-height: 1.85; margin: 20px 0; color: var(--sub); }
.mid-text b { color: var(--ink); font-weight: 500; }
.risks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.risk { background: var(--terra-soft); border-radius: 14px; padding: 14px 10px; text-align: center; font-size: 13px; font-weight: 500; line-height: 1.5; }
.risk svg.i { display: block; margin: 0 auto 6px; color: var(--terra); width: 22px; height: 22px; }
.risk small { display: block; font-size: 11px; font-weight: 400; color: var(--sub); margin-top: 3px; }

/* ---------- 実績 ---------- */
.stats > div b { font-size: 21px; }
.facts { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 13px; margin-top: 14px; }
.facts th, .facts td { background: var(--band); padding: 11px 14px; text-align: left; vertical-align: top; line-height: 1.6; }
.band .facts th, .band .facts td { background: var(--bg); }
.facts th { width: 36%; color: var(--sub); font-weight: 400; font-size: 12px; border-radius: 12px 0 0 12px; }
.facts td { font-weight: 500; border-radius: 0 12px 12px 0; }

/* ---------- キャンペーン ---------- */
.proof { margin: 22px 0 0; background: var(--band); border-radius: 16px; padding: 16px; text-align: center; }
.proof figcaption { font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.proof img { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.proof p { margin: 10px 0 0; font-size: 11.5px; line-height: 1.7; color: var(--sub); }
.cp-banner { display: block; width: 100%; max-width: 360px; height: auto; margin: 0 auto 18px; border-radius: 16px; }
/* 登録画面で見る手順（縦に1ステップずつ：左にスクショ、右に入力するもの・次に押すボタン） */
.guide-wrap { margin: 26px 0 0; }
.guide-wrap figcaption { text-align: center; font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.guide-wrap figcaption small { display: block; font-size: 11px; font-weight: 400; color: var(--sub); margin-top: 2px; }
.guide { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gs { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 14px; align-items: start; background: var(--bg); border-radius: 16px; padding: 12px; }
.gs > img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--stone); }
.gs-noimg { aspect-ratio: 9 / 16; border-radius: 10px; background: var(--band); display: grid; place-content: center; justify-items: center; gap: 6px; font-size: 10.5px; line-height: 1.5; color: var(--sub); text-align: center; }
.gs-noimg svg.i { width: 22px; height: 22px; color: var(--sage-ink); }
.gs-body { min-width: 0; }
.gs-n { font-family: var(--latin); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: var(--sage-ink); margin: 2px 0 2px; }
.gs h3 { font-size: 14.5px; font-weight: 500; line-height: 1.45; margin: 0 0 8px; }
.gs ul { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 3px; }
.gs ul li { position: relative; padding-left: 13px; font-size: 12px; line-height: 1.5; }
.gs ul li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.gs-none { font-size: 12px; color: var(--sub); margin: 0 0 10px; }
.gs-next { margin: 0 0 8px; }
.gs-next span { display: block; font-size: 10.5px; color: var(--sub); margin-bottom: 3px; }
.gs-next b { display: inline-block; background: var(--white, #fff); border: 1px solid var(--sage); color: var(--sage-ink); font-weight: 500; font-size: 12px; line-height: 1.45; border-radius: 6px; padding: 4px 9px; }
.gs-tip { font-size: 11px; line-height: 1.6; color: var(--sub); margin: 0; }
.prep small { font-size: 10.5px; color: var(--sub); }
/* ことばメモ（専門用語をやさしく言い換え） */
.words { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; justify-content: center; font-size: 11.5px; line-height: 1.6; color: var(--sub); }
.words dt { font-weight: 500; color: var(--sage-ink); }
.words dt::after { content: "＝"; color: var(--sub); margin-left: 4px; }
.words dd { margin: 0; }
.facts-t { text-align: center; font-size: 12.5px; margin: 22px 0 8px; }
.cp-notes { margin: 12px 0 0; padding-left: 1.2em; font-size: 12px; color: var(--sub); line-height: 1.85; }

/* ---------- 登録から投資までの流れ ---------- */
.prep { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 26px; }
.prep-t { width: 100%; text-align: center; font-size: 11.5px; color: var(--sub); letter-spacing: .06em; }
.prep span:not(.prep-t) { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 9999px; padding: 5px 12px; font-size: 12px; }
.prep svg.i { width: 16px; height: 16px; color: var(--sage-ink); }
.phase { font-family: var(--latin); font-size: 11px; font-weight: 500; letter-spacing: .2em; color: var(--sage-ink); margin: 0 0 12px; }
.phase:not(:first-of-type) { margin-top: 26px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 20px; bottom: 20px; border-left: 1px solid #d8d2ca; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; font-size: 14px; line-height: 1.5; }
.timeline .ic { grid-row: span 2; position: relative; display: grid; place-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--ink); }
.timeline .ic svg.i { width: 20px; height: 20px; }
.timeline .on .ic, .timeline li.on .ic { background: var(--sage); color: #fff; }
.timeline b { font-weight: 500; }
.timeline small { font-size: 11.5px; color: var(--sub); line-height: 1.6; }
.timeline li:not(:has(small)) .ic { grid-row: auto; }
.caution { margin-top: 14px; background: var(--terra-soft); color: var(--terra); border-radius: 12px; padding: 10px 14px; font-size: 12.5px; text-align: center; line-height: 1.6; }

/* ---------- よくある質問 ---------- */
.qa { display: grid; gap: 8px; }
.qa details { background: var(--band); border-radius: 14px; padding: 0 16px; }
.band .qa details { background: var(--bg); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 0; font-size: 14px; font-weight: 500; line-height: 1.55; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; flex: none; font-family: var(--latin); font-size: 13px; color: var(--sage-ink); }
.qa summary::after { content: "+"; margin-left: auto; color: var(--sub); font-family: var(--latin); font-size: 18px; font-weight: 300; }
.qa details[open] summary::after { content: "−"; }
.qa .ans { display: flex; gap: 12px; padding: 0 0 16px; font-size: 13px; color: var(--sub); line-height: 1.8; }
.qa .ans::before { content: "A"; flex: none; font-family: var(--latin); font-size: 13px; color: var(--terra); }

/* ---------- 記事・ツール一覧 ---------- */
.post-card { display: flex; align-items: center; gap: 14px; background: var(--band); border-radius: 16px; padding: 14px; margin: 0 0 10px; text-decoration: none; }
.band .post-card { background: var(--bg); }
.post-card .thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; background: var(--bg); display: grid; place-content: center; color: var(--sage-ink); }
.band .post-card .thumb { background: var(--band); }
.post-card .body { min-width: 0; flex: 1; }
.post-card .meta { display: flex; gap: 6px; margin-bottom: 2px; }
.tag { font-size: 10px; padding: 0 8px; border-radius: 9999px; background: var(--sage-soft); color: var(--sage-ink); letter-spacing: .04em; }
.tag.pr { background: var(--terra-soft); color: var(--terra); font-family: var(--latin); }
.post-card .ttl { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.5; }
.post-card .desc { display: block; font-size: 11.5px; color: var(--sub); line-height: 1.6; margin-top: 2px; }
.post-card > svg.i { color: var(--sub); width: 18px; height: 18px; }

/* ---------- プロフィール ---------- */
.profile { text-align: center; }
.profile > img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--stone); }
.profile .handle { font-family: var(--latin); font-size: 12px; color: var(--sub); margin: 6px 0 8px; letter-spacing: .06em; }
.profile .role { font-size: 14px; line-height: 1.75; margin-bottom: 22px; }

/* ---------- 運営方針 ---------- */
.policy { display: grid; gap: 10px; }
.policy .card h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 6px; }
.policy .card h3 svg.i { color: var(--sage-ink); width: 20px; height: 20px; }
.policy .card p { font-size: 13px; color: var(--sub); line-height: 1.8; margin: 0; }

/* ---------- フッター ---------- */
.site-footer { background: var(--band); color: var(--sub); padding-block: 36px 48px; font-size: 11.5px; line-height: 1.9; }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0; }
.site-footer a { color: var(--ink); }
.site-footer .copy { font-family: var(--latin); letter-spacing: .06em; }

/* 小さいスマホ（〜374px） */
@media (max-width: 374px) {
  .fv h1 { font-size: 27px; }
  .trio b { font-size: 17px; }
  .stats > div b { font-size: 18px; }
}

/* ---------- モーション（html.motion のときだけ。動きは1回きり） ---------- */
@keyframes slow-zoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(129, 180, 173, .55); } 100% { box-shadow: 0 0 0 14px rgba(129, 180, 173, 0); } }
:root { --ease: cubic-bezier(.2, .7, .2, 1); }
.motion .fv .wrap > * { animation: fade-up .9s var(--ease) both; }
.motion .fv .wrap > :nth-child(2) { animation-delay: .15s; }
.motion .fv .wrap > :nth-child(3) { animation-delay: .3s; }
.motion .fv .wrap > :nth-child(n+4) { animation-delay: .45s; }
.motion .fv .photo img { animation: slow-zoom 5s var(--ease) both; }
/* 基本：下から出てくる */
.motion .rv { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.motion .rv.in { opacity: 1; transform: none; }
/* まとまり（カード・タイル）は1つずつ順番に */
.motion .stagger.rv { opacity: 1; transform: none; }
.motion .stagger > * { opacity: 0; transform: translateY(30px) scale(.94); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * .14s); }
.motion .stagger.in > * { opacity: 1; transform: none; }
/* ひかるの吹き出しはぽんっと */
.motion .talk.rv { transform: none; }
.motion .talk .bubble { transform: scale(.6); transform-origin: left center; opacity: 0; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .25s, opacity .3s ease .25s; }
.motion .talk.in .bubble { transform: none; opacity: 1; }
/* 計算は1段ずつ、最後の受け取りを光らせる */
.motion .calc.rv { transform: none; opacity: 1; }
.motion .calc > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion .calc.in > * { opacity: 1; transform: none; }
.motion .calc.in > :nth-child(2) { transition-delay: .5s; }
.motion .calc.in > :nth-child(3) { transition-delay: 1s; }
.motion .calc.in > :nth-child(4) { transition-delay: 1.5s; }
.motion .calc.in > :nth-child(5) { transition-delay: 2s; }
.motion .calc.in .goal { animation: ring 1s ease-out 2.6s 2; }
/* 流れ：縦線が伸びて、アイコンが順にぽんっと出る */
.motion .timeline::before { transform: scaleY(0); transform-origin: top; transition: transform 1.4s var(--ease) .1s; }
.motion .timeline.in::before { transform: scaleY(1); }
.motion .timeline.in .ic { animation: pop .55s var(--ease) both; animation-delay: calc(var(--i, 0) * .22s + .1s); }
/* 実績の数字は大きくなりながら数え上がる */
.motion .stats.in b { animation: pop .7s var(--ease) both; animation-delay: calc(var(--i, 0) * .14s); }
.stats b { font-variant-numeric: tabular-nums; }
.timebox-note b { display: block; font-size: 12.5px; font-weight: 500; color: var(--terra); margin-bottom: 2px; }

/* 2026-11-03 改善指示書：シミュレーションの補足・登録手順の折りたたみ・最終セクション */
.recap { font-size: 13px; line-height: 1.85; text-align: center; color: var(--sub); margin: 22px 0 0; }
.keypoints { list-style: none; margin: 16px 0 0; padding: 14px 16px; background: var(--terra-soft); border-radius: 12px; display: grid; gap: 6px; }
.keypoints li { position: relative; padding-left: 14px; font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.keypoints li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }
.more { margin-top: 12px; background: var(--bg); border-radius: 14px; padding: 0 8px; }
.more > summary { padding-inline: 6px; }
.more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 13.5px; font-weight: 500; line-height: 1.55; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "+"; margin-left: auto; flex: none; color: var(--sage-ink); font-family: var(--latin); font-size: 20px; font-weight: 300; }
.more[open] > summary::after { content: "−"; }
.more[open] { padding-bottom: 14px; }
.more .guide-wrap { margin-top: 12px; }
.final-lead { font-size: 13px; line-height: 1.85; color: var(--sub); margin: 0 0 18px; }
.profile .role { margin: 0 0 12px; }
.more .gs, .more .timeline .ic { background: var(--band); }
.more .timeline .on .ic { background: var(--sage); }
#simulation .note { text-align: center; }
.proof .proof-k { font-size: 12.5px; color: var(--ink); }
.proof .proof-k b { font-weight: 500; color: var(--terra); }

/* 2026-11-03 改善 */
.fv .lead small { display: block; margin-top: 6px; font-size: 11.5px; color: var(--terra); line-height: 1.6; }
.calc-if { margin: 18px 0 0; text-align: center; font-size: 12.5px; line-height: 1.7; color: var(--sub); }
.calc-if b { color: var(--ink); font-weight: 500; }
.caution.soft { background: var(--band); color: var(--ink); margin-top: 8px; }
.facts td small, .facts-t small { display: block; font-size: 11px; font-weight: 400; color: var(--sub); }
.tiers td { font-family: var(--latin); }
.tiers { border-spacing: 0 4px; }
.tiers th, .tiers td { padding: 7px 14px; vertical-align: middle; }

/* ---------- トップのファーストビュー（今も、未来も） ---------- */
.hero { padding-block: 72px 64px; overflow: hidden; }
.hero-copy + .hero-scroll { margin-top: 48px; }
.hero-copy { font-size: 40px; line-height: 1.42; letter-spacing: .06em; font-weight: 500; }
.hero-copy > span { display: block; }
.hero-now { color: var(--ink); }
.hero-future { color: var(--sage-ink); padding-left: 1.2em; }
.hero-rest { font-size: 26px; line-height: 1.6; margin-top: 10px; }
.hero-scroll { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; text-decoration: none; letter-spacing: .08em; padding-bottom: 4px; border-bottom: 1px solid var(--ink); }
.hero-scroll svg.i { width: 16px; height: 16px; transform: rotate(90deg); }
@media (max-width: 374px) { .hero-copy { font-size: 35px; } .hero-rest { font-size: 23px; } }

/* ---------- 目次（TORCHESページ） ---------- */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.toc { padding-block: 8px 52px; }
.toc .eyebrow { margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc li a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; min-height: 48px; text-decoration: none; font-size: 14.5px; letter-spacing: .05em; }
.toc li a::before { content: counter(toc, decimal-leading-zero); font-family: var(--latin); font-weight: 300; font-size: 12px; letter-spacing: .08em; color: var(--sage-ink); }
.toc li a span { min-width: 0; line-height: 1.5; }
.toc li a em { font-style: normal; font-size: 10.5px; letter-spacing: .06em; color: var(--terra); background: var(--terra-soft); border-radius: 99px; padding: 2px 9px; margin-left: 8px; vertical-align: 2px; }
.toc li a svg.i { width: 14px; height: 14px; color: var(--sub); transform: rotate(90deg); transition: transform .3s; }
.toc li a:active svg.i { transform: rotate(90deg) translateX(3px); }

.sec:not(.band) .more { background: var(--band); }
.more > .facts-t, .more > .cp-notes, .more > .caution { margin-inline: 6px; }
.more > .caution { margin-bottom: 14px; }

/* 優先劣後の割合バー（センス・オーナーズ） */
.split { margin: 4px 4px 0; }
.split-bar { display: flex; height: 34px; border-radius: 9999px; overflow: hidden; font-size: 11.5px; line-height: 34px; text-align: center; }
.split-bar span { white-space: nowrap; }
.split-bar .s-inv { background: var(--sage-soft); color: var(--sage-ink); }
.split-bar .s-sub { background: var(--sage-deep); color: #fff; }
.split-legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--sub); line-height: 1.6; }
.split-legend b { color: var(--ink); font-weight: 500; }
.split-legend > span:last-child { text-align: right; }

/* ---------- 理由2・3の図（役割分担・出し合い） ---------- */
.timebox + .reasons { margin-top: 10px; }
.reasons + .timebox + .reasons + .timebox { margin-bottom: 10px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-inline: 4px; }
.role-col { background: var(--band); border-radius: 14px; padding: 16px 10px 14px; text-align: center; font-size: 13px; }
.timebox .role-col .ic { width: 44px; height: 44px; margin: 0 auto 6px; display: grid; place-content: center; border-radius: 50%; background: var(--bg); color: var(--ink); }
.timebox .role-col.me .ic { background: var(--sage); color: #fff; }
.role-col b { display: block; font-weight: 500; margin-bottom: 6px; }
.role-col ul { list-style: none; margin: 0; padding: 0; font-size: 12px; line-height: 1.8; color: var(--sage-ink); }
.pool { display: grid; justify-items: center; gap: 8px; }
.pool-coins { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pool-coins span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; background: var(--band); font-family: var(--latin); font-size: 10.5px; font-weight: 500; letter-spacing: 0; color: var(--ink); }
.pool-arrow svg.i { width: 18px; height: 18px; transform: rotate(90deg); color: var(--sage-ink); }
.pool-goal { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; }
.timebox .pool-goal .ic { width: 52px; height: 52px; display: grid; place-content: center; border-radius: 50%; background: var(--sage); color: #fff; }

/* 優先劣後の例（値下がりしたときの図） */
.split-bar .s-loss { background: repeating-linear-gradient(135deg, var(--terra-soft) 0 6px, #fff 6px 10px); color: var(--terra); }
.pp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: 11px; color: var(--sub); margin: -2px 0 12px; }
.pp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.pp-legend i.s-inv { background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--sage); }
.pp-legend i.s-sub { background: var(--sage-deep); }
.pp-legend i.s-loss { background: repeating-linear-gradient(135deg, var(--terra-soft) 0 3px, #fff 3px 5px); box-shadow: inset 0 0 0 1px var(--terra-soft); }
.pp-row { margin: 0 4px 14px; }
.pp-h { font-size: 12px; font-weight: 500; margin: 0 0 6px; }
.pp-k { font-size: 12px; color: var(--sub); line-height: 1.7; margin: 6px 0 0; }
.pp-k b { color: var(--ink); font-weight: 500; }
.pp-k b.em-terra { color: var(--terra); }
