.news-list-contents {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 15rem;
}
@media (max-width: 767px) {
  .news-list-contents {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.news-list .c-topic {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
}
@media print, screen and (min-width: 768px) {
  .news-list .c-topic {
    border-bottom: 0;
  }
}
.news-list .c-topic:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .news-tag-box {
    margin-top: 5rem;
  }
}
.news-tag-box__title {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.news-tag-box__title::before {
  content: "";
  width: 0.4rem;
  height: 2.5rem;
  background-color: var(--accent1);
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.news-tag {
  background-color: var(--accent1);
  border-radius: 1rem;
  color: #fff;
  padding: 0 0.5rem;
  font-size: 1.6rem;
  transition: 0.4s;
}
@media (max-width: 767px) {
  .news-tag {
    border-radius: 1.5rem;
  }
}
.news-tag:hover {
  opacity: 0.6;
}

.news-detail-contents {
  position: relative;
  z-index: 2;
}

.news-list-category {
  border-bottom: 1px solid #707070;
}
.news-list-category__items {
  display: flex;
  gap: 10rem;
  padding: 0 6.3rem 1.6rem;
}
@media (max-width: 767px) {
  .news-list-category__items {
    padding: 0 1.5rem 1.5rem;
    gap: 2.5rem;
    overflow: auto;
  }
}
.news-list-category__item {
  font-weight: bold;
  font-size: 3.2rem;
  position: relative;
  transition: 0.4s;
}
@media (max-width: 767px) {
  .news-list-category__item {
    font-size: 1.6rem;
    white-space: nowrap;
  }
}
.news-list-category__item.is-active {
  color: var(--accent1);
}
.news-list-category__item.is-active::after {
  scale: 1;
}
.news-list-category__item:hover {
  color: var(--accent1);
}
.news-list-category__item:hover::after {
  scale: 1;
}
.news-list-category__item::after {
  content: "";
  scale: 0;
  transition: 0.4s;
  background-color: currentColor;
  position: absolute;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  inset: auto 0 -1.6rem;
}
