/* ===== 支援実績 一覧ページ 追加スタイル（既存トンマナに準拠） ===== */

.achievement-archive-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* 実績カード一覧 */
.achievement-list {
    max-width: 1000px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.achievement-card {
    border: 1px solid #e5e5e5;
    background: #fff;
    transition: box-shadow .3s ease, transform .3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.achievement-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transform: translateY(-3px);
}

.achievement-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.achievement-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-card-img .placeholder {
    color: #bbb;
    font-size: 14px;
    letter-spacing: .1em;
}

.achievement-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}

.achievement-card-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    color: #fff;
    background: #333;
    border-radius: 50px;
    padding: 4px 16px;
    font-weight: 500;
    letter-spacing: .05em;
}

.achievement-card-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
    color: #1E1E1E;
    margin: 0;
}

.achievement-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 14px;
    margin-top: auto;
}

.achievement-card-meta dt {
    font-weight: 600;
    color: #333;
    margin-right: 4px;
    display: inline;
}

.achievement-card-meta .meta-row {
    display: flex;
    gap: 4px;
}

.achievement-card-date {
    font-size: 12px;
    color: #999;
    font-weight: 300;
}

.no-posts {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    color: #777;
}

/* ===== ページネーション（円形ボタン・paginate_links type=plain 対応） ===== */
.achievement-archive-section .pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

/* 各リンク／番号を円形ボタンに（フラット構造の a.page-numbers / span.page-numbers を直接指定） */
.achievement-archive-section .pagination-wrapper .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.3s ease;
}

/* クリック可能なリンク（数字・前後矢印） */
.achievement-archive-section .pagination-wrapper a.page-numbers {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.achievement-archive-section .pagination-wrapper a.page-numbers:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #333;
}

/* 現在ページ */
.achievement-archive-section .pagination-wrapper span.current {
    background: #333;
    color: #fff;
    border: 1px solid #333;
}

/* 省略記号（…）は円にしない */
.achievement-archive-section .pagination-wrapper span.dots {
    width: auto;
    border: none;
    background: none;
    color: #999;
}

@media (max-width: 768px) {
    .achievement-list {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }
    .achievement-card-title {
        font-size: 17px;
    }
    .achievement-archive-section .pagination-wrapper {
        gap: 8px;
        margin-top: 50px;
    }
    .achievement-archive-section .pagination-wrapper .page-numbers {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
