:root {
  color-scheme: dark;
  --bg: #0a0a0f;
  --surface: #101621;
  --surface-2: #161b22;
  --line: rgba(255, 255, 255, 0.10);
  --text: #eef2ff;
  --muted: #9ca3af;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --deep-cyan: #0891b2;
  --danger: #fda4af;
  --success: #86efac;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 12%, rgba(59, 130, 246, .16), transparent 28rem),
    radial-gradient(circle at 92% 42%, rgba(6, 182, 212, .10), transparent 30rem),
    var(--bg);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: #a5f3fc; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 15, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner, .footer-inner, .page-shell { width: min(100% - 32px, 940px); margin-inline: auto; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { color: #fff; text-decoration: none; font-family: "Space Grotesk", sans-serif; font-weight: 700; letter-spacing: .11em; }
.header-links { display: flex; align-items: center; gap: 18px; }
.header-links a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.header-links a:hover, .header-links a[aria-current="page"] { color: #fff; }

.page-shell { padding: 76px 0 96px; }
.eyebrow { margin: 0 0 12px; color: var(--cyan); font: 600 .75rem/1 "Space Grotesk", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font: 700 clamp(2.2rem, 7vw, 4.8rem)/1.08 "Space Grotesk", "Noto Sans JP", sans-serif; letter-spacing: -.035em; }
.lead { max-width: 720px; margin: 24px 0 0; color: #cbd5e1; font-size: clamp(1rem, 2.4vw, 1.18rem); }
.quick-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 20px; font-size: .94rem; }

.panel {
  position: relative;
  margin-top: 44px;
  padding: clamp(22px, 5vw, 48px);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(22, 27, 34, .96), rgba(13, 17, 23, .94));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}
.panel::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 52%; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan), transparent); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 8px; color: #e5e7eb; font-weight: 600; }
.required, .optional { margin-left: .45rem; font-size: .72rem; font-weight: 500; }
.required { color: var(--danger); }
.optional { color: var(--muted); }
.hint { margin: 7px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  color: #fff;
  background: rgba(5, 9, 16, .7);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); background: rgba(7, 13, 23, .96); }
.field input[type="file"] { padding: 10px; }
.conditional { display: none; }
.conditional.is-visible { display: block; }

.notice {
  margin-top: 28px;
  padding: 20px;
  color: #cbd5e1;
  background: rgba(59, 130, 246, .07);
  border: 1px solid rgba(59, 130, 246, .22);
  border-radius: 14px;
}
.notice h2 { margin: 0 0 8px; color: #fff; font-size: 1rem; }
.notice ul { margin: 0; padding-left: 1.25rem; }
.notice li + li { margin-top: 6px; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; color: #d1d5db; font-size: .9rem; }
.consent input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--cyan); }
.submit-row { display: flex; align-items: center; gap: 18px; margin-top: 28px; flex-wrap: wrap; }
.submit-button { min-width: 190px; border: 0; border-radius: 999px; padding: 14px 28px; color: #fff; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, var(--blue), var(--deep-cyan)); box-shadow: 0 12px 34px rgba(59, 130, 246, .22); transition: transform .2s, box-shadow .2s, opacity .2s; }
.submit-button:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(59, 130, 246, .34); }
.submit-button:disabled { cursor: wait; opacity: .62; transform: none; }
.form-status { min-height: 1.8em; margin: 0; font-size: .88rem; }
.form-status[data-state="error"] { color: var(--danger); }
.form-status[data-state="success"] { color: var(--success); }

.faq-list { display: grid; gap: 12px; margin-top: 44px; }
.faq-item { background: rgba(16, 22, 33, .88); border: 1px solid var(--line); border-radius: 16px; overflow: clip; }
.faq-item[open] { border-color: rgba(34, 211, 238, .38); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cyan); font: 400 1.4rem/1 "Space Grotesk", sans-serif; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px; color: #cbd5e1; }
.faq-answer p { margin: 0; }
.review-badge { display: inline-block; margin-left: .6rem; padding: .12rem .45rem; color: #fde68a; background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .28); border-radius: 999px; font-size: .67rem; font-weight: 600; white-space: nowrap; }
.cta-card { margin-top: 36px; padding: 28px; text-align: center; background: linear-gradient(135deg, rgba(59,130,246,.11), rgba(6,182,212,.08)); border: 1px solid rgba(34,211,238,.25); border-radius: 18px; }
.cta-card h2 { margin: 0 0 8px; font-size: 1.2rem; }
.cta-card p { margin: 0 0 18px; color: var(--muted); }
.button-link { display: inline-flex; padding: 11px 22px; color: #fff; text-decoration: none; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--deep-cyan)); border-radius: 999px; }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #6b7280; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #9ca3af; text-decoration: none; }

@media (max-width: 720px) {
  .header-links a:first-child { display: none; }
  .page-shell { padding-top: 52px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .panel { border-radius: 18px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

