/* --- c-sec-title --- */
.c-sec__title {
  display: flex;
  flex-direction: column;
  gap: 15px;
  &::before {
    content: "";
    display: inline-block;
    width: 35px;
    height: 4px;
    background: url("../images/common/sec-title-deco.svg") center/contain no-repeat;
  }
}
.c-sec__title--center {
  align-items: center;
  text-align: center;
}
.c-sec__title--en {
  font-size: 47px;
  font-weight: 500;
  line-height: 1em;
  @media screen and (max-width: 768px) {
    font-size: 32px;
  }
  &.--white {
    color: #fff;
  }
}
.c-sec__title--ja {
  font-size: 20px;
  font-weight: 500;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
  &.--white {
    color: #fff;
  }
}

/* --- c-btn --- */
.c-btn {
  display: inline-block;
  min-width: 150px;
  text-align: center;
  border-radius: 100px;
  width: fit-content;
  padding: 10px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  box-sizing: border-box;
  background: linear-gradient(135deg, rgb(var(--color-main)) 0%, rgb(var(--color-main)) 50%, #009aa7 100%);
}
.c-btn__link {
  font-size: 18px;
  font-weight: 500;
  color: rgba(var(--color-main));
  display: flex;
  align-items: center;
  gap: 20px;
  @media screen and (max-width: 768px) {
    gap: 10px;
    font-size: 16px;
  }
  &::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url("../images/common/btn-arrow.svg") center/contain no-repeat;
    @media screen and (max-width: 768px) {
      width: 30px;
      height: 30px;
    }
  }
}
.c-btn__link-anchor {
  &::after {
    transform: rotate(90deg);
  }
}
.c-btn__link-border {
  border-bottom: 1px solid rgba(var(--color-main));
  padding-bottom: 20px;
}
.c-btn__link-white {
  color: #fff;
  &::after {
    background: url("../images/common/btn-arrow_white.svg") center/contain no-repeat;
  }
}
/* --- c-news__list --- */

.c-news__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.c-news__item {
  + .c-news__item {
    border-top: 1px solid rgba(var(--color-main));
    padding-top: 30px;
  }
}

.c-news__link {
  display: grid;
  grid-template-columns: 200px 1fr 40px;
  gap: 30px;
  align-items: center;
  @media screen and (max-width: 768px) {
    grid-template-columns: auto;
    gap: 20px;
  }
  &::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
    background: url("../images/common/btn-arrow.svg") center/contain no-repeat;
    @media screen and (max-width: 768px) {
      margin: -10px 0 0 auto;
      width: 30px;
      height: 30px;
    }
  }
  &:hover {
    &::after {
      transform: translateX(-20px);
    }
  }
}
.c-news__img {
  border-radius: 10px;
  aspect-ratio: 16/9;
  overflow: hidden;
  img {
    height: 100%;
    object-fit: cover;
  }
}
.c-news__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.c-news__cat {
  background: linear-gradient(135deg, #75c5b5, rgb(var(--color-main)));
  color: #fff;
  padding: 5px 10px;
  border-radius: 3px;
  line-height: 1em;
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
}
.c-news__time {
  font-size: 13px;
  color: rgba(var(--color-text), 0.5);
}
.c-news__body {
  overflow: hidden !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.5em;
}
.p-top-news {
  padding: 150px 0;
  @media screen and (max-width: 768px) {
    padding: 100px 0;
  }
}
.p-top-news__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  justify-content: space-between;
  @media screen and (max-width: 768px) {
    grid-template-columns: auto;
    gap: 50px;
  }
}
.p-top-news__head {
  @media screen and (max-width: 768px) {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
  }
}
.p-top-news__btn {
  margin-top: 100px;
  @media screen and (max-width: 768px) {
    margin-top: 0;
  }
}

.p-top-carrier {
  position: relative;
  margin-top: 150px;
  padding-bottom: 80px;
  @media screen and (max-width: 768px) {
    margin-top: 100px;
  }
  &:before {
    content: "";
    background: black;
    position: absolute;
    border-radius: 0 20px 20px 0;
    left: 0;
    bottom: 0;
    width: 60%;
    height: calc(100% - 130px);
    background: linear-gradient(135deg, #75c5b5, rgb(var(--color-main)));
    opacity: 0.3;
    z-index: -1;
    @media screen and (max-width: 768px) {
      width: 100%;
    }
  }
}

.p-top-carrier__inner {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 7%;
  @media screen and (max-width: 768px) {
    display: flex;
    flex-direction: column;
  }
}
.p-top-carrier__left {
  display: flex;
  gap: 60px;
  flex-direction: column;
  padding-top: 80px;
  @media screen and (max-width: 768px) {
    order: 2;
  }
}
.p-top-carrier__right {
  width: 120%;
  @media screen and (max-width: 768px) {
    order: 1;
  }
}
.p-top-carrier__list {
  display: flex;
  gap: 40px;
  flex-direction: column;
  @media screen and (max-width: 768px) {
    gap: 30px;
  }
}

.c-card1 {
  background: #fff;
  border-radius: 20px;
}

.c-card1__link {
  display: flex;
  gap: 30px;
  padding: 40px;
  align-items: center;
  position: relative;
  @media screen and (max-width: 768px) {
    padding: 30px;
    gap: 20px;
  }
  &::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s;
    background: url("../images/common/btn-arrow_bgwhite.svg") center/contain no-repeat;
    @media screen and (max-width: 768px) {
      position: absolute;
      top: 30px;
      right: 30px;
      width: 30px;
      height: 30px;
    }
  }
  &:hover {
    &::after {
      transform: translateX(-20px);
    }
  }
}
.c-card1__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-card1__head {
  color: rgb(var(--color-main));
  font-weight: 500;
  font-size: 25px;
  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}

.c-card1__txt {
  line-height: 2em;
  @media screen and (max-width: 768px) {
    font-size: 14px;
  }
}

.p-top-carrier__img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-top-exan {
  padding: 150px 0;
  background: url("../images/home/exam-bg.jpg") center/cover no-repeat;
  @media screen and (max-width: 768px) {
    padding: 100px 0;
  }
}
.p-top-exam__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 100px;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
  }
}
.p-top-exam__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  @media screen and (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.p-top-exam__description {
  color: #fff;
  text-align: right;
  @media screen and (max-width: 768px) {
    text-align: left;
  }
}
.p-top-exam__headright {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-end;
}

.p-top-department {
}
.p-top-department__inner {
  display: grid;
  grid-template-columns: 44% 1fr;
  @media screen and (max-width: 768px) {
    grid-template-columns: auto;
  }
}
.p-top-department__left {
  height: 100%;
  width: 100%;
  @media screen and (max-width: 768px) {
    order: 2;
  }
}
.p-top-department__right {
  display: flex;
  gap: 100px;
  flex-direction: column;
  padding-top: 80px;
  padding: 150px 10%;
  @media screen and (max-width: 768px) {
    order: 1;
    padding: 100px 5% 50px;
    gap: 50px;
  }
}
.p-top-department__img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  @media screen and (max-width: 768px) {
    height: auto;
  }
}

.p-top-department__item {
  + .p-top-department__item {
    border-top: 1px solid rgba(var(--color-main));
    padding-top: 30px;
    margin-top: 30px;
  }
}

.p-top-department__item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 500;
  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}
.p-top-department__item-num {
  color: rgb(var(--color-main));
  font-weight: 500;
  font-size: 30px;
  margin-right: 10px;
  @media screen and (max-width: 768px) {
    font-size: 24px;
  }
}

.p-top-department__item-link {
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
  justify-content: space-between;
  &::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s;
    background: url("../images/common/btn-arrow.svg") center/contain no-repeat;
    @media screen and (max-width: 768px) {
      position: absolute;
      right: 0;
      top: 0;
      width: 30px;
      height: 30px;
    }
  }
  &:hover {
    &::after {
      transform: translateX(-20px);
    }
  }
}

.p-top-department__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

.p-top-department__btn {
  @media screen and (max-width: 768px) {
    margin: 0 0 0 auto;
  }
}
.p-top-feature {
  padding: 150px 0;
  position: relative;
  @media screen and (max-width: 768px) {
    padding: 100px 0;
  }
  &:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    z-index: -1;
    opacity: 0.1;
    background: linear-gradient(to bottom, rgba(99, 174, 225, 0) 0%, rgba(99, 174, 225, 1) 45%, rgba(117, 197, 181, 1) 100%);
  }
}

.p-top-feature__tools {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 50px;
  @media screen and (max-width: 768px) {
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.p-top-feature__pagenation {
  font-size: 40px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  @media screen and (max-width: 768px) {
    font-size: 30px;
  }
  * {
    color: rgba(var(--color-main));
    line-height: 1em;
  }
}

.p-top-feature__pagenation-sep {
  width: 20px;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-top: 6px;
}
.p-top-feature__pagenation-sepborder {
  width: 1px;
  height: 30px;
  background: rgba(var(--color-main));
  display: inline-block;
  transform: rotate(30deg);
}

.p-top-feature__arrows-next,
.p-top-feature__arrows-prev {
  display: flex;
  align-items: center;
  &::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.3s;
    background: url("../images/common/btn-arrow.svg") center/contain no-repeat;
  }
  &:hover {
    &::after {
      transform: translateX(-10px);
    }
  }
}

.p-top-feature__arrows-prev {
  transform: scaleX(-1);
}

.p-top-feature__head {
  margin-bottom: 50px;
}

.p-top-feature__left {
  padding: 100px 10%;
  @media screen and (max-width: 768px) {
    width: 90%;
    padding: 0 0 50px;
    margin: auto;
  }
}

.p-top-feature__item-num {
  color: rgb(var(--color-main));
  font-size: 30px;
  font-weight: 500;
  display: block;
}

.p-top-feature__title--num {
  font-size: 40px;
  @media screen and (max-width: 768px) {
    font-size: 30px;
  }
}

.p-top-feature__title--ja {
  font-size: 26px;
  @media screen and (max-width: 768px) {
    font-size: 20px;
  }
}

.p-top-feature__item-head {
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 500;
  @media screen and (max-width: 768px) {
    font-size: 30px;
  }
}

.p-top-feature__item-description {
  font-size: 17px;
  font-weight: 500;
  line-height: 2em;
  @media screen and (max-width: 768px) {
    font-size: 16px;
  }
}

.p-top-feature__item-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
  @media screen and (max-width: 768px) {
    border-radius: 20px;
  }
}
.p-top-feature__right {
  @media screen and (max-width: 768px) {
    width: 90%;
    margin: auto;
  }
}

.p-top-feature__inner {
  display: grid;
  grid-template-columns: 60% 1fr;
  @media screen and (max-width: 768px) {
    grid-template-columns: auto;
    justify-content: center;
  }
}

.p-top-event__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 100px;
  @media screen and (max-width: 768px) {
    margin-bottom: 50px;
  }
}
.p-top-event__carousel {
  margin-bottom: 100px;
  @media screen and (max-width: 768px) {
    margin-bottom: 50px;
  }
}
.p-top-feature__infinity {
  opacity: 0.2;
  * {
    font-weight: 600;
    font-size: 7vw;
    background: linear-gradient(90deg, #63aee1, #75c5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    @media screen and (max-width: 768px) {
      font-size: 15vw;
    }
  }
}

.p-top-feature__infinity {
  margin-bottom: 50px;
  .swiper-wrapper {
    transition-timing-function: linear;
  }
  .swiper-slide {
    word-break: keep-all;
    white-space: nowrap;
    width: fit-content;
  }
}
.p-top-mv {
  margin-bottom: 150px;
  @media screen and (max-width: 768px) {
    margin-bottom: 100px;
    background: linear-gradient(90deg, rgba(99, 175, 225, 0.15) 0%, rgba(117, 197, 181, 0.15) 100%);
  }
}
.c-pageheader_title:before {
  @media screen and (max-width: 768px) {
    display: none !important;
  }
}
