@charset "utf-8";
/* 全体調整 */
body{
  background-color: #eef4fb;
}
.fw-700{
  font-weight: 700;
}
#page-contact-step-wrapper p{
  margin-bottom: 0;
}
.contact-step-header{
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: #fff;
}
.contact-step-header-row{
  display: flex;
  justify-content: center;
  gap: 8px;
}
.contact-step-header-row > *{
  width: 50%;
}
.header-logo-item{
  width: auto;
}
.contact-step{
  padding-top: 12px;
  padding-bottom: 1rem;
}
.contact-step-header-item img{
  width: 100%;
}
.contact-step-inner{
  width: 624px;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 12px;
  padding-left: 12px;
}
.contact-step-title {
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
}
.contact-step-desc{
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  color: #002060;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.contact-step-desc span{
  display: inline-block;
}
.contact-step-desc .text-red{
  color: #ec2214;
}
.contact-step-desc .contact-step-desc-large{
  font-size: 1.5rem;
}
.contact-step-desc::before{
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  transform: rotate(-30deg);
  -webkit-transform: rotate(-30deg);
  width: 2px;
  height: 24px;
  background-color: #002060;
}
.contact-step-desc::after{
  content: "";
  position: absolute;
  bottom: 8px;
  right: 0;
  transform: rotate(30deg);
  -webkit-transform: rotate(30deg);
  width: 2px;
  height: 24px;
  background-color: #002060;
}
.contact-step-part{
  display: flex;
  text-align: center;
  font-weight: 700;
}
.contact-step-part-info{
  color: #fff;
  background-color: #002060;
  border-top: 1px solid #002060;
  border-bottom: 1px solid #002060;
  width: 60%;
  position: relative;
  font-size: 14px;
  padding: 6px 8px 2px;
}
.contact-step-part-info::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 12px solid #002060;
  border-right: 0;
}
.contact-step-part-comp{
  background-color: #d9d9d9;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: 40%;
  font-size: 14px;
  padding: 6px 8px 2px;
}
.required{
  background-color: #ec2214;
  color: #fff;
  border-radius: 10px;
  padding: 5px 8px 3px 8px;
  display: inline-block;
  margin-right: 8px;
  position: absolute;
  top: -3px;
  left: 0;
  font-size: 14px;
}
h2.contact-step-question{
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  padding-left: 3.5rem;
  margin-top: 0;
  margin-bottom: 16px;
}
.contact-step-radio input{
  appearance: none;
  position: absolute;
}
.contact-step-radio{
  display: flex;
  flex-wrap: wrap;
  margin-right: -4px;
  margin-left: -4px;
  row-gap: 8px;
  margin-bottom: 2rem;
}
.contact-step-radio > *{
  padding-right: 4px;
  padding-left: 4px;
}
.contact-step-radio label{
  position: relative;
  margin: 0;
}
.wpcf7-list-item input[type="radio"] + .wpcf7-list-item-label{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 15px;
  position: relative;
  font-weight: 700;
  box-shadow: 3px 3px 6px #999;
  transition: .3s;
  height: 80px;
  margin-left: 0;
}
/* チェックされたラジオボタンのラベル */
.wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  background: #dce1f4;
  border: 2px solid #002060;
  font-weight: bold;
  color: #002060;
}
.wpcf7-list-item{
  margin: 0;
}
.btn-outline-primary, .wpcf7 input[type=submit] {
  border-radius: 100vh;
  border: none;
  color: #fff;
  background-color: #ff9647;
  font-weight: 700;
  border: none;
  width: 266px;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  transition: .3s;
  padding: 8px;
}
.wpcf7 input[type=submit]:focus{
  color: #fff;
  background-color: #ff9647;
  border: none;
}
.wpcf7 input[type=submit]:hover {
  color: #fff;
  background-color: #ff9647;
  border: none;
  opacity: 0.7;
}
.wpcf7 input[type=submit]:not([disabled]):not(.disabled):active {
  color: #fff;
  background-color: #ff9647;
  border: none;
  box-shadow: none;
}
.wpcf7 input[type=submit]:disabled, .wpcf7 input[type=submit]:disabled:hover {
  color: #fff;
  background-color: #ccc;
  pointer-events: none;
}
.step-next-wrap{
  text-align: center;
}
.step-next-wrap > p{
  position: relative;
  display: inline-block;
}
.step-next-wrap > p::before{
  content: "";
  position: absolute;
  top: 12px;
  right: 16px;
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
  border-right: 0;
  pointer-events: none;
  z-index: 10;
}
.wpcf7-spinner{
  display: none;
}
.contact-step-percent{
  display: flex;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-top: 3rem;
}
.contact-step-percent-amount{
  flex: 1;
  position: relative;
  margin-right: 8px;
  margin-left: 8px;
  background-color: #fff;
  border-radius: 100vh;
  border: 1px solid #333;
}
.contact-step-percent-amount::before{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  background-color: #ee4065;
  border-radius: 100vh 0 0 100vh;
}
.contact-step-percent-amount-percent{
  position: absolute;
  font-weight: 700;
  font-size: 1rem;
  top: -45px;
  background-color: #ee4065;
  color: #fff;
  padding: 4px 12px 4px 4px;
  border-radius: 100vh;
}
.contact-step-percent-amount-percent::before{
  content: "";
  position: relative;
  display: inline-block;
  left: 20px;
  bottom: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 12px solid #ee4065;
  border-bottom: 0;
}
.font-small{
  font-size: 12px;
}
.contact_btn_back{
  width: 120px;
  border-radius: 16px;
  background: #fff;
  display: inline-block;
  margin-top: 8px;
  padding: 3px;
  border: 1px solid #666;
  transition: .3s;
}
.contact_btn_back:hover{
  opacity: 0.7;
  cursor: pointer;
}
.personal-information{
  border: 1px solid #002060;
  color: #002060;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 700;
}
.contact-step .contact-step-item-title{
  font-size: 1rem;
  font-weight: 700;
  margin: 16px 0 4px;
}
.contact-step-item-list{
  list-style: none;
  padding-left: 0;
}
.contact-step-item-list li{
  position: relative;
  padding-left: 1em;
  font-size: 14px;
  font-weight: 700;
}
.contact-step-item-list li:not(:last-of-type){
  padding-bottom: 0.5rem;
}
.contact-step-item-list li::before{
  content: "";
  position: absolute;
  top: .35em;
  left: 3px;
  width: 8px;
  height: 8px;
  background-color: #333;
}
.any{
  background-color: #ccc;
  color: #fff;
  border-radius: 10px;
  padding: 5px 8px 3px 8px;
  display: inline-block;
  margin-right: 8px;
  position: absolute;
  top: -3px;
  left: 0;
  font-size: 14px;
}
.wpcf7 input[type=text].contact-step-name{
  border-radius: 10px;
}
.contact-step-bg{
  background-color: #fff;
  padding: 12px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
  border-radius: 15px;
}
@media all and (min-width: 576px) {
  .contact-step{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .contact-step-bg{
    padding: 30px 15px;
  }
  .contact-step-title {
    font-size: 1.5rem;
    padding-bottom: 1rem;
  }
  .contact-step-desc{
    font-size: 1.25rem;
    margin-bottom: 4px;
  }
  .contact-step-desc .contact-step-desc-large{
    font-size: 2rem;
  }
  h2.contact-step-question{
    margin-bottom: 20px;
  }
  .contact-step .contact-step-item-title{
    margin: 20px 0 8px;
  }
  .contact-step-part-info{
    font-size: 16px;
    padding: 8px;
  }
  .contact-step-part-comp{
    font-size: 16px;
    padding: 8px;
  }
  .contact-step-part-info::before{
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 12px solid #002060;
  }
}
@media all and (min-width: 768px) {
  .contact-step-header-row > *{
    width: 300px;
  }
}
@media all and (min-width: 992px) {
  .contact-step-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/* 全体調整 */



/* ステップ1 */
.step1-radio{
  margin-bottom: 1.5rem;
}
.step1-radio > .wpcf7-list-item {
  width: 50%;
}
.step1-radio > .wpcf7-list-item:not(:last-of-type) .wpcf7-list-item-label{
  gap: 12px;
  padding-left: 12px;
}
.step1-radio > .wpcf7-list-item:not(:last-of-type) .wpcf7-list-item-label::before{
  display: inline-block;
  width: 63px;
  height: 35px;
}

.step1-radio > .wpcf7-list-item:nth-of-type(1) .wpcf7-list-item-label::before{
  background: url(../images/contact-step/icon-elementary-school.png) no-repeat center center / contain;
}
.step1-radio > .wpcf7-list-item:nth-of-type(2) .wpcf7-list-item-label::before{
  background: url(../images/contact-step/icon-junior-high-school.png) no-repeat center center / contain;
}
.step1-radio > .wpcf7-list-item:nth-of-type(3) .wpcf7-list-item-label::before{
  background: url(../images/contact-step/icon-senior-high-school.png) no-repeat center center / contain;
}

.school-year{
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #002060;
}
.school-year-radio > *{
  width: 33.333333333333%;
}
.contact-step1-percent .contact-step-percent-amount-percent{
  left: 20%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.contact-step1-percent .contact-step-percent-amount::before{
  width: 20%;
}
.contact-step-parameter{
  font-size: 0;
  opacity: 0;
  pointer-events: none;
  height: 0;
}
@media all and (min-width: 576px) {
  .step1-radio > .wpcf7-list-item:not(:last-of-type) .wpcf7-list-item-label::before{
    width: 72px;
    height: 40px;
  }
}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
@media all and (max-width: 360px) {
  .step1-radio > .wpcf7-list-item:not(:last-of-type) .wpcf7-list-item-label {
    gap: 8px;
    padding-left: 8px;
}
.step1-radio > .wpcf7-list-item:not(:last-of-type) .wpcf7-list-item-label::before{
  width: 54px;
  height: 30px;
}
}
/* ステップ1 */

/* ステップ2 */
.step2-checkbox{
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  margin-right: -4px;
  margin-left: -4px;
  margin-bottom: 1rem;
}
.step2-checkbox > *{
  width: 50%;
  padding-right: 4px;
  padding-left: 4px;
}
.step2-checkbox label{
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 2px solid #ccc;
  border-radius: 5px;
  position: relative;
  font-weight: 700;
  box-shadow: 3px 3px 6px #999;
  padding: 4px 6px;
  height: 100%;
  font-size: 12px;
}
.step2-checkbox .wpcf7-list-item-label{
  margin-left: 6px;
}
.step2-checkbox input[type=checkbox] {
  vertical-align: middle;
  scale: 1;
  accent-color: #002060;
}
.wpcf7-list-item-label{
  margin-left: 8px;
  display: inline-block;
}
.step2-checkbox .wpcf7-list-item.last .wpcf7-list-item-label{
  position: relative;
}
.step2-checkbox .wpcf7-list-item.last .wpcf7-list-item-label::after{
  content: "※自由入力欄が開きます";
  font-size: 12px;
  display: block;
  color: #999;
}
.wpcf7 textarea.step2-checkbox-other{
  border-radius: 24px;
}
.contact-step2-percent .contact-step-percent-amount-percent{
  left: 40%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.contact-step2-percent .contact-step-percent-amount::before{
  width: 40%;
}
@media all and (min-width: 576px) {
  .step2-checkbox label{
    padding: 8px 12px 8px 12px;
  }
  .step2-checkbox label{
    font-size: 1rem;
  }
  .step2-checkbox input[type=checkbox] {
    scale: 1.5;
  }
  .step2-checkbox .wpcf7-list-item-label{
    margin-left: 8px;
  }
}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/* ステップ2 */

/* ステップ3 */
.contact-step-mail-permit{
  text-align: center;
  font-size: 14px;
  padding: 4px 8px;
  background-color: #dce1f4;
}
#page-contact-step-wrapper .contact-step-mail-form, #page-contact-step-wrapper .contact-step-tel-form{
  border-radius: 10px;
}
.contact-step3-percent .contact-step-percent-amount-percent{
  left: 60%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.contact-step3-percent .contact-step-percent-amount::before{
  width: 60%;
}
@media all and (min-width: 576px) {
}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/* ステップ3 */

/* ステップ4 */
.contact-step4-percent .contact-step-percent-amount-percent {
  left: 80%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: max-content;
}
.contact-step4-percent .contact-step-percent-amount::before {
  width: 80%;
}
@media all and (min-width: 576px) {
}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/* ステップ4 */

/* ステップ5 */
.contact-step5-radio > *{
  width: 50%;
}
.contact-step5-radio .wpcf7-list-item.last{
  position: relative;
}
.contact-step5-radio .wpcf7-list-item.last{
  width: 100%;
}
.contact-step5-radio .wpcf7-list-item.last input[type="radio"] + .wpcf7-list-item-label{
  width: 50%;
}
.contact-step5-radio .wpcf7-list-item.last::before{
  content: "";
  position: relative;
  display: inline-block;
  /* width: 200%; */
  width: 100%;
  top: -5px;
  height: 1px;
  background-color: #999;
}
.contact-step5-radio .wpcf7-list-item.last .wpcf7-list-item-label::after{
  content: "※自由入力欄が開きます";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  font-size: 10px;
  color: #999;
  width: max-content;
}
.contact-step5-percent .contact-step-percent-amount-percent {
  left: 95%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  width: max-content;
}
.contact-step5-percent .contact-step-percent-amount::before {
  width: 95%;
}
.wpcf7 textarea.step5-other-box{
  border-radius: 24px;
  field-sizing: content;
}
.wpcf7 input[type=submit]:not(:disabled).step-complete{
background-color: #ec2214;
}
.step-next-wrap.step-complete-wrap > p::before{
  display: none;
}
.contact-step5-radio .wpcf7-list-item input[type="radio"] + .wpcf7-list-item-label{
  height: 36px;
  font-size: 14px;
  width: 100%;
  margin-left: 0;
}
.contact-step5-radio .wpcf7-list-item.last input[type="radio"] + .wpcf7-list-item-label{
  align-items: stretch;
  height: 48px;
}
@media all and (min-width: 576px) {
  .contact-step5-radio .wpcf7-list-item.last .wpcf7-list-item-label::after{
    font-size: 12px;
  }
  .contact-step5-radio .wpcf7-list-item input[type="radio"] + .wpcf7-list-item-label{
    height: 80px;
    font-size: 16px;
  }
  .contact-step5-radio .wpcf7-list-item.last input[type="radio"] + .wpcf7-list-item-label{
    align-items: center;
    height: 80px;
  }
}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/* ステップ5 */

/* 完了 */
.contact-step-complete {
  background-color: #002060;
  text-align: center;
  color: #fff;
  padding: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.contact-step-complete-headding{
  text-align: center;
  font-weight: 700;
  margin-bottom: 2rem;
}
.contact-step-btn-top{
  display: inline-block;
  padding: 6px 24px;
  border: 1px solid #333;
  border-radius: 100vh;
}
@media all and (min-width: 576px) {
  .contact-step-complete-headding{
    font-size: 1.125rem;
  }
}
@media all and (min-width: 768px) {
}
@media all and (min-width: 992px) {
}
@media all and (min-width: 1200px) {
}
@media all and (min-width: 1400px) {
}
/* 完了 */

/*デスクトップ*/
@media all and (min-width: 992px) and (max-width: 1199px) {
}
/*中デバイス*/
@media all and (min-width: 768px) and (max-width: 991px) {
  
}
/*小デバイス*/
@media all and (min-width: 576px) and (max-width: 767px) {
}

@media all and (max-width: 400px) {
}
/*iPhone5:SE*/
@media all and (max-width: 320px) {

}