:root {
  --black: #0d0d0d;
  --deep-black: #050505;
  --charcoal: #181818;
  --gray: #777;
  --light-gray: #f5f5f5;
  --line: #d8d8d8;
  --white: #fff;
  --combat-red: #c71920;
  --combat-red-dark: #981217;
  --max: 1180px;
  --form-max: 980px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f4f4f4;
  color: #202020;
  font-family: Arial, "Helvetica Neue", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,.98);
  border-bottom: 1px solid #2b2b2b;
}
.header-inner {
  width: min(calc(100% - 34px), 1280px);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.brand-main { color: #fff; font-size: 32px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.brand-sub { color: var(--combat-red); font-size: 19px; font-weight: 800; font-style: italic; }
.global-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.global-nav a { color: #e9e9e9; font-size: 12px; font-weight: 700; letter-spacing: .07em; transition: color .2s ease; }
.global-nav a:hover { color: var(--combat-red); }

.form-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 86px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 35%, rgba(130,130,130,.18), transparent 28%),
    linear-gradient(120deg, #050505 0%, #151515 60%, #080808 100%);
}
.form-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.form-hero .container { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 10px; color: var(--combat-red); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
.form-hero h1 { margin: 0; font-size: clamp(48px, 7vw, 92px); line-height: .93; font-weight: 900; letter-spacing: -.045em; }
.form-hero h1 span { display: inline-block; margin-top: 14px; color: #d8d8d8; font-size: .34em; letter-spacing: .08em; }
.form-hero > .container > p:last-child { margin: 28px 0 0; color: #c9c9c9; font-size: 16px; letter-spacing: .04em; }

.form-section { padding: 72px 0 96px; }
.form-container { width: min(calc(100% - 40px), var(--form-max)); margin: 0 auto; }
.intro-copy, .confirm-title { margin-bottom: 38px; }
.intro-copy h2, .confirm-title h2, .complete-box h2 { margin: 0 0 18px; color: #111; font-size: clamp(30px, 4vw, 44px); line-height: 1.3; letter-spacing: -.03em; }
.intro-copy p, .confirm-title p { margin: 8px 0; }
.intro-copy strong { color: var(--combat-red); }
.required-note { color: #666; font-size: 13px; }
.required-note span, label em, .check-label em { color: var(--combat-red); font-style: normal; font-weight: 900; }

.error-box {
  margin: 0 0 28px;
  padding: 20px 24px;
  background: #fff0f0;
  border-left: 5px solid var(--combat-red);
  color: #821116;
}
.error-box ul { margin: 8px 0 0; padding-left: 1.3em; }

.form-block, .confirm-block {
  margin: 0 0 28px;
  padding: 34px 38px 38px;
  background: #fff;
  border: 1px solid #e1e1e1;
  box-shadow: 0 10px 30px rgba(0,0,0,.045);
}
.block-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -34px -38px 32px;
  padding: 22px 38px;
  background: #111;
  color: #fff;
  border-top: 3px solid var(--combat-red);
}
.block-heading > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--combat-red);
  font-size: 14px;
  font-weight: 900;
}
.block-heading p { margin: 0 0 2px; color: #888; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.block-heading h3 { margin: 0; font-size: 21px; letter-spacing: .02em; }

.field-grid { display: grid; gap: 24px 28px; }
.field-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-grid.one { grid-template-columns: 1fr; }
.field-grid + .field-grid { margin-top: 24px; }
.field { min-width: 0; }
.field label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: #fff;
  color: #222;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input, .field select { min-height: 52px; padding: 0 14px; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, #333 50%),
    linear-gradient(135deg, #333 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field textarea { min-height: 160px; padding: 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--combat-red);
  box-shadow: 0 0 0 3px rgba(199,25,32,.10);
}
.field small { display: block; margin-top: 7px; color: #777; font-size: 11px; line-height: 1.6; }

.privacy-box {
  margin-top: 28px;
  padding: 24px 28px;
  background: #ececec;
  border: 1px solid #d6d6d6;
}
.check-label { display: flex; align-items: flex-start; gap: 12px; font-weight: 800; cursor: pointer; }
.check-label input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--combat-red); }
.privacy-box p { margin: 8px 0 0 30px; color: #666; font-size: 12px; }

.submit-area { padding-top: 38px; text-align: center; }
.submit-area p { margin: 12px 0 0; color: #777; font-size: 12px; }
.button-row { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  min-height: 58px;
  padding: 14px 28px;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .05em;
  transition: background .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--combat-red); color: #fff; }
.button.primary:hover { background: var(--combat-red-dark); }
.button.secondary { background: #222; color: #fff; }
.button.secondary:hover { background: #000; }

.confirm-block h3 { margin: 0 0 18px; padding-bottom: 12px; border-bottom: 2px solid #111; font-size: 20px; }
.confirm-list { margin: 0; }
.confirm-list > div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid #e4e4e4; }
.confirm-list dt, .confirm-list dd { margin: 0; padding: 15px 12px; }
.confirm-list dt { background: #f5f5f5; font-weight: 800; }
.message-confirm { padding: 18px; background: #f7f7f7; white-space: normal; }

.complete-box {
  padding: 64px 42px;
  background: #fff;
  border-top: 4px solid var(--combat-red);
  text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.07);
}
.complete-box p { margin: 10px 0; }
.small-note { color: #777; font-size: 12px; }
.complete-box .button { margin-top: 24px; }

.site-footer {
  padding: 54px 0 58px;
  background: #080808;
  color: #aaa;
  text-align: center;
  border-top: 3px solid var(--combat-red);
}
.footer-brand { display: inline-flex; align-items: baseline; gap: 5px; margin-bottom: 12px; }
.footer-brand strong { color: #fff; font-size: 28px; letter-spacing: -.04em; }
.footer-brand span { color: var(--combat-red); font-size: 17px; font-weight: 800; font-style: italic; }
.site-footer p { margin: 0 0 12px; font-size: 11px; letter-spacing: .14em; }
.site-footer small { font-size: 11px; color: #666; }

@media (max-width: 900px) {
  .header-inner { min-height: 70px; }
  .global-nav { display: none; }
  .form-hero { padding: 70px 0 65px; }
}

@media (max-width: 680px) {
  .container, .form-container { width: min(calc(100% - 28px), var(--max)); }
  .form-section { padding: 48px 0 70px; }
  .form-block, .confirm-block { padding: 26px 20px 28px; }
  .block-heading { margin: -26px -20px 26px; padding: 18px 20px; }
  .block-heading h3 { font-size: 18px; }
  .field-grid.two { grid-template-columns: 1fr; }
  .field-grid { gap: 20px; }
  .field-grid + .field-grid { margin-top: 20px; }
  .confirm-list > div { grid-template-columns: 1fr; }
  .confirm-list dt { padding-bottom: 5px; }
  .confirm-list dd { padding-top: 5px; }
  .button-row { flex-direction: column-reverse; }
  .button { width: 100%; min-width: 0; }
  .privacy-box { padding: 20px; }
  .privacy-box p { margin-left: 30px; }
  .brand-main { font-size: 28px; }
  .brand-sub { font-size: 17px; }
}
