@charset "UTF-8";
/*
** 2.Common style
*/
.sp {
  display: block;
}
@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

.pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .pc {
    display: block;
  }
}

.p-top {
  overflow-x: hidden;
}

.inner {
  width: 90%;
  max-width: 1024px;
  margin: 0 auto;
}

.top-title-h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1rem;
  color: #6f294e;
}
@media screen and (min-width: 768px) {
  .top-title-h2 {
    gap: 1.5rem;
  }
}
.top-title-h2 .eng {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 12px;
  font-weight: bold;
  padding-left: 1.5rem;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  .top-title-h2 .eng {
    font-size: 14px;
  }
}
.top-title-h2 .eng:before {
  content: "";
  display: block;
  height: 84%;
  width: 100%;
  background-color: #6f294e;
  position: absolute;
  left: 0;
  top: 0;
  bottom: -3px;
  margin: auto;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.top-title-h2 .jpn {
  display: block;
  font-size: 26px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  opacity: 0;
  -webkit-transform: translateX(2em);
          transform: translateX(2em);
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
  transition: opacity 0.6s, transform 0.6s, -webkit-transform 0.6s;
}
@media screen and (min-width: 768px) {
  .top-title-h2 .jpn {
    font-size: 35px;
  }
}
.top-title-h2.aos-animate .eng:before {
  width: 5px;
}
.top-title-h2.aos-animate .jpn {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.top-title-h3 {
  color: #6f294e;
  font-size: 22px;
  font-weight: bold;
}

.top-button {
  position: relative;
  display: block;
  padding: 2rem 5rem 2rem 3rem;
  border-radius: 5rem;
  -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
  color: #80244E !important;
  background-color: #fff;
  font-size: 16px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  .top-button {
    font-size: 17px;
    padding: 3rem 6rem 3rem 4rem;
  }
}
.top-button:before, .top-button:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.top-button:before {
  right: 1em;
  width: 2em;
  height: 2em;
  background-color: #F4F4F4;
  border-radius: 50%;
}
.top-button:after {
  right: 1.8em;
  width: 0.5em;
  height: 0.5em;
  border-top: 2px solid #6f294e;
  border-right: 2px solid #6f294e;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.top-button:hover {
  background-color: #6f294e;
  color: #fff !important;
}
.top-button:hover:before {
  background-color: #fff;
}

.top-image-button {
  position: relative;
}
.top-image-button .image-wrapper {
  position: relative;
  aspect-ratio: 5/3;
  overflow: hidden;
}
.top-image-button .image-wrapper:before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background-color: rgba(111, 41, 78, 0.5);
  mix-blend-mode: multiply;
  -webkit-transform: scale(0);
          transform: scale(0);
  opacity: 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  z-index: 1;
}
.top-image-button .image {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.top-image-button .title {
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #B3244F;
  padding: 1.5rem;
  font-size: 18px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  white-space: nowrap;
  color: #fff;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform-origin: left bottom;
          transform-origin: left bottom;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .top-image-button .title {
    padding: 2rem;
    font-size: 24px;
  }
}
.top-image-button:hover .image-wrapper:before {
  -webkit-transform: scale(1);
          transform: scale(1);
  opacity: 1;
}
.top-image-button:hover .image {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.top-image-button:hover .title {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

[data-aos=fade-up] {
  -webkit-transform: translateY(25px);
          transform: translateY(25px);
  -webkit-transition-property: opacity, -webkit-transform;
  transition-property: opacity, -webkit-transform;
  transition-property: transform, opacity;
  transition-property: transform, opacity, -webkit-transform;
  opacity: 0;
}
[data-aos=fade-up].aos-animate {
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
  opacity: 1;
}

/*
** MainVisual
*/
.mv {
  width: 100%;
  height: 800px;
  max-height: calc(100vh - 72px);
  position: relative;
  margin-top: 72px;
}
@media screen and (min-width: 1024px) {
  .mv {
    margin-top: 0;
    max-height: 1000px;
  }
}
.mv .mv-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mv .mv-slider .image img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.mv .mv-content {
  position: absolute;
  left: 5%;
  top: 33%;
}
@media screen and (min-width: 1024px) {
  .mv .mv-content {
    top: 39%;
  }
}
@media screen and (max-width: 680px) {
  .mv .mv-content {
    top: 29%;
  }
}
.mv .mv-content .title {
  color: #fff;
  line-height: 1.4;
  font-size: clamp(2.5125rem, 1.4087rem + 5.7692vw, 4.625rem);
}
@media screen and (min-width: 1024px) {
  .mv .mv-content .title {
    -webkit-transform: translateX(22%);
            transform: translateX(22%);
  }
}
.mv .mv-content .circle {
  margin: auto;
}
.mv .mv-logo {
  position: absolute;
  left: 5%;
  top: 5%;
  z-index: 2;
}
.mv .banner {
  position: absolute;
  bottom: 4vw;
  right: 6vw;
  width: auto;
  height: auto;
  z-index: 4;
  display: block;
}
.mv .banner:hover {
  opacity: 0.8;
}
@media screen and (max-width: 1400px) {
  .mv .banner {
    right: 4vw;
  }
}
@media screen and (max-width: 1024px) {
  .mv .banner {
    right: 6vw;
    bottom: 4vw;
  }
}
@media screen and (max-width: 480px) {
  .mv .banner {
    right: 2vw;
    bottom: 1rem;
  }
}
.mv .bunner-img {
  width: 20vw;
}
@media screen and (max-width: 1024px) {
  .mv .bunner-img {
    width: 27vw;
  }
}
@media screen and (max-width: 768px) {
  .mv .bunner-img {
    width: 33vw;
    max-width: 200px;
  }
}
.mv .mv-exam.-internet {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  bottom: 1rem;
  left: 3%;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  margin: unset;
}
@media screen and (min-width: 480px) {
  .mv .mv-exam.-internet {
    bottom: 4vw;
    left: 5%;
  }
}
@media screen and (min-width: 1024px) {
  .mv .mv-exam.-internet {
    bottom: 3rem;
  }
}
.mv .mv-exam.-internet .mv-exam__list {
  display: block;
}
.mv .mv-exam.-internet .mv-exam__item {
  border-radius: 1rem;
}
.mv .mv-exam.-internet .mv-exam__button {
  padding: 20px 56px 20px 45px;
  white-space: nowrap;
  font-size: 16px;
}
@media screen and (min-width: 1024px) {
  .mv .mv-exam.-internet .mv-exam__button {
    padding: 2rem 10rem;
    font-size: 18px;
  }
}
.mv .mv-exam {
  display: none;
  max-width: 1024px;
  width: 90%;
  height: 67px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
  -webkit-transform: translateY(50%);
          transform: translateY(50%);
}
@media screen and (min-width: 1024px) {
  .mv .mv-exam {
    display: block;
  }
}
.mv .mv-exam__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 5%;
}
.mv .mv-exam__item {
  border-radius: 3.4rem;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
  -webkit-box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.2);
  -webkit-animation: show 0.6s forwards ease-out;
          animation: show 0.6s forwards ease-out;
  opacity: 0;
  -webkit-transform: translateY(25px);
          transform: translateY(25px);
}
.mv .mv-exam__item:nth-child(2) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.mv .mv-exam__item:nth-child(3) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.mv .mv-exam__button {
  cursor: pointer;
  display: block;
  width: 100%;
  border: none;
  outline: none;
  background: none;
  color: #6f294e;
  font-weight: bold;
  font-size: 18px;
  padding: 2rem 3rem;
  position: relative;
  letter-spacing: 2px;
}
.mv .mv-exam__button:before, .mv .mv-exam__button:after {
  content: "";
  display: block;
  position: absolute;
  right: 5%;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.mv .mv-exam__button:before {
  background-color: #F4F4F4;
  border-radius: 100%;
  height: 2em;
  width: 2em;
}
.mv .mv-exam__button:after {
  border-right: 2px solid #6f294e;
  border-bottom: 2px solid #6f294e;
  -webkit-transform: translate(-110%, -15%) rotate(45deg);
          transform: translate(-110%, -15%) rotate(45deg);
  height: 0.5em;
  width: 0.5em;
}
.mv .mv-exam__button:hover:before {
  background-color: #6f294e;
}
.mv .mv-exam__button:hover:after {
  border-color: #fff;
}
.mv .mv-exam__button.-active:after {
  -webkit-transform: translate(-110%, 15%) rotate(-135deg);
          transform: translate(-110%, 15%) rotate(-135deg);
}
.mv .mv-exam__button.-active + .mv-exam__content {
  max-height: 300px;
  padding-bottom: 3rem;
}
.mv .mv-exam__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1px;
  max-height: 0;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  width: 90%;
  margin: 0 auto;
}
@media screen and (min-width: 1024px) {
  .mv .mv-exam__content {
    width: 80%;
  }
}
.mv .mv-exam__link {
  display: block;
  padding: 1em;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  color: #6f294e;
  background-color: #F4F4F4;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.mv .mv-exam__link:hover {
  background-color: #6f294e;
  color: #fff;
}
.mv .mv-exam__link.teacher-exam {
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.6em;
  padding: 1em 0.4em;
}
@media screen and (max-width: 1310px) {
  .mv .mv-exam__link.teacher-exam {
    font-size: 11px;
  }
}
@media screen and (max-width: 1140px) {
  .mv .mv-exam__link.web-exam {
    font-size: 14px;
  }
}
@media screen and (max-width: 1023px) {
  .mv .mv-exam__link.web-exam {
    font-size: 12px;
  }
}

/*
** 重要なお知らせ
*/
.emergency {
  padding: 4rem 0 6rem;
}
@media screen and (min-width: 768px) {
  .emergency {
    padding: 12rem 0 8rem;
  }
}
.emergency .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5%;
}
@media screen and (min-width: 768px) {
  .emergency .grid {
    grid-template-columns: -webkit-max-content minmax(0, 1fr);
    grid-template-columns: max-content minmax(0, 1fr);
  }
}

.emergency__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  color: #6f294e;
}
.emergency__title .icon {
  display: grid;
  place-content: center;
  border: 2px solid #6f294e;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  width: 1em;
  height: 1em;
  padding: 2px;
}
.emergency__title .title {
  font-size: 20px;
  font-weight: bold;
}
.emergency__title .en {
  text-transform: uppercase;
  font-size: 0.6em;
}

.emergency__list {
  margin-top: 1em;
}

.emergency__item {
  padding-bottom: 2rem;
  border-bottom: 1px solid lightgray;
}
.emergency__item:not(:first-of-type) {
  padding-top: 2rem;
}
.emergency__item > a {
  display: block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.emergency__item > a:hover {
  opacity: 0.6;
}
.emergency__item .date {
  font-size: 12px;
  color: gray;
  margin-right: 2rem;
  display: block;
}
@media screen and (min-width: 768px) {
  .emergency__item .date {
    display: inline-block;
  }
}
.emergency__item .title {
  font-size: 16px;
  display: block;
  margin-top: 0.5em;
}
@media screen and (min-width: 768px) {
  .emergency__item .title {
    display: inline-block;
    margin-top: 0;
  }
}

/*
** バナーエリア
*/
.front-banner {
  padding-block: 33px;
  background-color: rgba(166, 124, 129, 0.05);
}
@media screen and (min-width: 768px) {
  .front-banner {
    padding-block: 80px;
  }
}

.front-banner__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-column-gap: 7px;
     -moz-column-gap: 7px;
          column-gap: 7px;
  row-gap: 10px;
}
@media screen and (min-width: 768px) {
  .front-banner__list {
    gap: 20px;
  }
}

.front-banner__item {
  width: calc((100% - 7px) / 2);
}
@media screen and (min-width: 768px) {
  .front-banner__item {
    width: calc((100% - 40px) / 3);
  }
}

.front-banner__link {
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.front-banner__link:hover {
  opacity: 0.6;
}

.front-banner__image .image {
  aspect-ratio: 320/105;
  width: 100%;
  height: auto;
}

/*
** PICK UP NEWS & EVENT INFO.
*/
.news {
  position: relative;
  background-color: #FAF8F9;
  padding: 4rem 0;
}
@media screen and (min-width: 768px) {
  .news {
    padding: 8rem 0;
  }
}
.news .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
}
@media screen and (min-width: 768px) {
  .news .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5%;
  }
}
.news .list {
  margin-top: 2rem;
  padding-right: 1.5em;
  max-height: 274px;
  overflow-y: auto;
}
.news .list::-webkit-scrollbar {
  width: 5px;
}
.news .list::-webkit-scrollbar-track {
  background-color: #E9E9E9;
}
.news .list::-webkit-scrollbar-thumb {
  background-color: #6f294e;
}
.news .item {
  border-bottom: 1px solid lightgray;
}
.news .item + .item {
  margin-top: 2rem;
}
.news .item > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  padding-bottom: 2rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.news .item > a:hover {
  opacity: 0.6;
}
.news .date {
  font-size: 12px;
  color: gray;
}
.news .title {
  font-size: 16px;
  line-height: 1.5;
}

.news_event {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}

/*
** News&Topics
*/
.news-topic {
  padding: 4rem 0;
}
@media screen and (min-width: 768px) {
  .news-topic {
    padding: 8rem 0 6rem;
  }
}
.news-topic .tab {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-column-gap: 5%;
     -moz-column-gap: 5%;
          column-gap: 5%;
  row-gap: 1.5rem;
}
.news-topic .tab .button-wrapper {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 3rem;
  overflow-x: auto;
  padding: 2rem 0;
}
@media screen and (min-width: 768px) {
  .news-topic .tab .button-wrapper {
    padding: 10px;
  }
}
.news-topic .tab .tab-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.news-topic .tab .tab-item {
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
}
.news-topic .tab .tab-item .text {
  position: relative;
  white-space: nowrap;
}
.news-topic .tab .tab-item .text:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  opacity: 0;
  -webkit-transform: translateY(5px);
          transform: translateY(5px);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.news-topic .tab .tab-item.-selected .text:after {
  opacity: 1;
  -webkit-transform: translateY(2px);
          transform: translateY(2px);
}
.news-topic .tab .tab-item:not(:last-of-type) {
  border-right: 1px solid rgba(128, 36, 78, 0.2);
  padding-right: 1.5rem;
  margin-right: 1.5rem;
}
.news-topic .tab #tab-all {
  color: #80244e;
}
.news-topic .tab #tab-all .text:after {
  background-color: #80244e;
}
.news-topic .tab #tab-event {
  color: #222CBB;
}
.news-topic .tab #tab-event .text:after {
  background-color: #222CBB;
}
.news-topic .tab #tab-school {
  color: #5fb5ec;
}
.news-topic .tab #tab-school .text:after {
  background-color: #5fb5ec;
}
.news-topic .tab #tab-club {
  color: #dd960f;
}
.news-topic .tab #tab-club .text:after {
  background-color: #dd960f;
}
.news-topic .tab #tab-exam {
  color: #c50018;
}
.news-topic .tab #tab-exam .text:after {
  background-color: #c50018;
}
.news-topic .tab #tab-blog {
  color: #00984b;
}
.news-topic .tab #tab-blog .text:after {
  background-color: #00984b;
}
.news-topic .tab #tab-education {
  color: #7c589d;
}
.news-topic .tab #tab-education .text:after {
  background-color: #7c589d;
}
.news-topic .tab #tab-office {
  color: #911d4d;
}
.news-topic .tab #tab-office .text:after {
  background-color: #911d4d;
}
.news-topic .tab #tab-other {
  color: #909090;
}
.news-topic .tab #tab-other .text:after {
  background-color: #909090;
}
.news-topic .news-list {
  margin-top: 3rem;
}
.news-topic .news-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -webkit-column-gap: 15px;
     -moz-column-gap: 15px;
          column-gap: 15px;
  row-gap: 20px;
}
@media screen and (min-width: 768px) {
  .news-topic .news-list ul {
    grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
    -webkit-column-gap: 26px;
       -moz-column-gap: 26px;
            column-gap: 26px;
    row-gap: 30px;
  }
}
.news-topic .news-list li {
  position: relative;
}
.news-topic .news-list li:hover {
  opacity: 0.7;
  -webkit-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
.news-topic .news-list .list-event li,
.news-topic .news-list .list-school li,
.news-topic .news-list .list-club li,
.news-topic .news-list .list-exam li,
.news-topic .news-list .list-blog li,
.news-topic .news-list .list-education li,
.news-topic .news-list .list-office li,
.news-topic .news-list .list-other li {
  display: none;
}
.news-topic .news-list .images {
  width: 100%;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 5/3;
}
.news-topic .news-list .images img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.news-topic .news-list .pickup-label {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.news-topic .news-list .pickup-label .icon {
  width: 26px;
  height: 26px;
}
@media screen and (min-width: 768px) {
  .news-topic .news-list .pickup-label .icon {
    width: 35px;
    height: 35px;
  }
}
.news-topic .news-list .info {
  font-weight: 400;
  line-height: 1;
}
.news-topic .news-list .date {
  font-size: 9px;
  color: darkgray;
}
@media screen and (min-width: 768px) {
  .news-topic .news-list .date {
    font-size: 12px;
  }
}
.news-topic .news-list .cat {
  font-size: 9px;
  position: relative;
  padding-left: 1rem;
  margin-left: 1rem;
  color: #676767;
}
@media screen and (min-width: 768px) {
  .news-topic .news-list .cat {
    font-size: 12px;
  }
}
.news-topic .news-list .cat:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 3px;
  height: 1em;
  background-color: #676767;
}
.news-topic .news-list .cat.cat-event {
  color: #222CBB;
}
.news-topic .news-list .cat.cat-event:before {
  background-color: #222CBB;
}
.news-topic .news-list .cat.cat-school {
  color: #5fb5ec;
}
.news-topic .news-list .cat.cat-school:before {
  background-color: #5fb5ec;
}
.news-topic .news-list .cat.cat-club {
  color: #dd960f;
}
.news-topic .news-list .cat.cat-club:before {
  background-color: #dd960f;
}
.news-topic .news-list .cat.cat-exam {
  color: #c50018;
}
.news-topic .news-list .cat.cat-exam:before {
  background-color: #c50018;
}
.news-topic .news-list .cat.cat-blog {
  color: #00984b;
}
.news-topic .news-list .cat.cat-blog:before {
  background-color: #00984b;
}
.news-topic .news-list .cat.cat-education {
  color: #7c589d;
}
.news-topic .news-list .cat.cat-education:before {
  background-color: #7c589d;
}
.news-topic .news-list .cat.cat-office {
  color: #80244e;
}
.news-topic .news-list .cat.cat-office:before {
  background-color: #80244e;
}
.news-topic .news-list .cat.cat-other {
  color: #909090;
}
.news-topic .news-list .cat.cat-other:before {
  background-color: #909090;
}
.news-topic .news-list .detail {
  padding: 10px 0;
}
@media screen and (max-width: 768px) {
  .news-topic .news-list .detail {
    padding: 5px 0;
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .news-topic .news-list .detail p {
    min-width: auto !important;
    min-height: auto !important;
  }
}
.news-topic .news-list .detail .post-title {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 0.5em;
  min-width: 215px;
  min-height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
@media screen and (min-width: 768px) {
  .news-topic .news-list .detail .post-title {
    font-size: 15px;
    line-height: 1.6;
  }
}
.news-topic .tab-button {
  color: #6f294e;
  background-color: #fff;
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
          box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  padding: 13px 26px;
  border-radius: 3rem;
  font-size: 15px;
  letter-spacing: 0.12em;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  white-space: nowrap;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 767px) {
  .news-topic .tab-button {
    margin-top: 3rem;
    margin-inline: auto;
    padding: 2rem 3rem;
  }
}
.news-topic .tab-button:hover {
  background-color: #6f294e;
  color: #fff;
}
.news-topic .tab-button.sp {
  padding: 15px 30px;
}

/*
** KOMAGOME MOVIE
*/
.movie {
  margin-top: 10px;
  padding-top: 36px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .movie {
    margin-top: 60px;
    padding-top: 65px;
  }
}
@media screen and (min-width: 1025px) {
  .movie {
    padding-top: 86px;
  }
}
.movie + .image-section {
  margin-top: 4.2rem;
}
@media screen and (min-width: 768px) {
  .movie + .image-section {
    margin-top: 12rem;
  }
}

.movie__inner {
  width: 100%;
  max-width: 1272px;
  margin: 0 auto;
  background-color: #F2F2F2;
  padding-block: 62px 45px;
}
@media screen and (min-width: 768px) {
  .movie__inner {
    padding-block: 103px 70px;
  }
}

.movie__list {
  margin-top: 30px;
}
@media screen and (min-width: 768px) {
  .movie__list {
    margin-top: 40px;
  }
}

.movie__list-panel {
  display: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-column-gap: 10px;
     -moz-column-gap: 10px;
          column-gap: 10px;
  row-gap: 20px;
  opacity: 0;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}
@media screen and (min-width: 768px) {
  .movie__list-panel {
    -webkit-column-gap: 25px;
       -moz-column-gap: 25px;
            column-gap: 25px;
    row-gap: 30px;
  }
}
.movie__list-panel.-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.movie__list-panel.-show {
  opacity: 1;
}

.movie__item {
  width: calc((100% - 10px) / 2);
}
@media screen and (min-width: 768px) {
  .movie__item {
    width: calc((100% - 50px) / 3);
  }
}
.movie__item .thumbnail-wrapper {
  position: relative;
  aspect-ratio: 5/3;
}
.movie__item .thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.movie__item .overlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: rgba(144, 144, 144, 0.3);
  width: 100%;
  height: 100%;
}
.movie__item .overlay::before, .movie__item .overlay::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.movie__item .overlay::before {
  width: 3.6em;
  height: 3.6em;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}
@media screen and (min-width: 768px) {
  .movie__item .overlay::before {
    width: 7em;
    height: 7em;
  }
}
.movie__item .overlay::after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.6em 0 0.6em 1em;
  border-color: transparent transparent transparent #B3244F;
  -webkit-transform: translateX(15%);
          transform: translateX(15%);
}
@media screen and (min-width: 768px) {
  .movie__item .overlay::after {
    border-width: 1.2em 0 1.2em 2em;
  }
}
.movie__item .title {
  margin-top: 1rem;
  line-height: 1.4;
  font-size: 12px;
  color: #888888;
}
@media screen and (min-width: 768px) {
  .movie__item .title {
    margin-top: 1.5rem;
    font-size: 15px;
  }
}
.movie__item:nth-child(2) {
  -webkit-transition-delay: 0.2s;
          transition-delay: 0.2s;
}
.movie__item:nth-child(3) {
  -webkit-transition-delay: 0.4s;
          transition-delay: 0.4s;
}

.modal_contents {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  padding: 40px 20px;
}

.modal_contents > div {
  display: none;
  position: relative;
  width: min(900px, 100%);
  margin: auto;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  background: #000;
}

.modal_contents video {
  display: block;
  width: 100%;
  height: auto;
}

.modal_contents p {
  background: #fff;
  padding: 12px 16px;
  margin: 0;
}

.movie__tab {
  width: 273px;
  margin: 0 auto;
  border-radius: 5px;
  background: #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .movie__tab {
    width: 100%;
    background: none;
  }
}

.movie__tab-wrapper {
  position: relative;
}

.movie__tab-list {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  width: 100%;
  z-index: 10;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 0 0 5px 5px;
  -webkit-transform: translateY(-8px);
          transform: translateY(-8px);
  border: 1px solid #B3244F;
  background: #fff;
  -webkit-transition: max-height 0.3s ease, opacity 0.25s ease, -webkit-transform 0.25s ease;
  transition: max-height 0.3s ease, opacity 0.25s ease, -webkit-transform 0.25s ease;
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease, -webkit-transform 0.25s ease;
}
.movie__tab-list.-open {
  max-height: 500px;
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
@media screen and (min-width: 768px) {
  .movie__tab-list {
    position: static;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 10px;
    max-height: none;
    opacity: 1;
    -webkit-transform: none;
            transform: none;
    overflow: visible;
    border: none;
    background: transparent;
  }
}

.movie__tab-item {
  display: block;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #911D4D;
  cursor: pointer;
  padding: 8px 16px 10px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  .movie__tab-item {
    font-size: 15px;
    border-radius: 50px;
    padding: 14px 26px;
  }
  .movie__tab-item:hover {
    opacity: 0.6;
  }
  .movie__tab-item.-selected {
    position: relative;
    background: #911D4D;
    color: #fff;
  }
}
@media screen and (min-width: 860px) {
  .movie__tab-item {
    font-size: 16px;
    padding: 16px 30px;
  }
}
@media screen and (min-width: 1025px) {
  .movie__tab-item {
    font-size: 15px;
    padding: 14px 24px;
  }
}
@media screen and (min-width: 1340px) {
  .movie__tab-item {
    font-size: 16px;
    padding: 16px 40px;
  }
}
.movie__tab-item:hover {
  background: #911D4D;
  color: #fff;
}
.movie__tab-item.-selected {
  display: none;
}
@media screen and (min-width: 768px) {
  .movie__tab-item.-selected {
    display: block;
  }
}
.movie__tab-item.-first {
  padding: 14px 16px 10px;
}

.movie__tab-current {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #911D4D;
  position: relative;
  z-index: 20;
  background: #fff;
  border: solid 1px #911D4D;
  border-radius: 5px;
  cursor: pointer;
  padding: 13px 16px;
}
@media screen and (min-width: 768px) {
  .movie__tab-current {
    display: none;
  }
}
.movie__tab-current::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: solid 2px #911D4D;
  border-bottom: solid 2px #911D4D;
  position: absolute;
  top: 15px;
  right: 15px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.movie__top-title {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #911D4D;
  padding-block: 26px;
  padding-inline: 50px 45px;
}
@media screen and (min-width: 768px) {
  .movie__top-title {
    font-size: clamp(4rem, 2.67rem + 1.74vw, 6rem);
    padding-block: 33px 35px;
    padding-inline: 14.5vw min(7vw, 72px);
  }
}
@media screen and (min-width: 1025px) {
  .movie__top-title {
    padding-block: 41px 48px;
  }
}

.movie-top-button {
  font-size: 13px;
  font-weight: 500;
  margin-top: 35px;
  margin-inline: auto;
  width: 100%;
  max-width: 438px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .movie-top-button {
    font-size: 16px;
    margin-top: 60px;
  }
}

/*
** 学園の紹介　& 駒込の教育
*/
.image-section {
  margin-top: 6rem;
}
@media screen and (min-width: 768px) {
  .image-section {
    margin-top: 12rem;
  }
}
@media screen and (min-width: 1024px) {
  .image-section.-reverse .container {
    padding: 9rem 0 9rem 63%;
  }
}
@media screen and (min-width: 1024px) {
  .image-section.-reverse .image-wrapper {
    left: 0;
    right: unset;
  }
}
@media screen and (max-width: 768px) {
  .image-section .top-title-h2,
  .image-section .section-title {
    margin-left: 5%;
  }
}
.image-section .section-title {
  font-size: clamp(2.2rem, 2.3128rem + 2.6359vw, 5.3875rem);
  line-height: 1.6;
  letter-spacing: 2px;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .image-section .section-title {
    margin-top: 2em;
  }
}
.image-section .section-title span {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  opacity: 0;
  -webkit-transform: translateX(2rem);
          transform: translateX(2rem);
  -webkit-transition: 0.6s ease-out;
  transition: 0.6s ease-out;
}
.image-section .section-title span:nth-child(2) {
  -webkit-transition-delay: 0.3s;
          transition-delay: 0.3s;
}
.image-section .section-title.aos-animate span {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.image-section .container {
  position: relative;
}
@media screen and (min-width: 768px) {
  .image-section .container {
    padding-top: 9rem;
    padding-bottom: 9rem;
    padding-left: 5%;
  }
}
.image-section .image-wrapper {
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .image-section .image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60%;
    margin-top: 0;
  }
}
.image-section .image {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.image-section .button-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .image-section .button-wrapper {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 5rem;
  }
}
@media screen and (min-width: 1024px) {
  .image-section .button-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*
** 中学校　& 高等学校
*/
.image-buttons {
  padding: 6rem 0 10rem;
  overflow-x: hidden;
}
@media screen and (min-width: 768px) {
  .image-buttons {
    padding: 10rem 0;
  }
}
.image-buttons .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media screen and (min-width: 768px) {
  .image-buttons .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6%;
  }
}
.image-buttons .grid-item .item-title {
  background-color: #F2F2F2;
  padding: 2rem;
}
@media screen and (min-width: 768px) {
  .image-buttons .grid-item .item-title {
    padding: 3rem;
  }
}

/*
** 学校生活
*/
.life {
  overflow-x: hidden;
  padding: 5rem 0;
  background-image: url("../images/top/school-life-sp.png");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
}
@media screen and (min-width: 768px) {
  .life {
    padding: 15rem 0;
    background-image: url("../images/top/school-life-pc.png");
    background-position: center;
  }
}
.life .top-title-h2 {
  color: #fff;
}
.life .top-title-h2 .eng:before {
  background-color: #fff;
}
.life .button-wrapper {
  max-width: 900px;
  margin-top: 4rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media screen and (min-width: 768px) {
  .life .button-wrapper {
    margin-top: 6rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

/*
** 進路情報
*/
.career {
  padding: 5rem 0;
}
@media screen and (min-width: 768px) {
  .career {
    padding: 10rem 0;
  }
}
.career .grid {
  display: grid;
  grid-template-areas: "title" "button1" "button2";
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media screen and (min-width: 768px) {
  .career .grid {
    grid-template-areas: "title ." "button1 button2";
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}
@media screen and (min-width: 1024px) {
  .career .grid {
    grid-template-areas: "title button1 button2";
    grid-template-columns: -webkit-max-content 1fr 1fr;
    grid-template-columns: max-content 1fr 1fr;
    gap: 7rem;
  }
}
.career .top-title-h2 {
  grid-area: title;
}
.career .top-image-button {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .career .top-image-button {
    width: 100%;
  }
}
.career .top-image-button:nth-of-type(1) {
  grid-area: button1;
}
.career .top-image-button:nth-of-type(2) {
  grid-area: button2;
}

@media (max-width: 680px) {
  .banner {
    width: 90%;
    display: block;
  }
  .banner a {
    margin-right: 0;
    margin-bottom: 2rem;
    display: block;
    text-align: center;
  }
}
@-webkit-keyframes show {
  from {
    opacity: 0;
    -webkit-transform: translateY(25px);
            transform: translateY(25px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes show {
  from {
    opacity: 0;
    -webkit-transform: translateY(25px);
            transform: translateY(25px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@media all and (-ms-high-contrast: none) {
  .news-topic .news-list .cat {
    padding: 9px 20px 3px;
  }
  .mv img {
    bottom: -450px;
  }
}/*# sourceMappingURL=top.css.map */