/**
 * ニュースページ - シンプルなタグ形式
 */

/* ニュース記事アイテム */
.news-item-simple {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #e2e8f0;
    transition: all 0.3s ease;
}

.news-item-simple:hover {
    border-left-color: #667eea;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

/* 上部メタ情報 */
.news-meta-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

/* 日付スタイル */
.news-date-simple {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    font-family: monospace;
}

/* タグスタイル */
.news-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* カテゴリ別のタグ色 */
.news-tag.service {
    background: #667eea;
}

.news-tag.event {
    background: #48bb78;
}

.news-tag.case-study {
    background: #ed8936;
}

.news-tag.notice {
    background: #e53e3e;
}

.news-tag.announcement {
    background: #9f7aea;
}

.news-tag.update {
    background: #38b2ac;
}

/* デフォルトカテゴリ */
.news-tag:not(.service):not(.event):not(.case-study):not(.notice):not(.announcement):not(.update) {
    background: #a0aec0;
}

/* タイトルスタイル */
.news-title-simple {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
}

.news-title-simple a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title-simple a:hover {
    color: #667eea;
}

/* 抜粋スタイル */
.news-excerpt-simple {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* フィルタリング機能（将来の拡張用） */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 8px;
}

.news-filter-btn {
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-filter-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.news-filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-item-simple {
        padding: 20px 18px;
        margin: 0 -5px 15px -5px;
    }
    
    .news-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .news-title-simple {
        font-size: 16px;
    }
    
    .news-excerpt-simple {
        font-size: 13px;
    }
    
    .news-tag {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .news-date-simple {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-item-simple {
        padding: 16px 15px;
    }
    
    .news-title-simple {
        font-size: 15px;
    }
    
    .news-excerpt-simple {
        font-size: 12px;
    }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    .news-item-simple,
    .news-filter-btn {
        transition: none;
    }
}

/* カテゴリフィルタアニメーション */
.news-item-simple.hidden {
    display: none;
}

.news-item-simple.show {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}