html {
  font-size: 10px;
}
body {
  margin: auto;
  overflow-y: hidden;
}
/* 一時的 */
#over_btn{
  display: none;
}
.screen-reader-response {
  display: none;
}

.err_message,
.wpcf7-not-valid-tip  {
  color: red;
  transition: height 0.5s ease;
}

#lp_wrap .sec_08 .custom-checkbox .wpcf7-checkbox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; }
#lp_wrap .sec_08 .custom-checkbox .wpcf7-list-item { flex: 1; margin: 0; }
#lp_wrap .sec_08 .custom-checkbox input[type="radio"] { display: none; }
#lp_wrap .sec_08 .custom-checkbox .wpcf7-list-item-label { display: block; padding: 20px 10px; background-color: #fff; border: 1px solid #545C5B; border-radius: 5px; cursor: pointer; text-align: center; box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10); transition: all 0.3s ease; }
#lp_wrap .sec_08 .custom-checkbox .wpcf7-list-item-label:hover { background-color: #e9e9e9; }
#lp_wrap .sec_08 .custom-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label { background-color: #7657A6; color: #ffffff; border-color: #7657A6; }

.lp-recaptcha {
  width: fit-content;
  margin: 20px auto;
}

body #lp_wrap .sec_08 .link_box {
  margin: 10px 0 0 0;
}

/* main以外のルート配下すべて */
body> :not(main) {

  &,
  & * {

    h1,
    h2,
    h3,
    h4,
    ul,
    dl,
    dd,
    p,
    figure {
      margin: 0;
      padding: 0;
      line-height: 1;
    }

    h1 {
      background-color: #3e3e3e;
      font-size: 1.2rem;
      font-weight: normal;
      color: #fff;
      height: 22px;
      display: flex;
      align-items: center;
      padding-left: calc((100% - 960px) / 2);
    }



    .pc {
      display: inline-block;
    }

    footer .tel {
      color: #4b4b4b;
      font-family: "Anton", sans-serif;
      background-image: url(../../../img/lp/jo1/icon001.png);
      background-repeat: no-repeat;
      background-size: 78px 45px;
    }


    footer .free_dial>i {
      background-image: url(../../../img/lp/jo1/icon016.png);
    }
  }
}


body > header div {
  box-shadow: 0 1px 3px rgba(4, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 3px rgba(4, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 3px rgba(4, 0, 0, 0.1);
  box-shadow: 0 1px 3px rgba(4, 0, 0, 0.1);
}

body > header ul {
  width: 960px;
  height: 75px;
  margin: 0 auto;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
}

body > header li {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
}

body > header li:last-of-type {
  min-width: 213px;
}

body > header .tel {
  font-size: 3rem;
  background-position: left bottom 4px;
  background-size: 39px 23px;
  display: block;
  padding-left: 41px;
  margin-bottom: 7px;
  position: relative;
  color: #4b4b4b;
  font-family: "Anton", sans-serif;
  background-image: url(../../../img/lp/jo1/icon001.png);
  background-repeat: no-repeat;

}

body > header .tel img {
  position: absolute;
  left: 0;
  top: 12px;
}

body > header .tel {
  background-image: url(../../../img/lp/jo1/icon001.png);
}

footer .free_dial > i {
  content: "";
  background-image: url(../../../img/lp/jo1/icon016.png);
  -webkit-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  width: 26px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  vertical-align: -6px;
  margin-left: 20px;
  margin-right: 5px;
}

@media screen and (max-width: 767px) {
  body .sp {
    display: block;
  }

  body .pc {
    display: none !important;
  }

  /*------------------------------------------------
  Common Parts
  ------------------------------------------------*/
  .btn {
    width: 100%;
    margin: 5% auto 0;
  }
  .btn img,
  .btn02 img {
    width: 100%;
  }
  .btn a {
    position: relative;
    height: 70px;
  }
  .btn02,
  .btn {
    -webkit-background-size: contain;
    background-size: contain;
    height: auto;
    background-repeat: no-repeat;
  }

  .inner {
    width: 100%;
  }
  .w423 {
    width: 100%;
  }
  .h95 {
    height: auto;
  }
  .tab_body:not([data-id="1"]) .inner {
    padding: 20% 3%;
  }

  /*------------------------------------------------
  Header
  ------------------------------------------------*/
  html {
    font-size: 8px;
  }

  body {
    min-width: 100%;
  }

  h1 {
    justify-content: center;
  }


  body header div {
    -moz-box-shadow: 0 1px 3px rgba(4, 0, 0, 0.1);
    padding: 0 3%;
  }
  body header ul {
    width: 100%;
    height: 60px;
  }
  body header li:first-of-type {
    width: 45%;
  }
  body header li:first-of-type img {
    width: 100%;
  }
  body header li:last-of-type {
    width: 55%;
    min-width: auto;
    justify-content: flex-end;
  }
  body header .tel {
    background-position: left bottom 1px;
    background-size: 23%;
    padding-left: 19%;
    font-size: 2.7rem;
  }
  body header .tel img {
    width: 100%;
    top: 6px;
  }
  .header_list li:first-of-type img {
    width: 75%;
  }
  span.h_telephone {
    margin-bottom: 6px;
  }
  body header  div {
    padding: 1% 3%;
  }
  body header  .tel {
    background-image: unset;
    padding-left: 10px;
    margin-bottom: 0;
    font-size: 4rem;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
  }
  body header .tel br {
    display: none;
  }
  body header .tel img {
    display: block;
    position: static;
  }
  body header span.tel_number:before {
    content: "";
    display: inline-block;
    width: 9vw;
    height: 5vw;
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 4px;
    background-image: url(../../../img/lp/aff/icon001.png);
  }
}

span.year_of_birth {
  min-width: 150px;
}

@media screen and (max-width: 640px) {
  body header ul {
    width: 100%;
    height: auto;
  }
  body .form_child {
    /*width: 94%;*/
    width: 90vw;
    max-width: unset;
    margin-top: 10px;
  }
  body .form-step > li {
    width: 33%;
  }
  body .form-step > li > .step-label {
    width: 100%;
  }
  body .employment-list.select-list li {
    width: 49%;
  }

  body .form_inner select#pref,
  body select#form-resume_city_id {
    min-width: 96%;
    max-width: 96%;
  }
}


@media screen and (max-width: 610px) {
  .tab_list .tab {
    font-size: 2.6vw;
  }
  .header_list li:first-of-type img {
    width: 100%;
  }
  .main_img p:first-of-type {
    width: 95%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 542px) {
  .clearfix img {
    width: 100%;
  }
  body header .tel {
    font-size: 5.4vw;
  }
  body header .tel img {
    top: 4px;
  }
span.year_of_birth {
  min-width: 100px;
}
  body .cnt6 img {
    width: 100%;
  }
}

/** step form */
.form-footer.flex-column.step-ctrl {
  display: flex;
  justify-content: space-between;
  position: relative;
  /* bottom: 0; */
  width: fit-content;
  padding-bottom: 10px;
  margin: auto;
}
.form_body {
  /* width: 90%; */
  overflow: hidden;
  position: relative;
  height: auto;
  margin: auto;
}
.form_inner {
  width: auto;
  /* min-width: 1920px; */
  display: flex;
  position: relative;
  padding: 0;
  min-height: fit-content;
}
.step1_block,
.step2_block,
.step3_block,
.step4_block {
  /* width: 440px;
  min-width: 440px; */
  /* min-width: 90dvw; */
  display: block;
  /* padding: 20px; */
  /* padding-bottom: 76px; */
}
  .form_step {
    position: relative;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    height: auto;
    transition: opacity 0.5s ease;
  }
  .form_step:not(.active_slide) {
    /* display: none; */
    opacity: 0;
    height: 0px;
    overflow: hidden;
  }
  .active_slide {
    display: block;
    height: fit-content;
    min-height: fit-content;
    opacity: 1;
    pointer-events: auto;
    position: relative;
  }

a.submit-btn.next-step-btn.prev_step1.back_btn,
a.submit-btn.next-step-btn.prev_step2.back_btn,
a.submit-btn.next-step-btn.prev_step3.back_btn,
a.submit-btn.next-step-btn.prev_step4.back_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #cccccc;
  /* width: 132px; */
  border-radius: 4px;
  color: #000000;
}
a.submit-btn.next-step-btn.prev_step1.back_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  width: 132px;
  border-radius: 4px;
  color: #000000;
}
.submit-btn.next_step4 {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  width: 252px;
  border-radius: 4px;
  color: #ffffff;
  border-top: none;
  border-right: none;
  border-left: none;
}
@media screen and (max-width: 640px) {
  .form-footer.flex-column.step-ctrl {
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: 0;
    width: 80vw;
    padding: 3vw 2vw;
  }
  .form_body {
    overflow: hidden;
    position: relative;
    width: auto;
    margin: 0;
  }
  .form_inner {
    /* width: 364vw;
    min-width: 364vw; */
    display: flex;
    position: relative;
    padding: 0;
  }
  .step1_block,
  .step2_block,
  .step3_block,
  .step4_block {
    width: 100%;
    box-sizing: border-box;
  }

  a.submit-btn.next-step-btn.prev_step1.back_btn,
  a.submit-btn.next-step-btn.prev_step2.back_btn,
  a.submit-btn.next-step-btn.prev_step3.back_btn,
  a.submit-btn.next-step-btn.prev_step4.back_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cccccc;
    width: 132px;
    border-radius: 4px;
    color: #000000;
  }
  a.submit-btn.next-step-btn.prev_step1.back_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 132px;
    border-radius: 4px;
    color: #000000;
  }
  .submit-btn.next_step4 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    width: 50%;
    border-radius: 4px;
    color: #ffffff;
  }
}

.mr10 {
  margin-right: 10px;
}
.input-parent.kana {
  margin-right: 10px;
}
@media screen and (max-width: 500px) {
  .input-parent.kana {
    margin-right: 1%;
  }
  textarea.wpcf7-form-control.wpcf7-textarea {
    height: 120px;
  }
}
