/**
 * お問い合わせページ専用スタイル
 * ヒーロー: newgraduate.html と同様 FV1.png (PC) / FV4.png (SP)
 */

/* ===== お問い合わせ完了ページ ===== */
.main--contact-thanks .main__title { color: #1976d2; }
.main--contact-thanks .main__line { background: #26bbf1; }

/* ===== お問い合わせフォーム ===== */
.contact-form {
  background: #fff;
  padding: 80px 4vw 120px;
}

.contact-form__inner {
  max-width: 720px;
  margin: 0 auto;
}

.contact-form__title {
  font-size: 24px;
  font-weight: 700;
  color: #1976d2;
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.contact-form__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #26bbf1;
  margin: 0 0 24px;
  border: none;
}

.contact-form__intro {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 40px;
}

.contact-form__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.contact-form__label-text {
  flex-shrink: 0;
}

.contact-form__badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #1976d2;
  border-radius: 2px;
}

.contact-form__badge--required {
  background: #1976d2;
}

.contact-form__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #333;
  background: #e6f7ff;
  border: 1px solid #b3e5fc;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form__input::placeholder {
  color: #90a4ae;
}

.contact-form__input:focus {
  outline: none;
  border-color: #1976d2;
  background: #fff;
}

.contact-form__input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form__input--textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form__field--checkbox {
  flex-direction: row;
  align-items: flex-start;
}

.contact-form__checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}

.contact-form__checkbox {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.contact-form__submit-wrap {
  margin-top: 16px;
  text-align: center;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-blue);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: filter 0.2s, box-shadow 0.2s;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 74, 153, 0.35);
}

.contact-form__submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(0, 74, 153, 0.4);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .contact-form { padding: 60px 5vw 100px; }
  .contact-form__title { font-size: 20px; }
  .contact-form__intro { font-size: 14px; margin-bottom: 32px; }
  .contact-form__body { gap: 20px; }
  .contact-form__field { gap: 6px; }
  .contact-form__input { padding: 12px 14px; font-size: 16px; }
  .contact-form__input--textarea { min-height: 120px; }
  .contact-form__submit { min-width: 100%; max-width: 320px; padding: 16px 32px; font-size: 16px; }
}

@media (max-width: 480px) {
  .contact-form { padding: 48px 4vw 80px; }
  .contact-form__title { font-size: 18px; }
  .contact-form__submit-wrap { margin-top: 12px; }
}
