/*============================
下層ページMV
============================*/
.mv {
  background-image: url(../img/flow/mv_pc.jpg);
}

.mv .title_wrap .title span {
  color: #F8DF09;
}

.sec_title_wrap .sec_title span::before {
  background-color: #F8DF09;
}

/*============================
入塾までの流れ
============================*/
.flow {
  position: relative;
  z-index: 1;
}

.flow .lead {
  font-size: 0.18rem;
  line-height: 2;
  text-align: center;
  letter-spacing: 0.075em;
  margin-bottom: 0.50rem;
}

@media screen and (max-width: 640px) {
  .flow .lead {
    font-size: 0.15rem;
    line-height: 1.91;
    text-align: justify;
    letter-spacing: 0.05em;
  }
}

.flow_cont {
  max-width: 10.0rem;
  width: 100%;
  margin: auto;
  box-sizing: border-box;
  padding: 0 0.30rem;
}

@media screen and (max-width: 640px) {
  .flow_cont {
    padding: 0;
  }
}

.flow_box {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0.53rem;
}

@media screen and (max-width: 640px) {
  .flow_box {
    display: block;
    margin-bottom: 0.50rem;
  }
}

.flow_box .step {
  width: 3.00rem;
  height: 1.90rem;
  position: relative;
  border-radius: 0.10rem;
}

@media screen and (max-width: 640px) {
  .flow_box .step {
    width: 100%;
    height: 0.40rem;
    border-radius: 0.06rem;
  }

}

.flow_box .step::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.25rem 0.32rem 0 0.32rem;
  border-color: #e0e0e0 transparent transparent transparent;
  position: absolute;
  top: -0.37rem;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width: 640px) {
  .flow_box .step::after {
    border-width: 0.13rem 0.16rem 0 0.16rem;
    top: -0.32rem;
  }
}

.flow_box:nth-child(1) .step {
  background-color: #F5F0DE;
}

.flow_box:nth-child(2) .step {
  background-color: #3489CA;
  color: #fff;
}

.flow_box:nth-child(3) .step {
  background-color: #F6AC00;
  color: #fff;
}

.flow_box:nth-child(4) .step {
  background-color: #F9C994;
}

.flow_box:nth-child(5) .step {
  background-color: #EA545E;
  color: #fff;
}

.flow_box:nth-child(1) .step::after {
  content: none;
}

.flow_box .step span {
  font-size: 0.38rem;
  font-weight: 500;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 640px) {
  .flow_box .step span {
    font-size: 0.18rem;
  }
}

.flow_box .text_wrap {
  width: calc(100% - 3.00rem);
  box-sizing: border-box;
  padding-left: 0.50rem;
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap {
    width: 100%;
    padding-left: 0;
  }
}

.flow_box .text_wrap .step_title {
  font-size: 0.24rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.10rem;
  margin-bottom: 0.20rem;
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap .step_title {
    font-size: 0.18rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #ccc;
    padding-top: 0.15rem;
    padding-bottom: 0.10rem;
    margin-bottom: 0.10rem;
  }
}

.flow_box .text_wrap .text {
  font-size: 0.18rem;
  line-height: 2;
  letter-spacing: 0.075em;
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap .text {
    font-size: 0.15rem;
    line-height: 1.875;
    letter-spacing: 0.05em;
  }
}

.flow_box .text_wrap .text a {
  font-weight: 600;
  color: #000;
  text-decoration: underline;
}

.flow_box .text_wrap .text a:hover {
  opacity: 0.7;
}

.flow_box .text_wrap .flow_btn {
  margin-top: 0.20rem;
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap .flow_btn {
    text-align: center;
    margin-top: 0.10rem;
    padding-bottom: 0.20rem;
    padding-right: 0.30rem;
  }
}

.flow_box .text_wrap .flow_btn a {
  font-size: 0.20rem;
  font-weight: bold;
  border-bottom: 1px solid #F8DF09;
  color: #000;
  position: relative;
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap .flow_btn a {
    font-size: 0.16rem;
  }
}

.flow_box .text_wrap .flow_btn a:hover {
  opacity: 0.7;
  border-bottom: none;
}

.flow_box .text_wrap .flow_btn a::after {
  content: '';
  position: absolute;
  width: 0.36rem;
  height: 0.36rem;
  background: url(../img/flow/arrow_yellow.svg) no-repeat center;
  background-size: cover;
  right: -0.45rem;
  top: -0.03rem;
  transition: all .3s
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap .flow_btn a::after {
    width: 0.26rem;
    height: 0.26rem;
    right: -0.35rem;
    top: -0.01rem;
  }
}

.flow_box .text_wrap .flow_btn a:hover:after {
  right: -0.50rem;
}

@media screen and (max-width: 640px) {
  .flow_box .text_wrap .flow_btn a:hover:after {
    right: -0.40rem;
  }
}