:root {
  --ink: #0a1730;
  --muted: #5e6a7d;
  --line: #d9e1eb;
  --soft: #f4f7fb;
  --blue: #0a5fb5;
  --blue-deep: #082f67;
  --cyan: #25a8e0;
  --gold: #d7ad43;
  --danger: #b42318;
  --success: #067647;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(10, 23, 48, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(37,168,224,.10), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0, #fff 520px);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.75;
}
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 22, 47, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { color: #fff; text-decoration: none; font-weight: 850; letter-spacing: .08em; }
.brand small { display: block; color: #9fdcff; font-size: 10px; letter-spacing: .22em; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-link {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
}
.header-link.primary { background: linear-gradient(135deg, var(--blue), var(--cyan)); border-color: transparent; }
.hero {
  padding: 58px 0 36px;
  background:
    linear-gradient(120deg, rgba(5,20,48,.98), rgba(7,52,104,.94)),
    radial-gradient(circle at 80% 20%, rgba(37,168,224,.35), transparent 25rem);
  color: #fff;
}
.hero-inner, .page-shell { width: min(1040px, calc(100% - 32px)); margin: auto; }
.eyebrow { color: #8edbff; font-weight: 800; letter-spacing: .18em; font-size: 12px; }
.hero h1 { margin: 10px 0 14px; font-size: clamp(30px, 5vw, 50px); line-height: 1.25; letter-spacing: .03em; }
.hero p { max-width: 760px; margin: 0; color: #d9e9f8; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-badges span { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 7px 12px; font-size: 12px; }
.page-shell { padding: 34px 0 70px; }
.intro-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 22px; margin-bottom: 24px; }
.panel {
  background: rgba(255,255,255,.97);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.panel h2, .form-card h2 { margin: 0 0 12px; font-size: clamp(23px, 3vw, 32px); line-height: 1.35; }
.panel p { margin: 0; color: var(--muted); }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
.step b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #eaf5ff; color: var(--blue-deep); }
.step span { color: var(--muted); font-size: 14px; }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-card-head { padding: 28px 30px 20px; border-bottom: 1px solid var(--line); }
.form-card-head p { margin: 6px 0 0; color: var(--muted); }
.form-body { padding: 26px 30px 32px; }
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding-top: 8px;
  font-size: 19px;
}
.section-title span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--blue-deep); font-size: 13px; }
.form-section + .form-section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 7px; font-weight: 750; font-size: 14px; }
.req { color: #fff; background: var(--danger); border-radius: 4px; padding: 1px 5px; margin-left: 6px; font-size: 10px; vertical-align: 2px; }
.opt { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: 12px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  border: 1px solid #bfcbd9;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,95,181,.12); }
.help { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-card { position: relative; display: block; }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card span {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: var(--soft);
  transition: .2s;
}
.choice-card strong { font-size: 18px; }
.choice-card small { color: var(--muted); }
.choice-card input:checked + span { border-color: var(--blue); background: #edf7ff; box-shadow: inset 0 0 0 2px rgba(10,95,181,.14); }
.choice-card input:focus-visible + span { outline: 3px solid rgba(10,95,181,.25); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 16px; }
.check-item { display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.check-item input { margin-top: 5px; accent-color: var(--blue); }
.dynamic-note { margin-top: 12px; border-left: 4px solid var(--cyan); background: #eff9fe; border-radius: 0 10px 10px 0; padding: 13px 15px; color: #294761; font-size: 13px; }
.conditional[hidden] { display: none !important; }
.file-box { border: 1px dashed #9fb3c8; border-radius: 12px; padding: 16px; background: #f8fbff; }
.file-box input { max-width: 100%; }
.notice { border-radius: 12px; padding: 14px 16px; font-size: 13px; }
.notice.warning { background: #fff8e7; border: 1px solid #eed89a; color: #624b12; }
.notice.info { background: #eef7ff; border: 1px solid #beddf7; color: #19466c; }
.error-box { margin-bottom: 20px; padding: 16px 18px; border: 1px solid #f1b4ae; background: #fff2f0; color: var(--danger); border-radius: 12px; }
.error-box strong { display: block; margin-bottom: 5px; }
.error-box ul { margin: 0; padding-left: 1.3em; }
.privacy-row { display: flex; gap: 10px; align-items: flex-start; }
.privacy-row input { margin-top: 6px; accent-color: var(--blue); }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.submit-btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 28px;
  min-width: 250px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(10,95,181,.25);
  font-weight: 800;
}
.submit-btn:disabled { opacity: .65; cursor: wait; }
.form-note { color: var(--muted); font-size: 12px; }
.cta-panel {
  margin-top: 24px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, #081a38, #0b4f91);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cta-panel h2 { margin: 0 0 7px; font-size: 22px; }
.cta-panel p { margin: 0; color: #d8e8f7; }
.cta-btn { flex: 0 0 auto; color: #081a38; background: linear-gradient(135deg, #f6d77e, #d7ad43); text-decoration: none; font-weight: 850; border-radius: 999px; padding: 12px 20px; }
.complete-card { max-width: 760px; margin: 44px auto 80px; text-align: center; }
.complete-mark { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #e9f8f1; color: var(--success); font-size: 34px; font-weight: 900; }
.complete-card h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.complete-card p { color: var(--muted); }
.complete-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.btn { display: inline-block; text-decoration: none; border-radius: 999px; padding: 11px 18px; font-weight: 750; }
.btn.primary { color: #fff; background: var(--blue); }
.btn.secondary { color: var(--blue-deep); border: 1px solid var(--line); background: #fff; }
.site-footer { background: #07162f; color: #b9c8d9; padding: 28px 16px; text-align: center; font-size: 12px; }
.site-footer a { color: #d9edff; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 820px) {
  .intro-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .choice-card span { min-height: 96px; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 62px; }
  .header-link:not(.primary) { display: none; }
  .hero { padding: 42px 0 28px; }
  .page-shell { width: min(100% - 20px, 1040px); padding-top: 20px; }
  .panel, .form-card-head, .form-body { padding-left: 18px; padding-right: 18px; }
  .form-grid, .check-grid { grid-template-columns: 1fr; }
  .submit-row { align-items: stretch; flex-direction: column; }
  .submit-btn { width: 100%; min-width: 0; }
}
