@charset "UTF-8";

/* コンテンツエリア
-------------------------------------------------------------------------*/
main.under {
  width: 100%;
  margin: 0 auto;
  padding-top: 98px;
  padding-bottom: 200px;
  /* background-color: var(--green); */
}

.inner {
  width: 100%;
  max-width: 1300px;
  margin: 200px auto 0;
}

.inner h2 {
  width: 100%;
  margin: 0 auto 120px;
  text-align: center;
  font-size: 5.5rem;
  font-family: var(--font_old);
}

.inner h2 span {
  display: block;
  font-size: 3.5rem;
}

.inner h3 {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--orange);
  font-weight: bold;
  background-color: #fff;
  border-radius: 30px;
  font-size: 3.3rem;
}

@media (max-width: 960px) {

  main.under {
    padding-top: 98px;
    padding-bottom: 300px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .inner {
    margin: 100px auto 0;
  }

  .inner h2 {
    margin: 0 auto 120px;
    font-size: 5.5rem;
  }

  .inner h2 span {
    font-size: 3.5rem;
  }

  .inner h3 {
    max-width: 500px;
    margin: 0 auto 40px;
    font-size: 2.8rem;
  }

}


/* 電話でのお問い合わせ
-------------------------------------------------------------------------*/
.tel_box {
  width: 100%;
  margin: 0 auto 100px;
  text-align: center;
}

.tel_box a {
  display: block;
}

.tel_box a span {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 7.0rem;
  font-weight: bold;
}

.tel_box a span::before {
  content: "";
  display: inline-block;
  width: 64px;
  height: 69px;
  background-image: url(../../../parts/img/contact-icon_tel.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.tel_box .time {
  font-size: 2.3rem;
}

@media (max-width: 960px) {

  .tel_box a span {
    gap: 20px;
    font-size: 4.0rem;
  }

  .tel_box a span::before {
    width: 55px;
    height: 60px;
  }

  .tel_box .time {
    font-size: 1.8rem;
  }

}


/* フォームエリア
-------------------------------------------------------------------------*/
.form_box {
  width: 100%;
  margin: 0 auto;
}

.form_txt {
  width: 100%;
  margin: 0 auto 110px;
  text-align: center;
  font-size: 2.3rem;
}

.tbl_form {
  width: 100%;
  margin: 0 auto 80px;
}

.tbl_form table {
  width: 100%;
  border-collapse: collapse;
}

.tbl_form table th,
.tbl_form table td {
  padding: 0;
  vertical-align: top;
  font-size: 2.5rem;
  padding-bottom: 50px;
}

.tbl_form table tr:last-of-type th,
.tbl_form table tr:last-of-type td {
  padding-bottom: 0px;
}

.tbl_form table th {
  color: #333;
  width: 30%;
  padding-top: 20px;
  font-weight: normal;
}

.tbl_form table th.req::after {
  content: "（必須）";
  display: inline-block;
  color: var(--red);
  font-size: 2.0rem
}

@media (max-width: 960px) {

  .form_txt {
    font-size: 1.8rem;
  }

  .tbl_form {
    margin: 0 auto 80px;
  }

  .tbl_form table th,
  .tbl_form table td {
    display: block;
    width: 100%;
    font-size: 2.2rem;
    padding-bottom: 20px;
  }

  .tbl_form table tr:last-of-type th,
  .tbl_form table tr:last-of-type td {
    padding-bottom: 20px;
  }

  .tbl_form table th {
    padding-top: 20px;
  }

  .tbl_form table th.req::after {
    font-size: 2.0rem
  }

}


/* フォームパーツ
-------------------------------------------------------------------------*/
input[type="text"],
textarea {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 30px;
  width: 100%;
}

textarea {
  height: 240px;
}

@media (max-width: 960px) {

  input[type="text"],
  textarea {
    padding: 20px;
  }

  textarea {
    height: 280px;
  }

}

/* 同意する欄
-------------------------------------------------------------------------*/
.txt_agree {
  width: 100%;
  margin: 0 auto 80px;
  text-align: center;
  font-size: 2.3rem;
  line-height: 5.0rem;
}

.txt_agree a {
  color: var(--green_2);
  text-decoration: underline;
}

.agree_box {
  width: 100%;
  margin: 0 auto 80px;
  font-size: 2.3rem;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.agree_box input[type="checkbox"] {
  width: 28px;
  height: 28px;
  border: 1px solid var(--black);
  position: relative;
}

.agree_box input[type="checkbox"]:checked {
  border: 1px solid #8b98a5;
  background-color: #1d9bf0;
}

.agree_box input[type="checkbox"]:checked::before {
  content: "";
  display: block;
  position: relative;
  left: 9px;
  top: 5px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.agree_box input[type="checkbox"]:focus-visible {
  outline: 2px solid #1d9bf0;
  outline-offset: 2px;
}


@media (max-width: 960px) {

  .txt_agree {
    font-size: 1.6rem;
    line-height: 5.0rem;
  }

}


/* フォームボタン
-------------------------------------------------------------------------*/
.form-btn_area {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-btn_area button {
  display: block;
  width: 100%;
  max-width: 600px;
  border-radius: 100px;
  text-align: center;
  margin: 0 auto;
  padding: 25px;
  cursor: pointer;
  font-size: 3.7rem;
}

.form-btn_area button[type="submit"] {
  color: var(--white);
  background-color: var(--orange);
}

.form-btn_area button[disabled] {
  background-color: var(--gray);
  cursor: not-allowed;
  /* クリック不可のカーソルを表示 */
}

.form-btn_area button:hover {
  opacity: 0.6;
  transition: all .2s ease-in;
}

.form-btn_area button.back {
  background-color: var(--gray);
}


@media (max-width: 960px) {

  .form-btn_area button {
    padding: 20px;
    font-size: 3.0rem;
  }

}



/* 確認画面
-------------------------------------------------------------------------*/
#formWrap h4 {
  font-weight: bold;
  font-size: 2.0rem;
  margin-bottom: 30px;
}

#formWrap .error_messe {
  text-align: center;
  background-color: var(--brown);
  color: var(--white);
  margin-bottom: 15px;
  padding: 15px;
  font-weight: bold;
  font-size: 1.8rem;
}

#formWrap .form-txt_check {
  text-align: center;
  font-weight: bold;
  font-size: 2.0rem;
  margin-bottom: 50px;
}

.tbl_form.check table th,
.tbl_form.check table td {
  padding: 0;
  vertical-align: top;
  font-size: 2.5rem;
  padding: 30px;
  border: 2px solid var(--gray);
}

.tbl_form.check table tr:last-of-type th,
.tbl_form.check table tr:last-of-type td {
  padding-bottom: 30px;
}

.tbl_form.check table th {
  background-color: var(--brown);
  font-weight: normal;
  text-align: center;
  color: var(--white);
}

.tbl_form.check table td {
  background-color: var(--white);
}