@charset "UTF-8";
/* CSS Document */
/* ===================================
   ニュースセクション - メインスタイル
   =================================== */

.news-section {
    padding: 80px 0 100px;
    background-color: #ffffff;
    position: relative;
}

/* ヘッダー部分 */
.news-header {
    text-align: left;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px;
}

.news-title {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #f5f5f5;
    margin: 0;
    position: relative;
    z-index: 1;
}

.news-subtitle {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #333333;
    margin-top: -35px;
    position: relative;
    z-index: 2;
}

/* スライダーコンテナ */
.news-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.news-slider {
    overflow: hidden;
    width: 100%;
}

.news-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 20px 0;
}

.news-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

/* ニュースカード */
.news-card {
    flex: 0 0 320px;
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.news-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #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-content {
    padding: 25px 20px;
}

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

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background-color: #333333;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* スラッグごとの背景色 */
.news-category.cat-pick-up {
    background-color: #000000; /* ブラック */
}

.news-category.cat-press {
    background-color: #424242; /* ダークグレー */
}

.news-category.cat-news {
    background-color: #616161; /* ミディアムグレー */
}

.news-category.cat-release {
    background-color: #212121; /* チャコールブラック */
}

.news-date {
    font-size: 12px;
    color: #999999;
    letter-spacing: 0.05em;
}

/* タイトル */
.news-card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #333333;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 抜粋 */
.news-card-excerpt {
    font-size: 13px;
    line-height: 1.7;
    color: #666666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* スライダーボタン */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: #333333;
    border-color: #333333;
    color: #ffffff;
}

.slider-btn svg {
    color: inherit;
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

/* VIEW ALL リンク */
.news-view-all {
    text-align: center;
    margin-top: 50px;
}

.view-all-link {
    display: inline-block;
    padding: 12px 40px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #333333;
    text-decoration: none;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    background-color: #333333;
    color: #ffffff;
}

/* 投稿なしメッセージ */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
    font-size: 14px;
}

/* ===================================
   レスポンシブデザイン
   =================================== */

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

    .news-title {
        font-size: 48px;
    }

    .news-subtitle {
        font-size: 12px;
        margin-top: -25px;
    }

    .news-slider-container {
        padding: 0 40px;
    }

    .news-card {
        flex: 0 0 280px;
    }

    .news-card-image {
        height: 200px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}

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

    .news-title {
        font-size: 36px;
    }

    .news-subtitle {
        font-size: 11px;
        margin-top: -18px;
    }

    .news-slider-container {
        padding: 0 30px;
    }

    .news-grid {
        gap: 20px;
    }

    .news-card {
        flex: 0 0 260px;
    }

    .news-card-content {
        padding: 20px 15px;
    }

    .news-card-title {
        font-size: 15px;
    }

    .news-card-excerpt {
        font-size: 12px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }
}