/* ── news-list.css : ニュース一覧ページ専用 ── */

.news-list-page {
    max-width: 860px;
    margin: 40px auto 80px;
    padding: 0 20px;
}

.news-list-page h1 {
    font-size: 1.6rem;
    color: var(--primary, #1f2f3a);
    margin-bottom: 6px;
}

.news-list-page .page-lead {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 32px;
}

/* タブ */
.tab-bar {
    display: flex;
    border-bottom: 2px solid #1f2f3a;
}

.tab-btn {
    padding: 10px 28px;
    background: #e8ecf0;
    border: none;
    border-radius: 6px 6px 0 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #555;
    cursor: pointer;
    transition: background 0.2s;
    margin-right: 4px;
}

.tab-btn.active {
    background: #1f2f3a;
    color: #fff;
}

.tab-btn:hover:not(.active) {
    background: #d0d8e0;
}

/* パネル */
.news-panel {
    background: #fff;
    border-radius: 0 0 12px 12px;
    padding: 0 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.news-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-panel li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-panel li:last-child {
    border-bottom: none;
}

.news-panel li.no-data {
    color: #888;
    justify-content: center;
    padding: 24px 0;
}

/* 日付 */
.news-panel .item-date {
    flex-shrink: 0;
    width: 76px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #b89b5e;
    white-space: nowrap;
    margin-right: 14px;
}

/* テキスト */
.news-panel .item-text {
    flex: 1;
    color: #222;
    min-width: 0;
}

/* 詳しく→ */
.news-panel .item-link {
    display: inline;
    margin-left: 12px;
    color: #1a56a0;
    text-decoration: underline;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.news-panel .item-link:hover {
    color: #0d3a7a;
    opacity: 0.85;
}

/* 戻るリンク */
.back-link {
    display: inline-block;
    margin-top: 32px;
    color: #1a56a0;
    text-decoration: underline;
    font-size: 0.9rem;
}

.back-link:hover {
    color: #0d3a7a;
}

/* スマホ */
@media (max-width: 600px) {
    .tab-btn {
        padding: 9px 16px;
        font-size: 0.88rem;
    }

    .news-panel {
        padding: 0 14px;
    }

    .news-panel li {
        font-size: 0.9rem;
        padding: 12px 0;
    }

    .news-panel .item-date {
        width: 66px;
        margin-right: 10px;
    }
}
