/* ===================================================
   news.css — NEWSページ専用スタイル
   =================================================== */

body { background-color: #efefef; color: #2c3545; }

/* ===== PAGE LAYOUT ===== */
.news-page { display: flex; min-height: 100vh; padding-top: 88px; }

/* ===== SIDEBAR ===== */
.news-sidebar {
  width: 280px; flex-shrink: 0; background: #efefef;
  padding: 72px 36px 80px 60px;
  position: sticky; top: 88px;
  height: calc(100vh - 88px); overflow-y: auto;
}
.news-title-block { margin-bottom: 52px; }
.news-title-ja { display: block; font-size: 13px; font-weight: 600; color: #1c5bd9; letter-spacing: 0.08em; margin-bottom: 2px; }
.news-title-en { font-family: 'Poppins', sans-serif; font-size: 76px; font-weight: 700; color: #1c5bd9; line-height: 1; letter-spacing: 0.01em; }
.nav-section { margin-bottom: 36px; }
.nav-section-title { font-size: 11px; font-weight: 700; color: #1a1a2e; letter-spacing: 0.15em; padding-bottom: 10px; border-bottom: 1.5px solid #c8c8c8; margin-bottom: 4px; }
.nav-filter-list li { padding: 10px 0; font-size: 13px; color: #4a5568; border-bottom: 1px solid #e0e0e0; cursor: pointer; transition: color 0.15s; display: flex; align-items: center; gap: 6px; }
.nav-filter-list li:hover { color: #1c5bd9; }
.nav-filter-list li.active { color: #1c5bd9; font-weight: 600; }
.nav-filter-list li.active::before { content: '•'; color: #1c5bd9; font-size: 16px; line-height: 1; }

/* ===== MAIN ===== */
.news-main { flex: 1; background: #fff; padding: 72px 80px 100px 56px; }
.news-count-text { text-align: right; font-size: 12px; color: #aaa; margin-bottom: 4px; font-family: 'Poppins', sans-serif; }
.news-loading { padding: 80px 0; text-align: center; color: #aaa; }
.news-empty { padding: 80px 0; text-align: center; color: #aaa; font-size: 14px; }

/* ===== NEWS LIST ===== */
.news-list { list-style: none; }
.news-list-item { border-bottom: 1px solid #eaeaea; }
.news-list-item:first-child { border-top: 1px solid #eaeaea; }
.news-list-item a { display: flex; align-items: center; gap: 28px; padding: 24px 0; transition: opacity 0.2s; }
.news-list-item a:hover { opacity: 0.72; }

/* Thumbnail */
.news-thumb {
  flex-shrink: 0; width: 264px; height: 148px;
  border-radius: 6px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #1c5bd9 100%);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,20,80,0.88) 0%, rgba(10,20,80,0.1) 55%, transparent 100%);
  padding: 0 14px 14px; display: flex; flex-direction: column; justify-content: flex-end;
}
.news-thumb-cat-badge { display: inline-block; font-size: 9px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.65); padding: 2px 9px; border-radius: 2px; letter-spacing: 0.08em; margin-bottom: 5px; align-self: flex-start; }
.news-thumb-text { font-size: 11px; font-weight: 600; color: #fff; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Body */
.news-item-body { flex: 1; min-width: 0; }
.news-item-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-item-date { font-size: 13px; color: #999; font-family: 'Poppins', sans-serif; letter-spacing: 0.03em; white-space: nowrap; }
.news-item-cat-tag { display: inline-block; font-size: 11px; color: #1c5bd9; border: 1px solid #1c5bd9; padding: 2px 10px; border-radius: 2px; letter-spacing: 0.05em; white-space: nowrap; }
.news-item-title { font-size: 15px; font-weight: 600; color: #1a1a2e; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Arrow */
.news-item-arrow { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #1c5bd9; color: #fff; display: flex; align-items: center; justify-content: center; }
.news-item-arrow .material-icons { font-size: 18px; }

@media (max-width: 768px) {
  .news-page {
    display: block;
    padding-top: 72px;
  }

  .news-sidebar {
    position: static;
    width: 100%;
    height: auto;
    padding: 40px 20px 24px;
    overflow: hidden;
  }

  .news-title-block {
    margin-bottom: 28px;
  }

  .news-title-en {
    font-size: clamp(44px, 15vw, 60px);
  }

  .nav-section {
    margin-bottom: 22px;
  }

  .nav-filter-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .nav-filter-list li {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #d8dde8;
    border-radius: 999px;
    background: #fff;
    white-space: nowrap;
  }

  .nav-filter-list li.active::before {
    display: none;
  }

  .news-main {
    padding: 34px 20px 76px;
  }

  .news-count-text {
    text-align: left;
    margin-bottom: 12px;
  }

  .news-list-item a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 0;
  }

  .news-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .news-item-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-item-title {
    font-size: 14px;
    line-height: 1.7;
    -webkit-line-clamp: 3;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .news-item-arrow {
    display: none;
  }
}
