:root {
  --navy: #14295f;
  --navy-2: #0c1d47;
  --blue: #2563b8;
  --sky: #e8f1fb;
  --sky-2: #d3e5f7;
  --teal: #0e8d8a;
  --red: #e5322d;
  --coral: #ff5a52;
  --gold: #ffd166;
  --ink: #1c2433;
  --muted: #566074;
  --line: #d6e0ee;
  --bg: #ffffff;
  --card: #ffffff;
  --ok: #1f9d6b;
  --improve: #2f78d4;
  --caution: #e8a317;
  --danger: #d63a2f;
  --warn-bg: #fff6e0;
  --warn-line: #e6b94d;
  --radius: 16px;
  --max: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ===== header ===== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; }
.brand span { color: var(--red); font-weight: 700; font-size: 15px; }
.nav { display: flex; align-items: center; }
.nav a {
  margin-left: 18px;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover { color: var(--navy); }
.nav a.nav-cta {
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
}
.nav a.nav-cta:hover { background: var(--red); color: #fff; }

/* ===== buttons ===== */
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid var(--navy);
}
.btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.cta {
  background: linear-gradient(180deg, #ff6a62, var(--red));
  border-color: var(--red);
  font-size: 18px;
  padding: 16px 36px;
  box-shadow: 0 10px 24px rgba(229, 50, 45, 0.35);
}
.btn.cta:hover { transform: translateY(-2px); background: var(--red); }
.btn.ghost-w { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn.ghost-w:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; color: #fff; }
.btn[aria-disabled="true"] { opacity: 0.85; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ===== hero ===== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(80, 150, 230, 0.55) 0%, rgba(80, 150, 230, 0) 45%),
    radial-gradient(circle at 10% 90%, rgba(14, 141, 138, 0.35) 0%, rgba(14, 141, 138, 0) 40%),
    linear-gradient(135deg, var(--navy-2) 0%, var(--navy) 55%, #1d4a96 100%);
  color: #fff;
  padding: 64px 0 150px;
  overflow: hidden;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(27px, 3.6vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.hero h1 em {
  white-space: nowrap;
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(255, 90, 82, 0.85) 62%);
  padding: 0 4px;
}
.hero .product {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 22px;
}
.hero .product img { width: 34px; height: 34px; animation: beat 1.6s ease-in-out infinite; }
.hero .product span { color: var(--gold); }
.statement {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 26px;
}
.price-tag { font-weight: 800; font-size: 17px; }
.price-tag b { font-size: 34px; color: var(--gold); }
.hero .note { font-size: 13px; opacity: 0.85; margin: 16px 0 0; }

.hero-art { position: relative; padding: 0 0 18px; }
.hero-art > img {
  border-radius: 20px;
  border: 6px solid #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
}
.float {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  animation: bob 4.2s ease-in-out infinite;
  white-space: nowrap;
}
.float.f1 { left: -22px; top: 14%; border-left: 6px solid var(--ok); }
.float.f2 { right: -14px; top: 40%; border-left: 6px solid var(--danger); animation-delay: -1.4s; }
.float.f3 { left: 6%; bottom: -6px; border-left: 6px solid var(--caution); animation-delay: -2.6s; }
.badge-score {
  position: absolute;
  right: 4%;
  bottom: -26px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: #fff;
  border: 7px solid var(--improve);
  color: var(--navy);
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  animation: bob 5s ease-in-out infinite;
  animation-delay: -0.8s;
}
.badge-score b { display: block; font-size: 42px; line-height: 1.05; margin-top: 18px; }
.badge-score small { display: block; font-size: 12px; font-weight: 800; color: var(--improve); }
.art-note { position: absolute; left: 0; bottom: -22px; font-size: 11px; opacity: 0.75; }

.hero .wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; width: 100%; height: 90px; }
.hero .ecg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 70px;
  z-index: 1;
  width: 100%;
  height: 70px;
  opacity: 0.35;
}

/* ===== ecg lines ===== */
.ecg path {
  fill: none;
  stroke: #7fd4d1;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: draw 4s linear infinite;
}

/* ===== stats ===== */
.stats { margin-top: -86px; position: relative; z-index: 3; padding: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(20, 41, 95, 0.12);
}
.stat .num { font-size: 38px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat .num small { font-size: 16px; color: var(--muted); font-weight: 700; margin-left: 2px; }
.stat .lbl { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat.hot .num { color: var(--red); }

/* ===== sections ===== */
section { padding: 72px 0; }
section.alt { background: #f4f8fd; }
section.stats { padding: 0; background: transparent; }
.eyebrow {
  display: inline-block;
  color: var(--teal);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.eyebrow::before { content: "● "; color: var(--coral); }
h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  margin: 0 0 8px;
  color: var(--navy);
  line-height: 1.4;
}
p.sub { color: var(--muted); margin: 0 0 32px; }
h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }

.split { display: grid; grid-template-columns: 1fr 260px; gap: 36px; align-items: center; }
.split.rev { grid-template-columns: 300px 1fr; }

/* ===== check cards ===== */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 6px 18px rgba(20, 41, 95, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 41, 95, 0.14); }
.ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: var(--sky);
}
.ico svg { width: 28px; height: 28px; }
.ico svg * { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico.teal { background: #dff3f2; } .ico.teal svg * { stroke: var(--teal); }
.ico.red { background: #ffe6e4; } .ico.red svg * { stroke: var(--red); }
.ico.gold { background: #fff0cc; } .ico.gold svg * { stroke: #b27800; }
.cat p { margin: 0; color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
  background: var(--sky-2);
  color: var(--navy);
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 700;
}
.score-line { margin: 26px 0 0; font-size: 20px; font-weight: 800; color: var(--navy); }
.score-line b { color: var(--red); font-size: 28px; }

.figure { position: relative; text-align: center; }
.figure img { margin: 0 auto; max-height: 360px; width: auto; filter: drop-shadow(0 14px 18px rgba(20, 41, 95, 0.18)); }
.bubble {
  position: relative;
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.5;
  padding: 10px 16px;
  border-radius: 14px;
  margin-bottom: 14px;
  animation: bob 4s ease-in-out infinite;
}
.bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  margin-left: -9px;
  border: 9px solid transparent;
  border-top-color: var(--navy);
  border-bottom: 0;
}
.bubble.coral { background: var(--coral); }
.bubble.coral::after { border-top-color: var(--coral); }

/* ===== score meter ===== */
.meter { display: flex; height: 26px; border-radius: 999px; overflow: hidden; box-shadow: inset 0 0 0 2px #fff, 0 6px 16px rgba(20, 41, 95, 0.15); }
.meter span:nth-child(1) { width: 40%; background: var(--danger); }
.meter span:nth-child(2) { width: 20%; background: var(--caution); }
.meter span:nth-child(3) { width: 20%; background: var(--improve); }
.meter span:nth-child(4) { width: 20%; background: var(--ok); }
.meter-ticks { display: flex; position: relative; font-size: 12px; color: var(--muted); margin: 6px 0 22px; font-weight: 700; }
.meter-ticks span { flex: none; }
.meter-ticks .t0 { width: 40%; }
.meter-ticks .t1 { width: 20%; }
.meter-ticks .t2 { width: 20%; }
.meter-ticks .t3 { width: 20%; }

.bands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.band {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 8px solid var(--ok);
  border-radius: 12px;
  padding: 12px 16px 14px;
}
.band .pt { display: block; font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.3; }
.band .lv { font-weight: 800; font-size: 15px; }
.band p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.band.ok { border-top-color: var(--ok); } .band.ok .lv { color: var(--ok); }
.band.improve { border-top-color: var(--improve); } .band.improve .lv { color: var(--improve); }
.band.caution { border-top-color: var(--caution); } .band.caution .lv { color: #b27800; }
.band.danger { border-top-color: var(--danger); } .band.danger .lv { color: var(--danger); }

/* ===== report ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tab {
  background: #fff;
  border: 2px solid var(--blue);
  color: var(--navy);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 10px 10px 0 0;
}
.report-shot { margin: 0 0 28px; position: relative; }
.report-shot img {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 41, 95, 0.22);
}
.report-shot figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== flow ===== */
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 47px;
  bottom: -15px;
  height: 14px;
  border-left: 3px dotted var(--blue);
}
.step-no {
  width: 56px;
  height: 56px;
  background: linear-gradient(160deg, var(--blue), var(--navy));
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== price ===== */
.price-sec {
  background:
    radial-gradient(circle at 15% 20%, rgba(80, 150, 230, 0.4), rgba(80, 150, 230, 0) 45%),
    linear-gradient(135deg, var(--navy-2), var(--navy));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.price-sec h2 { color: #fff; }
.price-sec p.sub { color: #c9d6ef; }
.price-box {
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 32px 26px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}
.price-box .heart { width: 64px; height: 64px; margin: -64px auto 10px; animation: beat 1.6s ease-in-out infinite; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.25)); }
.price-box .label { color: var(--blue); font-weight: 800; margin: 0; }
.price-box .amount { font-size: 64px; font-weight: 800; color: var(--navy); line-height: 1.15; }
.price-box .amount small { font-size: 17px; font-weight: 600; color: var(--muted); }
.price-box ul { text-align: left; padding-left: 20px; color: var(--muted); font-size: 15px; }
.small-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* ===== caution / faq ===== */
.caution-box {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 6px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.caution-box h3 { color: #6b4b00; }
.caution-box ul { margin: 8px 0 0; padding-left: 20px; }

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; color: var(--navy); }
details p { margin: 10px 0 0; color: var(--muted); }

/* ===== legal pages ===== */
.doc { padding: 48px 0 64px; }
.doc .wrap { max-width: 860px; }
.doc h1 { font-size: 28px; color: var(--navy); margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 20px; margin-top: 32px; }
.doc table { width: 100%; border-collapse: collapse; background: #fff; }
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.doc th { width: 30%; background: var(--sky); color: var(--navy); }
.todo { background: #ffe9a8; padding: 0 4px; border-radius: 3px; font-weight: 700; color: #4a3500; }

/* ===== footer ===== */
.site-footer {
  background: var(--navy);
  color: #c9d6ef;
  padding: 36px 0;
  font-size: 14px;
}
.site-footer a { color: #fff; margin-right: 18px; }
.site-footer p { margin: 10px 0 0; }
.site-footer .todo { color: #4a3500; }

/* ===== animation ===== */
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes draw { 0% { stroke-dashoffset: 1400; } 60%, 100% { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .ecg path { stroke-dashoffset: 0; }
}

/* ===== responsive ===== */
@media (max-width: 860px) {
  .hero { padding: 44px 0 170px; }
  .hero-art { margin-bottom: 24px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 34px; }
  .float.f1 { left: -6px; }
  .float.f2 { right: -4px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev { grid-template-columns: 1fr; }
  .figure img { max-height: 260px; }
  .cat-grid { grid-template-columns: 1fr; }
  .bands { grid-template-columns: 1fr 1fr; }
  .split.rev .figure { order: -1; }
}
@media (max-width: 560px) {
  .nav a:not(.nav-cta) { display: none; }
  section { padding: 52px 0; }
  .float { font-size: 12px; padding: 6px 10px; }
  .badge-score { width: 100px; height: 100px; }
  .badge-score b { font-size: 34px; margin-top: 14px; }
  .bands { grid-template-columns: 1fr; }
  .doc th, .doc td { display: block; width: 100%; }
}

/* QR */
.qr-sec { padding: 28px 0; background: #fff; }
.qr-box { display: flex; align-items: center; justify-content: center; gap: 20px; }
.qr-box img { border: 1px solid #dbe5f3; border-radius: 8px; padding: 4px; background: #fff; }
.qr-box h3 { margin: 0 0 6px; }
.qr-box p { margin: 0; }
@media (max-width: 700px) { .qr-sec { display: none; } }
