@charset "utf-8";

.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 a img {
    vertical-align: top;
    object-fit: cover;
    height: 130px;
}

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 {
    max-width: 150px;
    width: 100%;
    margin-right: 13px;
}


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

.entry_category {
    width: 100%;
    margin: 0 0 4px;
    display: block;
    max-width: 100%;
    text-align: center;
    background: #ccc;
}


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 solid #ccc;
    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;
}

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

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

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

li.top-news-item,
article.entry_item {
    max-width: 24%;
    width: 100%;
    margin-right: 11px;
    margin-bottom: 14px;
}

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

.top-news-thumbnail {
    flex-shrink: 0;
}

.top-news-thumbnail img,
.entry_thumbnail a img {
    max-width: 100%;
    height: 260px;
    object-fit: cover;
    width: 100%;
    vertical-align: top;
}

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

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


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

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

}

/* ==============================
ショートコード アイキャッチなし
==============================*/
span.top-news-date,
span.entry_date {
    max-width: 100%;
    width: 100%;
    display: block;
    color: #fff;
    font-weight: normal;
    background: #e5621a;
    text-align: center;
    font-size: 13px;
    line-height: 1;
    padding: 4px 0;
    margin-top: 6px;
}

.top-news-text a {
    display: block;
    text-align: left;
}

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

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

@media screen and (max-width: 638px) {
    .post-title .entry_category {
        margin-right: 11px;
    }

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

    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 a img {
        height: 90px;
    }

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

    /*    .entry_thumbnail {
        height: 90px;
    }*/

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

    .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;
    }*/

}

span.entry_title {
    margin: auto;
}

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

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

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



}

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

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

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

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

    /*    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: 20px;
    }*/

}