.page-hero-contact {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url("../img/hand_and_phone.avif");
}

.contact-copy {
  max-width: 820px;
  margin-top: 260px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 600;
}

.contact-form-section {
  padding: 120px 20px;
  background: #fff;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-block {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #757575;
}

.form-label span {
  color: #e60033;
}

.radio-list {
  display: flex;
  gap: 70px;
  padding-bottom: 14px;
  border-bottom: 1px solid #333;
}

.radio-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 700;
  color: #757575;
}

.radio-list input[type="radio"] {
  width: auto;
  flex-shrink: 0;
}
.radio-list input {
  width: auto;
  margin: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #333;
  padding: 8px 12px 12px;
  font-size: 16px;
  color: #757575;
}

.contact-form input::placeholder {
  color: #ccc;
  font-weight: 700;
}

.contact-form textarea {
  height: 160px;
  resize: vertical;
}

.submit-button {
  display: block;
  width: 220px;
  height: 54px;
  margin: 50px auto 0;
  border: none;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.submit-button:hover {
  background: #fff;
  color: #333;
  border: 1px solid #333;
}

.submit-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
}

.submit-area .submit-button {
  margin: 0;
}

.form-message {
  font-size: 15px;
  font-weight: 700;
  color: #2d4b9b;
}

.form-message.error {
  color: #d32f2f;
}

.submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* SP */
@media (max-width: 430px) {
  .page-hero-contact {
    height: 225px;
    margin-top: 60px;
    padding-top: 0;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }

  .page-hero-contact .page-hero-inner {
    width: 86%;
    height: 100%;
    display: block;
    padding-top: 18px;
  }

  .page-hero-contact h1 {
    font-size: 30px;
    line-height: 1.1;
    padding-top: 20px;
  }

  .page-hero-contact .page-hero-inner > div p {
    margin-top: 4px;
    font-size: 11px;
  }

  .contact-copy {
    margin-top: 22px;
    margin-left: auto;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
  }

  .contact-form-section {
    padding: 28px 18px 40px;
    background: #fff;
  }

  .contact-form {
    width: 100%;
    max-width: none;
  }

  .form-block {
    margin-bottom: 22px;
  }

  .form-label {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
  }

  .radio-list {
    display: block;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
  }

  .radio-list label {
    display: grid;
    grid-template-columns: 18px auto;
    align-items: center;
    gap: 8px;
    width: fit-content;
  }

  .radio-list input {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 4px 0 6px;
    font-size: 16px;
  }

  .contact-form textarea {
    height: 56px;
  }

  .submit-button {
    width: 180px;
    height: 50px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: #000;
    font-size: 16px;
  }

  .submit-area {
    flex-direction: column;
    gap: 14p;
  }
}
