@media (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}
.footer-nav {
  display: none;
}

.form-wrapper {
  margin-block: 40px 100px;
}
@media (max-width: 767px) {
  .form-wrapper {
    margin-block: 30px 60px;
  }
}

@media (max-width: 767px) {
  .form-container {
    padding-inline: 0;
  }
}

.form-box {
  background-color: #ECFAFF;
  border-radius: 10px;
  padding: 40px 40px 60px;
  position: relative;
  z-index: 0;
}
.form-box--confirm {
  padding-bottom: 40px;
}
@media (max-width: 991px) {
  .form-box {
    padding: 40px 15px 230px;
  }
  .form-box--confirm {
    padding-bottom: 40px;
  }
}
@media (max-width: 767px) {
  .form-box {
    border-radius: 0;
  }
}

.form-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
  margin-inline: auto;
  max-width: 620px;
  padding-inline: 10px;
}
@media (max-width: 767px) {
  .form-steps {
    margin-bottom: 20px;
    padding-inline: 9px;
  }
}

.form-step {
  color: var(--light-color);
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.04em;
  margin-inline: -10px;
  text-align: center;
}
@media (max-width: 767px) {
  .form-step {
    font-size: 14px;
    margin-inline: -9px;
  }
}
.form-step::before {
  background: left center/contain no-repeat;
  content: "";
  display: block;
  height: 15px;
  margin-bottom: 6px;
  width: 64px;
}
@media (max-width: 767px) {
  .form-step::before {
    height: 13px;
  }
}
.form-step:nth-child(1)::before {
  background-image: url(/assets/img/form/step01.svg);
}
.form-step:nth-child(1) .form-step__txt {
  padding-right: 5px;
}
.form-step:nth-child(1) .form-step__txt::before {
  clip-path: polygon(calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 0 50%, 0% 0%);
}
@media (max-width: 767px) {
  .form-step:nth-child(1) .form-step__txt::before {
    clip-path: polygon(calc(100% - 16px) 0%, 100% 50%, calc(100% - 16px) 100%, 0% 100%, 0 50%, 0% 0%);
  }
}
.form-step:nth-child(1) .form-step__txt::after {
  clip-path: polygon(calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%, 0 50%, 0% 0%);
}
@media (max-width: 767px) {
  .form-step:nth-child(1) .form-step__txt::after {
    clip-path: polygon(calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 0 50%, 0% 0%);
  }
}
.form-step:nth-child(2)::before {
  background-image: url(/assets/img/form/step02.svg);
}
.form-step:nth-child(2) .form-step__txt::before {
  clip-path: polygon(calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 18px 50%, 0% 0%);
}
@media (max-width: 767px) {
  .form-step:nth-child(2) .form-step__txt::before {
    clip-path: polygon(calc(100% - 16px) 0%, 100% 50%, calc(100% - 16px) 100%, 0% 100%, 16px 50%, 0% 0%);
  }
}
.form-step:nth-child(2) .form-step__txt::after {
  clip-path: polygon(calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%, 20px 50%, 0% 0%);
}
@media (max-width: 767px) {
  .form-step:nth-child(2) .form-step__txt::after {
    clip-path: polygon(calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 18px 50%, 0% 0%);
  }
}
.form-step:nth-child(3)::before {
  background-image: url(/assets/img/form/step03.svg);
}
.form-step:nth-child(3) .form-step__txt::before {
  clip-path: polygon(calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 18px 50%, 0% 0%);
}
@media (max-width: 767px) {
  .form-step:nth-child(3) .form-step__txt::before {
    clip-path: polygon(calc(100% - 16px) 0%, 100% 50%, calc(100% - 16px) 100%, 0% 100%, 16px 50%, 0% 0%);
  }
}
.form-step:nth-child(3) .form-step__txt::after {
  clip-path: polygon(calc(100% - 20px) 0%, 100% 50%, calc(100% - 20px) 100%, 0% 100%, 20px 50%, 0% 0%);
}
@media (max-width: 767px) {
  .form-step:nth-child(3) .form-step__txt::after {
    clip-path: polygon(calc(100% - 18px) 0%, 100% 50%, calc(100% - 18px) 100%, 0% 100%, 18px 50%, 0% 0%);
  }
}
.form-step.is-current {
  color: #fff;
}
.form-step.is-current .form-step__txt::before {
  background-color: var(--light-color);
}
.form-step.is-complete .form-step__txt-inner {
  background: url(/assets/img/form/ico-check-complete.svg) left center/20px no-repeat;
  padding-left: 28px;
}
@media (max-width: 767px) {
  .form-step.is-complete .form-step__txt-inner {
    background-size: 18px;
    padding-left: 22px;
  }
}
.form-step__txt {
  display: grid;
  height: 50px;
  place-content: center;
  position: relative;
  z-index: 0;
}
@media (max-width: 767px) {
  .form-step__txt {
    height: 40px;
  }
}
.form-step__txt::before, .form-step__txt::after {
  content: "";
  position: absolute;
}
.form-step__txt::before {
  background-color: #fff;
  height: calc(100% - 4px);
  left: 2px;
  top: 2px;
  width: calc(100% - 4px);
  z-index: -1;
}
.form-step__txt::after {
  background-color: var(--light-color);
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  z-index: -2;
}

.form-read {
  text-align: center;
  margin-bottom: 40px;
}
@media (max-width: 767px) {
  .form-read {
    text-align: left;
    margin-bottom: 20px;
  }
}

.form-teacher {
  bottom: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
@media (max-width: 991px) {
  .form-teacher img {
    height: 200px;
    width: auto;
  }
}
.form-teacher--01 {
  left: 80px;
}
@media (max-width: 1199px) {
  .form-teacher--01 {
    left: 30px;
  }
}
@media (max-width: 991px) {
  .form-teacher--01 {
    left: 50%;
    margin-left: -165px;
  }
}
.form-teacher--02 {
  right: 56px;
}
@media (max-width: 1199px) {
  .form-teacher--02 {
    right: 26px;
  }
}
@media (max-width: 991px) {
  .form-teacher--02 {
    left: 50%;
    margin-left: 5px;
    right: auto;
  }
}

.form-list {
  align-items: start;
  border-bottom: 1px solid var(--very-light-color);
  display: grid;
  gap: 30px;
  grid-template-columns: 215px 1fr;
  margin: 0 auto 20px;
  max-width: 800px;
  padding-bottom: 20px;
}
@media (max-width: 767px) {
  .form-list {
    gap: 10px;
    grid-template-columns: 1fr;
  }
}
.form-list:first-child {
  margin-top: 40px;
}
.form-list__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 55px;
}
@media (max-width: 767px) {
  .form-list__head {
    gap: 20px;
    justify-content: start;
    min-height: auto;
  }
}
.form-list__label {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
}

.form-input,
.form-select,
.form-textarea {
  appearance: none;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid var(--dark-color);
  color: var(--body-color);
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}
.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  opacity: 0.5;
}
.form-input.is-error,
.form-select.is-error,
.form-textarea.is-error {
  border-color: var(--red);
}

.form-input {
  height: 60px;
  padding-inline: 20px;
}
.form-input--sm {
  max-width: 170px;
}
@media (max-width: 767px) {
  .form-input--sm {
    max-width: 100%;
  }
}

.form-selectbox {
  display: flex;
  align-items: center;
  position: relative;
}
.form-selectbox--sm {
  max-width: 210px;
}
.form-selectbox--prefecture {
  max-width: 150px;
}
.form-selectbox::after {
  border-bottom: 2px solid var(--dark-color);
  border-right: 2px solid var(--dark-color);
  content: "";
  height: 12px;
  position: absolute;
  right: 25px;
  top: 45%;
  transform: translate(50%, -50%) rotate(45deg);
  width: 12px;
}
.form-selectbox[data-target=group-saitama], .form-selectbox[data-target=group-gunma], .form-selectbox[data-target=group-tochigi], .form-selectbox[data-target=group-saitama-high-school], .form-selectbox[data-target=group-gunma-high-school], .form-selectbox[data-target=group-tochigi-high-school] {
  display: none;
}

.form-select {
  height: 60px;
  padding: 0 40px 0 20px;
}

.form-textarea {
  height: 220px;
  padding: 15px 20px;
}

.form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  min-height: 55px;
}
@media (max-width: 767px) {
  .form-radios {
    align-items: start;
    flex-direction: column;
    min-height: auto;
  }
}

.form-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  min-height: 55px;
}
@media (max-width: 767px) {
  .form-checkboxes {
    align-items: start;
    flex-direction: column;
    min-height: auto;
  }
}

.form-radio {
  align-items: center;
  color: var(--body-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  gap: 5px;
}
.form-radio input {
  background-color: #fff;
  appearance: none;
  border: 1px solid var(--dark-color);
  border-radius: 50%;
  content: "";
  cursor: pointer;
  display: grid;
  height: 24px;
  margin: 0;
  place-content: center;
  width: 24px;
}
.form-radio input::before {
  background-color: var(--light-color);
  border-radius: 50%;
  content: "";
  display: block;
  height: 14px;
  opacity: 0;
  width: 14px;
}
.form-radio input:checked::before {
  opacity: 1;
}

.form-checkbox {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  line-height: 1.5;
}
.form-checkbox input {
  appearance: none;
  background-color: #fff;
  border-radius: 2px;
  border: 1px solid var(--dark-color);
  content: "";
  cursor: pointer;
  display: grid;
  flex-shrink: 0;
  height: 24px;
  margin: 0;
  place-content: center;
  width: 24px;
}
.form-checkbox input::before {
  border: 2px solid #fff;
  border-right: 0;
  border-top: 0;
  content: "";
  display: block;
  height: 8px;
  opacity: 0;
  transform: translateY(-25%) rotate(-45deg);
  width: 14px;
}
.form-checkbox input:checked {
  background-color: var(--dark-color);
}
.form-checkbox input:checked::before {
  opacity: 1;
}
.form-checkbox input.is-error {
  border-color: var(--red);
}

.form-name {
  display: flex;
  gap: 10px;
}

.form-building {
  display: grid;
  gap: 10px;
  grid-template-columns: 150px 1fr;
}
@media (max-width: 767px) {
  .form-building {
    grid-template-columns: 1fr;
  }
}

.form-address + .form-address {
  margin-top: 20px;
}
.form-address__head {
  display: block;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
}
.form-address__body {
  display: block;
  margin-top: 5px;
}
.form-address__btn {
  font-size: 14px;
  height: 46px;
  letter-spacing: 0;
}
.form-address--zip .form-address__body {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 140px 128px;
}

.form-foot {
  font-size: 18px;
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 767px) {
  .form-foot {
    margin-top: 20px;
    text-align: left;
  }
}
.form-foot__check {
  display: grid;
  font-size: 20px;
  justify-content: center;
  margin-top: 20px;
}
@media (max-width: 767px) {
  .form-foot__check {
    justify-content: start;
  }
}
.form-foot__check .form-error-txt {
  padding-left: 36px;
  text-align: left;
}
.form-foot__submit {
  align-items: center;
  display: flex;
  gap: 20px 40px;
  margin-top: 40px;
  justify-content: center;
}
@media (max-width: 767px) {
  .form-foot__submit {
    flex-direction: column;
  }
}
.form-foot__submit .button {
  max-width: 330px;
}
@media (min-width: 768px) {
  .form-foot__submit .button--submit-back {
    order: -1;
  }
}

.form-error-txt {
  color: var(--red);
  font-size: 14px;
  line-height: 1.43;
  margin-top: 4px;
}

.form-confirm-txt {
  align-items: center;
  display: grid;
  min-height: 55px;
}
@media (max-width: 767px) {
  .form-confirm-txt {
    display: block;
    min-height: auto;
  }
}

.form-subttl {
  color: var(--dark-color);
  font-size: 28px;
  font-weight: var(--font-weight-bold);
  margin-block: 40px 30px;
  text-align: center;
}
@media (max-width: 767px) {
  .form-subttl {
    font-size: 24px;
    margin-block: 35px 25px;
  }
}

.footer {
  padding-top: 0;
  margin-top: 100px;
}

@media (max-width: 767px) {
  .footer {
    margin-top: 60px;
    padding-bottom: 20px;
  }
}

.footer__foot {
  border-top: none;
  margin-top: 0;
}
