@charset "UTF-8";
/*
Theme Name: サワムラガク湘南 体験イベント応募フォーム
Author: Munenori Kojima
*/

main {
  padding: 0 0 155px;
  font-size: 17px;
  line-height: 1.5;
}
main a {
  text-decoration: underline;
  color: #1167c0;
  font-weight: bold;
}
main .breadcrumbs {
  line-height: 1;
}
main .breadcrumbs a {
  font-weight: normal;
  text-decoration: none;
  color: #222;
}

/*=======================================================
h1
=======================================================*/
.h1_wrapper h1::before {
  content: "";
  background: url("../images/top/teacher_hagumi.svg") no-repeat;
  width: 73px;
  height: 114px;
  display: block;
  position: absolute;
  left: 250px;
  top: -20px;
}
@media screen and (max-width: 750px) {
  .h1_wrapper h1::before {
    left: 50px;
  }
}
/*=======================================================
注意書き
=======================================================*/
#intro {
  width: 867px;
  height: 149px;
  margin: 0 auto 50px;
  padding: 32px 60px 0 135px;
  background: url("../images/entry-form2/intro_bg.png") center left 30px / 88px 84px no-repeat, #fffbf4;
  border: 2px solid #3c2a10;
  border-radius: 5px;
  text-align: center;
}
#intro span {
  display: block;
  margin: 0 0 10px;
}
/*TEL*/
#intro a:last-of-type {
  text-decoration: none;
  color: #422a0a;
  pointer-events: none;
}
@media screen and (max-width: 750px) {
  #intro {
    width: initial;
    margin: 0 60px 50px;
    height: 245px;
    padding: 32px 5px 0 155px;
  }
  #intro p {
    font-size: 22px;
    text-align: left;
  }
  /*TEL*/
  #intro a:last-of-type {
    pointer-events: auto;
  }
}
/*=======================================================
フォーム
=======================================================*/
/***入力テーブル***/
form table {
  width: 867px;
  margin: 0 auto 50px;
}
/**見出し**/
form th {
  width: 360px;
  text-align: left;
  position: relative;
}
form th .att {
  font-size: 14px;
  display: block;
}
/*必須*/
form th::after {
  content: "必須";
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 22px;
  padding: 2px 0 0;
  background: #c04e11;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  right: 100px;
  top: 26px;
}
form .my-car th::after,
form .blank th::after,
form .purpose th::after,
form .other th::after {
  content: none;
}
/**内容**/
form td {
  padding: 20px 0;
}
/*性別*/
form .sex td .horizontal-item + .horizontal-item {
  margin: 0 0 0 60px;
}
/*利用車両、コース・時間*/
form .type select,
form .course select {
  width: 308px;
}
/*ご利用履歴*/
form .usage td .horizontal-item + .horizontal-item {
  margin: 0 0 0 25px;
}
/*電話番号*/
form .tel {
  width: 120px;
}
/*その他・ご要望等*/
form .other th {
  padding: 20px 0 0;
  vertical-align: top;
}
/*入力エラー*/
.mw_wp_form form .error {
  padding: 10px 0 0;
  font-size: 14px;
}
.mw_wp_form .error::before {
  content: "※";
}
/***同意するにチェックをお願いいたします***/
form .end {
  margin: 0 0 50px;
  text-align: center;
  line-height: 1.7;
}
form .end p {
  margin: 0 0 20px;
}
form .end p .att {
  font-size: 14px;
}
/*同意する*/
form .end #agree + span {
  padding: 2px 0 0;
  font-size: 21px;
  font-weight: bold;
}
form .end #agree + span::before,
form #agree:checked + span::after {
  z-index: 1;
}
form #agree:checked + span::after {
  width: 6px;
  height: 10px;
  transform: rotate(45deg);
  border-bottom: 3px solid #3c2a10;
  border-right: 3px solid #3c2a10;
  left: 7px;
  top: -2px;
}
form .end #agree + span label {
  padding: 0 0 0 30px;
  position: relative;
  z-index: 5;
}
/*ボタン*/
form .btn {
  display: flex;
  justify-content: center;
}
form .btn button {
  width: 264px;
  height: 60px;
  padding: 3px 0 0;
  background: #3c2a10;
  border-radius: 5px;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
}
form .btn button.disagree {
  background: #bbb;
  pointer-events: none;
}
@media screen and (max-width: 750px) {
  form table {
    width: 630px;
    margin: 0 60px 50px;
  }
  form table tr {
    display: block;
    width: initial;
  }
  form table tr th {
    display: flex;
    width: initial;
    font-size: 28px;
    align-items: center;
  }
  form table tr td {
    display: block;
    width: initial;
    font-size: 28px;
    padding: 5px 0 30px;
  }
  form th::after {
    width: 63px;
    height: 28px;
    margin: 0 0 0 20px;
    font-size: 18px;
    position: initial;
  }
  form .end {
    font-size: 28px;
  }
  form .end p .att {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .att::before {
    position: initial;
  }
  form .end #agree + span {
    font-size: 30px;
  }
  form .end #agree + span::before,
  form #agree:checked + span::after {
    width: 29px;
    height: 29px;
    left: -10px;
  }
  form #agree:checked + span::after {
    width: 11px;
    height: 15px;
    left: 0px;
    top: -4px;
  }
  form .btn button {
    width: 304px;
    height: 80px;
    padding: 2px 0 0;
    font-size: 31px;
  }
  .mw_wp_form form .error {
    font-size: 24px;
  }
  form th .att {
    font-size: 19px;
    margin: 0 0 0 10px;
  }
}
/*=======================================================
確認画面、サンクスページ
=======================================================*/
#check h1,
#thanks h1 {
  padding: 0;
}
/***確認画面***/
#check form th,
#check form td {
  padding: 20px 0 20px;
  border-bottom: 2px solid #422a0a;
}
#check form tr:last-of-type th,
#check form tr:last-of-type td {
  border-bottom: none;
}
#check form th {
  padding-left: 10px;
  font-weight: bold;
}
#check form th .att,
#check form .end {
  display: none;
}
#check form th::after {
  content: none;
}
/*ボタン*/
#check form .btn {
  width: 400px;
  margin: 0 auto;
  justify-content: space-between;
}
form .btn button.back {
  width: 120px;
  font-size: 22px;
  background: #b29652;
}
/***サンクスページ***/
#thanks main .box {
  width: 867px;
  height: 302px;
  margin: 60px auto 100px;
  padding: 50px 0 0 245px;
  background: url("../images/entry-form2/thanks_bg.png") center left 30px / 176px 177px no-repeat, #fffbf4;
  border: 2px solid #3c2a10;
  border-radius: 5px;
}
#thanks main .box h2 {
  margin: 0 0 30px;
  font-size: 32px;
  font-weight: bold;
}
#thanks main .box .btn a {
  display: flex;
  align-items: center;
  width: 266px;
  height: 51px;
  margin: 35px 0 0 300px;
  padding: 3px 0 0 50px;
  background: url("../images/entry-form2/icon_return.svg") center left 16px / 26px 23px no-repeat, #dd8925;
  border-radius: 5px;
  color: #fff;
  font-size: 21px;
  font-weight: bold;
  text-decoration: none;
}
@media screen and (max-width: 750px) {
  #check form .btn {
    width: 480px;
  }
  form .btn button.back {
    width: 130px;
    font-size: 31px;
  }
  #thanks main .box {
    width: initial;
    height: 450px;
    margin: 60px 60px 100px;
    background: url(../images/entry-form2/thanks_bg.png) top 60px left 20px / 176px 177px no-repeat, #fffbf4;
    padding: 45px 0 0 225px;
  }
  #thanks main .box h2 {
    margin: 0 0 10px;
  }
  #thanks main .box p {
    font-size: 24px;
  }
  #thanks main .box .btn a {
    width: 296px;
    height: 70px;
    margin: 65px 0 0;
    padding: 3px 0 0 50px;
    font-size: 24px;
  }
}
