/* ========================================
   お知らせ一覧ページ専用スタイル
   ======================================== */
.news-page {
    padding: 60px 0;
    background: var(--white);
}


/* ニュースリスト */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
    position: relative;
}

.news-item-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item-link:hover {
    background-color: var(--light-gray);
}

.news-item-link:hover::before {
    opacity: 1;
}

.news-item-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    min-width: 0; /* タイトルの省略を可能にする */
}

.news-date {
    font-size: 0.95rem;
    color: var(--text-color-2);
    opacity: 0.7;
    white-space: nowrap;
    min-width: 90px;
    flex-shrink: 0;
}

.news-categories {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    flex-shrink: 0;
}

.news-category {
    display: inline-block;
    font-size: 0.85rem;
    line-height: 1;
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 12%, var(--white));
    border: 1px solid color-mix(in srgb, var(--primary-color) 25%, var(--white));
    padding: 4px 8px;
    border-radius: 999px;
    white-space: nowrap;
}

.news-title {
    font-size: 1.2rem;
    font-weight: var(--font-weight);
    color: var(--text-color-2);
    margin: 0;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.news-arrow {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.news-item-link:hover .news-arrow {
    transform: translateX(5px);
    color: var(--primary-color);
}

.no-news {
    text-align: center;
    color: var(--text-color-2);
    padding: 60px 0;
    font-size: 1.1rem;
}
.news-section-footer {
    text-align: center;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-list {
        margin-bottom: 20px;
    }
    .news-page {
        padding: 40px 0;
    }
    
    .news-item-link {
        padding: 25px 15px;
    }
    
    .news-item-content {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-date {
        min-width: auto;
        font-size: 0.9rem;
    }

    .news-category {
        font-size: 0.8rem;
    }
    
    .news-title {
        font-size: 1.1rem;
        line-height: 1.6;
        width: 100%;
    }
    
    .news-arrow {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    
    .news-item-link:hover .news-arrow {
        transform: translateY(-50%) translateX(5px);
    }
}

@media (max-width: 480px) {
    .news-item-link {
        padding: 20px 10px;
    }
    
    .news-item-content {
        gap: 15px;
    }
    
    .news-title {
        font-size: 1rem;
    }
}

