/* ONEON 無料教育相談フォーム */
.oneon-contact {
  padding: 80px 20px;
  background: linear-gradient(180deg, #f5f8ff 0%, #ffffff 100%);
  color: #10233f;
}

.oneon-contact__inner {
  max-width: 920px;
  margin: 0 auto;
}

.oneon-contact__head {
  text-align: center;
  margin-bottom: 36px;
}

.oneon-contact__label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-radius: 999px;
  background: #102b5c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}

.oneon-contact__title {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.45;
  font-weight: 800;
  color: #102b5c;
}

.oneon-contact__lead {
  max-width: 760px;
  margin: 0 auto 14px;
  font-size: 16px;
  line-height: 1.9;
}

.oneon-contact__note {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff7df;
  color: #6d5200;
  font-size: 14px;
  line-height: 1.7;
}

.oneon-form {
  background: #fff;
  border: 1px solid #dbe5f5;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(16, 43, 92, .12);
  padding: clamp(24px, 5vw, 44px);
}

.oneon-form__group {
  margin-bottom: 24px;
}

.oneon-form__group > label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #102b5c;
}

.oneon-form__group label span {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  vertical-align: middle;
}

.oneon-form input[type="email"],
.oneon-form input[type="text"],
.oneon-form select,
.oneon-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd8ec;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  background: #fbfdff;
  color: #10233f;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.oneon-form textarea {
  resize: vertical;
  min-height: 150px;
}

.oneon-form input:focus,
.oneon-form select:focus,
.oneon-form textarea:focus {
  border-color: #1d5fd1;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 95, 209, .12);
}

.oneon-form .is-error,
.oneon-form__checks.is-error,
.oneon-form__privacy.is-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, .12) !important;
  background: #fffafa !important;
}

.oneon-form__checks {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f6f9ff;
}

.oneon-form__checks label,
.oneon-form__privacy label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.7;
  cursor: pointer;
}

.oneon-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: #102b5c;
  flex: 0 0 auto;
}

.oneon-form__privacy {
  margin: 30px 0 20px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f6f9ff;
  font-size: 14px;
}

.oneon-form__submit {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #102b5c, #1d5fd1);
  color: #fff;
  padding: 18px 24px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(29, 95, 209, .25);
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.oneon-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(29, 95, 209, .32);
}

.oneon-form__submit:active {
  transform: translateY(0);
  opacity: .9;
}

.oneon-form__footnote {
  margin: 16px 0 0;
  text-align: center;
  color: #56667f;
  font-size: 14px;
  line-height: 1.7;
}

.oneon-form__hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
}

.oneon-alert {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(16, 35, 63, .48);
}

.oneon-alert.is-show {
  display: grid;
}

.oneon-alert__box {
  width: min(420px, 100%);
  padding: 28px 24px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(16, 35, 63, .28);
  text-align: center;
}

.oneon-alert__title {
  margin: 0 0 10px;
  color: #102b5c;
  font-size: 20px;
  font-weight: 800;
}

.oneon-alert__message {
  margin: 0 0 22px;
  color: #33435c;
  font-size: 15px;
  line-height: 1.7;
}

.oneon-alert__button {
  min-width: 120px;
  border: none;
  border-radius: 999px;
  background: #102b5c;
  color: #fff;
  padding: 12px 24px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 767px) {
  .oneon-contact {
    padding: 56px 16px;
  }

  .oneon-contact__head {
    text-align: left;
  }

  .oneon-contact__lead,
  .oneon-contact__note {
    margin-left: 0;
    margin-right: 0;
  }

  .pc-br {
    display: none;
  }

  .oneon-form {
    border-radius: 18px;
  }

  .oneon-form__submit {
    font-size: 16px;
  }
}
