/* CSS Document */
/* 全体 */
.title-box {
  width: 100%;
  margin: 0 auto 3.5rem;
  padding: 0 0 2.75rem;
}
h2.page-title {
    font-weight: 600;
    font-size: 3.125rem;
    line-height: 2;
    color: var(--blue);
  /*width: 1400px;*/
  max-width: 87.5rem;
    margin: 0 auto;
}
.bg-blue {
  max-width: 100%;
  background: var(--blue);
  padding: 40px;
}
.center {
  text-align: center;
}
h3.bg-blue-w {
  font-weight: 500;
  font-size: 2.5rem;
  text-align: center;
  color: var(--white);
  margin: 1vw 0;
}
br.nodipc {
  display: none;
}
/* リード */
.lead {
  width: 100%;
  margin: 0;
  padding: 0;
  background: url("/saspo/wp-content/themes/SASPO_theme/images/academy/lead-bg.jpg") no-repeat center top;
  background-size: cover;
}
.leadtext-box {
  /*width: 1400px;*/
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 5rem 40px;
}
.leadtext-blue {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 2;
  background: var(--white);
  color: var(--blue);
  padding: 0 0 0 1rem;
}
.leadtext-white {
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.8;
  margin: 1rem 0 0;
  font-weight: 500;
}
/*ロゴ*/
.logo-box {
  /*width: 1400px;*/
  max-width: 87.5rem;
  margin: 0 auto;
  padding: 5rem 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
  justify-items: center;
}
.logo-box img {
  width: 60%;
}
/*教室紹介*/
.wh-inner{
    
}
.text-white {
  color: var(--white);
}
.white-box4 {
 /* width: 1400px;*/
  max-width: 87.5rem;
  margin: 3rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  /*align-items: center;*/
  justify-items: center;
}
.white-box4-item {
  background: var(--white);
  border-radius: 50px;
  padding: 5rem 3rem 3rem;
}
.white-box4-item .img-box {
  width: 75%;
  margin: 0 auto 1rem;
}
.white-box4-item .img-box img {
  width: 100%;
  border-radius: 2rem;
}
.white-box4-item .school-name {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--blue);
  display: grid;
  gap: 1rem;
  grid-template-columns: 3fr 1fr;
  align-items: center;
  margin: 0 0 1.75rem;
}
.white-box4-item .school-name p {
  font-weight: 500;
  font-size: 1.725rem;
  line-height: 1.8;
  color: var(--blue);
  justify-self: center;
}
.white-box4-item .school-name img {
  width: auto;
  height: 120px;
}
.white-box4-item p.detail {
    min-height: 20vh;
}
.white-box4-item p.hs{
      min-height: 10vh;
}
.white-box4-item .facility-box {
  display: grid;
  grid-template-columns: 1fr 3fr;
  margin: 1rem 0 0.75rem 0;
}
.white-box4-item .facility-box .blue {
  background: var(--blue);
  color: var(--white);
  align-content: center;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 10px 0 0 10px;
}
.white-box4-item .facility-box .skyblue {
  background: var(--skyblue_sub);
  align-items: center;
  padding: .5rem 2.75rem;
  border-radius: 0 10px 10px 0;
  color: var(--black);
  min-height: 20vh;
  align-content: center;
}
.white-box4-item .facility-box .skyblue a {
  color: var(--black);
  text-decoration: none;
}
.white-box4-item .facility-box .skyblue a:hover {
  text-decoration: underline;
  color: var(--gray);
}
.white-box4-item a.btn_team {
  display: block;
  max-width: 100%;
  margin: 0.75rem 0 0;
  padding: .75rem 1.2rem;
  text-align: center;
  leading-trim: both;
  text-edge: cap;
  /*font-size: 1.125rem;*/
  line-height: 1.5rem;
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  background: url(/saspo/wp-content/themes/SASPO_theme/images/academy/icon_whitearrow_upright.svg) no-repeat calc(100% - 1rem) center #0E6EB8;
  background-size: 1.5rem;
}
.white-box4-item a.btn_team:hover {
  background: url(/saspo/wp-content/themes/SASPO_theme/images/academy/icon_whitearrow_upright.svg) no-repeat calc(100% - 1rem) center #eaeaea;
  color: var(--black);
}
@media (max-width: 1279px) {
    .title-box {
    margin: 0 auto 1.5rem;
}
    h2.page-title {
  width: 100%;
  max-width: 100%;
}

      /*リード*/
  .leadtext-box {
    width: 100%;
    margin: 0;
    padding: 5rem 2rem;
  }
  /*ロゴ*/
  .logo-box {
    width: 100%;
    margin: 0;
    padding: 5rem 2rem;
  }
  /*教室紹介*/
  .white-box4 {
    width: 100%;
    margin: 3rem auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    /*align-items: center;*/
    justify-items: center;
  }
    .white-box4-item {
    border-radius: 30px;
    padding: 3rem 2rem 3rem;
}
    .white-box4-item .school-name {
  }
    
  .white-box4-item .school-name p {
      font-size: 1.25rem;
  }
  .white-box4-item .school-name img {
    justify-self: center;
    height: 80px;
  }
    .white-box4-item p.detail {
    min-height: 18vh;
}
     .white-box4-item p.hs {
    min-height: 9vh;
}
    .white-box4-item .facility-box .skyblue {
    min-height: 12vh;
}
}
@media (max-width: 1024px) {
    h2.page-title {
  width: 100%;
  max-width: 100%;
}
     .white-box4-item p.detail {
    min-height: 8vh;
}
     .white-box4-item p.hs {
    min-height: 10vh;
}
    .white-box4-item .facility-box .skyblue {
    min-height: 10vh;
}
}
/* レスポンシブ調整 (スマホ) */
@media (max-width: 767px) {
    .title-box {
    margin: 0 auto;
}
  h2.page-title {
  width: 100%;
  max-width: 100%;
    font-size: 2.125rem;
    line-height: 1.6;
  }
  h2.page-title img {
    width: 40%;
  }
  /*リード*/
  .lead {
    width: 100%;
    background: url("/saspo/wp-content/themes/SASPO_theme/images/academy/lead-bg.jpg") no-repeat 85%;
    background-size: cover;
  }
  .leadtext-box {
    width: 100%;
    margin: 0;
    padding: 5rem 2rem;
  }
  .leadtext-blue {
    font-size: 1.6rem;
    line-height: 2.5;
    padding: 0.5rem;
  }
  /*ロゴ*/
  .logo-box {
    width: 100%;
    margin: 0;
    padding: 5rem 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
    .logo-box img {
    width: 80%;
}
  /*教室紹介*/
  .white-box4 {
    width: 100%;
    margin: 3rem auto 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    /*align-items: center;*/
    justify-items: center;
  }
  .white-box4-item {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem 1.5rem 3rem;
  }
  .white-box4-item .img-box {
    width: 90%;
  }
  .white-box4-item .school-name {
    font-size: 1.025rem;
    grid-template-columns: 1fr;
  }
  .white-box4-item .school-name p {
    font-size: 1.425rem;
    order: 2;
  }
  .white-box4-item .school-name img {
    width: auto;
    height: 120px;
    justify-self: center;
    order: 1;
  }
    .white-box4-item p.detail {
    -webkit-line-clamp: inherit;
            min-height: 0;
}
         .white-box4-item p.hs {
            min-height: 0;
}

    .white-box4-item .facility-box {
    grid-template-columns: 1fr;
    margin: 1rem 0 0.75rem 0;
}
    .white-box4-item .facility-box .blue {
    align-content: center;
    text-align: center;
    border-radius: 10px 10px 0 0;
    padding: 0.5rem 0;
}
    .white-box4-item .facility-box .skyblue {
    align-items: center;
    padding: 0.5rem 1.25rem 0.5rem 2.25rem;
    border-radius: 0 0 10px 10px;
    min-height: 2.5vh;
    align-content: center;
}
    
    .white-box4-item a.btn_team {
    font-size: 0.9rem;
        background: url(/saspo/wp-content/themes/SASPO_theme/images/academy/icon_whitearrow_upright.svg) no-repeat calc(100% - 0.75rem) center #0E6EB8;
        background-size: 1rem;
}
}