/* 人相の記事ページ（ninsou/<URL>/index.html）。assets/style.css と assets/tesou/article.css のあとに読む。
   手相の記事の部品をそのまま使い、足りない分（h2 の副題・表）だけをここで足す。
   色と書体は style.css の変数を使う。手で直してよい（組み立てで上書きしない） */

/* 章の見出し：名前と、その下に一言（原稿の「名前｜一言」） */
.article-body h2 .t-shape { display: block; }
.article-body h2 .t-who { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 400; line-height: 1.6; color: #6d5a3e; }

/* 表 */
.n-table { margin: 0 0 1.4em; }
.n-table table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 0.875rem; line-height: 1.7; }
.n-table th, .n-table td { padding: 8px 10px; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: top; }
.n-table th { font-family: var(--font-display); font-weight: 500; color: var(--ink-head); border-bottom-color: var(--gold); }
.n-table td:first-child { font-family: var(--font-display); color: var(--ink-head); }

/* 狭い画面：1行を1まとまりにして縦に並べる。2列目からは列の名前を小さく添える */
@media (max-width: 599px) {
  .n-table table, .n-table tbody, .n-table tr, .n-table td { display: block; }
  .n-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .n-table tbody { border-top: 1px solid var(--gold); }
  .n-table tr { padding: 10px 2px; border-bottom: 1px solid var(--hair); }
  .n-table td { padding: 0; border: 0; }
  .n-table td:first-child { margin-bottom: 4px; font-size: 1rem; }
  .n-table td + td::before { content: attr(data-label) "："; color: #6d5a3e; }
}
