@charset "UTF-8";
/* Scss Document */
/* -------------------------------------------------- */
/* file   : top.css                                  */
/* update : 2023                                      */
/* -------------------------------------------------- */
/* -------------------------------------------------- */
/* pc向け */
/* --------------------------------------------------- */
input,
textarea {
  width: 100%;
  margin: 0;
  padding: 8px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.2;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #4c4948;
}

button {
  padding: 8px;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: #000;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.contact {
  padding-bottom: 90px;
}

.contact-text {
  max-width: 690px;
  margin: 65px auto 0;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.contact-thanks-text {
  max-width: 690px;
  margin: 65px auto 0;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
}

.form-wrap {
  margin-top: 33px;
}

.form-box {
  max-width: 690px;
  margin: 25px auto 0;
}
.form-box:first-child {
  margin-top: 0;
}

.form-box_ttl {
  font-size: 16px;
}

.form-box_input {
  margin-top: 4px;
}

.form-box_flex {
  margin-top: 7px;
  padding: 5px 13px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0 28px;
}
.form-box_flex:first-child {
  margin-top: 9px;
}

.form-box_radio .visually-hidden {
  position: absolute;
  white-space: nowrap;
  width: 1px;
  height: 1px;
  overflow: hidden;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  margin: -1px;
}
.form-box_radio input {
  width: auto;
  border: none;
}
.form-box_radio label {
  cursor: pointer;
  padding-left: 30px;
  position: relative;
}
.form-box_radio label::before,
.form-box_radio label::after {
  content: "";
  display: block;
  position: absolute;
}
.form-box_radio label::before {
  background-color: #fff;
  border-radius: 0%;
  border: 1px solid #000;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  top: 50%;
  left: 5px;
}
.form-box_radio label::after {
  background: #0c538f;
  border-radius: 50%;
  opacity: 0;
  height: 11px;
  width: 11px;
  top: 2px;
  left: 8px;
}
.form-box_radio input:checked + label::after {
  opacity: 1;
}

.form-btns {
  margin-top: 45px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 0 25px;
}

.form-btn {
  width: 270px;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: #e9e9e9;
  display: block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.form-btn:hover {
  color: #FFF;
  background: #ff0000;
}

.form-btn--back {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.form-btn--back:hover {
  color: #FFF;
  background: #000;
}

.form-btn--submit {
  color: #FFF;
  background: #0c538f;
}

.err {
  margin-top: 10px;
  font-size: 12px;
  color: #ff0000;
}

/* -------------------pc END------------------------------- */
/* -------------------------------------------------- */
/* tablet向け */
/* --------------------------------------------------- */
@media screen and (max-width: 768px) {
  .contact-text {
    white-space: normal;
  }
}
/* ---------------------tablet END----------------------------- */
/* -------------------------------------------------- */
/* sp向け */
/* --------------------------------------------------- */
@media screen and (max-width: 750px) {
  textarea {
    height: 117px;
  }
  .contact {
    padding-bottom: 35px;
  }
  .contact-text {
    max-width: 100%;
    margin: 22px auto 0;
    font-size: 15px;
    line-height: 1.26;
    white-space: wrap;
  }
  .contact-thanks-text {
    max-width: 100%;
    margin: 22px auto 0;
    font-size: 15px;
    line-height: 1.6;
  }
  .form-wrap {
    margin-top: 20px;
  }
  .form-box {
    max-width: 690px;
    margin: 20px auto 0;
  }
  .form-box:first-child {
    margin-top: 0;
  }
  .form-box_ttl {
    font-size: 15px;
  }
  .form-box_input {
    margin-top: 6px;
  }
  .form-box_flex {
    margin-top: 0;
    padding: 5px 15px 0;
    display: block;
  }
  .form-box_flex:first-child {
    margin-top: 9px;
  }
  .form-box_radio {
    margin-top: 7px;
  }
  .form-box_radio:first-child {
    margin-top: 0;
  }
  .form-btns {
    margin-top: 28px;
    gap: 0 25px;
  }
  .form-btn {
    width: 270px;
    padding: 14px 0;
    font-size: 14px;
    letter-spacing: 0.1em;
    -webkit-transition: 0s;
    transition: 0s;
  }
  .form-btn:hover {
    color: #000;
    background: #e9e9e9;
  }
  .form-btn--back {
    -webkit-transition: 0s;
    transition: 0s;
  }
  .form-btn--back:hover {
    color: #000;
    background: #e9e9e9;
  }
}
/* -------------------sp END------------------------------- */