/* 入口サイト（tsumanai.com）だけに効く追加の見た目。templates/_common/assets/style.css は全サイト共通なので触らない。
   style.css のクラス（article-head・lead・point・game-cards・btn-link・data の表）で足りない分だけをここに書く。 */

/* ゲーム紹介の記事 */
.hub-crumb { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.hub-crumb a { color: var(--link); }
.hub-lead-img { margin: 0 0 16px; }
/* バナーは原寸より大きく引き伸ばさない（小さい画像がぼやける）。上限だけ決めて height は自動にする。 */
.hub-lead-img img { display: block; width: auto; max-width: min(100%, 640px); height: auto; border: 1px solid var(--line); border-radius: 4px; }
.hub-meta { margin: 18px 0 0; font-size: 12px; color: var(--muted); }
.hub-cta { margin: 18px 0 0; }

/* ゲーム紹介の一覧 */
.hub-article-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.hub-article-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.hub-article-list img { width: 180px; aspect-ratio: 460 / 215; object-fit: cover; border-radius: 4px; flex: none; }
.hub-article-body { min-width: 0; }
.hub-article-body h2 { margin: 0 0 6px; padding: 0; background: none; border: 0; color: var(--strong); font-size: 16px; line-height: 1.5; }
.hub-article-body h2 a { color: inherit; }
.hub-article-body p { margin: 0 0 6px; font-size: 13px; }
.hub-article-body .hub-meta { margin: 0; font-size: 11.5px; }
@media (max-width: 520px) {
  .hub-article-list li { flex-direction: column; }
  .hub-article-list img { width: 100%; }
}

/* カード全面を覆う疑似要素（.game-card-body > a::after）を外し、画像・タイトル・「まず読む」・「どんなゲーム？」をそれぞれ独立したリンクにする */
.game-card-body > a::after { content: none; display: none; }
.game-cards li:hover { background: #fff; }
.game-card-thumb { display: block; flex: none; }
.game-card-links a { display: inline-block; text-decoration: underline; }
.game-card-intro { margin: 4px 0 0 !important; font-size: 12.5px; font-weight: 700; }

/* 右欄の作品名リンクの折り返しを整える */
.side-menu a { line-height: 1.45; }

/* 作品紹介ページの確認バージョン・出典ブロック */
.hub-verify-box { margin: 22px 0 0; }
.hub-verify-box .table-scroll { margin-top: 12px; }

/* 更新履歴の同日別件折りたたみ */
.hub-update-more { margin: 6px 0 0; font-size: 12.5px; }
.hub-update-more summary { cursor: pointer; color: var(--link); font-weight: 700; }
.hub-update-more ul { margin: 6px 0 0; padding-left: 18px; }

/* スマホ幅（600px以下）では表を横スクロールさせず、1行ごとに縦積み表示にして操作・出典・日付を初期表示に収める */
@media (max-width: 600px) {
  .article .table-scroll { overflow-x: visible; }
  .article table.data,
  .article table.data tbody,
  .article table.data tr,
  .article table.data td { display: block; width: 100%; box-sizing: border-box; }
  .article table.data thead { display: none; }
  .article table.data tr { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin: 0 0 10px; background: #fff; }
  .article table.data td { border: 0; padding: 4px 0; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
  .article table.data td:first-child { font-weight: 700; color: var(--strong); padding-top: 0; font-size: 14px; }
  .article table.data td[data-label]:not(:first-child)::before { content: attr(data-label) "："; display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
}
