/* はいどうぞ 公式サイト
   配色はブランド定義（design/logo/README.md）に固定:
   ラベンダー=親 / コーラル=子 / モーヴ=手渡しの瞬間 / クリーム=家のあたたかさ */

:root {
  --cream: #FEF3E1;
  --paper: #FFFBF2;
  --lavender: #C5AEDD;
  --coral: #FE9C85;
  --mauve: #C294BA;
  --ink: #4A3646;
  --ink-soft: #8A7386;
  --maru: "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--maru);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration-color: var(--mauve); text-underline-offset: 4px; }
a:hover { color: var(--mauve); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--mauve); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header { padding: 28px 0; }
.site-header .wrap { display: flex; align-items: center; gap: 12px; }
.site-header img { width: 36px; height: 36px; border-radius: 9px; }
.site-header .name { font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }

/* ---------- hero: 手渡しの瞬間 ---------- */
.hero { text-align: center; padding: 40px 0 72px; overflow: hidden; }

.handover {
  position: relative;
  width: 240px; height: 240px;
  margin: 0 auto 36px;
}
.handover .circle {
  position: absolute; top: 50%;
  width: 168px; height: 168px;
  border-radius: 50%;
  mix-blend-mode: multiply;
  transform: translateY(-50%);
}
.handover .parent { left: 0; background: var(--lavender); animation: from-left 1.2s cubic-bezier(.22,1,.36,1) both; }
.handover .child { right: 0; background: var(--coral); animation: from-right 1.2s cubic-bezier(.22,1,.36,1) both; }
.handover img {
  position: absolute; inset: 0; margin: auto;
  width: 116px; height: 116px;
  border-radius: 50%;
  animation: settle 0.9s 0.7s cubic-bezier(.22,1,.36,1) both;
}
@keyframes from-left { from { transform: translate(-60px, -50%); opacity: 0; } to { transform: translate(0, -50%); opacity: 1; } }
@keyframes from-right { from { transform: translate(60px, -50%); opacity: 0; } to { transform: translate(0, -50%); opacity: 1; } }
@keyframes settle { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

.hero h1 {
  font-size: clamp(34px, 7vw, 48px);
  font-weight: 800;
  letter-spacing: 0.06em;
  animation: rise 0.8s 0.9s both;
}
.hero .tagline {
  margin-top: 18px;
  font-size: clamp(16px, 3.5vw, 19px);
  font-weight: 700;
  color: var(--ink);
  animation: rise 0.8s 1.05s both;
}
.hero .sub {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  animation: rise 0.8s 1.15s both;
}
.hero .release {
  display: inline-block;
  margin-top: 32px;
  padding: 10px 22px;
  background: var(--paper);
  border: 2px solid var(--mauve);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  animation: rise 0.8s 1.25s both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .handover .circle, .handover img, .hero h1, .hero .tagline, .hero .sub, .hero .release {
    animation: none;
  }
}

/* ---------- sections ---------- */
section { padding: 56px 0; }
section h2 {
  text-align: center;
  font-size: 22px;
  letter-spacing: 0.12em;
  margin-bottom: 40px;
}

/* 使い方: 3ステップ = 親 → 手渡し → 子 の色で塗る */
.steps { list-style: none; display: grid; gap: 20px; }
.step {
  background: var(--paper);
  border-radius: 20px;
  padding: 24px 26px;
  display: flex; gap: 18px; align-items: flex-start;
}
.step .dot {
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; color: #fff;
}
.step:nth-child(1) .dot { background: var(--lavender); }
.step:nth-child(2) .dot { background: var(--mauve); }
.step:nth-child(3) .dot { background: var(--coral); }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* しないこと */
.nots { list-style: none; display: grid; gap: 14px; max-width: 480px; margin: 0 auto; }
.nots li {
  display: flex; gap: 14px; align-items: baseline;
  font-weight: 700; font-size: 16px;
}
.nots .mark { color: var(--coral); font-weight: 800; }
.nots small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 13.5px; }
.nots-note { text-align: center; margin-top: 36px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 48px;
  padding: 44px 0 56px;
  background: var(--paper);
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.site-footer nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.site-footer .copy { margin-top: 10px; }

/* ---------- privacy page ---------- */
.doc { padding: 24px 0 72px; }
.doc h1 { font-size: 26px; margin-bottom: 6px; }
.doc .meta { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 40px; }
.doc h2 {
  text-align: left; font-size: 19px; letter-spacing: 0.04em;
  margin: 44px 0 14px; padding-left: 14px;
  border-left: 5px solid var(--mauve); border-radius: 2px;
}
.doc h3 { font-size: 16px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { padding-left: 1.4em; display: grid; gap: 6px; margin: 10px 0; }
.doc .lang-divider { margin: 56px 0; border: none; border-top: 2px dashed var(--lavender); }

@media (max-width: 480px) {
  .step { padding: 20px; }
  section { padding: 44px 0; }
}
