/* 余計な依存を避けるため素のCSSだけで作る */
/*#top-head {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
}

#nav-toggle {
    position: relative;
    z-index: 100000;
}

*/
:root {
    --max: 1100px;
    --gap: 18px;
    --radius: 14px;
    --border: #e6e6e6;
    --text: #222;
    --muted: #666;
    --bg: #fff;
    --soft: #fafafa;
    --shadow: 0 6px 18px rgba(0,0,0,.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN","Noto Sans JP", sans-serif;
    color: var(--text);
    background: var(--bg);
}

.news-page {
    max-width: var(--max);
    margin: 0 auto;
    padding: 28px 16px 60px;
}

.news-header {
    margin-bottom: 18px;
}

.news-title {
    font-size: 28px;
    margin: 0 0 6px;
}

.news-lead {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.section-title {
    font-size: 18px;
    margin: 26px 0 14px;
    padding-left: 10px;
    border-left: 4px solid #111;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

@media (max-width: 920px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .news-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0,0,0,.10);
    }

.thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--soft);
    display: grid;
    place-items: center;
    overflow: hidden;
}

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.card-body {
    padding: 12px 12px 14px;
}

.card-date {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.card-title {
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* archive (accordion) */
.archive {
    display: grid;
    gap: 10px;
}

details.archive-year {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

    details.archive-year > summary {
        list-style: none;
        cursor: pointer;
        padding: 12px 14px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        details.archive-year > summary::-webkit-details-marker {
            display: none;
        }

.year-meta {
    font-weight: 400;
    color: var(--muted);
    font-size: 12px;
}

.archive-list {
    border-top: 1px solid var(--border);
    padding: 8px 14px 12px;
    display: grid;
    gap: 8px;
}

.archive-item {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

    .archive-item:last-child {
        border-bottom: none;
    }

.archive-date {
    flex: 0 0 96px;
    font-size: 12px;
    color: var(--muted);
}

.archive-link {
    color: inherit;
    text-decoration: none;
    line-height: 1.55;
}

    .archive-link:hover {
        text-decoration: underline;
    }

.error {
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid #ffcccc;
    background: #fff5f5;
    border-radius: 10px;
    color: #b30000;
    white-space: pre-wrap;
}
