/* News page styles */
.news-page {
  background: #fff;
  color: #1f1f1f;
  min-height: 100vh;
}

.news-hero {
  padding: 96px 20px 48px;
  text-align: center;
}

.news-hero__inner {
  max-width: 960px;
  margin: 0 auto;
}

.news-hero__title {
  margin: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.news-hero__title .en {
  font-size: 14px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #249F80;
}

.news-hero__title .ja {
  font-size: 42px;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #1f1f1f;
}

.news-section {
  padding: 8px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-section__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.news-section__head h2 {
  font-size: 22px;
  margin: 0;
}

.news-count {
  color: #7a7a7a;
  font-size: 14px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  column-gap: 50px;
  row-gap: 50px;
}

.news-card {
  display: flex;
  flex-direction: row;
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 220px;
  position: relative;
}

.news-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #1e80d6 0%, #0e2fd1 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 80px;
  box-shadow: 0 6px 16px rgba(31, 190, 196, 0.25);
  z-index: 2;
  pointer-events: none;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.news-card__thumb {
  position: relative;
  flex: 1 1 50%;
  min-width: 220px;
  background: #f2f2f2;
  aspect-ratio: 16 / 9;
}

.news-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__thumb--placeholder {
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #9a9a9a;
  text-transform: uppercase;
}

.news-card__body {
  padding: 18px 56px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 50%;
}

.news-card h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 0;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__desc {
  font-size: 13px;
  color: #5c5c5c;
  line-height: 1.5;
  margin: 0;
  line-clamp: 4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  font-size: 12px;
  color: #8a8a8a;
  margin-top: auto;
}

.news-card__arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  pointer-events: none; /* 全体がリンクなので押下はアンカーで拾う */
}

.news-card__arrow img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: hue-rotate(195deg) saturate(2.2) brightness(1.05);
}

.news-card--skeleton {
  height: 240px;
  background: linear-gradient(90deg, #f3f3f3 0%, #e9e9e9 50%, #f3f3f3 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

.news-empty {
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

.news-pager {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.news-pager__btn {
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #1f1f1f;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.news-pager__btn:hover {
  border-color: #1e80d6;
  color: #1e80d6;
}

.news-pager__btn.is-active {
  background: #1e80d6;
  color: #fff;
  border-color: #1e80d6;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 767px) {
  .news-hero {
    padding: 72px 16px 40px;
  }
  .news-hero__title .en {
    font-size: 12px;
  }
  .news-hero__title .ja {
    font-size: 32px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    flex-direction: column;
    min-height: auto;
  }
  .news-card__thumb {
    flex: 0 0 auto;
    min-width: 100%;
  }
  .news-card__body {
    padding: 14px 14px 18px;
  }
  .news-card__arrow {
    right: 12px;
    width: 28px;
    height: 28px;
    padding: 0;
  }
  .news-section {
    padding: 0 16px 64px;
  }
}
