/* トライアウト開催情報［海外向け］・公式リリース情報一覧（src/lib/newsList.mjs。2026-10-31）
   上に種類の絞り込み、下に一覧。各行は行全体が押せるリンク（右に「>」）、上段に種類ラベルと更新日、見出し、抜粋1行。
   公開日のある記事は左に日付（年＋月.日）。カードの枠や影は使わず、押したくなる場所は行の背景色の変化で示す */
.newsList { --ink: #172330; --text: #33414f; --muted: #6b7a89; --rule: #e3e8ee; --hover: #f4f7fa; margin-top: 4px; }

/* 絞り込み */
.newsFilter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.newsFilter__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid #cfd7e0; border-radius: 999px; background: #fff; color: var(--text); font-size: 13px; font-weight: 700; cursor: pointer; line-height: 1; }
.newsFilter__btn:hover { border-color: var(--ink); }
.newsFilter__btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.newsFilter__btn:focus-visible { outline: 2px solid #ff7702; outline-offset: 2px; }
.newsFilter__n { font-size: 11px; font-weight: 700; opacity: .65; font-variant-numeric: tabular-nums; }

/* 一覧 */
.newsList__items { list-style: none; margin: 0 !important; padding: 0 !important; border-top: 1px solid var(--rule); }
.newsList .newsItem { position: relative; display: grid; grid-template-columns: 6.5em minmax(0, 1fr) 20px; column-gap: 24px; align-items: center; margin: 0 !important; padding: 28px 16px !important; border-bottom: 1px solid var(--rule); list-style: none; font-size: inherit !important; transition: background-color .15s; }
.newsList .newsItem::before { content: none !important; }
.newsList .newsItem[hidden] { display: none; }
.newsList .newsItem:hover { background: var(--hover); }
.newsItem__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.newsList .newsItem__upd { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.newsList .newsItem__title { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; font-size: 17px !important; line-height: 1.6 !important; font-weight: 700; color: var(--ink); }
.newsList .newsItem__title::before, .newsList .newsItem__title::after { content: none !important; }
.newsList .newsItem__title { text-align: left !important; }
.newsList .newsItem__title a { color: var(--ink) !important; text-decoration: none; }
/* 行全体を押せるように */
.newsList .newsItem__title a::after { content: ''; position: absolute; inset: 0; }
.newsList .newsItem__title a:focus-visible { outline: none; }
.newsList .newsItem:has(a:focus-visible) { outline: 2px solid #ff7702; outline-offset: -2px; }
.newsList .newsItem__excerpt { margin: 10px 0 0 !important; padding: 0 !important; font-size: 13px !important; line-height: 1.7 !important; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newsItem__go { width: 20px; height: 20px; color: #a9b4c0; transition: transform .15s, color .15s; }
.newsList .newsItem:hover .newsItem__go { color: var(--ink); transform: translateX(3px); }

.newsDate { display: flex; flex-direction: column; gap: 6px; color: var(--ink); font-variant-numeric: tabular-nums; }
.newsDate__y { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; line-height: 1; }
.newsDate__md { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: .01em; }
.newsList--noPub .newsItem { grid-template-columns: minmax(0, 1fr) 20px; }
.newsItem__body { min-width: 0; }
.newsList--noPub .newsItem__date { display: none; }

/* 種類ラベル：色分けはやめ、サイトの紺の細い枠＋紺の文字で統一（2026-11-02 ユーザー指示「カラフル過ぎる」） */
.newsLabel { display: inline-block; padding: 2px 8px; border: 1px solid #b9c3cf; border-radius: 3px; background: #fff; color: #172330; font-size: 11px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }

.newsList__moreWrap { margin: 28px 0 8px; text-align: center; }
.newsList__moreWrap[hidden] { display: none; }
.newsList__more { min-width: 220px; height: 48px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.newsList__more:hover { background: var(--ink); color: #fff; }
.newsList__more:focus-visible { outline: 2px solid #ff7702; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .newsList .newsItem, .newsItem__go { transition: none; } }

@media (max-width: 767px) {
  .newsFilter { flex-wrap: nowrap; overflow-x: auto; margin: 0 -15px 16px; padding: 0 15px 4px; scrollbar-width: none; }
  .newsFilter::-webkit-scrollbar { display: none; }
  .newsFilter__btn { flex: 0 0 auto; height: 34px; font-size: 12px; }
  .newsList .newsItem { grid-template-columns: minmax(0, 1fr) 16px; column-gap: 12px; padding: 22px 4px !important; }
  .newsList .newsItem__date { grid-column: 1; margin-bottom: 6px; }
  .newsList .newsItem__date:empty { display: none; }
  .newsList .newsItem__body { grid-column: 1; }
  .newsItem__go { grid-column: 2; grid-row: 1 / span 2; width: 16px; height: 16px; }
  .newsDate { flex-direction: row; align-items: baseline; gap: 8px; }
  .newsDate__md { font-size: 18px; }
  .newsDate__y { font-size: 12px; }
  .newsList .newsItem__title { font-size: 15px !important; }
  .newsList .newsItem__excerpt { display: none; }
  .newsList__more { width: 100%; }
}

/* 募集状況・国ラベル（2026-11-04）。募集中だけ紺で塗り、募集終了は灰色の枠 */
.newsStatus { display: inline-block; padding: 2px 8px; border: 1px solid #172330; border-radius: 3px; background: #fff; color: #6b7a89; border-color: #cfd7e0; font-size: 11px; font-weight: 700; line-height: 1.4; }
.newsStatus--open { background: #172330; border-color: #172330; color: #fff; }
.newsItem__countries { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.newsCountry { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #eef2f6; color: #33414f; font-size: 11px; line-height: 1.6; }
.newsCountry--more { background: none; color: #6b7a89; padding-left: 2px; }

/* ページ内の一覧（5件＋もっと見る） */
.newsList--embed { margin: 12px 0 20px; }
.newsList--embed .newsItem { padding: 20px 12px !important; }
.newsList--embed .newsItem__title { font-size: 15px !important; }
.newsList--embed .newsItem__excerpt { display: none; }
.newsList--embed .newsDate__md { font-size: 22px; }
.newsList--embed .newsItem { grid-template-columns: 5em minmax(0, 1fr) 20px; column-gap: 16px; }
.newsList--embed.newsList--noPub .newsItem { grid-template-columns: minmax(0, 1fr) 20px; }
.aboutTryout_feed { margin-top: 8px; }

/* 記事ページのラベル（アイキャッチの上。押せない） */
.articleTags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.articleTag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #eef2f6; color: #33414f; font-size: 12px; line-height: 1.6; }
.articleTag--agent { background: #fff; border: 1px solid #b9c3cf; color: #172330; font-weight: 700; }
.articleTags .newsStatus { font-size: 12px; padding: 2px 10px; }

@media (max-width: 767px) {
  .newsList--embed .newsItem { grid-template-columns: minmax(0, 1fr) 16px; padding: 18px 4px !important; }
}
a.articleTag { text-decoration: none !important; transition: background-color .15s, border-color .15s; }
a.articleTag:hover { background: #dfe6ee; }
a.articleTag--agent:hover { background: #f4f7fa; border-color: #172330; }
a.articleTag:focus-visible { outline: 2px solid #ff7702; outline-offset: 2px; }
/* 国別トップ：トップのニュースと同じ幅（最大1250px・中央） */
.aboutTryout_feed { max-width: 1250px; margin: 40px auto 0; padding-inline: 20px; }
@media (max-width: 1000px) { .aboutTryout_feed { margin: 32px 16px 0; padding-inline: 0; } }
