:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --accent: #0284c7;
  --accent-dark: #0369a1;
  --cta: #ea580c;
  --cta-dark: #c2410c;
  --ok: #059669;
  --warn: #d97706;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg); color: var(--ink); line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }
header.top {
  background: #0f172a; color: #fff; padding: 12px 0; border-bottom: 3px solid var(--accent);
}
header.top .nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
header.top .brand { font-weight: 800; font-size: 17px; color: #fff; letter-spacing: 0.01em; display: flex; align-items: center; gap: 8px; }
header.top .links a { color: #cbd5e1; font-size: 13px; margin-left: 14px; font-weight: 600; }
.pr-bar { background: #f1f5f9; border-bottom: 1px solid var(--line); font-size: 11.5px; color: #64748b; text-align: center; padding: 4px 10px; }
.hero { padding: 28px 0 18px; text-align: center; }
.hero h1 { margin: 0 0 8px; font-size: clamp(22px, 4vw, 31px); line-height: 1.3; }
.hero p.sub { margin: 0 auto; max-width: 680px; color: var(--muted); font-size: 14.5px; }
.dropzone {
  margin: 20px auto 12px; background: var(--card); border: 2px dashed #94a3b8; border-radius: 14px;
  padding: 28px 20px; text-align: center; cursor: pointer; transition: all .15s ease;
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: #f0f9ff; }
.dropzone .icon { font-size: 36px; margin-bottom: 6px; }
.dropzone .dz-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.dropzone .dz-sub { font-size: 13px; color: var(--muted); }
.privacy-pill {
  display: inline-block; margin-top: 10px; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0;
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
}
.demos { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 22px; font-size: 12.5px; align-items: center; }
.demos button {
  background: #fff; border: 1px solid #cbd5e1; border-radius: 999px; padding: 5px 12px;
  font-size: 12.5px; cursor: pointer; color: var(--ink); font-weight: 600;
}
.demos button:hover { border-color: var(--accent); color: var(--accent); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px;
  margin-bottom: 18px; box-shadow: 0 2px 10px rgba(15,23,42,0.03);
}
.res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 12px; }
.stat-box { background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.stat-val { font-size: 26px; font-weight: 800; margin-top: 2px; color: var(--ink); }
.stat-note { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.meter { height: 10px; background: #e2e8f0; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.meter > div { height: 100%; background: var(--ok); transition: width .3s ease; }
.offer-list { display: grid; gap: 12px; margin-top: 14px; }
.offer {
  border: 1px solid #fed7aa; background: #fffbeb; border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.offer .o-badge { display: inline-block; background: #fef3c7; color: #92400e; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 4px; }
.offer .o-name { font-weight: 800; font-size: 16px; color: var(--ink); }
.offer .o-pitch { font-size: 13px; color: var(--muted); margin-top: 2px; }
.btn-cta {
  display: inline-block; background: var(--cta); color: #fff !important; font-weight: 800; font-size: 14px;
  padding: 11px 18px; border-radius: 8px; text-decoration: none !important; white-space: nowrap;
  box-shadow: 0 2px 6px rgba(234,88,12,0.25);
}
.btn-cta:hover { background: var(--cta-dark); }
.btn-sec {
  display: inline-block; background: #0f172a; color: #fff !important; font-weight: 700; font-size: 13.5px;
  padding: 9px 15px; border-radius: 8px; text-decoration: none !important;
}
.btn-outline {
  display: inline-block; background: #fff; color: var(--ink) !important; border: 1px solid #cbd5e1;
  font-weight: 600; font-size: 13px; padding: 7px 13px; border-radius: 7px; text-decoration: none !important;
}
.search-input {
  width: 100%; padding: 11px 14px; font-size: 15px; border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 12px;
}
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.model-item {
  display: block; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: #fff;
  color: var(--ink); transition: border-color .12s;
}
.model-item:hover { border-color: var(--accent); text-decoration: none; }
.model-item .m-brand { font-size: 11px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; }
.model-item .m-name { font-size: 13.5px; font-weight: 700; margin: 2px 0 4px; line-height: 1.35; }
.model-item .m-price { font-size: 12.5px; color: var(--ok); font-weight: 700; }
table.tier-tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 10px; }
table.tier-tbl th, table.tier-tbl td { border-bottom: 1px solid var(--line); padding: 9px 8px; text-align: left; }
table.tier-tbl th { background: #f8fafc; font-size: 12px; color: var(--muted); }
.guide-note { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; padding: 12px 14px; border-radius: 8px; font-size: 13.5px; margin-top: 12px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 36px; margin-top: 32px; font-size: 12.5px; color: var(--muted); text-align: center; }
