.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: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-weight: 500;
    color: var(--primary-color);
    background-color: #fff;
    line-height: 1.3;
    font-weight: 500;
    padding-bottom: 1px;
    border-radius: 50%;
    padding-bottom: 1px;
    border: 1px solid #dee3da;
    font-size: 1.8rem;
    font-weight: 500;
}

.wp-pagenavi span.current {
    color: #fff;
    background-color: #000;
}

.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: bold;
    color: #000;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    background-image: url(../images/index/icon-next-cms.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    justify-content: flex-start;
    border-radius: 50%;
}

ul.wp-pagenavi {
    max-width: 100%;
}

.box-single-top {
    padding: 60px 0 35px;
    border-bottom: 3px solid var(--primary-color);
}


/* ===================================================================
   Single post navigation
   =================================================================== */

.single-page-navi {
    padding: 40px 0 60px;
}

.single-page-navi .wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.single-page-navi .wp-pagenavi li {
    list-style: none;
}

.btn-back-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-back-list:hover {
    background-color: var(--primary-color);
    color: #fff;
    opacity: 1;
}


/* Box cat single */

.box-cat-single {
    margin-left: 10px;
}

.box-cat-single .cat {
    font-size: 1.4rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.wp-pagenavi a.previouspostslink,
a.pre-btn {
    padding-right: 0;
    left: 0;
    right: unset;
    background-image: url(../images/index/icon-prev-cms.svg);
    justify-content: flex-end;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sidebar .sidebar-arc .label {
    font-size: 1.4rem;
}

.sidebar .label {
    font-size: 1.6rem;
    font-weight: 500;
    margin-right: 15px;
    letter-spacing: 0.05em;
}

.sidebar-item label span {
    font-size: 2.3rem;
}

.sidebar {
    padding: 85px 0 0px;
}

.sidebar-item:not(.sidebar-arc) .select {
    margin-right: 0px;
    padding: 1px;
    border-radius: 25px;
}

.sidebar-item:not(.sidebar-arc) .select select {
    width: 248px;
    height: 38px;
    padding-left: 30px;
    background-image: url(../images/index/bg-select.svg);
    background-size: 14px 12px;
    background-repeat: no-repeat;
    background-position: center right 20px;
    color: #000;
    letter-spacing: 0.05em;
    background-color: #fff;
    border: none;
    padding-right: 50px;
    font-family: 'Noto Sans JP', sans-serif;
    border: 1px solid #000;
}

.sidebar-arc .select select {
    width: 136px;
    height: 38px;
    border-radius: 0;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: #000;
    letter-spacing: 0.05em;
    font-weight: 500;
    padding-left: 20px;
    border: none;
    background-image: url(../images/index/bg-select.svg);
    background-size: 14px 12px;
    background-repeat: no-repeat;
    background-position: center right 20px;
    border-bottom: 1px solid #000;
}


/* .news-item.item-list .cat {
    height: 33px;
} */

.title-line .title-single {
    font-size: 2.5rem;
    font-weight: 500;
    position: relative;
    margin-top: 40px;
    color: #003c1f;
    line-height: 1.65;
    text-align: left;
    letter-spacing: 0.1em;
    padding: 0;
}

.post-content {
    padding-top: 20px;
    padding-bottom: 100px;
    position: relative;
}

.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: #666666;
    width: 110px;
    font-size: 1.4rem;
    margin-bottom: 0;
    padding-bottom: 1px;
    text-align: left;
    letter-spacing: 0.1em;
}

.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;
    /*padding: 40px 0;*/
}

.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.1875;
    color: #333333;
    letter-spacing: 0.1em;
}

.post-content a {
    color: var(--primary-color);
}

.post-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    margin-top: 60px;
    font-weight: bold;
    padding-bottom: 20px;
    border-bottom: 1px solid;
}

.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: 8px;
}

.post-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-color);
    margin-top: 60px;
    font-weight: 500;
    padding-left: 38px;
    padding-bottom: 20px;
    border-bottom: 1px solid #c7c7c7;
}

.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: 30px;
    font-weight: 500;
    padding-left: 33px;
}

.post-content h4::after {
    content: "";
    width: 15px;
    height: 15px;
    background-color: #00acd6;
    position: absolute;
    left: 3px;
    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 {
        margin-top: 0;
        position: static;
        padding-right: 25px !important;
        margin-bottom: 0;
    }

    .sidebar-item:not(:nth-last-child(1)) {
        margin-bottom: 7px;
    }

    .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.1rem;
        margin-right: 10px;
        font-weight: 500;
        padding-bottom: 0;
        border-bottom: none;
        text-align: right;
    }

    .sidebar-item:not(.sidebar-arc) .select {
        padding: 1px;
        border-radius: 15px;
    }

    .sidebar-item:not(.sidebar-arc) .select select {
        width: 195px;
        height: 33px;
        font-size: 1.2rem;
        padding-left: 20px;
        padding-right: 18px;
        background-size: 9px 8px;
        background-position: center right 17px;
        border-radius: 0;
    }

    .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: 1rem;
        width: 73px;
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
    }

    .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.8rem;
        margin-top: 23px;
        line-height: 1.28;
    }

    .box-single-top {
        padding: 0px;
        margin-bottom: 0;
        margin-top: 0px;
        border-width: 2px;
        border-radius: 0;
        padding-bottom: 15px;
    }

    .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;
    }

    .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;
    }

    .wp-pagenavi a.page,
    .wp-pagenavi li>span {
        width: 25px;
        height: 25px;
        font-size: 1.1rem;
        margin: 0 3px;
        font-weight: 500;
        padding-bottom: 0px;
        letter-spacing: 0.05em;
        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.5rem;
        margin-bottom: 15px;
        margin-top: 25px;
        padding-bottom: 15px;
        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: 36px;
        padding-bottom: 5px;
    }

    .post-content h3::after {
        width: 20px;
        left: 0;
        top: 12px;
        height: 20px;
    }

    .post-content h4 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        margin-top: 25px;
        line-height: 1.36;
        padding-left: 19px;
    }

    .post-content h4::after {
        width: 11px;
        left: 3px;
        top: 4px;
        height: 11px;
    }

    /* .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: 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-page .wp-pagenavi a.nextpostslink {
        justify-content: flex-end;
        text-align: left;
    }

    /* Single post navigation - mobile */
    .single-page-navi {
        padding: 25px 0 30px;
    }

    .single-page-navi .wp-pagenavi {
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn-back-list {
        min-width: 180px;
        min-height: 40px;
        font-size: 1.2rem;
    }

    .box-cat-single {
        margin-left: 6px;
    }

    .box-cat-single .cat {
        font-size: 1.1rem;
    }

    /* .single-content {
    } */
}


/* ===================================================================
   プランカード グリッド表示
   =================================================================== */


/* カテゴリリンク current 状態 */

.list-link-plant a.current {
    font-weight: bold;
}

.list-link-plant a.current::before {
    transform: scaleX(1);
}


/* カードグリッド */

.plan-card-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 70px;
    column-gap: 1px;
}


/* カード単体 */

.plan-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
}

.plan-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.plan-card__link:hover {
    opacity: .85;
}


/* 画像 */

.plan-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.plan-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* 本文エリア */

.plan-card__body {
    padding: 12px 14px 8px;
    flex: 1;
}


/* 価格 */

.plan-card__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 6px;
}

.plan-card__price-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
}

.plan-card__price-tax {
    font-size: 1.2rem;
    color: #666;
}


/* 人数・部屋アイコン */

.plan-card__meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    color: #555;
    font-size: 1.3rem;
}

.plan-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.plan-card__meta-item svg {
    flex-shrink: 0;
}


/* 説明テキスト */

.plan-card__desc {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* 予約ボタン */

.plan-card__button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background: #76161B;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: .1em;
    text-align: center;
    margin-top: auto;
    transition: background .3s;
}

.plan-card__link:hover .plan-card__button {
    background: #a33;
}


/* ===================================================================
   レスポンシブ
   =================================================================== */


/* タブレット */

@media screen and (max-width: 1024px) {
    .plan-card-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 45px;
        column-gap: 1px;
    }
}


/* スマートフォン */

@media screen and (max-width: 767px) {
    .plan-card-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
        column-gap: 1px;
    }

    .plan-01 .container {
        padding-left: 1px;
        padding-right: 1px;
    }

    .plan-card__price-amount {
        font-size: 1.5rem;
    }

    .plan-card__desc {
        font-size: 1.2rem;
        -webkit-line-clamp: 2;
    }

    .plan-card__button {
        font-size: 1.2rem;
        padding: 8px 0;
    }

    /* .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: 164px;
        height: 33px;
        padding-left: 12px;
        background-size: 8px 7px;
        background-position: center right 12px;
        border-radius: 0px;
    }

    /* ===================================================================
       Post list (index.php) - Mobile
       =================================================================== */
    .page-news .news-item.item-list {
        display: flex;
        flex-wrap: nowrap;
        padding: 15px 0;
    }

    .page-news .news-img {
        width: 105px;
        min-width: 105px;
    }

    .page-news .news-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .page-news .news-content {
        flex: 1;
        padding-left: 12px;
        min-width: 0;
    }

    .page-news .box-cat {
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .page-news .box-cat a.cat {
        font-size: 1rem;
        padding: 2px 8px;
        min-height: 20px;
        width: auto;
    }

    .page-news .news-item.item-list .title {
        margin: 5px 0 4px;
    }

    .page-news .news-item.item-list .title a {
        font-size: 1.3rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .page-news .news-item.item-list .date {
        font-size: 1.1rem;
        color: #003c1f;
    }

    /* Sidebar / works-filter - Mobile */
    .works-filter {
        padding-top: 30px !important;
    }

    .box-filter {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .sidebar-item.sidebar-cat,
    .sidebar-item.sidebar-arc {
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
    }

    .sidebar .label {
        white-space: nowrap;
    }

    /* Pagination - Mobile */
    nav.page-navi {
        padding: 20px 0 30px;
    }

    .wp-pagenavi a.nextpostslink,
    .wp-pagenavi a.previouspostslink {
        width: 30px;
        height: 30px;
    }

    .sidebar .sidebar-arc .label {
        font-size: 1.2rem;
    }

    .sidebar .sidebar-arc .label br {
        display: none;
    }
}