/* =========================================================
   記事用テーブル共通
   既存の通常tableには影響させない
========================================================= */

.entry-content .bday-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4em 0;
}

/* 横スクロールがあることをスマホで分かりやすくする */
.entry-content .bday-table-wrap::after {
  content: "横にスクロールできます";
  display: none;
  margin-top: 6px;
  font-size: 12px;
  color: #777;
  text-align: right;
}

/* テーブル本体 */
.entry-content table.bday-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #eadfce;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
}

/* 比較表 */
.entry-content table.bday-compare-table {
  min-width: 680px;
}

/* スペック表 */
.entry-content table.bday-spec-table {
  min-width: 560px;
}

/* 選び方表 */
.entry-content table.bday-select-table {
  min-width: 520px;
}

/* セル共通 */
.entry-content table.bday-table th,
.entry-content table.bday-table td {
  padding: 11px 12px;
  border-right: 1px solid #eadfce;
  border-bottom: 1px solid #eadfce;
  vertical-align: middle;
  text-align: left;
}

/* 最終列の右線を消す */
.entry-content table.bday-table th:last-child,
.entry-content table.bday-table td:last-child {
  border-right: none;
}

/* 最終行の下線を消す */
.entry-content table.bday-table tbody tr:last-child th,
.entry-content table.bday-table tbody tr:last-child td {
  border-bottom: none;
}

/* ヘッダー */
.entry-content table.bday-table thead th {
  background: #fff3d6;
  color: #3a2a1a;
  font-weight: 700;
  text-align: center;
}

/* 左端の見出し列 */
.entry-content table.bday-table tbody th {
  background: #fffaf0;
  color: #3a2a1a;
  font-weight: 700;
  white-space: nowrap;
}

/* 通常セル */
.entry-content table.bday-table td {
  background: #fff;
}

/* おすすめ列 */
.entry-content table.bday-table .bday-best {
  background: #fff8e6;
}

/* おすすめ列のヘッダー */
.entry-content table.bday-table thead .bday-best {
  background: #ffe8a6;
}

/* 補足テキスト */
.entry-content table.bday-table .bday-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: #7a6650;
}

/* 評価マーク */
.entry-content table.bday-table .bday-mark {
  display: inline-block;
  min-width: 1.6em;
  margin-right: 4px;
  font-weight: 700;
  text-align: center;
}

/* 評価：高 */
.entry-content table.bday-table .bday-mark-a {
  color: #e85d04;
}

/* 評価：中 */
.entry-content table.bday-table .bday-mark-b {
  color: #2f8f46;
}

/* 評価：低 */
.entry-content table.bday-table .bday-mark-c {
  color: #777;
}

/* 評価ラベル */
.entry-content table.bday-table .bday-label {
  display: inline-block;
}

/* イチオシ強調 */
.entry-content table.bday-table .bday-pick {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 999px;
  background: #ffdf70;
  color: #3a2a1a;
  font-weight: 700;
  font-style: normal;
}

/* 注意書き */
.entry-content .bday-table-note {
  margin: -0.4em 0 1.4em;
  font-size: 13px;
  color: #666;
}

/* =========================================================
   スマホ調整
========================================================= */

@media (max-width: 600px) {
  .entry-content .bday-table-wrap::after {
    display: block;
  }

  .entry-content table.bday-table {
    font-size: 13px;
  }

  .entry-content table.bday-table th,
  .entry-content table.bday-table td {
    padding: 9px 10px;
  }

  .entry-content table.bday-compare-table {
    min-width: 720px;
  }

  .entry-content table.bday-select-table {
    min-width: 540px;
  }
}