@charset "utf-8";

.wrap.news-wrap .inner {
    padding-top: 90px;
}

.news-wrap.inner {
    max-width: 1100px;
    margin: 0 auto;
}

.news-wrap.inner {
    padding: 60px 0 90px;
}

h1.news-title {
    margin-bottom: 28px;
}

.entry_thumbnail {
    width: 100%;
}

.entry_thumbnail img {
    vertical-align: top;
    object-fit: cover;
    width: 100%;
}

span.entry_date {
    max-width: 95px;
    display: block;
    width: 100%;
}

.entry_meta-flex {
    width: 100%;
    /* max-width: fit-content; */
}

.entry_category a {
    display: block;
    background-color: #ccc;
    padding: 4px 10px 5px;
    line-height: 1;
    text-align: center;
    width: 100%;
    font-size: 14px;
    margin-top: 3px;
    color: #fff;
}

.post-title .entry_category {
    width: 150px;
    margin-right: 13px;
}

span.entry_title {
    text-align: center;
    display: table;
}

.entry_category {
    width: 100%;
    margin: 0 0 4px;
    display: block;
    max-width: 100%;
    text-align: center;
    background: #85c0da;
    line-height: 1;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 0;
}

span.page-numbers.current,
a.page-numbers {
    margin-right: 11px;
    display: block;
}

.nav-links {
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.nav_select {
    display: flex;
    justify-content: end;
    margin-top: 50px;
}

section.entry_list {
    margin-bottom: 50px;
}

p.news-entry-title {
    font-size: 24px;
}

.post-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #85c0da;
    padding: 0 0 20px;
    margin-bottom: 24px;
}

.date-category-wrap {

    display: flex;
    align-items: center;
    max-width: fit-content;
    width: 100%;
    justify-content: end;
    margin: 0 0 0 auto;

}

p.news-date {
    width: 100%;
    display: block;
}

.back-to-list {
    display: table;
    margin: 55px auto 0;
    border-bottom: 1px solid;
    max-width: fit-content;
}

.nav_select {
    display: flex;
    justify-content: right;
    margin-top: 50px;
}

.post-thumbnail {
    margin-bottom: 20px;
}

img.attachment-large.size-large.wp-post-image {
    width: 100%;
    height: auto;
}

section.entry_list article.entry_item:nth-of-type(4n) {
    margin-right: 0px;
}

article.entry_item {
    width: 30%;
    margin-right: 0;
    margin-bottom: 20px;
}

section.entry_list {
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
}

.entry_thumbnail {
    width: 100%;
    max-width: 100%;
}

.entry_thumbnail img,
.entry_thumbnail {
    height: 220px;
}

.wrap.news-wrap {
    padding-bottom: 100px;
}

.side_block h2 {
    font-size: 20px;
}

/* ==============================
ショートコード アイキャッチあり
==============================*/
.top-news-list-thumbnail {
    display: flex;
    flex-direction: column;
}

.top-news-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.top-news-thumbnail {
    width: 100%;
    max-width: 160px;
    flex-shrink: 0;
}

.top-news-thumbnail a {
    display: inline-block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.top-news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}

.top-news-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 12px;
}

.top-news-date {
    margin-bottom: 5px;
}


@media screen and (max-width: 800px) {
    .top-news-item {
        margin-bottom: 5px;
    }

}

/* ==============================
ショートコード アイキャッチなし
==============================*/
span.top-news-date {
    max-width: 111px;
    width: 100%;
    display: block;
    color: #000000;
    font-weight: normal;
}

ul.top-news-list li a {
    display: flex;
    align-items: baseline;
    margin-bottom: 6px;
    width: 100%;
}

@media screen and (max-width: 800px) {

    span.top-news-date {
        max-width: 85px;
    }
}

/* ==============================
スマホ・タブレット縦
============================== */
@media screen and (max-width: 1550px) {
    article.entry_item {
        width: 48%;
    }
}

@media screen and (max-width: 1400px) {
    article.entry_item {
        width: 48%;
    }

    .wrap.news-wrap aside {
        width: 250px !important;
    }
}

@media screen and (max-width: 1300px) {

    .entry_thumbnail img,
    .entry_thumbnail {
        height: 276px;
    }
}

@media screen and (max-width: 1100px) {

    .entry_thumbnail img,
    .entry_thumbnail {
        height: 230px;
    }
}

/* ==============================
    スマホ
============================== */

@media screen and (max-width: 638px) {

    .post-title .entry_category {
        margin-right: 11px;
        max-width: 100px;
    }

    .wrap.news-wrap .inner {
        padding-top: 45px;
    }

    section.entry_list article.entry_item:nth-of-type(4n),
    section.entry_list article.entry_item:nth-of-type(2n) {
        margin-right: 0px;
    }

    .wrap.news-wrap {
        padding-bottom: 80px;
    }

    article.entry_item {
        width: 48%;
    }

    .entry_info {
        display: block;
        text-align: center;
    }

    .nav_select {
        justify-content: center;
    }

    .news-wrap.inner {
        max-width: 800px;
        width: 90%;
        padding: 50px 0;
    }

    .entry_category a {
        padding: 3px 10px 4px;
        font-size: 12px;
    }

    article.entry_item {
        margin-right: 11px;
        margin-bottom: 15px;
    }

    .entry_thumbnail img,
    .entry_thumbnail {
        height: 123px;
    }

    .entry_info {
        display: block;
        text-align: center;
        width: auto;
        margin-bottom: 1px;
    }

    .entry_info {
        display: block;
        text-align: center;
        width: auto;
        margin-bottom: 0;
    }

    p.entry_meta-flex {
        display: flex;
        margin-bottom: 3px;
    }

    .post-title {
        display: block;
    }

    p.news-entry-title {
        font-size: 16px;
        margin-bottom: 0;
    }

    .post-title {
        display: block;
        padding: 0 0 16px;
        margin-bottom: 19px;
    }

    .back-to-list a {
        font-size: 14px;
    }

    span.entry_date {
        margin: 0 auto;
    }

    span.entry_title {
        margin: 0 auto;
    }

    .wrap.news-wrap {
        padding-bottom: 102px;
    }

    .nav_select {
        margin-top: 28px;
    }
}


/* ==============================
    タブレット横/縦のみ
============================== */

@media (max-width: 1650px) and (min-width: 835px) {

    .news-wrap.inner {
        width: 90%;
    }



}

/* ==============================
    835px以下
============================== */

@media (max-width: 835px) and (min-width: 710px) {


    .news-wrap.inner {
        width: 90%;
    }

    article.entry_item {
        width: 48%;
    }

    section.entry_list article.entry_item:nth-of-type(3n) {
        margin-right: 0;
    }

    section.entry_list article.entry_item:nth-of-type(4n) {
        margin-right: 0;
    }

}

@media screen and (max-width: 900px) {

    .wrap.news-wrap .inner>div {
        display: block !important;
    }

    article.entry_item {
        margin-right: 0;
        margin-bottom: 15px;
    }

    section.entry_list {
        margin-bottom: 28px;
    }


    .wrap.news-wrap aside {
        width: 100% !important;
        margin: 37px 0 0 !important;
        /* border-top: 1px dashed #85c0da; */
    }

    .back-to-list {
        margin: 44px auto 0;
        font-size: 14px;
    }

    .side_block h2 {
        font-size: 14px;
    }

    .side_block {
        font-size: 14px;
        line-height: 2;
    }

    .side_block {
        margin-top: 16px !important;
    }

    .wrap.news-wrap {
        padding-bottom: 60px;
    }

    span.entry_date {
        margin: 0 auto;
        font-size: 14px;
        line-height: 1;
        margin-top: 8px;
    }

    .entry_category {
        font-size: 12px;
        padding: 4px 0;
    }

    p.entry_title {
        max-width: fit-content;
        margin: 0 auto;
    }
}