@charset "utf-8";
/* CSS Document */
.header {
  background-size: cover;
  height: 680px;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../pictures/contact-top.jpg");
  position: relative;
}
.section-top__image {
  position: absolute;
  top: 50%;
  left: 50%;
  text-shadow: 0 1px 3px #333;
  transform: translate(-50%, -50%);
  width: 100%;
}
.section-top__image h1 {
  font-size: 90px;
  color: #FFF;
  font-weight: 200;
  letter-spacing: 3px;
}
.section-contact__top p {
  font-weight: 600;
}
.contact-form {
  padding-top: 180px;
  text-align: left;
}
.contact-form span{
  color: red;
}
.contact-form p {
  display: block;
  font-weight: 600;
  text-align: center;
}
.form-area {
  padding-top: 120px;
}
.formTable {
margin: 0 auto;
}
.formTable th {
  padding-right: 30px;
  vertical-align: top;
  padding-top: 20px;
}
.formTable td {
  padding-bottom: 50px;
}
.formTable textarea {
  width: 700px;
  height: 300px;
  resize: none;
  border: none;
  outline: none;
  box-sizing: border-box;
  padding: 10px 10px;
  font-size: 1.6rem;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 600;
}
.formTable span {
  color: red;
}
.contact-form input[type="text"] {
  width: 700px;
  height: 60px;
  outline: none;
  border: none;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 5px 10px;
  font-size: 1.6rem;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 600;
}
.contact-form__button {
  display: block;
  height: 65px;
  background-color: #4b7ce0;
  color: #FFF;
  font-size: 25px;
  width: 250px;
  border: none;
  letter-spacing: 20px;
  margin: 0 auto;
  box-shadow: 2px 2px 2px rgba(76, 76, 76, 30%);
  border-radius: 5px;
  cursor: pointer;
}

@media(max-width: 1366px) {
  .contact-form p label {
    font-size: 15px;
    width: 350px;
  }
  .contact-form input[type=text] {
    width: 500px;
  }
  .formTable textarea {
  width: 500px;
}
}
@media(max-width: 950px) {
  .contact-form p label{
    padding-top: 0px;
  }
  .contact-form input[type=text] {
    width: 400px;
  }
  .formTable textarea {
    width: 400px;
  }
}
@media(max-width: 700px) {
  .contact-form {
    padding: 120px 50px 0;
  }
  .form-area {
    padding-top: 0;
  }
  .formTable {
    margin: 120px auto 80px;
  }
  .formTable tr {
    display: grid;
  }
  .formTable td {
    padding-bottom: 30px;
  }
  .contact-form input[type=text] {
    width: 100%;
    margin-top: 20px;
    height: 40px;
  }
  .formTable textarea {
    width: 100%;
  }
}
@media(max-width: 590px) {
  .section-contact__top {
    padding: 120px 0;
    margin: 0 20px;
  }
  .section-top__image h1 {
    font-size: 50px;
  }
  .contact-form {
    padding: 120px 20px;
  }
  .contact-form p {
    font-size: 14px;
  }
  .contact-form__button {
    height: 50px;
    font-size: 20px;
    width: 200px;
    letter-spacing: 10px;
  }
}