.news-list {
  margin: 0 0 2.5rem;
}

.news-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid #e5e5e5;
  scroll-margin-top: 100px; /* 固定ヘッダー(.pagebodyのpadding-topと同値)ぶんアンカー着地位置をずらす */
}
.news-item:first-child {
  border-top: 1px solid #e5e5e5;
}

.news-item__date time {
  font-size: 0.875rem;
  font-weight: bold;
  color: #109ca4;
  letter-spacing: 0.03em;
}

.news-item__title {
  margin: 0.25rem 0 1rem;
  font-size: 1.125rem;
  font-weight: bold;
  color: #086788;
  font-family: "BIZ UDGothic", sans-serif;
}
.news-item__title--detail {
  font-size: 1.5rem;
  text-align: left;
}

.news-item--detail {
  border-top: none;
  padding-top: 0.5rem;
}

.news-item__row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.news-item__thumb {
  flex: 0 0 140px;
  width: 140px;
  margin: 0;
}
.news-item__thumb img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 4px;
}

.news-item__text {
  flex: 1 1 auto;
  min-width: 0;
}
.news-item__text p {
  margin: 0 0 0.5rem;
  line-height: 1.8;
  color: #333;
}
.news-item__text p:last-child {
  margin-bottom: 0;
}

/* 本文はMarkdownから変換されるため、見出し・リスト等の最低限のスタイルを用意 */
.news-item__text h1,
.news-item__text h2,
.news-item__text h3,
.news-item__text h4,
.news-item__text h5,
.news-item__text h6 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}
.news-item__text ul,
.news-item__text ol {
  margin: 0 0 0.5rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}
.news-item__text blockquote {
  margin: 0 0 0.5rem;
  padding: 0.5rem 1rem;
  border-left: 3px solid #ddd;
  color: #666;
}
.news-item__text code {
  padding: 0.1em 0.4em;
  background: #f2f2f2;
  border-radius: 3px;
  font-size: 0.9em;
}
.news-item__text pre {
  padding: 0.75rem 1rem;
  background: #f2f2f2;
  border-radius: 4px;
  overflow-x: auto;
}
.news-item__text pre code {
  padding: 0;
  background: none;
}
.news-item__text a {
  color: #109ca4;
}

.news-item__link {
  margin-top: 0.75rem !important;
}
.news-item__link a {
  color: #109ca4;
  font-weight: bold;
  text-decoration: none;
}
.news-item__link a:hover {
  color: #21adb5;
  text-decoration: underline;
}

@media screen and (max-width: 575.98px) {
  .news-item__row {
    flex-direction: column;
  }
  .news-item__thumb {
    width: 100%;
    max-width: 200px;
  }
}

.news-list-brief {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.news-list-brief__item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #e5e5e5;
}
.news-list-brief__item:first-child {
  border-top: 1px solid #e5e5e5;
}

.news-list-brief__date {
  flex: 0 0 auto;
  margin: 0;
}
.news-list-brief__date time {
  font-size: 0.875rem;
  font-weight: bold;
  color: #109ca4;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.news-list-brief__title {
  flex: 1 1 auto;
  margin: 0;
  min-width: 0;
}
.news-list-brief__title a {
  color: #333;
  text-decoration: none;
}
.news-list-brief__title a:hover {
  color: #109ca4;
  text-decoration: underline;
}

@media screen and (max-width: 575.98px) {
  .news-list-brief__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.news-list__more {
  margin: 0;
  text-align: center;
}
.news-list__more a {
  color: #109ca4;
  font-weight: bold;
  text-decoration: none;
}
.news-list__more a:hover {
  color: #21adb5;
  text-decoration: underline;
}

.news-pager {
  margin-top: 2rem;
}
.news-pager .page-link {
  color: #086788;
}
.news-pager .page-item.active .page-link {
  background-color: #109ca4;
  border-color: #109ca4;
}
.news-pager .page-link:hover {
  color: #fff;
  background-color: #21adb5;
  border-color: #21adb5;
}
