/* Compris! LP（Framer で作った案A をそのまま再現したもの） */
:root {
  --ink: #0f172a;
  --sec: #475569;
  --muted: #94a3b8;
  --blue: #0284c7;
  --blue2: #0369a1;
  --sky: #e0f2fe;
  --gold: #f5b000;
  --line: #e2e8f0;
  --app: #f8fafc;
  --red: #ef4444;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --warn-ink: #92400e;
  --ok: #16a34a;
  --jp: 'Noto Sans JP', system-ui, sans-serif;
  --en: 'Plus Jakarta Sans', 'Noto Sans JP', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { font-family: var(--jp); color: var(--ink); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
.nw { display: inline-block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 80px; }
.ph { font-size: 18px; line-height: 1; }
.center { text-align: center; }

/* ロゴ（どのページでも原案の色） */
.logo { font-family: var(--en); font-weight: 800; letter-spacing: -0.02em; color: var(--gold); font-size: 24px; white-space: nowrap; }
.logo span { color: #4ea8de; }

/* ナビ */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; gap: 24px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--sec); transition: color .15s; }
.nav-links a:hover, .nav-links a.current { color: var(--blue); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--sec); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; font-weight: 700; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; border-radius: 10px; font-size: 14px; background: var(--blue); color: #fff; }
.btn-primary { padding: 16px 28px; font-size: 17px; background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(2, 132, 199, .28); }
.btn-primary:hover { background: var(--blue2); }
.btn-ghost { padding: 16px 24px; font-size: 17px; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost .ph { color: var(--blue); font-size: 20px; }
.btn-white { padding: 16px 28px; font-size: 17px; background: #fff; color: var(--blue2); }

/* 見出しまわり */
.kicker { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.h2 { font-size: 40px; font-weight: 800; line-height: 1.4; }
.lead { font-size: 16px; color: var(--sec); line-height: 1.9; }
.blue { color: var(--blue); }
.mark { background: rgba(245, 176, 0, .3); color: var(--blue); font-weight: 900; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, #f0f7ff 0%, #fff 70%); padding-top: 72px; text-align: center; }
.hero h1 { font-size: 60px; font-weight: 800; line-height: 1.3; letter-spacing: -0.01em; }
.hero .sub { margin: 28px auto 0; font-size: 18px; color: var(--sec); line-height: 1.8; }
.ctas { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.pchip { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: 14px; font-weight: 700; }
.pchip b { white-space: nowrap; background: var(--gold); color: #2b1f00; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.shot { border-radius: 16px; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 30px 60px -12px rgba(15, 23, 42, .18), 0 0 0 6px rgba(2, 132, 199, .06); background: #fff; }
.hero .shot { margin: 28px auto 0; max-width: 1040px; }

/* 対応サービス */
.works { padding-top: 72px; padding-bottom: 24px; text-align: center; }
.works p { font-size: 14px; font-weight: 500; color: var(--muted); }
.logos { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 48px; margin-top: 20px; }
.logos span { display: flex; align-items: center; gap: 8px; font-family: var(--en); font-size: 15px; font-weight: 600; color: var(--sec); opacity: .8; }
.logos img { width: 22px; height: 22px; }

/* 料金 */
.pricing { background: var(--app); padding: 96px 0; text-align: center; }
.pricing .h2 { margin-top: 16px; line-height: 1.45; }
.plans { display: flex; align-items: center; gap: 20px; margin-top: 40px; text-align: left; }
.plan { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.plan.hero-plan { border: 2px solid var(--blue); padding: 40px 32px; box-shadow: 0 24px 48px -16px rgba(2, 132, 199, .35); }
.plan-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-name { font-family: var(--en); font-size: 18px; font-weight: 800; color: var(--sec); white-space: nowrap; }
/* 他サービスのカードは、札を名前の上に置く（名前が長いので横に並べない） */
.plan:not(.hero-plan) .plan-h { flex-direction: column-reverse; align-items: flex-start; gap: 10px; }
.pts li { text-wrap: pretty; }
.badge { white-space: nowrap; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 800; background: #f1f5f9; color: var(--sec); }
.badge.gold { background: var(--gold); color: #2b1f00; }
.price { display: flex; align-items: flex-end; gap: 6px; }
.price strong { font-size: 28px; font-weight: 900; color: var(--sec); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-plan .price strong { font-size: 48px; color: var(--ink); }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.pts { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pts li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--sec); }
.pts li .ph { flex: none; margin-top: 2px; color: var(--muted); }
.hero-plan .pts li { color: var(--ink); }
.pts li.ok .ph { color: var(--ok); }
.pts li.warn { background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; color: var(--warn-ink); font-weight: 700; }
.pts li.warn .ph { color: #b45309; }
.note { margin-top: 40px; font-size: 12px; color: var(--muted); line-height: 1.7; }

/* 機能（左右交互） */
.feat-head { padding-top: 96px; text-align: center; }
.feat-head .h2 { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 72px; padding-top: 56px; padding-bottom: 56px; }
.row.flip { flex-direction: row-reverse; }
.row-text { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.pill { align-self: flex-start; background: var(--sky); color: var(--blue2); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.row-text h3 { font-size: 34px; font-weight: 800; line-height: 1.45; }
.panel { width: 520px; flex: none; background: var(--app); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--sec); }
.live { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; border-radius: 999px; padding: 4px 10px; font-family: var(--en); font-size: 11px; font-weight: 800; }
.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.src { font-family: var(--en); font-size: 13px; color: var(--muted); }
.tr { font-size: 17px; font-weight: 600; color: #0c4a6e; line-height: 1.5; }
.langbox { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.langbox-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.langbox-h .ph { color: var(--blue); }
.langbox .chip { background: var(--sky); border: 0; color: var(--blue2); font-size: 13px; padding: 5px 12px; }
.langbox .chip.ja { background: var(--blue); color: #fff; }
.langbox p { font-size: 13px; color: var(--sec); line-height: 1.7; }
.rec { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #fef2f2; color: #dc2626; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }
.rec::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.bubble-me { align-self: flex-end; background: var(--blue); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.ai-h { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #7c3aed; }
.card .body { font-size: 15px; line-height: 1.7; }
.streak { display: flex; align-items: center; gap: 10px; }
.fire { display: inline-flex; align-items: center; gap: 6px; background: var(--warn-bg); color: var(--warn-ink); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.fire .ph { color: #d97706; font-size: 16px; }
.bar { flex: 1; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.bar i { display: block; width: 70%; height: 100%; border-radius: 999px; background: var(--blue); }
.quiz { padding: 20px; gap: 12px; }
.quiz .k { font-size: 12px; font-weight: 600; color: var(--muted); }
.quiz .q { font-size: 19px; font-weight: 800; }
.opt { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--sec); }
.opt.ok { background: #f0fdf4; border-color: #86efac; color: #15803d; }
.opt.ok .ph { color: var(--ok); }
.step-l { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--sec); }
.num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--blue2); font-family: var(--en); font-size: 12px; font-weight: 800; }
.say { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.say .ph { color: var(--blue); }
.say.blue-b { background: var(--blue); border-color: var(--blue); color: #fff; font-family: var(--en); font-weight: 700; }
.say.blue-b .ph { color: #fff; }

/* その他の機能 */
.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; padding-bottom: 96px; }
.more div { display: flex; gap: 14px; align-items: flex-start; background: var(--app); border-radius: 12px; padding: 20px; }
.more .ph { color: var(--blue); font-size: 22px; }
.more b { display: block; font-size: 15px; }
.more p { font-size: 13px; color: var(--sec); line-height: 1.6; margin-top: 4px; }

/* だれのため */
.who { background: var(--app); padding: 96px 0; }
.who .h2 { font-size: 36px; text-align: center; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.who-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.who-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; }
.who-ic { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--sky); color: var(--blue); }
.who-ic.gold { background: var(--warn-bg); color: #d97706; }
.who-ic .ph { font-size: 24px; }
.who-card h3 { font-size: 20px; font-weight: 800; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--sec); }
.checks .ph { color: var(--ok); }

/* 最後の呼びかけ・フッター */
.end { background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%); color: #fff; text-align: center; padding: 80px 0; }
.end h2 { font-size: 40px; font-weight: 800; line-height: 1.4; }
.end p { margin: 24px 0; font-size: 16px; color: var(--sky); }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; color: var(--muted); }
.foot .logo { font-size: 18px; }

/* 使い方のページ */
.how-head { background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%); padding: 72px 0 56px; text-align: center; }
.how-head h1 { font-size: 48px; font-weight: 800; margin-top: 20px; line-height: 1.35; }
.how-head .sub { margin: 20px auto 0; max-width: 640px; font-size: 17px; color: var(--sec); line-height: 1.8; }
.flow { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.flow a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-weight: 700; transition: border-color .15s; }
.flow a:hover { border-color: var(--blue); }
.flow a .ph { color: var(--blue); }
.flow > .ph { color: var(--muted); font-size: 16px; }
.step { padding: 64px 0; }
.step.alt { background: var(--app); }
.step .row { padding-top: 0; padding-bottom: 0; gap: 64px; }
.step .pill { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; }
.step .pill .n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--en); font-size: 12px; font-weight: 800; }
.step h2 { font-size: 32px; font-weight: 800; line-height: 1.45; }
.tips { list-style: none; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.tips li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.tips li .ph { color: var(--blue); flex: none; margin-top: 3px; }
.tips li.warn { background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; border-radius: 10px; padding: 10px 12px; }
.tips li.warn .ph { color: #b45309; }
.step .shot { flex: none; box-shadow: 0 24px 48px -16px rgba(15, 23, 42, .2); border-radius: 14px; }
.keys { width: 520px; flex: none; background: var(--app); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.key { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.key-h { display: flex; align-items: center; gap: 8px; font-family: var(--en); font-size: 16px; font-weight: 800; }
.key-h img, .key-h .ph { width: 20px; height: 20px; font-size: 20px; color: var(--blue); }
.key-h .badge { font-family: var(--jp); font-size: 11px; font-weight: 700; padding: 2px 8px; }
.badge.red { background: #fef2f2; color: #dc2626; }
.badge.sky { background: var(--sky); color: var(--blue2); }
.key .use { font-size: 13px; font-weight: 500; color: var(--sec); }
.key .in { display: flex; align-items: center; gap: 8px; background: var(--app); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.key .in em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); display: flex; align-items: center; gap: 4px; }
.key .no { font-size: 12px; color: var(--muted); }
.import { display: flex; align-items: center; gap: 20px; background: var(--sky); border-radius: 16px; padding: 24px 28px; margin-bottom: 64px; }
.import-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.import-ic .ph { font-size: 24px; }
.import b { font-size: 18px; font-weight: 800; }
.import p { font-size: 14px; color: var(--sec); line-height: 1.7; margin-top: 4px; }
.faq { background: var(--app); padding: 88px 0; }
.faq .h2 { font-size: 36px; text-align: center; margin-top: 14px; }
.faq-list { max-width: 800px; margin: 32px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.faq-item h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.faq-item h3::before { content: 'Q'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sky); color: var(--blue); font-family: var(--en); font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.faq-item p { margin-top: 10px; font-size: 15px; color: var(--sec); line-height: 1.8; }

/* スマホ・タブレット */
@media (max-width: 1000px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  /* メニューは2段目に小さく並べる */
  .nav { flex-wrap: wrap; row-gap: 12px; padding-top: 14px; padding-bottom: 10px; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
  .nav-links a { font-size: 14px; }
  .row { padding-top: 40px; padding-bottom: 40px; }
  .row, .row.flip, .step .row { flex-direction: column; align-items: stretch; gap: 32px; }
  .panel, .keys { width: 100%; }
  .step .shot { width: 100% !important; height: auto !important; }
  .plans { flex-direction: column; align-items: stretch; }
  .more { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav-links { justify-content: space-around; }
  .row { padding-top: 28px; padding-bottom: 28px; gap: 24px !important; }
  .feat-head { padding-bottom: 8px; }
  .step { padding: 44px 0; }
  .lead { font-size: 15px; }
  .plan, .who-card, .faq-item { padding: 22px 20px; }
  .plan.hero-plan { padding: 28px 20px; }
  .plan-name { font-size: 15px; }
  .who-card img { height: 180px; }
  .who-grid, .plans { gap: 14px; }
  .more { padding-bottom: 56px; gap: 10px; }
  .end { padding: 56px 0; }
  .end p { font-size: 14px; }
  .works { padding-top: 48px; }
  .logos { gap: 14px 24px; }
  /* アプリ画面は、字幕の部分を切り出して大きく見せる */
  .shot.crop { aspect-ratio: 4 / 3.4; }
  .shot.crop img { width: 210%; max-width: none; margin-left: -36%; margin-top: -4%; }
  .hero .shot { margin-top: 24px; }
  .how-head { padding: 44px 0 36px; }
  .how-head .sub { font-size: 15px; }
  .lang { padding: 7px 10px; font-size: 13px; }
  .nav-right .btn-sm { padding: 9px 14px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 28px; }
  .pchip { font-size: 13px; text-align: left; }
  .hero .sub { font-size: 15px; }
  .hero .sub br { display: none; }
  .h2, .end h2, .who .h2, .faq .h2 { font-size: 26px; }
  .row-text h3, .step h2 { font-size: 24px; }
  .how-head h1 { font-size: 28px; }
  .pricing, .who, .faq, .feat-head { padding-top: 64px; }
  .pricing, .who, .faq { padding-bottom: 64px; }
  .hero-plan .price strong { font-size: 40px; }
  .panel, .keys { padding: 16px; }
  .say { align-self: stretch; }
  .flow > .ph { display: none; }
  .import { flex-direction: column; align-items: flex-start; }
  .foot { flex-direction: column; text-align: center; }
  .btn-primary, .btn-ghost { width: 100%; }
}

/* ===== アニメーション ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(40px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes pop { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ページを開いたときの見出しまわり */
.hero h1, .hero .sub, .hero .ctas, .hero .pchip, .how-head .kicker, .how-head h1, .how-head .sub, .how-head .flow { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .sub, .how-head h1 { animation-delay: .12s; }
.hero .ctas, .how-head .sub { animation-delay: .24s; }
.hero .pchip, .how-head .flow { animation-delay: .34s; }
.hero .shot { animation: rise 1s .45s cubic-bezier(.2, .7, .2, 1) both; }
.hero h1 .blue { background: linear-gradient(90deg, var(--blue) 0%, #38bdf8 50%, var(--blue) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s 1.2s linear infinite; }

/* スクロールで見えたら表示（JS が動くときだけ隠しておく） */
.js-anim [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js-anim [data-reveal].is-in { opacity: 1; transform: none; }
/* 例の画面の中身は、上から順に出てくる（話した順に字幕が流れる感じ） */
.js-anim .panel[data-reveal] > *, .js-anim .keys[data-reveal] > * { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js-anim .panel[data-reveal].is-in > *, .js-anim .keys[data-reveal].is-in > * { opacity: 1; transform: none; }
.js-anim .panel.is-in > :nth-child(1), .js-anim .keys.is-in > :nth-child(1) { transition-delay: .25s; }
.js-anim .panel.is-in > :nth-child(2), .js-anim .keys.is-in > :nth-child(2) { transition-delay: .5s; }
.js-anim .panel.is-in > :nth-child(3), .js-anim .keys.is-in > :nth-child(3) { transition-delay: .8s; }
.js-anim .panel.is-in > :nth-child(4), .js-anim .keys.is-in > :nth-child(4) { transition-delay: 1.05s; }
.js-anim .panel.is-in > :nth-child(5), .js-anim .keys.is-in > :nth-child(5) { transition-delay: 1.3s; }
.js-anim .panel.is-in > :nth-child(6), .js-anim .keys.is-in > :nth-child(6) { transition-delay: 1.55s; }
/* 連続日数のバーが伸びる・正解がはずむ */
.js-anim .bar i { width: 0; transition: width 1.4s .6s cubic-bezier(.2, .7, .2, 1); }
.js-anim .is-in .bar i { width: 70%; }
.js-anim .is-in .opt.ok { animation: pop .5s 1.4s both; }

/* 録音中・LIVE の点が点滅 */
.live::before, .rec::before { animation: pulse 1.4s ease-in-out infinite; }

/* カードやボタンにカーソルを乗せたとき */
.plan, .who-card, .faq-item, .more div, .key, .flow a, .logos span { transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease; }
.plan:hover, .who-card:hover, .faq-item:hover, .more div:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .25); }
.plan.hero-plan:hover { box-shadow: 0 30px 56px -16px rgba(2, 132, 199, .45); }
.who-card img { transition: transform .6s ease; }
.who-card:hover img { transform: scale(1.03); }
.logos span:hover { opacity: 1; transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(2, 132, 199, .38); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 .blue { color: var(--blue); background: none; }
}

/* 早期割引 */
.pchip s { color: #b08968; font-weight: 500; margin-left: 4px; }
.price-sub { margin-top: 14px; font-size: 17px; font-weight: 600; color: var(--sec); }
.early { display: flex; align-items: center; gap: 10px; margin-bottom: -6px; }
.early s { font-size: 14px; font-weight: 600; color: var(--muted); }
.early .badge { font-size: 12px; }
@media (max-width: 640px) { .price-sub { font-size: 15px; } }

/* 言語の切り替え（🌐 を押すと 日本語・English・Français・简体中文 の一覧が出る） */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; transition: border-color .15s, color .15s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { border-color: var(--blue); color: var(--blue); }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 150px; display: flex; flex-direction: column; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(15, 23, 42, .12); }
.lang-list a { padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--sec); white-space: nowrap; }
.lang-list a:hover { background: var(--sky); color: var(--blue2); }
.lang-list a[aria-current] { color: var(--blue); font-weight: 700; }

/* 英語版・フランス語版：本文は Plus Jakarta Sans を先に使う */
html[lang="en"] body, html[lang="fr"] body { font-family: var(--en); }
html[lang="en"] .hero h1, html[lang="fr"] .hero h1 { font-size: 54px; letter-spacing: -0.02em; }
html[lang="en"] .h2, html[lang="en"] .row-text h3, html[lang="en"] .step h2, html[lang="en"] .end h2, html[lang="en"] .how-head h1,
html[lang="fr"] .h2, html[lang="fr"] .row-text h3, html[lang="fr"] .step h2, html[lang="fr"] .end h2, html[lang="fr"] .how-head h1 { letter-spacing: -0.015em; }
@media (max-width: 640px) {
  html[lang="en"] .hero h1, html[lang="fr"] .hero h1 { font-size: 30px; }
}
/* 中国語版：簡体字のフォント（日本語の字形にならないように） */
html[lang="zh-Hans"] { --jp: 'Noto Sans SC', system-ui, sans-serif; --en: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, sans-serif; }

/* 購入までの流れ・すぐに購入したい方へのリンク（料金の欄） */
.buy-flow { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; font-size: 14px; }
.buy-flow span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-weight: 700; }
.buy-flow b { color: var(--blue); font-family: var(--mono); }
.buy-flow > .ph { color: var(--muted); font-size: 16px; }
.buy-direct { margin-top: 16px; font-size: 13px; color: var(--muted); }
.buy-direct a { color: var(--blue); text-decoration: underline; }

/* フッターのリンク */
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.foot-links a:hover { color: var(--ink); }

/* 規約などのページ */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 16px 80px; }
.legal h1 { font-size: 32px; font-weight: 800; line-height: 1.4; }
.legal .updated { color: var(--muted); font-size: 13px; margin-top: 8px; }
.legal h2 { font-size: 19px; font-weight: 800; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15px; color: var(--sec); line-height: 1.85; }
.legal p + p { margin-top: 8px; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 8px 0; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.75; }
.legal th { width: 30%; background: var(--app); font-weight: 700; }
.legal td { color: var(--sec); }
.draft { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.7; margin-bottom: 28px; }
@media (max-width: 640px) {
  .buy-flow { flex-direction: column; gap: 6px; }
  .buy-flow > .ph { transform: rotate(90deg); }
  .legal h1 { font-size: 26px; }
  .legal th { width: 36%; }
  .legal th, .legal td { padding: 10px; }
}

/* PC の音の欄：音源の表示とロゴ */
.chip.pc-src { display: inline-flex; align-items: center; gap: 6px; background: var(--sky); border: 0; color: var(--blue2); }
.pc-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-logos span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; color: var(--sec); }
.pc-logos img { width: 16px; height: 16px; }

/* データは PC の中に */
.safe { background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%); padding: 88px 0; text-align: center; }
.safe .h2 { margin-top: 16px; line-height: 1.45; }
.safe-sub { max-width: 680px; margin: 20px auto 0; font-size: 16px; color: var(--sec); line-height: 1.9; }
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; text-align: left; }
.safe-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.safe-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, .25); }
.safe-card .ph { font-size: 28px; color: var(--blue); }
.safe-card b { font-size: 17px; }
.safe-card p { font-size: 14px; color: var(--sec); line-height: 1.75; }
.safe-note { margin-top: 24px; font-size: 13px; color: var(--muted); }
.safe-note a { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) {
  .safe { padding: 64px 0; }
  .safe-grid { grid-template-columns: 1fr; }
}
