/* ==========================================================================
   まねーぼ — 日本語LP (/lp)
   Mobile-first. Breakpoints: 375 (base) → 768 (tablet) → 1024 (desktop)
   ========================================================================== */

:root {
  --cyan: #42b8c3;
  --cyan-dark: #2f97a2;
  --cyan-deep: #1f7883;
  --cyan-50: #effbfa;
  --cyan-100: #d7f9f7;
  --cyan-200: #c9f4f1;
  --pink: #ff8888;
  --pink-dark: #ff6b6b;
  --pink-50: #fff1f1;
  --ink: #1f2d30;
  --muted: #5d6f72;
  --line: #e3eeee;
  --star: #ffc933;
  --white: #fff;
  --shadow-sm: 0 2px 10px rgba(31, 120, 131, .08);
  --shadow-md: 0 14px 36px rgba(31, 120, 131, .14);
  --shadow-lg: 0 30px 70px rgba(31, 120, 131, .22);
  --radius: 20px;
  --radius-lg: 30px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, "Segoe UI", Roboto, sans-serif;
  --font-head: "M PLUS Rounded 1c", var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.bg-soft { background: var(--cyan-50); }
.bg-cyan { background: linear-gradient(180deg, var(--cyan-100), var(--cyan-200)); }

h1, h2, h3, .kicker, .stat b, .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: .01em;
}
h2 { font-size: 24px; line-height: 1.4; }
h3 { font-size: 18px; line-height: 1.5; }
.hl {
  background: linear-gradient(transparent 62%, rgba(66,184,195,.32) 62%);
  padding: 0 .05em;
}
.center { text-align: center; }
.sp { display: inline; }
.pc { display: none; }
.scroll-hint { display: block; text-align: center; font-size: 12px; color: var(--muted); font-weight: 700; margin: -14px 0 12px; }

/* ---------- Buttons & store badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--cyan); color: #fff; box-shadow: 0 10px 24px rgba(66,184,195,.35); }
.btn-primary:hover { background: var(--cyan-dark); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 10px 24px rgba(255,136,136,.35); }
.btn-pink:hover { background: var(--pink-dark); }
.btn-ghost { background: #fff; color: var(--cyan-deep); border: 2px solid var(--cyan-200); }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badges.center { justify-content: center; }
.store-badges img { height: 52px; width: auto; }
.store-badges a { transition: transform .15s ease; }
.store-badges a:hover { transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 26px; width: auto; }
.brand .icon { width: 30px; height: 30px; border-radius: 9px; }
.brand span { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--cyan-deep); letter-spacing: -.01em; }
.site-footer a.brand { display: inline-flex; padding: 0; }
.site-footer .brand span { color: #fff; }
.cta-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.cta-brand .icon { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow-md); }
.cta-brand span { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: #fff; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--ink); font-weight: 700; font-size: 14px; }
.nav a:hover { color: var(--cyan-deep); text-decoration: none; }
.header-cta { padding: 11px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 44px 0 0;
  background: radial-gradient(900px 500px at 10% -10%, var(--cyan-100) 0%, transparent 60%),
              radial-gradient(700px 400px at 100% 10%, #fff2f2 0%, transparent 55%),
              #fff;
}
.hero-grid { display: grid; gap: 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--cyan-deep);
  border: 1.5px solid var(--cyan-200);
  padding: 7px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: 32px; line-height: 1.35; margin: 18px 0 14px;
  color: var(--ink);
}
.hero-sub { color: var(--muted); font-size: 15.5px; margin-bottom: 24px; }
.hero-sub strong { color: var(--ink); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 700; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .stars { color: var(--star); letter-spacing: -1px; font-size: 14px; }
.trust b { color: var(--ink); }

.hero-media { position: relative; margin: 0 auto; max-width: 420px; }
.phone-panel {
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cyan);
}
.phone-panel img { width: 100%; }
.float-card {
  position: absolute; z-index: 2;
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; line-height: 1.3;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic { font-size: 20px; }
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; }
.float-card.a { left: -8px; top: 34%; }
.float-card.b { right: -8px; top: 58%; animation-delay: -2.5s; }
.float-card .amt { color: var(--cyan-deep); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Stats strip ---------- */
.stats { background: var(--cyan); color: #fff; padding: 26px 0; }
.stats .container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 30px; line-height: 1.1; }
.stat b small { font-size: 15px; margin-left: 2px; }
.stat span { display: block; font-size: 12px; opacity: .92; font-weight: 700; margin-top: 4px; }

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 740px; margin: 0 auto 36px; }
.kicker {
  display: inline-block; color: var(--cyan-dark); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 15px; }

/* ---------- Problems ---------- */
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.problem {
  background: #fff; border-radius: var(--radius); padding: 22px 14px 18px;
  text-align: center; box-shadow: var(--shadow-sm);
  position: relative;
}
.problem img { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 12px; }
.problem p { font-weight: 700; font-size: 13px; line-height: 1.6; color: var(--ink); }
.solve {
  margin: 34px auto 0; text-align: center;
}
.solve .arrow {
  width: 0; height: 0; margin: 0 auto 14px;
  border-left: 22px solid transparent; border-right: 22px solid transparent;
  border-top: 18px solid var(--cyan);
}
.solve p { font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--cyan-deep); line-height: 1.5; }
.solve p img { display: inline-block; height: 30px; vertical-align: -6px; margin: 0 4px; }

/* ---------- Feature rows (zig-zag) ---------- */
.feature-row { display: grid; gap: 22px; align-items: center; margin-top: 44px; }
.feature-row:first-of-type { margin-top: 0; }
.feature-media {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--cyan);
  max-width: 420px; margin: 0 auto; width: 100%;
  aspect-ratio: 720 / 980;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature-copy .num {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: .12em;
  color: var(--pink-dark); margin-bottom: 10px;
}
.feature-copy .num::before { content: ""; width: 26px; height: 3px; background: var(--pink); border-radius: 2px; }
.feature-copy h3 { font-size: 23px; margin-bottom: 12px; }
.feature-copy p { color: var(--muted); font-size: 15px; }
.feature-copy ul { margin-top: 14px; display: grid; gap: 8px; }
.feature-copy li { display: flex; gap: 8px; font-size: 14px; font-weight: 700; }
.feature-copy li::before { content: "✓"; color: var(--cyan); font-weight: 900; flex: none; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cyan-100); font-size: 24px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

.mini-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.mini {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.mini .shot { aspect-ratio: 4 / 3.6; overflow: hidden; background: var(--cyan); }
.mini .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mini .body { padding: 14px 14px 16px; }
.mini h3 { font-size: 14px; margin-bottom: 4px; }
.mini p { color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 22px 24px; box-shadow: var(--shadow-sm); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--cyan); color: #fff; font-size: 18px; margin-bottom: 12px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }
.step .note { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; }

/* ---------- Compare table ---------- */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px 6px; }
.compare table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: 14px 12px; text-align: center; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.compare th { background: #f6fbfb; font-weight: 800; color: var(--muted); font-size: 12.5px; }
.compare td:first-child, .compare th:first-child { text-align: left; font-weight: 700; min-width: 180px; }
.compare tr:last-child td { border-bottom: 0; }
.compare .manebo { background: var(--cyan-50); color: var(--cyan-deep); font-weight: 800; }
.compare th.manebo { background: var(--cyan); color: #fff; font-size: 14px; }
.compare .yes { color: var(--cyan); font-weight: 900; font-size: 18px; }
.compare .no { color: #c9d3d4; font-weight: 900; font-size: 18px; }
.compare .tri { color: #f0a640; font-weight: 900; font-size: 16px; }
.compare-note { margin-top: 12px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 16px; }
.plan {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 24px;
  border: 2px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
}
.plan.featured { border-color: var(--cyan); box-shadow: var(--shadow-md); }
.plan .badge {
  position: absolute; top: -14px; left: 24px;
  background: var(--pink); color: #fff; font-weight: 800; font-size: 12px;
  padding: 5px 12px; border-radius: 999px;
}
.plan h3 { font-size: 18px; color: var(--cyan-deep); }
.plan .price { font-family: var(--font-head); font-weight: 800; font-size: 38px; line-height: 1.1; margin: 8px 0 4px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.plan .sub { color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.plan ul { display: grid; gap: 8px; }
.plan li { display: flex; gap: 8px; font-size: 14px; }
.plan li::before { content: "✓"; color: var(--cyan); font-weight: 900; flex: none; }
.plan .btn { width: 100%; margin-top: 20px; }

/* ---------- Reviews ---------- */
.rating-summary {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px;
  margin-bottom: 28px; font-weight: 700; color: var(--muted); font-size: 14px;
}
.rating-summary .big { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--ink); line-height: 1; }
.rating-summary .stars { color: var(--star); font-size: 22px; letter-spacing: 1px; }
.reviews { display: grid; gap: 16px; }
.review { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review .head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review .head img { width: 42px; height: 42px; border-radius: 50%; }
.review .stars { color: var(--star); font-size: 14px; letter-spacing: 1px; }
.review .who { font-size: 12px; color: var(--muted); font-weight: 700; }
.review h3 { font-size: 15px; margin-bottom: 6px; }
.review p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 800; font-size: 15px;
  position: relative; line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--cyan); font-family: var(--font-head); margin-right: 10px; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--cyan-100); color: var(--cyan-deep);
  display: grid; place-items: center; font-weight: 900; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; transform: translateY(-50%); }
.faq .ans { padding: 0 20px 20px 20px; color: var(--muted); font-size: 14.5px; }
.faq .ans::before { content: "A."; color: var(--pink-dark); font-weight: 800; margin-right: 6px; }

/* ---------- Final CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: #fff; text-align: center; padding: 72px 0; position: relative; overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta::before { width: 320px; height: 320px; left: -120px; top: -120px; }
.cta::after { width: 420px; height: 420px; right: -160px; bottom: -200px; }
.cta .container { position: relative; z-index: 1; }
.cta .logo { max-width: 240px; margin: 0 auto 18px; }
.cta h2 { font-size: 24px; margin-bottom: 12px; }
.cta p { opacity: .95; margin-bottom: 26px; font-size: 15px; }
.cta .store-badges img { height: 56px; }
.cta .fine { font-size: 12px; opacity: .85; margin: 18px 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: #163c41; color: #d8e8ea; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 14px; }
.site-footer a { color: #d8e8ea; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .brand img { height: 26px; }
.site-footer .desc { color: #a9c6c9; max-width: 340px; margin-top: 12px; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: 12px; color: #a9c6c9; text-align: center; }
.footer-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin-bottom: 12px; }
.footer-langs a { display: inline; padding: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ========== Tablet (768px+) ========== */
@media (min-width: 768px) {
  section { padding: 84px 0; }
  h2 { font-size: 32px; }
  .nav { display: flex; }
  .sp { display: none; }
  .pc { display: inline; }
  .scroll-hint { display: none; }
  .header-cta { padding: 12px 22px; }
  .hero { padding: 64px 0 0; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .stats .container { grid-template-columns: repeat(4, 1fr); }
  .stat b { font-size: 36px; }
  .problems { grid-template-columns: repeat(4, 1fr); }
  .problem img { width: 96px; height: 96px; }
  .problem p { font-size: 14px; }
  .feature-row { grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 72px; }
  .feature-row.rev .feature-media { order: 2; }
  .feature-copy h3 { font-size: 28px; }
  .mini-feats { grid-template-columns: repeat(4, 1fr); }
  .cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: 1fr 1fr; max-width: 860px; margin: 0 auto; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cta h2 { font-size: 34px; }
  .solve p { font-size: 26px; }
  .solve p img { height: 38px; vertical-align: -8px; }
}

/* ========== Desktop (1024px+) ========== */
@media (min-width: 1024px) {
  .hero { padding: 80px 0 0; }
  .hero-grid { grid-template-columns: 1.12fr .88fr; align-items: end; gap: 40px; }
  .hero-copy { padding-bottom: 72px; }
  .hero h1 { font-size: 40px; }
  .hero-media { max-width: 460px; margin: 0 0 0 auto; }
  .float-card { font-size: 13.5px; }
  .float-card.a { left: -56px; }
  .float-card.b { right: -56px; }
  .feature-row { gap: 72px; }
  .feature-media { max-width: 440px; }
  .feature-copy { max-width: 460px; }
  .feature-row.rev .feature-copy { justify-self: end; }
  .review p { font-size: 14px; }
}

/* ---------- Guides (localized pages) ---------- */
.guide-grid { display: grid; gap: 16px; }
.guide-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
}
.guide-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); }
.guide-card .tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--cyan-deep); background: var(--cyan-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.guide-card h3 { font-size: 17px; margin-bottom: 8px; }
.guide-card p { color: var(--muted); font-size: 14px; }
.guide-card .more { display: inline-block; margin-top: 12px; color: var(--cyan-deep); font-weight: 700; font-size: 14px; }
.mt-24 { margin-top: 24px; }
@media (min-width: 768px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Latin-script tuning ---------- */
.latin h1, .latin h2, .latin h3, .latin .stat b, .latin .step-num { letter-spacing: -0.01em; }
.latin .hero h1 { font-size: 28px; line-height: 1.2; }
.latin h2 { font-size: 24px; line-height: 1.25; }
.latin .feature-copy h3 { font-size: 22px; }
.latin .solve p { font-size: 19px; }
.latin .problem p { font-size: 13px; }
@media (min-width: 768px) {
  .latin .hero h1 { font-size: 38px; }
  .latin h2 { font-size: 31px; }
  .latin .feature-copy h3 { font-size: 27px; }
  .latin .solve p { font-size: 24px; }
}
@media (min-width: 1024px) { .latin .hero h1 { font-size: 40px; } }
