/* ==========================================
   News Page — Mobile First
   ========================================== */

.tai-news-page {
  --news-red: #c50018;
  --news-text: #222;
  --news-muted: #737373;
  overflow: hidden;
  background: #fff;
  color: var(--news-text);
  font-family: var(--font-ja);
}

.tai-news-page *,
.tai-news-page *::before,
.tai-news-page *::after {
  box-sizing: border-box;
}

.tai-news-page a {
  color: inherit;
  text-decoration: none;
}

.tai-news-page h1,
.tai-news-page h2,
.tai-news-page p {
  margin: 0;
}

.tai-news-page img {
  display: block;
  width: 100%;
  height: auto;
}

.news-index {
  padding: 25px 0 86px;
  margin-top: 0;
}

.news-container {
  width: auto;
  margin: 0;
  padding: 0 8%;
}

.news-tabs {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 61px;
  white-space: nowrap;
}

.news-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  color: var(--news-text);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.news-tabs a.is-active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -13px;
  width: 7px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--news-red);
}

.news-grid {
  display: block;
  margin-top: 41px;
}

.news-card {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(197, 0, 24, 0.45);
}

.news-card + .news-card {
  padding-top: 32px;
}

.news-card img {
  aspect-ratio: 318 / 190;
  object-fit: cover;
  border-radius: 8px;
}

.news-card-body {
  padding-top: 21px;
}

.news-card time {
  display: block;
  color: var(--news-red);
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700 !important;
  line-height: 1.35;
}

.news-card h2 {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

.news-card p {
  display: none;
}

.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 43px;
}

.news-pagination ul.page-numbers {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: auto;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: normal;
  list-style: none;
}

.news-pagination a.page-numbers,
.news-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--news-red);
  border-radius: 8px;
  background: #fff;
  color: var(--news-red);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.news-pagination span.page-numbers.current,
.news-pagination a.page-numbers:hover {
  background: var(--news-red);
  color: #fff;
}
