@charset "UTF-8";

/* 記事ページ */
main.page_news_main,
main.single_news_main {
    max-width: 1000px;
    width: 96%;
    margin: 60px auto 120px;
    padding: 0;
}

.single_header.news_ttl,
.page_header.news_ttl {
    padding-top: 100px;
    height: 33rem;
    background-image: url("../images/dummy/mv01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #ffffff80;
    background-blend-mode: overlay;
}

.single_header .header_ttl,
.page_header .header_ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
    font-family: YuMincho, 游明朝体, Yu Mincho, 游明朝, yu-mincho-pr6n, serif;
    font-weight: 600;
    color: #80795f;
}

.single_header .header_ttl span:first-of-type,
.page_header .header_ttl span:first-of-type {
    display: table;
    font-size: 2rem;
    color: #80795f;
    margin: 0 auto;
    letter-spacing: .28em;
    padding: 0 4.8rem 0 5.3rem;
    background-image: url(../images/common/item-ttl01.png), url(../images/common/item-ttl02.png);
    background-size: 4rem, 4rem;
    background-position: left center, right center;
    background-repeat: no-repeat, no-repeat;
    margin-bottom: .8rem;
}

.single_header .header_ttl span:last-of-type,
.page_header .header_ttl span:last-of-type {
    display: block;
    font-size: 4rem;
    line-height: 1;
}

.single_news_main h1.news_ttl {
    font-family: YuMincho, 游明朝体, Yu Mincho, 游明朝, yu-mincho-pr6n, serif;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.4;
    color: #80795f;
    text-align: left;
    word-break: auto-phrase;
}

.single_news_main .news_info {
    margin-bottom: 4rem;
}

.single_news_main .news_info .category_box {
    margin-bottom: 10px;
}

.single_news_main .news_info .news_category {
    background: #80795f;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 5px 10px 5px 15px;
    border-radius: 100vmax;
    margin-right: 1rem;
}

.single_news_main .news_info .news_modified {
    margin-left: 10px;
}

.single_news_main .news_info .news_date,
.single_news_main .news_info .news_modified {
    font-size: 14px;
    font-weight: 600;
}

.single_news_main .news_img {
    margin: 0 auto 4rem;
    width: fit-content;
}

.single_news_main .news_img img {
    width: 100%;
    max-width: 600px;
    aspect-ratio: initial;
}

.single_news_main .news_content {
    margin: 0 auto 4rem;
}

.single_news_main .news_content h2 {
    font-size: 2.6rem;
    font-family: YuMincho, 游明朝体, Yu Mincho, 游明朝, yu-mincho-pr6n, serif;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    background: #80795f;
    margin: 4rem 0 2rem;
    padding: .4em 1em .2em 1em;
}

.single_news_main .news_content h3 {
    font-size: 2.4rem;
    font-family: YuMincho, 游明朝体, Yu Mincho, 游明朝, yu-mincho-pr6n, serif;
    font-weight: 600;
    color: #80795f;
    border-bottom: solid 1px;
    margin: 3rem 0 1.5rem;
}

.single_news_main .news_content h4 {
    font-size: 2rem;
    font-family: YuMincho, 游明朝体, Yu Mincho, 游明朝, yu-mincho-pr6n, serif;
    font-weight: 600;
    background: #fff;
    color: #80795f;
    padding: .2em 1em .1em;
    margin: 2rem 0 0.5rem;
}

.single_news_main .news_content h5 {
    font-size: 1.6rem;
    padding-left: 1.4em;
    position: relative;
    color: #80795f;
    margin: 3rem 0 1rem;
}

.single_news_main .news_content h5::before {
    content: '●';
    position: absolute;
    left: 0;
}

.single_news_main .news_content p {
    font-size: 16px;
    line-height: 1.8;
    margin: 2rem auto;
}

.single_news_main .news_content a {
    text-decoration: underline;
    font-weight: 600;
    margin: 0 5px;
}

.single_news_main .news_content a:has(> img) {
    margin: 0;
}

.single_news_main .news_content a.btn {
    text-decoration: none;
    font-weight: 400;
    margin: 1rem auto;
}

.single_news_main .news_content video {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
}

.single_news_main .news_content ul {
    margin: 2rem auto;
    background-color: #f5f5f5;
    padding: 2rem 2rem 1.5rem;
    border-radius: 10px;
}

.single_news_main .news_content ul li {
    font-size: 16px;
    padding-left: 20px;
    position: relative;
    margin-bottom: 0.5rem;
}

.single_news_main .news_content ul li:last-of-type {
    margin-bottom: 0;
}

.single_news_main .news_content ul li::before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 14px;
    background: #80795f;
    position: absolute;
    left: 0;
    top: .6rem;
}

.single_news_main .news_content ol {
	counter-reset: li; 
    list-style: none;
    margin: 2rem auto;
    background-color: #f5f5f5;
    padding: 2rem 2rem 1.5rem;
    border-radius: 10px;
}

.single_news_main .news_content ol li {
    font-size: 16px;
    padding-left: 5px;
    position: relative;
    margin-bottom: 0.5rem;
}

.single_news_main .news_content ol li:last-of-type {
    margin-bottom: 0;
}

.single_news_main .news_content ol > li::before {
    content:counter(li) ".";
    counter-increment: li;
    font-weight: 600;
    color: #80795f;
}

.single_news_main .news_content table {
    background-color: #fff;
    border: solid 1px #80795f;
    width: 100%;
}

.single_news_main .news_content table tr:first-of-type {
    background-color: #80795f;
    color: #fff;
    font-weight: 600;
}

.single_news_main .news_content table tr:first-of-type td {
    border-right: solid 1px #fff;
}

.single_news_main .news_content table tr:first-of-type td:last-of-type {
    border-right: none;
}

.single_news_main .news_content table.table_wht tr:first-of-type {
    background-color: #fff;
    color: #333;
    font-weight: 400;
}

.single_news_main .news_content table.table_wht tr:first-of-type td {
    border-right: solid 1px #80795f;
}

.single_news_main .news_content table.table_wht tr:first-of-type td:last-of-type {
    border-right: none;
}

.single_news_main .news_content table.table_wht th {
    padding: 1rem;
    background-color: #80795f;
    color: #fff;
    font-weight: 600;
    border-bottom: solid 1px #fff;
}

.single_news_main .news_content table.table_wht th:last-of-type th {
    border-bottom: none;
}

.single_news_main .news_content table.table_vertical tr:has(> :is(th, td)):not(:has(> :is(th, td):nth-of-type(n+3)))> :is(th, td):nth-of-type(1) {
    border-right: solid 1px #80795f;
}

.single_news_main .news_content table.table_vertical tr:has(> :is(th, td)):not(:has(> :is(th, td):nth-of-type(n+3)))> :is(th, td):last-of-type {
    border-right: none;
}

.single_news_main .news_content table.table_vertical tr th {
    padding: 1rem;
    background-color: #80795f;
    color: #fff;
    border-bottom: solid 1px #fff;
    width: 50%;
}

.single_news_main .news_content table.table_vertical tr:last-of-type th {
    border-bottom: none;
}

.single_news_main .news_content table tr {
    border-bottom: solid 1px #80795f;
}

.single_news_main .news_content table tr:last-of-type {
    border-bottom: none;
}

.single_news_main .news_content table tr th,
.single_news_main .news_content table tr td {
    border-right: solid 1px #80795f;
    padding: 1rem;
    vertical-align: middle;
}

.single_news_main .news_content table tr:first-of-type th,
.single_news_main .news_content table tr:first-of-type td {
    border-right: solid 1px #fff;
}

.single_news_main .news_content table tr:first-of-type th:last-of-type,
.single_news_main .news_content table tr:first-of-type td:last-of-type {
    border-right: none;
}

.single_news_main .news_content table tr td:last-of-type {
    border-right: none;
}

/* 一覧 */
.page_news_main .news-archive .news-filter ul {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4rem;
}

.page_news_main .news-archive .news-filter ul li {

}

.page_news_main .news-archive .news-filter ul li a {
    background-color: #fff;
    border: solid 1px #80795F;
    color: #80795F;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 20px 3px 10px;
    min-width: 120px;
    width: fit-content;
    text-align: center;
    display: block;
    position: relative;
}

.page_news_main .news-archive .news-filter ul li a:hover {
    background-color: #80795F;
    color: #fff;
}

.page_news_main .news-archive .news-filter ul li a::after {
    font: var(--fa-font-solid);
    content: "\f105";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
}

.page_news_main .news-archive .news-filter ul li a::after:hover {
    color: #fff;
}

.page_news_main .news-archive .news-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page_news_main .news-archive .news-list a {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
}

.page_news_main .news-archive .news-list .news-item {
    width: 100%;
    border-bottom: solid 1px #d9d7ce;
    position: relative;
}

.page_news_main .news-archive .news-list .news-item:first-of-type {
    border-top: solid 1px #d9d7ce;
}

.page_news_main .news-archive .news-list .news-item::after {
    font: var(--fa-font-solid);
    content: "\f105";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #80795f;
}

.page_news_main .news-archive .news-list .news-item a {
    padding: 20px 0 20px 10px;
}

.page_news_main .news-archive .news-list .news-item a:hover {
    background-color: #fff;
    opacity: 1.0;
}

.page_news_main .news-archive .news-list .news-item .news-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.page_news_main .news-archive .news-list .news-item time.date {
    margin: 10px 0;
    display: block;
    font-size: 12px;
    line-height: 1;
}

.news-archive .news-list .news-info .news-cat {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
}

.news-archive .news-list .news-info .news-cat span {
    background: #80795f;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    padding: 5px 10px 3px;
    border-radius: 100vmax;
    width: fit-content;
    display: inline-block;
}

.page_news_main .news-archive .news-list .news-item h2.list_ttl {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    color: #9b3437;
    background-color: initial;
    text-align: left;
    margin: 0;
    padding: 0 24px 0 0;
    line-height: 1.2;
    font-size: 2rem;
}

.page_news_main .news-archive .news-list .news-item .btn {
    height: 4rem;
    margin-top: auto !important;
}

.page_news_main .news-archive .pagination {
    text-align: center;
    margin-top: 10rem;
}

.page_news_main .news-archive .pagination .wp-pagenavi {
    font-size: 1.6rem !important;
    font-weight: 500 !important;
}

.page_news_main .news-archive .pagination .wp-pagenavi .pages {
    border: solid 1px #9b3437 !important;
    background-color: #fff !important;
    color: #9b3437 !important;
    font-weight: 600 !important;
    padding: 0 1rem !important;
    line-height: 4rem !important;
    margin: 0 0.5rem !important;
    display: inline-block;
}

.page_news_main .news-archive .pagination .wp-pagenavi a,
.page_news_main .news-archive .pagination .wp-pagenavi span {
    text-decoration: none;
    border: 1px solid #BFBFBF;
    padding: 3px 5px;
    margin: 2px;
}

.page_news_main .news-archive .pagination .wp-pagenavi a {
    border: 1px solid #9b3437 !important;
    line-height: 4rem !important;
    padding: 0 1rem !important;
    display: inline-block !important;
    color: #9b3437 !important;
    background: #fff !important;
    text-decoration: none !important;
    position: relative !important;
    margin: 0 0.5rem !important;
    transition: 0.3s !important;
    min-width: 4rem !important;
}

.page_news_main .news-archive .pagination .wp-pagenavi .current {
    border: 1px solid #9b3437 !important;
    line-height: 4rem !important;
    padding: 0 1rem !important;
    display: inline-block !important;
    color: #fff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    position: relative !important;
    margin: 0 0.5rem !important;
    background: #9b3437 !important;
    min-width: 4rem !important;
}

@media screen and (min-width: 1025px) and (max-width: 1450px) {
    /* 記事ページ */
    .single_header.news_ttl,
    .page_header.news_ttl {
        padding-top: 70px;
        height: 28rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* 記事ページ */
    .single_header.news_ttl,
    .page_header.news_ttl {
        padding-top: 80px;
        height: 10rem;
    }

    .single_header .header_ttl span:first-of-type,
    .page_header .header_ttl span:first-of-type {
        font-size: 1rem;
        background-size: 3rem, 3rem;
        margin-bottom: 0rem;
    }

    .single_header .header_ttl span:last-of-type,
    .page_header .header_ttl span:last-of-type {
        font-size: 2rem;
    }

    .single-news .pankuzu {
        margin: 0 auto;
    }

    .single-news .pankuzu li {
        font-size: 0.8rem;
    }

    #news {
        margin: 2rem auto 5rem;
        font-size: 16px;
    }

    .single_news_main h1.news_ttl {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .single_news_main .news_info {
        margin-bottom: 2rem;
    }

    .single_news_main .news_img {
        margin: 0 auto 2rem;
    }

    .single_news_main .news_content h2 {
        font-size: 1.2rem;
        margin: 2rem 0 1rem;
    }

    .single_news_main .news_content p {
        margin: 1rem auto;
    }

    .single_news_main .news_content h3 {
        font-size: 1rem;
        margin: 2rem 0 1rem;
    }

    .single_news_main .news_content ul,
    .single_news_main .news_content ol {
        margin: 1rem auto;
        padding: 1rem 1rem 1rem;
    }

    .single_news_main .news_content ul li::before {
        top: .2rem;
    }

    .single_news_main .news_content h4 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem;
    }

    .single_news_main .news_content h5 {
        font-size: 0.8rem;
        margin: 1.5rem 0 0.5rem;
    }

    /* 一覧 */
    .page_news_main .news-archive .news-list .news-item h2.list_ttl {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    /* 記事ページ */
    .sp-only {
        display: block;
    }

    .single_header.news_ttl,
    .page_header.news_ttl {
        padding-top: 50px;
        height: 16rem;
    }

    .single_header .header_ttl span:first-of-type,
    .page_header .header_ttl span:first-of-type {
        font-size: 1rem;
    }

    .single_header .header_ttl span:last-of-type,
    .page_header .header_ttl span:last-of-type {
        font-size: 3rem;
    }

    .single_news_main .news_content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .single_news_main .news_content table td {
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .single_news_main .news_content table.table_vertical tbody {
        width: 100%;
        display: block;
    }

    .single_news_main .news_content table.table_vertical tr {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .single_news_main .news_content table.table_vertical tr th {
        width: 100%;
        display: inline-block;
        border-right: none;
        border-bottom: solid 1px #80795f;
        background-color: #80795F;
        color: #fff;
    }

    .single_news_main .news_content table.table_vertical tr td {
        width: 100%;
        display: inline-block;
        border-right: none;
    }

    .single_news_main h1.news_ttl {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .single_news_main .news_info {
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        width: fit-content;
        gap: 0;
    }

    .single_news_main .news_info .category_box {
        margin-bottom: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: stretch;
        gap: 5px;
    }

    .single_news_main .news_info .news_category {
        margin-right: 0;
    }

    .single_news_main .news_content h2 {
        font-size: 2.4rem;
    }

    .single_news_main .news_content h3 {
        font-size: 2rem;
    }

    .single_news_main .news_content h4 {
        font-size: 1.8rem;
        padding: .2em 0.5em .1em;
    }
}