/* ========== News Hero ========== */
.news-hero {
  position: relative;
  width: 100%;
  height: 350px;
  padding-top: 70px;
  overflow: hidden;
}

.news-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.news-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-hero__overlay {
  display: none;
}

.news-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
  color: #fff;
  text-align: center;
}

.news-hero__title {
  font-family: "Source Han Serif JP", serif;
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.news-hero__sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

@media screen and (max-width: 768px) {
  .news-hero {
    height: 220px;
  }

  .news-hero__title {
    font-size: 32px;
  }

  .news-hero__sub {
    font-size: 12px;
  }
}

/* ========== News List Section ========== */
.news-list-section {
  background: #f0f1f6;
  padding: 80px 40px 100px;
}

.news-list-section__inner {
  max-width: 980px;
  margin: 0 auto;
}

/* ----- Filter tabs ----- */
.news-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}

.news-filter__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 20px;
  border: 1px solid #1c3a5c;
  background: #fff;
  color: #1c3a5c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
}

.news-filter__tab:hover {
  background: #1c3a5c;
  color: #fff;
}

.news-filter__tab.is-active {
  background: #1c3a5c;
  color: #fff;
}

/* ----- List title ----- */
.news-list-section__title {
  text-align: center;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
  color: #1c3a5c;
  margin: 0 0 32px;
  letter-spacing: 0.06em;
}

/* ----- List ----- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e3e6ec;
}

.news-list__empty {
  padding: 60px 24px;
  margin: 0;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.news-list__item {
  border-bottom: 1px solid #e3e6ec;
}

.news-list__link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
  padding: 24px 8px;
  color: #1c3a5c;
  text-decoration: none;
  transition: background 0.3s;
}

.news-list__link:hover {
  background: rgba(28, 58, 92, 0.04);
}

.news-list__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-list__date {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6a7686;
  margin: 0;
}

.news-list__title {
  /* font-family: "Noto Serif JP", "Source Han Serif JP", serif; */
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #1c3a5c;
  margin: 0;
  letter-spacing: 0.02em;
}

.news-list__excerpt {
  font-size: 13px;
  line-height: 1.9;
  color: #4a5462;
  margin: 0;
  letter-spacing: 0.03em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list__item[hidden] {
  display: none;
}

.news-list__more {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 32px 0 0;
  border-bottom: 0;
}

.news-list__more[hidden] {
  display: none;
}

.news-section__more-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #fff;
  border: 1px solid #c8ccd2;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #15181c;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.news-section__more-btn:hover {
  background: #f5f6f8;
  border-color: #15181c;
}

@media screen and (max-width: 768px) {
  .news-list-section {
    padding: 56px 20px 72px;
  }

  .news-filter {
    margin-bottom: 36px;
  }

  .news-filter__tab {
    min-width: 100px;
    padding: 9px 16px;
    font-size: 12px;
  }

  .news-list-section__title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .news-list__link {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 4px;
  }

  .news-list__title {
    font-size: 14px;
  }

  .news-list__title br {
    display: none;
  }
}

/* ========== News Single Article ========== */
.news-article {
  background: #f4f5f7;
  padding: 80px 40px 100px;
}

.news-article__inner {
  max-width: 880px;
  margin: 0 auto;
}

.news-article__category {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid #717171;
  background: #fff;
  color: #808080;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.06em;
  margin: 0 0 24px;
}

.news-article__title {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 24px;
  font-weight: 600;
  color: #1c3a5c;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
  padding-bottom: 24px;
  border-bottom: 1px solid #c8cdd5;
}

.news-article__body {
  font-size: 14px;
  line-height: 2.1;
  color: #2a2f37;
  letter-spacing: 0.04em;
  margin-bottom: 64px;
}

.news-article__body p {
  margin: 0 0 1.6em;
}

.news-article__body p:last-child {
  margin-bottom: 0;
}

.news-article__body a {
  color: #126cb5;
  text-decoration: underline;
}

.news-article__body img {
  max-width: 100%;
  height: auto;
}

/* ----- Article navigation ----- */
.news-article__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.news-article__nav-prev,
.news-article__nav-next {
  display: flex;
}

.news-article__nav-prev {
  justify-content: flex-start;
}

.news-article__nav-next {
  justify-content: flex-end;
}

.news-article__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.3s, background 0.3s;
}

.news-article__nav-prev a,
.news-article__nav-next a {
  background: #1c3a5c;
  color: #fff;
}

.news-article__nav-prev a:hover,
.news-article__nav-next a:hover {
  opacity: 0.85;
}

.news-article__nav-list {
  background: #fff;
  border: 1px solid #c8cdd5;
  color: #1c3a5c;
}

.news-article__nav-list:hover {
  background: #f0f2f6;
}

@media screen and (max-width: 768px) {
  .news-article {
    padding: 48px 20px 64px;
  }

  .news-article__title {
    font-size: 18px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .news-article__body {
    font-size: 13px;
    margin-bottom: 40px;
  }

  .news-article__nav {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }

  .news-article__nav-prev {
    grid-column: 1;
    grid-row: 1;
  }

  .news-article__nav-next {
    grid-column: 2;
    grid-row: 1;
  }

  .news-article__nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  .news-article__nav a {
    min-width: 0;
    width: 100%;
    padding: 11px 16px;
    font-size: 12px;
  }
}

