/* 背景 */
.category-archive {
  padding: 64px 0;
}

/* 一覧幅 */
.category-list {
  max-width: 960px;
  margin: 0 auto;
	  background-color: #FFF;
}

/* 1記事 */
.category-item {
background-color:#FFFDEB;
  padding: 24px;
  margin-bottom: 32px;
}

/* 横並びの本体 */
.category-inner {
  display: flex;
  gap: 24px;
}

/* リンク共通 */
.category-item a {
  text-decoration: none;
  color: inherit;
}

/* 画像 */
.category-thumb {
  flex-shrink: 0;
}

.category-thumb img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* テキスト */
.category-body h2 {
  font-size: 18px;
  margin-bottom: 8px;
}

.category-body p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.category-more {
  display: inline-block;
  margin-top: 8px;
  margin-left: auto;   /* ← これを追加 */
  font-size: 13px;
  color: #888;
}

/* ホバー */
.category-item:hover {
  outline: 2px solid #1e88e5;
  outline-offset: -2px;
}

.category-title a:hover {
  text-decoration: underline;
}

/* テキストブロックを縦並びに */
.category-body {
  display: flex;
  flex-direction: column;
  flex: 1;

}
/*ページネーション*/
.staffblog-pagination{
  margin-top: 40px;
  text-align: center;
}

.staffblog-pagination .page-numbers{
  display: inline-block;
  margin: 0 6px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
}

.staffblog-pagination .current{
  background: #1e88e5;
  color: #fff;
  border-color: #1e88e5;
}


/* スマホ */
@media (max-width: 768px) {
  .category-inner {
    flex-direction: column;
  }

  .category-thumb img {
    width: 100%;
    height: auto;
  }
}
