.tab__wrap {
  border-color: var(--color-light);
}

@media screen and (width <= 767px) {
  .tab__list {
    padding: 0 0.8rem;
    gap: 0.8rem;
  }
}

.tab__item {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 9rem;
  margin-bottom: 0;
  padding: 2.2rem 0 1.4rem;
  border-color: var(--color-light);
  border-bottom: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-primary);
  text-decoration: none;
}
@media screen and (width <= 767px) {
  .tab__item {
    width: calc((100% - 2.4rem) / 4);
    height: 7.2rem;
    padding: 1rem 0 0.5rem;
    border-radius: 1rem 1rem 0 0;
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.2307692308;
  }
}
.tab__item::after {
  content: "";
  width: 2rem;
  height: 2rem;
  display: block;
  background: var(--img--arrow--link) no-repeat 0 0;
  background-size: contain;
  rotate: 90deg;
}
.tab__item.-active {
  height: 11rem;
  padding-top: 3rem;
  background-color: var(--color-light);
}
.tab__item.-active.-senior, .tab__item.-active.-middle, .tab__item.-active.-junior {
  color: #fff;
}
.tab__item.-active.-senior::after, .tab__item.-active.-middle::after, .tab__item.-active.-junior::after {
  background-image: var(--img--arrow--link-active);
  rotate: 0deg;
}
@media screen and (width <= 767px) {
  .tab__item.-active {
    height: 8rem;
    padding-top: 1.5rem;
  }
}
.tab__item .-sp {
  display: none;
}
@media screen and (width <= 767px) {
  .tab__item .-sp {
    display: block;
  }
}

.top__block {
  padding-top: 6rem;
}

.class__title {
  margin-bottom: 7rem;
  font-size: 4.4rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}
@media screen and (width <= 767px) {
  .class__title {
    font-size: 3.6rem;
  }
}

.reason__list {
  margin-bottom: 12rem;
}
@media screen and (width <= 767px) {
  .reason__list {
    margin-bottom: 10rem;
  }
}

.reason__heading {
  margin-bottom: 2rem;
  color: #C7AA76;
  font-size: 1.7rem;
  font-weight: 700;
  border-bottom: 0.1rem solid #EDD7B0;
}
@media screen and (width <= 767px) {
  .reason__heading {
    margin-bottom: 1rem;
  }
}
.reason__heading span {
  display: inline-block;
  padding-left: 0.6rem;
  font-size: 2.6rem;
}

.reason__title {
  margin-bottom: 3rem;
  color: var(--color-primary);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (width <= 767px) {
  .reason__title {
    font-size: 2.4rem;
  }
}
.reason__title:has(+ .reason__box) {
  margin-bottom: 4rem;
}
.reason__title > span {
  display: inline-block;
}

.reason__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5rem;
}
@media screen and (width <= 767px) {
  .reason__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 3rem;
  }
  .reason__item:has(.reason__item__img .btn__link) {
    padding-bottom: 7.3rem;
    position: relative;
  }
}
.reason__item.-row-reverse {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}
@media screen and (width <= 767px) {
  .reason__item.-row-reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
.reason__item:has(+ .reason__item) {
  margin-bottom: 7rem;
}
.reason__item__body {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.reason__item__body dt {
  margin-bottom: 2.5rem;
  font-size: 2.1rem;
  font-weight: 700;
}
.reason__item__body .btn__link {
  margin-top: 3rem;
}
.reason__item__img {
  width: 36.6%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (width <= 767px) {
  .reason__item__img {
    width: 100%;
  }
  .reason__item__img .btn__link {
    position: absolute;
    left: 0;
    bottom: 0;
  }
}
.reason__item__img:has(.btn__link) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 3rem;
}
.reason__item__img figure {
  width: 100%;
  aspect-ratio: 41/25;
  border-radius: 4rem;
  overflow: hidden;
}
.reason__item__img figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.reason__box {
  margin-top: 3rem;
  padding: 2.5rem;
  border: 0.5rem solid #F7F5ED;
  border-radius: 3rem;
}
@media screen and (width <= 767px) {
  .reason__box {
    padding: 2rem 1.5rem;
  }
}
.reason__box dt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 2.2rem;
  font-weight: 700;
}
.reason__box dt::before {
  content: "";
  display: inline-block;
  width: 3.7rem;
  height: 3.6rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.reason__box:first-of-type dt {
  color: #D06B44;
}
.reason__box:first-of-type dt::before {
  background-image: url(../images/elem/icon_reason_red.svg);
}
.reason__box:nth-of-type(2) dt {
  color: #BDA12B;
}
.reason__box:nth-of-type(2) dt::before {
  background-image: url(../images/elem/icon_reason_yellow.svg);
}
.reason__box:nth-of-type(2) dd ul {
  margin-bottom: 1.5rem;
}
.reason__box:nth-of-type(2) dd ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  font-weight: 700;
}
.reason__box:nth-of-type(2) dd ul li span {
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.reason__box:nth-of-type(3) dt {
  color: #5396BE;
}
.reason__box:nth-of-type(3) dt::before {
  background-image: url(../images/elem/icon_reason_blue.svg);
}

#exam {
  margin-bottom: 10rem;
}

.exam__details {
  margin-top: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 3.5rem;
}
.exam__details dl {
  width: calc((100% - 7rem) / 3);
  padding: 0 2.5rem 2.5rem;
  border: 0.5rem solid #F7F5ED;
  border-radius: 3rem;
}
@media screen and (width <= 900px) and (width > 767px) {
  .exam__details dl {
    width: calc((100% - 3.5rem) / 2);
  }
}
@media screen and (width <= 767px) {
  .exam__details dl {
    width: 100%;
  }
}
.exam__details dl dt {
  padding: 1.8rem 0 0 8rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}
.exam__details dl dt::before {
  content: "";
  display: block;
  width: 7rem;
  height: 7rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  left: 0;
  top: -1rem;
}
.exam__details dl:first-of-type dt {
  color: #D06B44;
}
.exam__details dl:first-of-type dt::before {
  background-image: url(../images/elem/icon_exam_details_01.svg);
}
.exam__details dl:nth-of-type(2) dt {
  color: #BDA12B;
}
.exam__details dl:nth-of-type(2) dt::before {
  background-image: url(../images/elem/icon_exam_details_02.svg);
}
.exam__details dl:nth-of-type(3) dt {
  color: #5396BE;
}
.exam__details dl:nth-of-type(3) dt::before {
  background-image: url(../images/elem/icon_exam_details_03.svg);
}
.exam__details dl:nth-of-type(4) dt {
  color: #9770BA;
}
.exam__details dl:nth-of-type(4) dt::before {
  background-image: url(../images/elem/icon_exam_details_04.svg);
}
.exam__details dl:nth-of-type(5) dt {
  color: #78AA58;
}
.exam__details dl:nth-of-type(5) dt::before {
  background-image: url(../images/elem/icon_exam_details_05.svg);
}
.exam__details dl dd {
  margin-top: 2.3rem;
}

#other .btn__link {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 0;
}