@charset "utf-8";
/* CSS Document */
.section-top__image {
  margin-top: 50px;
}
.section-top__main-image {
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../images/contact/contact_top_img.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 20% 100%;
}
.section-top__image h2 {
  font-size: 4.0rem;
  color: #fff;
  line-height: 1;
}
@media(max-width: 768px) {
  .image-top__main img {
    height: 680px;
  }
}
@media(min-width: 1024px) {
  .section-top__image {
    margin-top: 90px;
  }
  .section-top__main-image {
    height: 750px;
    background-position: 0% 100%;
  }
  .section-top__image h2 {
    font-size: 6.0rem;
  }
}
.section-contact {
  background-color: #fff;
  padding: 40px 30px 80px;
  margin: 0 auto;
  position: relative;
}
.top__wave {
  width: 100%;
  line-height: 0;
  position: absolute;
  top: 2px;
  left: 0;
  transform: translateY(-100%);
}
.section-contact h2 {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: 0.2rem;
  color: #3a636d;
  display: inline-block;
  position: relative;
  margin: 0 auto 80px;
}
.section-contact h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; /*下線の上下位置調整*/
  display: inline-block;
  width: 50px; /*下線の幅*/
  height: 2px; /*下線の太さ*/
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translate(-50%); /*位置調整*/
  background-color: #3a636d; /*下線の色*/
  border-radius: 1px; /*線の丸み*/
}
.section-contact p {
  margin-bottom: 60px;
  text-align: justify;
}
.section-contact table {
  text-align: left;
  width: 100%;
}
.section-contact table th, .section-contact table td {
  display: block;
}
.section-contact table th {
  padding: 25px 0 10px 0;
  border-top: solid 1px #D8D8D8;
  font-family: dnp-shuei-mgothic-std, sans-serif;
  font-weight: 600;
  font-style: normal;
}
.section-contact table td {
  padding-bottom: 25px;
}
.section-contact table tr:last-child td {
  border-bottom: solid 1px #D8D8D8;
}
.required {
  display: inline-block;
  font-size: 1.0rem;
  line-height: 1;
  background-color: #ff8181;
  color: #fff;
  padding: 5px;
  margin-left: 10px;
  vertical-align: text-bottom;
}
.section-contact input {
  width: 100%;
  height: 40px;
  padding: 10px;
  border: solid 1px #5ea59c;
  background-color: #f7f7f7;
  color: #444;
}
.postal-wrapper {
  display: flex;
}
.postal-wrapper .postal {
  line-height: 2.5;
}
.postal-wrapper .postal-code {
  display: inline-block;
  width: 130px;
  margin: 0 0 10px 10px;
}
.section-contact textarea {
  display: block;
  width: 100%;
  height: 180px;
  padding: 10px;
  border: solid 1px #5ea59c;
  background-color: #f7f7f7;
  color: black;
  font-size: 1.4rem;
  font-family: Arial, sans-serif;
  font-weight: 400;
}
.content-form-wrapper p {
  margin: 30px auto;
}
.content-privacy-wrapper {
  display: flex;
}
.content-privacy-wrapper input {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 15px;
  position: relative;
  top: 3px;
}
.text-danger, .privacy__text-danger {
  color: #ff8181;
  text-align: left;
  padding-top: 5px;
}
.section-contact button {
  display: block;
  width: 100%;
  margin: 40px auto 0;
  max-width: 260px;
  padding: 15px;
  background-color: #5ea59c;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1);
  color: #fff;
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.1em;
  letter-spacing: 0.2rem;
  cursor: pointer;
}
@media(min-width: 768px) {
  .section-contact {
    padding: 40px 50px 100px;
  }
  .section-contact p {
    text-align: center;
  }
  .section-contact table {
    max-width: 1040px;
    margin: 0 auto;
  }
  .section-contact table th, .section-contact table td {
    display: table-cell;
  }
  .section-contact table th {
    border-bottom: solid 1px #D8D8D8;
  }
  .section-contact table td {
    border-top: solid 1px #D8D8D8;
    border-bottom: solid 1px #D8D8D8;
  }
  .content-form-wrapper p {
    text-align: justify;
  }
  .section-contact button {
    margin: 60px auto 0;
  }
}
@media(min-width: 1024px) {
  .section-contact h2 {
    font-size: 2.4rem;
    margin: 0 auto 90px;
  }
  .section-contact h2::before {
    left: 50%;
    bottom: -20px; /*下線の上下位置調整*/
    display: inline-block;
    width: 70px; /*下線の幅*/
  }
  .content-form-wrapper p {
    text-align: center;
    margin: 60px auto;
  }
  .content-privacy-wrapper {
    display: block;
  }
  .privacy__text-danger {
    display: inline-block;
  }
}