@charset "UTF-8";
/*****************************
 l-diagnosis
*****************************/
.l-diagnosis__heading {
  margin-bottom: 0;
  border-bottom: none;
  text-align: center;
  color: #ff9325;
}
.l-diagnosis__note {
  margin-bottom: 40px;
  font-size: 1.4rem;
  line-height: 1.8;
}
.l-diagnosis__form-note {
  display: block;
  margin-top: 10px;
  font-size: 1.4rem;
}
.l-diagnosis__form-group .l-diagnosis__form-note {
  margin-bottom: 50px;
  font-size: 1.8rem;
}
label[for="disease"] .l-diagnosis__form-note {
  margin-bottom: 0;
}
/* form */
.required + label {
  display: inline-block;
  margin-bottom: 25px;
}
.l-diagnosis__form {
  margin-bottom: 35px;
}
.forml-diagnosis__form label {
  display: block;
  margin-bottom: 15px;
}
.form-list:not(:last-of-type) {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.form-list__item {
  margin-bottom: 20px;
  padding-top: 20px;
}
.select-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
.form-list__select {
  width: 100%;
  padding: 12px 38px 12px 18px;
  border: 2px solid #ff5959;
  background: #fff;
  border-radius: 30px;
  color: #ff5959;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.select-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #ff5959;
  transform: translate(0, 0);
  pointer-events: none;
  z-index: 2;
}
.select-wrapper.selected .select-arrow {
  border-top: 9px solid #4bc23b;
  transform: translate(0, 0);
}
.select-wrapper.has-error .select-arrow {
  border-top: 9px solid #ff5959;
  transform: translate(0, -25px);
}
.form-text {
  position: relative;
  padding-bottom: 35px;
}
.form-text p {
  margin-bottom: 10px;
  font-size: 1.8rem;
  text-align: center;
}
.form-text:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2vh;
  background-size: 10px 10px;
  background-image: linear-gradient(
  -45deg
  , #fff, #fff 45.5%, #f49e00 51.5%, #f49e00 52.5%, #fff 56.5%, #fff );
  background-repeat: repeat-x;
}
.form-list__item {
  margin-bottom: 10px;
}
.form-list .form-list__input {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding: 12px 18px;
  border: 2px solid #ff5959;
  background: #fff;
  border-radius: 30px;
}
/* radio button */
[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
}
.form-list__button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 230px;
  margin: 20px auto 0;
  padding-bottom: 10px;
}
.form-list__button input+label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 50px;
  padding: 0px;
  border: 2px solid#ff5959;
  border-radius: 25px;
  text-align: center;
  line-height: 3.4;
  color: #ff5959;
  background: #fff;
  z-index: 0;
}
.form-list__button input+label:first-of-type {
  margin-right: 20px;
}
.form-list__button input:checked+label {
  color: #fff;
  border: 2px solid #4bc23b;
  background: #4bc23b;
}
.form-list__button input:checked+label::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  width: 100%;
  height: 100%;
  font-weight: bold;
  z-index: -1;
  color: #fff;
  background: #4bc23b;
  border: 2px solid #4bc23b;
  border-radius: 25px;
  transform: translate(0, -50%);
}
.form-list .form-list__input.l-diagnosis__textarea {
  border-radius: 10px;
  background: #fff;
}
/* required */
.required {
  display: block;
  width: 40px;
  height: 25px;
  background: #ff5959;
  border-radius: 15px;
  margin-bottom: 10px;
  padding: 4px 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}
::placeholder {
  color: #a6aba7;
}
.alert-text {
  display: none;
  font-weight: bold;
  color: #ff5959;
}
/* btn-submit */
.c-btn-submit-diagnosis {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 65px;
  max-width: 280px;
  margin: 0 auto;
  background: #FF9225;
  background: linear-gradient(180deg,rgba(255, 146, 37, 1) 0%, rgba(255, 113, 19, 1) 100%);
  box-shadow: 3px 4px 6px 0 #d8d8d8;
  border: 2px solid #fff;
  border-radius: 55px;
  text-align: center;
  transition: .3s;
}
.c-btn-submit-diagnosis button {
  width: 100%;
  height: 100%;
}
.c-btn-submit-diagnosis:has(button:hover) {
  box-shadow: none;
  transition: .3s;
  transform: translate(0,3px);
}
.c-btn-cta-link {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s;
}
.c-btn-submit-diagnosis .c-btn-content {
  display: block;
  width: 75%;
  object-fit: cover;
  margin: 0 0 0 auto;
  padding: 0px 20px;
}
/* check-mark */
.check-mark {
  max-width: 20px;
  vertical-align: sub;
  margin: 0 0 1px 2px;
}
/* wp */
.wpcf7-list-item:first-of-type {
  margin: 0;
}
.form-list__button .wpcf7-form-control.wpcf7-radio {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
}
.form-list__button .wpcf7-list-item input + span.wpcf7-list-item-label {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 50px;
  padding: 0px;
  border: 2px solid #ff5959;
  border-radius: 25px;
  text-align: center;
  line-height: 3.4;
  color: #ff5959;
  background: #fff;
  z-index: 0;
}
.form-list__button .wpcf7-list-item input:checked + span.wpcf7-list-item-label {
  color: #fff;
  border: 2px solid #4bc23b;
  background: #4bc23b;
}
.wpcf7-form-control-wrap {
  line-height: 0;
}
.form-list__select.wpcf7-form-control,
textarea.wpcf7-form-control {
  line-height: 1.5;
}
.wpcf7-not-valid-tip {
  color: #ff5959!important;
  margin-top: 15px;
  line-height: 1.5;
}
.c-btn-submit-diagnosis .wpcf7-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: url('../images/btn-submit_content.png') no-repeat center center / 75%;
  color: transparent;
  text-indent: -9999px;
}
.c-btn-submit-diagnosis input.wpcf7-submit {
  width: 75%;
  margin: 0 0 0 auto;
}
.c-btn-submit-diagnosis:has(.wpcf7-submit:hover) {
  box-shadow: none;
  transform: translate(0, 3px);
  transition: .3s;
}
.wpcf7-response-output {
  margin-top: 20px;
  color: #ff5959;
}
.wpcf7-spinner {
  position: absolute !important;
  right: -20px;
  width: 15px !important;
  height: 15px !important;
  margin: 0 !important;
}
@media screen and (min-width: 768px) {
  /*****************************
  l-diagnosis
  *****************************/
  /* diagnosis */
  section.l-diagnosis {
    margin-bottom: 0;
    padding: 100px 0;
    background: #fffce9;
  }
  .l-diagnosis .l-section-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 60px 45px;
    background: #fff;
    border-radius: 40px;
  }
  .l-diagnosis__heading {
    margin-bottom: 20px;
  }
  .l-diagnosis__note {
    font-size: 1.8rem;
  }
  /* form */
  .l-diagnosis__form {
    max-width: 500px;
    margin: 0 auto;
  }
  .form-list:not(:last-of-type) {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }
  .form-list__select {
    height: 70px;
    font-size: 2rem;
    border: 3px solid #ff5959;
    border-radius: 35px;
  }
  .form-list__button {
    max-width: 335px;
    font-size: 2rem;
    padding-bottom: 0;
  }
  .form-list .form-list__input {
    height: 70px;
    border-radius: 35px;
  }
  .form-list .form-list__input.l-diagnosis__textarea {
    height: auto;
  }
  .form-list__button input+label {
    width: 140px;
    height: 70px;
    border-radius: 35px;
    line-height: 3;
    border: 3px solid#ff5959;
  }
  .form-list__button input:checked+label::after {
    border-radius: 35px;
  }
  .form-list .form-list__input {
    font-size: 2rem;
    border: 3px solid#ff5959;
  }
  .form-list {
    font-size: 2rem;
  }
  .form-text {
    padding-bottom: 45px;
  }
  .form-text p {
    margin-bottom: 20px;
    font-size: 2rem;
  }
  .form-text:after {
    background-size: 15px 15px;
  }
  .l-diagnosis__form-group .l-diagnosis__form-note {
    max-width: 500px;
    margin: 40px auto;
  }
  label[for="disease"] .l-diagnosis__form-note {
    max-width: none;
  }
  .c-btn-submit-diagnosis {
    height: 70px;
  }
  /* required */
  .required {
    width: 56px;
    height: 34px;
    margin-bottom: 20px;
    border-radius: 17px;
    font-size: 1.6rem;
    text-align: center;
  }
  /* check-mark */
  .check-mark {
    margin: 0;
    vertical-align: unset;
  }
  /* wp */
  .wpcf7-list-item.last {
    margin: 0 0 0 2em !important;
  }
  .form-list__button .wpcf7-form-control.wpcf7-radio {
    max-width: none;
  }
  .form-list__button .wpcf7-list-item input + span.wpcf7-list-item-label {
    width: 140px;
    height: 70px;
    border-radius: 35px;
    line-height: 3;
    border: 3px solid#ff5959;
  }
}