@charset "utf-8";
#mainVisual__lower{
  background-image: url("../img/contact-bg.jpg");
}


.mainVisual__lower--content h1:before{
  content: "お問い合わせ";
}

span.required{display: none;}

/* コンタクト */
#contact{
  background-color: #dcd2c8;
  padding: 120px 0;
}

#contact .contact__inner{
  width: 800px;
  margin: 0 auto;
}


#contact h2{
  font-size: 3.2rem;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}
#contact h2:before {
  content: '';
  position: absolute;
  bottom: -20px;
  display: inline-block;
  width: 60px;
  height: 1px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #c9a85b;
}

#contact .contact__text{
  margin: 60px 0;
}

#contact .contact__text p{
  font-size: 1.4rem;
  text-align: center;
}

#contact dl{
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}

#contact dl:last-of-type{
  margin-bottom: 20px;
}

#contact dt{
  font-size: 1.4rem;
  letter-spacing: 2;
  text-align: right;
  padding-right: 60px;
  width: 200px;
}

#contact dt:after{
  content: "*";
  margin-left: 2px;
  color: #c80000;
}

#contact dd{
  width: 600px;
}

#contact #form_submit input{
  position: relative;
  display: block;
  justify-content: center;
  width: 200px;
  height: 60px;
  border-radius: 30px;
  line-height: 1;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: .3s;
  background: #c9a85b;
  overflow: hidden;
  z-index: 1;
  font-size: 1.8rem;
}


#contact #form_submit input:hover {
  opacity: 0.8;
}
/*
#contact .contact__submit button::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  content: '';
  background: #c9a85b;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
#contact .contact__submit button:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
*/
.error_blank{
  color: #c80000;
  font-size: 1.2rem;
  padding-top: 10px;
  display: inline-block;
}

@media screen and (max-width:960px) {
  #contact .contact__inner{
    width: 100%;
    padding: 0 20px;
  }

  #contact dt{
    width: 20%;
    padding-right: 20px;
  }

  #contact dd{
    width: 80%;
  }
}


@media screen and (max-width:768px) {
  #contact{
    padding: 60px 0;
  }

  #contact .contact__inner{
    padding: 0 10px;
  }

  #contact dt{
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  #contact dd{
    width: 100%;
  }

  #contact dl{
    flex-direction: column;
  }
}


@media screen and (max-width:640px){
  #contact .contact__text p{
    text-align: left;
  }
}