:root {
  --bg: #fff8ec;
  --ink: #3b2f2a;
  --soft: #7a6a60;
  --green: #23913f;
  --green-d: #17692c;
  --orange: #ffb02e;
  --orange-d: #d98a00;
  --card: #ffffff;
  --edge: #f0e2c8;
  --sky: #e8f6ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
  /* Japanese lines break only between phrases: tools/phrase_breaks.py puts <wbr> between them.
     overflow-wrap lets a phrase that is wider than its box break anyway. line-break: strict keeps
     small kana and closing punctuation off the start of a line. */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
/* text-wrap-style only (the text-wrap shorthand would also undo white-space: nowrap) */
h1, h2, h3, .badge, .btn, .store-note, figcaption, .cta { text-wrap-style: balance; }
p, li, dd, td, th { text-wrap-style: pretty; }
img { max-width: 100%; display: block; }
a { color: var(--green-d); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--soft); }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 248, 236, 0.94); border-bottom: 1px solid var(--edge); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.25rem; white-space: nowrap; color: var(--ink); text-decoration: none; }
.top nav a { margin-left: 18px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.top nav a:hover { color: var(--green); }

/* hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); padding: 56px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.badge { display: inline-block; background: var(--orange); color: #fff; font-weight: 900; padding: 4px 14px; border-radius: 999px; margin: 0 0 12px; }
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.4; margin: 0 0 16px; font-weight: 900; }
.hl { color: var(--green); }
.nb { display: inline-block; }
.lead { font-size: 1.08rem; color: var(--soft); margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 900; text-decoration: none; font-size: 1.02rem; }
.btn-main { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-d); }
.btn-main:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--green-d); }
.btn-sub { background: #fff; color: var(--ink); border: 2px solid var(--edge); }
.store-note { color: var(--soft); font-size: 0.9rem; margin-top: 14px; }
/* App Store badge (official artwork from Apple, do not change its colors or shape) + QR code for PC */
.cta-row { align-items: center; }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; }
.store-badge img { display: block; height: 56px; width: auto; }
.store-badge:hover { transform: translateY(1px); }
.store-badge-big img { height: 64px; }
.store-qr { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .store-qr { display: flex; align-items: center; gap: 14px; width: fit-content; margin-top: 16px; padding: 8px 18px 8px 8px; background: #fff; border: 2px solid var(--edge); border-radius: 16px; text-align: left; }
  .store-qr img { display: block; width: 96px; height: 96px; }
  .store-qr p { margin: 0; font-size: 0.9rem; font-weight: 700; line-height: 1.6; }
  .price-cta .store-qr { margin: 16px auto 8px; }
}
.hero-phones { position: relative; height: 580px; }
.phone { position: absolute; width: 200px; filter: drop-shadow(0 18px 24px rgba(59, 47, 42, 0.28)); }
.p1 { left: 8%; top: 0; transform: rotate(-4deg); }
.p2 { left: 58%; top: 150px; transform: rotate(4deg); z-index: 2; }
/* iPad behind the iPhone (2026-12-01) */
.tablet { position: absolute; left: 0; top: 0; width: 360px; transform: rotate(-3deg); filter: drop-shadow(0 18px 24px rgba(59, 47, 42, 0.25)); }

/* sections */
.sec { padding: 64px 0; }
.sec.alt { background: #fff3db; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin: 0 0 28px; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; padding: 20px; box-shadow: 0 4px 12px rgba(59, 47, 42, 0.06); }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--green-d); }
.card p { margin: 0; font-size: 0.95rem; color: var(--soft); }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.shots figure { margin: 0; text-align: center; }
.shots img { border-radius: 22px; border: 6px solid #2b2b2b; margin: 0 auto 10px; max-height: 520px; width: auto; }
.shots figcaption { font-weight: 700; }

.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; }
.two h2 { text-align: left; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px dashed var(--edge); font-weight: 700; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; text-align: center; line-height: 26px; font-size: 0.9rem; }
.mascot-big { width: 260px; margin: 0 auto; }

/* price */
.prices { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 24px 0; }
.price-card { position: relative; width: 300px; background: #fff; border: 3px solid var(--edge); border-radius: 26px; padding: 24px; text-align: center; }
.price-card.best { border-color: var(--orange); }
.price-card h3 { margin: 0; font-size: 1.3rem; }
.kids { margin: 0; color: var(--soft); font-weight: 700; }
.yen { font-size: 3rem; font-weight: 900; margin: 6px 0 0; color: var(--green-d); line-height: 1.2; }
.yen span { font-size: 1.1rem; margin-left: 4px; }
.once { margin: 4px 0 0; font-weight: 700; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-weight: 900; padding: 2px 14px; border-radius: 999px; margin: 0; font-size: 0.85rem; white-space: nowrap; }
.coupon { max-width: 640px; margin: 8px auto 32px; background: #f1faf2; border: 2px dashed var(--green); border-radius: 20px; padding: 16px 20px; }
.coupon h3 { margin: 0 0 4px; color: var(--green-d); }
.coupon p { margin: 0; }
.coupon .coupon-cta { margin-top: 12px; text-align: center; }
h3.sub { text-align: center; margin: 0 0 12px; }
.regular { margin: 0 auto 12px; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; min-width: 320px; }
.regular th, .regular td { padding: 12px 18px; border-bottom: 1px solid var(--edge); text-align: right; }
.regular tbody th { text-align: left; font-weight: 700; }
.regular thead th { background: #fff3db; }

/* faq */
details { background: #fff; border: 2px solid var(--edge); border-radius: 16px; padding: 14px 18px; margin: 0 auto 10px; max-width: 760px; }
summary { cursor: pointer; font-weight: 900; }
details p { margin: 8px 0 0; color: var(--soft); }

.notify { background: linear-gradient(180deg, var(--bg), var(--sky)); }

.foot { background: var(--ink); color: #fff; padding: 22px 0; }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.foot p { margin: 0; }
.foot a { color: #fff; margin-left: 16px; font-size: 0.9rem; }

@media (max-width: 860px) {
  .top nav { display: none; }
  .hero-in, .two { grid-template-columns: 1fr; }
  .hero-phones { height: 470px; max-width: 520px; margin: 0 auto; width: 100%; }
  .phone { width: 165px; }
  .tablet { width: 300px; left: 4%; }
  .p2 { left: 58%; top: 120px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .two h2 { text-align: center; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .phone { width: 120px; }
  .tablet { width: 225px; left: 2%; }
  .p2 { left: 60%; top: 95px; }
  .hero-phones { height: 360px; }
}

/* ===== detailed page (2026-11-28) ===== */
.top nav a.nav-cta { background: var(--green); color: #fff; padding: 6px 14px; border-radius: 999px; }
.numbers { list-style: none; padding: 0; margin: 28px 0 6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.numbers li { background: #fff; border: 2px solid var(--edge); border-radius: 18px; padding: 14px 10px; text-align: center; }
.numbers b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--green-d); line-height: 1.3; }
.numbers small { font-size: 0.9rem; margin-left: 2px; }
.numbers span { font-size: 0.85rem; color: var(--soft); font-weight: 700; }
.note-small { font-size: 0.78rem; color: var(--soft); text-align: right; margin: 0; }
.movie { max-width: 880px; margin: 0 auto 8px; border-radius: 22px; overflow: hidden; border: 6px solid #2b2b2b; box-shadow: 0 18px 40px rgba(59, 47, 42, 0.2); background: #000; }
.movie video { display: block; width: 100%; height: auto; }
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 960px; margin: 0 auto; }
.worries p { margin: 0; background: #fff; border-radius: 18px; padding: 16px 18px 16px 48px; position: relative; border: 2px solid var(--edge); }
.worries p::before { content: "?"; position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; text-align: center; line-height: 24px; font-size: 0.9rem; }
.answer { text-align: center; font-weight: 900; font-size: 1.15rem; color: var(--green-d); margin: 26px 0 0; }
.feat { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; align-items: center; padding: 34px 0; border-bottom: 2px dashed var(--edge); }
.feat:last-child { border-bottom: 0; }
.feat.rev .feat-text { order: 2; }
.feat.rev .feat-shot { order: 1; }
.feat-no { margin: 0; font-weight: 900; font-size: 2.2rem; color: var(--orange); line-height: 1; }
.feat h3 { font-size: 1.45rem; margin: 6px 0 12px; line-height: 1.45; }
.feat p { margin: 0 0 12px; }
.feat-shot { width: 100%; max-width: 310px; justify-self: center; filter: drop-shadow(0 14px 20px rgba(59, 47, 42, 0.2)); }
.dots { margin: 0 0 12px; padding-left: 1.2em; }
.dots li { margin: 6px 0; }
.mini { border-collapse: collapse; width: 100%; margin: 6px 0 10px; background: #fff; border-radius: 14px; overflow: hidden; }
.mini th, .mini td { padding: 8px 12px; border-bottom: 1px solid var(--edge); text-align: left; font-size: 0.95rem; }
.mini th { width: 7.5em; color: var(--green-d); white-space: nowrap; }
.vid-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 12px; }
.vid-row figure { margin: 0; }
.vid-row img { border-radius: 12px; border: 2px solid var(--edge); }
.vid-row figcaption { font-size: 0.85rem; font-weight: 700; text-align: center; margin-top: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0; }
.pcard { background: #fff; border: 2px solid var(--edge); border-radius: 22px; padding: 16px; }
.pcard img { width: 100%; height: 260px; object-fit: cover; object-position: top; border-radius: 14px; border: 2px solid var(--edge); }
.pcard h3 { margin: 12px 0 4px; font-size: 1.1rem; color: var(--green-d); }
.pcard p { margin: 0; font-size: 0.95rem; color: var(--soft); }
.checks.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.arcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0; }
.arcs > div { background: #fff; border: 2px solid var(--edge); border-radius: 22px; padding: 18px; }
.arcs .arcs-l { margin: 0; font-size: 1.6rem; color: #fff; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; font-size: 1.6rem; text-align: center; line-height: 52px; }
.arcs h3 { margin: 10px 0 6px; font-size: 1.05rem; }
.arcs p { margin: 0; font-size: 0.93rem; color: var(--soft); }
.science-more { background: #f1faf2; border-radius: 22px; padding: 20px 24px; }
.science-more h3 { margin: 0 0 8px; }
.flow { list-style: none; padding: 0; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; max-width: 1000px; }
.flow li { counter-increment: step; background: #fff; border: 2px solid var(--edge); border-radius: 20px; padding: 18px 16px; position: relative; }
.flow li::before { content: counter(step); display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; text-align: center; line-height: 34px; margin-bottom: 8px; }
.flow b { display: block; }
.flow span { font-size: 0.9rem; color: var(--soft); }
.compare { margin: 0 auto 26px; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; max-width: 900px; width: 100%; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--edge); text-align: left; font-size: 0.95rem; vertical-align: top; }
.compare thead th { background: #fff3db; }
.compare td:nth-child(2) { background: #f1faf2; font-weight: 700; }
.mascot-mid { width: 150px; margin: 0 auto 6px; }
@media (max-width: 860px) {
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .worries, .pgrid { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; gap: 18px; }
  .feat.rev .feat-text, .feat.rev .feat-shot { order: 0; }
  .feat-shot { max-width: 240px; }
  .checks.two-col { grid-template-columns: 1fr; }
  .arcs, .flow { grid-template-columns: 1fr 1fr; }
  .compare th, .compare td { font-size: 0.85rem; padding: 10px 8px; }
}
@media (max-width: 520px) {
  .arcs, .flow { grid-template-columns: 1fr; }
  .numbers b { font-size: 1.4rem; }
}
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 14px; }
.trio img { filter: drop-shadow(0 6px 10px rgba(59, 47, 42, 0.18)); }
.trio figure { margin: 0; text-align: center; }
.trio figcaption { font-size: 0.85rem; font-weight: 700; margin-top: 4px; }
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.lessons figure { position: relative; margin: 0; background: #fff; border: 2px solid var(--edge); border-radius: 18px; padding: 10px; scroll-margin-top: 90px; }
#lessons { scroll-margin-top: 70px; }
/* direct link #v-<id> (lessons.js): the opened video stands out */
.lessons figure.is-target { border-color: var(--orange); box-shadow: 0 0 0 5px rgba(255, 176, 46, 0.35), 0 10px 26px rgba(217, 138, 0, 0.18); }
.lessons .unmute { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); padding: 12px 22px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; box-shadow: 0 6px 16px rgba(23, 105, 44, 0.35); cursor: pointer; }
.lessons .unmute:hover { background: var(--green-d); }
.lessons video { width: 100%; border-radius: 12px; background: #000; display: block; aspect-ratio: 16 / 9; }
.lessons figcaption { font-size: 0.9rem; margin-top: 8px; color: var(--soft); }
.lessons figcaption b { display: block; color: var(--ink); }
@media (max-width: 860px) { .lessons { grid-template-columns: 1fr; } }
.bonus { background: #fff6e0; border: 2px dashed var(--orange); border-radius: 18px; padding: 14px 18px; margin: 4px 0 14px; }
.bonus p { margin: 0 0 8px; }
.bonus-tag { display: inline-block; background: var(--orange); color: #fff; font-weight: 900; font-size: 0.85rem; padding: 2px 12px; border-radius: 999px; }
.perk { margin: 8px 0 0; font-size: 0.9rem; color: var(--green-d); font-weight: 700; }
.price-card .kids { font-size: 0.95rem; }
.otoku { max-width: 760px; margin: 0 auto 26px; background: #f1faf2; border: 2px solid var(--green); border-radius: 20px; padding: 16px 20px; }
.otoku h3 { margin: 0 0 6px; color: var(--green-d); }
.otoku p { margin: 0; }

/* legal pages (privacy, terms, tokushoho) */
.doc-body { max-width: 820px; padding-top: 24px; padding-bottom: 60px; }
.doc-body h1 { font-size: 1.8rem; margin: 18px 0 12px; }
.doc-body h2 { font-size: 1.2rem; text-align: left; margin: 28px 0 8px; color: var(--green-d); }
.doc-body h3 { font-size: 1.02rem; margin: 14px 0 4px; }
.doc-body li { margin: 4px 0; }
.draft { background: #fdecec; border: 2px solid #e5a3a3; color: #9b1c1c; border-radius: 14px; padding: 10px 14px; font-weight: 700; }
.doc-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; }
.doc-table th, .doc-table td { padding: 12px 14px; border-bottom: 1px solid var(--edge); text-align: left; vertical-align: top; }
.doc-table th { width: 11em; background: #fff3db; }
.doc-date { margin-top: 30px; color: var(--soft); }

/* 料金（リリース記念価格） */
.launch-sec { background: linear-gradient(180deg, #ffe7b8 0%, #fff3db 260px, var(--bg) 100%); }
.kicker { display: table; margin: 0 auto 10px; background: var(--orange); color: #fff; font-weight: 900; padding: 4px 16px; border-radius: 999px; font-size: 0.95rem; }
.price-h { font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.45; }
.lead { font-size: 1.05rem; margin: 0 auto 22px; max-width: 820px; }
.launch-band { max-width: 860px; margin: 0 auto 30px; background: #fff; border: 3px solid var(--orange); border-radius: 28px; padding: 22px 24px 18px; box-shadow: 0 8px 0 #f3d9a6; text-align: center; }
.lb-now { margin: 0 0 12px; font-weight: 700; }
.lb-now b { color: var(--orange-d); font-size: 1.15rem; }
.lb-calc { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.lb-reg, .lb-launch { border-radius: 20px; padding: 14px 18px; }
.lb-reg { background: #f7f2ea; color: var(--soft); }
.lb-launch { background: #f1faf2; border: 2px solid var(--green); min-width: 220px; }
.lb-cap { margin: 0; font-size: 0.9rem; font-weight: 700; }
.lb-math { margin: 4px 0 0; font-size: 1.05rem; }
.lb-math b { font-size: 1.4rem; color: var(--ink); }
.lb-arrow { margin: 0; color: var(--orange); font-size: 1.6rem; }
.lb-big { margin: 0; font-size: 3.2rem; font-weight: 900; color: var(--green-d); line-height: 1.15; }
.lb-big span { font-size: 1.2rem; margin-left: 4px; }
.lb-once { margin: 0; font-weight: 700; color: var(--green-d); }
.lb-msg { margin: 16px 0 0; font-size: 1.25rem; font-weight: 700; }
.lb-msg b { background: linear-gradient(transparent 62%, #ffe08a 62%); }
.worth { margin: 8px 0 0; font-size: 0.92rem; color: var(--soft); }
.worth b { color: var(--ink); }
.pc-list { list-style: none; padding: 14px 0 0; margin: 14px 0 0; text-align: left; font-size: 0.93rem; border-top: 1px dashed var(--edge); }
.pc-list li { position: relative; padding-left: 28px; margin: 7px 0; }
.pc-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; text-align: center; line-height: 20px; font-size: 0.75rem; font-weight: 900; }
.launch-sec .price-card { width: 330px; box-shadow: 0 6px 0 var(--edge); }
.launch-sec .price-card.best { box-shadow: 0 6px 0 #f3d9a6; }
.price-cta { text-align: center; margin: 8px auto 10px; max-width: 700px; }
.price-cta p { margin: 0 0 14px; font-weight: 700; }
.btn-big { font-size: 1.15rem; padding: 16px 34px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 960px; margin: 0 auto 30px; }
.vg { background: #fff; border: 2px solid var(--edge); border-radius: 20px; padding: 16px 18px; }
.vg-num { margin: 0; font-size: 1.35rem; font-weight: 900; color: var(--green-d); line-height: 1.3; }
.vg-num span { font-size: 0.9rem; margin-left: 2px; }
.vg-t { margin: 6px 0 0; font-size: 0.92rem; }
.freecomp { margin: 0 auto 30px; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; max-width: 860px; width: 100%; }
.freecomp th, .freecomp td { padding: 11px 14px; border-bottom: 1px solid var(--edge); text-align: left; font-size: 0.95rem; vertical-align: top; }
.freecomp thead th { background: #fff3db; }
.freecomp td:nth-child(2) { color: var(--soft); }
.freecomp td:nth-child(3) { background: #f1faf2; font-weight: 700; }
.launch-sec.short .lb-calc, .launch-sec.short .lb-msg, .launch-sec.short .worth { display: none; }
@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
  .lb-arrow { transform: rotate(90deg); }
  .launch-sec .price-card { width: 100%; }
}
@media (max-width: 460px) {
  .value-grid { grid-template-columns: 1fr; }
}
.price-sec h3.sub, .launch-sec h3.sub { margin-top: 34px; }
.freecomp tbody th { white-space: nowrap; width: 7.5em; }
.lb-math b { white-space: nowrap; }
@media (max-width: 760px) {
  .lb-calc { flex-direction: column; gap: 6px; }
  .lb-arrow { transform: none; line-height: 1; }
  .lb-arrow::before { content: "▼"; }
  .lb-arrow { font-size: 0; }
  .lb-arrow::before { font-size: 1.4rem; }
  .lb-now b { display: block; }
  .launch-band { padding: 18px 14px 16px; }
  .lb-reg, .lb-launch { width: 100%; }
  .lb-msg { font-size: 1.1rem; }
  .vg { padding: 12px 16px; }
}
.lb-sub { font-size: 0.95rem; font-weight: 700; color: var(--soft); }

a.badge { text-decoration: none; }
a.badge:hover { background: var(--orange-d); }

/* 料金プラン（無料・スタンダード・ファミリー） */
.plans { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 18px; max-width: 1040px; margin: 26px auto 14px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 3px solid var(--green); border-radius: 26px; padding: 24px 20px 20px; box-shadow: 0 6px 0 #cfe8d4; }
.plan.best { border-color: var(--orange); box-shadow: 0 6px 0 #f3d9a6; }
.plan.free { background: #faf6ef; border: 2px dashed #d9c9ad; box-shadow: none; }
.plan h3 { margin: 0; font-size: 1.3rem; text-align: center; }
.plan-for { margin: 2px 0 0; text-align: center; font-size: 0.9rem; color: var(--soft); font-weight: 700; }
.plan-yen { margin: 10px 0 0; text-align: center; font-size: 2.7rem; font-weight: 900; color: var(--green-d); line-height: 1.15; }
.plan.free .plan-yen { color: var(--soft); }
.plan-yen small { font-size: 1rem; margin-right: 6px; color: var(--ink); }
.plan-yen span { font-size: 1.1rem; margin-left: 3px; }
.plan-yen-sub { margin: 2px 0 0; text-align: center; font-size: 0.9rem; font-weight: 700; color: var(--orange-d); min-height: 1.5em; }
.plan-dev { margin: 10px 0 0; text-align: center; font-size: 0.9rem; background: #f1faf2; border-radius: 999px; padding: 4px 10px; font-weight: 700; }
.plan.free .plan-dev { background: #f1ebe0; }
.plan-list { list-style: none; padding: 14px 0 0; margin: 14px 0 0; border-top: 1px dashed var(--edge); font-size: 0.92rem; }
.plan-list li { position: relative; padding-left: 28px; margin: 8px 0; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; text-align: center; line-height: 20px; font-size: 0.75rem; font-weight: 900; }
.plan-list li.lim { color: var(--soft); }
.plan-list li.lim::before { content: "・"; background: #e7dccb; color: var(--soft); }
.plan-list li.no { color: #b3a594; text-decoration: line-through; }
.plan-list li.no::before { content: "−"; background: #efe7da; color: #b3a594; }
.plan-list b { color: var(--green-d); }
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto 30px; }
.bf { background: #fff; border: 2px solid var(--edge); border-radius: 20px; padding: 16px 16px 14px; }
.bf p { margin: 0; font-size: 0.9rem; }
.bf .bf-h { display: inline-block; background: #f1faf2; color: var(--green-d); font-weight: 900; font-size: 0.8rem; border-radius: 999px; padding: 1px 10px; }
.bf .bf-big { margin: 6px 0 6px; font-size: 1.25rem; font-weight: 900; color: var(--green-d); line-height: 1.3; }
.prep { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 960px; margin: 0 auto 26px; }
.prep-step { position: relative; background: #fff; border: 2px solid #f3d9a6; border-radius: 20px; padding: 18px 16px 14px 16px; }
.prep-no { position: absolute; top: -14px; left: 16px; margin: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 900; text-align: center; line-height: 30px; }
.prep-step h3 { margin: 4px 0 4px; font-size: 1.05rem; }
.prep-step p { margin: 0; font-size: 0.92rem; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .prep { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 460px) {
  .benefits { grid-template-columns: 1fr; }
}
.plan.free { order: 3; }
.nw { white-space: nowrap; display: inline-block; }

/* ===== menu for narrow screens (2026-12-01): the top links are hidden below 860 px ===== */
.menu { display: none; position: relative; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; flex-shrink: 0; }
.menu > summary { list-style: none; cursor: pointer; display: flex; white-space: nowrap; align-items: center; gap: 10px; font-weight: 800; font-size: 0.95rem; padding: 8px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--edge); color: var(--ink); }
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; display: grid; gap: 2px; padding: 8px; background: #fff; border: 2px solid var(--edge); border-radius: 20px; box-shadow: 0 14px 30px rgba(59, 47, 42, 0.2); }
.menu-panel a { display: block; white-space: nowrap; padding: 13px 16px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 700; }
.menu-panel a:hover, .menu-panel a:active { background: #fff3db; }
.menu-panel a.menu-cta { margin-top: 4px; background: var(--green); color: #fff; text-align: center; }
@media (max-width: 860px) { .menu { display: block; } }

/* Phones: tables would squeeze Japanese into 2-3 characters per line. Put the row label on its own line. */
@media (max-width: 640px) {
  .mini th, .mini td { display: block; width: auto; }
  .mini th { padding: 10px 12px 0; border-bottom: none; white-space: normal; }
  .mini td { padding: 2px 12px 10px; }
  .compare, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare thead th:first-child { display: none; }
  .compare tbody th { grid-column: 1 / -1; background: #fffaf0; color: var(--green-d); padding: 10px 10px 4px; border-bottom: none; }
  .compare th, .compare td { font-size: 0.85rem; padding: 6px 10px 10px; }
}

/* ===== 使い方ガイド (guide.html) ===== */
.guide { max-width: 980px; }
.guide-lead { font-size: 1.05rem; }
.guide-toc { background: #fff; border: 2px solid var(--edge); border-radius: 18px; padding: 14px 20px; margin: 18px 0 8px; }
.guide-toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; }
.guide-toc li { margin: 4px 0; break-inside: avoid; }
.guide-toc a { color: var(--green-d); font-weight: 700; text-decoration: none; }
.guide-toc a:hover { text-decoration: underline; }
.guide-note { color: var(--soft); font-size: 0.9rem; }
.guide section { scroll-margin-top: 80px; padding-top: 6px; }
.guide h2 { border-bottom: 3px solid var(--edge); padding-bottom: 6px; margin-top: 40px; }
.guide h3 { margin-top: 22px; }
.guide-tip { background: #fff3db; border-left: 6px solid var(--orange); border-radius: 12px; padding: 10px 14px; }
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px 18px; margin: 14px 0 6px; }
.step { margin: 0; }
.step img { display: block; width: 100%; max-width: 270px; height: auto; margin: 0 auto; border: 6px solid #2f2622; border-radius: 28px; background: #fff; box-shadow: 0 8px 20px rgba(59, 47, 42, 0.16); }
.step figcaption { margin-top: 10px; font-size: 0.93rem; line-height: 1.6; }
.step figcaption b { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 6px; border-radius: 50%; background: var(--green); color: #fff; font-size: 0.85rem; vertical-align: 0.05em; }
.pair { display: grid; grid-template-columns: minmax(180px, 270px) 1fr; gap: 24px; align-items: start; margin: 14px 0; }
.pair ul, .pair ol { margin-top: 0; }
.guide-price th small { font-weight: 400; color: var(--soft); }
.guide-price th { width: 15em; }
.guide .faq details { max-width: none; }
@media (max-width: 640px) {
  .guide-toc ol { columns: 1; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .step img { border-width: 4px; border-radius: 20px; }
  .step figcaption { font-size: 0.88rem; }
  .pair { grid-template-columns: 1fr; }
  .pair > .step { max-width: 240px; margin: 0 auto; }
  .guide-price th { width: auto; }
}

/* ===== Android waitlist form (#notify) ===== */
.notify-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 18px auto 12px;
}
.notify-form input[type="email"] {
  flex: 1 1 260px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 2px solid var(--edge);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
}
.notify-form input[type="email"]:focus {
  outline: none;
  border-color: var(--green);
}
.notify-form button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.notify-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.notify-msg {
  display: none;
  max-width: 520px;
  margin: 10px auto 12px;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}
.notify-msg.is-open { display: block; }
.notify-msg.is-ok { background: #e8f8ed; border: 2px solid #86efac; color: #166534; }
.notify-msg.is-err { background: #fdecec; border: 2px solid #fca5a5; color: #991b1b; }
