/* maplog.day の見た目。design.md の Web 版：静かな無地の背景、色はメインの1色、小物は意味のある場所に1つずつ。
   色の値は constants/theme.ts と同じ（ライト Wish Day・ダーク Wish Night） */
:root {
  color-scheme: light dark;
  --bg: #f4f5f8;
  --bg-deep: #e8ebf0;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --text: #2e3a59;
  --sub: #66749a;
  --line: #5b8def;
  --accent: #bfe37a;
  --accent-pressed: #a9d45f;
  --on-accent: #2e3a59;
  --highlight: #ffe37a;
  --pink: #f6a5be;
  --chrome: #c9ced6;
  --trail: #8ccbf2;
  --rule: #e3e6ec;
  --shadow: 0 18px 50px rgba(46, 58, 89, 0.12);
  --shadow-soft: 0 6px 24px rgba(46, 58, 89, 0.08);
  --glass: rgba(244, 245, 248, 0.72);
  --phone: #1b1b1f;
  --phone-edge: #34343a;
  --phone-shadow: 0 30px 70px rgba(20, 20, 22, 0.28);
  /* 文字に使う色。アプリの textSub（#66749a）・line（#5b8def）・ピンク（#f6a5be）は、Web の背景（bg #f4f5f8）の上で
     WCAG AA に届かない（4.25:1・2.96:1・1.74:1）ので、文字のときだけ少し濃くする（4.84:1・大きい文字で 3.54:1・3.6:1）。
     線や面の色はアプリと同じ */
  --sub-text: #5d6b91;
  --heading: #4f7fe0;
  --hand-text: #d0577f;
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Apple SD Gothic Neo", "Pretendard", "Noto Sans JP", "Noto Sans KR", "Segoe UI", sans-serif;
  --font-dot: "DotGothic16", "Galmuri14", var(--font-body);
  --font-hand: "Yomogi", "Gaegu", cursive;
  --radius-card: 28px;
  --radius-button: 20px;
  --ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.2);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}
:root[data-theme="dark"] {
  --bg: #141416;
  --bg-deep: #141416;
  --surface: #1f1f23;
  --surface-soft: #2a2a30;
  --text: #f4f4f6;
  --sub: #9a9aa6;
  --line: #f4f4f6;
  --accent: #a8e6c1;
  --accent-pressed: #7fcfa2;
  --on-accent: #111113;
  --highlight: #d9dce2;
  --pink: #f4f4f6;
  --chrome: #d9dce2;
  --trail: #a8e6c1;
  --rule: #2a2a30;
  --shadow: none;
  --shadow-soft: none;
  --glass: rgba(20, 20, 22, 0.72);
  --phone: #0c0c0e;
  --phone-edge: #4a4a52;
  --phone-shadow: 0 0 0 transparent;
  --sub-text: #9a9aa6;
  --heading: #f4f4f6;
  --hand-text: #f4f4f6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141416;
    --bg-deep: #141416;
    --surface: #1f1f23;
    --surface-soft: #2a2a30;
    --text: #f4f4f6;
    --sub: #9a9aa6;
    --line: #f4f4f6;
    --accent: #a8e6c1;
    --accent-pressed: #7fcfa2;
    --on-accent: #111113;
    --highlight: #d9dce2;
    --pink: #f4f4f6;
    --chrome: #d9dce2;
    --trail: #a8e6c1;
    --rule: #2a2a30;
    --shadow: none;
    --shadow-soft: none;
    --glass: rgba(20, 20, 22, 0.72);
    --phone: #0c0c0e;
    --phone-edge: #4a4a52;
    --phone-shadow: 0 0 0 transparent;
    --sub-text: #9a9aa6;
    --heading: #f4f4f6;
    --hand-text: #f4f4f6;
  }
}
/* 韓国語はドットの書体を Galmuri14 に（DotGothic16 にハングルがない） */
html.lang-ko {
  --font-dot: "Galmuri14", "DotGothic16", var(--font-body);
  --font-hand: "Gaegu", "Yomogi", cursive;
}
/* 書体は自前で出す（scripts/subset-fonts.sh でページの文字だけに絞ったもの。Google Fonts には読みに行かない） */
@font-face {
  font-family: "DotGothic16";
  src: url("/fonts/DotGothic16.subset.woff?v=5") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Zen Maru Gothic";
  src: url("/fonts/ZenMaruGothic-Bold.subset.woff?v=5") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Yomogi";
  src: url("/fonts/Yomogi.subset.woff?v=5") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Gaegu";
  src: url("/fonts/Gaegu.subset.woff?v=5") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "NanumSquareRoundEB";
  src: url("/fonts/NanumSquareRoundEB.subset.woff?v=5") format("woff");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Galmuri14";
  src: url("/fonts/Galmuri14.subset.woff?v=5") format("woff");
  font-display: swap;
  unicode-range: U+1100-11FF, U+3130-318F, U+AC00-D7AF, U+0020-007E;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-dot);
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
/* 韓国語は単語（어절）の途中で改行しない */
html.lang-ko body { word-break: keep-all; }
/* ライトとダークで別の画像（html.ts の themedImg）。今のテーマでない方は出さない（lazy なので読み込まれない） */
:root[data-theme="light"] .t-dark, :root[data-theme="dark"] .t-light { display: none !important; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .t-dark { display: none !important; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .t-light { display: none !important; } }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.dot { font-family: var(--font-dot); letter-spacing: 0.01em; }
.hand { font-family: var(--font-hand); }
.sub { color: var(--sub-text); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ───────── 上の帯（Liquid Glass 風。design.md §5.5） ───────── */
.top { position: sticky; top: 0; z-index: 20; background: var(--glass); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand img { width: 108px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 10px; }
.langs { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: var(--surface-soft); }
.lang { padding: 5px 11px; border-radius: 999px; font-size: 13px; white-space: nowrap; color: var(--sub-text); transition: background 0.25s var(--ease-out), color 0.25s; }
.lang:hover { color: var(--text); }
.lang.is-current { background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.theme { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 999px; background: var(--surface-soft); cursor: pointer; transition: transform 0.35s var(--ease-spring); }
.theme:hover { transform: scale(1.08); }
.theme:active { transform: scale(0.92); }
.theme img { width: 30px; height: auto; }
.theme .t-dark { width: 24px; }
.top-store { padding: 9px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 600; transition: transform 0.35s var(--ease-spring), background 0.2s; }
.top-store:hover { transform: scale(1.04); background: var(--accent-pressed); }
@media (max-width: 640px) {
  .top-store { display: none; }
  .brand img { width: 92px; }
  .lang { padding: 5px 9px; font-size: 12px; }
}
/* いちばん狭い幅（iPhone の縦）：言語の名前が折り返さないように詰める */
@media (max-width: 420px) {
  .top-row { gap: 8px; }
  .top-nav { gap: 6px; }
  .brand img { width: 80px; }
  .lang { padding: 5px 7px; }
  .theme { width: 38px; height: 38px; }
}

/* ───────── ヒーロー ───────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.hero-copy { max-width: 560px; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 24px; color: var(--hand-text); }
h1.title { font-family: var(--font-dot); font-size: clamp(34px, 5.2vw, 58px); line-height: 1.22; letter-spacing: 0.005em; color: var(--text); }
.stitch { --stitch: var(--line); }
:root[data-theme="dark"] .stitch { --stitch: #d9dce2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stitch { --stitch: #d9dce2; } }
.stitch.is-sewn { display: flex; flex-direction: column; gap: 0.08em; }
.stitch canvas { display: block; max-width: 100%; height: auto; }
.stitch-font { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
html.lang-ko .stitch-font { font-family: "NanumSquareRoundEB", sans-serif; font-weight: 800; }
.lead { margin-top: 22px; max-width: 32em; font-size: 16px; color: var(--sub-text); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; border-radius: 14px; transition: transform 0.4s var(--ease-spring); }
.badge:hover { transform: scale(1.04); }
.badge:active { transform: scale(0.96); }
.badge-img { width: 168px; height: auto; border-radius: 9px; }
.soon { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-size: 15px; color: var(--text); }
.hero-stage { position: relative; display: grid; place-items: center; }

/* iPhone の枠（レイアウトの箱なのでコードで描く）。画面は iPhone 17 と同じ比率（1206×2622）。中の画像と動画もこの比率で撮る（切れないように） */
.phone { position: relative; width: min(312px, 82vw); padding: 11px; border-radius: 52px; background: var(--phone); box-shadow: 0 0 0 1.5px var(--phone-edge), var(--phone-shadow); }
.phone video { cursor: pointer; }
.phone-screen { position: relative; width: 100%; aspect-ratio: 1206 / 2622; overflow: hidden; border-radius: 42px; background: #000; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; top: 22px; left: 50%; z-index: 2; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone.is-small { width: min(240px, 70vw); border-radius: 40px; padding: 8px; }
.phone.is-small .phone-screen { border-radius: 33px; }
.phone.is-small .phone-island { top: 16px; width: 70px; height: 20px; }
/* 小物（1つ）。ふわっと浮く */
.sticker { position: absolute; width: 96px; pointer-events: none; animation: float 4.5s ease-in-out infinite alternate; }
.hero-stage .sticker { top: 6%; right: 2%; width: 110px; }
.hero-stage .sticker-2 { top: auto; bottom: 8%; left: -2%; width: 84px; animation-delay: -2s; }
@keyframes float { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-10px) rotate(3deg); } }

/* ───────── まとまり ───────── */
.section { padding-top: 84px; padding-bottom: 84px; }
.section-head { max-width: 680px; }
.section .sticker-inline { position: static; display: block; width: 84px; margin-bottom: 14px; animation: none; }
h2.h2 { font-family: var(--font-dot); font-size: clamp(30px, 4vw, 46px); line-height: 1.3; color: var(--heading); }
.body { margin-top: 16px; font-size: 16px; color: var(--sub-text); max-width: 34em; }

/* 使い方：3つ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 44px 0 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: var(--radius-card); background: var(--surface); box-shadow: var(--shadow-soft); border: 1px solid var(--rule); }
.step-shot { display: grid; place-items: center; padding: 22px 18px; border-radius: 20px; background: var(--surface-soft); }
.step-shot .phone.is-step { width: min(220px, 100%); padding: 7px; border-radius: 34px; box-shadow: 0 0 0 1.5px var(--phone-edge); }
.step-shot .phone.is-step .phone-screen { border-radius: 28px; }
.step-shot .phone.is-step .phone-island { top: 13px; width: 62px; height: 18px; }
.step-n { font-family: var(--font-dot); font-size: 14px; color: var(--sub-text); letter-spacing: 0.08em; }
.step h3 { font-family: var(--font-dot); font-size: 22px; line-height: 1.35; color: var(--text); }
.step p { font-size: 15px; line-height: 1.8; color: var(--sub-text); }

/* 2列（文と画面） */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.duo.is-flip .duo-copy { order: 2; }
.duo-shot { display: grid; place-items: center; }
.tag { display: inline-block; margin-top: 18px; font-size: 24px; color: var(--hand-text); }

/* 守る */
.privacy { padding: 56px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow-soft); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.privacy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.privacy li { position: relative; padding-left: 26px; font-size: 16px; }
.privacy li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 12px; border-radius: 999px; background: var(--accent); }
.privacy-note { margin-top: 22px; font-size: 14px; color: var(--sub-text); }
.privacy-note a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* 最後の呼びかけ */
.cta { text-align: center; padding-top: 96px; padding-bottom: 72px; }
.cta .sticker-inline { margin: 0 auto 18px; }
.cta h2 { color: var(--text); }
.cta .body { margin: 12px auto 0; }
.cta .hero-cta { justify-content: center; margin-top: 28px; }
.cta-free { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-size: 13px; color: var(--sub-text); }
/* 画面と写真はイメージ、の注記 */
.image-note { padding-bottom: 36px; text-align: center; font-size: 12px; color: var(--sub-text); }

/* ───────── フッター ───────── */
.foot { padding: 48px 0 56px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--sub-text); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.foot-links a, .foot-langs a, .foot-attr a { display: inline-block; padding: 6px 0; }
.foot-attr a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.foot-links a:hover, .foot-company a:hover { color: var(--text); }
.foot-company { display: grid; gap: 4px; margin: 28px 0 0; }
.foot-company div { display: flex; gap: 14px; }
.foot-company dt { min-width: 4em; color: var(--sub-text); }
.foot-company dd { margin: 0; color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.foot-langs a:hover { color: var(--text); }

/* ───────── 動き（design.md §7：ぷるん。視差を減らす設定ではフェードだけ） ───────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticker { animation: none; }
  .js .reveal { transform: none; transition: opacity 0.4s; }
  .badge, .theme, .top-store { transition: none; }
}

/* ───────── 1画面のページ（/share、/add、404） ───────── */
.one { min-height: 100svh; display: grid; place-items: center; padding: 32px 24px; text-align: center; }
.one-card { max-width: 420px; }
.one-card .brand img { width: 150px; margin: 0 auto 22px; }
.one h1 { font-family: var(--font-dot); font-size: 24px; line-height: 1.4; }
.one p { margin-top: 10px; font-size: 15px; color: var(--sub-text); }
.one .hero-cta { justify-content: center; margin-top: 14px; }
/* 友達のリンクのページ：アプリで開く（大きく）→ ない人は App Store */
.one .open-app { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 52px; margin-top: 24px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 17px; transition: transform 0.35s var(--ease-spring); }
.one .open-app:active { transform: scale(0.96); }
.one .no-app { margin-top: 22px; font-size: 14px; }
.one .more { display: inline-block; margin-top: 26px; font-size: 14px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.one ol { margin: 14px auto 0; padding: 0 0 0 1.4em; max-width: 24em; text-align: left; font-size: 15px; color: var(--sub-text); }
.one .sticker-inline { margin: 0 auto 10px; width: 88px; }

/* ───────── 規約（文を長く読む：ガラスは使わない。design.md §5.5） ───────── */
/* 規約のページ（2026-10-20 浅野さん：LP と同じ見た目に。小物・刺繍の文書名・カード・ドットの見出し）。本文は長いので読みやすい書体のまま */
.legal { --legal-star: url("/img/pile/star-full-light.webp"); max-width: 820px; margin: 0 auto; padding: 28px 20px 80px; font-family: var(--font-body); font-size: 15.5px; line-height: 1.9; color: var(--text); }
:root[data-theme="dark"] .legal { --legal-star: url("/img/pile/star-full-dark.webp"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .legal { --legal-star: url("/img/pile/star-full-dark.webp"); } }
.legal-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 0 22px; text-align: center; }
.legal-sticker { width: 96px; height: auto; animation: float 4.5s ease-in-out infinite alternate; }
.legal-title { width: 100%; text-align: center; font-family: var(--font-dot); font-size: clamp(30px, 5vw, 44px); line-height: 1.25; color: var(--heading); }
.legal-title.is-sewn { align-items: center !important; }
.legal article > h1:first-child { display: none; }
.legal .langs-row { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 18px; padding: 3px; border-radius: 999px; background: var(--surface-soft); font-family: var(--font-dot); font-size: 14px; color: var(--sub-text); }
.legal .langs-row a, .legal .langs-row strong { padding: 4px 14px; border-radius: 999px; text-decoration: none; font-weight: 400; }
.legal .langs-row strong { background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal .notice { margin: 12px 0; padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 2px dashed var(--accent); font-size: 14.5px; }
/* 本文・要約・版の一覧はカードに */
.legal article, .legal .summary, .legal .history { margin: 16px 0; padding: 28px 30px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow-soft); }
.legal h2 { position: relative; margin: 40px 0 12px; padding: 0 0 0 34px; font-family: var(--font-dot); font-size: 22px; font-weight: 400; line-height: 1.45; color: var(--heading); }
.legal h2::before { content: ""; position: absolute; left: 0; top: 0.08em; width: 26px; height: 26px; background: var(--legal-star) center / contain no-repeat; }
.legal article > h2:first-of-type, .legal .summary h2, .legal .history h2 { margin-top: 4px; }
.legal h3 { margin: 26px 0 8px; font-family: var(--font-dot); font-size: 17px; font-weight: 400; line-height: 1.5; color: var(--text); }
.legal p, .legal li { margin: 8px 0; }
.legal ol { padding-left: 1.5em; }
.legal ol > li::marker { color: var(--heading); font-family: var(--font-dot); }
.legal ul { list-style: none; padding-left: 1.5em; }
.legal ul > li { position: relative; }
.legal ul > li::before { content: ""; position: absolute; left: -1.2em; top: 0.72em; width: 0.6em; height: 0.6em; border-radius: 999px; background: var(--accent); }
.legal blockquote { margin: 14px 0; padding: 14px 18px; border-radius: 18px; background: var(--surface-soft); color: var(--sub-text); }
.legal blockquote p { margin: 0; }
.legal table { display: block; overflow-x: auto; border-collapse: separate; border-spacing: 0; margin: 14px 0; border: 1px solid var(--rule); border-radius: 16px; font-size: 14px; line-height: 1.65; }
.legal th, .legal td { padding: 10px 12px; text-align: left; vertical-align: top; min-width: 7em; border-bottom: 1px solid var(--rule); }
.legal tr:last-child td { border-bottom: 0; }
.legal th { background: var(--surface-soft); font-family: var(--font-dot); font-weight: 400; color: var(--text); }
.legal code { font-size: 12px; overflow-wrap: anywhere; }
.legal hr { border: 0; height: 1px; background: var(--rule); margin: 28px 0; }
.legal .history { color: var(--sub-text); font-size: 14px; }
.legal .tag-current { display: inline-block; margin-left: 6px; padding: 0 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; }
.legal .hash { margin-top: 16px; }
@media (max-width: 640px) {
  .legal { padding: 18px 14px 64px; font-size: 15px; }
  .legal article, .legal .summary, .legal .history { padding: 20px 18px; border-radius: 22px; }
  .legal-sticker { width: 80px; }
  .legal h2 { font-size: 19px; padding-left: 30px; }
  .legal h2::before { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .legal-sticker { animation: none; } }

/* ───────── 小さい画面 ───────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; padding-bottom: 56px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stage { order: 1; }
  .hero-copy { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .duo, .privacy-grid { grid-template-columns: 1fr; gap: 28px; }
  .duo.is-flip .duo-copy { order: 0; }
  .section { padding-top: 60px; padding-bottom: 60px; }
  .privacy { padding: 32px 24px; }
  .hero-stage .sticker { width: 84px; top: 2%; right: 4%; }
  .hero-stage .sticker-2 { width: 64px; bottom: 4%; left: 2%; }
}

/* ───────── 賑やかさ（2026-10-19 浅野さん：いろんな人が使って楽しそうに）───────── */
/* ポラロイド（撮った瞬間・撮った写真） */
/* 場所のカード：共有の画像の「Maplog の見た目」（components/place/PlaceCard の look='maplog'）。文字はドット、色はアプリのトークン
   （text #2E3A59・textSub #66749A・営業中は line・メインのボタンは accent・ほかは surfaceSoft）。大きさは font-size で決め、中は em */
.pc { --pc-bg: #ffffff; --pc-text: #2e3a59; --pc-sub: #66749a; --pc-open: #5b8def; --pc-chip: #f7f8fa; --pc-chip-text: #2e3a59; --pc-primary: #bfe37a; --pc-primary-text: #2e3a59;
  width: 19.5em; padding: 1.15em 1em 1em; border-radius: 1.6em; background: var(--pc-bg); box-shadow: 0 14px 34px rgba(46, 58, 89, 0.16); font-family: var(--font-dot); font-size: 13px; line-height: 1.45; color: var(--pc-sub); text-align: left; }
:root[data-theme="dark"] .pc { --pc-bg: #1f1f23; --pc-text: #f4f4f6; --pc-sub: #9a9aa6; --pc-open: #f4f4f6; --pc-chip: #2a2a30; --pc-chip-text: #f4f4f6; --pc-primary: #a8e6c1; --pc-primary-text: #111113; box-shadow: 0 0 0 1px #2a2a30; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pc { --pc-bg: #1f1f23; --pc-text: #f4f4f6; --pc-sub: #9a9aa6; --pc-open: #f4f4f6; --pc-chip: #2a2a30; --pc-chip-text: #f4f4f6; --pc-primary: #a8e6c1; --pc-primary-text: #111113; box-shadow: 0 0 0 1px #2a2a30; } }
.pc p { margin: 0; }
.pc-title { margin: 0; font-family: var(--font-dot); font-size: 1.6em; font-weight: 400; line-height: 1.3; color: var(--pc-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-sub { margin-top: 0.25em !important; }
.pc-rating { display: flex; align-items: center; gap: 0.3em; margin-top: 0.2em !important; }
.pc-stars { display: inline-flex; gap: 1px; }
.pc-star { width: 1.3em; height: 1.3em; object-fit: contain; }
.pc-caption { margin-top: 0.2em !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-meta { margin-top: 0.2em !important; }
.pc-open { color: var(--pc-open); }
.pc-with { margin-top: 0.2em !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-chips { display: flex; gap: 0.45em; margin: 0.75em 0 0.8em !important; overflow: hidden; }
.pc-chip { display: inline-flex; align-items: center; gap: 0.35em; flex: none; height: 2.5em; padding: 0 0.9em; border-radius: 999px; background: var(--pc-chip); color: var(--pc-chip-text); font-size: 0.95em; }
.pc-chip.is-primary { background: var(--pc-primary); color: var(--pc-primary-text); }
.pc-icon { width: 1.3em; height: 1.3em; fill: currentColor; }
.pc-photo { position: relative; overflow: hidden; border-radius: 1em; aspect-ratio: 3 / 2; background: var(--pc-chip); }
.pc-photo > img { width: 100%; height: 100%; object-fit: cover; }
.pc-photo .faces { position: absolute; left: 0.55em; bottom: 0.55em; }
.faces { display: inline-flex; }
.faces img { width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--surface); object-fit: cover; margin-left: -8px; }
.pc .faces img { width: 2em; height: 2em; border: 1.5px solid #fff; margin-left: -0.45em; }
.faces img:first-child, .pc .faces img:first-child { margin-left: 0; }
/* ヒーローのまわりに浮く */
.hero-stage { min-height: 700px; }
.hero-stage .float { position: absolute; z-index: 2; animation: drift 6s ease-in-out infinite alternate; }
.hero-stage .float { font-size: 8px; }
.hero-stage .float-a { left: -16%; top: 6%; transform: rotate(-6deg); animation-delay: -1s; }
.hero-stage .float-b { right: -12%; bottom: 3%; transform: rotate(5deg); animation-delay: -3s; }
.hero-stage .float-c { left: -18%; bottom: 6%; transform: rotate(4deg); animation-delay: -5s; }
.hero-stage .phone { z-index: 1; }
/* 2台のスマホ（地図が上を手前、写真が上を右うしろに少し小さく。2026-10-19 浅野さん：両方を同時に） */
.phone-pair { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.phone-pair .phone.is-front { z-index: 2; width: min(262px, 52vw); }
.phone-pair .phone.is-back { z-index: 1; width: min(232px, 45vw); margin-left: -40px; margin-bottom: 48px; transform: rotate(4deg); }
.phone-pair.is-small-pair .phone.is-front { width: min(240px, 52vw); }
.phone-pair.is-small-pair .phone.is-back { width: min(212px, 45vw); margin-left: -54px; margin-bottom: 40px; }
@media (max-width: 640px) {
  /* スマホ：2台とも大きめに、重なりは少なめ（2026-10-19 浅野さん：小さくしない） */
  .phone-pair .phone { padding: 8px; border-radius: 40px; }
  .phone-pair .phone .phone-screen { border-radius: 33px; }
  .phone-pair .phone .phone-island { top: 15px; width: 64px; height: 18px; }
  .phone-pair { width: 100vw; margin: 0 -24px; }
  .phone-pair .phone.is-front, .phone-pair.is-small-pair .phone.is-front { width: 56vw; }
  .phone-pair .phone.is-back, .phone-pair.is-small-pair .phone.is-back { width: 50vw; margin-left: -12vw; margin-bottom: 12vw; transform: rotate(3deg); }
}
/* スマホでは上の帯の言語の切り替えを出さない（フッターにある。/ はブラウザの言語で決まる。2026-10-19 浅野さん） */
@media (max-width: 640px) {
  .top .langs { display: none; }
}
@keyframes drift { from { translate: 0 0; } to { translate: 0 -10px; } }
/* 流れる写真 */
.days .section-head { margin-bottom: 36px; }
.marquee { overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 80s; }
/* ずっと流れる（2026-10-19 浅野さん：マウスを乗せても押しても止めない）。画面の外にあるときだけ止めて電池を節約 */
.marquee.is-off .marquee-track { animation-play-state: paused; }
.marquee .pc { flex: none; }
.marquee .pc:nth-child(odd) { transform: rotate(-1.2deg); }
.marquee .pc:nth-child(even) { transform: rotate(1.2deg) translateY(6px); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* いっしょにいた3人 */
.friends { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.friend { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--rule); font-size: 13px; }
.friend img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .hero-stage .float { animation: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 900px) {
  .hero-stage { min-height: 0; padding: 24px 0 36px; }
  .hero { overflow-x: clip; }
  /* スマホの浮かぶカード：小さくして、スマホの端に少しだけかぶせる（動いている地図と写真を隠さない。2026-10-19 浅野さん） */
  .hero-stage .float { font-size: 4.6px; }
  .hero-stage .float-a { left: -6px; top: -4%; }
  .hero-stage .float-b { right: -6px; bottom: -2%; }
  .hero-stage .float-c { display: none; }
  .marquee .pc { font-size: 11.5px; }
}
