/* ここだけ — ランディングページ（index.html と、シェアの着地ページ share.html）
 *
 * デザインの正: docs/design/kokodake-lp.dc.html（Claude Design「ここだけ LP」）。
 * 値はボードからそのまま写している。色は墨 rgb(28,38,51) ベース、差し色は琥珀のロゴタイルだけ。
 * 端末フレームは docs/design/ios-frame.jsx の IOSDevice を静的に再現したもの。
 */

:root {
  --ink: #1C2633;
  --muted: #5B6473;
  --amber: #F2B85B;
  --hairline: rgba(28, 38, 51, .08);
  --border: rgba(28, 38, 51, .10);
  --border-strong: rgba(28, 38, 51, .16);

  /* 地図（紙） */
  --m-base: #EFE9DC;
  --m-block: #F6F2E9;
  --m-park: #DCE4CE;
  --m-water: #CDDCE0;
  --m-water2: #DDE8EA;
  --m-steps: #D8CDB9;
  --m-label: #8B8E94;
  --m-dim: rgba(239, 233, 220, .66);

  --sans: 'Zen Kaku Gothic New', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --gutter: 32px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

body {
  margin: 0;
  background: #fff;
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* CTA の出し分け。<html data-cta="soon|download"> の 1 か所で切り替える */
[data-cta="soon"] .when-download,
[data-cta="download"] .when-soon { display: none; }

/* ─── 共通の見出し ─── */

.eyebrow {
  margin: 0 0 18px;
  font: 500 11px var(--mono);
  color: var(--muted);
  letter-spacing: .22em;
}

.section-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.5;
  text-wrap: pretty;
}

.section-head { max-width: 620px; }

.section-desc {
  margin: 16px 0 0;
  font: 400 15px/1.9 var(--sans);
  color: var(--muted);
  text-wrap: pretty;
}

.num { font-family: var(--mono); }

.g1 { background: linear-gradient(135deg, #CDBBA2, #8E7B66); }
.g2 { background: linear-gradient(135deg, #9AA58B, #4F5A48); }
.g3 { background: linear-gradient(135deg, #B7A4B8, #5C4A5E); }

/* ─── ヘッダー ─── */

.site-header {
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 10px; }

.logo-tile {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.logo-tile-sm { width: 26px; height: 26px; border-radius: 8px; }

.brand-name { font: 700 17px/1 var(--sans); letter-spacing: .04em; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font: 500 13.5px var(--sans);
  white-space: nowrap;
}

.header-download {
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  font-weight: 700;
}
.header-download:hover { background: #2E3A4A; color: #fff; }

.header-soon {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  font: 500 11px var(--mono);
  letter-spacing: .16em;
  color: var(--muted);
  box-sizing: border-box;
}

/* ─── ヒーロー ─── */

.hero {
  padding-top: 40px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy { max-width: 520px; }

.kicker {
  margin: 0 0 22px;
  font: 500 11px var(--mono);
  color: var(--muted);
  letter-spacing: .22em;
}

.hero-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.45;
  letter-spacing: .01em;
  text-wrap: pretty;
}

.hero-lead {
  margin: 22px 0 0;
  font: 400 15.5px/1.95 var(--sans);
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  margin: 34px 0 0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.soon-badge {
  height: 54px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--m-base);
  display: flex;
  align-items: center;
  font: 500 13px var(--mono);
  letter-spacing: .18em;
  color: var(--ink);
}

.soon-when { font: 500 14px var(--sans); }

.fine {
  margin: 14px 0 0;
  font: 400 12.5px/1.6 var(--sans);
  color: var(--muted);
}

.btn {
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  font: 700 15px var(--sans);
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2E3A4A; color: #fff; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px 0;
  min-width: 0;
}

.hero-disc,
.hero-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100%, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.hero-disc { background: var(--m-base); }
.hero-ring { border: 1.5px solid var(--ink); opacity: .9; }

.hero-500 {
  position: absolute;
  left: calc(50% + min(50%, 280px) - 40px);
  top: calc(50% - min(50%, 280px) * .72);
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink);
  font: 500 11px var(--mono);
}

.hero-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  box-sizing: border-box;
}

/* ─── 01 ルール ─── */

.band { background: var(--m-base); }

#rule, #flow, #cta { scroll-margin-top: 24px; }

.rule {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 56px;
  align-items: center;
}

.rule-figure-wrap { display: flex; justify-content: center; }

.rule-figure { position: relative; width: min(100%, 300px); aspect-ratio: 1; }
.rule-figure > span { position: absolute; }

.rf-outer { inset: 0; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.rf-frame { inset: 21%; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
.rf-me {
  left: 47.5%;
  top: 47.5%;
  width: 5%;
  height: 5%;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(28, 38, 51, .2);
}
.rf-in { width: 4%; height: 4%; border-radius: 50%; background: var(--ink); }
.rf-photo {
  width: 11%;
  height: 11%;
  border-radius: 12%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(28, 38, 51, .18);
}
.rf-out {
  width: 4%;
  height: 4%;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  box-sizing: border-box;
}
.rf-500 {
  left: 70%;
  top: 16%;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink);
  font: 500 11px var(--mono);
}

.rule-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rule-item { display: flex; gap: 14px; align-items: flex-start; }

.rule-mark { width: 12px; height: 12px; border-radius: 50%; flex: none; margin-top: 7px; }
.rule-mark-in { background: var(--ink); box-shadow: 0 0 0 2px #fff; }
.rule-mark-out { background: #fff; border: 1.5px solid var(--ink); box-sizing: border-box; }
.rule-mark-walk { background: #fff; box-shadow: 0 0 0 1px rgba(28, 38, 51, .25); }

.rule-name { margin: 0; font: 700 16px/1.5 var(--sans); }
.rule-text { margin: 4px 0 0; font: 400 14px/1.8 var(--sans); color: var(--muted); }

/* ─── 02 できること ─── */

.flow { padding-top: 104px; padding-bottom: 88px; }

.steps {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 48px 32px;
  align-items: start;
}

.step { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.step-text { width: 100%; max-width: 300px; }
.step-num { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .14em; }
.step-name { margin: 8px 0 0; font: 700 20px/1.4 var(--sans); }
.step-desc { margin: 8px 0 0; font: 400 14px/1.8 var(--sans); color: var(--muted); text-wrap: pretty; }

/* ─── 03 メッセージ ─── */

.messages { padding-top: 40px; padding-bottom: 104px; }

.messages-head { padding-top: 88px; border-top: 1px solid var(--border); max-width: 620px; }

.samples {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 0 56px;
}

.sample {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.sample-main { flex: 1; min-width: 0; }
.sample-place { display: flex; align-items: center; gap: 6px; font: 500 12px var(--sans); color: var(--muted); }
.sample-text { margin: 8px 0 0; font: 400 16px/1.8 var(--sans); text-wrap: pretty; }
.sample-date { margin: 8px 0 0; font: 400 12px var(--sans); color: var(--muted); }
.sample-photo { width: 64px; height: 64px; border-radius: 12px; flex: none; }

/* ─── 04 匿名と位置情報 ─── */

.anon { padding-top: 96px; padding-bottom: 96px; }

.points {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 32px 40px;
}

.point { padding-top: 20px; border-top: 1.5px solid var(--ink); }
.point-name { margin: 0; font: 700 17px/1.5 var(--sans); }
.point-text { margin: 8px 0 0; font: 400 14px/1.8 var(--sans); color: var(--muted); text-wrap: pretty; }

/* ─── CTA ─── */

.cta { background: var(--ink); color: #fff; }

.cta-inner {
  padding-top: 104px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 40px 64px;
  align-items: center;
}

.cta-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.45;
  text-wrap: pretty;
}

.cta-desc {
  margin: 18px 0 0;
  font: 400 15px/1.9 var(--sans);
  color: rgba(255, 255, 255, .72);
  text-wrap: pretty;
}

.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.cta-soon {
  height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  font: 500 13px var(--mono);
  letter-spacing: .18em;
  color: #fff;
  box-sizing: border-box;
}

.cta-when { font: 500 15px var(--sans); color: #fff; }

.cta-fine { margin: 14px 0 0; font: 400 12.5px/1.6 var(--sans); color: rgba(255, 255, 255, .6); }

.btn-light { height: 56px; padding: 0 26px; background: #fff; color: var(--ink); }
.btn-light:hover { background: #EFE9DC; color: var(--ink); }

/* ─── フッター ─── */

.site-footer {
  padding-top: 28px;
  padding-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font: 700 14px/1 var(--sans); letter-spacing: .04em; }
.footer-copy { font: 400 12px var(--sans); color: var(--muted); margin-left: 6px; }

.footer-nav { display: flex; gap: 22px; font: 400 12.5px var(--sans); }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--ink); }

/* ─── 端末フレーム（ios-frame.jsx の IOSDevice） ─── */

.phone {
  --s: .8;
  position: relative;
  flex: none;
  width: calc(402px * var(--s));
  height: calc(874px * var(--s));
}
.phone-sm { --s: .6; }

.device {
  position: absolute;
  left: 0;
  top: 0;
  width: 402px;
  height: 874px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  border-radius: 48px;
  overflow: hidden;
  background: #F2F2F7;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .12);
}

.device-island {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 126px;
  height: 37px;
  border-radius: 24px;
  background: #000;
  z-index: 50;
}

.device-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  gap: 154px;
  align-items: center;
  justify-content: center;
  padding: 21px 24px 19px;
}
.device-status > span {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.device-status > .ds-time {
  padding-top: 1.5px;
  font: 590 17px/22px -apple-system, "SF Pro", system-ui, sans-serif;
  color: #000;
}
.device-status > .ds-icons { gap: 7px; padding-top: 1px; padding-right: 1px; }

.device-home {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 8px;
}
.device-home::after {
  content: "";
  width: 139px;
  height: 5px;
  border-radius: 100px;
  background: rgba(0, 0, 0, .25);
}

.screen {
  position: relative;
  height: 874px;
  overflow: hidden;
  background: #fff;
  font-family: var(--sans);
  color: var(--ink);
}

/* 地図とマーカー（S2 / S3） */

.map { position: absolute; left: 0; top: 0; width: 402px; height: 500px; }

.m-frame {
  position: absolute;
  left: 83px;
  top: 118px;
  width: 236px;
  height: 236px;
  border-radius: 50%;
  box-shadow: 0 0 0 999px var(--m-dim);
  border: 1.5px solid var(--ink);
}

.m-500 {
  position: absolute;
  left: 266px;
  top: 116px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink);
  font: 500 10px var(--mono);
  color: var(--ink);
}

.m-out {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--ink);
  opacity: .75;
}

.m-cone {
  position: absolute;
  left: 161px;
  top: 156px;
  width: 80px;
  height: 80px;
  clip-path: polygon(50% 100%, 18% 0, 82% 0);
  background: linear-gradient(180deg, rgba(28, 38, 51, 0), rgba(28, 38, 51, .16));
  transform: rotate(38deg);
  transform-origin: 50% 100%;
}

.m-in {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid #fff;
}

.m-photo {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 2.5px solid #fff;
  box-shadow: 0 6px 14px rgba(28, 38, 51, .22);
}

.m-me {
  position: absolute;
  left: 193px;
  top: 228px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(28, 38, 51, .12);
}

.m-selected {
  position: absolute;
  left: 322px;
  top: 322px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 6px rgba(28, 38, 51, .12);
}

/* S3: 枠の外を選択中は枠の中のマーカーを薄くし、写真マーカーの影を消す */
.is-outside .m-in,
.is-outside .m-photo { opacity: .5; }
.is-outside .m-photo { box-shadow: none; }

.s-top {
  position: absolute;
  top: 66px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 38, 51, .12);
}
.s-pill-place { font: 700 13px var(--sans); }
.s-pill-area { font: 400 11px var(--sans); color: var(--muted); }

.s-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 38, 51, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-scale {
  position: absolute;
  left: 20px;
  top: 378px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 500 9.5px var(--mono);
  color: var(--muted);
}
.s-scale::before {
  content: "";
  width: 56px;
  height: 6px;
  border: 1px solid var(--muted);
  border-top: 0;
}

.s-recenter {
  position: absolute;
  right: 20px;
  top: 356px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 38, 51, .14);
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 410px;
  bottom: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 30px rgba(28, 38, 51, .1);
}

.s-handle {
  width: 40px;
  height: 5px;
  border-radius: 3px;
  background: var(--border-strong);
  margin: 10px auto 0;
}

.s-sheet-head {
  padding: 14px 22px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.s-sheet-title { font: 700 18px var(--sans); }
.s-count { font: 500 14px var(--mono); color: var(--muted); margin-left: 4px; }
.s-sort { font: 400 12px var(--sans); color: var(--muted); }

.s-list { padding: 6px 22px 0; }
.s-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.s-row-main { flex: 1; }
.s-row-body { font: 400 14px/1.65 var(--sans); }
.s-row-meta { margin-top: 6px; font: 400 11.5px var(--sans); color: var(--muted); }
.s-thumb { width: 56px; height: 56px; border-radius: 10px; flex: none; }

.s-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 55%);
}

.s-input {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 26px;
  height: 56px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(28, 38, 51, .12);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 18px;
}
.s-input-hint { flex: 1; font: 400 14px var(--sans); color: var(--muted); }
.s-plus {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

/* S4 詳細 */

.s-bar {
  position: absolute;
  top: 62px;
  left: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-icon-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.s-more { font: 700 18px var(--mono); letter-spacing: .1em; }
.s-where { display: flex; align-items: center; gap: 6px; font: 500 12px var(--sans); color: var(--muted); }

.s-detail { padding: 116px 22px 0; }
.s-hero {
  height: 262px;
  border-radius: 14px;
  background: linear-gradient(135deg, #CDBBA2 0%, #9C8871 55%, #5F5348 100%);
  position: relative;
  overflow: hidden;
}
.s-hero-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(15, 23, 32, .5);
  color: #fff;
  font: 500 10.5px var(--sans);
}
.s-detail-body { margin: 22px 0 0; font: 400 17px/1.85 var(--sans); }
.s-detail-meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 400 13px/1.6 var(--sans);
  color: var(--muted);
}
.s-detail-link { font: 500 12px var(--sans); color: var(--ink); }

/* S5 投稿 */

.s-compose-bar {
  position: absolute;
  top: 66px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.s-cancel { font: 400 15px var(--sans); color: var(--muted); }
.s-title { font: 700 15px var(--sans); }
.s-submit { font: 700 15px var(--sans); width: 70px; text-align: right; }

.s-compose { padding: 120px 22px 0; }
.s-here {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: var(--m-base);
  font: 500 12px var(--sans);
}
.s-acc { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.s-text { margin-top: 20px; min-height: 150px; font: 400 18px/1.8 var(--sans); }
.s-caret {
  display: inline-block;
  width: 2px;
  height: 22px;
  background: var(--ink);
  vertical-align: -4px;
  margin-left: 1px;
}
.s-photos { margin-top: 12px; display: flex; gap: 10px; }
.s-slot { width: 80px; height: 80px; border-radius: 12px; position: relative; }
.s-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 12px var(--mono);
}
.s-add {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 1.5px dashed rgba(28, 38, 51, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.s-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 34px;
  font: 400 12px/1.6 var(--sans);
  color: var(--muted);
  text-align: center;
}

/* S3 枠の外 */

.s-out { padding: 18px 22px 0; }
.s-out-label { font: 400 12px var(--sans); color: var(--muted); }
.s-out-dist { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.s-out-m { font: 500 36px/1 var(--mono); }
.s-out-unit { font-size: 16px; }
.s-out-dir { font: 700 16px var(--sans); }
.s-out-place { font: 400 13px var(--sans); color: var(--muted); }
.s-out-hint { margin: 12px 0 0; font: 400 13.5px/1.75 var(--sans); color: var(--muted); }
.s-out-actions { margin-top: 18px; display: flex; gap: 10px; }
.s-btn-primary {
  flex: 1;
  height: 50px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 700 14px var(--sans);
}
.s-btn-secondary {
  height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 14px var(--sans);
}
.s-out-foot {
  margin: 22px 22px 0;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  font: 400 12px/1.6 var(--sans);
  color: var(--muted);
}

/* ─── シェアの着地ページ（share.html） ───
 * ボードに無いページなので、LP の部品（ヒーロー・ルールの一覧・枠の図）を並べ直しただけ。
 * 枠の図は 01 ルールと同じく紙の地の円に載せる。
 */

.share { padding-top: 24px; }
/* 見出しは <br> と <wbr> の位置でだけ折る（語の途中で折らない） */
.share .hero-title { word-break: keep-all; }
.share .rule-list { margin-top: 30px; }

.share-visual { display: flex; justify-content: center; min-width: 0; }

.share-disc {
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--m-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
.share-disc .rule-figure { width: 84%; }

/* ─── 狭い画面 ─── */

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .header-nav { gap: 18px; }
}

/* ヒーローの端末（.8 = 322px）が列幅に収まらない幅では縮める */
@media (max-width: 374px) {
  .hero .phone { --s: .68; }
}
