@charset "UTF-8";

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0px;
  padding: 40px 0;
  width: 100%;
  //height: 100%;
  background-color: #ede4cd;
  font-family: 'Noto Sans JP', sans-serif;
  color: #383c3c;
}

#formWrap{
  background-color: #fff;
  width: 800px;
  border-radius: 30px;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.title_contact_mochi {
  border-radius: 30px 30px 0 0;
  width: 100%;
  text-align: center;
  margin-top: 0;
  padding: 20px 0;
  font-size: 35px;
  font-weight: 900;
  background-color: #007b43;
  color: #fff;
  display: inline-block;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.text_top {
  margin-top: 30px;
  letter-spacing: 0.1em;
  display: inline-block;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.7em;
  padding-bottom: 30px;
  border-bottom: dashed 2px #007b43;
}

.title_form_mochi {
  font-weight: 600;
  font-size: 17px;
}

.imfo_contact {
  margin-left: 17px;
  padding: 13px;
  font-size: 16px;
  border: solid 1px #007b43;
  border-radius: 7px;
}

.section2 {
  margin-top: 40px;
}

.section3 {
  margin-top: 25px;
}

.check_contact {
  margin-left: 17px;
}
.box_check p:nth-child(n+2){
  margin-left: 25px;
}

.box_btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.box_btn div {
  border: dashed 2px #007b43;
  padding: 7px 7px;
  border-radius: 5px;
  background-color: #007b43;
}

.btn_mochi {
  background-color: #007b43;
  padding: 12px 14px;
  border: dashed 2px #fff;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 3px;
  cursor: pointer;
}

input[type="checkbox"] {
  accent-color: #007b43;
}

textarea {
  padding: 13px;
  font-size: 16px;
  border: solid 1px #007b43;
  border-radius: 7px;
}

#hidden1 div{
  display: flex;
}
#hidden1 div p:nth-child(n+2){
  margin-left: 25px;
}
.box_check{
  display: flex;
}

@media screen and (max-width:572px) {
  body {
    padding: 40px 4%;
  }

  .title_contact_mochi {
    font-size: 20px;
  }

  #formWrap {
    width: 100%;
  }

  .wrap2 {
    padding: 0 5%;
  }

  .text_top {
    font-size: 15px;
  }

  .title_form_mochi {
    font-size: 15px;
  }

  .imfo_contact {
    font-size: 15px;
    width: 100%;
    margin-left: 0;
  }

  .check_contact {
    margin-left: 0;
  }
  textarea {
    padding: 13px;
    font-size: 15px;
    border: solid 1px #007b43;
    border-radius: 7px;
  }
  #hidden1 div{
    display: block;
  }

  .box_check{
    display: block;
  }
  .box_check p:nth-child(n+2){
    margin-left: 0;
  }
  #hidden1 div p:nth-child(n+2){
    margin-left: 0;
  }

}
