/* ─── GOOGLE FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ─── TOKENS ─── */
:root {
  --c-bg:       #030712;
  --c-bg1:      #08101f;
  --c-bg2:      #0d1529;
  --c-bg3:      #111d38;
  --c-blue:     #2563eb;
  --c-elec:     #00d4ff;
  --c-elec-a:   rgba(0,212,255,0.12);
  --c-elec-b:   rgba(0,212,255,0.06);
  --c-white:    #ffffff;
  --c-g200:     #e2e8f0;
  --c-g300:     #94a3b8;
  --c-g400:     #64748b;
  --c-g500:     #475569;
  --c-ok:       #10b981;
  --c-gold:     #fbbf24;
  --c-gold-a:   rgba(251,191,36,0.12);

  --f-head: 'Syne', sans-serif;
  --f-body: 'DM Sans', sans-serif;
  --f-num:  'JetBrains Mono', monospace;  /* 数字専用 */

  --r1: 6px; --r2: 12px; --r3: 20px; --r4: 28px;
  --border: 1px solid rgba(255,255,255,0.08);
  --border-e: 1px solid rgba(0,212,255,0.22);
  --border-g: 1px solid rgba(251,191,36,0.22);
  --shadow-e: 0 0 32px rgba(0,212,255,0.10);
  --w: 1120px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--c-bg); color: var(--c-white);
  line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--f-body); }

/* ─── TYPE ─── */
h1,h2,h3,h4 {
  font-family: var(--f-head);
  line-height: 1.2; letter-spacing: -0.02em; color: var(--c-white);
}
/* Mobile-first sizes */
h1 { font-size: 2rem; font-weight: 800; }
h2 { font-size: 1.6rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p  { color: var(--c-g300); line-height: 1.75; font-size: 0.9375rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
  h2 { font-size: 2.6rem; }
}

/* 数字・統計値は必ずJetBrains Monoを使う */
.n { font-family: var(--f-num) !important; letter-spacing: -0.04em; }

/* ─── LAYOUT ─── */
.wrap  { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.sec   { padding: 64px 0; }
.sec-s { padding: 48px 0; }
@media (min-width: 768px) {
  .sec   { padding: 96px 0; }
  .sec-s { padding: 64px 0; }
}
@media (min-width: 1024px) { .sec { padding: 120px 0; } }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(3,7,18,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border);
  transition: background 0.3s;
}
.nav-in {
  max-width: var(--w); margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
@media (min-width: 768px) {
  .nav-in { height: 68px; padding: 0 32px; }
}
.nav-logo {
  font-family: var(--f-head); font-size: 1.2rem; font-weight: 800;
  letter-spacing: -0.03em; flex-shrink: 0;
}
.nav-logo span { color: var(--c-elec); }
.nav-links { display: none; align-items: center; gap: 28px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--c-g300); transition: color 0.2s; }
.nav-links a:hover { color: var(--c-white); }
.nav-cta {
  background: var(--c-elec) !important; color: var(--c-bg) !important;
  padding: 9px 18px; border-radius: var(--r1);
  font-weight: 700 !important; font-size: 0.8125rem !important;
  transition: opacity 0.2s !important; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88 !important; }
/* hamburger */
.hbg { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin: -8px; }
.hbg span { display: block; width: 22px; height: 2px; background: var(--c-white); border-radius: 2px; transition: all 0.28s; }
@media (min-width: 900px) { .hbg { display: none; } }
/* mobile drawer */
.drawer {
  display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  z-index: 899; background: var(--c-bg1);
  padding: 28px 20px; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
@media (min-width: 768px) { .drawer { top: 68px; } }
.drawer.open { display: flex; }
.drawer a {
  font-size: 1rem; font-weight: 500; color: var(--c-g300);
  padding: 14px 0; border-bottom: var(--border); transition: color 0.2s;
}
.drawer a:hover { color: var(--c-elec); }
.drawer .d-cta { margin-top: 16px; }

/* ─── BUTTON ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r1);
  font-family: var(--f-body); font-size: 0.9375rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.22s; white-space: nowrap;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.btn-p  { background: var(--c-elec); color: var(--c-bg); box-shadow: 0 0 20px rgba(0,212,255,0.25); }
.btn-p:hover  { opacity: 0.9; transform: translateY(-1px); }
.btn-s  { background: transparent; color: var(--c-white); border: 1px solid rgba(255,255,255,0.2); }
.btn-s:hover  { border-color: var(--c-elec); color: var(--c-elec); }
.btn-oe { background: transparent; color: var(--c-elec); border: var(--border-e); }
.btn-oe:hover { background: var(--c-elec); color: var(--c-bg); }
.btn-g  { background: var(--c-gold); color: var(--c-bg); font-weight: 700; }
.btn-g:hover  { opacity: 0.9; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--r2); }
.btn-sm { padding: 9px 18px; font-size: 0.8125rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── CARD ─── */
.card {
  background: var(--c-bg2); border: var(--border); border-radius: var(--r3);
  padding: 24px; transition: border-color 0.3s, transform 0.3s;
}
@media (min-width: 768px) { .card { padding: 32px; } }
.card:hover { border-color: rgba(0,212,255,0.18); transform: translateY(-2px); }
.card-feat { background: linear-gradient(135deg, var(--c-bg3), #1a2a4a); border: var(--border-e); box-shadow: var(--shadow-e); }
.card-gold { background: linear-gradient(135deg,rgba(16,12,3,0.99),rgba(26,20,5,0.99)); border: var(--border-g); }

/* ─── TAG ─── */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--f-num); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  background: var(--c-elec-a); color: var(--c-elec); border: var(--border-e);
}
.tag-ok   { background: rgba(16,185,129,0.1); color: var(--c-ok); border: 1px solid rgba(16,185,129,0.22); }
.tag-gold { background: var(--c-gold-a); color: var(--c-gold); border: var(--border-g); }

/* ─── SECTION HEADER ─── */
.sh { text-align: center; margin-bottom: 48px; }
.sh .tag { margin-bottom: 14px; }
.sh h2  { margin-bottom: 12px; }
.sh p   { max-width: 520px; margin: 0 auto; }
@media (min-width: 768px) { .sh { margin-bottom: 60px; } }

/* ─── GRID ─── */
.g2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.g3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px)  { .g2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px)  { .g3 { grid-template-columns: repeat(3,1fr); gap: 20px; } }

/* ─── STAT ─── */
.stat-n { font-size: 2.4rem; font-weight: 500; color: var(--c-elec); line-height: 1; }
.stat-l { font-size: 0.78rem; color: var(--c-g400); margin-top: 5px; }
@media (min-width: 768px) { .stat-n { font-size: 2.8rem; } }

/* ─── BULLET (心理トリガー) ─── */
.bullet {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--r2);
  background: rgba(0,212,255,0.04); border: 1px solid rgba(0,212,255,0.1);
  transition: border-color 0.2s;
}
.bullet:hover { border-color: rgba(0,212,255,0.24); }
.bi { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.bt { font-size: 0.875rem; color: var(--c-g200); line-height: 1.55; }
.bt strong { color: var(--c-white); }
.bt em { font-style: normal; color: var(--c-elec); }

/* ─── ACCORDION ─── */
.acc { border: var(--border); border-radius: var(--r2); margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s; }
.acc.open { border-color: rgba(0,212,255,0.22); }
.acc-h {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer; background: var(--c-bg2);
  font-size: 0.9rem; font-weight: 500; transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.acc-h:hover { background: var(--c-bg3); }
.acc-ic {
  width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--c-g400); transition: transform 0.3s, border-color 0.3s;
}
.acc.open .acc-ic { transform: rotate(45deg); border-color: var(--c-elec); color: var(--c-elec); }
.acc-b { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; background: var(--c-bg1); }
.acc-bi { padding: 0 22px 20px; color: var(--c-g300); font-size: 0.9rem; line-height: 1.75; }

/* ─── PROCESS ─── */
.proc { display: flex; gap: 18px; align-items: flex-start; }
.proc-n {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 11px;
  background: var(--c-elec-a); border: var(--border-e);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-num); font-size: 0.8rem; color: var(--c-elec);
}
.proc-t { font-weight: 600; margin-bottom: 4px; font-size: 0.9375rem; }
.proc-d { font-size: 0.875rem; color: var(--c-g400); line-height: 1.6; }

/* ─── SECURITY STRIP ─── */
.sec-strip {
  background: rgba(16,185,129,0.05); border: 1px solid rgba(16,185,129,0.14);
  border-radius: var(--r2); padding: 14px 20px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
}
.sec-strip-i {
  display: flex; align-items: center; gap: 5px;
  font-family: var(--f-num); font-size: 0.68rem; color: var(--c-g300); white-space: nowrap;
}
.sec-strip-i::before { content: '🔒'; font-size: 0.7rem; }

/* ─── PRICING ─── */
.p-card { position: relative; display: flex; flex-direction: column; }
.p-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-elec); color: var(--c-bg);
  font-family: var(--f-num); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.p-price { font-size: 2.2rem; font-weight: 500; color: var(--c-white); }
.p-price sup { font-size: 1rem; vertical-align: top; margin-top: 5px; display: inline-block; }
.p-price sub { font-size: 0.8rem; font-weight: 400; vertical-align: middle; color: var(--c-g400); }
.p-per { font-size: 0.8125rem; color: var(--c-g400); margin-top: 2px; }
.p-feats { list-style: none; margin: 20px 0; flex: 1; }
.p-feats li {
  display: flex; align-items: flex-start; gap: 9px;
  padding: 9px 0; font-size: 0.9rem; color: var(--c-g300); border-bottom: var(--border);
}
.p-feats li:last-child { border-bottom: none; }
.p-feats li::before { content: '✓'; color: var(--c-elec); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── CASE ─── */
.case-n { font-size: 1.75rem; font-weight: 500; color: var(--c-elec); line-height: 1; }
.case-l { font-size: 0.75rem; color: var(--c-g400); margin-top: 3px; }

/* ─── CTA SECTION ─── */
.cta-sec {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-bg2), var(--c-bg3));
  border-top: var(--border); border-bottom: var(--border);
}
.cta-sec::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.13), transparent 70%);
  pointer-events: none;
}
.cta-in { position: relative; z-index: 1; text-align: center; padding: 72px 20px; }
@media (min-width: 768px) { .cta-in { padding: 96px 32px; } }
.cta-in h2 { margin-bottom: 14px; }
.cta-in > p { margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; flex-direction: column; gap: 12px; align-items: center; }
@media (min-width: 480px) { .cta-btns { flex-direction: row; justify-content: center; flex-wrap: wrap; } }

/* ─── TRUST ROW ─── */
.trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust-i { font-size: 0.8rem; color: var(--c-g400); display: flex; align-items: center; gap: 5px; }
.trust-i::before { content: '✓'; color: var(--c-ok); font-weight: 700; }

/* ─── FOOTER ─── */
footer { background: var(--c-bg1); border-top: var(--border); padding: 40px 0 28px; }
.ft-in {
  max-width: var(--w); margin: 0 auto; padding: 0 20px;
  display: flex; flex-direction: column; gap: 24px;
}
@media (min-width: 768px) {
  .ft-in { flex-direction: row; justify-content: space-between; align-items: flex-start; padding: 0 32px; }
}
.ft-copy { font-size: 0.8125rem; color: var(--c-g400); margin-top: 5px; }
.ft-note { font-size: 0.72rem; color: var(--c-g500); margin-top: 4px; }
.ft-links { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.ft-links a { font-size: 0.8125rem; color: var(--c-g400); transition: color 0.2s; }
.ft-links a:hover { color: var(--c-elec); }

/* ─── FORM ─── */
.fg { margin-bottom: 20px; }
.fl { display: block; margin-bottom: 7px; font-size: 0.85rem; font-weight: 500; color: var(--c-g300); }
.fc {
  width: 100%; background: var(--c-bg2); border: var(--border); border-radius: var(--r1);
  padding: 12px 15px; font-family: var(--f-body); font-size: 1rem; color: var(--c-white);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none; appearance: none;
  -webkit-appearance: none;
}
.fc:focus { border-color: var(--c-elec); box-shadow: 0 0 0 3px var(--c-elec-a); }
.fc::placeholder { color: var(--c-g500); }
.fc-sel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 38px; cursor: pointer;
}
.fc-sel option { background: var(--c-bg2); }
.cb-group { display: flex; flex-direction: column; gap: 8px; }
.cb-item {
  display: flex; align-items: center; gap: 11px; padding: 12px 15px;
  border-radius: var(--r1); border: var(--border); background: var(--c-bg1);
  cursor: pointer; transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.cb-item:hover, .cb-item.on { border-color: rgba(0,212,255,0.26); background: var(--c-elec-b); }
.cb-item input { width: 17px; height: 17px; accent-color: var(--c-elec); cursor: pointer; flex-shrink: 0; }
.cb-item span { font-size: 0.9rem; }
.goal-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goal-c {
  padding: 16px 12px; border-radius: var(--r2); border: var(--border);
  background: var(--c-bg1); cursor: pointer; transition: all 0.2s; text-align: center;
  -webkit-tap-highlight-color: transparent;
}
.goal-c:hover, .goal-c.on { border-color: var(--c-elec); background: var(--c-elec-b); }
.goal-ic { font-size: 1.6rem; margin-bottom: 6px; }
.goal-lb { font-weight: 600; font-size: 0.85rem; }
.goal-sb { font-size: 0.75rem; color: var(--c-g400); margin-top: 2px; }

/* ─── PROGRESS STEPS ─── */
.steps { display: flex; align-items: center; justify-content: center; margin-bottom: 36px; }
.st-d {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-num); font-size: 0.75rem;
  border: 2px solid var(--c-g500); color: var(--c-g500); transition: all 0.3s;
}
.st-d.act { border-color: var(--c-elec); color: var(--c-elec); background: var(--c-elec-a); }
.st-d.done { border-color: var(--c-ok); background: var(--c-ok); color: var(--c-bg); }
.st-l { width: 48px; height: 2px; background: var(--c-g500); margin: 0 6px; }
.st-l.done { background: var(--c-ok); }
@media (min-width: 480px) { .st-l { width: 64px; } }

/* ─── RESULT ─── */
.rm {
  display: flex; align-items: flex-start; gap: 13px;
  padding: 16px 18px; border-radius: var(--r2);
  background: var(--c-bg2); border: var(--border); margin-bottom: 10px;
}
.rm-ic {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px;
  background: var(--c-elec-a); display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.rm-t { font-weight: 600; margin-bottom: 3px; font-size: 0.9rem; }
.rm-d { font-size: 0.82rem; color: var(--c-g400); }

/* ─── LOADING ─── */
.loading-ring {
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid var(--c-bg3); border-top-color: var(--c-elec);
  animation: spin 0.85s linear infinite; margin: 0 auto 22px;
}
.ls { font-family: var(--f-num); font-size: 0.8rem; color: var(--c-g500); margin: 5px 0; transition: color 0.3s; }
.ls.act { color: var(--c-elec); }
.ls.done { color: var(--c-ok); }

/* ─── ANIMATIONS ─── */
/* float: 幅を最小限に抑えてモバイルでも崩れない */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }
@keyframes pulse  { 0%,100%{box-shadow:0 0 14px rgba(0,212,255,0.2)} 50%{box-shadow:0 0 28px rgba(0,212,255,0.44)} }
@keyframes spin   { to{transform:rotate(360deg)} }

.fu  { animation: fadeUp 0.55s ease both; }
.d1  { animation-delay: 0.08s; }
.d2  { animation-delay: 0.16s; }
.d3  { animation-delay: 0.24s; }
.d4  { animation-delay: 0.32s; }

/* ─── UTILS ─── */
.te  { color: var(--c-elec); }
.tg  { color: var(--c-gold); }
.tgr { color: var(--c-g300); }
.tc  { text-align: center; }
.mt8 {margin-top:8px} .mt12{margin-top:12px} .mt16{margin-top:16px}
.mt24{margin-top:24px} .mt32{margin-top:32px} .mt40{margin-top:40px}
.mb8 {margin-bottom:8px} .mb12{margin-bottom:12px} .mb16{margin-bottom:16px}
.mb24{margin-bottom:24px} .mb32{margin-bottom:32px}
.dn  { display: none; }
.rel { position: relative; }
.oh  { overflow: hidden; }
