.p-table-comparison__table[data-table-id="table1"] thead tr th:nth-child(2),
.p-table-comparison__table[data-table-id="table1"] thead tr th:nth-child(3),
.p-table-comparison__table[data-table-id="table1"] thead tr th:nth-child(4) {
  background-color: #91da7f;
}

/* テーブル全体を固定レイアウトに */
.p-table-comparison__table {
  table-layout: fixed !important;
  width: 100% !important;
}

/* 1列目の幅指定 */
.p-table-comparison__table th:first-child,
.p-table-comparison__table td:first-child {
  width: 140px !important;
  min-width: 140px !important;
  white-space: nowrap !important;
}

/* スマホサイズでさらに狭くする */
@media screen and (max-width: 768px) {
  .p-table-comparison__table th,
  .p-table-comparison__table td {
    display: table-cell !important;
  }

  .p-table-comparison__table th:first-child,
  .p-table-comparison__table td:first-child {
    width: 80px !important;
    min-width: 80px !important;
  }
}

/* 共通スタイル */
.p-table-comparison__td a {
  display: inline-block;
  background-color: #FFA733;
  color: #fff !important;
  text-decoration: none !important;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  white-space: nowrap;   /* 改行禁止 */
  cursor: pointer;
  text-align: center;    /* ← ボタン内テキストを中央寄せ */
}

/* ホバー */
.p-table-comparison__td a:hover {
  background-color: #FFB84D;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

/* クリック */
.p-table-comparison__td a:active {
  background-color: #E68A00;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

/* スマホ用（幅600px以下） */
@media screen and (max-width: 600px) {
  .p-table-comparison__td a {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;  /* スマホ時も中央寄せ */
  }
}

/* table1：2〜4列目のボタン色を列ごとに固定（最優先で上書き） */
/*.p-table-comparison__table[data-table-id="table1"] tbody td:nth-child(2) a {
  background-color: #1E4614 !important;
}
.p-table-comparison__table[data-table-id="table1"] tbody td:nth-child(3) a {
  background-color: #0F3C80 !important;
}
.p-table-comparison__table[data-table-id="table1"] tbody td:nth-child(4) a {
  background-color: #FDA727 !important;
}*/


