@charset "UTF-8";
.contact .p {
  text-align: justify;
  margin-bottom: 40px;
}
.contact .dl_box {
  border-top: solid 1px #111;
}
.contact dl {
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 25px 0;
  border-bottom: solid 1px #111;
}
.contact dl dt {
  width: 30%;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.contact dl dt .caption {
  display: block;
  font-size: 14px;
}
.contact dl dd {
  margin: 0;
  width: 65%;
}
.contact dl dd input {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 94%;
  font-size: 17px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #e8f1f9;
  border-radius: 5px;
}
.contact dl dd .input02 input {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 15%;
  font-size: 17px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #e8f1f9;
  border-radius: 5px;
  margin-bottom: 10px;
}
.contact dl dd textarea {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 94%;
  font-size: 17px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #e8f1f9;
  border-radius: 5px;
  display: block;
  height: 150px;
}
.contact .required {
  font-size: 12px;
  color: #fff;
  background-color: #f2635f;
  padding: 3px 10px 4.5px;
  border-radius: 50px;
}
::placeholder {
  color: #aaa;
}
/*ラジオボックス*/
.contact .radio_box span.wpcf7-list-item {
  display: inline-block;
  margin-right: 25px;
}
.contact .business .radio_box span.wpcf7-list-item {
  display: block;
  margin: 5px 0;
}
.contact .radio_box input[type="radio"] {
  display: none;
}
.contact .radio_box input[type="radio"] + .wpcf7-list-item-label {
  position: relative;
  cursor: pointer;
  padding-left: 30px;
  display: flex;
}
.contact .radio_box input[type="radio"] + .wpcf7-list-item-label:before, .contact .radio_box input[type="radio"] + .wpcf7-list-item-label:after {
  position: absolute;
  content: '';
  top: 50%;
  border-radius: 100%;
}
.contact .radio_box input[type="radio"] + .wpcf7-list-item-label::before {
  left: 0;
  width: 18px;
  height: 18px;
  margin-top: -10px;
  border: 1px solid #3d8dcc;
  background-color: #fff;
}
.contact .radio_box input[type="radio"] + .wpcf7-list-item-label:hover::before {
  background: #fff;
}
.contact .radio_box input[type="radio"] + .wpcf7-list-item-label::after {
  opacity: 0;
  left: 3px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: #3d8dcc;
}
.contact .radio_box input[type="radio"]:checked + .wpcf7-list-item-label:before {
  background: #fff;
  border: 1px solid #3d8dcc;
}
.contact .radio_box input[type="radio"]:checked + .wpcf7-list-item-label:after {
  opacity: 1;
}
/*チェックボックス*/
.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 #111;
  background-color: #fff;
  border-radius: 2px;
  content: '';
  display: block;
  height: 18px;
  left: 0;
  margin-top: -9px;
  position: absolute;
  top: 50%;
  width: 18px;
}
.contact .check_box input[type="checkbox"] + .wpcf7-list-item-label::after {
  border-right: 3px solid #3d8dcc;
  border-bottom: 3px solid #3d8dcc;
  content: '';
  display: block;
  height: 9px;
  left: 6px;
  margin-top: -6.5px;
  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 dd.check_box span {
  display: inline-block;
  margin: 5px 25px 5px 0;
}
.contact p.check_box {
  text-align: center;
  margin: 40px auto;
}
.contact p.check_box a {
  color: #3d8dcc;
}
.contact p.check_box .wpcf7-list-item {
  margin: 0 !important;
}
.contact .btn_box {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}
.contact .wpcf7-form-control.wpcf7-submit {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 100%;
  color: #fff;
  background: no-repeat;
  border: none;
  padding: 20px 0 22px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  outline: none;
}
.contact .submit.clear {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 500;
  font-style: normal;
  width: 100%;
  color: #fff;
  background: no-repeat;
  border: none;
  padding: 20px 0 22px;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  outline: none;
}
.contact .btn_box .btn {
  width: 40%;
  margin: 0 3%;
  background-color: #3d8dcc;
  border-radius: 50px;
  transition: all .3s;
}
.contact .btn_box .btn:hover {
  opacity: 0.8;
  transition: all .3s;
}
.wpcf7 .wpcf7-submit:disabled {
  background-color: #ccc;
  border-radius: 50px;
}
.wpcf7-not-valid-tip {
  color: #e63822 !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: #e63822;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: #fef1f0;
  padding: 20px 5%;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-color: none;
  color: #3d8dcc;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: #fff2e1;
  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 {
    display: block;
    padding: 15px 0 20px;
  }
  .contact dl dt {
    width: auto;
    display: block;
    margin-bottom: 10px;
  }
  .contact dl dd {
    width: auto;
  }
  .contact dl dd .input02 {
    width: 30%;
  }
  .contact textarea {
    height: 100px;
  }
  .contact .required {
    position: absolute;
    right: 0;
  }
  /*ラジオボックス*/
  .contact .radio_box span.wpcf7-list-item {
    display: block;
    margin: 5px auto 0;
  }
  /*チェックボックス*/
  .contact dd.check_box span {
    display: block !important;
    margin: 5px auto;
  }
  .contact p.check_box {
    margin: 30px auto;
  }
  .contact .wpcf7-form-control.wpcf7-submit {
    padding: 15px 0 17px;
    font-size: 18px;
    line-height: 30px;
  }
  .contact .submit.clear {
    padding: 15px 0 17px;
  }
  .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;
  }
}