.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: auto;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px;
    font-weight: bold;
    font-style: italic;
    color: #eba9ac;
    background-color: transparent;
    line-height: 1.3;
    font-weight: 500;
    padding-top: 0;
    border-radius: 0%;
    padding-bottom: 0;
    font-size: 2rem;
    font-weight: 500;
}

.wp-pagenavi span.current {
    color: #b10d15;
    font-size: 3rem;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink,
a.next-btn,
a.pre-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    background-image: url(../images/index/icon-next.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    justify-content: flex-start;
}

ul.wp-pagenavi {
    max-width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}


/* .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: fit-content;
    text-align: center;
    font-size: 2rem;
    left: -70px;
    font-weight: 500;
} */

.wp-pagenavi a.previouspostslink,
a.pre-btn {
    padding-right: 0;
    left: 10px;
    right: unset;
    background-image: url(../images/index/icon-prev.svg);
    justify-content: flex-end;
}


/* .wp-pagenavi a.previouspostslink::after,
a.pre-btn::after {
    content: "前へ";
    right: -70px;
    left: auto;
} */

.sidebar-item {
    display: block;
}

.sidebar-item.sidebar-arc {
    justify-content: flex-start;
}

.sidebar .label {
    font-size: 1.6rem;
    font-weight: bold;
    margin-right: 15px;
    color: #B10D15;
}

.sidebar-item label span {
    font-size: 2.3rem;
}


/* .news-filter {
    border: 1px solid #E1E1E1;
    min-height: 173px;
    display: flex;
    align-items: center;
    background-color: #fff;
} */

.sidebar {
    padding: 90px 0 0px;
}

.sidebar-list {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.sidebar-item .select {
    margin-right: 0px;
}

.sidebar-item .select select {
    width: 230px;
    height: 50px;
    padding-left: 10px;
    background-image: url(../images/index/bg-select.svg);
    background-size: 14px 10px;
    background-repeat: no-repeat;
    background-position: center right 35px;
    font-size: 1.5rem;
    color: #222222;
    font-weight: 500;
    background-color: #fff;
    border: none;
    padding-right: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom: 1px solid #B10D15;
    border-radius: 0;
}


/* .news-item.item-list .cat {
    height: 33px;
} */

.title-line .title-single {
    font-size: 2.5rem;
    font-weight: bold;
    position: relative;
    margin-top: 15px;
    color: #222222;
    line-height: 1.52;
    text-align: left;
    padding: 0;
}

.post-content {
    position: relative;
}


/* .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: #828382;
    font-size: 16px;
    font-family: "dnp-shuei-mgothic-std", sans-serif;
    font-weight: 600;
    letter-spacing: 0.075em;
}

.infor-line a.cat {
    background-color: #b10d15;
}

.infor-line .tag a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
}

.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 .cat a {
    min-height: 27px;
    min-width: 123px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.post-content .cat a.cat-1 {
    background-color: #EAF5F9;
}

.post-content .cat a.cat-3 {
    background-color: #E1F9D7;
}

.post-content .cat a.cat-2 {
    background-color: #FCEBD6;
}

a.btn.btn-list-link {
    max-width: 900px;
    border: 1px solid #C7C7C7;
    height: 52px;
    border-radius: 10px;
    padding-left: 20px;
    justify-content: start;
    font-size: 1.5rem;
    margin: 0 auto 10px;
}

a.btn.btn-list-link::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(../images/index/icon-list-link.svg);
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

a.btn.btn-list-link:hover {
    opacity: 0.6;
}

a.btn.btn-single-back {
    height: 75px;
    width: 325px;
    background-color: #993D8C;
    color: #fff;
}

a.btn.btn-single-back::after {
    background-image: url(../images/index/icon-right-white.svg);
    width: 5px;
    height: 10px;
    right: 20px;
}

.list-link-download {
    border-bottom: 1px solid #c7c7c7;
    /* border-top: 1px solid #c7c7c7; */
}

#hotnews::after {
    display: none;
}

.img-top-emp {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.box-top-employee-right {
    padding: 45px;
}

.staff-content {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.1875;
    padding-top: 35px;
    letter-spacing: 0.1em;
}

.staff-content img {
    height: auto;
}

.staff-content .wp-block-media-text {
    display: flex;
    justify-content: space-between;
}

.staff-content .wp-block-media-text>figure {
    width: 44%;
    padding: 0 15px 0 0;
    margin: 0 0 0 0;
}

.staff-content .wp-block-media-text>div {
    width: 51.5%;
    padding-left: 15px;
    padding-top: 35px;
}

.question-employee {
    margin-bottom: 55px;
    margin-top: 40px;
}

.staff-navi .pagination-list {
    padding-top: 60px;
    margin-top: 100px;
    padding-bottom: 60px;
    border-top: 1px solid #C7C7C7;
}

.post-content h1 {
    font-size: 2.2rem;
    font-weight: bold;
    padding: 10px 20px;
    margin-bottom: 30px;
    position: relative;
    margin-top: 50px;
    color: #089abc;
    border-bottom: 2px solid #089abc;
}


/* .post-content h1::after {
    content: "";
    width: 6px;
    height: 100%;
    background-color: #089abc;
    position: absolute;
    left: 0px;
    top: 0px;
}

.post-content h1::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #c7c7c7;
    bottom: -20px;
    left: 0;
    position: absolute;

} */

.post-content p {
    margin-bottom: 15px;
    line-height: 2.1875;
    color: #333333;
}

.post-content h2 {
    color: #b10d15;
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    margin-top: 30px;
    font-weight: 900;
    padding-bottom: 10px;
}

.post-content h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background-color: #b10d15;
    position: absolute;
    left: 0;
    bottom: 0;
}

.post-content ul {
    margin-top: 50px;
}

.post-content ul li {
    position: relative;
    padding-left: 25px;
    line-height: 2.0625;
    letter-spacing: 0.1em;
}

.post-content ul li::after {
    content: "";
    width: 15px;
    height: 15px;
    background-color: #089abc;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 11px;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    color: #b10d15;
    margin-top: 30px;
    font-weight: bold;
    padding-left: 5px;
    padding-bottom: 15px;
}

.post-content h3::after {
    content: "";
    width: 100%;
    height: 6px;
    background-color: #ffe9b2;
    position: absolute;
    left: 0;
    bottom: 0;
}

.post-content h4 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    color: #333333;
    margin-top: 30px;
    font-weight: 500;
    padding-left: 5px;
    padding-bottom: 15px;
}

.post-content h4::after {
    content: "";
    width: 100%;
    height: 3px;
    background-image: url(../images/index/bg-dot.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    bottom: 0;
    left: 0;
}

.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) {
    .staff-navi .pagination-list {
        padding-top: 20px;
        padding-bottom: 20px;
        margin-top: 50px;
    }
    .box-top-employee-left {
        height: 265px;
    }
    .staff-content {
        font-size: 14px;
    }
    .box-top-employee-right {
        padding: 25px;
    }
    .title-employ {
        line-height: 1.58;
        padding-top: 20px;
    }
    .question-employee {
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .staff-content .wp-block-media-text {
        flex-wrap: wrap;
    }
    .staff-content .wp-block-media-text>figure,
    .staff-content .wp-block-media-text>div {
        width: 100%;
        margin: 0px auto 20px;
        padding: 0 0 0 0;
    }
    /* .main-menu li.nav-item:hover .mega-menu {
        display: none !important;
    } */
    .sidebar-item {
        justify-content: flex-end;
        max-width: 262px;
        margin: 0 auto 17px;
    }
    .sidebar-item.sidebar-arc {
        justify-content: flex-end !important;
        margin-top: 0;
    }
    .sidebar-item:not(:nth-last-child(1)) {
        margin-bottom: 30px;
    }
    .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.3rem;
        margin-right: 10px;
        font-weight: 500;
        padding-bottom: 0;
        border-bottom: none;
        text-align: right;
    }
    .sidebar-item .select select {
        width: 165px;
        height: 39px;
        font-size: 1.2rem;
        padding-left: 20px;
        padding-right: 18px;
        background-size: 12px 10px;
        background-position: center right 22px;
        border-radius: 20px;
    }
    .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.3rem;
        width: 75px;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
    }
    .infor-line a.cat {
        width: auto;
        padding: 0 15px 1px;
        min-height: 17px;
        border-radius: 15px;
        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.4;
    }
    .box-single-top {
        padding: 0px;
        margin-bottom: 0;
        margin-top: 0px;
        border-width: 2px;
        border-radius: 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: 30px;
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    .post-content-inner {
        padding: 0 0;
    }
    .post-content .cat a {
        font-size: 1.3rem;
    }
    .post-content .cat a {
        min-height: 25px;
    }
    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink,
    a.next-btn,
    a.pre-btn {
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: flex-start;
        font-size: 1.3rem;
        right: 0;
        font-weight: bold;
    }
    .wp-pagenavi a.nextpostslink {
        justify-content: flex-end;
    }
    .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;
        width: max-content;
    }
    .wp-pagenavi a.page,
    .wp-pagenavi li>span {
        width: 25px;
        height: 25px;
        font-size: 1.1rem;
        margin: 0 3px;
        font-weight: 500;
        padding-bottom: 2px;
        letter-spacing: 0.05em;
    }
    .post-content h1 {
        font-size: 1.5rem;
        margin-bottom: 28px;
        padding: 0;
        margin-top: 25px;
        line-height: 1.4;
        border-width: 1px;
        padding-bottom: 6px;
    }
    .post-content h1::after {
        width: 3px;
        left: 0;
    }
    .post-content h1::before {
        height: 1px;
        bottom: -10px;
    }
    .post-content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        margin-top: 25px;
        padding-bottom: 12px;
        line-height: 1.36;
    }
    .post-content h2::after {
        width: 55px;
        height: 3px;
    }
    .post-content h3 {
        font-size: 1.7rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.36;
        padding-left: 0;
        padding-bottom: 10px;
    }
    .post-content h3::after {
        height: 3px;
    }
    .post-content h4 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.36;
        padding-left: 0;
        padding-bottom: 8px;
    }
    .post-content h4::after {
        height: 2px;
        background-image: url(../images/index/bg-dot-sm.png);
    }
    /* .post-content h3::after {
        width: 12px;
        height: 12px;
    } */
    .post-content p {
        font-size: 1.3rem;
        line-height: 1.72;
        letter-spacing: 0.1em;
    }
    .post-content ul {
        margin-top: 25px;
    }
    .post-content ul li {
        padding-left: 24px;
        font-size: 1.4rem;
        line-height: 1.4;
        font-weight: 400;
        margin-bottom: 5px;
    }
    .post-content ul li::after {
        width: 11px;
        height: 11px;
        top: 4px;
    }
    .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;
    } */
    .sidebar-item.sidebar-cat,
    .sidebar-item.sidebar-arc {
        display: flex;
        max-width: 310px;
        align-items: center;
        justify-content: flex-end;
        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;
    }
}