@charset "UTF-8";

.header .item.nav_contact a {
  color: var(--color2);
}
.header .item.nav_contact a:after {
  transform: scale(1, 1);
}
.nav_item.nav_contact a {
  color: var(--color2);
}
.footer .childbox .item.nav_contact a::after {
  transform: scale(1, 1);
}


.contact .section {
  padding-bottom: 150px;
}
.contact .wrap {
  max-width: 750px;
}
.form_container .box {
  margin-top: 30px;
}
.form_container .box:first-child {
  margin-top: 0;
}
.form_container .box .title {
  font-size: 16px;
  margin-bottom: 10px;
}
.form_container .box .title .req {
  font-size: 13px;
  color: var(--color6);
  margin-left: 0.5em;
}
.form_container .box input[type="text"],
.form_container .box input[type="email"],
.form_container .box input[type="tel"] {
  width: 100%;
  height: 50px;
  font-size: 16px;
  box-sizing: border-box;
  background: none;
  border: solid 2px var(--color3);
  border-radius: 5px;
  padding: 10px;
  outline: none;
}
.form_container .box input[type="text"].middle,
.form_container .box input[type="tel"] {
  width: 30%;
}
.form_container .box textarea {
  width: 100%;
  font-size: 14px;
  background: none;
  border: solid 2px var(--color3);
  border-radius: 5px;
  padding: 10px;
  outline: none;
}
.form_container .privacybox {
  height: 350px;
  border: solid 2px var(--color3);
  border-radius: 5px;
  padding: 30px;
  margin-bottom: 40px;
  overflow-y: scroll;
  box-sizing: border-box;
}
.form_container .childbox {
  margin-top: 40px;
}
.form_container .childbox:first-child {
  margin-top: 0;
}
.form_container .sub {
  margin-bottom: 10px;
}
.form_container .comment {
  font-size: 14px;
  text-align: justify;
  line-height: 1.75;
}
.thanksbox .txt {
  text-align: justify;
  line-height: 2;
}
.formbtn,
.thanksbox .btn {
  width: 100%;
  max-width: 380px;
  margin: 50px auto 0;
}
.formbtn input[type="submit"],
.thanksbox .btn a {
  width: 100%;
  line-height: 60px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-align: center;
  color: #fff;
  display: block;
  box-sizing: border-box;
  border: none;
  background-color: var(--color1);
  border-radius: 0;
  padding: 0 10px;
  cursor: pointer;
  transition: all .3s;
}
.formbtn input[type="submit"]:hover,
.thanksbox .btn a:hover {
  background-color: var(--color2);
}
@media screen and (max-width:768px) {
  .contact .section {
    padding-bottom: 100px;
  }
  .form_container .box input[type="text"].middle,
  .form_container .box input[type="tel"] {
    width: 50%;
  }
  .form_container .privacybox {
    height: 280px;
    padding: 20px;
  }
}