html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 70px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  padding: 10px 16px;
  background: #fff;
  color: #016e32;
  transform: translateY(-120%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
label:focus-visible {
  outline: 3px solid #ffb917;
  outline-offset: 3px;
}

.news_detail .detail {
  overflow-wrap: anywhere;
}

.news_detail .detail img,
.news_detail .detail iframe,
.news_detail .detail table {
  max-width: 100%;
}

.news-pagination {
  margin: 32px 0 8px;
}

.news-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  list-style: none;
}

.news-pagination a,
.news-pagination span {
  display: block;
  min-width: 40px;
  padding: 9px 11px;
  border-radius: 4px;
  background: #2e2000;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.news-pagination a:hover,
.news-pagination span[aria-current="page"] {
  background: #016e32;
}

.not-found {
  min-height: 55vh;
  padding-top: 130px;
  padding-bottom: 80px;
  text-align: center;
}

@media (max-width: 767px) {
  .news_list li a .date {
    display: block;
    width: auto;
    margin-bottom: 4px;
  }

  #single_navi .post a {
    padding: 11px 13px;
  }
}
