@charset "utf-8";
/* news */
.news {
    margin: 12rem 0;
    @media (max-width: 767px) {
        margin-top: 5rem;
    }
}
.layout_wrap {
    gap: 10rem;
    max-width: 100%;
    margin-bottom: 8rem;
}
.news_box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    min-height: 25.5rem;
}
.news_list_item {
    position: relative;
}
.news_list_item_line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-color: rgb(30 30 30 / 0.2);
    transform-origin: left top;
}
.news_list_item:last-child .news_list_item_line2 {
    position: absolute;
    bottom: 0;
    top: inherit;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-color: rgb(30 30 30 / 0.2);
    transform-origin: left top;
}
.news_list_item_link {
    padding: 2.2rem 15rem 2.2rem 0;
    display: flex;
    position: relative;
}
.news_list_item_link:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 0.7rem;
    background-image: url(../img/arrow-black.svg);
    background-size: cover;
    background-position: center;
}
.news_list_item_link:hover:before {
    animation-name: transformLeftRight2;
    animation-fill-mode: forwards;
    animation-duration: 0.7s;
    transition-timing-function: ease-out;
}
.news_list_item_info {
    width: 13rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}
.news_list_item_date {
    font-family: aktiv-grotesk, sans-serif;
    font-size: 1.4rem;
    color: var(--main-color);
    line-height: 1;
}
.news_list_item_category {
    font-family: aktiv-grotesk, sans-serif;
    font-size: 1.4rem;
    color: var(--main-color);
    line-height: 1;
}
.news_list_item_title {
    font-size: 1.4rem;
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.news_link {
    position: absolute;
    top: 18rem;
    left: 0;
}
@media (max-width: 767px) {
    .filter {
        max-width: 100%;
    }
    .layout_wrap {
        grid-template-columns: 1fr;
        margin-top: 0;
        gap: 0;
    }
    .layout_main {
        order: 1;
    }
    .wp-pagenavi {
        order: 2;
        grid-column: auto;
    }
    .layout_sidebar {
        order: 3;
        margin-top: 8rem;
    }
    .news {
        margin: 5rem 0 8rem;
    }
    .news_list {
        width: 100%;
    }
    .news_list_item_link {
        flex-direction: column;
        gap: 1.3rem;
        padding-right: 0;
    }
    .news_list_item_link:before {
        transform: inherit;
        top: 2.8rem;
    }
    .news_list_item_info {
        flex-direction: row;
        justify-content: flex-start;
        gap: 2.5rem;
    }
    .news_list_item_title {
        width: 34.5rem;
    }
    .news_link {
        position: static;
        text-align: right;
        margin-top: 4rem;
        width: 100%;
    }
}

/* single-news */
.single-news article h2 {
    font-size: 2rem;
    margin-bottom: 1em;
}
.single-news article h3 {
    font-size: 1.8rem;
    margin-bottom: 1em;
}
.single-news article p {
    margin-bottom: 1em;
}
.single-news .news_title {
    font-size: 2.4rem;
    line-height: 1.8;
    margin-top: 1.5rem;
    margin-bottom: 6rem;
}
.single-news .news_meta {
    display: flex;
    gap: 2rem;
    font-size: 1.6rem;
}
.news_date {
    color: var(--color-accent);
    font-family: var(--font-futura);
    font-size: 1.6rem;
}
.news_tag {
    display: grid;
    place-items: center;
    width: 8.8rem;
    height: 2.5rem;
    background-color: rgba(145, 166, 180, 0.5);
    border-radius: 3px;
    font-size: 1.2rem;
    letter-spacing: 0.03em;
}
.news_thumb {
    margin-bottom: 6rem;
    /*aspect-ratio: 19 / 10;*/
}
.news_thumb_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.news_sub-title {
    margin-top: 6rem;
    font-size: 1.8rem;
}
.single-news_text {
    font-size: 1.4rem;
    line-height: 1.8;
}
.single-news_text .has-medium-font-size {
    /*エディターでフォントサイズををMにした時*/
    font-size: 1.6rem !important;
}
.single-news .wp-pagenavi {
    justify-content: space-between;
    margin-top: 8rem;
}
@media (max-width: 768px) {
    .single-news .news_title {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
    }
    .news_thumb {
        margin-bottom: 2.5rem;
    }
    .news_sub-title {
        margin-top: 2.5rem;
    }
    .breadcrumb > .inner {
        padding: 0;
        padding: 0 2.4rem;
    }
}
