/* ==========================================================================
   manelingo LP
   配色・角丸・影は Flutter アプリの KidTokens (app_tokens.dart) を移植
   ========================================================================== */

:root {
  --cream: #FFF9EF;
  --ink: #263238;
  --muted: #61727A;
  --sun: #FFD45A;
  --peach: #FF9F80;
  --mint: #6EE7B7;
  --sky: #73D4FF;
  --berry: #F78AC4;
  --grape: #A78BFA;
  --leaf: #9BE37A;

  --sunset: linear-gradient(135deg, #FFDE68, #FF9F80);
  --stage: linear-gradient(135deg, #9FE7FF 0%, #FFE57F 56%, #FFB5C9 100%);
  --celebration: linear-gradient(135deg, #FFE98E 0%, #FFB1CB 50%, #99E9FF 100%);
  --aqua: linear-gradient(135deg, #B7F5FF, #C5B7FF);

  --r-chip: 14px;
  --r-btn: 20px;
  --r-card: 24px;
  --r-stage: 28px;

  --shadow-chip: 0 4px 10px rgba(59, 53, 90, .10);
  --shadow-soft: 0 10px 24px rgba(59, 53, 90, .10);
  --shadow-deep: 0 18px 46px rgba(59, 53, 90, .16);

  --font-ja: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', sans-serif;
  --font-en: 'Baloo 2', 'M PLUS Rounded 1c', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-ja);
  font-weight: 500;
  color: var(--ink);
  background-color: var(--cream);
  background-image: radial-gradient(rgba(38, 50, 56, .05) 1.2px, transparent 1.3px);
  background-size: 24px 24px;
  line-height: 1.8;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }
.sp-only { display: none; }

/* ---------- 見出し ---------- */
.section-eyebrow {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--peach);
  text-align: center;
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(26px, 4.2vw, 38px);
  font-weight: 800;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 18px;
}
.section-lead {
  text-align: center;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(255, 249, 239, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-chip);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
}
.brand-mascot { width: 40px; height: 40px; object-fit: contain; }
.global-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.global-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 4px 2px;
  border-bottom: 3px solid transparent;
  transition: border-color .2s;
}
.global-nav a:hover { border-bottom-color: var(--sun); }
.header-cta {
  background: var(--sunset);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-chip);
  transition: transform .2s;
  white-space: nowrap;
}
.header-cta:hover { transform: scale(1.06); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 130px 0 0;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
}
.blob-sky  { width: 480px; height: 480px; background: #9FE7FF; top: -140px; right: -120px; }
.blob-sun  { width: 420px; height: 420px; background: #FFE57F; bottom: -80px; left: -140px; }
.blob-berry{ width: 300px; height: 300px; background: #FFB5C9; top: 40%; left: 44%; opacity: .35; }

.sparkle {
  position: absolute;
  color: var(--sun);
  font-size: 26px;
  animation: twinkle 2.6s ease-in-out infinite;
}
.sp-1 { top: 18%; left: 6%; }
.sp-2 { top: 12%; right: 12%; color: var(--berry); animation-delay: .6s; }
.sp-3 { bottom: 30%; left: 42%; color: var(--sky); animation-delay: 1.2s; font-size: 18px; }
.sp-4 { bottom: 18%; right: 5%; animation-delay: 1.8s; }
@keyframes twinkle {
  0%, 100% { opacity: .25; transform: scale(.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(20deg); }
}

.hero-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--sun);
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-chip);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 56px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
}
.mark {
  background-repeat: no-repeat;
  background-position: 0 78%;
  background-size: 100% .42em;
}
.mark-sun { background-image: linear-gradient(transparent, transparent), linear-gradient(rgba(255, 212, 90, .75), rgba(255, 212, 90, .75)); }
.mark-berry { background-image: linear-gradient(transparent, transparent), linear-gradient(rgba(247, 138, 196, .55), rgba(247, 138, 196, .55)); }
.hero-lead {
  color: var(--muted);
  font-size: 16px;
  max-width: 30em;
  margin-bottom: 26px;
}
.hero-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-chip);
  padding: 9px 18px;
  box-shadow: var(--shadow-chip);
  line-height: 1.3;
}
.store-badge small { display: block; font-size: 10px; opacity: .8; }
.store-badge strong { font-family: var(--font-en); font-size: 16px; font-weight: 700; }
.store-icon {
  width: 22px; height: 22px; flex: none;
  background-color: #fff;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.05 12.54c-.03-2.5 2.04-3.7 2.13-3.76-1.16-1.7-2.97-1.93-3.61-1.96-1.54-.16-3 .9-3.78.9-.78 0-1.98-.88-3.26-.86-1.68.03-3.22.97-4.08 2.47-1.74 3.02-.44 7.49 1.25 9.94.83 1.2 1.82 2.55 3.12 2.5 1.25-.05 1.72-.81 3.23-.81 1.5 0 1.93.81 3.25.79 1.35-.03 2.2-1.22 3.02-2.43.95-1.39 1.34-2.74 1.36-2.81-.03-.01-2.61-1-2.63-3.97zM14.56 4.9c.69-.83 1.15-1.99 1.02-3.15-.99.04-2.18.66-2.89 1.49-.63.73-1.19 1.91-1.04 3.04 1.1.09 2.23-.56 2.91-1.38z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.05 12.54c-.03-2.5 2.04-3.7 2.13-3.76-1.16-1.7-2.97-1.93-3.61-1.96-1.54-.16-3 .9-3.78.9-.78 0-1.98-.88-3.26-.86-1.68.03-3.22.97-4.08 2.47-1.74 3.02-.44 7.49 1.25 9.94.83 1.2 1.82 2.55 3.12 2.5 1.25-.05 1.72-.81 3.23-.81 1.5 0 1.93.81 3.25.79 1.35-.03 2.2-1.22 3.02-2.43.95-1.39 1.34-2.74 1.36-2.81-.03-.01-2.61-1-2.63-3.97zM14.56 4.9c.69-.83 1.15-1.99 1.02-3.15-.99.04-2.18.66-2.89 1.49-.63.73-1.19 1.91-1.04 3.04 1.1.09 2.23-.56 2.91-1.38z"/></svg>') center/contain no-repeat;
}
.store-icon-play {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 3.3v17.4c0 .5.55.8.97.53l14.6-8.7a.62.62 0 0 0 0-1.06L4.97 2.77A.62.62 0 0 0 4 3.3z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 3.3v17.4c0 .5.55.8.97.53l14.6-8.7a.62.62 0 0 0 0-1.06L4.97 2.77A.62.62 0 0 0 4 3.3z"/></svg>') center/contain no-repeat;
}
.store-badge-light { background: #fff; color: var(--ink); }
.store-badge-light .store-icon { background-color: var(--ink); }

/* リンク化したバッジ（公開済みストア）。span のままのバッジは Coming Soon 表示 */
a.store-badge {
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
a.store-badge:hover,
a.store-badge:focus-visible { transform: translateY(-3px) scale(1.04); }

/* スマホモック */
.hero-phone { position: relative; justify-self: center; }
.phone {
  position: relative;
  width: 292px;
  background: #3B355A;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-deep);
  transform: rotate(2.5deg);
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: rotate(2.5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-10px); }
}
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #3B355A;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  background: var(--cream);
  border-radius: 36px;
  padding: 34px 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.app-topbar { display: flex; align-items: center; gap: 8px; }
.app-back {
  width: 30px; height: 30px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  box-shadow: var(--shadow-chip);
}
.app-genre-pill {
  background: var(--sun);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-chip);
}
.app-gauge {
  flex: 1;
  height: 10px;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(59,53,90,.12);
}
.app-gauge i {
  display: block;
  width: 60%; height: 100%;
  background: var(--sunset);
  border-radius: 999px;
}
.app-stage {
  background: var(--stage);
  border-radius: 20px;
  padding: 6px;
  box-shadow: var(--shadow-soft);
}
.app-stage-view {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
}
.app-stage-view img {
  width: 100%;
  aspect-ratio: 864 / 496;
  object-fit: cover;
  animation: kenburns 16s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to { transform: scale(1.09) translateX(-2%); }
}
.app-stage-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, .9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--ink);
  padding-left: 2px;
  box-shadow: var(--shadow-chip);
}
.app-word { text-align: center; line-height: 1.2; margin-top: 2px; }
.app-word-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 34px;
}
.app-word-ja { font-size: 12px; color: var(--muted); font-weight: 700; }
.app-listen {
  align-self: center;
  background: #fff;
  border-radius: var(--r-chip);
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-chip);
}
.app-mic { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 2px; }
.app-mic-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--sunset);
  border: 4px solid #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: var(--shadow-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(59,53,90,.10), 0 0 0 0 rgba(255, 159, 128, .45); }
  50% { box-shadow: 0 10px 24px rgba(59,53,90,.10), 0 0 0 14px rgba(255, 159, 128, 0); }
}
.app-mic-label { font-size: 12px; font-weight: 800; }

.hero-char {
  position: absolute;
  width: 120px;
  filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff)
          drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff)
          drop-shadow(0 10px 14px rgba(59,53,90,.22));
}
.hero-char-mon { bottom: -14px; left: -74px; animation: bob 3.8s ease-in-out infinite; }
.hero-char-kanji { top: 30px; right: -70px; width: 104px; animation: bob 3.2s ease-in-out infinite reverse; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* 英単語マーキー */
.word-marquee {
  position: relative;
  background: var(--sun);
  transform: rotate(-1.2deg) scale(1.02);
  padding: 12px 0;
  margin-top: 30px;
  box-shadow: var(--shadow-chip);
  overflow: hidden;
}
.word-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 22px;
  animation: marquee 28s linear infinite;
}
.word-track i { font-style: normal; font-size: 14px; opacity: .55; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- コンセプト ---------- */
.concept { padding: 90px 0 70px; }
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.concept-card {
  background: #fff;
  border-radius: var(--r-card);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform .25s;
}
.concept-card:hover { transform: translateY(-6px) rotate(-.5deg); }
.concept-emoji {
  display: inline-grid;
  place-items: center;
  width: 72px; height: 72px;
  font-size: 34px;
  background: var(--cream);
  border-radius: 24px;
  margin-bottom: 14px;
}
.concept-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.concept-card p { font-size: 14px; color: var(--muted); text-align: left; }

/* ---------- とくちょう ---------- */
.features { padding: 70px 0 90px; }
.feature-list { display: flex; flex-direction: column; gap: 70px; margin-top: 50px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-row-rev .feature-media { order: 2; }
.feature-row-rev .feature-text { order: 1; }
.feature-media { position: relative; }
.feature-media-video {
  border-radius: var(--r-stage);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  border: 6px solid #fff;
}
.feature-media-video img { width: 100%; aspect-ratio: 864 / 496; object-fit: cover; }
.feature-media-chip {
  position: absolute;
  left: 14px; bottom: 14px;
  background: #fff;
  border-radius: 999px;
  padding: 5px 16px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-chip);
}
.feature-num {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  background: var(--chip, var(--sun));
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.feature-text h3 { font-size: clamp(22px, 2.8vw, 28px); font-weight: 800; line-height: 1.5; margin-bottom: 14px; }
.feature-text p { color: var(--muted); font-size: 15px; }

/* まねっこデモ */
.mimic-demo {
  background: #fff;
  border-radius: var(--r-stage);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mimic-word { text-align: center; line-height: 1.15; }
.mimic-en { display: block; font-family: var(--font-en); font-weight: 800; font-size: 52px; }
.mimic-ja { font-weight: 700; color: var(--muted); font-size: 14px; }
.mimic-wave { display: flex; align-items: center; gap: 5px; height: 44px; }
.mimic-wave i {
  width: 6px;
  height: 12px;
  background: var(--sky);
  border-radius: 999px;
  animation: wave 1.1s ease-in-out infinite;
}
.mimic-wave i:nth-child(2n) { background: var(--berry); }
.mimic-wave i:nth-child(3n) { background: var(--sun); }
.mimic-wave i:nth-child(1) { animation-delay: 0s; }
.mimic-wave i:nth-child(2) { animation-delay: .08s; }
.mimic-wave i:nth-child(3) { animation-delay: .16s; }
.mimic-wave i:nth-child(4) { animation-delay: .24s; }
.mimic-wave i:nth-child(5) { animation-delay: .32s; }
.mimic-wave i:nth-child(6) { animation-delay: .4s; }
.mimic-wave i:nth-child(7) { animation-delay: .48s; }
.mimic-wave i:nth-child(8) { animation-delay: .56s; }
.mimic-wave i:nth-child(9) { animation-delay: .64s; }
.mimic-wave i:nth-child(10) { animation-delay: .72s; }
.mimic-wave i:nth-child(11) { animation-delay: .8s; }
.mimic-wave i:nth-child(12) { animation-delay: .88s; }
@keyframes wave {
  0%, 100% { height: 10px; }
  50% { height: 40px; }
}
.mimic-mic {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--sunset);
  border: 5px solid var(--cream);
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: var(--shadow-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
.mimic-praise {
  background: var(--cream);
  border-radius: 999px;
  padding: 8px 22px;
  font-weight: 800;
  font-size: 15px;
}

/* ごほうびデモ */
.reward-demo {
  background: #fff;
  border-radius: var(--r-stage);
  padding: 34px 30px;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.reward-points {
  align-self: center;
  background: var(--sunset);
  border-radius: 999px;
  padding: 8px 26px;
  font-weight: 800;
  font-size: 17px;
  box-shadow: var(--shadow-chip);
}
.reward-points strong { font-size: 21px; }
.reward-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border-radius: var(--r-card);
  padding: 18px 20px;
}
.reward-emoji {
  width: 58px; height: 58px;
  background: #fff;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 28px;
  box-shadow: var(--shadow-chip);
  flex: none;
}
.reward-title { display: block; font-weight: 800; font-size: 15px; }
.reward-desc { font-size: 13px; color: var(--muted); font-weight: 700; }
.reward-note { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 動画サンプル ---------- */
.videos {
  position: relative;
  padding: 90px 0;
  background: #EAF6FF;
}
.videos::before, .videos::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 34px;
  background-repeat: repeat-x;
  background-size: 120px 34px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 34"><path d="M0 34 Q30 0 60 17 T120 34 Z" fill="%23EAF6FF"/></svg>');
}
.videos::before { top: -33px; }
.videos::after {
  bottom: -33px;
  transform: scaleY(-1);
  z-index: 1;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 30px;
}
.video-card { margin: 0; }
.video-frame {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .25s;
}
.video-frame:hover { transform: translateY(-5px); }
.video-frame img { width: 100%; aspect-ratio: 864 / 496; object-fit: cover; }
.video-card figcaption { text-align: center; margin-top: 12px; line-height: 1.3; }
.video-en {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 26px;
}
.video-ja { font-size: 13px; font-weight: 700; color: var(--muted); }

.genre-cloud { margin-top: 60px; text-align: center; }
.genre-title { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.genre-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}
.genre-chips li {
  background: var(--chip);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-chip);
  transition: transform .18s;
}
.genre-chips li:hover { transform: scale(1.1) rotate(-2deg); }

/* ---------- キャラクター ---------- */
.characters { padding: 90px 0; }
.char-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.char-card {
  margin: 0;
  background: #fff;
  border-radius: var(--r-card);
  padding: 22px 16px 18px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform .25s;
}
.char-card:hover { transform: translateY(-6px) rotate(1deg); }
.char-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.char-card figcaption { line-height: 1.4; }
.char-card strong { display: block; font-size: 16px; font-weight: 800; }
.char-card span { font-size: 12px; color: var(--muted); font-weight: 700; }

/* ---------- あんしん ---------- */
.safety {
  position: relative;
  padding: 90px 0;
  background: #EFFAF3;
}
.safety::before {
  content: "";
  position: absolute;
  top: -33px; left: 0; right: 0;
  height: 34px;
  background-repeat: repeat-x;
  background-size: 120px 34px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 34"><path d="M0 34 Q30 0 60 17 T120 34 Z" fill="%23EFFAF3"/></svg>');
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.safety-card {
  background: #fff;
  border-radius: var(--r-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
}
.safety-icon {
  grid-row: 1 / 3;
  width: 56px; height: 56px;
  background: var(--cream);
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.safety-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; align-self: center; }
.safety-card p { font-size: 13.5px; color: var(--muted); grid-column: 2; }

/* ---------- FAQ ---------- */
.faq { padding: 90px 0 70px; }
.faq-item {
  background: #fff;
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-chip);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 24px;
  font-weight: 800;
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q. "; color: var(--peach); font-family: var(--font-en); }
.faq-item summary::after {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: transform .25s, background .25s;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--sun);
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- ダウンロード ---------- */
.download { padding: 20px 0 110px; }
.download-card {
  position: relative;
  background: var(--celebration);
  border-radius: var(--r-stage);
  box-shadow: var(--shadow-deep);
  text-align: center;
  padding: 90px 30px 50px;
  margin-top: 60px;
}
.download-chars {
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
}
.download-chars img {
  width: 110px;
  filter: drop-shadow(2.5px 0 0 #fff) drop-shadow(-2.5px 0 0 #fff)
          drop-shadow(0 2.5px 0 #fff) drop-shadow(0 -2.5px 0 #fff)
          drop-shadow(0 12px 14px rgba(59,53,90,.2));
}
.download-chars img:nth-child(1) { transform: rotate(-8deg) translateX(12px); width: 96px; }
.download-chars img:nth-child(3) { transform: rotate(8deg) translateX(-12px); width: 88px; }
.download-card h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin-bottom: 12px; }
.download-card p { font-weight: 700; margin-bottom: 26px; }
.download-card .hero-badges { justify-content: center; }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 40px 0 30px;
}
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 18px;
}
.footer-brand img { width: 36px; height: 36px; object-fit: contain; }
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 18px;
}
.footer-nav a { font-size: 13px; color: inherit; text-decoration: none; opacity: .85; }
.footer-nav a:hover { text-decoration: underline; opacity: 1; }
.footer-link-soon { font-size: 13px; opacity: .65; }
.footer-copy { font-size: 12px; opacity: .5; }

/* ---------- スクロール登場 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 20px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { font-size: 15px; }
  .hero-phone { margin-top: 26px; }
  .hero-char-mon { left: -58px; width: 96px; }
  .hero-char-kanji { right: -54px; width: 84px; }

  .concept-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 26px; }
  .feature-row-rev .feature-media { order: 0; }
  .feature-row-rev .feature-text { order: 1; }
  .video-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .safety-grid { grid-template-columns: 1fr; }
  .char-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sp-only { display: inline; }
}

@media (max-width: 860px) {
  .global-nav { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .brand-name { font-size: 15px; }
  .header-cta { font-size: 13px; padding: 8px 16px; }
  .phone { width: 258px; }
  .store-badge { padding: 8px 14px; }
  .download-chars img { width: 84px; }
  .download-chars img:nth-child(1) { width: 74px; }
  .download-chars img:nth-child(3) { width: 68px; }
}

/* ---------- モーション配慮 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone, .hero-char, .app-mic-btn, .mimic-mic, .mimic-wave i,
  .sparkle, .word-track, .app-stage-view img { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
