@charset "UTF-8";
.contact-mv .mv {
  background-image: url(/assets/img/contact/mv_bg.jpg);
}

.contact-form {
  margin-top: 130px;
  padding-bottom: 80px;
}

.contact-form-input > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact-form-input > dl:nth-of-type(n+2) {
  margin-top: 30px;
}

.contact-form-input > dl > dt {
  width: 280px;
  padding-top: 12px;
  font-weight: bold;
}

.contact-form-input > dl > dd {
  width: calc(100% - 280px);
}

.contact-form-input > dl > dd > div > label:first-of-type {
  margin-right: 40px;
}

.contact-form-input > dl > dd > label.error {
  display: block;
  margin-top: 10px;
  color: #f00;
  font-size: 1.4rem;
  font-weight: bold;
}

.contact-form-confirm > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.7;
}

.contact-form-confirm > dl:nth-of-type(n+2) {
  margin-top: 20px;
}

.contact-form-confirm > dl > dt {
  width: 240px;
  font-weight: bold;
}

.contact-form-confirm > dl > dd {
  width: calc(100% - 240px);
}

.contact-form-confirm-btn {
  max-width: 560px;
  margin: 80px auto 0;
}

.contact-form-confirm-btn > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.contact-form-confirm-btn > ul > li {
  width: 260px;
}

.contact-form-confirm-btn > ul > li > .btn {
  margin-top: 0;
}

.contact-form-complete > p {
  text-align: center;
}

.contact-form-complete .btn {
  margin-top: 80px !important;
}

.contact-form-privacy {
  margin-top: 60px;
  font-weight: bold;
  text-align: center;
}

.contact-form-privacy > p {
  position: relative;
}

.contact-form-privacy > p.error-text {
  margin-top: 10px;
  color: #f00;
  font-size: 1.4rem;
  font-weight: bold;
}

.contact-form .btn {
  margin: 50px auto 0;
}

.contact-form-certificate {
  width: 40px;
  margin: 75px auto 0;
}

input[type="text"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 15px;
  border: none;
  border-radius: 5px;
  outline: none;
  background-color: #f3f3f3;
  font-size: 1.6rem;
}

input[type="image"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background-color: transparent;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  width: 18px;
  height: 18px;
  margin: 0;
  margin-right: 10px;
  border: 1px solid #4d4d4d;
  border-radius: 0;
  outline: none;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

input[type="checkbox"]:checked {
  background-color: #589674;
  background-image: url(/assets/img/contact/icon_check.png);
}

textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 15px;
  border: none;
  border-radius: 5px;
  outline: none;
  background-color: #f3f3f3;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
  font-size: 1.6rem;
  line-height: 1.7;
  resize: vertical;
}

.radio {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

.radio > input {
  display: none;
}

.radio > input:checked + p:after {
  opacity: 1;
}

.radio > input + p {
  display: inline;
  position: relative;
  padding-left: 30px;
}

.radio > input + p:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #4d4d4d;
  border-radius: 50%;
  content: "";
}

.radio > input + p:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 7px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #589674;
  content: "";
  opacity: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

@media screen and (max-width: 767px) {
  .contact-form {
    margin-top: 50px;
    padding-bottom: 40px;
  }
  .contact-form-input > dl {
    display: block;
  }
  .contact-form-input > dl > dt {
    width: 100%;
    margin-bottom: 5px;
    padding-top: 0;
  }
  .contact-form-input > dl > dd {
    width: 100%;
  }
  .contact-form-input > dl > dd > div {
    margin-top: 20px;
  }
  .contact-form-input > dl > dd > div > label:first-of-type {
    margin-right: 20px;
  }
  .contact-form-input > dl > dd > label.error {
    font-size: 1.2rem;
  }
  .contact-form-confirm > dl {
    display: block;
  }
  .contact-form-confirm > dl:nth-of-type(n+2) {
    margin-top: 20px;
  }
  .contact-form-confirm > dl > dt {
    width: 100%;
    margin-bottom: 5px;
  }
  .contact-form-confirm > dl > dd {
    width: 100%;
  }
  .contact-form-confirm-btn {
    margin-top: 40px;
  }
  .contact-form-confirm-btn > ul {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .contact-form-confirm-btn > ul > li {
    width: 190px;
    margin: 0 auto;
  }
  .contact-form-confirm-btn > ul > li:last-of-type {
    margin-bottom: 20px;
  }
  .contact-form-complete .btn {
    margin-top: 60px !important;
  }
  .contact-form-privacy {
    margin-top: 30px;
  }
  .contact-form-privacy > p.error-text {
    font-size: 1.2rem;
  }
  .contact-form .btn {
    margin-top: 40px;
  }
  .contact-form-certificate {
    margin-top: 50px;
  }
  input[type="text"] {
    padding: 0 10px;
  }
  input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
  input[type="checkbox"]:checked {
    background-size: 12px;
  }
  textarea {
    padding: 10px;
  }
  .radio > input + p {
    padding-left: 25px;
  }
  .radio > input + p:before {
    top: 0px;
    width: 18px;
    height: 18px;
  }
  .radio > input + p:after {
    top: 5px;
    width: 8px;
    height: 8px;
  }
}

@media screen and (min-width: 768px), print {
  .contact-form-input > dl:first-of-type {
    margin-bottom: 40px;
  }
  .contact-form-input > dl:first-of-type > dt {
    padding-top: 0;
  }
  .contact-form .btn {
    max-width: 440px;
  }
}
