:root {
    --bg-primary: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --accent: #2980b9;
    --border: #e6e9ec;
    --header-bg: #f7f9fb;
}

/* コンテナを少し締める */
.card{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  padding:16px 18px;
  border-radius:10px;
  box-shadow:0 4px 14px rgba(30,40,60,0.06)
}

/* テーブル */
.tech-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    font-size: 12.5px;
    color: var(--text-main);
    margin: 16px 0;
    border: 1px solid var(--border);
    table-layout: fixed; /* ← 横の暴れを止める */
}
.tech-spec-table caption {
  caption-side: top;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 6px;
}

/* ヘッダ */
.tech-spec-table thead th {
    background-color: var(--header-bg);
    font-weight: 600;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

/* ボディ */
.tech-spec-table tbody td {
    padding: 8px 8px;            /* ← 詰める */
    border-bottom: 1px solid var(--border);
    line-height: 1.35;           /* ← やや詰め */
    vertical-align: top;
}

/* 行ホバー控えめ */
.tech-spec-table tbody tr:hover {
    background-color: #f6faff;
}

/* 列幅の制御（重要） */
.tech-spec-table th:nth-child(1),
.tech-spec-table td:nth-child(1) { width: 48px; }

.tech-spec-table th:nth-child(2),
.tech-spec-table td:nth-child(2) { width: 120px; }

.tech-spec-table th:nth-child(4),
.tech-spec-table td:nth-child(4) { width: 110px; }

/* 数値 */
.col-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 500;
    font-size: 12px;
    white-space: nowrap;
}

/* アライメント */
.col-center { text-align: center; }
.col-right { text-align: right; }

.class-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    font-size: 10.5px;
    font-weight: 600;

    color: #2c3e50;
    background: #eef2f5;

    border-radius: 6px;
    border: 1px solid #d5dce1;
}

/* ノート（さらに軽量化） */
.note-section {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 10px;
}

.note-block {
  margin-top: 6px;
}
.note-title {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: #5a6b75;
}

.note-block strong {
  font-weight: 600;
}

.note-block ul {
  margin: 0;
  padding-left: 14px;
}

.note-block li {
  margin: 1px 0;
  line-height: 1.35;
}
.video-wrap {
  margin-top: 6px;
  max-width: 520px;
}

.video-wrap video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #dfe5ea;
}

.video-caption {
  font-size: 11px;
  color: #6c7a80;
  margin-top: 4px;
}
