body:has(.post-content-section) {
  .kirikabu {
    z-index: -1;
  }
}
.post-content-section {
  padding-bottom: clamp(32px, 10vw, 150px);
}

/* 新着情報詳細 */
.news-detail {
  color: var(--black, #333);
  padding-block: clamp(32px, 10vw, 150px);
}

.news-date {
  font-family: Montserrat;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.75px;
}

.news-category {
  padding-inline: 20px;
  border-radius: 5px;
  border: 1px solid #2e6c4a;
  color: #2e6c4a;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: 0.75px;
  width: fit-content;
}

.news-title {
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 170%;
  letter-spacing: 0.72px;
}

.news-thumbnail {
  margin-top: 32px;
  img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }
}

/* 新着情報一覧 */
.news-archives-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-size: 15px;
  gap: 16px;
  padding: 25px 0;
  border-bottom: 1px solid #ddd;
  p {
    margin: 0;
  }
}

.news-archives-item__category {
  padding-inline: 20px;
  border-radius: 5px;
  border: 1px solid #2e6c4a;
  color: #2e6c4a;
  text-align: center;
  font-style: normal;
  font-weight: 500;
  line-height: 170%;
  letter-spacing: 0.75px;
  width: fit-content;
}
.news-archives-item__link {
  color: inherit;
  flex: 0 0 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.news-archives-item__title {
  font-size: 1rem;
}

@media (min-width: 992px) {
  .news-archives-item {
    flex-wrap: nowrap;
    padding: 25px 32px;
  }

  .news-archives-item__link {
    flex: 1;
  }
}

.webgene-pagination {
  margin-top: 32px;
  ul {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 16px;
    a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border: 1px solid #2e6c4a;
      border-radius: 50%;
      color: #2e6c4a;
      transition: 0.3s;
    }
    a:hover {
      background: #2e6c4a;
      color: #fff;
      border: 8px solid #fff;
      box-shadow:
        1px 1px 0 #2e6c4a,
        1px -1px 0 #2e6c4a,
        -1px 1px 0 #2e6c4a,
        -1px -1px 0 #2e6c4a;
    }
    .selected a {
      background: #2e6c4a;
      color: #fff;
      pointer-events: none;
    }
    .next,
    .prev {
      position: relative;
    }
    .next a,
    .prev a {
      text-indent: -9999vw;
    }
    .next::after {
      content: "→";
    }
    .prev::after {
      content: "←";
    }
    .next::after,
    .prev::after {
      font-size: 12px;
      position: absolute;
      inset: 0;
      margin: auto;
      color: #2e6c4a;
      width: fit-content;
      height: fit-content;
      pointer-events: none;
    }
  }
  .next:has(a:hover)::after,
  .prev:has(a:hover)::after {
    color: #fff;
  }
}
