/* =========================
   NEWS
========================= */
.news {
  background: #0a0a0a;
}

.news-inner {
  max-width: 100%;
  margin: 0 auto;
}

.news-list {
  border-top: 1px solid #222;
}

.news-item {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #222;
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s;
}

.news-item:hover {
  background: rgba(255,255,255,0.02);
}

.news-meta {
  display: flex;
  gap: 12px;
}

.news-date {
  font-size: 16px;
  color: #888;
}

.news-category {
  font-size: 16px;
  color: #ff6a00;
  letter-spacing: 2px;
}

.news-title {
  font-size: 18px;
  line-height: 1.6;
}

.news-more {
  margin-top: 40px;
  text-align: right;
}

.more-link {
  text-decoration: none;
  color: #ff6a00;
  letter-spacing: 2px;
  font-size: 14px;
  position: relative;
}

.more-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff6a00;
  transition: 0.3s ease;
}

.more-link:hover::after {
  width: 100%;
}


/* =========================
   NEWS ページネーション
========================= */
#pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

#pagination button {
  background: #141414;
  border: 1px solid #ff6a00;
  color: #ff6a00;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#pagination button:hover {
  background: #ff6a00;
  color: #0a0a0a;
}

#pagination button.active {
  background: #ff6a00;
  color: #0a0a0a;
  font-weight: bold;
  cursor: default;
}

#pagination span {
  display: flex;
  align-items: center;
  padding: 0 4px;
  font-size: 14px;
  color: #888;
}

/* =========================
   NEWS FILTER
========================= */
.news-filters {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.news-filters select {
  padding: 8px 12px;
  background: #141414;
  color: #f5f5f5;
  border: 1px solid #222;
  border-radius: 5px;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}

.news-filters select:hover {
  border-color: #ff6a00;
}

.news-filters select:focus {
  outline: none;
  border-color: #ff6a00;
  box-shadow: 0 0 5px rgba(255,106,0,0.5);
}


/* =========================
   スマホ
========================= */

@media (max-width: 768px) {
  .news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 20px 0;
  }

  .news-meta {
    display: flex;
    gap: 12px;
  }

  .news-date {
  font-size: 14px;
  color: #888;
}

.news-category {
  font-size: 14px;
  color: #ff6a00;
  letter-spacing: 2px;
}


  .news-title {
    font-size: 16px;
  }

  .news-filters {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================
   タブレット対応
========================= */
@media (min-width: 769px) and (max-width: 1024px) {

    /* NEWS アイテム間隔 */
  .news-item {
    grid-template-columns: 180px 1fr;
    padding: 20px 0;
  }
  
}