@import "http://fonts.googleapis.com/earlyaccess/notosansjapanese.css";
.contact-background {
  background-image: url("../../img/page/contact/contact-banner.png") !important;
}

.contact-form-description {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  color: #222222;
  margin-top: 62px;
  margin-bottom: 30px;
}

.contact-content-container {
  display: flex;
  justify-content: center;
}
.contact-content-container .wpcf7 {
  max-width: 856px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F7F7F7;
  padding: 40px 54px;
  border-radius: 10px;
  margin-bottom: 95px;
}
.contact-content-container .wpcf7 p label {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #2C2F2C;
  font-weight: 500;
}
.contact-content-container form {
  width: 100%;
}
.contact-content-container .name-form {
  font-size: 18px;
  line-height: 24px;
}

.title-name-form {
  gap: 16px;
}
.title-name-form .title-required-form {
  font-size: 12px;
  color: #DB5D00 !important;
  padding: 2px 17px;
  border: 1px solid #DB5D00;
  border-radius: 5px;
  height: max-content;
  background-color: #FFFFFF;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wpcf7-form-control-wrap {
  max-width: 457.26px;
  width: 100%;
}
.wpcf7-form-control-wrap .wpcf7-form-control {
  border: 2px solid #5693D0;
  width: 100%;
  padding: 15.5px 13px;
  border-radius: 5px;
}
.wpcf7-form-control-wrap textarea {
  height: 120px;
}
.wpcf7-form-control-wrap:has(.wpcf7-select):after {
  content: "";
  background-image: url("../../img/page/contact/icon-selectbox.png");
  width: 20px;
  height: 7px;
  background-repeat: no-repeat;
  background-size: 20px 7px;
  position: absolute;
  top: 22px;
  right: 13px;
  z-index: 9999;
}

.checkbox-policy {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 14px;
  margin-top: 17px;
}
.checkbox-policy a {
  color: #02459C;
  text-decoration: underline;
}

.wpcf7 .wpcf7-submit {
  right: -50%;
  position: relative;
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  color: #FFFFFF;
  background-color: #02459C;
  border-radius: 5px;
  padding: 19px 132.5px;
  border: unset;
  margin-top: 40px;
  cursor: pointer;
}
.wpcf7 .wpcf7-submit:hover {
  color: #FFFFFF;
  background-color: #0249AF;
}

.wpcf7-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}
.wpcf7-select option {
  padding: 8px 13px;
}

.contact-form-description-sp {
  display: none;
}

@media only screen and (max-width: 768px) {
  .interview-background-sp {
    opacity: 0.1 !important;
  }
  .wpcf7 .wpcf7-submit {
    margin-top: 21.5px;
    padding: 16.5px 132.5px;
  }
  .checkbox-policy {
    margin-top: 27px;
  }
  .title-name-form .title-required-form {
    padding: 0.5px 16px;
  }
  .contact-content {
    flex-wrap: wrap;
  }
  .contact-heading {
    width: 100%;
    margin-bottom: 2rem;
  }
  .contact-btn {
    width: 100%;
    min-width: 0;
  }
  .form_wrapBox {
    margin-left: 60px;
  }
  .contact .form_wrap label {
    width: 100%;
    line-height: 1;
  }
  .contact .form_wrap .input {
    width: 100%;
    padding-left: 2rem;
  }
  .form_box {
    width: 67%;
    padding-left: 2rem;
  }
  .thanks__title {
    font-size: 2.4rem;
  }
  .thanks__heading {
    text-align: left;
  }
}
@media screen and (max-width: 600px) {
  .contact-content {
    margin-bottom: 4rem;
  }
  .contact .form_wrap label {
    width: 100%;
  }
  .contact .form_wrap .input {
    width: 100%;
    padding-left: 0rem;
  }
  .contact .form_wrap .input input {
    margin-top: 1rem;
  }
  .contact .form_wrap .input textarea {
    margin-top: 1rem;
  }
  .contact .form .submit-btn button {
    width: 100%;
  }
  .contact .form .submit-btn input[type=submit] {
    width: 100%;
  }
  .form_box {
    width: 100%;
    padding-left: 0rem;
  }
  .file-update {
    width: 45% !important;
    margin-bottom: 0 !important;
  }
  .submit_confirm:last-child {
    margin-left: 0;
  }
}
@media screen and (max-width: 320px) {
  .contact-btn_num {
    font-size: 2.2rem;
  }
}
@media only screen and (max-width: 480px) {
  .form_wrapBox {
    width: 100%;
    margin-left: 2px;
  }
  .thanks__title {
    font-size: 2.4rem;
  }
  .thanks__heading {
    text-align: left;
  }
}
@media screen and (max-width: 375px) {
  .contact .form_wrap label {
    font-size: 1.6rem;
    line-height: 1.5;
  }
}
@media screen and (max-width: 830px) {
  .wpcf7-form {
    gap: 18px;
  }
  .contact-content-container .wpcf7 {
    padding: 31px 15px 60px 15px;
  }
  .contact-content-container .wpcf7 p label {
    flex-direction: column;
    align-items: baseline;
    margin-top: 1.5px;
  }
  .contact-content-container .wpcf7 p .title-name-form {
    flex-direction: row;
    justify-content: left;
    gap: 11px;
  }
  .contact-content-container .name-form {
    font-size: 16px;
  }
  .wpcf7-form-control-wrap {
    max-width: unset;
  }
  .wpcf7-form-control-wrap .wpcf7-form-control {
    padding: 12.5px 13px;
    border: unset;
  }
  .wpcf7-form-control-wrap:has(.wpcf7-select):after {
    display: none;
  }
  .wpcf7 .wpcf7-submit {
    width: 100%;
  }
  .contact-form-description-pc {
    display: none;
  }
  .contact-form-description-sp {
    display: flex;
    line-height: 26px;
  }
}
