@charset "utf-8";

/* modal */
.modal_school_wrap .modaal-content-container{
  padding: 40px;
}
.modal_school_wrap .lead {
  font-size: 1.6rem;
  margin-bottom: 30px;
}
.modal_school_wrap .list_school{
  display: flex;
  gap: 20px 5.963%;
  flex-wrap: wrap;
}
.modal_school_wrap .list_school li{
  width: 29.3577%;
}
.modal_school_wrap .list_school li a{
  background-color: #0067d5;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  border-radius: 50px;
  padding: 10px 10px;
  min-height: 48px;
  background-image: url(../img/ico_btn.svg);
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  display: block;
  text-align: center;
  width: 100%;
}
.modaal-wrapper.modal_school_wrap  .modaal-close{
  position: absolute;
  right: -50px;
  top: -50px;
  color: #0067d5;
  background: #fff;
}
.modal_school_wrap .modaal-close::after,
.modal_school_wrap .modaal-close::before{
  background: #0067d5;
}
@media (hover: hover) and (pointer: fine){
  .modaal-wrapper.modal_school_wrap .modaal-close:hover{
    background: #0067d5;
    color: #fff;
  }
  .modal_school_wrap .modaal-close:hover::after,
  .modal_school_wrap .modaal-close:hover::before{
    background: #fff;
  }
}
@media screen and (max-width: 834px) {
  .modal_school_wrap .modaal-content-container{
    padding: 30px 20px;
  }
  .modal_school_wrap .list_school{
    flex-direction: column;
  }
  .modal_school_wrap .list_school li{
    width: 100%;
  }
  .modal_school_wrap.modaal-wrapper .modaal-close{
    width: 40px;
    height: 40px;
    right: -10px;
  }
  .modal_school_wrap .modaal-close::after,
  .modal_school_wrap .modaal-close::before{
    top: 9px;
    left: 19px;
    width: 3px;
  }
}
