/* ------------------------------ */
/* page: NEWS */
/* ------------------------------ */

.newsMain {
  background: var(--color-white);
}

.newsArchive {
  padding-top: 70px;
  padding-bottom: 90px;
}

.newsArchive__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-bottom: 58px;
  flex-wrap: wrap;
}

.newsTab {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0 0 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #838383;
  cursor: pointer;
  transition: transform 0.25s ease, color 0.25s ease;
}

.newsTab:hover:not(.is-active),
.newsTab:focus-visible:not(.is-active) {
  transform: scale(1.05);
  color: #555;
}

.newsTab:focus-visible {
  outline: 2px solid var(--color-corporate, #b50c18);
  outline-offset: 4px;
}

.newsTab.is-active {
  color: var(--color-text);
}

.newsTab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  .newsTab {
    transition: color 0.2s ease;
  }

  .newsTab:hover:not(.is-active),
  .newsTab:focus-visible:not(.is-active) {
    transform: none;
  }
}

.newsItem {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  column-gap: clamp(16px, 2.5vw, 28px);
  row-gap: 8px;
  padding: 22px 44px 20px 0;
  border-bottom: 1px solid var(--color-text);
  margin-top: 50px;
}

.newsItem__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin: 0;
}

.newsItem__date {
  font-size: 16px;
  line-height: 1.4;
  color: #838383;
}

.newsItem__tag {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
}

.newsItem__tag--award {
  color: var(--color-green);
}

.newsItem__tag--media {
  color: var(--color-blue);
}

.newsItem__tag--event {
  color: var(--color-orange);
}

.newsItem__title {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* お知らせ一覧のみ：日付・タグを上段、タイトルを下段（TOP の .newsList--top は横並びのまま） */
.newsArchive .newsList--archive .newsItem {
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  row-gap: clamp(10px, 1.5vw, 14px);
  column-gap: 0;
}

.newsArchive .newsList--archive .newsItem__title {
  flex: none;
  width: 100%;
  max-width: 100%;
}

.newsItem__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
}

.newsItem__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  transform: translateY(-50%);
  background: #838383;
}

.newsItem__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid #838383;
  border-right: 1px solid #838383;
  transform: translateY(-50%) rotate(45deg);
}

.newsPager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 100px;
}

.newsPager__link,
.newsPager__next {
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text);
}

.newsPager__link.is-active {
  font-weight: 700;
}

.newsPager__next {
  position: relative;
  width: 18px;
  height: 18px;
}

.newsPager__next::before,
.newsPager__next::after {
  content: "";
  position: absolute;
}

.newsPager__next::before {
  left: 2px;
  top: 50%;
  width: 12px;
  height: 1px;
  transform: translateY(-50%);
  background: var(--color-text);
}

.newsPager__next::after {
  right: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--color-text);
  border-right: 1px solid var(--color-text);
  transform: translateY(-50%) rotate(45deg);
}

@media (max-width: 900px) and (min-width: 99999px) {
  /* ↑ responsive 一時 OFF（有効化: 行頭の @media から「 and (min-width: 99999px)」を削除） */
  .newsArchive {
    padding-top: 44px;
    padding-bottom: 64px;
  }

  .newsArchive__tabs {
    justify-content: flex-start;
    gap: 18px;
    margin-bottom: 38px;
  }

  .newsItem {
    padding-right: 30px;
  }

  .newsItem__meta {
    gap: 12px;
  }
}

