@charset "utf-8";

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

p.entry_meta-flex {
    display: flex;
    max-width: 262px;
    width: 100%;
}

.entry_list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    column-gap: 2.5%;
    row-gap: 5.6rem;
}

.entry_item {
        font-weight: 700;
}

.entry_item:hover .entry_thumbnail img {
        transform: scale(1.1);
}

.entry_thumbnail {
        border-radius: .8rem;
    aspect-ratio: 3 / 2;
    margin-bottom: .6rem;
    overflow: hidden;
}

.entry_thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.entry_date {
    width: 100%;
    display: block;
    color: #959595;
    font-size: 1.6rem;
    text-align: right;
    letter-spacing: 0.1rem;
}

.entry_meta-flex .entry_date {
    text-align: left;
}

.entry_title {
    position: relative;
    width: fit-content;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.entry_title::after {
    position: absolute;
    bottom: -.2rem;
    left: 0;
    content: '';
    width: 100%;
    height: .3rem;
    background: var(--basic);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: all 0.3s ease-out;
}

.entry_item:hover .entry_title::after {
        transform: scale(1, 1);
}


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

h2.news-entry-title {
    font-size: 2.8rem;
}

.post-title {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--light-green);
    padding: 0 .8rem 1.6rem;
    margin-bottom: 2.4rem;
}

.date-category-wrap {
    display: flex;
    align-items: center;
    max-width: 239px;
    width: 100%;
}

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

.back-to-list {
    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;
}

.post-content p {
        margin-bottom: 1.6rem;
}

.post-content figure {
    border-radius: .8rem;
    max-width: 88rem;
    margin-bottom: 1.6rem;
}

.post-content a {
    border-bottom: .1rem solid var(--green);
    color: var(--green);
}



/* ==============================
ショートコード アイキャッチあり
==============================*/
.top-news-list-thumbnail {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5.6rem;
}

.top-news-item a {
    display: block;
}

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

.top-news-thumbnail {
    display: inline-block;
    width: 100%;
    border-radius: .8rem;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

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

.top-news-text {
    font-weight: 700;
}

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

.wrap.news-wrap>.inner {
    padding: 70px 0 70px;
}

@media screen and (max-width: 1100px) {
    .top-news-list-thumbnail {
            /* display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 4rem; */
    }

    .top-news-item {
            margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    }

    /* .top-news-thumbnail {
            width: 33%;
    } */

    /* .top-news-text {
            width: 62%;
    margin-top: .4rem;
    } */
}

@media screen and (max-width: 800px) {
    .top-news-list-thumbnail {
            display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 4rem;
    }
}

/* ==============================
ショートコード アイキャッチなし
==============================*/
span.top-news-date {
    width: 100%;
    display: block;
        margin-bottom: .4rem;
    color: #959595;
    font-size: 1.4rem;
}

.top-news-title {
    position: relative;
    width: fit-content;
    font-size: 1.6rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.top-news-title::after {
    position: absolute;
    bottom: -.2rem;
    left: 0;
    content: '';
    width: 100%;
    height: .3rem;
    background: var(--basic);
    transform: scale(0, 1);
    transform-origin: left top;
    transition: all 0.3s ease-out;
}

.top-news-item:hover .top-news-title::after {
    transform: scale(1, 1);
}

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: 800px) {
    .nav_select {
        justify-content: center;
    }

    .entry_content {
        margin-top: 10px;
    }

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

    .post-title {
        display: block;
    }

    h2.news-entry-title {
        font-size: 20px;
        margin-bottom: 6px;
    }

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

    .wrap.news-wrap >.inner {
        padding: 50px 0 110px;
    }

    .entry_list {
            grid-template-columns: 1fr;
    max-width: 56rem;
    margin: auto;
    }
    
    .date-category-wrap {
        max-width: unset;
    }
}


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

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

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