/* =====================================================
   TENANi - お知らせページ専用スタイル
   宇宙的でサイバーパンクなデザインを継承
   ===================================================== */

/* ===== ニュースヒーローセクション ===== */
.news-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, 
        rgba(20, 20, 35, 0.95) 0%, 
        rgba(30, 30, 50, 0.9) 50%, 
        rgba(40, 40, 70, 0.85) 100%);
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
    transform: rotate(-45deg);
    animation: float-bg 20s ease-in-out infinite;
}

.news-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.news-hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 40px rgba(255, 0, 255, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.8);
    font-weight: 900;
}

.news-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ===== ニュースリストセクション ===== */
.news-list-section {
    padding: 80px 0;
    background: linear-gradient(180deg, 
        rgba(15, 15, 25, 0.95) 0%, 
        rgba(25, 25, 40, 0.9) 100%);
    min-height: 100vh;
}

/* ===== カテゴリーフィルター ===== */
.news-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.6) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.filter-btn:hover::before {
    width: 100%;
    height: 100%;
}

.filter-btn.active {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent-orange);
    color: #FFFFFF;
    box-shadow: 
        0 0 20px rgba(255, 107, 53, 0.4),
        inset 0 0 20px rgba(255, 107, 53, 0.1);
}

/* ===== ニュースグリッド ===== */
.news-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.1);
}

.news-item:hover::before {
    left: 100%;
}

/* ===== ニュース日付 ===== */
.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.news-date .year {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-bottom: 5px;
}

.news-date .month-day {
    font-size: 1.8rem;
    color: var(--accent-orange);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ===== ニュースコンテンツ ===== */
.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-update {
    background: rgba(0, 123, 255, 0.2);
    border: 1px solid rgba(0, 123, 255, 0.5);
    color: rgba(100, 181, 255, 0.9);
}

.category-event {
    background: rgba(255, 0, 123, 0.2);
    border: 1px solid rgba(255, 0, 123, 0.5);
    color: rgba(255, 100, 181, 0.9);
}

.category-news {
    background: rgba(0, 255, 123, 0.2);
    border: 1px solid rgba(0, 255, 123, 0.5);
    color: rgba(100, 255, 181, 0.9);
}

.category-media {
    background: rgba(0, 255, 123, 0.2);
    border: 1px solid rgba(0, 255, 123, 0.5);
    color: rgba(100, 255, 181, 0.9);
}

.category-other {
    background: rgba(255, 123, 0, 0.2);
    border: 1px solid rgba(255, 123, 0, 0.5);
    color: rgba(255, 181, 100, 0.9);
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.news-link:hover {
    color: var(--accent-orange);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

.news-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ===== ページネーション ===== */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.pagination-number.active {
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

.pagination-dots {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
}

/* ===== レスポンシブデザイン ===== */
@media (max-width: 768px) {
    .news-hero-title {
        font-size: 2.5rem;
    }
    
    .news-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .news-date {
        flex-direction: row;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 15px;
        gap: 10px;
    }
    
    .news-date .month-day {
        font-size: 1.4rem;
    }
    
    .news-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 100px 0 60px;
    }
    
    .news-hero-title {
        font-size: 2rem;
    }
    
    .news-hero-subtitle {
        font-size: 1rem;
    }
    
    .news-list-section {
        padding: 60px 0;
    }
    
    .pagination-numbers {
        display: none;
    }
    
    .pagination-btn {
        width: 45px;
        height: 45px;
    }
}