:root {
  --main-color: #073069;
  --main-color-hover: #2750c9;
  --main-color-hover2: #a19c71;
  --light-bgcolor: #f5f5f5;
  --dark-bgcolor: #101820;
}

.contact {
  padding: 130px 40px 0;
}
@media screen and (max-width: 960px) {
  .contact {
    padding: 110px 30px 0;
  }
}
@media screen and (max-width: 767px) {
  .contact {
    padding: 100px 20px 0;
  }
}

.contact a {
  text-decoration: underline;
}

.contact .box {
  padding-top: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .contact .box {
    padding-top: 20px;
  }
}

.contact .att {
  font-size: 12px;
  margin-top: 25px;
}

.contact_tbl {
  max-width: 640px;
  margin: 0 auto;
}

.contact_tbl th,
.contact_tbl td {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.contact_tbl th {
  padding: 20px 0 8px;
  text-align: left;
}

table td input[type=text],
table td input[type=email] {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--main-color);
  font-size: 16px;
  border-radius: 3px;
}
@media screen and (max-width: 767px) {
  table td input[type=text],
  table td input[type=email] {
    padding: 5px;
  }
}

table td textarea {
  width: 100%;
  height: 230px;
  padding: 8px;
  border: 1px solid var(--main-color);
  font-size: 16px;
  border-radius: 3px;
}
@media screen and (max-width: 767px) {
  table td textarea {
    padding: 5px;
  }
}

input[type=radio] {
  display: none;
}

input[type=checkbox] {
  opacity: 0;
  position: absolute;
}

.sample_label {
  position: relative;
  padding-left: 26px;
}

.sample_label:after {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  margin-top: -8px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--main-color);
}

.sample_label:before {
  position: absolute;
  content: "";
  left: 4px;
  top: 50%;
  margin-top: -3px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  opacity: 0;
}

input[type=radio]:checked + .sample_label:before,
input[type=checkbox]:checked + .sample_label:before {
  opacity: 1;
}

.label {
  display: block;
}

.btnarea {
  text-align: center;
  margin: 50px 0;
}

.btnarea input,
.btnarea a.btn,
.btnarea a.btn2 {
  display: inline-block;
  min-width: 140px;
  line-height: min(10vw, 44px);
  color: #fff;
  font-size: min(4vw, 20px);
  text-align: center;
  border: 2px solid #5E5A5B;
  background-color: #5E5A5B;
  padding: 0 20px;
  text-decoration: none;
}

.btnarea a.btn2 {
  background-color: #8c8c8c;
  border-color: #8c8c8c;
}

.req {
  background-color: #ff0000;
  font-size: 10px;
  color: #fff;
  margin: 0 5px;
  padding: 0 5px;
}

.error_txt {
  text-align: center;
}

.thanks_txt {
  font-size: min(5vw, 22px);
  text-align: center;
  font-weight: 500;
  line-height: 2;
  padding-bottom: min(5vw, 50px);
  letter-spacing: 0.05em;
}

.terms {
  width: 100%;
  height: 200px;
  overflow-y: scroll;
  border: 1px solid #89762f;
  font-size: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.mb {
  margin-bottom: 10px;
}