@charset "UTF-8";

/*　スクールライフ　mv
----------------------------------------------- */
.school_life-hero {
  position: relative;
  padding-bottom: 11.71303vw;
}

.school_life-hero__text {
  position: relative;
}

.school_life-hero__title {
  padding-top: 16.83748vw;
  text-align: center;
}

.school_life-hero__title>* {
  display: block;
}

.school_life-hero__title>*:first-child {
  color: #2c318d;
  letter-spacing: 0.05em;
  font-family: "Noto Serif JP", serif;
  font-size: 8.28571vw;
}

.school_life-hero__title>*:last-child {
  margin-top: 5.56369vw;
  font-family: "Poppins", sans-serif;
  font-size: 3.42857vw;
  letter-spacing: 0;
  font-weight: 500;
  position: relative;
  padding-bottom: 2.92826vw;
}

.school_life-hero__title>*:last-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 8.78477vw;
  height: 2px;
  background-color: #2c318d;
}

.school_life-hero__desc {
  margin-top: 6.58858vw;
  font-size: 4.57143vw;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.12em;
}

.school_life-hero__desc>* {
  line-height: 1.7;
}

.school_life-hero__desc>*::before,
.school_life-hero__desc>*::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
}

.school_life-hero__desc>*::before {
  margin-top: calc((1 - 1.7) * 0.5em);
}

.school_life-hero__desc>*::after {
  margin-bottom: calc((1 - 1.7) * 0.5em);
}

.school_life-hero__deco {
  position: absolute;
  z-index: 2;
  left: 4.97804vw;
  top: 3.95315vw;
  width: auto;
  height: auto;
}

@media screen and (min-width: 700.9999px) {
  .school_life-hero {
    padding-bottom: 65px;
  }

  .school_life-hero__text {
    position: relative;
  }

  .school_life-hero__title {
    padding-top: 115px;
  }

  .school_life-hero__title>*:first-child {
    font-size: 58px;
  }

  .school_life-hero__title>*:last-child {
    font-size: 16px;
    padding-bottom: 15px;
    margin-top: 20px;
  }

  .school_life-hero__title>*:last-child::after {
    width: 40px;
  }

  .school_life-hero__desc {
    font-size: 24px;
    margin-top: 35px;
  }

  .school_life-hero__deco {
    left: 20px;
    top: 20px;
  }
}

/*　スクールライフ　banner
----------------------------------------------- */
.school_life-banner__items {
  margin-top: -1.46413vw;
}

.school_life-banner__item {
  margin-top: 1.46413vw;
}

.school_life-banner__item:nth-child(even) .school_life-banner__image {
  margin-right: 0;
  margin-left: 14.64129vw;
}

.school_life-banner__item.howto .school_life-banner__image {
  margin-left: 7.14vw;
  margin-right: 7.14vw;
}

.school_life-banner__item:nth-child(even) .school_life-banner__title {
  margin-left: 7.32064vw;
}

.school_life-banner__item:nth-child(even) .school_life-banner__deco {
  right: 0;
  left: 2.92826vw;
}

.school_life-banner__item.howto .school_life-banner__photo {
  width: 100%;
  height: 100%;
}

.school_life-banner__item.howto .school_life-banner__photo>* {
  display: block;
  width: 100%;
  height: 100%;
}

.school_life-banner__item.howto .school_life-banner__photo>*>* {
  width: inherit;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}

.school_life-banner__link {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.school_life-banner__image {
  position: relative;
  margin-right: 14.64129vw;
}

.school_life-banner__overlay {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 49, 141, 0.15);
}

.school_life-banner__photo {
  height: 71.74231vw;
}

.school_life-banner__photo>* {
  display: block;
  width: 100%;
  height: 100%;
}

.school_life-banner__photo>*>* {
  width: inherit;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
  object-position: top;
}

.school_life-banner__deco {
  position: absolute;
  z-index: 2;
  top: 2.92826vw;
  right: 2.92826vw;
  height: auto;
  width: auto;
}

.school_life-banner__text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.school_life-banner__title {
  margin-top: 45.38799vw;
  margin-left: 35.13909vw;
}

.title__regulation {
  margin-left: 7.14vw;
}

.title__regulation .small {
  font-size: 3.7143vw;
}

.ml__regulation {
  text-align: right;
  padding-right: 6.6vw;
}

@media screen and (min-width: 700.9999px) {
  .school_life-banner__items {
    margin-top: -5px;
  }

  .school_life-banner__item {
    margin-top: 5px;
  }

  .school_life-banner__item:nth-child(even) .school_life-banner__image {
    margin-right: 0;
    margin-left: calc(200px + ((100% - 1280px) / 2));
  }

  .school_life-banner__item:nth-child(even) .school_life-banner__title {
    margin-left: calc(140px + ((100% - 1280px) / 2));
  }

  .school_life-banner__item:nth-child(even) .school_life-banner__deco {
    right: 0;
    left: 20px;
  }

  .school_life-banner__item.howto {
    width: 1080px;
    height: 400px;
    margin: 5px auto 0;
    background: #eceff1;
  }

  .school_life-banner__item.howto .school_life-banner__link {
    /* background-color: #eceff1; */
    -webkit-transition: opacity .5s;
    transition: opacity .5s;
    position: relative;
    overflow: hidden;
  }

  /* .school_life-banner__item.howto .school_life-banner__link::before { */
  .school_life-banner__link::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background-color: rgba(44, 49, 141, 0.15);
    -webkit-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: skewX(45deg) scale(0, 1);
    transform: skewX(45deg) scale(0, 1);
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
  }

  .school_life-banner__item.howto .school_life-banner__link:hover::before {
    -webkit-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: skewX(45deg) scale(1, 1);
    transform: skewX(45deg) scale(1, 1);
  }

  .school_life-banner__item.howto .school_life-banner__image {
    width: 100%;
    height: 100%;
    margin-right: 0;
  }

  .school_life-banner__item.howto .school_life-banner__image {
    margin: 0;
  }

  .school_life-banner__item.howto .school_life-banner__photo {
    width: 1080px;
    margin-left: auto;
  }

  .school_life-banner__link:hover .school_life-banner__overlay::before {
    -webkit-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: skewX(45deg) scale(1, 1);
    transform: skewX(45deg) scale(1, 1);
  }

  .school_life-banner__image {
    margin-right: calc(200px + ((100% - 1280px) / 2));
    width: calc(1080px + ((100% - 1280px) / 2));
    overflow: hidden;
    height: 400px;
  }

  .school_life-banner__overlay {
    -webkit-transition: all .3s;
    transition: all .3s;
  }

  .school_life-banner__overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background-color: rgba(44, 49, 141, 0.15);
    -webkit-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: skewX(45deg) scale(0, 1);
    transform: skewX(45deg) scale(0, 1);
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
  }

  .school_life-banner__photo {
    height: 100%;
  }

  .school_life-banner__deco {
    top: 20px;
    right: 20px;
  }

  .school_life-banner__title {
    margin-top: 240px;
    margin-left: calc(740px + ((100% - 1280px) / 2));
  }

  .title__regulation {
    margin-left: calc(740px + ((100% - 1795px) / 2));
  }

  .title__regulation .small {
    font-size: 42px;
  }

  .ml__regulation {
    margin-left: 512px;
    padding-right: 0;
    text-align: left;
  }
}

/*　スクールライフ　footer
----------------------------------------------- */
.school_life__footer {
  margin-top: 12.4451vw;
}

.footer-links__items--end {
  justify-content: flex-end;
}

@media screen and (min-width: 700.9999px) {
  .school_life__footer {
    margin-top: 100px;
  }
}

/*# sourceMappingURL=school_life.css.map */