@charset "utf-8";

#contact {
  padding: 1.0rem 0;
}

@media screen and (max-width: 640px) {
  #contact {
    padding: 0.8rem 0;
  }
}
/* リード */
#contact .lead {
  text-align: center;
  font-size: 0.16rem;
  line-height: 1.91;
}
@media screen and (max-width: 640px) {
  #contact .lead {
    font-size: 0.14rem;
    text-align: left;
  }
}

#contact .cont_wrap {
  max-width: 8rem;
  width: 100%;
  margin: auto;
  padding-top: 0.60rem;
}

#contact .cont_wrap .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.16rem;
  line-height: 1.85;
  padding: 0.25rem 0;
  border-top: 1px solid #CCC;
}
@media screen and (max-width: 640px) {
  #contact .cont_wrap .list {
    padding: 0.2rem 0;
  }
}
#contact .cont_wrap .list .ttl {
  width: 2.00rem;
  position: relative;
}
@media screen and (max-width: 640px) {
  #contact .cont_wrap .list .ttl {
    width: 100%;
    margin-bottom: 0.1rem;
  }
}

#contact .cont_wrap .list .ttl.required::after {
  content: "必須";
  font-size: 0.11rem;
  font-weight: 500;
  background-color: #e02508;
  color: #FFF;
  padding: 0.02rem 0.04rem 0.04rem;
  line-height: 1;
  border-radius: 0.03rem;
  position: absolute;
  top: 0.06rem;
  right: 0;
}

#contact .cont_wrap .list .txt_box {
  width: calc(100% - 2.20rem);
}
@media screen and (max-width: 640px) {
  #contact .cont_wrap .list .txt_box {
    width: 100%;
  }
}

#contact .cont_wrap .list .txt_box input[type="text"], #contact .cont_wrap .list .txt_box input[type="email"], #contact .cont_wrap .list .txt_box input[type="tel"] {
  background-color: #FFF;
  border: 1px solid #CCC;
  padding: 0.06rem 0.10rem;
  border-radius: 0.03rem;
  width: 100%;
  box-sizing: border-box;
  font-size: 0.16rem;
}

#contact .cont_wrap .list .txt_box .radio input[type="radio"] {
  position: relative;
  top: -0.03rem;
  display: inline-block;
}

#contact .cont_wrap .list .txt_box .radio input[type="radio"] + span {
  display: inline-block;
  padding-left: 0.05rem;
  padding-right: 0.20rem;
}

#contact .cont_wrap .list .txt_box textarea {
  background-color: #FFF;
  border: 1px solid #CCC;
  padding: 0.06rem 0.10rem;
  border-radius: 0.03rem;
  width: 100%;
  min-height: 3.00rem;
  box-sizing: border-box;
  font-size: 0.16rem;
}

#contact .cont_wrap .policy_wrap {
  margin: 0.30rem 0 0.50rem;
  border: 1px solid #CCC;
}

#contact .cont_wrap .policy_wrap .scr_box {
  width: 100%;
  height: 3.00rem;
  overflow-y: scroll;
  padding: 0.30rem;
  box-sizing: border-box;
  font-size: 0.14rem;
  line-height: 1.91;
}

#contact .cont_wrap .policy_wrap .scr_box .box {
  padding-top: 0.20rem;
}

#contact .cont_wrap .policy_wrap .scr_box .box .policy_ttl {
  font-size: 0.15rem;
  font-weight: 700;
}

#contact .cont_wrap .submit_wrap {
  text-align: center;
}

#contact .cont_wrap .submit_wrap .txt {
  font-size: 0.16rem;
  padding-bottom: 0.30rem;
}

#contact .cont_wrap .submit_wrap .btn {
  width: 100%;
  max-width: 3.50rem;
  margin: auto;
}

#contact .cont_wrap .submit_wrap .btn input[type="submit"] {
  display: block;
  border: 0;
  background-color: #246A8C;
  color: #FFF;
  width: 100%;
  padding: 0.20rem 0;
  font-size: 0.18rem;
  font-weight: 700;
  cursor: pointer;
}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output {
  font-size: 0.16rem;
  padding: 0.10rem 0;
  text-align: center;
  box-sizing: border-box;
}