@charset "utf-8";

.webgene-pagination {
    width: 100%;
    margin: 50px 0 0;
}

.webgene-pagination > ul{
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
}

.webgene-pagination > ul > li{
    display: flex;
}

.webgene-pagination > ul > li {
    height: 35px;
    width: 100%;
    max-width: 35px;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border: solid 1px rgba(129,124,117,.4);
    font-size: 16px;
    font-weight: 400;
}

.webgene-pagination > ul > li.selected > a{
    color: #fff;
    background: #181716;
    cursor: inherit;
}

.webgene-pagination > ul > li.selected > a:hover {
    color: #fff;
    background-color: #181716;
}

.webgene-pagination > ul > li > a{
    width: 100%;
    height: 100%;
    width: 100%;
    color: var(--base-body-color);
    display: flex;
    justify-content: center;
    align-items: center;
}
.webgene-pagination > ul > li > a:hover{
    color:#fff;
    background-color: #181716;
    text-decoration: none;
}

/* 次へ・前へボタン */
.webgene-pagination > ul > li.next,
.webgene-pagination > ul > li.prev {
    border: none;
}

.next > a,
.prev > a {
    font-size: 0;
    padding: 0 !important;
  	transition: all .3s;
}

/* 矢印 */
.next > a::before,
.prev > a::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-top: 1px solid #181716;
    border-right: 1px solid #181716;
    transform: rotate(45deg);
  	transition: all .3s;
}

/* 前へ */
.prev > a::before {
    transform: rotate(-135deg);
}

/* ホバー */
.webgene-pagination > ul > li.next > a:hover,
.webgene-pagination > ul > li.prev > a:hover {
    background-color: transparent;
}

.webgene-pagination > ul > li.next > a:hover::before,
.webgene-pagination > ul > li.prev > a:hover::before {
    border-color: rgba(129,124,117,.4);
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:768px) {

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.webgene-pagination > ul > li{
    height: 45px;
    max-width: 45px;
    font-size: 18px;
}
	
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

}

/* min-width: 768px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
