/* ==========================================================================
   インフォメーション (売り切れごめんWiFi NEWS / スクロール対応)
   ========================================================================== */

.wimax-news-section {
  position: relative;
  /* トンマナを揃えたダークグレー背景 ＋ オレンジネオン境界線 */
  /* background: rgba(15, 18, 25, 0.95); */
  background:  linear-gradient(to top, rgba(15, 18, 25, 0.95),rgba(15, 18, 25, 0));
  /* border-top: 1px solid rgba(255, 107, 0, 0.3); */
  border-bottom: 1px solid rgba(255, 107, 0, 0.3);
  padding: 60px 0;
  /* セクション全体の高さを固定。超過したニュースは縦方向だけスクロール。 */
  height: 560px;
  overflow-y: auto;
  overflow-x: hidden;
  /* ページのホイール操作を閉じ込めない。末端で親ページへスクロールを伝播。 */
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
  .wimax-news-section {
    padding: 80px 0;
    height: 660px;
  }
}

/* 統一フォーマット大見出し */
.news-section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 36px;
}

.news-title-sub {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .news-section-title {
    font-size: 40px;
    margin-bottom: 48px;
  }
}

/* ニュース外枠（サイバーカード仕様） */
.news-frame-box {
  position: relative;
  background: rgba(22, 25, 34, 0.9);
  border: 1px solid rgba(0, 198, 255, 0.25);
  border-radius: 12px;
  padding: 16px 12px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(0, 198, 255, 0.05);
  backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
  .news-frame-box {
    padding: 24px 20px;
  }
}

/* 上部のネオングラデーションライン */
.news-frame-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  box-shadow: 0 0 8px var(--color-primary);
}

/* 旧・内側スクロールを解除。縦スクロールは .wimax-news-section 一箇所に統一。 */
.news-scroll-area {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

/* セクション全体のスクロールバー。横方向のはみ出しは発生させない。 */
.wimax-news-section::-webkit-scrollbar { width: 6px; }
.wimax-news-section::-webkit-scrollbar-track { background: rgba(255,255,255,.05); }
.wimax-news-section::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 4px; }
.news-meta { flex-wrap: wrap; min-width: 0; }
.news-category,.news-item-title { overflow-wrap: anywhere; min-width: 0; }

/* ニュースリスト */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.news-item {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.news-item:last-child {
  border-bottom: none;
}

/* ニュースリンクボタン */
.news-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.news-link:hover {
  background: rgba(255, 107, 0, 0.1);
  padding-left: 18px; /* ホバーで少し右にズレる動き */
}

@media (min-width: 768px) {
  .news-link {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 16px 14px;
  }
}

/* メタ情報（日付・カテゴリー） */
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.news-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-sub);
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 0.5px;
}

.news-category {
  font-size: 10px;
  font-weight: 900;
  color: #00c6ff;
  border: 1px solid #00c6ff;
  background: rgba(0, 198, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.news-category.badge-new {
  color: #ffffff;
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
}

/* タイトル文章 */
.news-item-title {
  font-size: 14px;
  font-weight: 700;
  color: #e0e0e0;
  margin: 0;
  flex-grow: 1;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.news-link:hover .news-item-title {
  color: #ffffff;
}

/* 右矢印アイコン */
.news-arrow {
  font-size: 10px;
  color: var(--color-primary);
  opacity: 0.6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.news-link:hover .news-arrow {
  opacity: 1;
  transform: translateX(4px);
}
/* URL未設定の記事は押せるリンクに見せない（既存表示は維持）。 */
.news-link.news-static:hover {
  background: transparent;
  padding-left: 12px;
}
@media (min-width: 768px) {
  .news-link.news-static:hover { padding-left: 14px; }
}
