/* ↓投稿一覧 */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.post-item-outer {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2,1fr);
}

.post-list article.post {
  border-radius: 6px;
  box-shadow: 0 1px 10px #00000021;
  max-width: 100%;
  overflow: hidden;
}

.post-list article.post a {
  color: #333;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
}

.post-list article.post a:hover {
  opacity: 0.5;
}

.post-list .post-image {
  position: relative;
}

.post-list .post-image img {
  aspect-ratio: 16 / 9;
  border-radius: 6px 6px 0 0;
  display: block;
  object-fit: cover;
  width: 100%;
}

.post-list .post-info {
  display: flex;
  flex-direction: column;
  padding: 13px 20px;
}

.post-list .p-title {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  font-size: 1.05rem;
  font-weight: 700;
  -webkit-line-clamp: 2;
  line-height: 1.5;
  margin-bottom: 5px;
  overflow: hidden;
}

.post-list .p-date {
  color: #989898;
  font-size: 0.9rem;
  text-align: right;
}

.post-list .p-term {
  border-radius: 50px;
  color: #fff;
  font-size: 0.93rem;
  font-weight: 600;
  left: 10px;
  line-height: 1;
  padding: 6px 8px;
  position: absolute;
  top: 10px;
}

.post-list .p-term.news {
  background-color: #81d742;
}

.post-list .p-term.maintenance {
  background-color: #dd3333;
}

@media(max-width: 575px) {
  .post-item-outer {
    grid-template-columns: 1fr;
  }
}
/* ↑投稿一覧 */

/* ↓ページネーション */
div#pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-top: 40px;
  text-align: center;
}

div#pagination .page-numbers {
  border: 1px solid #333;
  border-radius: 50px;
  color: #333;
  font-weight: 600;
  padding: 7px 14px;
  transition: 0.2s;
}

div#pagination .page-numbers.current {
  background-color: #0042d3;
  border: 1px solid #fff;
  color: #fff;
}

div#pagination .page-numbers:hover {
  background-color: #0042d3;
  border: 1px solid #fff;
  color: #fff;
  opacity: 0.5;
}

div#pagination .page-numbers.dots {
  background: none;
  border: 1px solid #fff;
  padding: 7px;
  pointer-events: none;
}
/* ↑ページネーション */

/* ↓投稿カウンター */
.entry-body h2.wp-block-heading {
  margin-bottom: 10px;
}

.post-count {
  align-items: flex-end;
  display: flex;
  font-size: 0.91rem;
  margin-bottom: 20px;
}

.now-count {
  margin-left: 15px;
}

.post-count span {
  color: #0088c3;
  font-size: 1.2rem;
  font-weight: 700;
  padding-right: 2px;
}
/* ↑投稿カウンター */