/* News Page Styles - 左サイドバー + 写真付きカードグリッド */

/* Hero Section - index風 */
.news-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ee 100%);
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(127, 176, 105, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.news-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 95, 79, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.news-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.news-hero__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #5a8a6f;
    letter-spacing: 0.2em;
    margin-bottom: var(--spacing-md);
}

.news-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.news-hero__description {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
}

/* News Content Layout */
.news-content {
    padding: 40px 0 80px;
    background: #f9fafb;
}

.news-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-3xl);
}

/* Sidebar */
.news-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.news-sidebar__section {
    background: linear-gradient(135deg, #7fb069 0%, #5a8a6f 100%);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    color: var(--white);
}

.news-sidebar__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.news-sidebar__subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.news-sidebar__nav {
    margin-top: var(--spacing-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.news-sidebar__year {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.news-sidebar__year:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.news-sidebar__year.active {
    background: var(--white);
    color: #5a8a6f;
}

.news-sidebar__year i {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Main Content */
.news-main {
    min-width: 0;
}

/* Category Filter Section */
.news-filter-section {
    margin-bottom: var(--spacing-3xl);
    text-align: center;
}

.news-filter-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

/* Category Filter */
.news-filter {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}



.news-filter__tab {
    background: var(--white);
    border: 2px solid #e5e7eb;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.news-filter__tab:hover {
    border-color: #5a8a6f;
    color: #5a8a6f;
    background: #f0f9f4;
}

.news-filter__tab.active {
    background: linear-gradient(135deg, #7fb069 0%, #5a8a6f 100%);
    border-color: #5a8a6f;
    color: var(--white);
}

/* News Grid Section */
.news-grid-section {
    margin-bottom: var(--spacing-3xl);
}

.news-grid-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-2xl);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    position: relative;
}

/* No Results Message */
.news-no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-5xl) var(--spacing-2xl);
    text-align: center;
}

.news-no-results__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e5e5e5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-xl);
}

.news-no-results__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
}

.news-no-results__text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Loading Animation */
.news-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-5xl) var(--spacing-2xl);
    text-align: center;
}

.news-loading__spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--spacing-xl);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.news-loading__text {
    font-size: 1rem;
    color: var(--gray-600);
}

/* News Card */
.news-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.news-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card__image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.05);
}

.news-card__category {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

.news-card__category--news {
    background: #e3f2fd;
    color: #1565c0;
}

.news-card__category--media {
    background: #f3e5f5;
    color: #7b1fa2;
}

.news-card__category--event {
    background: #fff3e0;
    color: #e65100;
}

.news-card__category--blog {
    background: #fce4ec;
    color: #c2185b;
}

.news-card__content {
    padding: var(--spacing-xl);
}

.news-card__date {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: var(--spacing-md);
}

.news-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.375rem;
}

.news-card__excerpt {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-4xl);
}

.news-pagination__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 2px solid #e5e7eb;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-pagination__btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f9f4;
}

.news-pagination__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.news-pagination__numbers {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.news-pagination__number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid #e5e7eb;
    color: var(--gray-700);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-pagination__number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f0f9f4;
}

.news-pagination__number.active {
    background: linear-gradient(135deg, #7fb069 0%, #5a8a6f 100%);
    border-color: #5a8a6f;
    color: var(--white);
}

/* CTA Section */
.news-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5ee 100%);
}

.news-cta__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.news-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

.news-cta__description {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-large i {
    margin-left: 0.5rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 240px 1fr;
        gap: var(--spacing-2xl);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .news-hero {
        padding: 100px 0 60px;
    }

    .news-hero__title {
        font-size: 2rem;
    }

    .news-hero__description {
        font-size: 0.9375rem;
    }

    .news-content {
        padding: 30px 0 60px;
    }

    .news-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .news-sidebar {
        position: static;
    }

    .news-sidebar__section {
        padding: var(--spacing-xl);
    }

    .news-sidebar__nav {
        margin-top: var(--spacing-lg);
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .news-sidebar__nav::-webkit-scrollbar {
        display: none;
    }

    .news-sidebar__year {
        flex-shrink: 0;
    }

    .news-filter {
        margin-bottom: var(--spacing-2xl);
        justify-content: center;
    }

    .news-filter__tab {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }

    .news-grid {
        gap: var(--spacing-xl);
    }

    .news-card__image {
        height: 180px;
    }

    .news-card__content {
        padding: var(--spacing-lg);
    }

    .news-card__title {
        font-size: 1rem;
    }

    .news-pagination {
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }

    .news-cta {
        padding: 60px 0;
    }

    .news-cta__title {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .news-hero {
        padding: 80px 0 50px;
    }

    .news-hero__title {
        font-size: 1.75rem;
    }

    .news-hero__description {
        font-size: 0.875rem;
    }

    .news-content {
        padding: 20px 0 40px;
    }

    .news-sidebar__section {
        padding: var(--spacing-lg);
    }

    .news-sidebar__title {
        font-size: 1.125rem;
    }

    .news-filter {
        gap: 0.5rem;
        justify-content: center;
    }

    .news-filter__tab {
        font-size: 0.8125rem;
        padding: 0.5rem 1rem;
    }

    .news-card__image {
        height: 160px;
    }

    .news-card__content {
        padding: var(--spacing-md);
    }

    .news-card__title {
        font-size: 0.9375rem;
    }

    .news-card__excerpt {
        font-size: 0.8125rem;
    }

    .news-cta {
        padding: 50px 0;
    }

    .news-cta__title {
        font-size: 1.5rem;
    }
}
