
.news-hero,
.news-archive,
.news-article,
.news-empty {
  width: 80%;
  margin-inline: auto;
}

.news-hero {
  padding: 3rem 0 0;
}

.news-hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: var(--fs-4xl);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.3em;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.news-hero-sub {
  font-family: 'Shippori Mincho', serif;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.625rem;
}

.news-meta-cat {
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.05em;
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 0.0625rem 0.625rem;
  line-height: 1.6;
}

.news-meta-date {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: #333333;
  letter-spacing: 0.05em;
}

.news-archive {
  padding: 0 0 5rem;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.news-tab {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 0.375rem 1.125rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.news-tab:hover,
.news-tab[aria-current="page"] {
  background: var(--primary);
  color: var(--white);
}

.news-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.news-cards-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.02);
  transition: opacity 0.2s;
}

.news-cards-link:hover {
  opacity: 0.8;
}

.news-cards-thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-light);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.news-cards-thumb.is-noimg {
  align-items: center;
}

.news-cards-noimg {
  width: 52%;
  height: auto;
  display: block;
}

.news-cards-body {
  padding: 0.875rem 1rem 1.125rem;
}

.news-cards-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.04em;
  line-height: 1.7;
  margin-top: 0.5rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.news-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-size: var(--fs-xs);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.news-pager-num:hover,
.news-pager-num[aria-current="page"] {
  background: var(--primary);
  color: var(--white);
}

.news-pager-step {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--primary);
  padding: 0 0.5rem;
  letter-spacing: 0.05em;
}

.news-pager-step:hover {
  opacity: 0.75;
}

.news-pager-gap {
  font-size: var(--fs-xs);
  color: var(--primary);
}

.news-article {
  padding: 3rem 0 5rem;
}

.news-article-title {
  font-family: 'Shippori Mincho', serif;
  font-size: var(--fs-2xl);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-top: 0.875rem;
}

.news-article-divider {
  border-top: 1px solid var(--primary);
  margin: 1.25rem 0 2rem;
}

.news-article-body {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 2rem 2.25rem;
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.02);
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 2;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

.news-article-body > * + * {
  margin-top: 1em;
}

.news-article-body h2,
.news-article-body h3,
.news-article-body h4 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.7;
  margin-top: 1.75em;
}

.news-article-body a {
  color: var(--primary);
  text-decoration: underline;
}

.news-article-body strong {
  font-weight: 700;
}

.news-article-body ul,
.news-article-body ol {
  padding-left: 1.25rem;
}

.news-article-body ul li {
  list-style: disc;
}

.news-article-body ol li {
  list-style: decimal;
}

.news-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 0.5rem;
  float: none;
}

.news-article-body figure {
  max-width: 100%;
  margin-inline: auto;
}

.news-article-body figcaption {
  font-size: var(--fs-2xs);
  color: var(--text-light);
  text-align: center;
}

.news-article-body iframe,
.news-article-body video {
  max-width: 100%;
}

.news-article-body table {
  width: 100%;
  border-collapse: collapse;
}

.news-article-body th,
.news-article-body td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
}

.news-pager-article {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.news-pager-article-link {
  display: block;
}

a.news-pager-article-link {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: opacity 0.2s;
}

a.news-pager-article-link:hover {
  opacity: 0.8;
}

.news-pager-article-link.is-next {
  grid-column: 2;
  text-align: right;
}

.news-pager-article-label {
  display: block;
  font-size: var(--fs-2xs);
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.news-pager-article-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: var(--fs-xs);
  color: var(--text);
  line-height: 1.7;
  margin-top: 0.25rem;
}

.news-back {
  text-align: center;
  margin-top: 2.5rem;
}

.news-empty {
  padding: 0 0 5rem;
  text-align: center;
}

.news-empty-text {
  font-size: var(--fs-xs);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 0;
}

.notfound-text {

  word-break: auto-phrase;
  font-size: var(--fs-sm);
  line-height: 2;
  padding: 1rem 0 0;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 900px), (max-width: 1199px) and (max-height: 500px) and (orientation: landscape) {
  .news-hero,
  .news-archive,
  .news-article,
  .news-empty {
    width: 88%;
  }

  .news-hero {
    padding-top: 2rem;
  }

  .news-hero-title {
    font-size: var(--fs-3xl);
  }

  .news-hero-sub {
    font-size: var(--fs-sm);
    letter-spacing: 0.08em;
    margin-bottom: 1.75rem;
  }

  .news-tabs {
    margin-bottom: 1.5rem;
  }

  .news-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }

  .news-cards-link {
    flex-direction: row;
    align-items: stretch;
    border-radius: 1rem;
  }

  .news-cards-thumb {
    width: 6.5rem;
    aspect-ratio: 1;
    flex-shrink: 0;
  }

  .news-cards-noimg {
    width: 76%;
  }

  .news-cards-body {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0.875rem;
    align-self: center;
  }

  .news-cards-title {
    margin-top: 0.375rem;
  }

  .news-article {
    padding-top: 2rem;
  }

  .news-article-title {
    font-size: var(--fs-xl);
    letter-spacing: 0.06em;
  }

  .news-article-body {
    padding: 1.5rem 1.25rem;
    font-size: var(--fs-sm);
    line-height: 1.8;
  }

  .news-pager-article {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-pager-article-link.is-next {
    grid-column: 1;
  }

  .news-pager-article-link.is-prev:empty {
    display: none;
  }
}
