/* 投稿一覧リスト全体 */
section.category_posts {
    margin-top: 200px;
    margin-bottom: 200px;
}

.category_posts  .container {
    background-color: #fff;
}

.category_posts h1 {
    margin-bottom: 60px;
    margin-left: 150px;
}


.multi-posts-list {
    width: 65%;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    /* border: 1px solid #e1e1e1; */
    /* background: #fafbfc; */
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.03); */
}

.multi-post-cats a {
    color: #f2f2f2;
}

/* 各投稿行 */
.multi-post-item {
    /* display: flex; */
    margin-bottom: 50px;
    align-items: center;
    padding: 22px 16px 12px;
    border-bottom: 1px solid #4d4d4d;
    transition: background 0.2s;
}

.multi-post-item:last-child {
  border-bottom: none;
}

.multi-post-time {
    width: 12.5%;
}

/* 日付 */
.multi-post-date {
  min-width: 7em;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.multi-post-category {
    width: 14.5%;
    color: #efefef;
    background-color: #222;
    text-align: center;
}

/* タイトル */
.multi-post-title {
  margin-left: 20px;
  flex: 1;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 18px;
  color: var(--text-color);
}
.multi-post-title:hover {
  text-decoration: underline;
}

/* カテゴリー */
.multi-post-cats {
    min-width: 6em;
    font-size: 13px;
    text-align: right;
}


/* ページ送り */
.multi-posts-pagination .pager {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.multi-posts-pagination .pager a {
  text-decoration:none;
  color: var(--text-color);
}

/* ------------------------
   レスポンシブ対応 追加CSS
------------------------- */
/* 1. 画面幅 1024px以下（タブレット） */
@media (max-width: 1024px) {
  .multi-posts-list {
    width: 98%;
}

.multi-post-time {
    width: 21%;
}

.multi-post-date {
    min-width: 7em;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.multi-post-category {
    width: 27%;
}


li.prev li.next {
    text-align: center;
}
}

/* 2. 画面幅 767px以下（スマホ） */
@media (max-width: 767px) {
  .category_posts h1 {
    margin-left: 10px;
}

li.multi-post-item {
    display: block;
}

li.multi-post-item.pc-only {
    display: none;
}

.multi-post-time.mp-only {
    display: flex;
    width: 100%;
}

.multi-post-category {
    width: 110px;
}

.multi-post-text.mp-only {
    margin-bottom: 20px;
}
}


/* --------------------------------------------------------------------
  ブログ一覧用CSS https://npoink.sakura.ne.jp/takamitsu-test/blog/
----------------------------------------------------------------------- */
.blog-archive-main {
    margin-top: 150px;
    margin-bottom: 200px;
    padding: 0 50px;
}

h1.blog-archive-title {
    margin-bottom: 50px;
    margin-left: 10%;
}