/* ブログ一覧ページ：フッター手前のブログパーツ（親テーマの余白を打ち消す） */
.post-type-archive-blog #before_footer_widget.w-beforeFooter {
  margin: 0;
}

/* ブログ一覧ページ：カテゴリーフィルター */
.post-type-archive-blog .p-archiveCats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.post-type-archive-blog .p-archiveCats__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1px solid #0e254d;
  border-radius: 999px;
  color: #0e254d;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.post-type-archive-blog .p-archiveCats__link:hover,
.post-type-archive-blog .p-archiveCats__link.is-active {
  background: #0e254d;
  color: #fff;
}

@media (max-width: 767px) {
  .post-type-archive-blog .p-archiveCats {
    gap: 8px;
    margin-bottom: 24px;
  }

  .post-type-archive-blog .p-archiveCats__link {
    padding: 6px 16px;
    font-size: 13px;
  }
}

/* ブログ一覧ページ：サムネイル上のカテゴリーバッジ（p-postCats__itemと同意匠） */
.post-type-archive-blog .p-archiveContent .c-postThumb__cat {
  border-radius: 2px;
  background: #0e254d;
  padding: 5px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

/* ブログ一覧ページ：投稿日にアイコンを付与 */
.post-type-archive-blog .p-archiveContent .p-postList__times {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-type-archive-blog .p-archiveContent .p-postList__times::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 15px;
  background: url(../img/icon-post-date.svg) no-repeat center / contain;
}
