:root {
  --bg: #f7f5ee;
  --fg: #16183d;
  --muted: #5b5f7a;
  --navy: #16183d;
  --blue: #4b4ce6;
  --sky: #5fb4ff;
  --yellow: #ffc83d;
  --card: #ffffff;
  --line: #e6e2d6;
  --stripe: repeating-linear-gradient(135deg, var(--yellow) 0 10px, var(--sky) 10px 20px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1030;
    --fg: #f1efe8;
    --muted: #a9acc8;
    --card: #191b45;
    --line: #2a2d5c;
    --blue: #8f90ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Zen Maru Gothic", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-weight: 500;
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--blue); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* ヒーロー */
.hero {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 12px;
  background: var(--stripe);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; grid-column: 1 / -1; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand .soon {
  margin-left: auto; font-size: 12px; font-weight: 700;
  border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 2px 12px;
}
.catch {
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.catch .en { color: var(--sky); }
.catch .mz { color: var(--yellow); }
.lead { font-size: 17px; color: #d9dbf2; margin: 0 0 28px; max-width: 30em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pills li {
  background: rgba(255,255,255,.1);
  border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700;
}

/* 端末の枠 */
.phone {
  justify-self: center;
  width: min(100%, 340px);
  background: #000;
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 2px #2c2f66;
  transform: rotate(2deg);
}
.phone video { width: 100%; border-radius: 28px; background: #eee; aspect-ratio: 4 / 5; object-fit: cover; }
.phone-note { text-align: center; color: #b9bce0; font-size: 13px; margin-top: 18px; }

/* しくみ */
section { padding: 64px 0 8px; }
h2 {
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif;
  font-weight: 900; font-size: 28px; line-height: 1.4; margin: 0 0 24px;
}
h2 .mark { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 2px; }
@media (prefers-color-scheme: dark) { h2 .mark { background: linear-gradient(transparent 62%, rgba(255,200,61,.45) 62%); } }
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.bubble {
  background: var(--card); border-radius: 22px; padding: 20px 22px;
  box-shadow: 0 2px 0 var(--line);
  font-size: 18px; font-weight: 700;
}
.bubble small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 4px; letter-spacing: .08em; }
.bubble.en { color: var(--blue); border: 2px solid var(--blue); }
.arrow { font-size: 28px; color: var(--muted); font-weight: 900; }
.flow-note { color: var(--muted); margin-top: 16px; }

/* 特長 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border-radius: 22px; padding: 22px; box-shadow: 0 2px 0 var(--line); }
.card .num {
  display: inline-block; width: 36px; height: 36px; border-radius: 50%;
  background: var(--stripe); margin-bottom: 10px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* 会話の話 */
.eps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ep { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: 0 2px 0 var(--line); }
.ep video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #eee; }
.ep p { margin: 0; padding: 12px 16px 14px; font-weight: 700; font-size: 15px; }
.ep p span { color: var(--muted); font-size: 12px; display: block; }
.cast { margin-top: 20px; color: var(--muted); }

/* 問い合わせ */
.contact {
  margin-top: 64px; background: var(--navy); color: #fff; border-radius: 28px;
  padding: 32px 28px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center;
}
.contact h2 { color: #fff; margin: 0; font-size: 22px; }
.contact a.btn {
  display: inline-block; background: var(--yellow); color: var(--navy); text-decoration: none;
  font-weight: 900; border-radius: 999px; padding: 10px 22px;
}
.contact a.btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }

footer { color: var(--muted); font-size: 13px; padding: 40px 0 56px; }
footer a { color: var(--muted); }

/* 文書ページ（プライバシーポリシー） */
.doc { max-width: 680px; margin: 0 auto; padding: 32px 16px 64px; }
.doc h1 { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 900; font-size: 30px; margin: 8px 0 16px; }
.doc h2 { font-size: 19px; margin: 36px 0 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.doc dt { font-weight: 900; color: var(--blue); margin-top: 16px; }
.doc dd { margin: 4px 0 0 1.2em; }
.doc nav { font-size: 14px; display: flex; align-items: center; gap: 8px; }
.doc nav img { width: 28px; height: 28px; border-radius: 7px; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-bottom: 56px; }
  .phone { transform: none; width: min(100%, 320px); }
  .flow { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); justify-self: center; line-height: 1; }
  .cards, .eps { grid-template-columns: 1fr; }
  .eps { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .ep { scroll-snap-align: start; }
  section { padding-top: 48px; }
}

/* まぜ方の見本 */
.demo { background: var(--card); border-radius: 22px; padding: 20px; box-shadow: 0 2px 0 var(--line); margin-top: 20px; }
.ratio { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.ratio span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; }
.ratio button {
  font: inherit; font-weight: 900; font-size: 14px; cursor: pointer;
  border: 2px solid var(--line); background: transparent; color: var(--fg);
  border-radius: 999px; padding: 2px 14px;
}
.ratio button.on { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
@media (prefers-color-scheme: dark) { .ratio button.on { background: var(--yellow); border-color: var(--yellow); color: var(--navy); } }
.script { list-style: none; margin: 0; padding: 0; }
.script li { display: grid; grid-template-columns: 3.4em 1fr; gap: 8px; padding: 5px 0; }
.script .who { color: var(--muted); font-size: 13px; font-weight: 700; text-align: right; padding-top: 3px; }
.script .say { font-weight: 700; }
.script .e { color: var(--blue); }
.script .j { color: var(--muted); }
.demo-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.demo-note .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); margin-right: 6px; }
