@charset "UTF-8";
/* contact */
.contact {
  position: relative;
}
.contact-inner {
  position: relative;
  width: 100%;
  background: #fbfbe2;
  border: 10px solid #f5ea29;
  border-radius: 10px;
  padding: 80px 20px;
}
.contact-inner::before {
  content: "";
  position: absolute;
  top: -37px;
  left: 51%;
  transform: translate(-50%,0);
  width: 59px;
  height: 67px;
  background: url("../images/pin.png") no-repeat center / contain;
}
.contact-form {
  max-width: 750px;
  margin: 0 auto;
}
.contact-form .inner {
  max-width: 560px;
  margin: 0 auto;
}
.contact .section-title {
  max-width: 750px;
  margin: 0 auto 25px;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
}
.contact-text__wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 2.4rem;
  line-height: 2;
  font-weight: bold;
}
.contact-text:first-of-type {
  max-width: 480px;
  margin: 40px auto;
  text-align: center;
}
.contact-text:last-of-type {
  margin-top: 40px;
  font-weight: 500;
}
.contact-text:has(.check-icon) {
  max-width: 440px;
  margin: 0 auto;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}
.contact-text.text-small {
  margin-top: 40px;
  font-size: 1.4rem;
}
.contact-text .check-icon {
  max-width: 38px;
}
.contact-text .check-icon + span {
  font-size: 3rem;
  margin-left: 15px;
}
.contact-text .font-min {
  font-size: 1.2rem;
}
.contact-image {
  max-width: 440px;
  margin: 30px auto;
}

/* form */
.apply .form-list {
  margin-bottom: 20px;
}
.apply .form-list__item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.apply .form-list__item label {
  font-weight: bold;
}
.apply .required {
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 10px;
  background: #f08b84;
  font-size: 1.4rem;
  letter-spacing: 0.16em;
  font-weight: bold;
  color: #fff;
}
.apply .form-parts,
.apply .form-list #type-business__text,
.apply .form-list #type-business .wpcf7-free-text {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 4px 10px;
  background: #fff;
  border: 2px solid #161720;
  border-radius: 10px;
  outline: none;
}
.apply input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 270px;
  margin: 40px auto 0;
  height: 66px;
  background-color: #fff;
  border: 3px solid #f08b84;
  border-radius: 10px;
  font-size: 2.2rem;
  text-align: center;
  color: #f08b84;
  font-weight: bold;
  letter-spacing: 0.1em;
  transition: .3s;
}
.apply input[type="submit"]:hover {
  color: #fff;
  background-color: #f08b84;
}
.wpcf7 form.invalid .wpcf7-response-output {
  margin-top: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

@media screen and (max-width: 768px) {
  .contact-inner {
    padding: 60px 20px;
  }
  .contact-text .check-icon + span {
    margin-left: 10px;
  }
  .contact-inner::before {
    width: 40px;
  }
  .contact .section-title {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 570px) {
  .contact-text .check-icon {
    max-width: 20px;
  }
  .contact-text .check-icon + span {
    margin-left: 2px;
    font-size: 1.8rem;
  }
  .contact-text__wrap {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 375px) {
  .contact-inner {
    padding: 60px 10px;
    border: 6px solid #f5ea29;
  }
  .apply input[type="submit"] {
    font-size: 1.8rem;
  }
}
