/**
 * News Section Styles - Refactored Version
 * ニュースセクションスタイル - リファクタリング版
 */

/* ============================================
   ニュースセクション基本スタイル
   ============================================ */

.news-section {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    margin: -81px auto 0;
    max-width: 1160px;
    position: relative;
    z-index: 10;
}

.news-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    overflow-x: hidden; /* 横方向のスクロールバーを防ぐ */
    overflow-y: visible; /* 縦方向は可視（ボタンが切り取られないように） */
}

/* ============================================
   ニュースヘッダー
   ============================================ */

.news-header {
    text-align: center;
    flex-shrink: 0;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-decoration {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-decoration .decoration-image {
    width: 120px;
    height: 40px;
    object-fit: contain;
    opacity: 0.8;
}

.news-titles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.news-title {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 48px; /* 他のセクションと統一するためサイズを大きく */
    line-height: 1.2; /* line-heightを修正 */
    letter-spacing: 0.05em; /* letter-spacingを調整 */
    color: #2c3e50; /* 他のセクションと統一 */
    margin: 0;
    text-align: center;
}

.news-subtitle {
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    font-size: 18px; /* 他のセクションと統一 */
    line-height: 1.3; /* line-heightを修正 */
    letter-spacing: 0.1em; /* letter-spacingを調整 */
    color: #7f8c8d; /* 他のセクションと統一 */
    text-align: center;
}

/* ============================================
   ニューススライドコンテンツ
   ============================================ */

.news-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-date {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.news-description {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.news-title-text {
    font-size: 18px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.5;
}

.news-excerpt {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-top: 4px;
}

.news-slide-empty {
    pointer-events: none;
    cursor: default;
}

/* ============================================
   モバイル対応
   ============================================ */

@media (max-width: 768px) {
    .news-section {
        padding: 20px;
        margin: -40px auto 0;
    }

    .news-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .news-header {
        width: 100%;
        text-align: center;
    }

    .news-decoration .decoration-image {
        width: 100px;
        height: 35px;
    }

    .news-title {
        font-size: 36px; /* モバイル版でも適切なサイズに */
        line-height: 1.2;
    }

    .news-subtitle {
        font-size: 16px;
        line-height: 1.3;
    }

    .news-text {
        gap: 10px;
    }

    .news-title-text {
        font-size: 16px;
    }

    .news-excerpt {
        font-size: 13px;
    }
}

/* ============================================
   デスクトップ対応
   ============================================ */

@media (min-width: 769px) {
    .news-content {
        display: flex;
        align-items: flex-start;
        gap: 60px;
    }

    .news-header {
        width: 200px;
    }
}
