@charset "UTF-8";
/* =========================================================
   えひめスクラムプロジェクト  下層一覧ページ共通
   （event_list / column_list などの一覧ページで共有）
   - ページヘッダー: common.css
   - カード: common.css（cg--event / cg--column）
   ========================================================= */

/* 一覧セクションラッパー */
.list-section {
    padding: 65px 0 80px;
    background-color: #fff;
}

/* フィルター行 */
.filter-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 0 auto 50px;
}
.list-filter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    max-width: 468px;
    width: 100%;
    padding: 24px 15px;
    background-color: #ffba3f;
    border-radius: 16px;
}
.list-filter .cat-filter {
    margin: 0;
}

/* 並び順セレクト */
.sort-select {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.sort-select label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-indent: 1px;
}
.sort-select__field {
    position: relative;
}
.sort-select__field::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 7px;
    background-image: url(../img/polygon02.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%) rotate(90deg);
    pointer-events: none;
}
.sort-select select {
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #d9d9d9;
    border-radius: 4px;
    background-color: #ffffff;
    padding: 6px 32px 6px 14px;
    height: 32px;
    min-width: 124px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    color: #333333;
}
.sort-select select:focus {
    outline: 1.5px solid #ffba3f;
    outline-offset: -1.5px;
}

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination {
    margin-top: 50px;
}
.pagination__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.pagination__link,
.pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #575757;
}
.pagination__link {
    border-radius: 50%;
    transition:
        background-color 0.2s,
        color 0.2s;
}
.pagination__link:hover {
    background-color: #fff4dd;
}
.pagination__link.is-current {
    background-color: #ffba3f;
    color: #ffffff;
}
.pagination__link--next,
.pagination__link--prev {
    height: 32px;
    gap: 3.5px;
}
.pagination__ellipsis {
    color: #999999;
    letter-spacing: 2px;
}

/* CTA button */
.list-section .btn-all {
    margin-top: 65px;
}

/* =========================================================
   RESPONSIVE  -- Mobile
   ========================================================= */
@media screen and (max-width: 680px) {
    .list-section {
        padding: 40px 0 50px;
    }

    .filter-row {
        gap: 20px;
        margin-bottom: 22px;
    }

    .list-filter {
        gap: 14px;
        padding: 15px;
    }

    .sort-select label {
        font-size: 13px;
    }
    .sort-select select {
        font-size: 13px;
        min-width: 110px;
        height: 30px;
    }

    .pagination {
        margin-top: 36px;
    }
    .pagination__list {
        gap: 8px;
    }
    .pagination__link,
    .pagination__ellipsis {
        min-width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .list-section .btn-all {
        margin-top: 30px;
    }
}
