/* ==============================================
   製品ページ: ニュース
============================================== */

.pp-news {
    background-color: #fff !important;
    padding: 48px 0 !important;
}

.pp-news__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.pp-news__header {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
}

.pp-news__title {
    font-size: 28px !important;
    font-weight: 400 !important;
    color: #1A1A1A !important;
    margin: 0 0 16px !important;
    text-align: center !important;
}

.pp-news__subtitle {
    font-size: 18px !important;
    color: #4a5565 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* ---- ニュースカード ---- */

.pp-news__list {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pp-news__card {
    display: flex !important;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.3s;
}

.pp-news__card:hover {
    border-color: #CCFF00;
}

.pp-news__card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.pp-news__badge {
    display: inline-block;
    min-width: 80px;
    padding: 4px 12px;
    background: rgba(204, 255, 0, 0.2);
    color: #002040;
    border-radius: 9999px;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}

.pp-news__date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
}

.pp-news__date svg {
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.pp-news__card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.pp-news__card-title {
    font-size: 16px !important;
    color: #1A1A1A !important;
    margin: 0 !important;
    flex: 1;
}

.pp-news__chevron {
    flex-shrink: 0;
    color: #9ca3af;
    margin-left: 16px;
    transition: all 0.3s;
}

.pp-news__card:hover .pp-news__chevron {
    color: #002040;
    transform: translateX(4px);
}

.pp-news__chevron svg {
    width: 20px;
    height: 20px;
}

/* ---- 空状態 ---- */

.pp-news__empty {
    text-align: center;
    color: #9ca3af !important;
    font-size: 16px !important;
}

/* ---- CTA ---- */

.pp-news__cta {
    text-align: center;
    margin-top: 32px;
}

.pp-news__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #CCFF00;
    color: #1A1A1A;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s;
}

.pp-news__cta-btn:hover {
    background-color: #b8e600;
}

/* ---- ダークBG ---- */

.pp-news.pp-dark-bg {
    background-color: #002040 !important;
}

.pp-news.pp-dark-bg .pp-news__title {
    color: #fff !important;
}

.pp-news.pp-dark-bg .pp-news__subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
}

.pp-news.pp-dark-bg .pp-news__empty {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ---- レスポンシブ ---- */

@media only screen and (max-width: 640px) {
    .pp-news {
        padding: 32px 0 !important;
    }

    .pp-news__title {
        font-size: 22px !important;
    }

    .pp-news__card {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .pp-news__card-meta {
        flex-direction: row;
        gap: 8px;
    }

    .pp-news__card-body {
        flex-direction: column;
        align-items: flex-start;
    }

    .pp-news__chevron {
        display: none;
    }
}
