
/* =========================
   NEWS 共通
========================= */

.news-section,
.news-page {
    padding: 60px 5%;
}

.news-page-header {
    margin-bottom: 40px;
}

.news-page-header > p,
.section-en {
    color: #888;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

.news-page-header h1,
.section-heading h2 {
    margin-top: 8px;
}

/* =========================
   記事一覧
========================= */

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.news-card {
    display: block;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.news-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 18px;
}

.news-card-meta,
.news-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: #777;
}

.news-category {
    background: #f0f0eb;
    padding: 4px 10px;
    border-radius: 20px;
}

.news-card h3 {
    font-size: 1.05rem;
    margin: 12px 0 8px;
}

.news-card-body p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
}

.news-more {
    display: block;
    text-align: right;
    margin-top: 12px;
    font-size: 0.85rem;
}

/* =========================
   カテゴリー
========================= */

.news-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.news-filter {
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
}

.news-filter.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* =========================
   個別記事
========================= */

#news-article {
    max-width: 850px;
    margin: 0 auto;
}

#news-article h1 {
    font-size: 1.7rem;
    line-height: 1.5;
    margin: 20px 0 40px;
}

.news-article-content {
    line-height: 2;
    font-size: 1rem;
}

.news-article-content p {
    margin-bottom: 24px;
}

.news-article-image {
    margin: 30px 0;
}

.news-article-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.news-article-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 8px;
}

.news-back {
    display: inline-block;
    margin-top: 40px;
    text-decoration: none;
}

.news-all-link {
    text-align: center;
    margin-top: 35px;
}

/* =========================
   PC
========================= */

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .news-section,
    .news-page {
        padding: 80px 6%;
    }

    #news-article h1 {
        font-size: 2rem;
    }
}

@media (min-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}