:root {
  --pink: #F29BB7;
  --pink-deep: #E5729A;
  --pink-light: #FDE6EE;
  --bg: #FFF7FA;
  --text: #4D3B42;
  --sub: #A6929A;
  --line: #F6DFE7;
  --mint: #B4E2D2;
  --lavender: #CDBDF5;
  --peach: #FFD3B6;
  --sky: #B9DAF5;
  --lemon: #F5E2A0;
  --radius: 22px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font-family: ui-rounded, "Hiragino Maru Gothic ProN", "SF Pro Rounded", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
button { font: inherit; cursor: pointer; border: 0; }
input { font: inherit; }
.loading { text-align: center; color: var(--sub); padding: 60px 0; }
.wrap { max-width: 560px; margin: 0 auto; padding: 16px; }
.hero {
  border-radius: calc(var(--radius) + 4px); padding: 20px;
  background: linear-gradient(135deg, var(--pink-light), #fff);
  margin-bottom: 16px;
}
.logo { font-size: 28px; font-weight: 900; color: var(--pink-deep); margin: 0; }
.muted { color: var(--sub); font-size: 13px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 16px; margin-bottom: 12px;
  box-shadow: 0 5px 12px rgba(242, 155, 183, .16);
}
.card.tap { width: 100%; text-align: left; display: block; color: inherit; }
.row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.title { font-weight: 800; font-size: 16px; margin: 0 0 4px; }
.section { display: flex; align-items: center; gap: 6px; font-weight: 800; margin: 20px 4px 10px; }
.chip {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--pink-light); margin: 2px 4px 2px 0; white-space: nowrap;
}
.chip.mint { background: #d6f0e7; } .chip.lavender { background: #e7defb; } .chip.peach { background: #ffe6d6; }
.chip.sky { background: #dcecfa; } .chip.lemon { background: #faf0cc; } .chip.gray { background: #e9e5e7; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-weight: 800; background: var(--peach); border: 2px solid #fff; flex: none;
}
.switcher { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding: 2px; }
.switcher button {
  border-radius: 999px; padding: 6px 14px; background: #fff; color: var(--text); font-weight: 700;
  border: 1px solid var(--line); white-space: nowrap;
}
.switcher button.on { background: var(--pink-deep); color: #fff; border-color: transparent; }
.segment { display: flex; background: #f1e9ec; border-radius: 12px; padding: 3px; margin-bottom: 14px; }
.segment button { flex: 1; padding: 8px; border-radius: 10px; background: transparent; color: var(--text); font-weight: 600; }
.segment button.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pill {
  display: inline-block; padding: 12px 20px; border-radius: 999px; background: var(--pink-deep); color: #fff;
  font-weight: 800; text-align: center;
}
.pill.light { background: var(--pink-light); color: var(--pink-deep); }
.pill.block { display: block; width: 100%; }
.pill:disabled { opacity: .5; }
.answers { display: flex; gap: 8px; margin-top: 10px; }
.answers button { flex: 1; padding: 12px 0; border-radius: 999px; background: var(--pink-light); color: var(--pink-deep); font-weight: 800; }
.answers button.on { background: var(--pink-deep); color: #fff; }
.info { display: flex; justify-content: space-between; font-size: 14px; margin: 6px 0; }
.info span:first-child { color: var(--sub); }
.big { font-size: 26px; font-weight: 900; color: var(--pink-deep); margin: 0 0 4px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink-deep); flex: none; margin-top: 6px; }
.dot.off { background: transparent; }
.bar { width: 6px; align-self: stretch; border-radius: 3px; background: var(--mint); flex: none; }
.bar.off { background: #ddd; }
.strike { text-decoration: line-through; color: var(--sub); }
.datebox {
  width: 50px; height: 52px; border-radius: 14px; background: var(--pink); color: #fff; display: grid;
  place-items: center; text-align: center; font-weight: 800; line-height: 1.1; flex: none;
}
.datebox small { font-size: 11px; display: block; }
.toast {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--pink-deep); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(229, 114, 154, .4); z-index: 20;
}
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: center;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95);
  border-top: 1px solid var(--line); z-index: 10;
}
.tabs button { flex: 1; max-width: 110px; background: none; color: var(--sub); font-size: 11px; font-weight: 700; padding: 4px 0; }
.tabs button .icon { display: block; font-size: 20px; line-height: 1.3; }
.tabs button.on { color: var(--pink-deep); }
.badge { background: var(--pink-deep); color: #fff; border-radius: 999px; font-size: 10px; padding: 1px 6px; margin-left: 2px; }
.back { background: none; color: var(--pink-deep); font-weight: 800; padding: 6px 0; margin-bottom: 8px; }
.field { width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 18px; margin: 8px 0 12px; }
.error { color: #d84a72; font-weight: 700; font-size: 13px; }
.notice-body { white-space: pre-wrap; line-height: 1.7; }
.proto { background: #efe6fb; color: #6f4fb3; font-size: 12px; font-weight: 700; padding: 8px 12px; text-align: center; }
.card.tap.row { display: flex; }

/* プライバシーポリシー・利用規約・サポートのページ */
.doc-page { padding-bottom: 32px; }
.doc { line-height: 1.8; font-size: 15px; padding: 20px; }
.doc h2 { font-size: 17px; color: var(--pink-deep); margin: 26px 0 8px; }
.doc h2:first-child { margin-top: 4px; }
.doc h3 { font-size: 15px; margin: 18px 0 4px; }
.doc p, .doc li { margin: 6px 0; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc-table { overflow-x: auto; margin: 10px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 13px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
.doc th { background: var(--pink-light); }
.doc code { font-size: 12px; background: var(--pink-light); padding: 1px 5px; border-radius: 6px; }
.doc-draft { background: #FFF1D6; color: #8A5A00; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; }
.doc-links { text-align: center; font-size: 13px; }
.doc-links a { color: var(--pink-deep); }
