@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;
    width: 100%;
    height: 100%;
}

span.entry_date {
    max-width: 95px;
    display: block;
    width: 100%;
    font-size: 1.4rem;
    margin: 0 .8rem .8rem .8rem;
}

.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: auto;
    margin-right: 13px;
    margin-bottom: 0;
}

span.entry_title {
    text-align: center;
    text-align: left;
    font-weight: 700;
    line-height: 1.5;
    font-size: 1.8rem;
    margin: 0 .8rem;
}

.entry_category {
    width: 100%;
    margin: 0 0 4px;
    display: block;
    max-width: 100%;
    background-color: var(--dark-beige);
    border-radius: 9999rem;
    padding: .8rem 1.2rem;
    text-align: left;
    line-height: 1.25;
    font-size: 1.4rem;
    font-weight: 700;
}

span.page-numbers.current,
a.page-numbers,
span.page-numbers.dots {
    margin-right: 1.2rem;
    display: block;
    font-size: 1.8rem;
}

span.page-numbers.current {
    background-color: var(--red);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    color: var(--white);
    text-align: center;
}

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

section.entry_list {
    justify-content: space-between;
    row-gap: 5.6rem;
}

p.news-entry-title {
    font-size: 24px;
        margin-bottom: .8rem;
}

.post-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid #B9874B;
    padding: 0 0 20px;
    margin-bottom: 24px;
}

.date-category-wrap {
    max-width: fit-content;
}

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

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

.select__text {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.nav_select {
    display: flex;
    margin-bottom: 4rem;
    justify-content: flex-start;
}

.nav_select form {
    margin-top: 0;
    padding: 0;
    background-color: unset;
    border-radius: unset;
    border: unset;
    width: 100%;
    max-width: 40rem;
}

.nav_select form select {
        background-color: var(--white);
    border-radius: 4rem;
    border: .3rem solid #D4CAB1;
    padding: 1rem 2.4rem;
    width: 100%;
}

.nav_select select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../img/chevron--down--red.svg');
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.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%;
}

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

.entry_thumbnail {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 2rem;
    overflow: hidden;
    margin-bottom: .8rem;
    background-color: var(--dark-beige);
}

.entry_thumbnail a {
        display: block;
    width: 100%;
    height: 100%;
}

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

.news-page {
        margin-top: 24rem;
}

.news-page a {
    display: inline;
    border-bottom: .1rem solid var(--loyal-blue);
    color: var(--loyal-blue);
    margin: .4rem 0;
    padding: 0 .6rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.news-page .back-to-list a {
    color: var(--basic);
    border-bottom: none;
}

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

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

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

.top-news-thumbnail img {
    max-width: 150px;
    height: 80px;
    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-thumbnail img {
        max-width: 99px;
        height: 53px;
    }

    .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 {
    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: 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;
    }

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

    article.entry_item {
        width: 100%;
    }

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

    .nav_select form,
.nav_select select {
    width: 100% !important;
}


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

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

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

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

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

    span.entry_title {
        margin: 0 auto;
    }

    /* ブログ */
    .news-page {
        margin-top: 18rem;
    }
}


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

@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;
    }

}