/* ========================================
   FIX: News Links Tap Support + Desktop Layout
   ニュースリンクの確実なタップ対応 + デスクトップレイアウト維持
======================================== */

/* ニュースセクション全体を1カラムに */
.news-content {
    display: flex !important;
    flex-direction: column !important; /* 縦並びに変更 */
    align-items: center !important;
    gap: 20px !important;
}

/* ニュースヘッダー（上部）の調整 */
.news-header {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ニュースタイトルの調整 */
.news-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
}

.news-subtitle {
    font-size: 16px !important;
}

/* 装飾画像の調整 */
.news-decoration .decoration-image {
    width: 100px !important;
    height: 35px !important;
}

/* スライダー（下部）の調整 */
.news-slider {
    width: 100% !important;
    position: relative !important;
    z-index: 5 !important;
    pointer-events: auto !important;
    display: block !important;
    overflow: hidden !important;
}

/* ナビゲーションコンテナのスタイル */
.news-navigation {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-top: 20px !important;
    flex-shrink: 0 !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
}

/* ナビゲーションボタンのスタイル */
.news-prev,
.news-next {
    background-color: #3B3B3B !important;
    color: #FFFFFF !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    min-height: 44px !important;
    min-width: 44px !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    position: relative !important;
}

.news-prev:hover,
.news-next:hover {
    background-color: #0078D4 !important;
    transform: scale(1.05) !important;
}

.news-prev:disabled,
.news-next:disabled {
    background-color: #CCCCCC !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.news-slide {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    min-width: 100% !important;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* スライダーコンテナの調整 */
.news-slider-container {
    display: flex !important;
    transition: transform 0.5s ease-in-out !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
}

.news-slide-link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 20 !important;
    position: relative !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(0, 120, 212, 0.2);
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* 子要素がクリックをブロックしないように - ボタンは除外 */
.news-slide-link *:not(button):not(.news-prev):not(.news-next):not(.news-navigation):not([role="button"]):not([data-slider-prev]):not([data-slider-next]) {
    pointer-events: none !important;
}

/* 万が一 hero や overlay が上に重なっていた場合 */
.hero-overlay,
.hero-bg,
.hero-bottom-image {
    pointer-events: none !important;
}

/* タップ時のフィードバック */
.news-slide-link:active {
    background-color: rgba(0, 120, 212, 0.1) !important;
    transform: scale(0.98);
    border-radius: 8px;
    transition: transform 0.15s ease;
}

/* 全ボタンの保護ルール */
button, 
[role="button"], 
[data-slider-prev], 
[data-slider-next],
.news-prev,
.news-next,
.profile-view-all-btn,
.business-view-all-btn,
.media-view-all-btn,
.gallery-indicator {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 1000 !important;
    position: relative !important;
}
