@charset "UTF-8";
.contact .dl_box {
  border-top: solid 1px #ccc;
}
.contact .dl_box dl {
  margin: 0;
  display: flex;
  align-items: center;
  padding: 30px 0;
  border-bottom: solid 1px #ccc;
  font-size: 18px;
}
.contact .dl_box dl dt {
  width: 30%;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
}
.contact .dl_box dl dd {
  margin: 0;
  width: 70%;
}
.contact .dl_box dl dd input {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 94%;
  font-size: 16px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #eee;
  border-radius: 5px;
}
.contact .dl_box dl dd .input02 input {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 15%;
  font-size: 16px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #eee;
  border-radius: 5px;
  margin-bottom: 10px;
}
.contact .dl_box dl dd textarea {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 94%;
  font-size: 16px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #eee;
  border-radius: 5px;
  display: block;
  height: 150px;
}
.contact .required {
  position: absolute;
  right: 15%;
  font-size: 12px;
  color: #fff;
  background-color: #e60012;
  padding: 6px 15px 7px;
  border-radius: 50px;
}
::placeholder {
  color: #aaa;
}
/*チェックボックス*/
.contact .check_box input[type="checkbox"] {
  display: none;
}
.contact .check_box input[type="checkbox"] + .wpcf7-list-item-label {
  padding-left: 30px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.contact .check_box input[type="checkbox"] + .wpcf7-list-item-label::before {
  border: 1px solid #e60012;
  background-color: #fff;
  border-radius: 2px;
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  left: 0;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}
.contact .check_box input[type="checkbox"] + .wpcf7-list-item-label::after {
  border-right: 3px solid #e60012;
  border-bottom: 3px solid #e60012;
  content: '';
  display: block;
  height: 10px;
  left: 7px;
  margin-top: -7px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 5px;
}
.contact .check_box input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
  opacity: 1;
}
.contact .pp_box {
  margin: 40px auto;
  text-align: center;
}
.contact .pp_box h5 {
  font-size: 22px;
  font-weight: 500;
  color: #e60012;
  margin: 0 auto 10px;
}
.contact .pp_box p {
  margin: 0;
}
.contact .pp_box p.check_box {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #e60012;
  margin: 20px auto 0;
}
.contact .pp_box p.check_box .wpcf7-list-item {
  margin: 0 !important;
}
.contact .btn_box {
  display: flex;
  justify-content: center;
  margin: 40px auto 0;
}
.contact .wpcf7-form-control.wpcf7-submit {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 100%;
  color: #e60012;
  background: no-repeat;
  border: none;
  padding: 25px 0 26px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  outline: none;
}
.contact .submit.clear {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 100%;
  color: #e60012;
  background: no-repeat;
  border: none;
  padding: 25px 0 26px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  outline: none;
}
.contact .btn_box .btn {
  width: 400px;
  margin: 0 2.5%;
  background-color: #fff;
  border: solid 3px #e60012;
  border-radius: 50px;
  transition: all .3s;
}
.contact .btn_box .btn:hover {
  background-color: #e60012;
  transition: all .3s;
}
.contact .btn_box .btn:hover .wpcf7-form-control.wpcf7-submit {
  color: #fff;
}
.contact .btn_box .btn:hover .submit.clear {
  color: #fff;
}
.wpcf7 .wpcf7-submit:disabled {
  background-color: #eee;
  border-radius: 50px;
}
.wpcf7 .btn:hover .wpcf7-submit:disabled {
  color: #e60012 !important;
}
.wpcf7-not-valid-tip {
  color: #e60012 !important;
  font-weight: 500 !important;
}
.wpcf7-spinner {
  display: none !important;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: none;
  color: #e60012;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: #fdebec;
  padding: 20px 5%;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: none;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: #2ea7e0;
  padding: 20px 5%;
}
.wpcf7 form .wpcf7-response-output {
  border: none !important;
}
span.wpcf7-form-control-wrap {
  width: 100%;
}
@media screen and (max-width:1050px) {
  .contact .dl_box dl {
    display: block;
    padding: 20px 0;
  }
  .contact .dl_box dl dt {
    width: auto;
    margin-bottom: 10px;
  }
  .contact .dl_box dl dd {
    width: auto;
  }
  .contact .dl_box dl dd .input02 input {
    width: 30%;
  }
  .contact .dl_box dl dd textarea {
    height: 150px;
  }
  .contact .required {
    position: absolute;
    top: -5px;
    right: 0;
  }
  .contact .pp_box {
    margin: 30px auto;
  }
  .contact .pp_box h5 {
    font-size: 18px;
  }
  .contact .pp_box p.check_box {
    font-size: 16px;
    margin: 10px auto 0;
  }
  .contact .btn_box {
    margin: 30px auto 0;
  }
  .contact .wpcf7-form-control.wpcf7-submit {
    padding: 15px 0 16px;
    font-size: 18px;
  }
  .contact .submit.clear {
    padding: 15px 0 16px;
    font-size: 18px;
  }
  .contact .btn_box .btn {
    width: 45%;
  }
  input[type="reset"] {
    -webkit-appearance: none;
  }
  input[type="submit"] {
    -webkit-appearance: none;
  }
  input[type="button"] {
    -webkit-appearance: none;
  }
  .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
    font-size: 16px;
  }
  .wpcf7 form.sent .wpcf7-response-output {
    font-size: 16px;
  }
}