@charset "utf-8";

:root {
  --primary: #0b63c7;
  --primary-dark: #064a98;
  --primary-soft: #eaf4ff;
  --text: #1f2a37;
  --muted: #6b7280;
  --line: #d8e2ee;
  --danger: #e5484d;
  --bg: #f4faff;
  --white: #fff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 19%, rgba(11, 179, 229, .12), transparent 25%),
    linear-gradient(135deg, #f7fbff 0%, #eef7ff 100%);
}
  .headerOuter {
    background: #fff;
    box-shadow: 0 2px 12px rgba(24, 78, 132, .08);
  }
.logo,
.header-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #073b79;
  font-weight: 700;
}
.header-note { font-size: 14px; }
.icon { width: 28px; height: 28px; color: var(--primary); flex: 0 0 auto; }
.icon-sm { width: 22px; height: 22px; }
.mv {
  max-width: 980px;
  margin: 42px auto 28px;
  padding: 0 20px;
  text-align: center;
}
.mv-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.35;
  color: #073b79;
}
.mv p { margin: 6px 0; line-height: 1.8; }
.form-wrap {
  max-width: 960px;
  margin: 0 auto 28px;
  padding: 32px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(24, 78, 132, .12);
}
.section { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #073b79;
  font-size: 22px;
}
.field { display: grid; grid-template-columns: 210px 1fr; gap: 18px; align-items: start; margin-bottom: 16px;}
.section > .field {
  border-top: 1px solid var(--line);
    padding-top: 16px;
}
.field-block {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 16px;
}
.label { padding-top: 11px; font-weight: 700; font-size: 14px; }
.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--danger);
  background: #ffe9eb;
  font-size: 12px;
  font-weight: 700;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
input[type="text"], input[type="number"], input[type="email"], textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bfcbd8;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
select {
  padding: 13px 14px;
  border: 1px solid #bfcbd8;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
option:disabled {
  color: #eee;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11, 99, 199, .12);
}
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 25px; align-items: center; padding-top: 20px; }
.choice { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.choice input { accent-color: var(--primary); width: 20px; height: 20px; }
.inline-input { max-width: 230px; }
.address-box {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid #a7cdf4;
  border-radius: 6px;
  background: #f5fbff;
}
.address-box .field { grid-template-columns: 140px 1fr; margin-bottom: 10px; }
.address-box .field:last-child { margin-bottom: 0; }
.help { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.count { margin-top: -28px; padding-right: 10px; text-align: right; color: var(--muted); font-size: 13px; }
.submit-area { text-align: center; margin-top: 26px; }
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(320px, 100%);
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(11, 99, 199, .28);
}
.submit-btn[disabled] {
  filter: grayscale(1) opacity(0.4);
}
.privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 20px auto 36px;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 767.9px) {
  .header { padding: 14px 18px; align-items: flex-start; flex-direction: column; }
  .mv { margin-top: 28px; }
  .mv-title { font-size: 24px; align-items: flex-start; }
  .form-wrap { margin-inline: 14px; padding: 22px 18px;margin-bottom:200px; }
  .field, .address-box .field { grid-template-columns: 1fr; gap: 8px; }
  .label { padding-top: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  select {
    margin: 3px;
  }
}
input:disabled,
.inline-input:disabled {
  background: #f7f7f7;
  border-color: #ddd;
  color: #999;
  cursor: not-allowed;
}

.inline-input:not(:disabled) {
  background: #fff;
}
.birthday-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767.9px) {
  .birthday-group {
    display: block;
  }
}
.birthday-group input {
  width: 100px;
}

.birthday-group span {
  white-space: nowrap;
}
.privacy {
  border: 1px solid #aaa;
  margin: 10px 0;
}
.privacy .inner {
  padding: 7px 10px;
  height: 175px;
  overflow-y: scroll;
}
.privacy .inner .div01 {
  border: 0;
  font-size: 13px;
}
.choice.disabled {
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
}

.choice.disabled input[type="checkbox"] {
  cursor: not-allowed;
}

.mfp_err {
  color: #C62828;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
#yearMake,
#monthMake,
#client-self-input,
#client-union-input {
  display: none;
}
#yearMake.is-show,
#monthMake.is-show,
#client-self-input.is-show,
#client-union-input.is-show {
  display: grid;
}
input:read-only {
  background: #f5f5f5;
  color: #666;
  cursor: not-allowed;
}
.readonly-message {
  display: none;
}
.address-box.is-readonly .readonly-message {
  display: block;
}