@charset 'utf-8';
/* CSS Document */
.top {
  float: right;
  font-size: 10px;
}

/* 比較表のベース設定 */
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  color: #333;
}

/* 全体のセル設定：基本は余白あり */
.table-responsive th, 
.table-responsive td {
  border: 1px solid #ddd;
  padding: 12px 8px; /* 文字が読みやすい余白 */
  text-align: center;
  vertical-align: middle;
}

/* ヘッダー（商品名）の背景 */
.table-responsive th {
  background-color: #f2f2f2;
  font-weight: bold;
}

/* 項目名（1列目）の背景 */
.table-responsive td:first-child {
  background-color: #f9f9f9;
  font-weight: bold;
}

/* ★ここが解決策！★
   tbodyの1行目（画像行）の td だけを「余白0・高さ0」にするクマ */
.table-responsive tbody tr:first-child td {
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* 画像自体の設定 */
.table-img {
  width: 100px;
  max-width: 100px;
  height: auto;
  display: block; /* 下の隙間を消す */
  margin: 0 auto;
  vertical-align: bottom;
}

/* 横スクロール設定 */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
