@charset "UTF-8";
/* ==========================================================
   アポトローブ お申し込みサイト
   デザイントークンは S&Kエージェント コーポレートサイト準拠
   ========================================================== */
:root {
  --navy: #1d2b5d;
  --navy-dark: #141f45;
  --cyan: #02b9ef;
  --text: #333;
  --text-weak: #777;
  --bg: #fff;
  --bg-gray: #f1f5f7;
  --border: #d9dfe5;
  --error: #d7263d;
  --radius: 3px;
  --shadow: 0 2px 16px rgba(29, 43, 93, 0.08);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-gray);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
}

.site-header__logo { width: 104px; display: block; }

.site-header__service {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-left: 1px solid var(--border);
  padding-left: 14px;
  line-height: 1.4;
}

.site-header__service small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.18em;
}

.site-header__corp {
  font-size: 12px;
  color: var(--text-weak);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__corp:hover { color: var(--navy); text-decoration: underline; }

@media (max-width: 600px) {
  .site-header__corp { display: none; }
  .site-header__logo { width: 84px; }
  .site-header__service { font-size: 13px; white-space: nowrap; }
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, #2a3c7d 70%, #1f4d86 100%);
  color: #fff;
  padding: 56px 24px 52px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: attr(data-watermark);
  position: absolute;
  right: -8px;
  bottom: -34px;
  font-size: 120px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  pointer-events: none;
}

.hero__inner { max-width: 1080px; margin: 0 auto; }

.hero__label {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 8px;
}

.hero__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.hero__lead {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- layout ---------- */
.page { max-width: 860px; margin: 0 auto; padding: 40px 20px 80px; }

.card {
  background: #fff;
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 36px 40px;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .card { padding: 26px 20px; }
}

/* ---------- section heading（コーポレートサイトの見出しスタイル準拠） ---------- */
.sec-label {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.sec-title {
  font-size: 21px;
  font-weight: 700;
  margin: 2px 0 0;
  letter-spacing: 0.04em;
}

.sec-head { margin-bottom: 6px; }

.sec-head::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--cyan);
  margin-top: 12px;
}

.sec-note { font-size: 13px; color: var(--text-weak); margin-top: 10px; }

/* ---------- form ---------- */
.field { padding: 22px 0; border-bottom: 1px solid var(--bg-gray); }

.field:last-child { border-bottom: none; }

.field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--cyan);
  border-radius: 2px;
  padding: 2px 8px;
  line-height: 1.6;
}

.badge--opt { background: #9aa5b1; }

.field__desc { font-size: 13px; color: var(--text-weak); margin-bottom: 10px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.field textarea { min-height: 88px; resize: vertical; }

.field .input-s { max-width: 260px; }
.field .input-m { max-width: 420px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(2, 185, 239, 0.15);
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea { border-color: var(--error); }

.field__error {
  display: none;
  color: var(--error);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
}

.field.is-error .field__error { display: block; }

.select-wrap { position: relative; max-width: 420px; }

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* ---------- radio / choice cards ---------- */
.choice-group { display: grid; gap: 12px; }

.choice-group--2col { grid-template-columns: 1fr 1fr; }

@media (max-width: 600px) {
  .choice-group--2col { grid-template-columns: 1fr; }
}

.choice {
  position: relative;
  display: block;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px 14px 46px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 15px;
  font-weight: 500;
  background: #fff;
}

.choice:hover { border-color: var(--cyan); }

.choice.is-disabled { opacity: 0.5; cursor: not-allowed; }
.choice.is-disabled:hover { border-color: var(--border); }

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
  transition: border-color 0.15s;
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: rgba(2, 185, 239, 0.05);
}

.choice:has(input:checked)::before { border-color: var(--navy); }

.choice::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
  transition: transform 0.15s;
}

.choice:has(input:checked)::after { transform: translateY(-50%) scale(1); }

.choice:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(2, 185, 239, 0.25); }

.choice small { display: block; font-size: 12px; color: var(--text-weak); font-weight: 400; }

.choice--fixed { background: var(--bg-gray); border-style: dashed; }

/* ---------- その他入力 ---------- */
.other-input { margin-top: 10px; }

/* ---------- consent ---------- */
.consent-box {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
}

.consent-box a { color: var(--cyan); font-weight: 700; }

.consent-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}

.consent-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
  cursor: pointer;
}

.consent-error {
  display: none;
  color: var(--error);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.consent-box.is-error .consent-error { display: block; }

/* ---------- submit ---------- */
.submit-area { text-align: center; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius);
  padding: 16px 64px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.btn:hover { background: var(--navy-dark); }

.btn:hover::after { transform: rotate(45deg) translate(2px, -2px); }

.btn:disabled { background: #9aa5b1; cursor: not-allowed; }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--ghost::after { border-color: var(--navy); }

.btn--ghost:hover { background: rgba(29, 43, 93, 0.06); }

.submit-note { font-size: 12px; color: var(--text-weak); margin-top: 14px; }

/* ---------- terms page ---------- */
.terms-body h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 8px;
  padding-left: 12px;
  border-left: 3px solid var(--cyan);
}

.terms-body p, .terms-body li { font-size: 14.5px; }

.terms-body ol, .terms-body ul { padding-left: 1.6em; }

.terms-body .terms-end { text-align: right; margin-top: 32px; font-weight: 700; }

/* ---------- thanks page ---------- */
.thanks {
  text-align: center;
  padding: 72px 24px;
}

.thanks__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(2, 185, 239, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks__icon::after {
  content: "";
  width: 26px;
  height: 14px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg) translateY(-3px);
}

.thanks h1 { font-size: 24px; letter-spacing: 0.06em; margin-bottom: 16px; }

.thanks p { font-size: 15px; color: var(--text-weak); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 36px 24px 28px;
}

.site-footer__logo { width: 96px; margin: 0 auto 10px; filter: brightness(0) invert(1); }

.site-footer__links { margin-bottom: 14px; font-size: 13px; }

.site-footer__links a { color: #fff; text-decoration: none; margin: 0 12px; }

.site-footer__links a:hover { text-decoration: underline; }

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

/* ---------- utility ---------- */
.is-hidden { display: none !important; }
