@charset "UTF-8";
.contents.contact .wrap {
  padding: 30px 10% 60px;
  border-radius: 10px;
  background-color: #fff;
  border: solid 2px #58492a;
  position: relative;
  z-index: 1;
}
.contact dl {
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 25px 0;
  border-bottom: solid 1px #58492a;
  font-size: 17px;
}
.contact dl dt {
  width: 30%;
  font-weight: 400;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
}
.contact dl dd {
  margin: 0;
  width: 65%;
}
.contact dl dd .input {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 94%;
  font-size: 17px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #f2f5e9;
  border-radius: 5px;
}
.contact dl dd .input02 {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 15%;
  font-size: 17px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #f2f5e9;
  border-radius: 5px;
  margin-bottom: 10px;
}
.contact dl dd textarea {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 400;
  font-style: normal;
  width: 94%;
  font-size: 17px;
  padding: 15px 3%;
  outline: none;
  border: none;
  background-color: #f2f5e9;
  border-radius: 5px;
  display: block;
  height: 150px;
}
.contact .required {
  font-size: 12px;
  color: #fff;
  background-color: #58492a;
  padding: 3px 10px 4.5px;
  border-radius: 50px;
}
::placeholder {
  color: #aaa;
}
p.error_messe {
  margin: 5px 0;
  color: #c14533;
}
p.error {
  color: #c14533;
}
/*チェックボックス*/
.contact .check_box input[type="checkbox"] {
  display: none;
}
.contact .check_box label {
  padding-left: 30px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.contact .check_box label::before {
  border: 1px solid #58492a;
  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 label::after {
  border-right: 3px solid #6fc16f;
  border-bottom: 3px solid #6fc16f;
  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 + label::after {
  opacity: 1;
}
.contact .pp_box {
  margin: 40px auto;
  text-align: center;
}
.contact .pp_box h5 {
  font-size: 24px;
  font-weight: 400;
  color: #6fc16f;
  margin: 0 auto 10px;
}
.contact .pp_box p {
  margin: 0;
}
.contact .pp_box p.check_box {
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  color: #6fc16f;
  margin: 20px auto 0;
}
.contact .btn_box {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 50px auto 0;
}
.contact .submit {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 400;
  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: #6fc16f;
  border-radius: 10px;
  transition: all .3s;
}
.contact .btn_box .btn:hover {
  opacity: 0.8;
  transition: all .3s;
}
.contact.second {
  padding: 150px 0 200px;
}
.contact.second .inner {
  min-height: 500px;
}
.contact.second h4 {
  font-size: 38px;
  font-weight: 300;
  margin: 0 auto 20px;
  color: #58492a;
  text-align: center;
}
.contact.second .p {
  font-size: 15px;
  text-align: center;
  margin-bottom: 30px;
}
.contact.second .btn_top a {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 400;
  font-style: normal;
  display: block;
  text-decoration: none;
  width: 400px;
  color: #fff;
  background-color: #6fc16f;
  border-radius: 10px;
  padding: 20px 0 22px;
  text-align: center;
  margin: 0 auto;
  font-size: 20px;
}
@media screen and (max-width:1050px) {
  .contents.contact .wrap {
    padding: 20px 5% 40px;
  }
  .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 .pp_box {
    margin: 30px auto;
  }
  .contact .pp_box h5 {
    font-size: 20px;
  }
  .contact .pp_box p.check_box {
    font-size: 16px;
    margin: 20px auto 0;
  }
  .contact .btn_box {
    margin: 30px auto 0;
  }
  .contact .submit {
    padding: 15px 0 17px;
    font-size: 18px;
  }
  .contact .btn_box .btn {
    width: 45%;
  }
  .contact.second {
    padding: 100px 0 100px;
  }
  .contact.second .inner {
    min-height: 300px;
  }
  .contact.second h4 {
    font-size: 28px;
    margin: 0 auto 10px;
  }
  .contact.second .p {
    text-align: justify;
    margin-bottom: 20px;
  }
  .contact.second .btn_top a {
    width: 45%;
    padding: 15px 0 17px;
    font-size: 18px;
  }
  input[type="reset"] {
    -webkit-appearance: none;
  }
  input[type="submit"] {
    -webkit-appearance: none;
  }
  input[type="button"] {
    -webkit-appearance: none;
  }
}