.news {
  background: var(--primary-lightest-color);
  padding: 5.375rem 0;
  h2 {
    color: var(--primary-dark-color);
    margin-bottom: 2.5rem;
  }
}

/* お知らせ一覧 */
.news-list {
  width: 80%;
  margin: auto;
  margin-bottom: 2.5rem;
  li {
    border-bottom: 1px solid var(--primary-dark-color);
    a {
      display: block;
      padding: 1.25rem;
      transition: all 200ms 0s ease;
      &:hover {
        background: var(--light-blue);
      }
    }
  }
}
.news-list li:nth-child(n + 4) {
  display: none;
}
.show-all-news li:nth-child(n + 4) {
  display: list-item !important;
}

/* 各お知らせ */
.news-date {
  color: var(--gray);
  display: inline-block;
  margin-right: 1rem;
}
.news-category {
  padding: 0.4375rem 1.25rem;
  border-radius: 0.25rem;
  background: var(--primary-light-color);
  color: var(--white);
  display: inline-block;
  margin-right: 2.5rem;
}
.news-title-head {
  color: var(--primary-dark-color);
  display: inline-block;
  margin-right: 1.25rem;
}
.news-title {
  color: var(--primary-dark-color);
}

/* もっと見る */
.see-more {
  font-size: 1.125rem;
  text-decoration-line: underline;
  color: var(--gray);
  cursor: pointer;
  max-width: 6rem;
  margin: auto;
  text-align: center;
  transition: all 200ms 0s ease;
  &:hover {
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .news-category {
    padding: 0.25rem 1rem;
  }
  .news-title-head {
    display: inline-block;
    margin-top: 0.75rem;
  }
}
