/* Pocket Scenes — pocketscenes.app。色はアプリ（src/ui/theme.ts）と同じ。 */
:root {
  --page: #f7f1ec;
  --surface: #fffcf9;
  --surface-soft: #f1ebe5;
  --border: #e5dcd4;
  --ink: #3f4652;
  --ink-soft: #676c76;
  --ink-muted: #8f9097;
  --accent: #5f718c;
  --accent-ink: #46566e;
  --accent-soft: #e4e9f0;
  --blush: #e8978f;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Yu Gothic', sans-serif;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
a { color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

header.top { padding: 20px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; }
.brand img { width: 34px; }

.hero { padding: 32px 20px 56px; text-align: center; }
.hero img { width: 200px; margin: 0 auto 8px; }
.hero h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.5; margin: 8px 0 12px; font-weight: 700; }
.hero p.lead { color: var(--ink-soft); font-size: 16px; margin: 0 auto 28px; max-width: 34em; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--ink-soft); font-size: 14px; }
.store b { color: var(--ink); font-weight: 700; }
.note { color: var(--ink-muted); font-size: 13px; margin-top: 12px; }

section { padding: 48px 0; }
section h2 { font-size: 22px; font-weight: 700; margin: 0 0 24px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 14px rgba(138, 116, 100, 0.08); }
.card img { width: 88px; margin: -4px 0 4px -6px; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.bubble { position: relative; display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 10px 18px; margin: 0 auto 4px; color: var(--ink); }

.promise { background: var(--surface-soft); }
.promise ul { list-style: none; padding: 0; margin: 0 auto; max-width: 36em; }
.promise li { padding: 12px 0 12px 32px; position: relative; border-bottom: 1px dashed var(--border); }
.promise li:last-child { border-bottom: 0; }
.promise li::before { content: ''; position: absolute; left: 6px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }

table.plans { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.plans th, .plans td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.plans tr:last-child td { border-bottom: 0; }
.plans thead th { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.plans td:first-child { color: var(--ink-soft); width: 34%; }
.table-scroll { overflow-x: auto; }

footer { padding: 40px 0 56px; color: var(--ink-muted); font-size: 13px; text-align: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 12px; }
footer a { color: var(--ink-soft); }

/* 文書のページ（削除依頼など） */
.doc { max-width: 680px; margin: 0 auto; padding: 8px 20px 48px; }
.doc h1 { font-size: 24px; font-weight: 700; margin: 8px 0 16px; }
.doc h2 { font-size: 17px; font-weight: 700; margin: 32px 0 8px; color: var(--accent-ink); }
.doc p, .doc li { font-size: 15px; }
.doc .box { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px; }

/* 最初の画面の記録の例（架空の会話） */
.scene { margin: 8px auto 32px; max-width: 360px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: 0 6px 14px rgba(138, 116, 100, 0.08); }
.scene figcaption { font-weight: 700; margin-bottom: 10px; }
.scene figcaption span { display: block; font-size: 12px; font-weight: 500; color: var(--ink-muted); }
.line { display: flex; flex-direction: column; margin: 0 0 10px; }
.line b { font-size: 12px; font-weight: 500; color: var(--ink-muted); margin: 0 8px 2px; }
.line span { display: inline-block; max-width: 85%; padding: 8px 14px; border-radius: 16px; background: var(--surface-soft); }
.line.me { align-items: flex-end; }
.line.me span { background: #e6ebf2; }
.line.ask span { background: transparent; border: 1px dashed var(--accent-border, #b8c2d0); color: var(--ink-muted); font-size: 14px; }

.features { display: grid; gap: 28px; max-width: 640px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature img { width: 96px; flex: none; }
.feature h2 { text-align: left; font-size: 19px; margin: 6px 0 6px; }
.feature p { margin: 0; color: var(--ink-soft); }
.center { text-align: center; color: var(--ink-soft); margin: -8px 0 20px; }
@media (max-width: 480px) {
  .feature { flex-direction: column; gap: 4px; }
  .feature img { width: 80px; }
}
