/* ==================== SECTIONMAP: [共通/News] news — home.php / archive.php / template-parts/news-loop ==================== */
.news_list_items {
    display: flex;
    flex-direction: column;
    border-top: solid 1px #e6e6e6;
    max-width: 800px;
    margin: 60px auto 0;
}
.news_list_item {
    border-bottom: solid 1px #e6e6e6;
}
.news_card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 24px 10px;
    transition: opacity .2s;
}
.news_card:hover {
    opacity: .7;
}
.news_card_body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news_card_date {
    font-size: 1.4rem;
    color: #909090;
}
.news_card_cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.news_card_cat {
    font-size: 1.2rem;
    color: #fff;
    background-color: #323232;
    padding: 3px 14px;
    border-radius: 20px;
}
.news_card_title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
}
.news_list_empty {
    padding: 40px 0;
    text-align: center;
    color: #909090;
}
.news_pagination,
.news_list .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 50px;
}
.news_pagination .page-numbers,
.news_list .pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 4px;
    background-color: #fff;
    border: solid 1px #e0e0e0;
    font-size: 1.4rem;
    font-weight: 700;
}
.news_pagination .page-numbers.current,
.news_list .pagination .page-numbers.current {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}

/* ==================== SECTIONMAP: [共通/News] news — レスポンシブ ==================== */
@media screen and (max-width:640px) {
    .news_card {
        gap: 16px;
        padding: 20px 4px;
        align-items: flex-start;
    }
    .news_card_body {
        gap: 8px;
    }
    .news_card_title {
        font-size: 1.5rem;
        line-height: 1.5;
    }
}

/* ============================================================
   ニュース一覧：ループ横の年別アーカイブナビ
   ============================================================ */
.news_layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 56px;
}
.news_layout > .news_list {
    flex: 0 1 800px;
    min-width: 0;
}
/* side カラム：年別ナビ＋カテゴリナビを縦積み */
.news_layout > .news_side {
    flex: 0 0 150px;
    display: flex;
    flex-direction: column;
    gap: 44px;
}
.news_year_nav_title,
.news_cat_nav_title {
    font-size: 2rem;
    font-weight: 700;
    color: #1b2733;
    margin-bottom: 22px;
}
.news_year_nav_list,
.news_cat_nav_list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.news_year_nav_item a,
.news_cat_nav_item a {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    font-size: 1.5rem;
    color: #b6bcc2; /* 非アクティブは薄いグレー */
    transition: color .2s ease;
    line-height: 1.4;
}
.news_year_nav_item a:hover,
.news_cat_nav_item a:hover {
    color: var(--color-orange);
}
.news_year_nav_item.is-current a,
.news_cat_nav_item.is-current a {
    color: #1b2733; /* アクティブは濃色＋ドット */
    font-weight: 700;
}
.news_year_nav_item.is-current a::before,
.news_cat_nav_item.is-current a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em; /* 1行目の中央にドットを合わせる（カテゴリ名が折り返しても崩れない） */
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-orange);
}
/* タブレット以下：side ナビ（年別＋カテゴリ）を上部に、各リストを横並びで配置 */
@media screen and (max-width: 900px) {
    .news_layout {
        flex-direction: column;
        gap: 28px;
    }
    .news_layout > .news_list,
    .news_layout > .news_side {
        flex: none;
        width: 100%;
    }
    .news_layout > .news_side {
        order: -1;
        gap: 22px;
    }
    .news_year_nav_title,
    .news_cat_nav_title {
        margin-bottom: 12px;
    }
    .news_year_nav_list,
    .news_cat_nav_list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 22px;
    }
}

