/* news/index.html 専用スタイル */

.hero {
  position: relative;
  background: #fff;
  overflow: visible;
  padding-top: 0;
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__content {
  position: absolute;
  top: 40%;
  left: 80px;
  transform: translateY(-50%);
  z-index: 3;
}
.hero__en {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 68px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__ja {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  margin-top: 10px;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.news-list {
  width: 100%;
  padding: 100px 10vw 80px;
  background: #fff;
}
.news-list__inner {
  max-width: var(--content-max-width, 1280px);
  margin: 0 auto;
}
.news-list__filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.news-list__filter {
  --news-filter-gradient: linear-gradient(180deg, #0d47a1 0%, #1565c0 40%, #42a5f5 70%, #90caf9 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid transparent;
  color: #1565c0;
  background-image: linear-gradient(#fff, #fff), var(--news-filter-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, opacity 0.2s;
  min-width: 160px;
  box-sizing: border-box;
}
.news-list__filter:hover {
  opacity: 0.92;
}
.news-list__filter--active {
  color: #fff;
  border-color: transparent;
  background-image: var(--news-filter-gradient);
  background-clip: border-box;
  box-shadow: 0 2px 12px rgba(13, 71, 161, 0.25);
}
.news-list__filter--active:hover {
  opacity: 0.95;
}
.news-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-bottom: 50px;
}
.news-list__card {
  display: block;
  text-align: left;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
/* .news-list__card の display:block が [hidden] より特異度で勝ち、ページネーションが効かないのを防ぐ */
.news-list__card[hidden] {
  display: none !important;
}
.news-list__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.news-list__card-img-wrap {
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  position: relative;
  background: #e8e8e8;
}
.news-list__card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-list__card-sample {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.15em;
}
.news-list__card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 0;
  font-size: 14px;
}
.news-list__card-date {
  color: #1A73E8;
  font-weight: 500;
}
.news-list__card-tag {
  display: inline-block;
  background: #1967D2;
  color: #fff;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
}
.news-list__card-title {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
  padding: 12px 20px 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-list__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.news-list__page-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #1976d2;
  background: #fff;
  border: 1px solid var(--color-border, #ddd);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.news-list__page-btn:hover {
  background: rgba(25, 118, 210, 0.08);
  border-color: #1976d2;
}
.news-list__page-btn--active {
  background: #1976d2;
  color: #fff;
  border-color: #1976d2;
}
.news-list__page-btn--arrow {
  font-size: 18px;
  color: #555;
}
.news-list__page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.news-list__page-btn--arrow:disabled {
  color: #999;
}

@media (max-width: 900px) {
  .news-list__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__content {
    left: 24px;
  }
  .hero__en {
    font-size: 36px;
  }
  .hero__ja {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .header__tabs {
    display: none;
  }
  .news-list__card-meta { font-size: 15px; }
  .news-list__card-tag { font-size: 13px; }
  .news-list__card-title { font-size: 16px; }
}
@media (max-width: 600px) {
  .news-list__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-list {
    padding: 80px 5vw 60px;
  }
  .news-list__filters {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 28px;
  }
  .news-list__filter {
    min-width: 0;
    width: 100%;
  }
}
