/* PC・タブレットでは既存の全ページ表示とレイアウトを使う。 */
.posts-pagination .posts-pagination-progress,.posts-pagination .posts-page-ellipsis{display:none}
.posts-pagination .posts-pagination-buttons{display:contents}
@media(max-width:599px){
 .posts-page .posts-pagination{flex-direction:column;flex-wrap:nowrap;gap:8px}
 .posts-page .posts-pagination-progress{display:block;font-size:12px;line-height:1.5;color:#536071;text-align:center}
 .posts-page .posts-pagination-buttons{--posts-page-button-size:40px;display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:4px;width:100%;max-width:100%}
 .posts-page .posts-pagination :is(.posts-page-number,.posts-page-arrow){box-sizing:border-box;flex:0 0 var(--posts-page-button-size);width:var(--posts-page-button-size);min-width:26px;max-width:40px;height:auto;min-height:0;aspect-ratio:1;font-size:13px;padding:0;margin:0;order:0}
}
@media(min-width:300px) and (max-width:599px){
 .posts-page .posts-pagination-buttons{--posts-page-button-size:clamp(26px,calc((100% - var(--posts-pagination-wide-space)) / var(--posts-pagination-wide-count)),40px)}
 .posts-page .posts-pagination .posts-page-number.is-wide-mobile-hidden{display:none}
 .posts-page .posts-pagination .posts-page-ellipsis{display:inline-flex;flex:0 0 12px;width:12px;align-items:center;justify-content:center;font-size:12px;line-height:1;color:#536071}
}
@media(max-width:299px){
 .posts-page .posts-pagination-buttons{--posts-page-button-size:clamp(26px,calc((100% - 16px) / 5),40px)}
 .posts-page .posts-pagination .posts-page-number.is-mobile-hidden{display:none}
}

@media(min-width:300px) and (max-width:359px){
 .posts-page .posts-pagination :is(.posts-page-number,.posts-page-arrow){font-size:11px}
}
