/* ==============================
   Form UI (shared) - CLEAN
============================== */

.formWrap {
  padding-top: calc(var(--header-h, 64px) + 24px);
  padding-bottom: 72px;
}

.formCard {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  padding: 22px;
}

.formHeader {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.formTitle {
  font-size: 28px;
  margin: 0;
}

.formLead {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}

/* honeypot */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ==============================
   Inputs (代理店募集の見た目に寄せる)
============================== */

.form {
  --field-bg: rgba(0, 0, 0, .35);
  --field-bd: rgba(255, 255, 255, .14);
  --field-tx: var(--text);
  --field-muted: rgba(255, 255, 255, .40);
  --focus: rgba(192, 0, 0, .55);
  /* MONSTER SPORT 赤 */
}

.field {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .82);
  font-weight: 600;
  font-size: 14px;
}

.req {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.req::after {
  content: "必須";
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(192, 0, 0, .18);
  border: 1px solid rgba(192, 0, 0, .35);
  color: rgba(255, 255, 255, .9);
}

.input,
.select,
.textarea {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--field-bd);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)),
    var(--field-bg);
  color: var(--field-tx);
  padding: 14px 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--field-muted);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--focus);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .06),
    0 0 0 3px rgba(192, 0, 0, .18);
}

.textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

/* select（右側の▼） */
.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .75) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, .75) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.help {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.6;
}

.error {
  display: none;
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(255, 120, 120, .95);
}

/* ==============================
   Grid layout (販売と同じ)
============================== */

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 920px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

/* ==============================
   Agree / Actions
============================== */

.checkRow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}

.checkRow input {
  margin-top: 4px;
}

.formActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btnWide {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btnWide--primary {
  border-color: rgba(192, 0, 0, .35);
  background: rgba(192, 0, 0, .22);
}

.btnWide:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.formNote {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.7;
}

.toast {
  display: none;
  margin-top: 14px;
  border-radius: 14px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(10, 12, 16, .85);
}

.toast.is-show {
  display: block;
}

.link {
  color: rgba(255, 255, 255, .85);
  text-decoration: underline;
}