.pagination-list {
    position: relative;
}

.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.wp-pagenavi a.page,
.wp-pagenavi li>span {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    font-weight: 500;
    border-radius: 50%;
    padding-bottom: 1px;
    font-size: 2.3rem;
    font-family: 'Plus Jakarta Sans', serif;
    font-weight: 500;
}

.wp-pagenavi span.current {
    color: #0071c5;
    background-color: #e3f1fa;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
a.next-btn,
a.pre-btn {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    background-image: url(../images/index/icon-right-blue.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    justify-content: flex-start;
    border-radius: 50%;
    margin-left: 20px;
}

ul.wp-pagenavi {
    max-width: 100%;
}

.box-single-top {
    position: relative;
}


/* .wp-pagenavi a.nextpostslink::after,
.wp-pagenavi a.previouspostslink::after,
a.next-btn::after,
a.pre-btn::after {
    content: "次へ";
    color: #333333;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    font-size: 2rem;
    left: -70px;
    font-weight: 500;
} */

.wp-pagenavi a.previouspostslink,
a.pre-btn {
    margin-right: 20px;
    background-image: url(../images/index/icon-left-blue.svg);
    justify-content: flex-end;
    margin-left: auto;
}


/* .wp-pagenavi a.previouspostslink::after,
a.pre-btn::after {
    content: "前へ";
    right: -70px;
    left: auto;
} */

.sidebar .label {
    font-size: 2rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}


/* .news-filter {
    border: 1px solid #E1E1E1;
    min-height: 173px;
    display: flex;
    align-items: center;
    background-color: #fff;
} */

.sidebar-item:not(.sidebar-arc) .select {
    margin-right: 0px;
    padding: 1px;
    border-radius: 25px;
}

.sidebar-item .select select {
    width: 270px;
    height: 55px;
    padding-left: 27px;
    background-image: url(../images/index/bg-select.svg);
    background-size: 16px 8px;
    background-repeat: no-repeat;
    background-position: center right 20px;
    color: #898989;
    letter-spacing: 0.05em;
    background-color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    border: none;
    padding-right: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    border-radius: 30px;
    border: 1px solid #969696;
}

.sidebar-arc .select select {
    width: 140px;
    height: 50px;
    border-radius: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #333;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding-left: 27px;
    border: none;
    font-size: 1.5rem;
    border-bottom: 1px solid #31657a;
    font-weight: 500;
    background-image: url(../images/index/bg-select-2.svg);
    background-size: 16px 9px;
    background-repeat: no-repeat;
    background-position: center right 24px;
}


/* .news-item.item-list .cat {
    height: 33px;
} */

.title-line .title-single {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Zen Maru Gothic', sans-serif;
    position: relative;
    color: #333333;
    line-height: 1.2;
    text-align: left;
    padding: 20px;
    border-bottom: 1px solid #0271c5;
}

.post-content {
    padding-top: 20px;
    padding-bottom: 40px;
    position: relative;
    margin-left: 25px;
    margin-right: 25px;
    border-bottom: 1px solid #0271c5;
    margin-bottom: 30px;
}


/* .title-line .title-single::after {
    content: "";
    width: 6px;
    height: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -35px;
    background-color: #0071B7;
} */

figcaption.wp-element-caption {
    text-align: center;
    color: #000000;
    margin-bottom: 0 !important;
}

.infor-line .date {
    color: #0071c5;
    width: auto;
    font-size: 2rem;
    margin-bottom: 0;
    padding: 0 10px;
    text-align: left;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 500;
    margin-right: 10px;
}

.infor-line .tag a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #0071B7;
}

.post-content-inner {
    max-width: 1030px;
    padding: 0 15px;
    margin: auto;
}

.post-content img {
    display: block;
    margin: 10px auto;
}

.infor-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.post-content h1 {
    font-size: 2rem;
    padding-left: 26px;
    border-left: 5px solid var(--primary-color);
    min-height: 60px;
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    position: relative;
    margin-top: 60px;
    letter-spacing: 0.1em;
}

.post-content h1::before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #c7c7c7;
    bottom: -20px;
    left: 0;
    position: absolute;
}

.post-content p {
    margin-bottom: 15px;
    line-height: 2.06;
    color: #333333;
}

.post-content a {
    color: #1271a0;
    text-decoration: underline;
}

.post-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    margin-top: 50px;
    font-weight: bold;
    font-family: 'Zen Maru Gothic', sans-serif;
    padding-left: 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0271c5;
}

.post-content h2::after {
    content: "";
    width: 40px;
    height: 36px;
    background-image: url(../images/index/bg-title-news.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: 0px;
    top: -1px;
    z-index: -1;
}

.post-content ul {
    margin-top: 25px;
}

.post-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
}

.post-content ul li::after {
    content: "";
    width: 13px;
    height: 13px;
    background-color: #0071c5;
    position: absolute;
    left: 0px;
    top: 8px;
    border-radius: 50%;
}

.post-content h3 {
    font-size: 2rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    margin-bottom: 20px;
    position: relative;
    color: #0271c5;
    margin-top: 40px;
    font-weight: bold;
    padding-left: 30px;
    padding-bottom: 5px;
    border-bottom: 2px dotted #b3b2b3;
}

.post-content h3::after {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #0271c5;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

.post-content h4 {
    font-size: 1.8rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    margin-bottom: 20px;
    position: relative;
    margin-top: 40px;
    font-weight: 500;
    padding-left: 30px;
}

.post-content h4::after {
    content: "";
    width: 16px;
    height: 16px;
    background-color: #0071c5;
    border-radius: 5px;
    position: absolute;
    left: 0;
    top: 5px;
}

.post-content table {
    width: 100%;
}

.cat-line {
    display: flex;
    justify-content: center;
}

.cat-line a {
    min-width: 183px;
    padding: 5px 15px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: fit-content;
}

@media (max-width:767px) {
    .sidebar-item {
        justify-content: flex-end;
        max-width: 230px;
        margin: 0 auto;
    }
    .sidebar {
        padding: 20px 0;
    }
    .news-item.item-list .title {
        margin-top: 5px;
        flex: auto;
        width: 100%;
    }
    .sidebar .label {
        margin-bottom: 0px;
        font-size: 1.5rem;
        text-align: center;
        font-weight: bold;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 5px;
    }
    .sidebar-item .select select {
        width: 230px;
        height: 45px;
        font-size: 1.3rem;
        padding-left: 25px;
        padding-right: 40px;
        background-size: 14px 8px;
        background-position: center right 16px;
        border-radius: 23px;
        color: #898989;
    }
    .sidebar-item .select {
        margin-right: 0;
    }
    .wp-pagenavi a.page,
    .wp-pagenavi li>span,
    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink {
        font-size: 1.8rem;
    }
    a.btn.btn-single-back {
        height: 50px;
        width: 165px;
    }
    .box-single-top .title-line {
        font-size: 1.4rem;
        padding-left: 0px;
        padding-right: 0;
        margin-bottom: 0;
        line-height: 1.45;
    }
    /* .infor-line {
        flex-direction: row-reverse;
    } */
    .infor-line .date {
        font-size: 1.4rem;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
        margin-right: 5px;
    }
    .infor-line a.cat {
        width: auto;
        font-size: 1.2rem;
        max-width: unset;
        min-width: unset;
    }
    .infor-line .tag a {
        font-size: 1rem;
    }
    .title-line .title-single {
        font-size: 1.5rem;
        margin-top: 10px;
        line-height: 1.33;
        padding: 2px;
        padding-left: 6px;
        padding-right: 6px;
        border-width: 1px;
        padding-bottom: 13px;
    }
    .box-single-top {
        padding: 0px;
        margin-bottom: 0;
        margin-top: 0px;
        padding-top: 0;
    }
    .infor-line .cat a {
        min-height: 19px;
        width: 81px;
        font-size: 1.1rem;
        line-height: 1;
        margin-left: 0;
        padding-bottom: 2px;
        border-radius: 10px;
    }
    figcaption.wp-element-caption {
        font-size: 1.3rem;
    }
    .post-content {
        font-size: 1.4rem;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 15px;
        padding-top: 10px;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .post-content-inner {
        padding: 0 0;
    }
    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink,
    a.next-btn,
    a.pre-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.3rem;
        right: 0px;
        font-weight: bold;
    }
    .wp-pagenavi a.nextpostslink {
        justify-content: flex-end;
    }
    .wp-pagenavi a.previouspostslink,
    a.pre-btn {
        left: 0px;
    }
    .wp-pagenavi a.nextpostslink::after,
    .wp-pagenavi a.previouspostslink::after,
    a.next-btn::after,
    a.pre-btn::after {
        font-size: 1.2rem;
        bottom: -20px;
        right: auto;
        transform: translateX(-50%);
        left: 50%;
        top: auto;
        color: #000;
    }
    .wp-pagenavi a.page,
    .wp-pagenavi li>span {
        width: 33px;
        height: 33px;
        margin: 0 3px;
        font-weight: 500;
        padding-bottom: 0px;
        letter-spacing: 0.075em;
        padding-left: 1px;
    }
    .post-content h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
        min-height: 60px;
        padding: 0;
        margin-top: 25px;
        line-height: 1.4;
        border-width: 3px;
        padding-left: 10px;
    }
    .post-content h1::after {
        width: 3px;
        left: 0;
    }
    .post-content h1::before {
        height: 2px;
        bottom: -10px;
    }
    .post-content h2 {
        font-size: 1.7rem;
        margin-bottom: 15px;
        margin-top: 20px;
        padding-left: 16px;
        padding-bottom: 8px;
        line-height: 1.33;
    }
    .post-content h2::after {
        width: 31px;
        height: 28px;
    }
    .post-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.33;
        padding-left: 20px;
        padding-bottom: 9px;
        border-width: 1px;
    }
    .post-content h3::after {
        width: 13px;
        left: 0;
        top: 4px;
        height: 13px;
    }
    .post-content h4 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.33;
        padding-left: 23px;
    }
    .post-content h4::after {
        width: 13px;
        left: 0px;
        top: 5px;
        height: 13px;
    }
    /* .post-content h3::after {
        width: 12px;
        height: 12px;
    } */
    .post-content p {
        font-size: 1.3rem;
        line-height: 1.72;
        letter-spacing: 0.05em;
    }
    .post-content ul {
        margin-top: 15px;
    }
    .post-content ul li {
        padding-left: 25px;
        font-size: 1.4rem;
        line-height: 1.51;
        margin-bottom: 15px;
        font-weight: 500;
    }
    .post-content ul li::after {
        width: 12px;
        height: 12px;
        top: 5px;
    }
    .title-line .title-single::after {
        height: 100%;
        left: 0;
        width: 3px;
    }
    /* .box-post-title {
        padding-left: 15px;
        padding-right: 15px;
    } */
    .single-content .container .container {
        padding-left: 0;
        padding-right: 0;
    }
    .single-page .wp-pagenavi a.previouspostslink,
    .single-page .wp-pagenavi a.nextpostslink {
        min-height: 26px;
        font-size: 1.4rem;
        max-width: unset;
        text-align: right;
    }
    .single-page .wp-pagenavi {
        flex-wrap: wrap;
        height: auto;
    }
    /* .single-page .wp-pagenavi li {
        width: 100%;
        position: relative;
    } */
    .single-page .wp-pagenavi a.nextpostslink {
        justify-content: flex-end;
        text-align: left;
    }
    /* .single-content {
        padding-left: 10px;
        padding-right: 10px;
    } */
    /* .wp-pagenavi a span{
        display: none;
    } */
    /* .pagination-list {
        padding-top: 23px;
        border-top: 1px solid #39b04a;
    } */
    .post-content table td:first-child {
        width: 72px !important;
    }
    .post-content table td:nth-child(2) {
        width: 75px !important;
    }
    .post-content table th,
    .post-content table td {
        font-size: 1.3rem !important;
        padding: 5px !important;
    }
    .post-content table th:last-child,
    .post-content table td:last-child {
        text-align: left !important;
        padding-left: 12px !important;
    }
    .sidebar-arc .select select {
        font-size: 1.3rem;
        width: 94px;
        height: 33px;
        padding-left: 12px;
        background-size: 13px 7px;
        background-position: center right 12px;
        border-radius: 0;
    }
    .post-content img {
        display: block;
        margin: 10px auto;
        padding: 0 0;
        height: auto;
    }
}