@font-face {
  font-family: "Noto Sans JP";
  font-weight: 400;
  font-display: swap;
  src: url(../media/files/fonts/NotoSansJP-Regular.woff);
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 500;
  font-display: swap;
  src: url(../media/files/fonts/NotoSansJP-Medium.woff);
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-display: swap;
  src: url(../media/files/fonts/NotoSansJP-Bold.woff);
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 900;
  font-display: swap;
  src: url(../media/files/fonts/NotoSansJP-Black.woff);
}
@font-face {
  font-family: "M PLUS Rounded 1c";
  font-weight: 900;
  font-display: swap;
  src: url(../media/files/fonts/NotoSansJP-Black.woff);
}
.c-category {
  padding-bottom: 0;
}

.c-category__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  background: #F2F2F2;
  border-radius: 24px;
  width: 100%;
  max-width: 960px;
  padding: 40px;
  margin: 0 auto;
}
@media only screen and (max-width: 767px) {
  .c-category__list {
    padding: 20px;
  }
}
@media only screen and (max-width: 480px) {
  .c-category__list {
    flex-direction: column;
  }
}

.c-category__link {
  padding: 6px 24px;
  display: block;
}

.c-category__link-deco {
  position: relative;
  transition: all 0.3s;
  border-radius: 30px;
}
.c-category__link-deco::before {
  position: absolute;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #A9CE52;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
}
.c-category__link-deco.current {
  background: #A9CE52;
  border-radius: 30px;
}
@media only screen and (min-width: 768px) {
  .c-category__link-deco:hover {
    background: #A9CE52;
  }
}

.c-category__link-deco--purple::before {
  background: #B295F9;
}
.c-category__link-deco--purple.current {
  background: #B295F9;
}
@media only screen and (min-width: 768px) {
  .c-category__link-deco--purple:hover {
    background: #B295F9;
  }
}

.c-category__link-deco--blue::before {
  background: #00B8FF;
}
.c-category__link-deco--blue.current {
  background: #00B8FF;
}
@media only screen and (min-width: 768px) {
  .c-category__link-deco--blue:hover {
    background: #00B8FF;
  }
}

.c-category__link-deco--yellow::before {
  background: #FFC72D;
}
.c-category__link-deco--yellow.current {
  background: #FFC72D;
}
@media only screen and (min-width: 768px) {
  .c-category__link-deco--yellow:hover {
    background: #FFC72D;
  }
}

.c-category__link-deco--red::before {
  background: #FF695B;
}
.c-category__link-deco--red.current {
  background: #FF695B;
}
@media only screen and (min-width: 768px) {
  .c-category__link-deco--red:hover {
    background: #FF695B;
  }
}

.c-category__text {
  font-weight: bold;
}

.p-news-category {
  padding-bottom: 0;
}

.p-news {
  padding-top: 0;
}

.p-news__text {
  margin-top: 80px;
}
@media only screen and (max-width: 767px) {
  .p-news__text {
    margin-top: 48px;
  }
}

.p-news__text--large {
  font-size: 20px;
  font-weight: bold;
}

.p-news__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 34px;
  margin-top: 24px;
}
@media only screen and (max-width: 1023px) {
  .p-news__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  .p-news__list {
    grid-template-columns: auto;
    gap: 32px;
  }
}

.p-news__image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 405 / 253
}

.p-news__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s;
}

.p-news__category {
  position: absolute;
  padding: 6px 46px;
  border-radius: 30px;
  bottom: 16px;
  left: 16px;
  background: #A9CE52;
  font-size: 14px;
  font-weight: bold;
}
@media only screen and (max-width: 767px) {
  .p-news__category {
    padding: 6px 32px;
  }
}
.p-news__category.--topics {
  background: #00B8FF;
}
.p-news__category.--notice {
  background: #FF695B;
}
.p-news__category.--exercise {
  background: #FFC72D;
}

@media only screen and (min-width: 768px) {
  .p-news__link:hover .p-news__image {
    transform: scale(1.2);
  }
}

.p-news__title {
  margin-top: 24px;
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 14px;
  border-bottom: 2px solid #cccccc;
}

.p-news__info {
  color: #707070;
}

.p-news__pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 120px;
}
@media only screen and (max-width: 767px) {
  .p-news__pagination ul {
    gap: 12px;
    margin-top: 64px;
  }
}
.p-news__pagination a, .p-news__pagination span {
  font-size: 18px;
  font-weight: 500;
  background: #F2F2F2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
}
@media only screen and (max-width: 767px) {
  .p-news__pagination a, .p-news__pagination span {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
.p-news__pagination li.active span {
  background: #A9CE52;
}
@media only screen and (min-width: 768px) {
  .p-news__pagination a:hover {
    background: #A9CE52;
    cursor: pointer;
  }
}
.p-news__pagination .prev, .p-news__pagination .next {
  position: relative;
}
.p-news__pagination .prev::before, .p-news__pagination .next::before {
  position: absolute;
  content: "";
  width: 18px;
  height: 12px;
  background-image: url("../media/images/common/arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  left: 50%;
  top: 50%;
}
.p-news__pagination .prev::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
.p-news__pagination .next::before {
  transform: translate(-50%, -50%);
}/*# sourceMappingURL=news.css.map */