.news {
  padding: 24px;
  background-color: #fcfaf7;
  color: #34413e;
  background-image: none;
}

.news__inner {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 34px 56px 42px;
  background-color: #fff;
}

.news__title {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
  color: #075f59;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.news__title-icon {
  display: inline-flex;
  margin-left: 8px;
  color: #3c7a74;
}

.news__title-icon svg {
  display: block;
  width: 25px;
  height: auto;
}

.news__list {
  width: min(100%, 720px);
  margin: 0 auto;
}

.news-item {
  display: grid;
  grid-template-columns: 78px 74px minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
}

.news-item + .news-item {
  margin-top: 10px;
}

.news-item__date {
  color: #48514f;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.news-item__category {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 8px;
  background-color: #f6dfa1;
  color: #43504d;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

.news-item__link {
  min-width: 0;
  overflow: hidden;
  color: #3d4946;
  font-size: 14px;
  line-height: 1.7;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.news-item__link:hover {
  opacity: 0.65;
}

/* ページネーション */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
}

.news-pagination a {
  text-decoration: none;
}

.news-pagination__number {
  position: relative;
  display: grid;
  place-items: center;
  color: #34413e;
  font-size: 16px;
  line-height: 1;
}

.news-pagination__number.is-current {
  color: #075f59;
  font-weight: 700;
}

.news-pagination__number.is-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background-color: #075f59;
}

.news-pagination__arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.news-pagination__arrow--prev {
  background-color: #edd3a8;
  color: #075f59;
}

.news-pagination__arrow--next {
  background-color: #075f59;
  color: #fff;
}

.news-pagination__arrow:hover {
  opacity: 0.75;
}

.news-pagination__arrow--prev:hover {
  transform: translateX(-2px);
}

.news-pagination__arrow--next:hover {
  transform: translateX(2px);
}

@media screen and (max-width: 939px) {
  .news {
    padding: 40px 20px;
  }

  .news__inner {
    padding: 30px 20px 36px;
  }

  .news__title {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .news__list {
    width: 100%;
  }

  .news-item {
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7e2db;
  }

  .news-item + .news-item {
    margin-top: 18px;
  }

  .news-item__date {
    font-size: 11px;
  }

  .news-item__category {
    justify-self: start;
    min-height: 26px;
    padding: 4px 12px;
    font-size: 11px;
  }

  .news-item__link {
    grid-column: 1 / -1;
    overflow: visible;
    font-size: 13px;
    line-height: 1.8;
    text-overflow: initial;
    white-space: normal;
  }

  .news-pagination {
    margin-top: 34px;
  }
}

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 28px;
}

.news-pagination .page-numbers {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 14px;
  color: #34413e;
  font-size: 12px;
  line-height: 1;
  text-decoration: none;
}

.news-pagination .page-numbers.current {
  color: #075f59;
  font-weight: 700;
}

.news-pagination .page-numbers.current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background-color: #075f59;
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.news-pagination .page-numbers.prev {
  margin-right: 2px;
  background-color: #edd3a8;
  color: #075f59;
}

.news-pagination .page-numbers.next {
  margin-left: 2px;
  background-color: #075f59;
  color: #fff;
}

.news-pagination .page-numbers.prev:hover,
.news-pagination .page-numbers.next:hover {
  opacity: 0.75;
}

.news-pagination .page-numbers.prev:hover {
  transform: translateX(-2px);
}

.news-pagination .page-numbers.next:hover {
  transform: translateX(2px);
}

.news-pagination .page-numbers.dots {
  pointer-events: none;
}

/*------------------------------------
見出し
------------------------------------*/

.news-detail__content h2 {
    margin: 50px 0 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0b635d;
    color: #0b635d;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
}

.news-detail__content h3 {
    position: relative;
    margin: 40px 0 18px;
    padding-left: 18px;
    color: #0b635d;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
}

.news-detail__content h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 5px;
    height: 1.4em;
    border-radius: 10px;
    background: #0b635d;
}

.news-detail__content h4 {
    margin: 35px 0 15px;
    color: #0b635d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

/*------------------------------------
本文
------------------------------------*/

.news-detail__content p {
    margin: 20px 0;
    color: #444;
    font-size: 16px;
    line-height: 2;
}

/*------------------------------------
リスト
------------------------------------*/

.news-detail__content ul,
.news-detail__content ol {
    margin: 20px 0;
    padding-left: 1.6em;
}

.news-detail__content ul li,
.news-detail__content ol li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-detail__content ul li:last-child,
.news-detail__content ol li:last-child {
    margin-bottom: 0;
}

/* ul */

.news-detail__content ul {
    list-style: none;
    padding-left: 0;
}

.news-detail__content ul li {
    position: relative;
    padding-left: 22px;
}

.news-detail__content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0b635d;
}

/* ol */

.news-detail__content ol {
    counter-reset: number;
    list-style: none;
    padding-left: 0;
}

.news-detail__content ol li {
    position: relative;
    padding-left: 38px;
    counter-increment: number;
}

.news-detail__content ol li::before {
    content: counter(number);
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0b635d;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
}

/*------------------------------------
引用
------------------------------------*/

.news-detail__content blockquote {
    margin: 35px 0;
    padding: 25px 30px;
    border-left: 5px solid #0b635d;
    background: #f7f9f8;
}

.news-detail__content blockquote p {
    margin: 0;
}

/*------------------------------------
リンク
------------------------------------*/

.news-detail__content a {
    color: #0b635d;
    text-decoration: underline;
    transition: .3s;
}

.news-detail__content a:hover {
    opacity: .7;
}

.news-detail__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.news-detail__date {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  letter-spacing: 0.05em;
}

.news-detail__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  padding: 5px 14px;
  border-radius: 50px;
  background: #dcebe8;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

@media screen and (max-width: 767px) {

  .news-detail__header {
    gap: 10px;
    margin-bottom: 18px;
  }

  .news-detail__date {
    font-size: 13px;
  }

  .news-detail__category {
    min-width: 80px;
    padding: 4px 12px;
    font-size: 12px;
  }

}