.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: bold;
    font-family: 'Josefin Slab', serif;
    color: #453119;
    background-color: #fff;
    line-height: 1.3;
    border-radius: 50%;
    font-size: 2.4rem;
    padding-top: 6px;
}

.wp-pagenavi span.current {
    color: #fff;
    background-color: #fa6f34;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
a.next-btn,
a.pre-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 500;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: #453119;
    width: 90px;
    height: 35px;
    display: flex;
    align-items: center;
    background-image: url(../images/index/icon-next.svg);
    background-size: 35px 35px;
    background-repeat: no-repeat;
    background-position: center right 0;
    text-decoration: none;
    justify-content: flex-start;
}

ul.wp-pagenavi {
    max-width: 100%;
}

.box-single-top {
    padding: 0px 0 25px;
    border-bottom: 4px solid #fa6f34;
}

.wp-pagenavi a.previouspostslink,
a.pre-btn {
    padding-right: 0;
    left: 0;
    right: unset;
    background-image: url(../images/index/icon-prev.svg);
    background-position: center left;
    justify-content: flex-end;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sidebar-item.sidebar-arc {
    justify-content: flex-start;
    position: absolute;
    right: 0px;
    width: fit-content;
}

.sidebar .label {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    margin-right: 15px;
    letter-spacing: 0;
    color: #fa6f34;
}

.sidebar-item label span {
    font-size: 2.3rem;
}

.sidebar-item:not(.sidebar-arc) .select {
    margin-right: 0px;
    padding: 1px;
    border-radius: 25px;
}

.sidebar-item:not(.sidebar-arc) .select select {
    width: 280px;
    height: 55px;
    padding-left: 20px;
    background-image: url(../images/index/bg-select.svg);
    background-size: 15px 9px;
    background-repeat: no-repeat;
    background-position: center right 20px;
    border-radius: 28px;
    color: #828282;
    border: 2px solid #fa6f34;
    background-color: #fff;
    padding-right: 50px;
    font-size: 1.7rem;
    font-weight: 500;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.sidebar-arc .select select {
    width: 150px;
    height: 50px;
    border-radius: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 7px 0 rgba(165, 179, 183, 0.3);
    letter-spacing: 0.1em;
    font-weight: 500;
    padding-left: 20px;
    border: none;
    background-size: 11px 10px;
    background-repeat: no-repeat;
    background-position: center right 20px;
}


/* .news-item.item-list .cat {
    height: 33px;
} */

.title-line .title-single {
    flex: 1;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    position: relative;
    margin-top: 0;
    color: #222222;
    line-height: 1.4;
    text-align: left;
    padding: 0;
}

.post-content {
    padding-top: 50px;
    padding-bottom: 0;
    position: relative;
    --primary-color: #fa6f34;
}

.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}


/* .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: #333333;
    width: auto;
    font-size: 2.5rem;
    margin-bottom: 0;
    padding-bottom: 1px;
    text-align: center;
    padding-top: 0;
}

.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-bottom: 20px;
}

.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: 1.8;
    color: #333333;
    font-size: 1.5rem;
}

.post-content a {
    color: var(--primary-color);
}

.post-content h2 {
    color: #453119;
    font-size: 2.3rem;
    font-weight: bold;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    margin-bottom: 25px;
    padding: 12px 25px;
    position: relative;
    line-height: 1.17;
    margin-top: 60px;
    font-weight: bold;
    background-color: #ffe8c9;
}

.post-content ul {
    margin-top: 50px;
}

.post-content ul li {
    position: relative;
    padding-left: 45px;
    line-height: 2.0625;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.post-content ul li::after {
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    position: absolute;
    transform: rotate(45deg);
    left: 4px;
    top: 4px;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-color);
    padding-left: 10px;
    padding-bottom: 10px;
    margin-top: 45px;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    line-height: 1.35;
}


/* .post-content h3::after {
    content: "";
    width: 19px;
    height: 19px;
    background-color: #c7c7c7;
    position: absolute;
    left: 3px;
    top: 6px;
} */

.post-content h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
    color: #333333;
    margin-top: 45px;
    font-weight: 500;
    padding-left: 23px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    line-height: 1.28;
}

.post-content h4::after {
    content: "";
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 8px;
    border-radius: 50%;
}

.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: 240px;
        margin: 0 auto 17px;
    }
    .sidebar {
        padding-top: 0;
    }
    .sidebar-item.sidebar-arc {
        justify-content: flex-end !important;
        margin-top: 0;
        position: static;
        padding-right: 25px !important;
        margin-bottom: 0;
    }
    .hotnews .news-item.item-list {
        padding: 20px 3px;
    }
    .news-item.item-list .title {
        margin-top: 5px;
        flex: auto;
        width: 100%;
    }
    .sidebar .label {
        margin-bottom: 0px;
        font-size: 1.4rem;
        margin-right: 10px;
        padding-bottom: 0;
        border-bottom: none;
        text-align: left;
    }
    .sidebar-item:not(.sidebar-arc) .select {
        padding: 1px;
        border-radius: 15px;
    }
    .sidebar-item:not(.sidebar-arc) .select select {
        width: 195px;
        height: 38px;
        font-size: 1.3rem;
        padding-left: 20px;
        padding-right: 18px;
        background-size: 11px 10px;
        background-position: center right 15px;
        border-radius: 19px;
        border-width: 1px;
    }
    .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.4rem;
    }
    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;
        border-width: 1px;
    }
    /* .infor-line {
        flex-direction: row-reverse;
    } */
    .infor-line .date {
        font-size: 1.5rem;
        width: 87px;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 10px;
        text-align: left;
    }
    .infor-line a.cat {
        width: auto;
        font-size: 1rem;
        max-width: unset;
        min-width: unset;
    }
    .infor-line .tag a {
        font-size: 1rem;
    }
    .title-line .title-single {
        font-size: 1.7rem;
        line-height: 1.21;
        padding-left: 10px;
        padding-right: 10px;
    }
    .box-single-top {
        padding: 0px;
        margin-bottom: 0;
        margin-top: 0px;
        border-width: 3px;
        border-radius: 0;
        padding-bottom: 10px;
    }
    .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: 0;
        padding-top: 25px;
        padding-left: 0;
        padding-right: 0;
    }
    .post-content-inner {
        padding: 0 0;
    }
    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink,
    a.next-btn,
    a.pre-btn {
        width: 55px;
        height: 20px;
        align-items: center;
        background-size: 20px 20px;
        font-size: 1.4rem;
        right: 0;
        font-weight: bold;
    }
    .wp-pagenavi a.previouspostslink,
    a.pre-btn {
        left: 0;
    }
    .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: 25px;
        height: 25px;
        font-size: 1.5rem;
        margin: 0 3px;
        font-weight: 500;
        padding-bottom: 0px;
        padding-left: 1px;
        padding-top: 3px;
    }
    .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.6rem;
        margin-bottom: 15px;
        margin-top: 25px;
        padding: 6px 13px;
        line-height: 1.5;
    }
    /* .post-content h2::after {
        width: 9px;
        height: 9px;
        position: absolute;
        top: 5px;
        left: 0px;
    } */
    .post-content h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.5;
        padding-left: 8px;
        padding-bottom: 7px;
    }
    .post-content h3::after {
        width: 20px;
        left: 0;
        top: 12px;
        height: 20px;
    }
    .post-content h4 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.36;
        padding-left: 19px;
    }
    .post-content h4::after {
        width: 13px;
        left: 0;
        top: 5px;
        height: 13px;
    }
    /* .post-content h3::after {
        width: 12px;
        height: 12px;
    } */
    .post-content p {
        font-size: 1.4rem;
        line-height: 1.66;
    }
    .post-content ul {
        margin-top: 25px;
    }
    .post-content ul li {
        padding-left: 25px;
        font-size: 1.3rem;
        line-height: 1.73;
        margin-bottom: 20px;
    }
    .post-content ul li::after {
        width: 9px;
        height: 9px;
        top: 8px;
    }
    .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-content {
        padding-left: 10px;
        padding-right: 10px;
    } */
    /* .wp-pagenavi a span{
        display: none;
    } */
    /* .pagination-list {
        padding-top: 23px;
        border-top: 1px solid #39b04a;
    } */
    .sidebar-item.sidebar-cat,
    .sidebar-item.sidebar-arc {
        display: flex;
        max-width: unset;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
    }
    .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.2rem;
        width: 97px;
        height: 33px;
        padding-left: 12px;
        background-size: 8px 7px;
        background-position: center right 12px;
        border-radius: 5px;
    }
}

.title-line {
    display: flex;
    gap: 50px;
}

.infor-line a.cat {
    position: static;
    min-height: 30px;
    font-size: 1.5rem;
    border-radius: 15px;
    padding: 0 25px 2px;
}

.infor-line {
    display: block;
    width: max-content;
    text-align: center;
}

.infor-line .date::before {
    display: none;
}

.single-content {
    position: relative;
    padding: 55px 0 75px;
}

.single-content::after {
    content: "";
    width: 100%;
    height: 100%;
    max-width: 1200px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    z-index: -1;
    border-radius: 30px;
}

.page-navi {
    background-color: #fff;
    padding: 30px 50px;
    border-radius: 20px;
}

a.btn.btn-main.btn-home-single {
    min-width: 240px;
}

.box-work-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 65px;
}

.works-filter {
    padding: 40px 100px;
    background-color: #fff;
    border-radius: 20px;
}

article.news-item.item-list {
    display: flex;
    margin-bottom: 45px;
}

article.news-item.item-list .news-img {
    width: 240px;
    margin-right: 35px;
}

article.news-item.item-list .news-content {
    flex: 1;
    padding-top: 20px;
}

article.news-item.item-list .date {
    text-align: left;
    padding-top: 0;
}

article.news-item.item-list .box-cat {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

article.news-item.item-list .box-cat a.cat {
    position: static;
}

article.news-item.item-list:last-child {
    margin-bottom: 0;
}

.single .wp-pagenavi a.nextpostslink,
.single .wp-pagenavi a.previouspostslink,
.single a.next-btn,
.single a.pre-btn {
    width: 140px;
}

@media (max-width: 768px) {
    .single .wp-pagenavi a.nextpostslink,
    .single .wp-pagenavi a.previouspostslink,
    .single a.next-btn,
    .single a.pre-btn {
        width: 55px;
    }
    .post-content img {
        height: auto;
    }
    .single-content::after {
        width: calc(100% - 20px);
        border-radius: 10px;
    }
    .title-line {
        flex-direction: column;
        gap: 10px;
    }
    .infor-line {
        display: flex;
    }
    .infor-line a.cat {
        padding: 0 10px 1px;
        min-height: 19px;
        font-size: 1.2rem;
    }
    .single-content {
        padding: 25px 0;
    }
    .page-navi {
        margin: 0 -30px;
        border-radius: 0;
        padding: 20px 25px;
    }
    a.btn.btn-main.btn-home-single {
        min-width: 150px;
        min-height: 40px;
    }
    .box-work-filter {
        flex-direction: column;
        gap: 15px;
    }
    .works-filter {
        padding: 25px 20px;
        margin: 0 -5px;
        border-radius: 10px;
    }
    article.news-item.item-list .news-img {
        width: 115px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    article.news-item.item-list .news-img img {
        height: auto;
    }
    article.news-item.item-list {
        align-items: flex-start;
        margin-bottom: 30px;
    }
    article.news-item.item-list .news-content {
        padding-top: 0;
    }
    article.news-item.item-list .box-cat {
        gap: 10px;
    }
}