@charset "utf-8";
.title{
  height: 130px;
  background-image: url(../images/contact/bg-main.JPG);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}
.title h1{
  font-size: 60px;
  font-weight: bold;
}
.title p{
  font-size: 30px;
  margin-top: 15px;
  text-align: center;
}
.main h2{
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}
.contact{
  width: 930px;
  max-width: 90%;
  margin:35px auto 50px auto;
  text-align: center;
}
.form_area{
  background-color: #f8f8f8;
  border: 1px solid #aaaaaa;
  margin-top: 25px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}
.form_area dt{
  width: 200px;
  padding: 15px 0;
  font-size: 15px;
  font-weight: bold;
  line-height: 24px;
}
.form_area dt .required::after{
  content: '必須';
  font-size: 11px;
  color: #eb4f32;
  margin-left: 10px;
}
.form_area dd{
  width: calc(100% - 200px);
  padding: 15px 0;
}
.input_text{
  width: 100%;
  max-width: 280px;
  height: 40px;
  padding:0 10px;
}
.select_box{
  width: 240px;
  height: 40px;
  font-size: 14px;
}
.radio_button{
  display: block;
  margin-top: 15px;
}
.radio_button:first-child{
  margin-top: 0;
}
.radio_button input{
  margin-right: 8px;
}
.message{
  width: 100%;
  height: 260px;
  padding: 10px;
  line-height: 1.5;
}
.confirm_text{
  font-size: 14px;
  line-height: 22px;
  margin-top: 30px;
}
.submit_button{
  background-color: #cbe585;
  display: inline-block;
  min-width: 180px;
  line-height: 48px;
  border-radius: 24px;
  font-family: sans-serif;
  font-size: 14px;
  text-align: center;
  margin: 20px auto 0 auto;
  cursor: pointer;
  border: none;
}
.submit_button:hover{
  background-color: #9ec34b;
  border-color: #cbe585;
  color: #fff;
}


@media (max-width: 800px){
  .title p{
    font-size: 20px;
  }
  .title {
    height: 150px;
  }
  .contact{
    width: 500px;
    margin-top: 45px;
  }
  .form_area dt,
  .form_area dd{
    width: 100%;
  }
  .form_area dt{
    padding-bottom: 0;
  }
  .submit_button{
    width: 100%;
  }
  .select_box{
    width: 90%;
  }
}