:root {
  --bg: #fbf8f5;
  --paper: #ffffff;
  --ink: #2f2a27;
  --muted: #756c66;
  --line: #eadfd8;
  --accent: #a94b48;
  --accent-soft: #f5e5e2;
  --blue: #4f6f86;
  --blue-soft: #e9f1f5;
  --green: #557968;
  --green-soft: #e9f2ed;
  --yellow: #f2d998;
  --shadow: 0 18px 50px rgba(74, 55, 44, .10);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 4%, rgba(242,217,152,.26), transparent 25rem),
    radial-gradient(circle at 93% 16%, rgba(169,75,72,.09), transparent 25rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(251,248,245,.90);
  border-bottom: 1px solid rgba(234,223,216,.85);
  backdrop-filter: blur(16px);
}

.brand-stack { display: grid; gap: 1px; text-decoration: none; }
.brand-stack img { width: 152px; display: block; }
.brand-stack small { justify-self: end; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.header-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.header-nav a { text-decoration: none; color: #5e5651; font-size: 13px; font-weight: 800; }
.header-nav a:hover { color: var(--accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--accent); box-shadow: 0 10px 24px rgba(169,75,72,.22); }
.button.soft { background: #fff; border: 1px solid var(--line); color: #514943; }
.header-cta { white-space: nowrap; }

main { overflow: hidden; }
.section { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 92px 0; }
.section-kicker { margin: 0 0 8px; color: var(--accent); font-size: 11px; font-weight: 950; letter-spacing: .16em; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; margin-bottom: 34px; }
.section-heading h2, .section-title { margin: 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.18; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); }

.hero {
  width: min(1240px, calc(100% - 30px));
  margin: 26px auto 0;
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 44px;
  padding: clamp(44px, 7vw, 90px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(250,242,237,.92));
  box-shadow: var(--shadow);
}
.hero-copy { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; margin-bottom: 16px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 900; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5b9273; box-shadow: 0 0 0 5px rgba(91,146,115,.12); }
.hero h1 { margin: 0 0 20px; font-size: clamp(42px, 6vw, 76px); line-height: 1.03; letter-spacing: -.055em; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead { margin: 0 0 22px; max-width: 640px; color: #5d5550; font-size: clamp(16px, 1.8vw, 20px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-mini { margin-top: 18px; color: var(--muted); font-size: 12px; }

.hero-stage { position: relative; min-height: 520px; display: grid; place-items: center; }
.phone {
  width: min(360px, 82vw);
  padding: 12px;
  border: 1px solid #d9cec8;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(77,55,43,.18);
  transform: rotate(1.8deg);
}
.phone-top { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 0 12px; font-size: 11px; font-weight: 950; }
.phone-top::before { content: ""; width: 52px; height: 6px; border-radius: 999px; background: #ded6d2; }
.phone-screen { padding: 18px; border-radius: 23px; background: #f7f3f0; }
.quest-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.quest-head b { font-size: 15px; }
.quest-head span { padding: 4px 8px; border-radius: 999px; background: #fff; font-size: 10px; font-weight: 900; }
.next-card { padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #eadfd8; }
.next-card small { color: var(--muted); }
.next-card strong { display: block; margin: 3px 0; font-size: 18px; }
.flow-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 12px; }
.flow-row span { padding: 9px 3px; text-align: center; border-radius: 10px; background: #e8e2de; color: #7d746f; font-size: 9px; font-weight: 900; }
.flow-row .done { color: #fff; background: var(--green); }
.flow-row .now { color: #fff; background: var(--accent); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 9px; }
.mini-grid div { padding: 12px; border-radius: 13px; background: #fff; }
.mini-grid small { display: block; color: var(--muted); font-size: 9px; }
.mini-grid b { font-size: 21px; }

.sappo-card {
  position: absolute;
  right: -12px;
  bottom: 16px;
  width: 176px;
  padding: 15px;
  border: 1px solid #eadfd8;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(77,55,43,.14);
  transform: rotate(-3deg);
}
.sappo-card .sappo-face {
  width: 70px;
  height: 70px;
  margin: -50px auto 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff7e1, #f1d287);
  border: 5px solid #fff;
  box-shadow: 0 8px 20px rgba(90,65,38,.14);
  font-size: 31px;
}
.sappo-card b { display: block; text-align: center; font-size: 13px; }
.sappo-card p { margin: 4px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.55; }
.floating-pill { position: absolute; left: -22px; top: 72px; padding: 10px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 10px 28px rgba(79,111,134,.25); }

.value-strip { width: min(1080px, calc(100% - 36px)); margin: 38px auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.value-strip article { padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.75); }
.value-strip b { display: block; font-size: 14px; }
.value-strip span { color: var(--muted); font-size: 11px; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { position: relative; min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(72,54,44,.05); }
.feature-card.wide { grid-column: span 2; }
.feature-card .icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; background: var(--accent-soft); font-size: 22px; }
.feature-card:nth-child(3n+2) .icon { background: var(--blue-soft); }
.feature-card:nth-child(3n) .icon { background: var(--green-soft); }
.feature-card h3 { margin: 0 0 8px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; }
.feature-tag { display: inline-flex; margin-top: 16px; padding: 5px 9px; border-radius: 999px; background: #f6f2ef; color: #6c625c; font-size: 10px; font-weight: 900; }

.connected {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  padding: clamp(32px, 5vw, 58px);
  border-radius: 34px;
  background: #313b42;
  color: #fff;
}
.connected p { color: #cad2d6; }
.chain { display: grid; gap: 10px; align-content: center; }
.chain article { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: rgba(255,255,255,.08); }
.chain b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.13); }
.chain span { font-weight: 850; }
.chain i { color: #9cb3c2; font-style: normal; }

.sappo-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 34px; align-items: center; padding: clamp(32px,5vw,62px); border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(145deg, #fff8e7, #fff); }
.sappo-big { min-height: 280px; display: grid; place-items: center; border-radius: 30px; background: rgba(255,255,255,.72); border: 1px dashed #e6cf9c; }
.sappo-bubble { width: 190px; text-align: center; }
.sappo-emoji { width: 124px; height: 124px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 46% 54% 52% 48%; background: linear-gradient(145deg, #fbe7ad, #e4bd66); border: 8px solid #fff; box-shadow: 0 18px 36px rgba(112,83,33,.16); font-size: 58px; transform: rotate(-4deg); }
.sappo-bubble b { display:block; font-size: 20px; }
.sappo-bubble span { color: var(--muted); font-size: 11px; }
.sappo-copy h2 { margin: 0 0 14px; font-size: clamp(30px,4vw,50px); line-height: 1.2; }
.sappo-copy > p { color: var(--muted); }
.sappo-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.sappo-points div { padding: 14px; border-radius: 15px; background: #fff; border: 1px solid #eee2da; font-size: 12px; font-weight: 800; }

.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card, .trial-card { padding: clamp(28px,4vw,46px); border-radius: 30px; }
.price-card { color: #fff; background: var(--accent); box-shadow: 0 18px 44px rgba(169,75,72,.22); }
.price-card .eyebrow { opacity: .8; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.price-card h3 { margin: 8px 0; font-size: 25px; }
.price-main { margin: 12px 0; font-size: clamp(38px,5vw,60px); font-weight: 950; letter-spacing: -.05em; }
.price-main small { font-size: 14px; letter-spacing: 0; }
.price-after { margin: 0; opacity: .92; }
.trial-card { background: #fff; border: 1px solid var(--line); }
.trial-card h3 { margin-top: 0; font-size: 22px; }
.trial-card ul { padding-left: 20px; color: var(--muted); }

.faq { display: grid; gap: 10px; }
details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
summary { cursor: pointer; font-weight: 900; }
details p { margin: 11px 0 0; color: var(--muted); font-size: 13px; }

.contact-panel { padding: clamp(32px,5vw,60px); border-radius: 34px; background: #2f3539; color: #fff; text-align: center; }
.contact-panel .section-kicker { color: #e4b6b2; }
.contact-panel h2 { margin: 0 0 10px; font-size: clamp(30px,4vw,50px); }
.contact-panel > p { color: #cbd0d2; }
.contact-form { max-width: 780px; margin: 26px auto 0; padding: 24px; border-radius: 24px; background: #fff; color: var(--ink); text-align: left; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-field { display: grid; gap: 6px; }
.contact-field.full { grid-column: 1 / -1; }
.contact-field label { color: #665d57; font-size: 11px; font-weight: 900; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #ded5d0; border-radius: 12px; background: #fff; font: inherit; font-size: 14px; }
.contact-field textarea { min-height: 120px; resize: vertical; }
.contact-form .button { width: 100%; border: 0; cursor: pointer; margin-top: 4px; }
.contact-form-note { margin: 0; color: #81766f; font-size: 10px; text-align: center; }

.site-footer { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 46px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.footer-brand img { width: 118px; display:block; }
.footer-meta { text-align: right; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 46px 28px 38px; }
  .hero-stage { min-height: 480px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.wide { grid-column: span 2; }
  .connected, .sappo-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 64px; padding: 10px 14px; gap: 10px; }
  .brand-stack img { width: 126px; }
  .header-cta { min-height: 40px; padding: 9px 12px; font-size: 11px; }
  .hero { width: calc(100% - 20px); margin-top: 10px; border-radius: 28px; min-height: auto; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-stage { min-height: 410px; margin-top: 10px; }
  .phone { width: 280px; }
  .sappo-card { right: -2px; bottom: 8px; width: 148px; }
  .floating-pill { left: 0; top: 34px; }
  .value-strip { grid-template-columns: 1fr; }
  .section { width: min(100% - 28px, 1180px); padding: 66px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: auto; }
  .sappo-points { grid-template-columns: 1fr; }
  .price-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-field.full { grid-column: auto; }
  .site-footer { align-items: flex-start; flex-direction: column; }
  .footer-meta { text-align: left; }
}
