main {
    font-family: 'Noto Sans JP', sans-serif;
    padding-top: 20.8rem;
    background-image: url('../img/live/background.svg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 66rem;
    background-position: top -18.5rem right -30.7rem;
}

.pc_only {
    display: block;
}

.sp_only {
    display: none;
}


.title {
    font-size: 5rem;
    font-weight: 700;
    color: #2B4A7F;
    text-align: center;
    margin-bottom: 11.4rem;
}

.wrap {
    display: grid;
    grid-template-columns: 23.5rem 1fr;
    gap: 1.5rem;
    width: 118rem;
    margin: 0 auto;
}

.contents {
    width: 93rem;
}


.article-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #333333;
    margin-bottom: 1.5em;
    word-break: break-word;
}

.blogic_image {
    width: 43rem;
}

.sidebar-in {
    position: sticky;
    top: 15rem;
    /* stickyの停止位置をmain終わりの約2rem手前にする（PC） */
    margin-bottom: 2rem;
}


.wp-block-image img {
    max-width: 80%;
}

.post-list {
    margin-bottom: 6rem;
}

.post-link{
    display: inline-block;
}


.arc_list_category_box {
    display: flex;
    flex-wrap: wrap;
    width: 23.5rem;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* SP用の複製はPCでは非表示 */
.arc_list_category_box--sp {
    display: none;
}

.term_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.btn-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 11.5rem;
    height: 3.7rem;
    border: 1px solid #0E9ED4;
    background-color: #f8fcfe;
    border-radius: 4.2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: #0A1333;
}


.btn-item:hover {
    background-image: linear-gradient(90deg, #0282c1, #99D0E5) !important;
    color: white;
}

/* 現在のページ（共通設定） */
.arc_list_color_reverse {
    background-image: linear-gradient(90deg, #0282c1, #99D0E5) !important;
    color: #ffffff;
    border: none;
}

/*======================================
// ページネーションのstyle
======================================*/

.post-pagination-wrapper {
    margin-bottom: 4rem;
    width: 80%;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}


.page-numbers li {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 50%;
}

.page-numbers>li>a,
.page-numbers>li>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    box-sizing: border-box;
    padding: 0;
    color: #333333;
    font-size: 1.8rem;
    border: 1px solid #333333;
    border-radius: 50%;
}

.page-numbers .current {
    background-color: #0282C1;
    border-radius: 50%;
    color: #fff;
}

.page-numbers>li>.current {
    border-color: #0282C1;
}

/*======================================
// SP版
======================================*/

@media screen and (max-width:699.98px) {
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    main {
        width: 37.5rem;
        background-image: none;
        padding-top: 17rem;
        position: relative;
    }

    .wrap {
        width: 36rem;
        margin: 0 auto;
        display: block;
        position: relative;
        /* stickyボタンの停止位置をmain終わりの約1rem手前にする */
        padding-bottom: 1rem;
    }
    
    .title  {
        font-size: 3.2rem;
        margin-bottom: 7rem;
    }
    .article-title {
        font-size: 1.6rem;
    }
    

    .contents {
        width: 36rem;
        margin: 0 auto;
    }

    .term_list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    /* SPでは年リストを12件までに制限（13件目以降は非表示） */
    .term_list li:nth-child(n+13) {
        display: none;
    }

    .blogic_image {
        max-width: 85%;
        margin: 0 auto;
    }

    .p_text {
        font-size: 1.4rem;
        text-align: center;
    }

    /*======================================
// 掲載年で探すボタンとポップアップメニュー
======================================*/
    /*追従*/
    .sidebar {
        position: relative;
        top: 0;
    }

    /*スペースの調整*/
    .sidebar-in {
        position: absolute;
        top: 0;
    }

    /* 初期状態は非表示 */
    .arc_list_category_box,
    .open_category {
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }

    /* 表示状態 */
    .arc_list_category_box.active,
    .open_category.active {
        opacity: 1;
        visibility: visible;
    }


    .js-open-menu {
        position: sticky;
        bottom: 2rem;
        background-color: #0282C1;
        width: 5rem;
        height: 5rem;
        font-weight: 300;
        border-radius: 50%;
        font-size: 1.2rem;
        padding: 0.5rem;
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        z-index: 10;
    }

    .btn-item {
        width: 10.1rem;
        height: 3.8rem;
        font-size: 1.6rem;
    }

    .js-close-menu {
        color: #FFFFFF;
        font-size: 1.2rem;
        text-align: left;
    }

    .open_category.active {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-color: #333333;
        opacity: 0.2;
        display: block;
        transition: 0.5s;
        z-index: 3;
    }


    /* PC用サイドバーはSPでは非表示 */
    .arc_list_category_box--pc {
        display: none;
    }

    /* SP用メニュー：ボタンと同じく main の左下に sticky 固定 */
    .arc_list_category_box--sp {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 33.3rem;
        position: sticky;
        bottom: 8rem;
        background-color: #0282C1;
        border-radius: 0.8rem;
        padding: 1rem;
        z-index: 100;
    }

    /*======================================
// ページネーションのstyle
======================================*/

    .post-pagination-wrapper {
        margin: 4rem auto;
        width: 80%;
    }

    .page-numbers {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .page-numbers li {
        width: 4rem;
        height: 4rem;
        flex-shrink: 0;
        background-color: #ffffff;
        border-radius: 50%;
    }

    .page-numbers>li>a,
    .page-numbers>li>span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 4rem;
        height: 4rem;
        box-sizing: border-box;
        padding: 0;
        color: #333333;
        font-size: 1.8rem;
        border: 1px solid #333333;
        border-radius: 50%;
    }

    .page-numbers .current {
        background-color: #0282C1;
        border-radius: 50%;
        color: #fff;
    }

    .page-numbers>li>.current {
        border-color: #0282C1;
    }

    .post-link{
    display: block;
}
}