@charset "UTF-8";

/* ---------------------------- top --------------------------- */
#area_news {
  /* padding-block-start: 170px; */
  padding-block-start: clamp(5.313rem, 3.161rem + 10.76vw, 10.625rem);
  padding-block-end: 70px;
}
.c-news__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 56px;
  row-gap: 40px;
}
.c-news__item {
}
.c-news__link {
  text-decoration: none;
}
.c-news__thumbnail picture {
  display: block;
  aspect-ratio: 335/190;
  overflow: hidden;
}
.c-news__thumbnail picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-news__meta {
  margin-block-start: 24px;
}
.c-news__date {
  color: #b5b5b5;
  line-height: 1;
}
.c-news__title {
  font-weight: 600;
  color: #363636;
  margin-block-start: 16px;
}
.c-news__btn {
  margin-block-start: 32px;
  width: fit-content;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .c-news__list {
    grid-template-columns: 1fr;
  }
  .c-news__meta {
    margin-block-start: 16px;
  }
  .c-news__title {
    margin-block-start: 8px;
  }
  .c-news__btn {
    margin-block-start: 24px;
  }
}

/* ---------------------------- sub --------------------------- */
/* pager */
.pager-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.pager-list li {
  width: 42px;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pager-list li.current,
.pager-list li:hover {
}
.pager-list li a {
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  line-height: 1;
  text-decoration: none;
}
.pager-list li.current,
.pager-list li a:hover {
  color: #fff;
  background: #202020;
  border-radius: 50%;
}
.pager-list li a img {
  display: block;
}
.prev-more {
  transform: rotate(180deg);
}
.prev {
  transform: rotate(180deg);
}
.prev-more a:hover img,
.prev a:hover img,
.next a:hover img,
.next-more a:hover img {
  filter: brightness(0) invert(1);
}

/* ---------------------------- news-archive ---------------------------- */
.news-page {
  padding-block: 80px 100px;
}
.news-page .c-news__list {
  display: block;
  margin-block-start: 20px;
  margin-block-end: 60px;
}
.news-page .c-news__item {
}
.news-page .c-news__link {
  display: grid;
  grid-template-columns: 195px 1fr;
  gap: 30px;
  padding-block: 30px;
  border-bottom: 1px solid #5c5b5b;
}
.news-page .c-news__thumbnail picture {
  width: 100%;
}
.news-page .c-news__meta {
  margin-block-start: 0;
}
@media screen and (max-width: 767px) {
  .pager-list li {
    width: 28px;
  }
  .news-page .c-news__link {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 30px;
  }
}

/* --------------------------- news-detail --------------------------- */

.news-detail {
}
.news-detail__header {
}
.news-detail__date {
}
.news-detail__title {
  margin-block: 0.5em 1em;
  font-size: 30px;
  font-size: clamp(1rem, 0.646rem + 1.77vw, 1.875rem);
  line-height: 1.6;
  font-weight: bold;
}
.news-detail__thumbnail {
  margin-block-end: clamp(1.5rem, 0.892rem + 3.04vw, 3rem);
}
.news-detail__content {
  line-height: 1.75;
}

.news-detail__btns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-block-start: 40px;
}
.news-detail__btn:not(.news-detail__btn--archive) {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  background: #333333;
  color: #fff;
  text-decoration: none;
  padding-block: 11px;
  padding-inline: 19px;
  width: fit-content;
}
.news-detail__btn:not(.news-detail__btn--archive)::before {
  content: "";
}
.news-detail__btn:not(.news-detail__btn--archive) > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  aspect-ratio: 1/1;
  position: relative;
  border: solid 1px #fff;
  border-radius: 50%;
}
.news-detail__btn.news-detail__btn--prev {
  direction: rtl;
}
.news-detail__btn.news-detail__btn--prev > i {
  rotate: 180deg;
}
.news-detail__btn.news-detail__btn--next {
  justify-self: end;
}
.news-detail__btn--archive {
  text-decoration: none;
}
.news-detail__btn--archive::after {
  content: "";
  display: block;
  background: #333333;
  width: 100%;
  height: 1px;
}

@media screen and (max-width: 767px) {
  .news-detail__btn:not(.news-detail__btn--archive) {
    background: none;
    padding-inline: 0;
    padding-block: 0;
  }
  .news-detail__btn:not(.news-detail__btn--archive) span {
    display: none;
  }
  .news-detail__btn:not(.news-detail__btn--archive) > i {
    border: solid 1px #333333;
    filter: brightness(0);
  }
}
