/* 店舗一覧のページ送り（前・ページ番号・次） */
.shop-list-pager {
    margin: 24px auto 0;
    padding: 0 8px;
}

.shop-list-pager__list {
    display: flex;
    /* 狭い画面で収まらない場合は横スクロールさせず折り返す */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-list-pager__item {
    margin: 0;
    padding: 0;
}

.shop-list-pager__link {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid #666666;
    border-radius: 5px;
    background-color: #fff;
    color: #666666;
    fill: #666666;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.shop-list-pager__link svg {
    width: 12px;
    height: 16px;
}

/* 現在のページ */
.shop-list-pager__item.is-current .shop-list-pager__link {
    border-color: #a01b1f;
    background-color: #a01b1f;
    color: #fff;
}

/* 無効の前・次 */
.shop-list-pager__item.is-disabled .shop-list-pager__link {
    border-color: #cbcbcb;
    fill: #cbcbcb;
}

/* 省略 */
.shop-list-pager__ellipsis {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-width: 20px;
    height: 40px;
    padding-bottom: 8px;
    box-sizing: border-box;
    color: #666666;
}

/* SP は前・次を含む最大9個を 375px 幅に収めるため縮める */
@media not all and (min-width: 768px) {
    .shop-list-pager__list {
        gap: 4px;
    }

    .shop-list-pager__link {
        min-width: 32px;
        height: 32px;
        padding: 0 6px;
        font-size: 14px;
    }

    .shop-list-pager__link svg {
        width: 10px;
        height: 13px;
    }

    .shop-list-pager__ellipsis {
        min-width: 14px;
        height: 32px;
        padding-bottom: 6px;
    }
}

@media (hover: hover) {
    a.shop-list-pager__link:hover {
        opacity: 0.7;
    }
}
