/* ランディングページ（index.html）。キャラクターに合わせたパステルの明るい配色。ナイトモードでは焦げ茶の配色 */
:root {
  color-scheme: light dark;
  --cream: #fff8ef;
  --cream-deep: #fff1e0;
  --surface: #ffffff;
  --on-accent: #ffffff;
  --text: #5a3e2e;
  --text-soft: #8a6a58;
  --brown: #6b4a36;
  --coral: #ef8a78;
  --coral-deep: #e2705d;
  --pink: #fde3e0;
  --pink-deep: #f8c6c0;
  --yellow: #fff1c2;
  --yellow-deep: #ffd97a;
  --green: #e3f0d6;
  --green-deep: #b9d79e;
  --blue: #e0eefa;
  --blue-deep: #b5d3ee;
  --header-bg: rgba(255, 248, 239, 0.86);
  --rule: #f0e2d2;
  --dot: rgba(255, 255, 255, 0.6);
  --outline: rgba(107, 74, 54, 0.08);
  --footer: #6b4a36;
  --footer-text: #f6e7da;
  --shadow: 0 14px 36px rgba(122, 74, 50, 0.14);
  --shadow-soft: 0 6px 18px rgba(122, 74, 50, 0.08);
  --chara-shadow: 0 10px 14px rgba(122, 74, 50, 0.18);
  --highlight: var(--yellow-deep);
  --font: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
}

/* ナイトモード（端末のダークモード）。アプリのダークモードと同じ、あたたかい焦げ茶の配色 */
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #1c1611;
    --cream-deep: #2b2119;
    --surface: #2a211a;
    --on-accent: #ffffff;
    --text: #f3e8dd;
    --text-soft: #c9b4a2;
    --brown: #f3dcc6;
    --coral: #e8836f;
    --coral-deep: #c35f4c;
    --pink: #3b2622;
    --pink-deep: #5e3832;
    --yellow: #3a2f1c;
    --yellow-deep: #8c6a24;
    --green: #232e1f;
    --green-deep: #5b7a44;
    --blue: #1d2934;
    --blue-deep: #3b5a74;
    --header-bg: rgba(28, 22, 17, 0.86);
    --rule: #3c3027;
    --dot: rgba(255, 255, 255, 0.07);
    --outline: rgba(255, 255, 255, 0.06);
    --footer: #120e0b;
    --footer-text: #e7d7c8;
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.35);
    --chara-shadow: 0 10px 14px rgba(0, 0, 0, 0.4);
    --highlight: rgba(255, 201, 92, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 横にはみ出す飾りがあっても、スマホで縮小（ピンチ）したときに画面が横にずれないようにする */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

a {
  color: var(--coral-deep);
}

img {
  max-width: 100%;
  height: auto;
}

.sp {
  display: none;
}

/* 言葉の途中で改行しない（見出しなどを、意味のまとまりで折り返す） */
.nb {
  display: inline-block;
}

section[id] {
  scroll-margin-top: 80px;
}

/* ヘッダー（背景は画面いっぱい、中身はページの幅にそろえる） */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: calc(env(safe-area-inset-top) + 10px) 24px 10px;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.12em;
}

.lp-nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.lp-nav a {
  color: var(--text-soft);
  text-decoration: none;
}

.lp-nav a:hover {
  color: var(--coral-deep);
}

.header-cta {
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

/* ボタン */
.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--on-accent);
  font-weight: 900;
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--coral-deep), 0 14px 28px rgba(226, 112, 93, 0.3);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.store-button:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 var(--coral-deep), 0 10px 20px rgba(226, 112, 93, 0.3);
}

.store-button[aria-disabled='true'],
.header-cta[aria-disabled='true'] {
  cursor: default;
}

/* はじめ */
.hero {
  position: relative;
  padding: 48px 24px 120px;
  background:
    radial-gradient(circle at 12% 20%, var(--pink) 0, transparent 34%),
    radial-gradient(circle at 88% 12%, var(--yellow) 0, transparent 30%),
    radial-gradient(circle at 80% 88%, var(--green) 0, transparent 32%),
    var(--cream);
  overflow: hidden;
}

.dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(239, 138, 120, 0.18) 2px, transparent 2.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 28px;
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
}

/* 飾りは、右側（アプリの画面のまわり）にだけ置いて、文章に重ならないようにする */
.sticker { z-index: 1; }
.s1 { top: -4%; right: 40%; }
.s2 { top: 40%; right: -2%; animation-delay: -1.2s; width: 48px; height: 48px; font-size: 22px; }
.s3 { top: 2%; right: 4%; animation-delay: -2.4s; width: 44px; height: 44px; font-size: 20px; }
.s4 { bottom: 4%; right: 42%; animation-delay: -0.6s; width: 50px; height: 50px; font-size: 24px; }
.s5 { bottom: -2%; right: 6%; animation-delay: -3s; width: 46px; height: 46px; font-size: 22px; }
.s6 { top: 70%; right: 0; animation-delay: -1.8s; width: 40px; height: 40px; font-size: 18px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-question {
  display: inline-block;
  margin: 0 0 18px;
  padding: 10px 20px;
  border-radius: 24px 24px 24px 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.mark {
  background: linear-gradient(transparent 58%, var(--highlight) 58%);
  color: var(--text);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.title-accent {
  color: var(--coral-deep);
  background: linear-gradient(transparent 70%, var(--pink-deep) 70%);
}

.hero-lead {
  margin: 0 0 30px;
  font-size: 17px;
  color: var(--text-soft);
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-note {
  display: flex;
  gap: 8px;
  margin: 0;
}

.pill-mini {
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--pink-deep);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  justify-self: center;
  /* 左下のレシピちゃんの分の場所を、アプリの画面の左にとる（左の文章に重ならないように） */
  padding-left: 96px;
}

.blob {
  position: absolute;
  inset: 8% -18% 4% -14%;
  background: var(--pink-deep);
  border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%;
  opacity: 0.55;
  animation: blob 12s ease-in-out infinite;
}

@keyframes blob {
  0%, 100% { border-radius: 46% 54% 58% 42% / 52% 40% 60% 48%; }
  50% { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; }
}

.phone {
  position: relative;
  display: block;
  width: 290px;
  border-radius: 40px;
  border: 8px solid var(--surface);
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 2px var(--outline);
}

.hero-visual .phone {
  width: clamp(230px, 24vw, 290px);
  transform: rotate(3deg);
}

.hero-chef {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 140px;
  animation: float 6s ease-in-out infinite;
}

.hero-chef img {
  display: block;
  filter: drop-shadow(var(--chara-shadow));
}

.bubble {
  position: relative;
  white-space: nowrap;
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.bubble::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  border: 8px solid transparent;
  border-top-color: var(--on-accent);
  border-bottom: 0;
  transform: translateX(-50%);
}

.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 70px;
  fill: var(--surface);
}

/* 見出し */
.section-heading {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.section-heading span {
  position: relative;
  display: inline-block;
  padding: 0 8px;
}

.section-heading span::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 64px;
  height: 8px;
  border-radius: 8px;
  background:
    radial-gradient(circle, var(--coral) 3px, transparent 3.5px) 0 0 / 16px 8px repeat-x;
  transform: translateX(-50%);
}

/* お悩み */
.worries {
  padding: 40px 24px 72px;
  background: var(--surface);
}

.worry-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}

.worry-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.worry-list li {
  position: relative;
  padding: 16px 24px;
  border-radius: 24px;
  background: var(--cream);
  border: 2px dashed var(--pink-deep);
  font-weight: 700;
  line-height: 1.7;
}

.worry-list li:nth-child(2) {
  margin-left: 40px;
  border-color: var(--yellow-deep);
}

.worry-list li:nth-child(3) {
  border-color: var(--green-deep);
}

.worry-chara {
  width: 190px;
  flex-shrink: 0;
}

.answer {
  margin: 36px 0 0;
  text-align: center;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 900;
}

/* 狭い画面では「そんなときは、」のあとで改行する（「せ！」だけが次の行に落ちないように） */
.answer .nowrap {
  display: inline-block;
}

.answer strong {
  color: var(--coral-deep);
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

/* 3ステップ */
.how {
  padding: 80px 24px;
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 36px 24px 26px;
  border-radius: 32px;
  text-align: center;
}

.step h3 {
  margin: 8px 0 6px;
  font-size: 21px;
  font-weight: 900;
}

.step p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}

.step-no {
  position: absolute;
  top: -16px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--on-accent);
  font-weight: 900;
  transform: translateX(-50%);
  box-shadow: 0 4px 0 var(--coral-deep);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--surface);
  font-size: 36px;
}

.pink { background: var(--pink); }
.yellow { background: var(--yellow); }
.green { background: var(--green); }
.blue { background: var(--blue); }

/* メモ → レシピ の見本 */
.demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 960px;
  margin: 56px auto 0;
}

.memo-card,
.recipe-card,
.idea-card {
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.memo-card {
  width: 280px;
  padding: 20px 22px;
  transform: rotate(-2deg);
  background:
    repeating-linear-gradient(transparent 0 31px, var(--rule) 31px 32px),
    var(--surface);
}

.memo-text {
  margin: 0;
  font-size: 15px;
  line-height: 32px;
}

.demo-label {
  margin: 0 0 8px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 900;
}

.demo-label.ai {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--brown);
}

.demo-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 900;
}

.demo-arrow svg {
  fill: none;
  stroke: var(--coral);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.recipe-card {
  width: 340px;
  padding: 22px 24px;
}

.recipe-title {
  margin: 4px 0;
  font-size: 20px;
  font-weight: 900;
}

.recipe-meta {
  display: flex;
  gap: 6px;
  margin: 0 0 12px;
}

.recipe-meta span {
  padding: 0 10px;
  border-radius: 999px;
  background: var(--cream-deep);
  font-size: 12px;
  font-weight: 700;
}

.recipe-ings {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.recipe-ings li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  border-bottom: 1px dashed var(--rule);
}

.recipe-steps {
  margin: 0;
  padding-left: 1.3em;
  font-size: 14px;
}

.timer {
  margin-left: 4px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--on-accent);
  font-size: 12px;
  font-weight: 900;
}

/* できること */
.features {
  padding: 80px 24px 40px;
  background: var(--surface);
}

.feature {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
  max-width: 1000px;
  margin: 0 auto 32px;
  padding: 44px 48px;
  border-radius: 40px;
}

.feature.reverse {
  grid-template-columns: auto 1fr;
}

.feature.reverse .feature-text {
  order: 2;
}

.feature-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 900;
}

.feature h3 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 29px);
  line-height: 1.5;
  font-weight: 900;
}

.feature p {
  margin: 0;
  color: var(--text-soft);
}

.accent {
  color: var(--coral-deep);
}

.phone.small {
  width: 230px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips span {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.feature-art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.feature-art .chara {
  width: 150px;
  margin-top: -10px;
}

.idea-card {
  width: 100%;
  padding: 18px 20px;
}

.idea-input {
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--cream);
  font-weight: 700;
}

.idea-result {
  margin: 0;
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--brown);
  font-weight: 900;
  font-size: 15px;
}

.mini-timeline {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-timeline li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
}

.mini-name {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}

.mini-timeline em {
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
  color: var(--coral-deep);
  font-style: normal;
  font-weight: 900;
}

.mini-photo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
}

.mini-photo.p1 { background: var(--yellow); }
.mini-photo.p2 { background: var(--green); }
.mini-photo.p3 { background: var(--pink); }

.more-heading {
  margin: 64px 0 24px;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.more {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.more li {
  padding: 22px;
  border-radius: 26px;
  background: var(--cream);
  color: var(--text-soft);
  font-size: 14px;
}

.more strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--text);
  font-size: 17px;
  font-weight: 900;
}

.more-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 24px;
}

/* 料金 */
.plans {
  padding: 80px 24px 40px;
  background: var(--cream);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.plan {
  position: relative;
  padding: 34px 32px;
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.plan.pro {
  background: linear-gradient(160deg, var(--surface) 40%, var(--pink) 100%);
  border: 3px solid var(--coral);
}

.plan-icon {
  margin: 0;
  font-size: 34px;
  line-height: 1;
}

.plan-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  margin: 0;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--yellow-deep);
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
  transform: rotate(3deg);
}

.plan h3 {
  margin: 10px 0 0;
  font-size: 19px;
  font-weight: 900;
}

.price {
  margin: 2px 0 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.3;
}

.price small {
  font-size: 16px;
  color: var(--text-soft);
}

.price-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.plan ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  margin: 6px 0;
  padding-left: 26px;
}

.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.plans-note {
  margin-top: 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 13px;
}

/* よくある質問 */
.faq {
  padding: 80px 24px 40px;
  background: var(--cream);
}

.faq > * {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq details {
  margin-bottom: 14px;
  padding: 18px 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: 'Q';
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--coral-deep);
  font-size: 14px;
}

.faq details p {
  margin: 12px 0 0;
  color: var(--text-soft);
}

.faq-more {
  text-align: center;
  font-weight: 700;
}

/* おわり */
.closing {
  padding: 40px 24px 96px;
  background: var(--cream);
}

.closing-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 28px;
  border-radius: 48px;
  background:
    radial-gradient(var(--dot) 2px, transparent 2.5px) 0 0 / 24px 24px,
    linear-gradient(135deg, var(--pink) 0%, var(--yellow) 100%);
  text-align: center;
}

.closing-charas {
  display: flex;
  gap: 12px;
}

.closing-charas img {
  width: 110px;
  animation: float 5s ease-in-out infinite;
}

.closing-charas img:last-child {
  animation-delay: -2.5s;
}

.closing-title {
  margin: 0;
  font-size: clamp(23px, 3.6vw, 32px);
  font-weight: 900;
  line-height: 1.55;
}

.closing-note {
  max-width: 460px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.lp-footer {
  padding: 36px 24px calc(env(safe-area-inset-bottom) + 36px);
  background: var(--footer);
  color: var(--footer-text);
  text-align: center;
  font-size: 13px;
}

.social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 4px;
}

.social-link {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(246, 231, 218, 0.5);
  color: var(--footer-text);
  font-weight: 900;
  text-decoration: none;
}

.lp-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 8px 0;
}

.lp-footer a {
  color: var(--footer-text);
}

/* スクロールで出す（JS が使えて、動きを減らす設定でないときだけ） */
.motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.motion .reveal.shown {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* スマホ */
@media (max-width: 800px) {
  .sp {
    display: inline;
  }

  .lp-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .lp-nav {
    display: none;
  }

  .hero {
    padding: 28px 16px 100px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .cta {
    align-items: center;
  }

  .hero-visual {
    padding-left: 72px;
  }

  .hero-visual .phone {
    width: 220px;
  }

  .hero-chef {
    left: 0;
    width: 104px;
  }

  .bubble {
    font-size: 11px;
  }

  /* スマホでは、アプリの画面のまわりに2つだけ */
  .s1,
  .s3,
  .s5,
  .s6 {
    display: none;
  }

  .s2 {
    top: auto;
    bottom: 34%;
    right: 2%;
  }

  .s4 {
    top: auto;
    bottom: 22%;
    right: auto;
    left: 4%;
  }

  .worries,
  .how,
  .features,
  .plans,
  .faq,
  .closing {
    padding-left: 16px;
    padding-right: 16px;
  }

  .worry-wrap {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .worry-list li:nth-child(2) {
    margin-left: 0;
  }

  .worry-chara {
    width: 140px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* スマホでは、アイコンを左・文章を右に並べてコンパクトにする */
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 18px 18px 18px 22px;
    border-radius: 26px;
    text-align: left;
  }

  .step-no {
    top: -10px;
    left: 14px;
    width: 28px;
    height: 28px;
    font-size: 14px;
    transform: none;
  }

  .step-icon {
    grid-row: span 2;
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .step h3 {
    margin: 0;
    font-size: 18px;
  }

  .step p {
    font-size: 14px;
  }

  .demo {
    flex-direction: column;
  }

  /* 縦に並ぶときは、矢印を下向きにして「AIで整理」の横に置く（回した矢印が文字に重ならないように） */
  .demo-arrow {
    flex-direction: row;
    gap: 6px;
    padding: 10px 0;
  }

  .demo-arrow svg {
    transform: rotate(90deg);
  }

  .memo-card,
  .recipe-card {
    width: 100%;
    max-width: 340px;
  }

  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px;
    border-radius: 32px;
    text-align: center;
  }

  .feature.reverse .feature-text {
    order: 0;
  }

  .feature .phone,
  .feature-art {
    justify-self: center;
  }

  .phone.small {
    width: 210px;
  }

  .feature-art {
    width: 100%;
    max-width: 300px;
    text-align: left;
  }

  .chips {
    justify-content: center;
  }

  .more {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .more li {
    padding: 16px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 420px) {
  .more {
    grid-template-columns: 1fr;
  }
}

/* 予約注文の開始は公式SNSでお知らせ（フォローのお願い） */
.follow {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.follow-lead {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
}

.follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.closing-follow .follow-links {
  justify-content: center;
}

.follow-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 2px solid var(--coral);
  background: var(--surface);
  color: var(--coral-deep);
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.follow-link:hover {
  transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
  .follow-link {
    background: transparent;
  }
}

@media (max-width: 720px) {
  .hero-follow .follow-links {
    justify-content: center;
  }

  .hero-follow .follow-lead {
    text-align: center;
  }
}

/* 作った・定番・殿堂入り の段階 */
.tier-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.tier-steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(122, 74, 50, 0.1);
}

.tier-badge {
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}

.tier-badge.t1 { background: #5e7046; }
.tier-badge.t2 { background: #e2705d; }
.tier-badge.t3 { background: #c9962e; }

.tier-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-soft);
}

/* 近日公開の超目玉機能（シークレット） */
.secret {
  position: relative;
  overflow: hidden;
  padding: 88px 24px 80px;
  text-align: center;
  color: #fff8ef;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 217, 122, 0.25) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(239, 138, 120, 0.3) 0, transparent 45%),
    linear-gradient(160deg, #4a3226 0%, #2e1e16 100%);
}

.secret-sparkles span {
  position: absolute;
  color: #ffd97a;
  font-size: 18px;
  opacity: 0;
  animation: secret-twinkle 2.8s ease-in-out infinite;
}

.secret-sparkles span:nth-child(1) { top: 12%; left: 10%; animation-delay: 0s; }
.secret-sparkles span:nth-child(2) { top: 22%; right: 14%; font-size: 24px; animation-delay: 0.6s; }
.secret-sparkles span:nth-child(3) { top: 48%; left: 6%; font-size: 14px; animation-delay: 1.2s; }
.secret-sparkles span:nth-child(4) { top: 60%; right: 8%; animation-delay: 1.8s; }
.secret-sparkles span:nth-child(5) { bottom: 14%; left: 18%; font-size: 22px; animation-delay: 0.9s; }
.secret-sparkles span:nth-child(6) { bottom: 10%; right: 22%; font-size: 14px; animation-delay: 2.2s; }

@keyframes secret-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

.secret-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 122, 0.6);
  color: #ffd97a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3em;
}

.secret-title {
  margin: 0 0 32px;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.secret-title span {
  background: linear-gradient(90deg, #ffd97a, #ef8a78, #ffd97a);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: secret-shine 4s linear infinite;
}

@keyframes secret-shine {
  to { background-position: -200% 0; }
}

/* プレゼントの箱（ふたがときどき持ち上がって、中から「?」がのぞく） */
.secret-box {
  position: relative;
  width: 200px;
  /* ふたが持ち上がって「?」がのぞく分、上をあける */
  margin: 110px auto 36px;
  animation: secret-wobble 3.2s ease-in-out infinite;
}

.secret-lid {
  position: relative;
  z-index: 2;
  height: 44px;
  margin: 0 -10px;
  border-radius: 12px;
  background: #ef8a78;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.15);
  animation: secret-lid 3.2s ease-in-out infinite;
  transform-origin: 20% 100%;
}

.secret-ribbon,
.secret-body::before {
  position: absolute;
  left: 50%;
  width: 28px;
  margin-left: -14px;
  background: #ffd97a;
}

.secret-ribbon {
  top: 0;
  bottom: 0;
}

.secret-body {
  position: relative;
  height: 150px;
  border-radius: 0 0 18px 18px;
  background: #e2705d;
  overflow: visible;
}

.secret-body::before {
  content: '';
  top: 0;
  bottom: 0;
}

.secret-question {
  position: absolute;
  z-index: 1;
  top: -6px;
  left: 50%;
  margin: 0;
  transform: translate(-50%, 0);
  font-size: 64px;
  font-weight: 900;
  color: #ffd97a;
  text-shadow: 0 0 24px rgba(255, 217, 122, 0.8);
  opacity: 0;
  animation: secret-peek 3.2s ease-in-out infinite;
}

.secret-chara {
  position: absolute;
  right: -84px;
  bottom: -10px;
  width: 110px;
  height: auto;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3));
}

@keyframes secret-wobble {
  0%, 60%, 100% { transform: rotate(0deg); }
  66% { transform: rotate(-4deg); }
  72% { transform: rotate(4deg); }
  78% { transform: rotate(-2deg); }
}

@keyframes secret-lid {
  0%, 30%, 100% { transform: translateY(0) rotate(0deg); }
  40%, 52% { transform: translateY(-34px) rotate(-14deg); }
}

@keyframes secret-peek {
  0%, 30%, 100% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  42%, 50% { opacity: 1; transform: translate(-50%, -80px) scale(1); }
}

.secret-lead {
  margin: 0 auto 24px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.9;
  color: #f1e2d2;
}

.secret-lead strong {
  color: #ffd97a;
}

.secret-hints {
  list-style: none;
  margin: 0 auto 24px;
  padding: 0;
  max-width: 460px;
  display: grid;
  gap: 10px;
}

.secret-hints li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 217, 122, 0.45);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.secret-hints li span {
  flex: none;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffd97a;
  color: #2e1e16;
  font-size: 12px;
  font-weight: 900;
}

.secret-note {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffd97a;
}

@media (prefers-reduced-motion: reduce) {
  .secret-sparkles span,
  .secret-title span,
  .secret-box,
  .secret-lid,
  .secret-question {
    animation: none;
  }
  .secret-sparkles span { opacity: 0.6; }
  .secret-question { opacity: 1; transform: translate(-50%, -80px); }
}

.closing-sub {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.6em;
  font-weight: 800;
  color: var(--text-soft);
}
