/* -------------------------------------------
   Archive & News List Styles
   (archive.php, page-news.php 共通)
------------------------------------------- */

/* リスト全体の枠組み */
.news-archive-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #eaddd3; /* リストの一番上の線 */
}

/* 各記事のアイテム */
.news-list-item {
    border-bottom: 1px solid #eaddd3;
    transition: background-color 0.3s;
    background-color: #fff;
}
.news-list-item:hover {
    background-color: #fffbf9; /* ホバー時にほんのりピンク色 */
}

/* リンク全体のレイアウト */
.news-list-link {
    display: flex;
    flex-direction: column;
    padding: 25px 20px;
    color: #5a4a42;
    text-decoration: none;
}
@media (min-width: 768px) {
    .news-list-link {
        flex-direction: row;
        align-items: center;
        padding: 20px 15px;
    }
}

/* 日付とカテゴリーのエリア */
.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
@media (min-width: 768px) {
    .news-meta {
        margin-bottom: 0;
        margin-right: 30px;
        min-width: 160px; /* 幅を固定してタイトルを揃える */
        flex-shrink: 0;
    }
}

/* 日付 */
.news-date {
    color: #999;
    font-size: 0.9rem;
    margin-right: 15px;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.05em;
}

/* カテゴリーラベル */
.news-cat {
    background-color: #fdf2f0;
    color: #e8a798;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    white-space: nowrap;
    font-weight: 500;
}

/* 記事タイトル */
.news-list-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    flex: 1;
    line-height: 1.6;
    color: #5a4a42;
}

/* ページネーション（ページ送り） */
.pagination {
    margin-top: 60px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #fff;
    border: 1px solid #eaddd3;
    border-radius: 50%; /* 正円にする */
    color: #5a4a42;
    font-size: 1rem;
    transition: 0.3s;
    text-decoration: none;
}
.pagination .page-numbers.current {
    background-color: #e8a798;
    color: #fff;
    border-color: #e8a798;
    font-weight: bold;
}
.pagination .page-numbers:hover:not(.current) {
    background-color: #5a4a42;
    color: #fff;
    border-color: #5a4a42;
}