/* ============================================================
   お問い合わせ（NAYOSEL_contact / NAYOSEL_contact_SP 準拠）
   ============================================================ */

.page-hero__box--contact { min-height: 410px; }
@media (min-width: 769px) {
  .page-hero__box--contact { background: linear-gradient(189.3deg, #f1f5f4 6.2%, #e4ede6 24.4%, #f5da78 48.8%, #f8c37a 72.2%); }
}

/* ---------- フォーム ---------- */
.cform { padding: 100px 0 40px; }
.cform__form { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.cform__row { display: flex; align-items: flex-start; margin-bottom: 24px; }
.cform__label {
  flex: 0 0 271px;
  padding-top: 22px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cform__req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 18px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.cform__field { flex: 0 0 670px; max-width: 100%; }
.cform__field input,
.cform__field select,
.cform__field textarea {
  width: 100%;
  height: 66px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dfebe7;
  padding: 0 30px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.cform__field input::placeholder,
.cform__field textarea::placeholder { color: #99adb2; }
.cform__field select:invalid { color: #99adb2; }
.cform__field--select { position: relative; }
.cform__field--select select { border: 0; box-shadow: 0 4px 5px rgba(27, 53, 146, 0.1); cursor: pointer; }
.cform__field--select::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-30%);
  border-style: solid;
  border-width: 8px 6px 0 6px;
  border-color: var(--ink) transparent transparent transparent;
  pointer-events: none;
}
.cform__field--textarea textarea { height: 228px; padding: 22px 30px; resize: vertical; line-height: 1.9; }
.cform__privacy {
  margin: 32px auto 0;
  max-width: 935px;
  height: 44px;
  border-radius: 100px;
  background: #dfebe7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}
.cform__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 62px auto 0;
  width: 354px;
  height: 60px;
  border: 0;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 6px 5px rgba(27, 53, 146, 0.15);
  transition: 0.2s;
}
.cform__submit:hover { opacity: 0.85; transform: translateY(-1px); }
.cform__submit-arrow { margin-left: 12px; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.cform__privacy a { color: var(--orange); text-decoration: underline; }

/* ============================================================
   SP
   ============================================================ */
@media (max-width: 768px) {
  .page-hero__box--contact { min-height: 0; padding-bottom: 44px; }

  .cform { padding: 56px 0 20px; }
  .cform__form { padding: 0 20px; }
  .cform__row { flex-direction: column; margin-bottom: 22px; }
  .cform__label { flex: none; padding-top: 0; margin-bottom: 10px; font-size: 15px; }
  .cform__field { flex: none; width: 100%; }
  .cform__field input, .cform__field select { height: 56px; padding: 0 20px; }
  .cform__field--textarea textarea { height: 200px; padding: 16px 20px; }
  .cform__privacy { height: auto; padding: 12px 20px; border-radius: 24px; font-size: 12px; text-align: center; }
  .cform__submit { margin-top: 40px; width: 100%; max-width: 354px; }
}
