@charset "utf-8";

/* ===== top-item ====== */

.page-system .top-item {
  margin-top: 93px;
  margin-right: 20%;
}

.page-system .top-item .content {
  max-width: 1520px;
  width: 100%;
  padding: 20px 40px 20px 0;
  background-color: #005497;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-system .top-item .info {
  margin-left: 22%;
  width: 525px;
}

.page-system .top-item .info p {
  font-size: 1.8rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 1779px) {
  .page-system .top-item .info {
    margin-left: 17%;
  }
}

@media (max-width: 1679px) {
  .page-system .top-item .info {
    margin-left: 12%;
  }
}

@media (max-width: 1579px) {
  .page-system .top-item .info {
    margin-left: 7%;
  }
}

@media (max-width: 1479px) {
  .page-system .top-item .info {
    margin-left: 6%;
    width: 400px;
  }
}

@media (max-width: 1319px) {
  .page-system .top-item .info {
    margin-left: 5%;
    width: 300px;
  }
}

@media (max-width: 1179px) {
  .page-system .top-item .info {
    margin-left: 5%;
    width: 250px;
  }
}

/* ===== lesson ====== */

.lesson {
  margin-top: 80px;
}

.lesson__inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.lesson .content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 1179px) {
  .lesson .content {
    justify-content: space-around;
  }
}

.lesson .item {
  width: 334px;
  height: 350px;
}

.lesson .item:nth-of-type(n + 4) {
  margin-top: 50px;
}

.lesson .item h3 {
  font-size: 1.8rem;
  color: #005497;
  margin-top: 15px;
  padding-left: 15px;
  font-weight: 500;
  position: relative;
}

.lesson .item h3::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  background-color: #005497;
  width: 3px;
  height: 18px;
}

.lesson .item p {
  font-size: 1.4rem;
  margin-top: 13px;
  font-weight: 400;
  line-height: 1.7;
}

/* ===== support ====== */

.support {
  margin-top: 101px;
}

.support__inner {
  max-width: 843px;
  width: 100%;
  margin: 0 auto;
}

.support .ttl,
.support .sub-ttl {
  text-align: center;
}

.support .content {
  margin-top: 43px;
  position: relative;
}

.support .content .pic {
  width: 467px;
  margin-left: auto;
}

.support .info {
  position: absolute;
  bottom: -13px;
  left: 0;
  width: 420px;
  padding: 45px 41px 40px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 16%);
  background-color: rgba(255, 255, 255, 70%);
  -webkit-backdrop-filter: brightness(96%) blur(15px);
  backdrop-filter: brightness(96%) blur(15px);
}

.support .info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #005497;
}

.support .info p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  margin-top: 23px;
}

/* ===== careerUp ====== */

.careerUp {
  margin-top: 113px;
  padding: 41px 0 50px;
  background-color: #f2f2f2;
}

.careerUp__inner {
  max-width: 1207px;
  width: 100%;
  margin: 0 auto;
}

.careerUp .ttl,
.careerUp .sub-ttl {
  text-align: center;
}

.careerUp .heading {
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 43px;
}

.careerUp .content {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}

.rank {
  display: flex;
  flex-direction: column;
  width: 150px;
}

.rank__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 500;
}

.rank__ttl--ss {
  background-color: #aad8ff;
  height: 64px;
  margin-top: 130px;
  position: relative;
}

.rank__ttl--ss::before {
  content: "";
  background-image: url(../img/system/system12.png);
  background-image: image-set(
    url(../img/system/system12.png) 1x,
    url(../img/system/system12@2x.png) 2x
  );
  background-image: -webkit-image-set(
    url(../img/system/system12.png) 1x,
    url(../img/system/system12@2x.png) 2x
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: -157px;
  left: -35px;
  width: 252px;
  height: 182px;
}

.rank__ttl--s {
  background-color: #78b7eb;
  height: 100px;
  margin-top: 94px;
}

.rank__ttl--m {
  background-color: #3f92d5;
  height: 139px;
  margin-top: 55px;
}

.rank__ttl--l {
  background-color: #1670b8;
  height: 172px;
  margin-top: 22px;
}

.rank__ttl--xl {
  background-color: #005497;
  height: 194px;
}

.rank__txt {
  font-size: 1.2rem;
  margin-top: 20px;
  line-height: 1.6;
  font-weight: 400;
  padding: 0 9px;
}

.page-system .entry {
  margin-top: 0;
}

/* ==========================================
/* tablet
/* ========================================== */

@media (max-width: 1080px) {
  /* ===== top-item ====== */

  .page-system .top-item {
    margin-top: 50px;
    margin-right: 0;
  }

  .page-system .top-item .content {
    padding: 20px 0 20px 0;
    justify-content: space-around;
  }

  .page-system .top-item .info {
    margin-left: 0;
    width: 270px;
  }

  .page-system .top-item .pic {
    width: 416px;
    height: 280px;
  }

  .page-system .top-item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* ===== lesson ====== */

  .lesson__inner {
    max-width: 900px;
  }

  .lesson .content::after {
    display: block;
    content: "";
    width: 334px;
  }

  .lesson .item:nth-of-type(n + 3) {
    margin-top: 40px;
  }

  /* ===== support ====== */

  .support {
    margin-top: 73px;
  }

  .support .content {
    margin-top: 32px;
  }

  .support .content .pic {
    width: 600px;
    margin: 0 auto;
  }

  .support .content .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .support .info {
    position: absolute;
    bottom: -161px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
  }

  /* ===== careerUp ====== */

  .careerUp {
    margin-top: 232px;
    padding: 30px 0;
  }

  .careerUp .heading {
    font-size: 1.6rem;
    margin-top: 32px;
  }

  .careerUp .content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 35px auto 0;
    max-width: 800px;
    width: 100%;
  }

  .rank {
    width: 170px;
  }

  .rank:nth-of-type(n + 5) {
    margin-top: 30px;
  }

  .rank__ttl--ss {
    height: 80px;
    margin-top: 0px;
    position: static;
  }

  .rank__ttl--ss::before {
    content: none;
  }

  .rank__ttl--s {
    height: 80px;
    margin-top: 0;
  }

  .rank__ttl--m {
    height: 80px;
    margin-top: 0;
  }

  .rank__ttl--l {
    height: 80px;
    margin-top: 0;
  }

  .rank__ttl--xl {
    height: 80px;
  }
}

/* ==========================================
/* sp
/* ========================================== */

@media (max-width: 767px) {
  /* ===== top-item ====== */

  .page-system .top-item .content {
    padding: 0;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column-reverse;
  }

  .page-system .top-item .info {
    margin-left: 0;
    max-width: 89%;
    width: 100%;
    padding: 30px 10px 38px;
    background-color: #005497;
    margin-top: 10px;
  }

  .page-system .top-item .info p {
    font-size: 1.6rem;
    line-height: 2;
  }

  .page-system .top-item .pic {
    width: 100%;
    height: 227px;
  }

  @media (min-width: 500px) {

    .page-system .top-item .pic {
      height: 327px;
    }
  }

  /* ===== lesson ====== */

  .lesson {
    margin-top: 70px;
  }

  .lesson__inner {
    max-width: 500px;
    width: 89%;
  }

  .lesson .content {
    justify-content: space-between;
  }

  .lesson .content::after {
    display: block;
    content: "";
    width: 48%;
  }

  .lesson .item {
    width: 48%;
    height: 225px;
  }

  .lesson .item:nth-of-type(n+3):nth-child(-n+6) {
    height: 193px;
  }

  .lesson .item:nth-of-type(n+7):nth-child(-n+8) {
    height: 208px;
  }

  .lesson .item:nth-of-type(9) {
    height: 224px;
  }

  .lesson .item:nth-of-type(n+3) {
    margin-top: 25px;
  }

  @media (max-width: 364px) {

    .lesson .item:nth-of-type(n+7):nth-child(-n+8) {
      height: 224px;
    }

    .lesson .item:nth-of-type(9) {
      height: 240px;
    }
  }

  .lesson .item .pic {
    width: 100%;
    height: 106px;
  }

  .lesson .item .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lesson .item h3 {
    font-size: 1.4rem;
    margin-top: 14px;
    padding-left: 6px;
    font-weight: 500;
    line-height: 1.2;
  }

  .lesson .item h3::before {
    left: 0;
    width: 2px;
    height: 16px;
  }

  .lesson .item p {
    font-size: 1.2rem;
    margin-top: 12px;
    line-height: 1.3;
  }

  .lesson .item .lesson__txt {
    margin-top: 29px;
  }

  /* ===== support ====== */

  .support .content .pic {
    max-width: 400px;
    width: 94%;
  }

  .support .info {
    position: absolute;
    bottom: -180px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 380px;
    width: 89%;
    padding: 35px 19px 35px;
  }

  @media (max-width: 371px) {

    .support .info {
      bottom: -205px;
    }
  }

  .support .info h3 {
    font-weight: 500;
  }

  .support .info p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-top: 22px;
  }

  /* ===== careerUp ====== */

  .careerUp {
    margin-top: 252px;
    padding: 30px 0;
  }

  @media (max-width: 371px) {

    .careerUp {
      margin-top: 277px;
    }
  }

  .careerUp .heading {
    font-size: 1.4rem;
    line-height: 1.7;
    text-align: left;
    margin: 32px 6% 0;
  }

  .careerUp .content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 35px auto 0;
    max-width: 400px;
    width: 100%;
    padding: 0 10px;
  }

  .rank {
    width: 170px;
  }

  @media (max-width: 374px) {

    .careerUp .content {
      justify-content: space-around;
      padding: 0;
    }
    
    .rank {
      width: 150px;
    }
  }

  .rank:nth-of-type(n + 3) {
    margin-top: 25px;
  }

  .rank__txt {
    margin-top: 10px;
    padding: 0;
  }

  .page-system .entry {
    margin-top: 70px;
  }
}
