@charset "UTF-8";
/*
 * news アーカイブ（2026 リニューアル版・お知らせ一覧）
 * Figma: 7171:3146（PC / SP 共通の横並びリスト）
 * 自己完結（_base.css / _global.css のトークンに依存）。
 * 旧デザインは archive-news-legacy.php / 旧CSSのまま温存。
 */

.is-news-archive-2026 {
  background: var(--color-white);
}

.news-archive__section {
  padding: 120px 80px;
}

.news-archive__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* 見出し「News」（黒文字・大小文字そのまま・ユーザー指示 2026-05-30）。
   Copperplate(--font-en-heading) は全部大文字になるため、大小文字を保持する serif を使用。 */
/* .site-main h1（_base.css の margin:0・詳細度0,1,1）に勝つため .news-archive を前置（0,2,0）*/
.news-archive .news-archive__heading {
  margin: 0px 0px 80px;   /* PC: 見出し下 80px（ユーザー指示 2026-05-31）*/
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 1px;
  color: #000;
  text-align: left;
  text-transform: none;
}

/* ---- リスト ---- */
.news-list--archive {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list--archive .news-item {
  border-bottom: 1px solid rgba(76, 76, 76, 0.4);
}

.news-list--archive .news-item__link {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  padding: 18px 40px 18px 0;       /* 右は矢印分 */
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.news-list--archive .news-item__link:hover,
.news-list--archive .news-item__link:focus-visible {
  opacity: 0.7;
}

/* ラベル + 日付（左側・固定幅で揃える） */
.news-list--archive .news-item__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  flex: 0 0 auto;
}
.news-list--archive .news-item__label {
  font-family: var(--font-jp-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 1.5px;
  color: var(--color-text-sub, #767676);
}
.news-list--archive .news-item__date {
  font-family: var(--font-jp-base);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  color: var(--color-text-sub, #767676);
  white-space: nowrap;
}

/* タイトル（残り幅・1行省略）。トップ news 欄のタイトルと同じタイポに合わせる
   （front-page.css の .news-item__title：16px / 25.6px / 0.64px・ユーザー指示 2026-05-30） */
.news-list--archive .news-item__title {
  font-family: var(--font-jp-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: 0.64px;
  color: var(--color-text);
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 矢印（赤・右端） */
.news-list--archive .news-item__arrow {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 8px;
  height: 16px;
  background-color: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 20' fill='none'><path d='M1.5 1.5L8 10l-6.5 8.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 20' fill='none'><path d='M1.5 1.5L8 10l-6.5 8.5' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}

/* ---- ページネーション（‹ 1 2 3 ›） ---- */
.news-archive__pagination {
  margin-top: 48px;
}
.news-archive__pagination .page-numbers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-archive__pagination .page-numbers > li {
  display: flex;
}
.news-archive__pagination a.page-numbers,
.news-archive__pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-family: var(--font-en-product, serif);
  font-size: 15px;
  line-height: 1;
  color: var(--color-text-sub, #767676);
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-archive__pagination a.page-numbers:hover {
  color: var(--color-accent);
}
.news-archive__pagination span.page-numbers.current {
  color: var(--color-accent);
}

.news-archive__empty {
  text-align: center;
  font-family: var(--font-jp-base);
  color: var(--color-text-sub, #767676);
  padding: 80px 0;
}

/* ---- SP ---- */
@media (max-width: 797px) {
  .news-archive__section {
    padding: 60px 5%;
  }
  .news-archive .news-archive__heading {
    margin-bottom: 40px;   /* SP は見出し下を 40px に（PC の 80px を上書き）*/
    font-size: 28px;
  }
  .news-list--archive .news-item__link {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 24px 16px 0;
  }
  .news-list--archive .news-item__head {
    gap: 12px;
    flex: 0 0 100%;
  }
  .news-list--archive .news-item__label,
  .news-list--archive .news-item__date {
    font-size: 11px;
    letter-spacing: 0.8px;
  }
  /* SP はラベル+日付の下にタイトル（全幅）。1行を超えたら … で省略（ユーザー指示 2026-06-01）。 */
  .news-list--archive .news-item__title {
    flex: 1 1 100%;
    min-width: 0;            /* flex item を縮められるようにし、省略を効かせる */
    font-size: 13px;
    line-height: 1.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .news-list--archive .news-item__arrow {
    width: 7px;
    height: 14px;
    right: 4px;
  }
  .news-archive__pagination {
    margin-top: 36px;
  }
  .news-archive__pagination a.page-numbers,
  .news-archive__pagination span.page-numbers {
    font-size: 14px;
  }
}
