/* form */
.form__wrap {}
.form__wrap .form__item:not(:first-child) {
  border-top: 2px solid #f3f5f6;
}
.form__item.req > label {
  text-align: left;
  font-weight: bold;
}
.form__item.req > label:before {
  content: '必須';
  background: #ba0a00;
  border-radius: 3px;
  color: #fff;
  margin-right: 1em;
  line-height: 1;
  padding: 0.2em 0.3em;
}
form#mailformpro {
  padding: 0;
}

.wpcf7-checkbox > span.wpcf7-list-item,
.check__list li {
  margin-bottom: 1.42em;
  margin-left: 0;
  display: block;
}
.check__list .input input[type=checkbox] {
  background-color: #fff;
  box-shadow: none;
}
.check__list label {
  border-radius: 0;
  margin: 0 auto;
  display: inline-block;
  white-space: nowrap;
}
.check__list label.mfp_not_checked {
  padding: 0;
  border: 0;
}
.check__list label.mfp_checked {
  padding: 0;
  border: 0;
  background-color: unset;
  box-shadow: none;
}
.check__list label input[type=checkbox] {
  display: none;
}

.wpcf7-checkbox > span.wpcf7-list-item label {
  display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: center;
	align-items: center;
  position: relative;
}
.wpcf7-checkbox > span.wpcf7-list-item input {
  display: none;
}
.wpcf7-checkbox > span.wpcf7-list-item label:before {
  content: "";
  aspect-ratio: 1 / 1;
  position: relative;
  width: 1.88em;
  height: auto;
  border: 2px solid #c0c9cc;
  border-radius: 4px;
  display: inline-block;
  box-sizing: border-box;
  margin-right: .6em;
  /* margin: 0 .6em -.5em 0; */
}
.check__list label i {
  aspect-ratio: 1 / 1;
  position: relative;
  width: 1.88em;
  height: auto;
  border: 2px solid #c0c9cc;
  border-radius: 4px;
  display: inline-block;
  box-sizing: border-box;
  margin: 0 .6em -.5em 0;
}
.check__list label i:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  transform:translate(-50%, -50%);
  background: rgba(251, 236, 33, 0);
  transition: background .3s;
  -webkit-transition: background .3s;
  -ms-transition: background .3s;
  -webkit-transform:translate(-50%, -50%);
  -ms-transform:translate(-50%, -50%);
}
.wpcf7-checkbox > span.wpcf7-list-item label:after, 
.check__list label i:after {
  border-right: 3px solid #fc8905;
  border-bottom: 2px solid #fc8905;
  content: '';
  display: block;
  width: .6em;
  height: 1.2em;
  margin-top: -.7em;
  position: absolute;
  top: 50%;
  left: 0.7em;
  transform: rotate(45deg) translate3d(0, 2px, 0) scale3d(.7, .7, 1);
  transition: transform .2s ease-in-out, opacity .2s ease-in-out;
  opacity: 0;
}
.wpcf7-checkbox > span.wpcf7-list-item:has(input:checked) label:after,
.check__list label input[type=checkbox]:checked + input + span i:after,
.check__list label input[type=checkbox]:checked + span i:after {
    opacity: 1;
    transform: rotate(45deg) scale3d(1,1,1);
}

.form__item .input input[type=text],
.form__item .input input[type=email],
.form__item .input input[type=tel] {
  width: 100%;
  max-width: none;
  background-color: #fff;
  box-shadow: none;
  border: 2px solid #c0c9cc;
  border-radius: 4px;
}
.form__item .input textarea {
  width: 100% !important;
  max-width: none;
  border: 2px solid #c0c9cc;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: none;
}


/* 確認画面 */
div#mfp_phase_confirm h4 {
  padding: 0 0 1em;
  text-align: center;
  font-weight: normal;
}
.thanks {
  text-align: center;
}
.thanks p,
.thanks dl {
  font-size: 1.4rem;
}
.thanks p {
  margin: 3em auto;
}
.thanks dl dt {
  font-weight: bold;
  margin-bottom: 1em;
}
.thanks dl dd {
  line-height: 1.8;
}


.more__btn__wrap .wpcf7-spinner {
  aspect-ratio: 1 / 1;
  width: 1em;
  height: auto;
  padding: .2em;
}
.more__btn__wrap input {
  cursor: pointer;
  background: url(../images/common/icon_arrow.svg) 100% 50% / contain no-repeat;
  padding-right: 5em;
  width: auto;
}



@media all and (max-width: 768px) {



  .section__contact {
    margin-bottom: 20%;
  }
  .form__wrap .form__item {
    margin-bottom: 15px;
  }
  .form__wrap .form__item > p,
  .form__wrap .form__item > label {
    font-size: 1.6rem;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;
    margin: 0;
  }
  .form__wrap .form__item:not(.check__row) > label {
    padding-top: 1.25em;
  }
  .form__wrap .form__item.check__row > label {
    padding-top: 1.25em;
  }
  .form__item.req > label:after {
    font-size: 1.4rem;
    margin-left: 1em;
  }
  .form__wrap .form__item .input {
    margin-top: 1em;
    font-size: 1.4rem;
  }
  .form__item .input input[type=text],
  .form__item .input input[type=email],
  .form__item .input input[type=tel] {
    height: 55px;
    padding: 0 2em;
    font-size: 1.6rem;
  }
  .form__item .input.date input {
    max-width: 256px;
  }
  .form__item .input textarea {
    width: 100% !important;
    min-height: 255px;
    padding: 1em 2em;
  }

  .more__btn__wrap input {
    font-size: 1.6rem;
  }
  

}



@media all and (min-width: 769px) {

  .section__contact {
    margin-bottom: 110px 
  }
  .form__wrap .form__item {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    padding: 27px 0;
  }
  /* .form__wrap .form__item > p, */
  .form__wrap .form__item > label {
    width: 28.57%;
    font-size: 16px;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;
    margin: 0;
    height: 45px;
  }
  .form__wrap .form__item:not(.check__row) > label {
    /* padding-top: 1.25em; */
  }
  .form__wrap .form__item.check__row > label {
    /* padding-top: .25em; */
  }
  .form__item.req > label:before {
    font-size: 14px;
  }
  .form__wrap .form__item .input {
    flex: 1;
    font-size: 1.4rem;
  }
  .wpcf7-checkbox > span.wpcf7-list-item,
  .form__item .input ul li {
    font-size: 16px;
  }


  .form__item .input input[type=text],
  .form__item .input input[type=email],
  .form__item .input input[type=tel] {
    height: 45px;
    padding: 0 1em;
    font-size: 16px;
  }
  .form__item .input textarea {
    width: 100% !important;
    min-height: 400px;
    font-size: 16px;
    padding: .5em 1em;
  }
  .more__btn__wrap {
    margin-top: 110px;
  }
  /* .more__btn__wrap > * {
    width: 280px;
    height: 66px;
  } */
  .more__btn__wrap > * span {
    font-size: 18px;
  }

  div#mfp_phase_confirm h4 {
    font-size: 3rem;
  }

  #mfp_thanks {
    font-size: 1.6em;
  }






}

div.mfp_err {
  background-position: 0px 50%;
}




