@charset "utf-8";

.entry_meta-flex {
    display: flex;
    margin-right: 2.4rem;
}

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

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

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

article.entry_item {
    padding: 21px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: baseline;
}

span.entry_date {
    display: block;
    width: 100%;
    max-width: fit-content;
    font-size: 1.4rem;
    color: #7D7D7D;
    font-weight: 700;
}

.entry_title {
    font-weight: 700;
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

p.entry_meta-flex {
    display: flex;
    max-width: fit-content;
    width: 100%;
    margin-right: 22px;
}

.entry_category {
    width: 119px;
    margin-left: 11px;
    display: block;
    text-align: center;
    background: #ccc;
}

.post-title p.entry_category {
    margin: 0 11px 0 0;
}

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

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: right;
    margin-top: 50px;
}

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

p.news-entry-title {
    font-family: "Zen Antique Soft", serif;
    font-size: 24px;
    width: 100%;
}

.post-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding: 0 0 20px;
    margin-bottom: 24px;
    max-width: 100%;
    width: 100%;
}

.date-category-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: right;
}


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

.back-to-list {
    font-family: "Zen Antique Soft", serif;
    font-size: 1.8rem;
    display: table;
    margin: 55px auto 0;
    border-bottom: 1px solid;
    max-width: fit-content;
}

p.entry_meta-flex {
    display: flex;
    align-items: center;
}

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

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

.news-page {
    padding-bottom: 12rem;
}

/* ==============================
ショートコード アイキャッチあり
==============================*/
.top-news-list-thumbnail {
    display: flex;
    width: calc(100% - 20rem - 5.6rem);
    flex-direction: row;
    justify-content: space-between;
}

.top-news-item {
    display: flex;
    width: 31%;
    flex-direction: column;
    align-items: flex-start;
}

.top-news-thumbnail {
    width: 100%;
    margin-bottom: .8rem;
    overflow: hidden;
    border-radius: 1.2rem;
}

.top-news-thumbnail a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.top-news-thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    transition: transform 0.3s ease;
}

.top-news-item:has(.top-news-thumbnail:hover) .top-news-thumbnail img {
  transform: scale(1.08);
}

.top-news-item:has(.top-news-thumbnail:hover) .top-news-title {
  border-bottom: .1rem solid var(--basic);
}

.top-news-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 700;
}

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

.top-news-text .top-news-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-news-item:has(.top-news-title:hover) .top-news-thumbnail img {
  transform: scale(1.08);
}

.top-news-item:has(.top-news-title:hover) .top-news-title {
  border-bottom: .1rem solid var(--basic);

}

.wrap.news-wrap {
    padding-bottom: 12rem;
}

@media screen and (max-width: 710px) {
    .top-news-item {
        width: 100%;
    }

    .news-page,
    .wrap.news-wrap {
        padding-bottom: 8rem;
    }

}

/* ==============================
ショートコード アイキャッチなし
==============================*/
span.top-news-date {
    display: block;
    color: #7D7D7D;
    line-height: 1;
    margin-bottom: .8rem;
}

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

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

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

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

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

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

    .nav_select {
        justify-content: center;
    }

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

    article.entry_item {
        padding: 14px 0;
        border-bottom: 1px solid #ccc;
        display: block;
    }

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

    .entry_category {
        max-width: 100px;
        margin-right: 13px;
        display: block;
    }

    p.entry_meta-flex {
        display: flex;
    }

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


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

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

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