#notice-panel,
#product-panel,
#staff-panel,
#customer-panel {
    scroll-margin-top: 300px;
}

#notice-panel {
    padding-bottom: 100px;
}

/* 共通ブロック */

.l-page.lower--news .section_content--customer-panel {
    padding-bottom: 100px;
}

.category_tag {
    background: var(--main-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 25px;
    font-size: 14px;
    font-weight: 500;
    color: var(--point-color);
    line-height: calc(14 / 14);
}

/* コンテンツブロック */

.news_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 70px;
}

.news_item {
    padding-bottom: 8px;
    border-bottom: 1px solid #999999;
}

.news-item__meta {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 8px;
}

.news_item .category_tag {
    margin: 0;
}

.news_item .date_text {
    font-size: 14px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(14 / 14);
    font-family: var(--main-font);
}

.news_bottom_block {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news_item .news_title {
    font-size: 16px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.news_item .news_title_arrow {
    display: block;
    width: 8px;
    height: 8px;
    border: 0;
    border-top: solid 2px var(--main-color);
    border-right: solid 2px var(--main-color);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.article__no-post {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 80px;
}



@media (min-width:768px) {
    #notice-panel {
        padding-bottom: 150px;
    }

    /* 共通ブロック */

    .l-page.lower--news .ui-tab__item.is-active::after {
        width: 250px;
    }

    .l-page.lower--news .section_content--customer-panel {
        padding-bottom: 150px;
    }


    /* コンテンツブロック */

    .news_list {
        max-width: 700px;
        margin: 0 auto 90px;
    }

    .news_detail {
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
    }

    .news_item {
        padding-bottom: 18px;
    }

    .news-item__meta {
        gap: 20px;
        margin: 0 45px 0 0;
    }

    .news_item .category_tag {
        display: flex;
        border-radius: 4px;
        width: 100px;
        height: 25px;
        font-size: 14px;
        line-height: calc(14 / 14);
    }

    .news_item .date_text {
        display: block;
        font-size: 16px;
        line-height: calc(16 / 16);
    }

    .news_bottom_block {
        gap: 50px;
    }

    .news_item .news_title {
        max-width: 383px;
    }

    /* タイトル & サブタイトルを上にふわっと */
    .news_detail:hover .news_title_arrow {
        transform: translateX(10px) rotate(45deg);
    }
}

/* =========================
   wp-pagenavi カスタマイズ
   ========================= */

/* 全体 */
.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto;
    font-size: 0;
    /* inline要素の隙間対策 */
}

/* プラグインのデフォルト余白・罫線を打ち消し */
.wp-pagenavi a,
.wp-pagenavi span {
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    box-shadow: none;
}

/* 数字リンク群を横並びに見せるための基本 */
.wp-pagenavi .page,
.wp-pagenavi .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    margin: 0 7px;
    /* SP時は合計24px gap相当 */
    box-sizing: border-box;
    border: 1px solid var(--sub-color);
    font-size: 14px;
    line-height: 1;
    color: var(--sub-color);
    background: #fff;
    vertical-align: middle;
}

/* 現在ページ */
.wp-pagenavi .current {
    background: var(--sub-color);
    color: var(--point-color);
}

/* 前へ・次へ */
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    position: relative;
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: middle;
    font-size: 0;
    /* > や < の文字を消す */
    color: transparent;
    border: none;
}

/* 矢印本体 */
.wp-pagenavi .previouspostslink::before,
.wp-pagenavi .nextpostslink::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--sub-color);
    border-right: 2px solid var(--sub-color);
    box-sizing: border-box;
}

/* 左矢印 */
.wp-pagenavi .previouspostslink::before {
    transform: rotate(-135deg);
}

/* 右矢印 */
.wp-pagenavi .nextpostslink::before {
    transform: rotate(45deg);
}

/* hover */
.wp-pagenavi a.page:hover,
.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .nextpostslink:hover {
    opacity: 0.7;
}

/* PC */
@media (min-width: 768px) {
    .wp-pagenavi {
        /* max-width: 260px; */
    }

    .wp-pagenavi .page,
    .wp-pagenavi .current {
        margin: 0;
        /* 合計10px gap相当 */
    }

    .wp-pagenavi .previouspostslink {
        margin-right: 25px;
    }

    .wp-pagenavi .nextpostslink {
        margin-left: 25px;
    }
}

.