:root {
  --bg: #0a0a14;
  --surface: #13132a;
  --surface-2: #1a1a36;
  --text: #f0f0ff;
  --text-dim: #a8a8c8;
  --accent: #a78bfa;
  --accent-warm: #f97316;
  --border: #2d2d52;
  --radius: 14px;
  --page-max: 680px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
.page-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px 18px 56px;
}
.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(167, 139, 250, .15);
  border: 1px solid rgba(167, 139, 250, .35);
  color: #ddd6fe;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(1.55rem, 4.8vw, 2.05rem);
  line-height: 1.45;
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.hero-title .accent {
  color: #f5d0fe;
  text-shadow: 0 0 18px rgba(168, 85, 247, .35);
}
.hero-lead {
  color: var(--text-dim);
  font-size: .98rem;
  margin-bottom: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
}
.card h2 {
  font-size: 1.05rem;
  margin: 0 0 12px;
  color: #ede9fe;
}
.card h3 {
  font-size: .92rem;
  margin: 16px 0 8px;
  color: #c4b5fd;
}
.reframe {
  color: #d1d5db;
  font-size: .9rem;
  margin: 0;
}
.scene-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.scene-list li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: #e9d5ff;
  font-size: .92rem;
  border-bottom: 1px solid rgba(45, 45, 82, .45);
}
.scene-list li:last-child { border-bottom: none; }
.scene-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 8px;
  color: #f97316;
  font-size: .72rem;
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.benefits li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid rgba(45, 45, 82, .6);
  color: #d8d8f0;
  font-size: .93rem;
}
.benefits li:last-child { border-bottom: none; }
.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: #34d399;
  font-weight: 800;
}
.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}
.offer-table th,
.offer-table td {
  border: 1px solid rgba(45, 45, 82, .8);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.offer-table th {
  background: var(--surface-2);
  color: #c4b5fd;
  font-weight: 700;
  white-space: nowrap;
  width: 34%;
}
.offer-table td { color: #d1d5db; }
.offer-bonus-lead {
  margin: 0 0 6px;
  color: #f3f4f6;
}
.offer-bonus-sub {
  margin: 0 0 8px;
  font-size: .82rem;
  color: #c4b5fd;
  line-height: 1.55;
}
.offer-bonus-list {
  margin: 0;
  padding-left: 1.1em;
  font-size: .82rem;
  line-height: 1.65;
  color: #d1d5db;
}
.offer-bonus-list li { margin-bottom: 4px; }
.offer-bonus-list li:last-child { margin-bottom: 0; }
.offer-bonus-list strong { color: #e9d5ff; font-weight: 700; }
.field-map {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}
.field-map th,
.field-map td {
  border: 1px solid rgba(45, 45, 82, .8);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.field-map th {
  background: var(--surface-2);
  color: #a5b4fc;
  font-weight: 600;
}
.field-map td { color: #d1d5db; }
.field-map .tag-required {
  color: #fca5a5;
  font-size: .76rem;
}
.field-map .tag-optional {
  color: #9ca3af;
  font-size: .76rem;
}
.timeline {
  display: grid;
  gap: 10px;
}
.timeline-item {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
}
.timeline-item strong {
  display: block;
  color: #c4b5fd;
  font-size: .82rem;
  margin-bottom: 4px;
}
.timeline-item span {
  color: #d1d5db;
  font-size: .88rem;
}
.flow-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 6px;
  align-items: center;
  margin-bottom: 18px;
}
.flow-step {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: .78rem;
  color: #c4b5fd;
}
.flow-step.is-active {
  border-color: rgba(249, 115, 22, .55);
  color: #fed7aa;
  font-weight: 700;
}
.flow-step span {
  display: block;
  color: #9ca3af;
  font-size: .7rem;
  margin-top: 2px;
  font-weight: 400;
}
.flow-arrow {
  color: #6b7280;
  font-size: .9rem;
}
.form-card {
  border-color: rgba(249, 115, 22, .45);
  background: linear-gradient(160deg, rgba(30, 27, 75, .92), rgba(19, 19, 42, .98));
}
.form-card h2 {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.form-note {
  text-align: center;
  color: #9ca3af;
  font-size: .84rem;
  margin-bottom: 18px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: .84rem;
  color: #c4b5fd;
  margin-bottom: 6px;
  font-weight: 700;
}
.field label .optional {
  color: #6b7280;
  font-weight: 400;
  font-size: .78rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #3f3f6a;
  background: #0f0f20;
  color: #f3f4f6;
  font-size: 1rem;
  font-family: inherit;
}
.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.6;
}
.field select { cursor: pointer; }
.field-hint {
  margin: 6px 0 0;
  font-size: .76rem;
  color: #6b7280;
  line-height: 1.55;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .2);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 18px;
  font-size: .84rem;
  color: #9ca3af;
  cursor: pointer;
}
.consent input { margin-top: 3px; flex-shrink: 0; }
.consent a { color: #a78bfa; text-decoration: underline; }
.consent.is-error { color: #fecaca; }
.consent.is-error a { color: #fca5a5; }
.submit-btn {
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #dc2626);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}
.submit-btn:hover:not(:disabled) { transform: translateY(-1px); }
.submit-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}
.form-error {
  display: none;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(127, 29, 29, .35);
  border: 1px solid rgba(248, 113, 113, .4);
  color: #fecaca;
  font-size: .88rem;
}
.note-box {
  font-size: .82rem;
  color: #6b7280;
  line-height: 1.65;
}
.note-box p { margin: 0 0 8px; }
.footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .78rem;
  color: #6b7280;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 10px;
}
.footer-links a:hover { color: #a78bfa; }
.author {
  color: #9ca3af;
  font-size: .84rem;
  margin-top: 6px;
}
@media (max-width: 520px) {
  .flow-steps {
    grid-template-columns: 1fr;
  }
  .flow-arrow { display: none; }
  .offer-table th { white-space: normal; }
}
