/* 活動ニュース：一覧・記事 */
.news-page {
  max-width: 960px;
  padding-top: 38px;
  padding-bottom: 90px;
}

.news-page__status {
  text-align: center;
  color: #666;
}

.news-page__status:empty {
  display: none;
}

.news-page__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.news-page__filters[hidden],
.news-article[hidden] {
  display: none;
}

.news-page__filter {
  padding: 9px 22px;
  border: 1px solid #dce7d8;
  border-radius: 999px;
  background: #fff;
  color: #638b42;
  font: inherit;
  cursor: pointer;
}

.news-page__filter[aria-pressed="true"] {
  color: #fff;
  background: #638b42;
  border-color: #638b42;
}

.news-page__filter:hover {
  border-color: #638b42;
}

.news-page__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-page__item {
  border-bottom: 1px solid #e2e9df;
}

.news-page__item:first-child {
  border-top: 1px solid #e2e9df;
}

.news-page__link {
  display: grid;
  grid-template-columns: 105px 105px 1fr 18px;
  align-items: center;
  gap: 20px;
  padding: 26px 12px;
  color: #333;
  text-decoration: none;
  transition: background .2s;
}

.news-page__link:hover {
  background: #f5f9f3;
}

.news-page__date,
.news-article__date {
  color: #666;
  font-size: 14px;
}

.news-page__category,
.news-article__category {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #edf5e8;
  color: #638b42;
  text-align: center;
  font-size: 12px;
}

.news-page__title {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.news-page__arrow {
  color: #638b42;
  font-size: 24px;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.news-article__title {
  margin: 0 0 32px;
  font-family: var(--font-heading, serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.news-article__body {
  line-height: 2.1;
  overflow-wrap: anywhere;
}

.news-article__body p {
  margin: 0 0 24px;
  white-space: pre-line;
}

.news-article__back {
  display: block;
  width: fit-content;
  margin: 48px auto 0;
  padding: 14px 32px;
  border: 1px solid #638b42;
  border-radius: 999px;
  color: #638b42;
  text-decoration: none;
}

.news-page a:focus-visible,
.news-page button:focus-visible {
  outline: 3px solid #1689db;
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .news-page {
    padding-top: 24px;
    padding-bottom: 60px;
  }

  .news-page__filters {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }

  .news-page__filter {
    padding: 8px 16px;
    font-size: 14px;
  }

  .news-page__link {
    grid-template-columns: 100px 1fr 18px;
    gap: 12px;
    padding: 22px 0;
  }

  .news-page__category {
    justify-self: start;
  }

  .news-page__title {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .news-page__arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

.news-article__image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 32px;
}


.news-article__body .news-article__back {
  border-color: var(--color-blue);
  background: var(--color-blue);
  color: #fff;
  font-weight: 700;
  transition: opacity .2s;
}

.news-article__body .news-article__back:hover {
  opacity: .8;
}

.news-article__body .news-article__back:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 4px;
}