.contact_form {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  margin-top: 40px;
}

.hidden-fields-container,
.screen-reader-response,
.wpcf7-response-output {
  /* display: none; */
}
.wpcf7-form.invalid .wpcf7-response-output{
  display: none;
}
.wpcf7 form.sent .wpcf7-response-output{
  text-align: center;
}
.wpcf7-form.init .wpcf7-not-valid-tip {
  display: none;
}
.wpcf7-form.init .wpcf7-not-valid {
  border: none !important;
}
.required {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 160%;
  letter-spacing: 10%;
  color: #F33F20;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #F33F20;
}

.contact_form .wpcf7-not-valid {
  border: 1px solid #F33F20 !important;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #F33F20;
  font-size: 12px;
}

.contact-form-page .form_row {
  margin-bottom: 16px;
  display: flex;
  align-items: start;
  gap: 64px;
}

.contact-form-page .form_row>p {
  max-width: 260px;
  width: 100%;
  flex-shrink: 0;
}

.contact-form-page .form_row p {
  margin: 0;
}

.contact-form-page .custom-flex-group.form_row {
  align-items: start;
}

.contact-form-page .form_row .group-label {
  max-width: 260px;
  width: 100%;
  flex-shrink: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 10%;
  color: #2E2E2E;
}

.contact-form-page .form_row .group-input {
  max-width: 576px;
  width: 100%;
  flex-shrink: 0;
}

.contact-form-page .form_row input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.contact-form-page .form_row textarea {
  width: 100%;
  padding: 14px 16px;
  padding-right: 0;
  background: #F2F5F5;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 160%;
  letter-spacing: 10%;
  color: #2E2E2E;
  border-radius: 4px;
  border: none;
  outline: none;
}

.contact-form-page .form_row textarea {
  min-height: 224px;
}

.contact-form-page .form_row input::placeholder,
.contact-form-page .form_row textarea::placeholder {
  color: #2E2E2E4D;
}

.contact-form-page .form_row input::placeholder {
  color: #2E2E2E4D;
}

.contact-form-page .form_row input::-webkit-input-placeholder {
  color: #2E2E2E4D;
}

.contact-form-page .form_row input:-ms-input-placeholder {
  color: #2E2E2E4D;
}

.custom-checkbox {
  align-items: start !important;
}

.custom-checkbox-item {
  display: flex;
  flex-direction: column;
}

.custom-checkbox-item .wpcf7-list-item {
  padding: 8px;
  margin: 0;
}

.contact-form-page .custom-checkbox input[type="checkbox"] {
  width: 13px;
  height: 13px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;

  border: 1px solid #E5E5E5;
  border-radius: 2px;
  margin: 0;
  background: #fff;
}

.contact-form-page .custom-checkbox input[type="checkbox"]:checked {
  background-image: url("../images/contact/check.svg");

  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

.contact-form-page .custom-checkbox-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #2E2E2E;
}

.custom-policy .wpcf7-list-item .wpcf7-list-item-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #2E2E2E;
}

.custom-policy .wpcf7-list-item .wpcf7-list-item-label a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #2E2E2E;
  text-decoration: underline;
}

.custom-policy .wpcf7-list-item input[type="checkbox"] {
  width: 13px;
  height: 13px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;

  border: 1px solid #E5E5E5;
  border-radius: 2px;
  margin: 0;
  background: #fff;
}

.custom-policy .wpcf7-list-item input[type="checkbox"]:checked {
  background-image: url("../images/contact/check.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

.custom-policy .wpcf7-list-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #2E2E2E;
}

.form_submit {
  cursor: pointer;
  max-width: 200px;
  margin: 0 auto;
  margin-top: 40px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #038546 0%, #168C62 100%);
  border-radius: 48px;
  cursor: pointer;
  transition: 0.3s all;
  border: 1px solid #038546;
}

.form_submit:hover {
  border: 1px solid transparent;
  border-radius: 48px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #038546 0%, #168C62 100%) border-box;
}

.form_submit:hover input {
  color: #038546;
}

.form_submit:hover svg path {
  fill: #038546 !important;
  stroke: #038546 !important;
}

.form_submit p {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;

}

.form_submit input {
  background: none;
  outline: none;
  border: none;
  color: #FFFFFF;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 8%;

}

.desc-form {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 10%;
  text-align: center;
  color: #2E2E2E;

  margin-top: 64px;
}

@media(max-width: 768px) {
  .contact-form-page .form_row {
    margin-bottom: 16px;
    gap: 8px;
    flex-direction: column;
  }

  .contact-form-page .form_row .group-label {
    font-size: 15px;
  }

  .custom-policy {
    gap: 0 !important;
  }

  .form_submit {
    max-width: 132px;
    padding: 12px 24px;
  }

  .form_submit input {
    font-size: 14px;
  }

  .desc-form {
    font-size: 14px;
  }
}


.contact-form-page-infor {
  display: flex;
  gap: 63px;
  align-items: center;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .contact-form-page-infor {
    flex-direction: column;
    gap: 0;
  }

  .desc-form {
    margin-top: 40px;
  }
}

.contact-form-page-infor .left {
  max-width: 633px;
  width: 100%;
}

.contact-form-page-infor .left img {
  width: 100%;
}

.contact-form-page-infor .right {
  max-width: 429px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form-page-infor .right .box-flex-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-form-page-infor .right .box-flex-custom .box-infor {
  padding: 6px 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: 8%;
  color: #FFFFFF;
  background: #0DA183;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .contact-form-page-infor .right .box-flex-custom .box-infor {
    font-size: 15px;
    padding: 4px 6px;
  }
}

.contact-form-page-infor .right .box-flex-custom .date-to-time {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 8%;
  color: rgba(46, 46, 46, 0.8);
}

@media (max-width: 768px) {
  .contact-form-page-infor .right .box-flex-custom .date-to-time {
    font-size: 13px;
  }
}

.contact-form-page-infor .right .number {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 140%;
  letter-spacing: 8%;
  text-align: center;
  color: #2E2E2E;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .contact-form-page-infor .right .number {
    font-size: 40px;
  }
}

.contact-form-page-infor .right .box-flex-column {
  width: 100%;
  padding-top: 16px;
  padding-bottom: 24px;
  background: #EDF6F5;
  border-radius: 4px;
}

.contact-form-page-infor .right .box-flex-column .title {
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 8%;
  color: #2E2E2E;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.contact-form-page-infor .right .box-flex-column .all-button-hover {
  max-width: 356px;
  margin-top: 0;
}

@media (max-width: 768px) {
  .contact-form-page-infor .right .box-flex-column .all-button-hover {
    max-width: 313px;
    font-size: 14px;
  }
}