@charset "UTF-8";

/* contact */
.contact {
  background-color: #fff;
  padding: 0 0 150px 0;
}
.contact-inner {
  width: 90%;
  margin: 0 auto;
}
.form {
  width: 100%;
  max-width: 900px;
}
.form-txt {
  font-size: 1.5em;
  line-height: 30px;
  color: #8eaab4;
  margin: 50px 0 0 0;
  padding: 0 10px;
}
.form-txt span {
  font-weight: 700;
  color: #8eaab4;
}
.form-txt-sub {
  font-size: 1.5em;
  font-weight: 400;
  line-height: 30px;
  margin: 50px 0 0 0;
}
.form-txt-sub span {
  font-weight: 700;
  color: #8eaab4;
}
.form-box-wrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.form-box-h {
  width: 48%;
}
.form-box {
  font-family: inherit !important;
  font-size: 1.5em;
  line-height: 44px;
  box-sizing: border-box;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #ccc;
  border-left: none;
  background: transparent;
  width: 100%;
  height: auto;
  margin: 10px 0 0 0;
  padding: 0 10px;
}
.form-body {
  font-family: inherit !important;
  font-size: 1.5em;
  line-height: 28px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  background: transparent;
  width: 100%;
  height: 200px;
  margin: 20px 0 0 0;
  padding: 5px 10px;
}
.select-wrap {
  width: 100%;
  margin: 10px 0 0 0;
  position: relative;
  display: inline-block;
}
.select-wrap::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 0px;
  border-bottom: solid 1px #1e1e1e;
  border-right: solid 1px #1e1e1e;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -8px;
}
.select {
  font-family: inherit !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 1.5em;
  line-height: 44px;
  width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
  border-top: none;
  border-right: none;
  border-bottom: 1px solid #ccc;
  border-left: none;
  color: #000;
  background: transparent;
  position: relative;
}
select::-ms-expand {
  display: none;
}
.check {
  text-align: center;
  margin: 50px 0 0 0;
}
.check a {
  border-bottom: 1px dashed #222;
  padding: 0 0 2px 0;
}
input[type="checkbox"] {
  display: none;
  margin: 0;
}
input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  font-size: 1.5em;
  line-height: 30px;
  color: #222;
  cursor: pointer;
  padding-left: 30px;
}
input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #ccc;
}
input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 9px;
  width: 20px;
  height: 10px;
  margin-top: -5px;
  box-sizing: border-box;
  border-left: 3px solid #b3c8cf;
  border-bottom: 3px solid #b3c8cf;
  transform: rotate(-45deg) translateY(-50%);
}
.radio {
  margin: 10px 0 0 10px;
}
input[type="radio"] {
  display: none;
  margin: 0;
}
input[type="radio"] + label {
  position: relative;
  display: inline-block;
  font-size: 1.5em;
  line-height: 30px;
  color: #222;
  cursor: pointer;
  margin-right: 20px;
  padding-left: 30px;
}
input[type="radio"] + label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
}
input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 6px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #b3c8cf;
  border-radius: 50%;
}
.form-btn {
  font-family: inherit !important;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 50px;
  text-align: center;
  width: 100%;
  height: auto;
  margin: 50px 0 0 0;
  border-style: none;
  cursor: pointer;
  color: #fff;
  background-color: #b3c8cf;
  transition: all 0.5s ease;
}
.form-btn:hover {
  background-color: #8eaab4;
}
::placeholder {
  color: #9b9b9b !important;
}
.error-txt {
  font-size: 1.5em;
  line-height: 30px;
  color: #b90114;
  margin: 15px 0 0 0;
  padding: 0;
}
.form-txt-q {
  font-size: 1.5em;
  line-height: 30px;
  color: #8eaab4;
  margin: 20px 0 0 0;
}
.form-txt-a {
  font-size: 1.5em;
  line-height: 30px;
  margin: 0;
}
.form-txt-confirm {
  font-size: 1.5em;
  font-weight: 500;
  line-height: 30px;
  margin: 50px 0 0 0;
  padding: 50px 0 0 0;
  color: #b90114;
  border-top: 1px dashed #ccc;
}

/* thanks */
.thanks-inner {
  width: 80%;
  margin: 0 auto;
}
.thanks-txt {
  font-size: 1.6em;
  line-height: 30px;
}

@media screen and (max-width:767px) {
  /* contact */
  .contact {
    padding: 0 0 100px 0;
  }
  .contact-inner {
    width: 90%;
    margin: 0 auto;
  }
  .form-txt {
    font-size: 1.4em;
    padding: 0;
  }
  .form-txt-sub {
    font-size: 1.3em;
    line-height: 25px;
    margin: 30px 0 0 0;
  }
  .form-box {
    font-size: 1.6em;
  }
  .form-body {
    font-size: 1.6em;
  }
  .select {
    font-size: 1.6em;
  }
  input[type="checkbox"] + label {
    font-size: 1.6em;
  }
  .form-btn {
    font-size: 1.6em;
  }
  .error-txt {
    font-size: 1.4em;
  }
  input[type="checkbox"] + label {
    font-size: 1.4em;
  }
  .radio {
    margin: 20px 0 0 0;
  }
  input[type="radio"] + label {
    font-size: 1.5em;
  }
  .form-txt-q {
    font-size: 1.4em;
  }
  .form-txt-a {
    font-size: 1.4em;
    line-height: 20px;
    margin: 5px 0 0 0;
  }
  .form-txt-confirm {
    font-size: 1.4em;
    line-height: 25px;
    margin: 30px 0 0 0;
    padding: 30px 0 0 0;
  }
  /* thanks */
  .thanks-inner {
    width: 90%;
  }
  .thanks-txt {
    font-size: 1.3em;
    line-height: 25px;
  }
}