#sub .main_visual {
  background: url(../../policy/images/main_object.png) no-repeat;
  background-size: cover;
  height: 28vw;
  width: 100%;
  margin: 120px 0 170px;
  display: flex;
  align-items: center;
  position: relative;
}
@media screen and (max-width: 749px) {
  #sub .main_visual {
    height: 88vw;
    background: url(../../policy/images/main_object_sp.png) no-repeat;
    background-size: cover;
    margin: 100px 0 100px;
  }
}
#sub .main_visual::after {
  content: "";
  height: 1px;
  background: #D6DDE8;
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: -50px;
}
@media screen and (max-width: 749px) {
  #sub .main_visual::after {
    left: 17px;
    right: 17px;
    bottom: -7vw;
  }
}
#sub .main_visual h1 {
  font-size: clamp(72px, 72px + 50 * (100vw - 375px) / 375, 122px);
  line-height: 0.8;
  font-family: Figtree, sans-serif;
  font-weight: 500;
  letter-spacing: -3%;
  padding-left: 180px;
}
@media screen and (max-width: 749px) {
  #sub .main_visual h1 {
    line-height: 0.9;
    padding-left: 17px;
    position: relative;
    top: -14vw;
  }
}
#sub .main_visual h1 .lightgray {
  color: #E0E5EB;
}
#sub .main_visual h1 .blue {
  color: #0072D4;
}
#sub .main_visual h1 .sub_title {
  display: block;
  font-size: clamp(16px, 16px + 4 * (100vw - 375px) / 375, 20px);
  margin-top: 46px;
}

#sub .contact_section {
  padding: 0 200px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 137px;
}
@media screen and (max-width: 749px) {
  #sub .contact_section {
    padding: 0 17px;
  }
}
#sub .contact_section .intro {
  margin-bottom: 60px;
  font-size: clamp(14px, 14px + 2 * (100vw - 375px) / 375, 16px);
  text-align: center;
}
#sub .contact_section .contact_form_wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 48px 40px;
}
@media screen and (max-width: 749px) {
  #sub .contact_section .contact_form_wrapper {
    padding: 32px 20px;
  }
}
#sub .contact_section #contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
#sub .contact_section .form_group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}
#sub .contact_section .form_group .required {
  color: #e74c3c;
  margin-left: 4px;
}
#sub .contact_section .form_group input,
#sub .contact_section .form_group select,
#sub .contact_section .form_group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D6DDE8;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
  color: #111;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
#sub .contact_section .form_group input:focus,
#sub .contact_section .form_group select:focus,
#sub .contact_section .form_group textarea:focus {
  outline: none;
  border-color: #0072D4;
}
#sub .contact_section .form_group input.has_error,
#sub .contact_section .form_group select.has_error {
  border-color: #e74c3c;
}
#sub .contact_section .form_group textarea {
  resize: vertical;
  min-height: 120px;
}
#sub .contact_section .form_group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
#sub .contact_section .error_message {
  display: none;
  color: #e74c3c;
  font-size: 13px;
  margin: 6px 0 0;
}
#sub .contact_section .submit_btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 32px auto 0;
  padding: 16px 40px;
  background: #0072D4;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}
#sub .contact_section .submit_btn:hover {
  opacity: 0.85;
}
#sub .contact_section .submit_btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#sub .contact_section .submit_result {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}
#sub .contact_section .submit_result.success {
  color: #27ae60;
}
#sub .contact_section .submit_result.error {
  color: #e74c3c;
}
#sub .contact_section .submit_result.error a {
  color: #0072D4;
}
