/* ==============================
   News Section Styles
   ============================== */

/* カラー変数定義 */
:root {
    --news-accent: #DC2626;      /* 深い赤 */
    --news-live: #B91C1C;        /* ライブ：濃い赤 */
    --news-pricing: #EF4444;     /* 料金改定：明るい赤 */
    --news-coupon: #F59E0B;      /* クーポン：アンバー */
    --news-other: #9333EA;       /* その他：紫 */
    --news-surface: rgba(255, 255, 255, 0.02);
    --news-surface-glass: rgba(255, 255, 255, 0.04);
    --news-border: rgba(255, 255, 255, 0.08);
    --news-border-glass: rgba(255, 255, 255, 0.12);
    --news-hover: rgba(255, 255, 255, 0.06);
    --news-glow: rgba(220, 38, 38, 0.2);
    --liquid-gradient: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.08) 0%, 
        rgba(185, 28, 28, 0.08) 25%, 
        rgba(239, 68, 68, 0.08) 50%, 
        rgba(245, 158, 11, 0.08) 75%, 
        rgba(147, 51, 234, 0.08) 100%);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-bottom: calc(var(--nav-height) + 4rem);
    position: relative;
    overflow: hidden;
}

/* リップル効果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(58, 134, 255, 0.3) 0%,
        rgba(58, 134, 255, 0.1) 30%,
        transparent 70%
    );
    transform: scale(0);
    animation: ripple-effect 0.8s ease-out forwards;
    pointer-events: none;
    z-index: 10;
}

/* リキッドガラス背景アニメーション */
.news-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--liquid-gradient);
    opacity: 0.3;
    animation: liquidFlow 20s ease-in-out infinite;
    z-index: -1;
    filter: blur(100px);
}

/* パーティクルアニメーション */
.news-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s infinite linear;
}

.particle::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: inherit;
    filter: blur(2px);
    opacity: 0.3;
}

.particle:nth-child(5n+1) {
    background: var(--news-accent);
    animation-duration: 12s;
    animation-delay: -2s;
}

.particle:nth-child(5n+2) {
    background: var(--news-live);
    animation-duration: 18s;
    animation-delay: -5s;
}

.particle:nth-child(5n+3) {
    background: var(--news-pricing);
    animation-duration: 15s;
    animation-delay: -8s;
}

.particle:nth-child(5n+4) {
    background: var(--news-coupon);
    animation-duration: 14s;
    animation-delay: -3s;
}

.particle:nth-child(5n) {
    background: var(--news-other);
    animation-duration: 16s;
    animation-delay: -7s;
}

.news-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 20% 50%,
        rgba(58, 134, 255, 0.03) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 80% 20%,
        rgba(131, 56, 236, 0.03) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 40% 80%,
        rgba(6, 255, 165, 0.03) 0%,
        transparent 50%
    );
    animation: floatingOrbs 15s ease-in-out infinite;
    z-index: -1;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.news-filter-btn {
    padding: 0.6rem 1.5rem;
    border: none;
    background: var(--news-surface-glass);
    color: var(--color-text);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--news-border-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.news-filter-btn:hover {
    background: var(--news-hover);
    border-color: var(--news-accent);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.news-filter-btn.active {
    background: var(--news-accent);
    color: white;
    border-color: var(--news-accent);
    box-shadow: 
        0 4px 12px rgba(220, 38, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* カテゴリ別カラー */
.news-filter-btn[data-category="live"] {
    --category-color: var(--news-live);
}

.news-filter-btn[data-category="pricing"] {
    --category-color: var(--news-pricing);
}

.news-filter-btn[data-category="coupon"] {
    --category-color: var(--news-coupon);
}

.news-filter-btn[data-category="other"] {
    --category-color: var(--news-other);
}

.news-filter-btn[data-category]:not([data-category=""]).active {
    background: var(--category-color);
    border-color: var(--category-color);
}

/* ニュースグリッド */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.news-card {
    background: var(--news-surface-glass);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid var(--news-border-glass);
    animation: fadeInUp 0.8s ease-out;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* マウストラッキング用のホバー効果 */
.news-card.mouse-tracking {
    transition: transform 0.1s ease-out;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transition: all 0.6s ease;
    border-radius: 20px;
    z-index: 0;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 20px var(--news-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
}

.news-card:hover::before {
    opacity: 1;
}

.news-card.pinned {
    border: 2px solid var(--news-accent);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.2);
}

.news-card.pinned::after {
    content: 'PINNED';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--news-accent);
    background: rgba(220, 38, 38, 0.1);
    padding: 0.4rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--news-accent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 8px rgba(220, 38, 38, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.news-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-thumbnail-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-thumbnail-placeholder::after {
    content: 'NEWS';
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.1em;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.news-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--category-color, rgba(255, 255, 255, 0.1));
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-date {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--news-accent);
}

/* ローディングスケルトン */
.news-skeleton {
    animation: skeletonLoading 1.5s ease-in-out infinite;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    border-radius: 8px;
}

.news-skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 10px;
}

.news-skeleton-text {
    height: 16px;
    width: 100%;
    margin-bottom: 8px;
}

.news-skeleton-text:last-child {
    width: 60%;
}

.news-excerpt {
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ページネーション */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.6rem 1.2rem;
    border: none;
    background: var(--news-surface-glass);
    color: var(--color-text);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid var(--news-border-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--news-hover);
    border-color: var(--news-accent);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pagination-btn.active {
    background: var(--news-accent);
    color: white;
    border-color: var(--news-accent);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ニュースモーダル */
.news-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.news-modal.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.news-modal-content {
    max-width: 800px;
    margin: 5vh auto;
    background: var(--news-surface-glass);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    animation: slideIn 0.3s ease;
    border: 1px solid var(--news-border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border: 1px solid var(--news-border);
}

.news-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.2);
}

.news-modal-body {
    padding: 2rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.news-modal-header {
    margin-bottom: 2rem;
}

.news-modal-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-modal-thumbnail {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.news-modal-content-text {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-modal-content-text h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

.news-modal-content-text h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.8rem;
    color: var(--color-text);
}

.news-modal-content-text p {
    margin-bottom: 1.5rem;
}

.news-modal-content-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.news-modal-content-text li {
    margin-bottom: 0.5rem;
}

.news-modal-content-text strong {
    color: var(--news-accent);
}

.news-modal-content-text a {
    color: var(--news-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-modal-content-text a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* SNSシェアボタン */
.news-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--news-border);
}

.news-share-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.news-share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 20px currentColor,
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #1a8cd8;
    border-color: #1DA1F2;
}

.share-btn.facebook {
    background: #4267B2;
}

.share-btn.facebook:hover {
    background: #365899;
    border-color: #4267B2;
}

.share-btn.line {
    background: #00B900;
}

.share-btn.line:hover {
    background: #00a000;
    border-color: #00B900;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* リキッドガラスアニメーション */
@keyframes liquidFlow {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-45%, -55%) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translate(-55%, -45%) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translate(-45%, -50%) rotate(270deg) scale(1.05);
    }
}

@keyframes floatingOrbs {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    33% {
        transform: translateY(-10px) rotate(120deg);
        opacity: 0.5;
    }
    66% {
        transform: translateY(5px) rotate(240deg);
        opacity: 0.4;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes energyPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

@keyframes textShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes textGlow {
    0%, 100% {
        background-position: -200% 0;
        filter: brightness(1);
    }
    50% {
        background-position: 200% 0;
        filter: brightness(1.2) drop-shadow(0 0 10px currentColor);
    }
}

@keyframes skeletonLoading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes ripple-effect {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes morphBorder {
    0%, 100% {
        border-radius: 20px;
    }
    25% {
        border-radius: 35px 20px 35px 20px;
    }
    50% {
        border-radius: 20px 35px 20px 35px;
    }
    75% {
        border-radius: 35px 20px 35px 20px;
    }
}

@keyframes neonGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px var(--news-accent),
            0 0 40px var(--news-accent),
            0 0 60px var(--news-accent);
    }
    50% {
        box-shadow: 
            0 0 30px var(--news-accent),
            0 0 60px var(--news-accent),
            0 0 90px var(--news-accent);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotateY(-30deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px) rotateY(30deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes slideInBottom {
    0% {
        opacity: 0;
        transform: translateY(100px) rotateX(30deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes slideInTop {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotateX(-30deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotateZ(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateZ(0deg);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotateY(180deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg) scale(1);
    }
}

@keyframes holographicShift {
    0%, 100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 100% 50%;
        filter: hue-rotate(90deg);
    }
    50% {
        background-position: 100% 100%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 0% 100%;
        filter: hue-rotate(270deg);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    /* ニュースフィルターボタンのスマホ対応 */
    .news-filters {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 1rem;
        margin: 0 -1rem 2rem -1rem;
        flex-wrap: nowrap;
    }
    
    .news-filters::-webkit-scrollbar {
        display: none;
    }
    
    .news-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-modal-content {
        width: 95%;
        margin: 1rem auto;
        max-height: calc(100vh - 2rem);
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .news-modal-body {
        max-height: calc(100vh - 8rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem;
    }
    
    /* 閉じるボタンをナビゲーションバーより下に配置 */
    .news-modal-close {
        position: fixed;
        top: calc(var(--nav-height) + 1rem); /* ナビゲーションバーの下に配置 */
        right: 1rem;
        z-index: 2001;
        background: rgba(0, 0, 0, 0.8);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .news-modal-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .news-modal-thumbnail {
        height: 200px;
    }

    .news-share-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-btn {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 1rem 0.5rem;
    }

    .news-filters {
        padding: 0 0.5rem;
        margin: 0 -0.5rem 2rem -0.5rem;
        gap: 0.4rem;
        position: relative;
    }
    
    /* 横スクロールのヒント表示 */
    .news-filters::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 100%;
        background: linear-gradient(to right, transparent, rgba(26, 26, 26, 0.8));
        pointer-events: none;
        z-index: 1;
    }

    .news-filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .news-card-content {
        padding: 1rem;
    }

    .news-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .news-excerpt {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .news-modal-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
        top: calc(var(--nav-height) + 0.5rem);
        right: 0.5rem;
    }
    
    .news-modal-content {
        max-height: calc(100vh - 1rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .news-modal-body {
        max-height: calc(100vh - 6rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.5rem;
    }
} 