/* ================================================================
   インタビュー一覧ページ (interview_list_page)
================================================================ */


/* ---- ページ全体 ---- */

.iv-list-page {
    padding: 40px 0 160px;
}


/* ---- カードグリッド ---- */

.iv-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    row-gap: 40px;
    column-gap: 0;
    justify-content: space-between;
    max-width: 980px;
    margin: 0 auto;
}


/* ---- ページネーション ---- */

.iv-list-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 80px;
}

.iv-list-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #191919;
    text-decoration: none;
    background: #f4f4f4;
    line-height: 20px;
    transition: background 0.2s, color 0.2s;
    opacity: 1;
}

.iv-list-page-btn:hover {
    background: #e8e8e8;
    opacity: 1;
}

.iv-list-page-btn.is-current {
    background: transparent;
    color: #ff0024;
    font-weight: 500;
}

.iv-list-page-arrow {
    background: #f4f4f4;
}

.iv-list-page-arrow:hover {
    background: #e8e8e8;
}


/* ================================================================
   レスポンシブ
================================================================ */

@media screen and (max-width: 1100px) {
    .iv-list-grid {
        grid-template-columns: repeat(2, 300px);
        justify-content: center;
        column-gap: 40px;
        max-width: none;
    }
}

@media screen and (max-width: 760px) {
    .iv-list-page {
        padding: 40px 0 80px;
    }
    .iv-list-grid {
        grid-template-columns: repeat(2, auto);
        justify-content: center;
        row-gap: 40px;
        column-gap: 20px;
        max-width: none;
    }
    .iv-list-pagination {
        margin-top: 40px;
    }
}

@media screen and (max-width: 600px) {
    .iv-list-grid {
        grid-template-columns: auto;
    }
}
