/* 記事の一覧（nw-）と「探す」のハブ（sh-）。H17・DEV-015・2026-10-01。器は search.css の .ls（白い見出し）＋discover.css の .dc-head・.ls-tabs
   見た目の正は design/exports/news-pc.png・search-hub-pc.png・news-search-sp.png。色と形は solacom-tokens.css だけ。Orange は置かない */
.nw .ls-body, .sh .ls-body { padding-top: 20px; padding-bottom: 48px; }
.sg-vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 記事 ---------- */
.nw-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.nw-chips { flex: 1; min-width: 0; }
.nw-chips .ls-tab small { font: 600 12px/1 var(--font-num); color: var(--text-muted); margin-left: 2px; }
.nw-chips .ls-tab.is-on small { color: inherit; }
.nw-chip--x :is(i, svg) { font-size: 11px; color: var(--text-muted); margin-left: 2px; }
.nw-kw { position: relative; display: flex; align-items: center; flex: none; width: 280px; height: 40px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card); }
.nw-kw > :is(i, svg) { position: absolute; left: 12px; color: var(--text-muted); font-size: 13px; pointer-events: none; }
.nw-kw input { width: 100%; height: 100%; padding: 0 36px 0 34px; border: 0; background: transparent; color: var(--text-heading); font: 400 14px var(--font-body); }
.nw-kw input:focus { outline: none; }
.nw-kw:focus-within { border-color: var(--border-brand); }
.nw-kw__x { position: absolute; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--r-sm); color: var(--text-muted); }
.nw-kw__x:hover { background: var(--surface-sunken); color: var(--text-heading); }

.nw-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); overflow: hidden; }
.nw-card:hover { border-color: var(--border-strong); }
.nw-card__link { position: absolute; inset: 0; z-index: 1; }
.nw-card__ph { position: relative; aspect-ratio: 16 / 9; background: var(--surface-sunken); overflow: hidden; }
.nw-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw-card__phin { display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--text-muted); font-size: 12px; font-weight: 600; }
.nw-card__phin :is(i, svg) { font-size: 26px; opacity: .7; }
.nw-card.is-ph .nw-card__phin { display: flex; }
.nw-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.nw-card__meta { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; color: var(--text-muted); }
.nw-cat { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); background: var(--surface-brand-soft); color: var(--text-link); font-size: 11.5px; font-weight: 700; }
.nw-card__t { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--text-heading); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card__sum { margin: 0; font-size: 13px; line-height: 1.7; color: var(--text-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card__src { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.nw-card__src :is(i, svg) { font-size: 10px; margin-left: 2px; }
/* 上の段: 大きい1枚＋右に行3つ */
.nw-top { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.nw-card--big .nw-card__t { font-size: 22px; -webkit-line-clamp: 2; }
.nw-card--big .nw-card__body { padding: 16px 20px 18px; }
.nw-side { display: flex; flex-direction: column; gap: 12px; }
.nw-card--row { flex-direction: row; align-items: stretch; }
.nw-card--row .nw-card__meta { flex-wrap: wrap; row-gap: 2px; }
.nw-card--row .nw-card__meta .nw-cat { display: none; }
.nw-card--row .nw-card__ph { flex: none; width: 96px; aspect-ratio: auto; min-height: 72px; }
.nw-card--row .nw-card__phin :is(i, svg) { font-size: 20px; }
.nw-card--row .nw-card__phin small { display: none; }
.nw-card--row .nw-card__body { padding: 12px 14px; gap: 4px; justify-content: center; }
.nw-card--row .nw-card__t { font-size: 14px; }
.nw-card--row .nw-card__meta { order: 2; }
.nw-card--row .nw-card__src { display: none; }
.nw-card--row .nw-card__meta::after, .nw-sp-row .nw-card__meta::after { content: attr(data-src); font-weight: 600; }
.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.nw-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.nw-pager { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; }
.nw-pager a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; color: var(--text-link); }
.nw-pager a:hover { text-decoration: underline; text-underline-offset: .2em; }
.nw-pager .is-off { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; color: var(--text-faint); }
.nw-pager__n { font: 600 14px/1 var(--font-num); color: var(--text-body); }
.nw-month { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nw-month label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.nw-month select { height: 40px; padding: 0 36px 0 12px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c96' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--text-heading); font: 500 14px var(--font-body); appearance: none; -webkit-appearance: none; }
.nw-month__go { height: 40px; padding: 0 14px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card); color: var(--text-heading); font: 700 13px var(--font-body); }

/* ---------- 探すのハブ ---------- */
.sh .ls-body { max-width: 1008px; }
.sh-box { padding: 20px 24px 22px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); }
.sh-box h2 { margin: 0 0 14px; font-size: 16px; font-weight: 800; color: var(--text-heading); }
.sh-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end; }
.sh-f { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--text-heading); }
.sh-f select { height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--border-default); border-radius: var(--r-md); background: var(--surface-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7c96' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--text-heading); font: 500 15px var(--font-body); appearance: none; -webkit-appearance: none; }
.sh-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 26px; border: 0; border-radius: var(--r-md); background: var(--surface-inverse); color: var(--text-on-inverse); font: 700 15px var(--font-body); cursor: pointer; }
.sh-go:hover { opacity: .9; }
.sh-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; }
.sh-quick > span { font-size: 12px; color: var(--text-muted); margin-right: 2px; }
.sh-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--border-default); border-radius: var(--r-pill); color: var(--text-heading); font-size: 13px; font-weight: 700; }
.sh-pill:hover { background: var(--surface-sunken); border-color: var(--border-strong); }
.sh-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.sh-feat { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); background: var(--surface-card); color: var(--text-heading); }
.sh-feat:hover { border-color: var(--border-strong); }
.sh-feat b { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; }
.sh-feat small { flex: none; }
.sh-feat__n { font: 600 13px/1 var(--font-num); color: var(--text-muted); }
.sh-feat__band { font-size: 12px; font-weight: 700; color: var(--text-muted); }
.sh-feat.is-empty .hd-ico { opacity: .6; }
.sh-rows { display: flex; flex-direction: column; margin-top: 16px; border: 1px solid var(--border-subtle); border-radius: var(--r-lg); background: var(--surface-card); overflow: hidden; }
.sh-row { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; color: var(--text-heading); font-size: 14px; font-weight: 700; }
.sh-row + .sh-row { border-top: 1px solid var(--border-subtle); }
.sh-row:hover { background: var(--surface-sunken); }
.sh-row > :is(i, svg):first-child { width: 18px; color: var(--text-muted); font-size: 14px; }
.sh-row span { flex: 1; }
.sh-row__chev { color: var(--text-muted); font-size: 12px; }

@media (max-width: 1079px) {
  .nw-top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .nw .ls-body, .sh .ls-body { padding-top: 14px; padding-bottom: 32px; }
  .nw-bar { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 14px; }
  .nw-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
  .nw-chips::-webkit-scrollbar { display: none; }
  .nw-chips .ls-tab { flex: none; }
  .nw-kw { width: 100%; height: 44px; }
  .nw-top { display: block; margin-bottom: 12px; }
  .nw-side { margin-top: 12px; }
  .nw-card--big .nw-card__t { font-size: 18px; }
  .nw-card--big .nw-card__sum { display: none; }
  .nw-card--big .nw-card__body { padding: 14px 16px; }
  /* 2本目以降は横長の行（写真 96px・題は3行で切る） */
  .nw-grid { display: flex; flex-direction: column; gap: 12px; }
  .nw-grid .nw-card, .nw-card--row { flex-direction: row; align-items: stretch; }
  .nw-grid .nw-card .nw-card__ph, .nw-card--row .nw-card__ph { flex: none; width: 96px; aspect-ratio: auto; min-height: 84px; }
  .nw-grid .nw-card .nw-card__phin :is(i, svg) { font-size: 20px; }
  .nw-grid .nw-card .nw-card__phin small { display: none; }
  .nw-grid .nw-card .nw-card__body, .nw-card--row .nw-card__body { padding: 10px 12px; gap: 4px; justify-content: center; }
  .nw-grid .nw-card .nw-card__t, .nw-card--row .nw-card__t { font-size: 14px; -webkit-line-clamp: 3; }
  .nw-grid .nw-card .nw-card__meta { order: 2; }
  .nw-grid .nw-card .nw-card__meta .nw-cat { display: none; }
  .nw-grid .nw-card .nw-card__src { display: none; }
  .nw-grid .nw-card .nw-card__meta::after { content: attr(data-src); font-weight: 600; }
  .nw-card--row .nw-card__meta .nw-cat { display: none; }
  .nw-foot { margin-top: 20px; }
  .nw-pager { width: 100%; justify-content: space-between; }
  .nw-month { width: 100%; margin-left: 0; }
  .nw-month label { flex: 1; }
  .nw-month select { flex: 1; }
  .sh-box { padding: 16px; border-radius: var(--r-lg); }
  .sh-form { grid-template-columns: 1fr 1fr; }
  .sh-f:first-child { grid-column: 1 / -1; }
  .sh-go { grid-column: 1 / -1; width: 100%; }
  .sh-quick { display: none; }
  .sh-feats { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .sh-feat { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; row-gap: 2px; align-items: center; min-height: 56px; padding: 10px 12px; border-radius: var(--r-md); }
  .sh-feat .hd-ico { grid-row: 1 / 3; }
  .sh-feat small { grid-column: 2; justify-self: start; }
  .sh-feat .hd-ico { width: 32px; height: 32px; font-size: 14px; }
  .sh-feat b { font-size: 14px; }
  .sh-rows { margin-top: 12px; }
}

/* ---------- 入口の記事（H19・DEV-066・2026-10-02）。見た目の正は design/exports/entry-parts.png・entry-news-pc.png。札と色は画像の中だけ・Orange なし ---------- */
.ne-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 12px; border: 1px solid var(--border-subtle); border-radius: var(--r-card); background: var(--surface-card); overflow: hidden; }
.ne-card:hover { border-color: var(--border-strong); }
.ne-card__link { position: absolute; inset: 0; z-index: 1; }
.ne-card__ph { flex: none; width: 224px; aspect-ratio: 16 / 9; border-radius: var(--r-md); background: var(--surface-sunken); overflow: hidden; display: grid; place-items: center; color: var(--text-muted); font-size: 24px; }
.ne-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ne-card__body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ne-card__k { margin: 0; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.ne-card__t { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.45; color: var(--text-heading); letter-spacing: var(--ls-jp-heading); }
.ne-card__src { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.ne-card--small { gap: 14px; padding: 10px; }
.ne-card--small .ne-card__ph { width: 112px; font-size: 18px; }
.ne-card--small .ne-card__k { font-size: 11px; }
.ne-card--small .ne-card__t { font-size: 14px; }
.ne-card--small .ne-card__src { font-size: 11px; }
.ne-card--tall { flex-direction: column; align-items: stretch; gap: 0; padding: 0; }
.ne-card--tall .ne-card__ph { width: 100%; border-radius: 0; }
.ne-card--tall .ne-card__body { padding: 14px 16px 16px; }
.ne-line { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-link); font-size: 14px; font-weight: 700; }
.ne-line :is(i, svg) { font-size: 14px; }
.ne-line small { font-weight: 400; font-size: 12px; color: var(--text-muted); }
.ne-line:hover span { text-decoration: underline; text-underline-offset: .2em; }
/* 記事のハブの枠（外の箱は付けない） */
.ne-hub { margin: 0 0 24px; }
.ne-hub__h { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--text-heading); letter-spacing: var(--ls-jp-heading); }
.ne-hub__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1079px) {
  .ne-card__ph { width: 176px; }
}
@media (max-width: 767px) {
  .ne-hub { margin-bottom: 16px; }
  .ne-hub__h { font-size: 16px; margin-bottom: 10px; }
  .ne-hub__row { grid-template-columns: 1fr; gap: 10px; }
  .ne-card, .ne-hub .ne-card { gap: 14px; padding: 10px; }
  .ne-card__ph, .ne-hub .ne-card__ph { width: 112px; }
  .ne-card__k { font-size: 11px; }
  .ne-card__t { font-size: 14px; }
  .ne-card__src { font-size: 11px; }
}
