.news-page .hero {
  min-height: auto;
  padding-top: 7.5rem;
}

.news-page .news-hero .hero-content {
  max-width: 860px;
}

.hero-content p {
  color: var(--muted);
}

.news-list-section {
  padding-top: 1rem;
}

.section-head-container {
  display: grid;
  grid-template-columns: 1fr auto;
}

.news-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  border: 1px solid rgba(17, 65, 96, 0.12);
  border-radius: 14px;
  align-items: end;
}

.news-control {
  display: grid;
}

.news-control span {
  font-size: 0.78rem;
  color: var(--muted);
}

.news-control select {
  min-width: 150px;
  border: 1px solid rgba(17, 65, 96, 0.2);
  border-radius: 12px;
  background: #fff;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  color: #163d5a;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #2d597a 50%),
    linear-gradient(135deg, #2d597a 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(60% - 3px),
    calc(100% - 10px) calc(60% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.news-control select:focus-visible {
  outline: 2px solid rgba(27, 201, 164, 0.38);
  outline-offset: 1px;
}

.news-clear-filter {
  border: 1px solid rgba(17, 65, 96, 0.18);
  border-radius: 12px;
  background-color: #fff;
  color: #1a496b;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.news-clear-filter:before {
  content: "クリア";
}

.news-clear-filter:hover,
.news-clear-filter:focus-visible {
  background-color: #105f9827;
}

.news-clear-filter[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  background-color: #fff;
  color: #1a496b;
}

.news-list {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}

.news-empty {
  margin: 0;
  padding: 1rem 0.25rem;
  color: var(--muted);
}

.news-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(243, 249, 255, 0.88));
  box-shadow: var(--shadow);
  /* padding: 1.2rem 1.2rem 1.1rem; */
}

.news-card-content {
  display: grid;
  grid-template-columns: 6fr 1fr;
  gap: 1rem;
  align-items: start;
}

.news-card-content__text {
  padding: 1.2rem 0 1.1rem 1.2rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.news-meta time {
  color: #1d4f7a;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.news-category {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(27, 201, 164, 0.25);
  background: rgba(27, 201, 164, 0.1);
  color: #0f7e67;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.news-card h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.12rem, 2.6vw, 1.48rem);
  font-family: "Zen Kaku Gothic New", "Space Grotesk", sans-serif;
}

.news-title-link {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-title-link:hover,
.news-title-link:focus-visible {
  text-decoration: underline;
}

.news-card p {
  margin: 0;
  color: var(--muted);
}

.news-detail-link {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.5rem;
  color: #1d4f7a;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.news-detail-link:hover,
.news-detail-link:focus-visible {
  text-decoration: underline;
}

.news-thumb-wrap {
  /* width: 88px; */
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding-right: 1.2rem;
}

.news-pagination {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
}

.news-pagination button {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: #133c59;
  font: inherit;
  font-size: 0.86rem;
  padding: 0.4rem 0.62rem;
  cursor: pointer;
}

.news-pagination button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.news-pagination button.is-active {
  background: #133c59;
  color: #fff;
  border-color: #133c59;
}

@media (max-width: 900px) {
  .news-page .hero {
    padding-top: 6.5rem;
  }

  .news-meta {
    flex-wrap: wrap;
  }

  .news-card-content {
    grid-template-columns: 1fr;
  }

  .news-card-content__text {
    padding: 1.2rem 1.2rem 1.1rem;
  }

  .news-thumb-wrap {
    display: none;
  }

  .section-head-container {
    grid-template-columns: 1fr;
  }

  .news-controls {
    padding: 0.5rem;
  }

  .news-control select {
    min-width: 140px;
  }

  .news-clear-filter {
    width: 20px;
    aspect-ratio: 1 / 1;
    background-image: url("/assets/img/clear_filter.svg");
    background-color: transparent;
    background-size: cover;
    background-position: center;
    border: none;
    margin-bottom: 0.3rem;
  }

  .news-clear-filter:before {
    content: "";
  }

  .news-clear-filter:hover,
  .news-clear-filter:focus-visible {
    background-color: transparent;
  }

  .news-clear-filter[disabled] {
    background-color: transparent;
  }
}