.contact-mv {
  padding: 130px 0 100px;
}

.sec-style-contact {
  padding: 0 0;
}

/* inner 1200 */
@media(max-width:1359px) {
  .contact-mv {
    padding: 130px 0 7.5vw;
  }
}

@media(max-width:834px) {
  .contact-mv {
    padding: 100px 0 40px;
  }
}

@media(max-width:500px) {
  .contact-mv {
    padding: 80px 0 30px;
  }
}

@media(max-width:400px) {
  .contact-mv__ttl01 {
    font-size: 3.3rem;
  }
}

@media(max-width:359px) {
  .contact-mv__ttl01 {
    font-size: 2.9rem;
  }
}

.contact-wrapper {
  width: 90%;
  max-width: 920px;
  background-color: #fff;
  border: 3px solid #002c95;
  border-radius: 25px;
  padding: 70px 5% 60px;
  margin: 0 auto;
}

/* inner 1200 */
@media(max-width:1359px) {
  .contact-wrapper {
    padding: 60px 5% 60px;
  }
}

@media(max-width:834px) {}

@media(max-width:500px) {
  .contact-wrapper {
    padding: 40px 5% 60px;
  }
}

@media(max-width:400px) {}

@media(max-width:359px) {}

.contact__flow-list {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  width: 220px;
  margin: 0 auto;
}

.contact__flow-list::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 37px;
  left: 75px;
  transform: translate(0, -50%);
  /* background-color: #002c95; */
  border-top: #002c95 dotted 4px;
  width: 100%;
  width: calc(100% - 150px);
  height: 1px;
}

.contact__flow-num {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #ccd5ea;
}

.contact__flow-item.active .contact__flow-num {
  color: #fefb57;
  background-color: #002c95;
}

.contact__flow-txt {
  text-align: center;
  color: #ccd5ea;
  margin-top: 10px;
}

.contact__flow-item.active .contact__flow-txt {
  color: #002c95;
}


@media(max-width:834px) {
  .contact__flow-list {
    width: 190px;
  }

  .contact__flow-list::before {
    top: 25px;
    left: 60px;
    width: calc(100% - 120px);
  }

  .contact__flow-num {
    width: 50px;
    height: 50px;
  }
}

@media(max-width:500px) {
  .contact__flow-list {
    width: 160px;
  }
}


.contact__flow-lead {
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.contact__flow-lead02 {
  text-align: center;
}

.contact__flow-lead02 br {
  display: none;
}

@media(max-width: 1100px) {
  .contact__flow-lead02 br {
    display: block;
  }
}

@media(max-width: 834px) {
  .contact__flow-lead02 {
    text-align: start;
  }

  .contact__flow-lead02 br {
    display: none;
  }
}

.contact-form__label {
  font-size: 1.8rem;
  font-weight: 700;
  width: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 834px) {
  .contact-form__label {
    font-size: 1.6rem;
    flex-wrap: wrap;
  }
}

.require-txt {
  background-color: #fe5358;
  color: #fff;
  padding: 0.05rem 1rem 0rem;
  margin-left: 1rem;
  font-size: 1.3rem;
  border-radius: 3px;
}

.contact-form__item {
  gap: 1rem;
}

.contact input[type=text],
.contact input[type=email],
.contact input[type=tel],
.contact input[type=number],
.contact select {
  border-radius: 5px;
  background-color: #f7f7f7;
  width: 100%;
  height: 50px;
  border-bottom: none;
  padding: 0 20px;
}

.contact input,
.contact select,
.contact textarea {
  background-color: unset;
  padding: 0 0rem;
}

.contact textarea {
  height: 200px;
  border-radius: 5px;
  padding: 2rem 20px;
  background-color: #f7f7f7;
  border-bottom: none;
}

.contact input[type=text]::-moz-placeholder, .contact input[type=email]::-moz-placeholder, .contact input[type=tel]::-moz-placeholder, .contact textarea::-moz-placeholder {
  color: #d5d5d5;
}
.contact input[type=text]::placeholder,
.contact input[type=email]::placeholder,
.contact input[type=tel]::placeholder,
.contact textarea::placeholder {
  color: #d5d5d5;
}

.contact .item-label {
  background-color: unset;
  padding: 0px 0;
  border-radius: 0;
  width: 200px;
}

input.p-postal-code {
  margin-left: 10px;
}

.contact .item-label__span::after {
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11px;
  height: 11px;
  background-color: #506378;
}

.contact [name=zip] {
  width: 100%;
  max-width: 200px;
}

#contact .error-bg {
  border: none;
  /* border-bottom: 1px solid #b9bec3; */
}

#contact .error {
  color: #af4d5b;
  background-color: unset;
  font-size: 1.5rem;
  font-weight: 500;
  display: block;
  padding: 0;
  margin: 0.5rem 0;
}

#contact .error::before {
  content: "";
  display: none;
}

.privacypolicy__wrapper {
  font-size: 1.6rem;
  line-height: 1.75;
  border-radius: 10px;
  border: 1px solid #002c95;
  background-color: #fff;
  padding: 40px 5%;
  margin-top: 7rem;
}

@media(max-width:834px) {
  .privacypolicy__wrapper {
    font-size: 1.4rem;
  }
}
@media(max-width:500px) {
  .privacypolicy__wrapper {
    padding: 25px 5%;
    margin-top: 45px;
  }
}


.privacypolicy__ttl {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0px;
  line-height: 1.5;
  margin-bottom: 25px;
  text-align: center;
}

.privacypolicy__ttl02 {
  color: #ccd5ea;
}

@media(max-width:834px) {
  .privacypolicy__ttl01 {
    font-size: 2.1rem;
  }
}

.privacypolicy__list-ttl {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 3px dotted #6785dd;
  margin-bottom: 10px;
}

@media screen and (max-width: 640px) {
  .privacypolicy__list-ttl {
    font-size: 1.8rem;
    line-height: 1.5;
    padding-left: 0;
  }
}

.privacypolicy__list-item:last-of-type {
  margin-bottom: 0;
}

.privacypolicy__list-ul {
  margin-top: 18px;
}

.privacypolicy__list-li {
  position: relative;
  padding-left: 18px;
  font-size: 1.6rem;
  line-height: 1.75;
  margin-bottom: 5px;
}

.privacypolicy__list-li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #6785dd;
}

.privacypolicy__controller-checkbox {
  font-size: 1.6rem;
  background-color: unset;
}

.privacypolicy__controller-checkbox input {
  margin-right: 10px;
}

.privacypolicy__controller-submit input {
  box-sizing: border-box;

  font-family: "M PLUS Rounded 1c", serif;
  color: #002c95;
  position: relative;
  display: block;
  max-width: 260px;
  width: 90%;
  height: 70px;
  border-radius: 35px;
  background-color: #fefb57;
  border: 2px solid #002c95;
  box-shadow: 0 3px 0 #002c95;
  margin: 50px auto 0;
}

.privacypolicy__controller-submit input:active {
  box-shadow: none;
  transform: translateY(3px);
}

.privacypolicy__address {
  margin-top: 30px;
}

@media(max-width:834px) {
  .privacypolicy__controller-submit input {
    height: 62px;
    border-radius: 31px;
    margin: 30px auto 0;
  }

}

@media(max-width:500px) {
  .privacypolicy__controller {
    padding: 0 0 0;
  }
  .privacypolicy__controller-submit input {
    margin: 20px auto 0;
  }
}

.contact-form__detail {
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 10px 0 0;
}

.contact .inquiry-item__list {
  max-width: 660px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 15px;
  margin-top: 5px;
}

@media(max-width:1400px) {
  .privacypolicy__list-li {
    font-size: 1.5rem;
  }
}

@media(max-width:834px) {
  .contact .inquiry-item__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 15px;
    margin-top: 5px;
  }

  .privacypolicy__list-li {
    font-size: 1.4rem;
  }

  #contact .error {
    font-size: 1.4rem;
  }

  .contact-form__detail {
    font-size: 1.3rem;
  }

}


@media(max-width:500px) {
  .contact .inquiry-item__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px 15px;
    margin-top: 5px;
  }


}

/* thanks */
.thanks__link {
  font-family: "M PLUS Rounded 1c", serif;
  color: #002c95;
  position: relative;
  display: block;
  max-width: 260px;
  width: 90%;
  height: 70px;
  line-height: 68px;
  border-radius: 35px;
  font-weight: 800;
  text-align: center;
  background-color: #fefb57;
  border: 2px solid #002c95;
  box-shadow: 0 3px 0 #002c95;
  margin: 7rem auto 2rem;
}

.thanks__link:active {
  box-shadow: none;
  transform: translateY(3px);
}

.thanks .contact__heading-ttl {
  font-weight: 500;
  text-align: center;
  margin: 60px 0 30px;
}

.thanks .contact__heading-txt {
  text-align: center;
}

@media(max-width:834px) {
  .thanks__link {
    width: 300px;
    height: 60px;
    line-height: 58px;
    font-size: 1.5rem;
    margin: 40px auto 2rem;
  }
}

@media(max-width:600px) {
  .thanks .contact__heading-ttl {
    margin: 35px 0 15px;
  }

  .thanks .contact__heading-txt {
    /* text-align: start; */
  }

}

@media(max-width:359px) {
  .thanks .contact__heading-txt {
    font-size: 1.3rem;
  }
}

.contact .footer {
  padding-top: 130px;
}

@media(max-width:1359px) {
  .contact .footer {
    padding-top: 8vw;
  }
}

@media(max-width:834px) {
  .contact .footer {
    padding-top: 50px;
  }
}

/* 学校説明会を選択したら出身中学校 */
.contact-form__jhschool {
  display: none;
}

.contact-form__jhschool.active {
  display: block;
}