* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #0A0A0A;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.85;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-top: 64px;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(92, 14, 39, 0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ───── Starfield ───── */
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(201,169,97,0.7), transparent 60%),
    radial-gradient(1px 1px at 32% 64%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 55% 28%, rgba(201,169,97,0.6), transparent 60%),
    radial-gradient(1px 1px at 71% 78%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 88% 12%, rgba(201,169,97,0.7), transparent 60%),
    radial-gradient(1px 1px at 22% 88%, rgba(255,255,255,0.4), transparent 60%),
    radial-gradient(1px 1px at 48% 92%, rgba(201,169,97,0.5), transparent 60%),
    radial-gradient(1px 1px at 80% 50%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 5% 52%, rgba(201,169,97,0.4), transparent 60%),
    radial-gradient(1px 1px at 95% 65%, rgba(255,255,255,0.4), transparent 60%);
  animation: twinkle 6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ───── Urgency Bar (sticky top) ───── */
.urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, #1a0410 0%, #0A0A0A 100%);
  border-bottom: 1px solid rgba(201, 169, 97, 0.4);
  padding: 8px 16px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.urgency-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.urgency-row-sub {
  margin-top: 2px;
  font-size: 10px;
  opacity: 0.85;
}

.urgency-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.urgency-timer {
  font-family: 'Cinzel', serif;
  color: #ff6b6b;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.urgency-slots {
  color: #C9A961;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  font-size: 12px;
}

#slots {
  font-size: 14px;
  color: #ff6b6b;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 20px;
  position: relative;
  z-index: 1;
}

/* ───── Hero ───── */
.hero {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  padding: 32px 0 16px;
}

.symbol-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.45;
  z-index: -1;
}

.symbol-bg svg {
  width: 70%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(201, 169, 97, 0.3));
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  color: #C9A961;
  font-size: 11px;
  letter-spacing: 0.5em;
  margin-bottom: 24px;
  opacity: 0.8;
}

.hero-title-sub {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #C9A961;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero-title-main {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: 40px;
  font-weight: 900;
  color: #C9A961;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-shadow: 0 0 20px rgba(201, 169, 97, 0.3);
}

.hero-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 28px;
  letter-spacing: 0.05em;
  line-height: 2;
}

.hero-lead-em {
  display: inline-block;
  margin-top: 8px;
  color: #C9A961;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ───── Section title (shared) ───── */
.section-title {
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  color: #C9A961;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.section-title-sub {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  color: rgba(201, 169, 97, 0.7);
  letter-spacing: 0.4em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ───── KV (第一章前) ───── */
.kv-section {
  margin: 0 -20px 48px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.kv-section picture,
.kv-section img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  object-position: center;
}

.kv-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0) 70%, rgba(10, 10, 10, 0.7) 100%);
  pointer-events: none;
}

/* ───── Hidden Knowledge ───── */
.hidden-knowledge {
  margin-bottom: 64px;
}

.knowledge-card {
  background: rgba(20, 8, 14, 0.6);
  border-left: 2px solid #C9A961;
  padding: 28px 24px;
  border-radius: 0 4px 4px 0;
}

.knowledge-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  line-height: 2;
}

.knowledge-card p:last-child { margin-bottom: 0; }

.knowledge-card .emphasis {
  font-size: 15px;
  color: #C9A961;
  font-weight: 700;
  border-top: 1px dashed rgba(201, 169, 97, 0.3);
  border-bottom: 1px dashed rgba(201, 169, 97, 0.3);
  padding: 12px 0;
  margin: 24px 0;
}

.knowledge-card .reveal {
  font-size: 16px;
  color: #ffd97a;
  text-align: center;
  padding: 16px;
  background: rgba(201, 169, 97, 0.05);
}

.knowledge-card .quiet {
  font-size: 12px;
  opacity: 0.5;
  font-style: italic;
  text-align: right;
  margin-top: 24px;
}

.gold {
  color: #C9A961;
  font-weight: 700;
}

/* ───── Profile ───── */
.profile {
  margin-bottom: 64px;
}

.profile-frame {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(201, 169, 97, 0.3);
  padding: 36px 24px;
  text-align: center;
  position: relative;
}

.profile-frame::before,
.profile-frame::after {
  content: '✦';
  position: absolute;
  color: #C9A961;
  font-size: 14px;
}
.profile-frame::before { top: 12px; left: 12px; }
.profile-frame::after { bottom: 12px; right: 12px; }

.profile-eyebrow {
  font-family: 'Cinzel', serif;
  color: rgba(201, 169, 97, 0.7);
  font-size: 11px;
  letter-spacing: 0.5em;
  margin-bottom: 12px;
}

.profile-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  color: #C9A961;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2em;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  padding-bottom: 20px;
}

.profile-body {
  text-align: left;
}

.profile-body p {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

.profile-body .emphasis {
  font-size: 15px;
  color: #C9A961;
  font-weight: 700;
  text-align: center;
  padding: 16px;
  background: rgba(201, 169, 97, 0.05);
  margin: 24px 0;
}

/* ───── Testimonials ───── */
.testimonials {
  margin-bottom: 64px;
}

.testimonial {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 4px;
  padding: 24px 20px;
  margin-bottom: 16px;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: 16px;
  font-family: 'Cinzel', serif;
  font-size: 64px;
  color: #C9A961;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-body {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 12px;
}

.testimonial-body strong {
  color: #ffd97a;
  font-weight: 700;
}

.testimonial-author {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  letter-spacing: 0.05em;
}

.testimonials-note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* ───── Form Section ───── */
.form-section {
  margin-bottom: 48px;
  padding-top: 16px;
}

.form-gate {
  background: rgba(92, 14, 39, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: 4px;
  padding: 20px 16px;
  margin-bottom: 20px;
  text-align: center;
}

.form-gate-warn {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  color: #ff8a8a;
  margin-bottom: 12px;
  line-height: 1.7;
}

.form-gate-warn strong {
  color: #C9A961;
  font-weight: 900;
}

.form-gate-detail {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

.form-progress {
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
}

.progress-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.progress-num {
  display: inline-block;
  font-size: 32px;
  color: #ff8a8a;
  font-weight: 700;
  margin: 0 8px;
  text-shadow: 0 0 12px rgba(255, 138, 138, 0.4);
  transition: all 0.3s;
}

.progress-num.complete {
  color: #C9A961;
  text-shadow: 0 0 16px rgba(201, 169, 97, 0.6);
}

.progress-unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

#diagnose-form {
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 8px;
  padding: 32px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(92, 14, 39, 0.25);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #C9A961;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.field .optional {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  font-size: 11px;
}

.field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: white;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23C9A961' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
.field select:focus {
  outline: none;
  border-color: #C9A961;
  box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.15);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.field input.filled,
.field select.filled {
  border-color: rgba(201, 169, 97, 0.7);
  background: rgba(201, 169, 97, 0.05);
}

/* ───── Radio Group (簡素版) ───── */
.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.radio-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  user-select: none;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #C9A961;
  cursor: pointer;
  flex-shrink: 0;
}

.radio-item:hover {
  border-color: rgba(201, 169, 97, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.radio-item:has(input:checked) {
  border-color: #C9A961;
  background: rgba(201, 169, 97, 0.12);
  box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.4);
}

.radio-item:has(input:checked) .radio-text {
  color: #C9A961;
  font-weight: 700;
}

.radio-text {
  white-space: nowrap;
}

/* ───── DOB Row (Year / Month / Day) ───── */
.dob-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 8px;
}

.dob-row select {
  padding: 14px 12px;
  text-align: center;
  text-align-last: center;
  background-position: right 8px center;
  padding-right: 28px;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

/* ───── Gender Radios ───── */
.gender-radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(201, 169, 97, 0.5);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s;
}

.radio-mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #C9A961;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s;
  box-shadow: 0 0 8px rgba(201, 169, 97, 0.6);
}

.radio-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.radio-card:hover {
  border-color: rgba(201, 169, 97, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.radio-card:has(input:checked) {
  border-color: #C9A961;
  background: rgba(201, 169, 97, 0.12);
  box-shadow: 0 0 0 1px rgba(201, 169, 97, 0.4);
}

.radio-card:has(input:checked) .radio-mark {
  border-color: #C9A961;
}

.radio-card:has(input:checked) .radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}

.radio-card:has(input:checked) .radio-label {
  color: #C9A961;
  font-weight: 700;
}

/* fallback for browsers without :has() */
.radio-card input:checked ~ .radio-mark {
  border-color: #C9A961;
}
.radio-card input:checked ~ .radio-mark::after {
  transform: translate(-50%, -50%) scale(1);
}
.radio-card input:checked ~ .radio-label {
  color: #C9A961;
  font-weight: 700;
}

#submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #5C0E27 0%, #8B1538 100%);
  color: #C9A961;
  border: 1px solid #C9A961;
  padding: 18px;
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  touch-action: manipulation;
}

#submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #8B1538 0%, #C9A961 100%);
  color: #0A0A0A;
}

#submit-btn:active:not(:disabled) {
  transform: translateY(1px);
}

#submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-arrow {
  font-size: 18px;
  transition: transform 0.3s;
}

#submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.error-msg {
  margin-top: 12px;
  color: #ff6b6b;
  font-size: 13px;
  text-align: center;
}

.privacy-note {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
  line-height: 1.6;
}

/* ───── Features ───── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 64px;
}

.feature {
  text-align: center;
  padding: 16px 8px;
  background: rgba(201, 169, 97, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 4px;
}

.feature-icon {
  font-size: 18px;
  color: #C9A961;
  margin-bottom: 8px;
}

.feature h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: #C9A961;
  margin-bottom: 6px;
}

.feature p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ───── Sales Letter ───── */
.sales-letter {
  margin-bottom: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(201, 169, 97, 0.2);
}

.sales-letter .negate {
  color: #ff6b6b;
  text-shadow: 0 0 12px rgba(255, 107, 107, 0.3);
}

.letter-body {
  background: rgba(10, 10, 10, 0.6);
  padding: 28px 22px;
  border-radius: 4px;
}

.letter-body p {
  font-size: 14px;
  margin-bottom: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
}

.letter-divider {
  border: none;
  border-top: 1px dashed rgba(201, 169, 97, 0.3);
  margin: 28px 0;
}

.letter-pivot {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  text-align: center;
  color: #C9A961;
  font-weight: 700;
  margin: 24px 0 !important;
}

.letter-truth {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  text-align: center;
  color: #ffd97a;
  padding: 20px;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 4px;
  margin: 20px 0 !important;
}

.letter-truth strong {
  color: #ffd97a;
}

.letter-conclusion {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  text-align: center;
  color: #C9A961;
  font-weight: 700;
  margin-top: 28px !important;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.back-to-form {
  display: block;
  margin-top: 28px;
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #5C0E27 0%, #8B1538 100%);
  color: #C9A961;
  border: 1px solid #C9A961;
  border-radius: 4px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-decoration: none;
  transition: all 0.3s;
}

.back-to-form:hover {
  background: linear-gradient(135deg, #8B1538 0%, #C9A961 100%);
  color: #0A0A0A;
}

/* ───── Footer ───── */
footer {
  text-align: center;
  padding: 32px 0 16px;
  border-top: 1px solid rgba(201, 169, 97, 0.1);
}

.footer-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.footer-disclaimer {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 16px;
  line-height: 1.7;
}

/* ───── Animations ───── */
@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.75; }
}

.symbol-bg svg circle {
  animation: shimmer 4s ease-in-out infinite;
}

.symbol-bg svg circle:nth-child(2n) { animation-delay: 0.5s; }
.symbol-bg svg circle:nth-child(3n) { animation-delay: 1s; }
.symbol-bg svg circle:nth-child(5n) { animation-delay: 1.5s; }

/* ───── Mobile fine tune ───── */
@media (max-width: 380px) {
  .container { padding: 24px 16px; }
  .hero-title-main { font-size: 32px; }
  .section-title { font-size: 19px; }
  .feature { padding: 12px 6px; }
  .feature h3 { font-size: 12px; }
  .feature p { font-size: 9px; }
  .urgency-timer { font-size: 16px; }
  body { padding-top: 60px; }
}
