/* === うちの子ミュージアム LP ===================================== */
:root {
  --bg: #faf5e9;
  --bg-deep: #f3ead5;
  --paper: #fffdf6;
  --ink: #3a2e1f;
  --ink-soft: #6b5a47;
  --ink-mute: #9c8b73;
  --rose: #c8a99b;
  --rose-deep: #a47e6c;
  --wood: #c89859;
  --wood-deep: #9a6f3e;
  --sage: #8aa07a;
  --sage-soft: #c5d2b6;
  --sky: #b8cad8;
  --rule: #e4d9bf;
  --shadow: 0 2px 6px rgba(122, 92, 47, 0.08), 0 10px 28px rgba(122, 92, 47, 0.08);
  --shadow-lift: 0 4px 12px rgba(122, 92, 47, 0.12), 0 24px 60px rgba(122, 92, 47, 0.14);

  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  overflow-x: clip;
  position: relative;
  max-width: 100%;
}
body {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* === Paper background ============================================ */
.paper-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 800px at 80% 0%, #fff7e2 0%, transparent 60%),
    radial-gradient(900px 700px at 10% 30%, #f1efe0 0%, transparent 55%),
    radial-gradient(1000px 900px at 70% 90%, #f5ecd6 0%, transparent 55%),
    var(--bg);
  z-index: -2;
}
.paper-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.34  0 0 0 0 0.18  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.55; mix-blend-mode: multiply;
}

/* === Section frame =============================================== */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
section { position: relative; padding: 96px 0; }

/* === Botanical accents (CSS only) ================================ */
.botanical {
  position: absolute; pointer-events: none; user-select: none;
  opacity: 0.55;
}

/* === Header ====================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(250, 245, 233, 0.78);
  border-bottom: 1px solid rgba(196, 174, 134, 0.25);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; max-width: 1180px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(122, 78, 28, 0.22);
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-mark svg { width: 24px; height: 24px; }
.brand-name {
  font-family: var(--serif);
  font-size: 17px; letter-spacing: 0.08em;
  color: var(--ink);
}
.brand-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.15em; }

.nav { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--rose-deep); }
.nav .cta {
  background: var(--ink); color: var(--bg);
  padding: 9px 18px; border-radius: 999px;
  letter-spacing: 0.06em;
}
@media (max-width: 720px) {
  .nav a:not(.cta) { display: none; }
}

/* === Hero ======================================================== */
.hero { padding: 80px 0 60px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--rose-deep);
  padding: 7px 16px;
  background: #fff; border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
h1.display {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.35; letter-spacing: 0.02em;
  margin: 22px 0 18px;
  color: var(--ink);
}
h1.display em { font-style: normal; color: var(--rose-deep); position: relative; }
h1.display em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px;
  background: linear-gradient(90deg, transparent, #f0d4c4 30%, #f0d4c4 70%, transparent);
  border-radius: 4px; opacity: 0.7;
}
.lede {
  font-size: 17px; color: var(--ink-soft); line-height: 2;
  max-width: 480px;
  text-wrap: pretty;
}

.cta-row { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; letter-spacing: 0.06em; font-size: 14px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 6px 18px rgba(58, 46, 31, 0.28);
}
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow);
}
.cta-meta {
  margin-top: 20px;
  font-size: 12px; color: var(--ink-mute);
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.cta-meta .star { color: var(--wood); letter-spacing: 0.1em; }

/* === Phone =========================================================
   Wraps a screenshot in an iPhone-shaped bezel. The original PNGs
   include the iOS status bar, so the bezel sits flush around them. */
.phone {
  position: relative;
  width: 280px; aspect-ratio: 9/19.5;
  border-radius: 44px;
  padding: 8px;
  background:
    linear-gradient(160deg, #f0e3c8 0%, #d4b988 50%, #b59257 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.6),
    inset 0 0 0 4px #b08544,
    var(--shadow-lift);
}
.phone::before {
  content: ""; position: absolute; left: 50%; top: 18px;
  transform: translateX(-50%);
  width: 90px; height: 24px; border-radius: 999px;
  background: #1a1410; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 36px;
  overflow: hidden; background: #fff;
  position: relative;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.hero-phones {
  position: relative; display: flex; justify-content: center;
  align-items: center; min-height: 580px;
}
.hero-phones .phone:nth-child(1) {
  transform: rotate(-6deg) translate(-60px, 10px);
  width: 250px;
}
.hero-phones .phone:nth-child(2) {
  position: relative; z-index: 2;
  transform: translate(20px, -10px);
  width: 290px;
}
.hero-phones .leaf {
  position: absolute; width: 240px; opacity: 0.5;
  top: -10px; right: -40px; transform: rotate(20deg);
  z-index: 0;
}
.hero-phones .button-deco {
  position: absolute; left: -30px; bottom: 20px;
  width: 70px; opacity: 0.5;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-phones { min-height: 520px; }
}
