body.contact {
  background-repeat: no-repeat;
}

body.contact::before {
  display: none;
}

body.contact::after {
  display: none;
}

body.contact .under_title {
  background-image: url(../img/contact_bg.jpg);
  background-size: cover;
  background-position: center;
  height: 300px;
  margin-bottom: 100px;
}

body.contact .under_title h1 {
  color: #fff;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: auto;
  margin-bottom: auto;
  border-bottom: none;
  text-shadow: 0px 3px 6px #c2c2c2;
  line-height: 300px;
  text-align: left;
}

body.contact .under_title h1::before {
  display: none;
}

body.contact .under_title h1::after {
  display: none;
}

body.contact main {
  max-width: 1200px;
}

body.contact form {
  padding: 70px;
  width: 90%;
  max-width: 900px;
  background: aliceblue;
}

body.contact form .input {
  width: 100%;
  padding-bottom: 0;
}

body.contact form .input dl {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 20px;
}

body.contact form .input dl dt {
  margin: 0;
}

body.contact form .input dl dt::after {
  content: " *";
  color: red;
}

body.contact form .input dl dd {
  width: calc(100% - 200px);
  text-align: left;
}

body.contact form .input dl dd input, body.contact form .input dl dd textarea {
  width: 100%;
  -webkit-align-self: left;
      -ms-flex-item-align: left;
              -ms-grid-row-align: left;
          align-self: left;
}

body.contact form .agree {
  margin-bottom: 40px;
}

body.contact form .agree a {
  display: inline-block;
  text-decoration: underline;
}

body.contact form .thanks {
  font-weight: 500;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

body.contact aside.pr {
  margin-bottom: 50px;
}

body.contact aside.pr .row img {
  width: 32%;
}

@media screen and (max-width: 375px) {
  body.contact aside.pr .row {
    display: block;
  }
  body.contact aside.pr .row img {
    margin-bottom: 20px;
    width: 70%;
  }
}

@media screen and (max-width: 800px) {
  body.contact body.contact {
    background-image: none;
  }
  body.contact .under_title {
    height: 100px;
    margin-bottom: 30px;
  }
  body.contact .under_title h1 {
    line-height: 100px;
    text-align: center;
    font-size: 2.4rem;
  }
  body.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  body.contact form {
    padding: 45px;
  }
  body.contact form .input {
    width: 100%;
    padding-bottom: 0;
  }
  body.contact form .input dl {
    display: block;
  }
  body.contact form .input dl dt {
    margin: 0;
    text-align: left;
  }
  body.contact form .input dl dd {
    width: 100%;
  }
  body.contact form .input dl dd input, body.contact form .input dl dd textarea {
    width: 100%;
    -webkit-align-self: left;
        -ms-flex-item-align: left;
                -ms-grid-row-align: left;
            align-self: left;
  }
  body.contact form .agree {
    margin-bottom: 40px;
  }
  body.contact form .agree a {
    display: inline-block;
    text-decoration: underline;
  }
  body.contact form .thanks {
    font-size: 1.4rem;
  }
  body.contact form p {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 450px) {
  body.contact form {
    padding: 20px;
    width: 100%;
  }
}
/*# sourceMappingURL=contact.css.map */