@charset "UTF-8";

#contact .main {
  background: url("../img/contact/img_main.jpg")no-repeat;
  background-size: cover;
  background-position: center;
}

#contact .container {
  padding: 170px 0 200px;
  position: relative;
}

#contact .container .heading {
  margin-bottom: 60px;
}


#contact .container .content {
    max-width: 640px;
    margin: 60px 0 0;
}

#contact .container .content .block {
  margin-bottom: 40px;
}

#contact .container .content .block dt {
  padding-bottom: 20px;
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.7;
}

#contact .container .content .block dt .en {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 400;
  color: #004a98;
  letter-spacing: 0.05em;
}

#contact .container .content .block dt .caution {
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

#contact .container .content .block dt .required {
  position: relative;
  display: inline-block;
  padding-right: 12px;
}

#contact .container .content .block dt .required::before {
  position: absolute;
  content: "*";
  color: #004a98;
  top: 0;
  right: 0;
}

#contact .container .content input.p-input-txt {
  border: solid 1px #000;
  height: 60px;
  width: 100%;
  font-size: 14px;
  font-size: 1.4rem;
  padding: 0 20px;
}

#contact .container .content textarea.p-textarea {
  border: solid 1px #000;
  height: 270px;
  width: 100%;
  font-size: 14px;
  font-size: 1.4rem;
  padding: 20px;
  resize: none;
}

#contact .container .content .submit {
  max-width: 220px;
  margin: 0 auto;
  position: relative;
}

#contact .container .content .submit::before {
  position: absolute;
  content: ">";
  right: 20px;
  top: 16px;
  pointer-events: none;
  z-index: 2;
  color: #fff;
}

#contact .container .submit button.p-submit {
  width: 100%;
  padding: 16px 0 16px 40px;
  text-align: left;
  height: 60px;
  background: #004a98;
  color: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: .3s;
}

#contact .container .submit input.p-submit {
  width: 100%;
  padding: 16px 0 16px 40px;
  text-align: left;
  height: 60px;
  background: #004a98;
  color: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: .3s;
}


#contact .container .content .back {
  max-width: 220px;
  width: 48%;
  position: relative;
  margin-right: 30px;
}

#contact .container .content .back::before {
  position: absolute;
  content: ">";
  right: 20px;
  top: 16px;
  pointer-events: none;
  z-index: 2;
  color: #fff;
}

#contact .container .back input.p-back {
  width: 100%;
  padding: 16px 0 16px 40px;
  text-align: left;
  height: 60px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  font-weight: 500;
  position: relative;
  cursor: pointer;
  transition: .3s;
}

#contact .container .button {
    width: 220px;
    margin-top: 55px;
}

#contact .container .p-2col {
    display: flex;
    align-items: center;
}


#contact .container .p-2col .submit {
  width: 48%;
  margin: 0;
}


#contact .container .button a {
    display: block;
    background: #000000;
    color: #fff;
    min-height: 60px;
    padding: 16px 0 16px 40px;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

#contact .container .button a::before {
  position: absolute;
  content: ">";
  right: 20px;
  top: 16px;
}

#contact .error {
  color: #ff0000;
  font-size: 1.2rem;
}

@media screen and (min-width: 768px){

  #contact .container .button a:hover {
    opacity: .7;
  }

  #contact .container .submit button.p-submit:hover,
  #contact .container .back input.p-back:hover {
    opacity: .7;
  }
}


@media screen and (max-width: 767px) {


  #contact .container {
    padding: 100px 0;
  }

  #contact .container .button {
      width: 250px;
  }

  #contact .container .button a {
      min-height: 45px;
      font-size: 1.4rem;
      padding: 10px 0 10px 30px;
  }

  #contact .container .button a::before {
      right: 20px;
      top: 10px;
  }

  #contact .container .heading {
      margin-bottom: 30px;
  }

  #contact .container .content {
      margin: 30px auto 0;
  }

  #contact .container .content .back {
    margin-right: 10px;
  }  


}
