
.c-ranking-page .l-header__inner--campus {
  max-width: 1280px;
}
@media screen and (max-width: 600px) {
  .c-ranking-page .l-header__inner--campus {
    border-bottom: 1px solid #E1E1E1;
    margin: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
  .c-ranking-page .l-header__inner--campus .l-header__btn {
    top: 0px;
  }
}
.c-ranking-page .l-header--wrapper {
  margin: 0;
  position: relative;
}
@media screen and (max-width: 600px) {
  .c-ranking-page .l-header--wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
  .c-ranking-page .l-header--wrapper .l-header__button-box {
    gap: 8px;
    flex: 1;
    justify-content: center;
  }
  .c-ranking-page .l-header--wrapper .l-header__button {
    height: 40px;
    flex: 0 0 calc(50% - 4px);
    max-width: 160px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .c-ranking-page .l-header__button--register span {
    width: auto;
  }
}
.c-ranking-page .l-container {
  padding: 0 20px;
  max-width: 1320px;
  display: block;
}
@media screen and (max-width: 600px) {
  .c-ranking-page .l-container {
    padding: 0 12px;
  }
}
.c-hero {
  background: url('/contents/campus/img/ranking/hero_bg_pc.png') no-repeat bottom center;
  background-size: cover;
  margin-top: 16px;
  min-width: 1280px;
}
@media screen and (max-width: 600px) {
  .c-hero {
    min-width: initial;
    background-image: url('/contents/campus/img/ranking/hero_bg_sp.png');
    background-position: top center;
    margin-top: 0;
  }
}
.c-hero__container {
  max-width: 1096px;
  margin: auto;
  padding: 24px 16px 32px;
}
@media screen and (max-width: 600px) {
  .c-hero__container {
    padding: 22px 4px;
    font-size: max(2.5vw, 10px);
  }
}
@media screen and (max-width: 320px) {
  .c-hero__container {
    padding: 22px 4px;
    font-size: min(2.75vw, 10px);
  }
}
.c-hero__inner {
  max-width: 903px;
  margin: 0 auto;
  text-align: center;
  padding: 0 129px;
  position: relative;
}
@media screen and (max-width: 600px) {
  .c-hero__inner {
    padding: 0 40px;
    z-index: 0;
  }
}
.c-hero__inner::before {
  content: '';
  width: 146px;
  height: 313px;
  background: url('/contents/campus/img/ranking/hero_inner_left.svg') no-repeat center center;
  background-size: contain;
  position: absolute;
  left: 0;
  top: -36px;
}
.c-hero__inner::after {
  content: '';
  width: 146px;
  height: 313px;
  background: url('/contents/campus/img/ranking/hero_inner_right.svg') no-repeat center center;
  background-size: contain;
  position: absolute;
  right: 0;
  top: -36px;
}
@media screen and (max-width: 600px) {
  .c-hero__inner::before,
  .c-hero__inner::after {
    top: 4px;
    width: 11.8em;
    height: 25.3em;
  }
  .c-hero__inner::before {
    left: -2px;
  }
  .c-hero__inner::after {
    right: -2px;
  }
}
.c-hero__subtitle {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  text-align: center;
  color: #068475;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 0 auto 24px;
  max-width: 638px;
}
@media screen and (max-width: 600px) {
  .c-hero__subtitle {
    padding: 0 8px;
    margin-bottom: 16px;
    font-size: 1.4em;
    letter-spacing: 0.055em;
    gap: 12px;
  }
}
.c-hero__subtitle::before,
.c-hero__subtitle::after {
  content: '';
  height: 2px;
  background-color: #068475;
  flex: 1;
}
.c-hero__subtitle > span {
  max-width: calc(100% - 72px);
}
.c-hero__title {
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0.7px;
  color: #068475;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  text-shadow: 0 3px 5px #fff, 3px 2px 2px #fff, 0 -3px 5px #fff, -3px -2px 2px #fff, 2px -3px 2px #fff, -2px 3px 5px #fff, -4px 6px 10px rgba(255,255,255, 0.5), 4px -6px 10px rgba(255,255,255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
@media screen and (max-width: 600px) {
  .c-hero__title {
    display: block;
    font-size: 3.8em;
    line-height: 1.15;
    letter-spacing: 0.055em;
    margin-bottom: 8px;
  }
}
.c-hero__title::before,
.c-hero__title::after {
  content: '';
  width: 68px;
  height: 68px;
  background: url('/contents/campus/img/icon_crown_yellow.svg') no-repeat center center;
  background-size: contain;
  flex: 0 0 68px;
}
@media screen and (max-width: 600px) {
  .c-hero__title::before,
  .c-hero__title::after {
    display: none;
  }
}
.c-hero__logo {
  margin-bottom: 16px;
}
@media screen and (max-width: 600px) {
  .c-hero__logo {
    margin-bottom: 8px;
  }
}
.c-hero__logo > img {
  width: 209px;
  margin: 0 auto;
}
@media screen and (max-width: 600px) {
  .c-hero__logo > img {
    width: 16.5em;
  }
}
.c-hero__description {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.7px;
  text-align: center;
  margin: 0 auto;
  color: #424242;
}
@media screen and (max-width: 600px) {
  .c-hero__description {
    max-width: 17.8em;
    font-size: 1.3em;
    letter-spacing: 0.055em;
  }
}
.c-hero__register {
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #9FCCC6;
  padding: 24px 24px 32px;
  text-align: center;
  margin-top: 32px;
}
@media screen and (max-width: 600px) {
  .c-hero__register {
    position: relative;
    z-index: 1;
    margin-top: 16px;
    padding-top: 16px;
    padding-bottom: 22px;
  }
}
.c-hero__register > p {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.7px;
  color: #424242;
  margin-bottom: 16px;
}
.c-hero__register > p > span,
.c-hero__register > p > b  {
  font-weight: 600;
}
.c-hero__register .text-green {
  color: #068475;
}
.c-hero__register > a {
  background-color: #EB5500;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  text-align: center;
  max-width: 424px;
  margin: 0 auto;
  width: 100%;
  padding: 15.5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  font-family: Noto Sans JP, sans-serif;
}
.c-hero__register > a > .text-free {
  font-size: 14px;
  padding: 2px 5px;
  border-radius: 2px;
  color: #EB5500;
  background-color: #fff;
  line-height: 1.4;
}
.c-hero__caption {
  max-width: 645px;
  margin: 24px auto;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  color: #EB5500;
}
@media screen and (max-width: 600px) {
  .c-hero__caption {
    margin: 59px auto 16px;
  }
}
.c-hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 600px) {
  .c-hero__links {
    margin-top: 16px;
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
.c-hero__links > a {
  background: #424242;
  padding: 10px 24px;
  border-radius: 4px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  gap: 8px;
  box-shadow: 4px 6px 7px 0px #4E4E4E4D;
}
@media screen and (max-width: 600px) {
  .c-hero__links > a {
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    font-size: min(3vw, 12px);
    padding: 8px 2px;
    box-shadow: none;
  }
  .c-hero__links > a > span {
    max-width: calc(100% - 20px);
    text-align: center;
  }
}
.c-hero__links > a > img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
@media screen and (max-width: 600px) {
  .c-hero__links > a > img {
    width: 21px;
    height: 21px;
    flex: 0 0 100%;
  }
}
.c-hero__links > a::after {
  content: '';
  width: 16px;
  height: 16px;
  background: url('/contents/campus/img/arrow_bottom_white.svg') no-repeat center center;
  background-size: contain;
  flex: 0 0 auto;
  margin-top: -1px;
}
@media screen and (max-width: 600px) {
  .c-hero__links > a::after {
    width: 15px;
    height: 15px;
  }
}

@media screen and (min-width: 601px) {
  .c-hero.c-hero--login {
    background-image: url('/contents/campus/img/ranking/hero_bg_pc_login.png');
  }
  .c-hero.c-hero--login .c-hero__inner::before,
  .c-hero.c-hero--login .c-hero__inner::after {
    top: -16px;
  }
}

.c-contents {
  background-color: #F5F5F5;
  padding: 8px 0 72px;
}
@media screen and (max-width: 600px) {
  .c-contents {
    padding: 20px 0 36px;
  }
}
.c-note-wrapper {
  text-align: right;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  color: #000000;
  margin-bottom: 24px;
}
@media screen and (max-width: 600px) {
  .c-note-wrapper {
    text-align: left;
    margin-bottom: 40px;
  }
  .c-note-wrapper > span {
    display: block;
  }
}

/* .c-ranking-tab */
.c-ranking-tab .c-grid.-four {
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 600px) {
  .c-ranking-tab .c-grid.-four {
    grid-template-columns: 1fr;
  }
}
.c-ranking-tab .c-grid__box {
  min-width: 0;
}
.c-ranking-tab .c-ranking-box {
  height: 266px;
  overflow: hidden;
  position: relative;
}
.c-ranking-tab .c-ranking-box + .c-ranking-box {
  margin-top: 32px;
}
@media screen and (max-width: 600px) {
  .c-ranking-tab .c-ranking-box + .c-ranking-box {
    margin-top: 40px;
  }
}
@media screen and (max-width: 600px) {
  .c-ranking-tab .c-ranking-box {
    height: 718px;
  }
}
.c-ranking-tab .c-ranking-box .c-ranking-box__expand {
  position: sticky;
  left: 0;
  bottom: 0;
}
.c-ranking-tab .c-ranking-box:not(.is-expanded) .c-ranking-box__expand {
  background: linear-gradient(180deg, rgba(245, 245, 245, 0) 0%, rgba(245, 245, 245, 0.95) 32.69%, #F5F5F5 100%);
}
.c-ranking-tab .p-card-lesson .ranking-comment-text {
  display: block;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(100% - 20px);
  flex: 0 0 auto;
}
.c-ranking-tab .c-ranking-box__heading {
  margin-bottom: 12px;
}
/* .c-tabs */
.icon-school {
  background: url('/contents/campus/img/icon_school_green.svg') no-repeat center center;
  background-size: contain;
  width: 28px;
  height: 28px;
}
.c-tabs {
  margin-top: 40px;
}
.c-tabs__nav {
  display: flex;
  margin-bottom: 32px;
}
@media screen and (max-width: 600px) {
  .c-tabs__nav {
    margin-bottom: 16px;
  }
}
.c-tabs__nav-item {
  flex: 0 0 50%;
  text-align: center;
  padding: 8px;
  border-bottom: 1px solid #068475;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  color: #068475;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 48px;
}
.c-tabs__nav-item.is-active {
  background-color: #068475;
  color: #FFFFFF;
}
.c-tabs__nav-item.is-active .icon-school {
  background-image: url('/contents/campus/img/icon_school.svg');
}
.c-tabs__content-heading {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
@media screen and (max-width: 600px) {
  .c-tabs__content-heading {
    margin-bottom: 40px;
    flex-direction: column;
    align-items: flex-start;
  }
}
.c-tabs__content-heading > h2 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  color: #068475;
}
.c-tabs__content-heading > p {
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.7px;
  color: #424242;
}
.c-tabs__content {
  display: none;
}
.c-tabs__content.is-active {
  display: block;
}
