.ttl{
    display: block;
    width: 1040px;
    margin: auto;
    border-bottom: solid 1px;
    padding-bottom: 10px;
    margin-bottom: 70px;
}
.ttl h2>img{
	width: 200px;
}

#contact {
	width: 1040px;
    margin: 50px auto;
}

#contact h2 {
    border-bottom: solid 1px;
    padding-bottom: 10px;
}
#contact h2>img {
	width: 600px;
}

#contact .contact_wrap {
    margin: 20px 0;
    display: inline-block;
}

#contact .contact_wrap p {
    font-size: 1.3rem;
    line-height: 25px;
}

#contact .left_wrap {
    width: 45%;
    margin-right: 0;
}
#contact .right_wrap {
    width: 45%;
}

#contact .contact_form_btn {
    text-align: center;
    background: #e6e6e6;
    padding: 10px;
    margin: 20px 0;
}

#contact a.line_btn {
    text-align: center;
    padding: 10px;
    margin: 45px 0 20px;
    width: 100%;
    display: block;
    border: solid 1px;
}

#form {
	position: relative;
}
#form .form_box {
	width: 1040px;
	margin: 30px auto;
}
#form .right_wrap {
    padding: 20px 10px 50px 20px;
    /*background-color: #f7f2df;*/
}
#form .bg {
    background: #f7f2df;
    height: 620px;
    position: absolute;
    width: 52vw;
    right: 0;
    top: -30px;
    z-index: -1;
    zoom: 1;
}
#form ul{
    margin-top: -50px;
}
/*-----------フォームパーツ------------*/

input[type="text"] {
    width: 100%;
    font-size: 1.3rem;
    padding: 5px;
}

textarea {
    width: 100%;
    height: 150px;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

input::-webkit-input-placeholder {
  color: #999999;
}
input:-ms-input-placeholder {
  color: #999999;
}
input::placeholder{
  color: #999999;
}
textarea::-webkit-input-placeholder {
  color: #999999;
}
textarea:-ms-input-placeholder {
  color: #999999;
}
textarea::placeholder{
  color: #999999;
}

.form_wrap .yoyaku3rd_wrap input[type="radio"]{
    width: 3%;
}
input[type="radio"]{
  display: none;
}
.radio_parts{
  padding-left: 20px;
  position:relative;
  margin-right: 40px!important;
}
.radio_parts::before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
}
input[type="radio"]:checked + .radio_parts{
  color: #d01137;
}
input[type="radio"]:checked + .radio_parts::after{
  content: "";
  display: block;
  position: absolute;
  top: -5px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #d01137;
  border-right: 3px solid #d01137;
}

.postnumber_l{
    width: 15%!important;
}
.postnumber_r{
    width: 25%!important;
}

.form_wrap li>label {
    display: inline-block;
    margin: 20px 0 10px;
    font-size: 1.3rem;
}
.form_wrap .yoyaku3rd_wrap{
    padding: 8px;
}
.form_wrap .yoyaku3rd_wrap input{
    width: 28%;
}
.form_wrap .yoyaku3rd_wrap span{
    position: relative;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size:1.2rem;
}

@media screen and (max-width: 768px){
  #contact {
    margin-top: 100px;
    padding: 0 10px;
    width: 100%;
  }
  #contact .left_wrap {
    width: 100%;
  }
  #contact .right_wrap {
    width: 100%;
  }
  .ttl {
    width: 100%;
    margin: 50px 10px 70px;
  }
  #form .bg {
    display: none;
  }
  #form .form_box {
    width: 100%;
  }
  .form_wrap li>label {
      margin: 10px 0 10px;
      margin-right: 25px!important;
  }
  input[type="text"] {
    border: solid 1px;
  }
  .form_wrap .yoyaku3rd_wrap input {
      width: 27%;
  }
  textarea {
    border: solid 2px;
  }
  #form .right_wrap {
    display: none;
  }
}


/*------------LINE---------------*/
#contact .linetop-img{
  border-bottom: none;
}
.linetop-img{
  width: 55%;
  margin: 0 auto;
  text-align: center;
}
.linetop-para{
  padding: 16px;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.5;
}
.regist-title{
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 16px;
  color:  #25B901;
}
.regist-section{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  margin-bottom: 16px;
  width: 95%;
  flex-wrap: wrap;
}
.regist-wrap{
  width: 30%;
  border: 2px solid  #25B901;
  text-align: center;

}
.regist{
  background-color: #25B901;
  color: #fff;
  font-size: 2rem;
  padding: 8px 0;
}
.how{
  padding: 8px 0;
  color: #25B901;
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.how-para{
  padding: 0 8px;
  line-height: 1.5;
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.linebtn{
  max-width: 300px;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 24px;
}
.lineqr{
  max-width: 150px;
  width: 95%;
  margin: 0 auto;
  margin-bottom: 24px;
}
.lineid{
  border:1px solid; 
  padding: 16px;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 24px;
}
.how-caution{
  padding: 0 8px;
  line-height: 1.5;
  font-size: 1.2rem;
  margin-bottom: 24px;
}
@media screen and (max-width: 768px){
  .linetop-img{
  width: 95%;
}
 .linetop-para{
  font-size: 1.4rem;
 }
 .regist-wrap{
  width: 100%;
  margin-bottom: 24px;
 }
 .how-para{
  font-size: 1.4rem;
 }
}