* {
  margin: 0;
  padding: 0;
  outline: none;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
  list-style: none;
}
html {
  height: 100%;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: calc(0.45rem + 0.6vw);
  background-color: #f9f9f9;
  height: 100%;
}
.wrapper {
  width: 100%;
  position: relative;
  min-height: 100%;
}
.sp-show {
  display: none;
}
.pc-show {
  display: block;
}
a:hover {
  opacity: 0.6;
  transition: 0.3s;
}
label {
  color: #5b5b5b;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }
  .sp-show {
    display: block;
  }
  .pc-show {
    display: none;
  }
}
/* header */
.site-branding img {
  width: 140px;
}
.job-application-form .site-header__wrap {
  display: block;
  justify-content: inherit;
}
.job-application-form .page-title {
  color: #5b5b5b;
}
@media screen and (min-width: 1200px) {
  .nav-menu-break-large .primary-menu-toggle--close {
    display: none;
  }
  .nav-menu-break-large .site-primary-navigation {
    margin-top: 0;
    display: table-cell;
    vertical-align: middle;
    text-align: right;
  }
  .job-application-form .site-header__wrap {
    display: flex;
    justify-content: space-between;
  }
}
/* form */
.lp03 .form_pc br {
  display: none;
}
.lp03 .form_pc img {
  width: 190px;
  margin: 0 auto 40px;
}
.lp03 .form_pc form {
  width: 760px;
  margin: 40px auto 0;
}
.lp03 .form_pc input {
  border: 1px solid #d9d9d9;
  width: 100%;
  border-radius: 6px;
  height: 66px;
  margin-bottom: 12px;
  padding-left: 15px;
  font-weight: 500;
  font-size: 16px;
}
.lp03 .form_pc form input::placeholder {
  color: #aaa;
}
.lp03 .form_pc p {
  margin-bottom: 0;
}
.lp03 .form_pc .wpcf7-submit {
  display: block;
  width: 240px;
  padding: 18px 0;
  color: #fff;
  letter-spacing: 0.12em;
  font-weight: bold;
  border: 2px solid #fff;
}
.lp03 .form_pc .wpcf7-submit:hover {
  background: #fff;
  color: #7dc246;
  border: 2px solid #7dc246;
  transition: 0.3s;
}
@media screen and (max-width: 900px) {
  .lp03 .form_pc {
    display: none;
  }
  .lp03 .form_sp {
    display: block;
    padding-bottom: 16px;
    height: 60vh;
  }
  .form_sp p {
    margin-bottom: 0;
  }
  html #wpadminbar {
    min-width: inherit;
  }
}

/* sp_form */
.form_sp {
  display: none;
}
.job-application-form .intro {
  max-width: 760px;
  margin: 40px auto 0;
}
@media screen and (max-width: 900px) {
  .job-application-form .intro {
    max-width: 400px;
    width: 90%;
    margin: 10px auto;
  }
  .job-application-form main {
    padding-bottom: 0;
  }
  .form_sp {
    display: block;
    /* height: 330px; */
  }
  .wpcf7 form.sent .wpcf7-response-output {
    width: 90%;
    margin: 0 auto;
    position: absolute;
    bottom: 17px;
    right: 0;
    left: 0;
    animation-name: message-fadein;
    animation-duration: 0.3s;
    animation-delay: 0.5s;
  }
  @keyframes message-fadein {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .sp_form_navigation.numbers {
    background-color: #7cc444;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 0 0 16px;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .sp_form_navigation_heading {
    color: #fff;
    font-size: 15px;
    margin-bottom: 0;
  }
  .sp_form_navigation.numbers ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
  }
  .sp_form_navigation.numbers .number {
    color: #fff;
    background-color: transparent;
    width: 17px;
    height: 17px;
    border-radius: 40px;
    line-height: 17px;
    display: block;
  }
  .sp_form_navigation.numbers li.active {
    background-color: #ff6902;
    color: #fff;
  }
  .sp_form_navigation.numbers ul li p {
    padding: 0;
    margin: 0 auto;
    color: #fff;
    height: 17px;
    line-height: 17px;
  }
  .sp_form_step input {
    border-radius: 0 !important;
  }
  .dot_line {
    width: 40px;
    height: 1px;
    border-bottom: 1px dotted #f8f8f8;
  }
  @media screen and (max-width: 500px) {
    .stepper_heading h2 {
      font-size: 13px;
    }
    .wpcf7-validates-as-required {
      margin-top: 10px !important;
    }
  }
  .form-container input {
    border: 1px solid #878787;
    height: 56px;
    font-size: 16px;
    padding-left: 12px;
    width: 90%;
    margin: 10px auto;
    max-width: 400px;
  }
  .form-container input::placeholder {
    color: #aaa;
  }
  .form-container input input[class^="2"],
  .form-container input input[class^="3"] {
    display: none;
  }
  .sp_form_navigation.btn ul,
  .sp_form_step.sp_form_step3 ul {
    padding: 0;
  }
  .sp_form_navigation.btn p {
    margin: 0;
  }
  .sp_form_navigation.btn .next,
  .sp_form_navigation.btn .prev {
    background: #ff6902;
    width: 100%;
    margin: 10px auto;
    max-width: 400px;
    height: 44px;
    display: block;
    color: #fff;
    font-weight: bold;
    text-align: center;
    line-height: 44px;
    font-size: 15px;
  }
  .sp_form_navigation.btn .prev {
    opacity: 0.75;
    margin-top: 10px;
  }
  .sp_form_step.sp_form_step2 .prev {
    margin-bottom: 12px;
  }
  .sp_form_step {
    margin: 0 auto;
    transition: 0.3s;
  }
  .sp_form_step.current {
    display: block;
  }
  .sp_form_step .wrap {
    width: 90%;
    margin: 0 auto;
    position: relative;
  }
  .sp_form_step1 .wrap::before {
    content: "";
    display: none;
    padding-top: 30%;
  }
  .sp_form_step2 .wrap::before {
    content: "";
    display: none;
    padding-top: 60%;
  }
  .sp_form_step3 .wrap::before {
    content: "";
    display: none;
    padding-top: 100%;
  }
  .sp_form_step .wrap .sp_form_step p input {
    margin-bottom: 10px !important;
  }
  .sp_form_step p input,
  .sp_form_navigation.btn {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: block;
  }
  .sp_form_step p {
    margin-bottom: 0;
  }
  #submit_lp03_form_sp {
    max-width: 400px;
    width: 100%;
    margin: 10px auto 0;
  }
  /* フォームナビゲーションスタイル */
  .sp_form_navigation {
    margin-bottom: 20px;
  }

  .sp_form_navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .prev.disabled,
  .next.disabled {
    pointer-events: none;
    opacity: 0.5;
  }

  .step1,
  .step2,
  .step3 {
    display: none;
  }
  .step1.current,
  .step2.current,
  .step3.current {
    display: block;
  }
  .sp_form_step.sp_form_step3.current #submit_lp03_form_sp {
    display: block;
    margin-top: 10px;
    background: #ff6902;
  }
  .sp_form_step.sp_form_step3.current p .wpcf7-spinner {
    display: none;
  }
  #submit_lp03_form_sp.disabled {
    pointer-events: none;
    display: none;
  }
  .sp_form_step1.current #submit_lp03_form_sp,
  .sp_form_step2.current #submit_lp03_form_sp {
    display: none;
  }
}

/* footer */
footer {
  background-color: #7cc444;
  text-align: center;
  padding: 75px 0 16px;
  font-size: 12px;
  height: 184px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
footer ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
  margin-bottom: 2em;
  padding: 0;
}
footer a {
  color: #fff;
  font-weight: 400;
}
footer small {
  color: #fff;
  opacity: 0.4;
}
@media screen and (max-width: 900px) {
  footer {
    width: 100%;
    transform: translate(0);
    padding-top: 40px;
  }
  footer a {
    font-size: 12px;
  }
  footer ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-bottom: 75px;
    padding: 0;
  }
}

/* ここからスマホフォームのスライドアニメーション↓ */
/* ステップフォームのコンテナを水平方向に並べる */
.form_sp .wpcf7-form {
  display: flex;
  flex-direction: row;
  overflow: hidden; /* コンテンツがはみ出た場合に隠す */
}

/* 各ステップの幅とアニメーション設定 */
.sp_form_step {
  width: 100%;
  min-width: 100%;
  transition: transform 0.3s ease-in-out;
}

/* アクティブなステップを表示する */
.sp_form_step1.current {
  transform: translateX(0%);
}
.sp_form_step2.current {
  transform: translateX(-100%);
}
.sp_form_step3.current {
  transform: translateX(-200%);
}

/* 次のステップが右から現れ、前のステップが左へ移動するアニメーション */
.sp_form_step.next {
  transform: translateX(100%);
}

.sp_form_step.prev {
  transform: translateX(-100%);
}

.sp_form_step2.prev {
  transform: translateX(-200%);
}

@media screen and (max-width: 900px) {
  footer {
    height: auto;
  }
}
