/* 新着情報ページ専用スタイル */

/* ヒーローセクション */
.news-hero {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.news-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.news-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* カテゴリフィルター */
.news-filter {
    padding: 2rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 60px;
    z-index: 100;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 25px;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #059669;
    color: #059669;
}

.filter-btn.active {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    border-color: #059669;
    color: white;
    box-shadow: var(--shadow-md);
}

/* 新着情報一覧 */
.news-list {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.news-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #059669;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.news-item.hidden {
    display: none;
}

.news-date {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 8px;
}

.date-day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.date-month {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 600;
}

.news-content {
    flex: 1;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-category.service {
    background-color: #dbeafe;
    color: #1e40af;
}

.news-category.event {
    background-color: #fef3c7;
    color: #92400e;
}

.news-category.company {
    background-color: #e0e7ff;
    color: #4338ca;
}

.news-category.technology {
    background-color: #f3e8ff;
    color: #6b21a8;
}

.news-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #059669;
}

.news-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 0.75rem;
}

/* 年度区切り */
.year-divider {
    margin: 3rem 0 2rem;
    padding: 1rem 0;
    border-top: 2px solid var(--border-color);
}

.year-divider h2 {
    color: #059669;
    font-size: 1.5rem;
    font-weight: 700;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .news-filter {
        top: 0;
        position: relative;
    }

    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding: 0 1rem;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .news-item {
        flex-direction: column;
        gap: 1rem;
    }

    .news-date {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .date-day {
        font-size: 1.5rem;
    }

    .date-month {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .news-hero h1 {
        font-size: 2rem;
    }

    .news-list {
        padding: 3rem 0;
    }

    .news-item {
        padding: 1.5rem;
    }

    .news-content h3 {
        font-size: 1.125rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}
