/* =========================================================
  News Index Page
========================================================= */

.news-page {
  color: #111;
  background: #fff;
}

.news-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.news-section {
  padding: 80px 0;
}

/* Hero
--------------------------------------------------------------------------- */

.news-hero {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 48%,
    #f4f6f8 48%,
    #f4f6f8 100%
  );
  overflow: hidden;
}

.news-hero__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.news-hero__label {
  margin: 0 0 12px;
  color: #9b001f;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-hero__title {
  margin: 0;
  color: #111;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-hero__text {
  margin: 28px 0 0;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 600;
}

.news-hero__text span {
  white-space: nowrap;
}

.news-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 40px;
  object-fit: cover;
}

/* Lead
--------------------------------------------------------------------------- */

.news-lead {
  padding: 48px 0 0;
}

.news-lead p {
  max-width: 860px;
  margin: 0 auto;
  color: #333;
  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

/* Heading
--------------------------------------------------------------------------- */

.news-heading {
  margin-bottom: 36px;
  text-align: center;
}

.news-heading__en {
  margin: 0 0 8px;
  color: #9b001f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.news-heading__ja {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Filter
--------------------------------------------------------------------------- */

.news-filter {
  margin-bottom: 34px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.news-filter__block + .news-filter__block {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
}

.news-filter__label {
  margin: 0 0 10px;
  color: #555;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.news-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-filter__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 74px;
  padding: 9px 15px;

  color: #333;
  background: #fff;

  border: 1px solid #dcdcdc;
  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.news-filter__button:hover {
  color: #9b001f;
  border-color: #9b001f;
  box-shadow: 0 4px 12px rgba(155, 0, 31, 0.12);
  transform: translateY(-1px);
}

.news-filter__button.is-active {
  color: #fff;
  background: #9b001f;
  border-color: #9b001f;
  box-shadow: 0 5px 14px rgba(155, 0, 31, 0.18);
}

.news-filter__button.is-disabled {
  color: #aaa;
  background: #f5f5f5;
  border-color: #e5e5e5;
  cursor: default;
  pointer-events: none;
}

.news-filter__buttons--month {
  gap: 8px;
}

.news-filter__buttons--month .news-filter__button {
  min-width: 58px;
  padding: 8px 12px;
  font-size: 0.86rem;
}

.news-filter__buttons--category {
  gap: 8px;
}

.news-filter__buttons--category .news-filter__button {
  min-width: auto;
  padding: 8px 14px;
  font-size: 0.86rem;
}

.news-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 36px 24px;
  color: #555;
  text-align: center;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
}

/* News list
--------------------------------------------------------------------------- */

.list-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.list {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: #333;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.list figure {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  background: #f2f2f2;
  overflow: hidden;
}

.list figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.list .text {
  flex: 1;
  padding: 22px 20px 0;
}

.list h3 {
  margin: 0;
  color: #111;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 800;
}

.list h3 a {
  color: inherit;
  text-decoration: none;
}

.list h3 a:hover {
  color: #9b001f;
}

.list p {
  margin: 12px 0 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.8;
}

.list .btn {
  margin: 20px 20px 24px;
}

.list .btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 13px 22px;

  color: #fff !important;
  background: #9b001f;

  border: 1px solid #9b001f;
  border-radius: 6px;

  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;

  box-shadow: 0 6px 14px rgba(155, 0, 31, 0.22);

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.list .btn a::after {
  content: "→";
  margin-left: 10px;
}

.list .btn a:hover {
  color: #9b001f !important;
  background: #fff;
  border-color: #9b001f;
  box-shadow: 0 8px 18px rgba(155, 0, 31, 0.16);
  transform: translateY(-1px);
}

.list .new {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: auto;
  min-width: 48px;
  line-height: 1;
  padding: 7px 10px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  background: #9b001f;
  border-radius: 999px;
  transform: none;
}

/* Pagination
--------------------------------------------------------------------------- */

.news-controls--pagination {
  display: flex;
  justify-content: center;
  margin: 36px 0 0;
}

#pagination-container {
  display: inline-block;
}

.paginationjs {
  font-size: 0.95rem;
}

.paginationjs .paginationjs-pages li > a {
  color: #333;
}

.paginationjs .paginationjs-pages li.active > a {
  background: #9b001f;
  border-color: #9b001f;
}

/* Responsive
--------------------------------------------------------------------------- */

@media (max-width: 1074px) {
  .list-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .news-hero {
    background: #fff;
  }

  .news-hero__inner {
    max-width: 720px;
    min-height: auto;
    padding: 28px 0 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .news-hero__image img {
    max-height: 360px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
  }

  .news-lead p {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .news-container,
  .news-hero__inner {
    width: min(100% - 28px, 1120px);
  }

  .news-hero__text span {
    white-space: normal;
  }

  .news-section {
    padding: 56px 0;
  }

  .news-lead {
    padding: 36px 0 0;
  }

  .news-filter {
    padding: 20px 18px;
  }

  .news-filter__buttons {
    gap: 8px;
  }

  .news-filter__button {
    min-width: auto;
    padding: 8px 13px;
    font-size: 0.86rem;
  }

  .list-container {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .list .text {
    padding: 20px 18px 0;
  }

  .list .btn {
    margin: 18px 18px 22px;
  }

  .list h3 {
    font-size: 1rem;
  }

  .list p {
    font-size: 0.88rem;
  }
}
