/* =========================================
   Affiliate Blocks - Compare Table Block
   修正版完成版
========================================= */

.ab-compare-table,
.ab-compare-table * {
  box-sizing: border-box;
}

.ab-compare-table {
  width: 100%;
  max-width: 920px;
  margin: 30px auto;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #1f2937;
}

/* 横幅設定 */
.ab-compare-table-width--auto {
  max-width: 920px;
}

.ab-compare-table-width--fixed {
  max-width: 920px;
}

.ab-compare-table-width--full {
  max-width: 100%;
}

/* タイトル */
.ab-compare-table-title,
.entry-content .ab-compare-table-title,
.editor-styles-wrapper .ab-compare-table-title {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 26px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  background: none !important;
  background-image: none !important;
  border: none !important;
  border-left: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.ab-compare-table-title::before,
.ab-compare-table-title::after {
  content: none !important;
  display: none !important;
}

/* 横スクロール */
.ab-compare-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

/* テーブル */
.ab-compare-table-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #dbeafe !important;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ab-compare-table-width--fixed .ab-compare-table-table {
  table-layout: fixed;
}

.ab-compare-table-width--full .ab-compare-table-table {
  min-width: 760px;
}

/* セル共通 */
.ab-compare-table-table th,
.ab-compare-table-table td {
  padding: 15px 12px !important;
  border-right: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
  color: #1f2937;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  vertical-align: middle;
  background: #ffffff;
}

.ab-compare-table-table th:last-child,
.ab-compare-table-table td:last-child {
  border-right: none !important;
}

.ab-compare-table-table tbody tr:last-child td {
  border-bottom: none !important;
}

/* ヘッダー */
.ab-compare-table-table thead th {
  color: #0f172a !important;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%) !important;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

/* 左列 */
.ab-compare-table-row-label,
.ab-compare-table-table tbody td:first-child {
  color: #0f172a !important;
  background: #f8fafc !important;
  font-weight: 900 !important;
  text-align: left !important;
  white-space: nowrap;
}

/* 偶数行 */
.ab-compare-table-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

/* おすすめ列 */
.ab-compare-table-table .ab-is-highlight {
  background: #fff7ed !important;
}

.ab-compare-table-table thead .ab-is-highlight {
  color: #7c2d12 !important;
  background: linear-gradient(180deg, #fed7aa 0%, #fdba74 100%) !important;
}

.ab-compare-table-table tbody .ab-is-highlight {
  border-left: 2px solid rgba(249, 115, 22, 0.24) !important;
  border-right: 2px solid rgba(249, 115, 22, 0.24) !important;
}

/* カラー：ブルー */
.ab-compare-table--blue .ab-compare-table-table {
  border-color: #bfdbfe !important;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.ab-compare-table--blue .ab-compare-table-table .ab-is-highlight {
  background: #eff6ff !important;
}

.ab-compare-table--blue .ab-compare-table-table thead .ab-is-highlight {
  color: #1e3a8a !important;
  background: linear-gradient(180deg, #bfdbfe 0%, #93c5fd 100%) !important;
}

/* カラー：グリーン */
.ab-compare-table--green .ab-compare-table-table {
  border-color: #bbf7d0 !important;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.1);
}

.ab-compare-table--green .ab-compare-table-table .ab-is-highlight {
  background: #f0fdf4 !important;
}

.ab-compare-table--green .ab-compare-table-table thead .ab-is-highlight {
  color: #14532d !important;
  background: linear-gradient(180deg, #bbf7d0 0%, #86efac 100%) !important;
}

/* カラー：レッド */
.ab-compare-table--red .ab-compare-table-table {
  border-color: #fecaca !important;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.1);
}

.ab-compare-table--red .ab-compare-table-table .ab-is-highlight {
  background: #fef2f2 !important;
}

.ab-compare-table--red .ab-compare-table-table thead .ab-is-highlight {
  color: #7f1d1d !important;
  background: linear-gradient(180deg, #fecaca 0%, #fca5a5 100%) !important;
}

/* カラー：シンプル */
.ab-compare-table--simple .ab-compare-table-table {
  border-color: #d1d5db !important;
  box-shadow: none;
}

.ab-compare-table--simple .ab-compare-table-table thead th {
  background: #f3f4f6 !important;
}

.ab-compare-table--simple .ab-compare-table-table .ab-is-highlight {
  background: #f9fafb !important;
}

.ab-compare-table--simple .ab-compare-table-table thead .ab-is-highlight {
  color: #111827 !important;
  background: #e5e7eb !important;
}

/* 画像行 */
.ab-compare-table-image-cell {
  text-align: center;
}

.ab-compare-table-image {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 14px;
  background: #f8fafc;
}

.ab-compare-table-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 12px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  background: repeating-linear-gradient(
    -45deg,
    #f8fafc,
    #f8fafc 10px,
    #eef2f7 10px,
    #eef2f7 20px
  );
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.ab-compare-table-image-button {
  margin-top: 8px !important;
}

/* CTA */
.ab-compare-table-cta-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 42px;
  padding: 10px 16px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff9800 0%, #f97316 100%);
  border-radius: 999px;
  border: none !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18), 0 10px 18px rgba(249, 115, 22, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  overflow: hidden;
}

.ab-compare-table-cta-button span {
  color: inherit !important;
  position: relative;
  z-index: 2;
}

.ab-compare-table-cta-button:hover {
  transform: translateY(2px);
  filter: brightness(1.04);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18), 0 8px 14px rgba(249, 115, 22, 0.16);
}

.ab-compare-table--blue .ab-compare-table-cta-button {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18), 0 10px 18px rgba(37, 99, 235, 0.18);
}

.ab-compare-table--green .ab-compare-table-cta-button {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18), 0 10px 18px rgba(22, 163, 74, 0.18);
}

.ab-compare-table--red .ab-compare-table-cta-button {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.18), 0 10px 18px rgba(239, 68, 68, 0.18);
}

.ab-compare-table--simple .ab-compare-table-cta-button {
  background: linear-gradient(135deg, #374151 0%, #111827 100%);
}

/* ◎ ○ △ × 装飾 */
.ab-symbol {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center;
}

.ab-symbol-double {
  color: #ffffff !important;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 5px 12px rgba(249, 115, 22, 0.28);
}

.ab-symbol-circle {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.24);
}

.ab-symbol-triangle {
  color: #ffffff !important;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 5px 12px rgba(245, 158, 11, 0.24);
  border-radius: 10px;
}

.ab-symbol-cross {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 5px 12px rgba(239, 68, 68, 0.24);
}

.ab-compare-table.no-symbol-decor .ab-symbol {
  width: auto;
  height: auto;
  margin: 0;
  color: inherit !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

/* 行追加 */
.ab-compare-table-add-row {
  margin: 14px 0 0;
}

.ab-compare-table-control {
  width: 84px;
  min-width: 84px;
  background: #ffffff !important;
}

.editor-styles-wrapper .ab-compare-table-control .button {
  font-weight: 800;
}

/* =========================================
   スマホカード表示
========================================= */

.ab-compare-mobile-cards {
  display: none;
}

.editor-styles-wrapper .ab-compare-mobile-cards-preview {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 16px;
  background: #f8fafc;
  border: 1px dashed #bfdbfe;
  border-radius: 18px;
}

.ab-compare-mobile-cards-label {
  grid-column: 1 / -1;
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  color: #1e3a8a;
  background: #dbeafe;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.ab-compare-mobile-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ab-compare-mobile-card.ab-is-highlight {
  border-color: #fb923c;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.18);
}

.ab-compare-table--blue .ab-compare-mobile-card.ab-is-highlight {
  border-color: #60a5fa;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.14);
}

.ab-compare-table--green .ab-compare-mobile-card.ab-is-highlight {
  border-color: #4ade80;
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.14);
}

.ab-compare-table--red .ab-compare-mobile-card.ab-is-highlight {
  border-color: #f87171;
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.14);
}

.ab-compare-mobile-card-head {
  position: relative;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.ab-compare-mobile-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px;
  padding: 6px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff9800 0%, #f97316 100%);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
  box-shadow: 0 5px 12px rgba(249, 115, 22, 0.24);
}

.ab-compare-mobile-card-title {
  margin: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  font-size: 21px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.ab-compare-mobile-card-title::before,
.ab-compare-mobile-card-title::after {
  content: none !important;
  display: none !important;
}

.ab-compare-mobile-card-image-wrap {
  padding: 16px 16px 0;
  text-align: center;
}

.ab-compare-mobile-card-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  background: #f8fafc;
}

.ab-compare-mobile-card-items {
  display: grid;
  gap: 0;
  padding: 16px;
}

.ab-compare-mobile-card-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #e5e7eb;
}

.ab-compare-mobile-card-item:last-child {
  border-bottom: none;
}

.ab-compare-mobile-card-item-label {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.ab-compare-mobile-card-item-value {
  color: #1f2937;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-align: right;
}

.ab-compare-mobile-card-item-value .ab-symbol {
  margin-left: auto;
  margin-right: 0;
}

.ab-compare-mobile-card-cta {
  padding: 0 16px 18px;
  text-align: center;
}

.ab-compare-mobile-card-cta .ab-compare-table-cta-button {
  width: 100%;
}

/* =========================================
   フロント：スマホ時の出し分け
========================================= */

@media (max-width: 700px) {
  .ab-compare-table {
    margin: 24px auto;
  }

  .ab-compare-table-title,
  .entry-content .ab-compare-table-title,
  .editor-styles-wrapper .ab-compare-table-title {
    font-size: 22px !important;
  }

  .ab-compare-table-table {
    min-width: 680px;
    border-radius: 14px;
  }

  .ab-compare-table-table th,
  .ab-compare-table-table td {
    padding: 13px 10px !important;
    font-size: 14px;
  }

  .ab-compare-table.has-mobile-cards .ab-compare-table-scroll {
    display: none;
  }

  .ab-compare-table.has-mobile-cards .ab-compare-mobile-cards {
    display: grid;
    gap: 18px;
  }

  .ab-compare-table.no-mobile-cards .ab-compare-mobile-cards {
    display: none;
  }

  .ab-compare-table.no-mobile-cards .ab-compare-table-scroll {
    display: block;
  }

  .editor-styles-wrapper .ab-compare-table.has-mobile-cards .ab-compare-table-scroll {
    display: block;
  }

  .editor-styles-wrapper .ab-compare-mobile-cards-preview {
    display: grid;
  }
}

@media (max-width: 480px) {
  .ab-compare-mobile-card-head {
    padding: 16px 14px 12px;
  }

  .ab-compare-mobile-card-title {
    font-size: 19px !important;
  }

  .ab-compare-mobile-card-items {
    padding: 14px;
  }

  .ab-compare-mobile-card-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  .ab-compare-mobile-card-item-value {
    text-align: left;
  }

  .ab-compare-mobile-card-item-value .ab-symbol {
    margin-left: 0;
  }

  .ab-compare-table-cta-button {
    width: 100%;
    min-width: 0;
  }
}
/* =========================================
   比較表：スマホカード表示の調整
   画像を大きく・文字間隔を詰める・中央寄せ
========================================= */

/* スマホカード内の画像を横いっぱいに近づける */
.ab-compare-mobile-card-image-wrap {
  padding: 0 !important;
  margin: 0 !important;
  background: #f8fafc;
  text-align: center;
}

.ab-compare-mobile-card-image {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain;
  margin: 0 auto !important;
  border-radius: 0 !important;
}

/* カード内の情報エリアを詰める */
.ab-compare-mobile-card-items {
  padding: 12px 14px !important;
  gap: 0 !important;
}

/* ラベルと値の距離を詰める */
.ab-compare-mobile-card-item {
  display: grid;
  grid-template-columns: 42% 58% !important;
  gap: 4px !important;
  align-items: center;
  padding: 8px 0 !important;
  border-bottom: 1px solid #e5e7eb;
}

/* 左側ラベル */
.ab-compare-mobile-card-item-label {
  color: #0f172a;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

/* 右側テキスト */
.ab-compare-mobile-card-item-value {
  color: #111827;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

/* ◎ ○ △ × も中央に置く */
.ab-compare-mobile-card-item-value .ab-symbol {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* CTAボタンの余白も詰める */
.ab-compare-mobile-card-cta {
  padding: 8px 14px 16px !important;
}

.ab-compare-mobile-card-cta .ab-compare-table-cta-button {
  width: 100%;
  min-height: 52px;
}

/* スマホではさらに詰める */
@media (max-width: 480px) {
  .ab-compare-mobile-card-item {
    grid-template-columns: 40% 60% !important;
    gap: 2px !important;
    padding: 7px 0 !important;
  }

  .ab-compare-mobile-card-item-label,
  .ab-compare-mobile-card-item-value {
    font-size: 13px !important;
    text-align: center !important;
  }

  .ab-compare-mobile-card-items {
    padding: 10px 12px !important;
  }
}
/* =========================================
   比較表：星評価
========================================= */

.ab-star-rating {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
  line-height: 1 !important;
}

.ab-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.ab-star-filled {
  color: #f59e0b !important;
  text-shadow: 0 2px 6px rgba(245, 158, 11, 0.28);
}

.ab-star-empty {
  color: #d1d5db !important;
}

/* 編集画面用 */
.editor-styles-wrapper .ab-star-rating-edit {
  color: #f59e0b !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
}

/* スマホカード内の星を中央寄せ */
.ab-compare-mobile-card-item-value .ab-star-rating {
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 480px) {
  .ab-star {
    font-size: 17px !important;
  }
}
/* ========================================
   ◎ ○ △ × の画像風装飾
======================================== */

.ab-compare-table-symbol-cell {
  text-align: center;
}

.ab-compare-table .ab-symbol,
.ab-compare-mobile-card .ab-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
  border: 2px solid transparent;
}

/* ◎ */
.ab-compare-table .ab-symbol-double,
.ab-compare-mobile-card .ab-symbol-double {
  background: linear-gradient(180deg, #ffb74d 0%, #fb8c00 100%);
  color: #ffffff;
  border-color: #ef6c00;
}

/* ○ */
.ab-compare-table .ab-symbol-circle,
.ab-compare-mobile-card .ab-symbol-circle {
  background: linear-gradient(180deg, #64b5f6 0%, #1e88e5 100%);
  color: #ffffff;
  border-color: #1565c0;
}

/* △ */
.ab-compare-table .ab-symbol-triangle,
.ab-compare-mobile-card .ab-symbol-triangle {
  background: linear-gradient(180deg, #ffe082 0%, #fbc02d 100%);
  color: #5d4037;
  border-color: #f9a825;
}

/* × */
.ab-compare-table .ab-symbol-cross,
.ab-compare-mobile-card .ab-symbol-cross {
  background: linear-gradient(180deg, #ef9a9a 0%, #e53935 100%);
  color: #ffffff;
  border-color: #c62828;
}

/* 編集画面で少し見やすく */
.editor-styles-wrapper .ab-compare-table .ab-symbol {
  margin: 2px auto;
}

/* スマホで少しだけ小さく */
@media (max-width: 600px) {
  .ab-compare-table .ab-symbol,
  .ab-compare-mobile-card .ab-symbol {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}
/* ========================================
   ◎ ○ △ × 画像風バッジ表示
======================================== */

.ab-compare-table-symbol-cell {
  text-align: center;
}

.ab-compare-table .ab-symbol,
.ab-compare-mobile-card .ab-symbol,
.editor-styles-wrapper .ab-compare-table .ab-symbol {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16) !important;
  border: 2px solid transparent !important;
}

/* 編集画面のRichText用 */
.ab-symbol-editor-badge {
  cursor: text;
}

.ab-symbol-editor-badge .ab-symbol-editor-text {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-text-fill-color: inherit !important;
}

/* ◎ */
.ab-compare-table .ab-symbol-double,
.ab-compare-mobile-card .ab-symbol-double,
.editor-styles-wrapper .ab-compare-table .ab-symbol-double {
  background: linear-gradient(180deg, #ffb74d 0%, #fb8c00 100%) !important;
  color: #ffffff !important;
  border-color: #ef6c00 !important;
}

/* ○ / 〇 / ◯ */
.ab-compare-table .ab-symbol-circle,
.ab-compare-mobile-card .ab-symbol-circle,
.editor-styles-wrapper .ab-compare-table .ab-symbol-circle {
  background: linear-gradient(180deg, #64b5f6 0%, #1e88e5 100%) !important;
  color: #ffffff !important;
  border-color: #1565c0 !important;
}

/* △ */
.ab-compare-table .ab-symbol-triangle,
.ab-compare-mobile-card .ab-symbol-triangle,
.editor-styles-wrapper .ab-compare-table .ab-symbol-triangle {
  background: linear-gradient(180deg, #ffe082 0%, #fbc02d 100%) !important;
  color: #5d4037 !important;
  border-color: #f9a825 !important;
}

/* × / ✕ / ✖ */
.ab-compare-table .ab-symbol-cross,
.ab-compare-mobile-card .ab-symbol-cross,
.editor-styles-wrapper .ab-compare-table .ab-symbol-cross {
  background: linear-gradient(180deg, #ef9a9a 0%, #e53935 100%) !important;
  color: #ffffff !important;
  border-color: #c62828 !important;
}

@media (max-width: 600px) {
  .ab-compare-table .ab-symbol,
  .ab-compare-mobile-card .ab-symbol,
  .editor-styles-wrapper .ab-compare-table .ab-symbol {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 16px !important;
  }
}
/* ========================================
   ◎ ○ △ × 画像風バッジ表示
======================================== */

.ab-compare-table-symbol-cell {
  text-align: center !important;
}

.ab-compare-table .ab-symbol,
.ab-compare-mobile-card .ab-symbol,
.editor-styles-wrapper .ab-compare-table .ab-symbol,
.wp-block-affiliate-blocks-compare-table .ab-symbol {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  vertical-align: middle !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18) !important;
  border: 2px solid transparent !important;
  padding: 0 !important;
  margin: 2px auto !important;
}

/* 編集画面のRichText内側 */
.ab-symbol-editor-badge {
  cursor: text !important;
}

.ab-symbol-editor-badge .ab-symbol-editor-text,
.editor-styles-wrapper .ab-symbol-editor-badge .ab-symbol-editor-text {
  display: inline !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1 !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-text-fill-color: inherit !important;
}

/* ◎ */
.ab-compare-table .ab-symbol-double,
.ab-compare-mobile-card .ab-symbol-double,
.editor-styles-wrapper .ab-compare-table .ab-symbol-double,
.wp-block-affiliate-blocks-compare-table .ab-symbol-double {
  background: linear-gradient(180deg, #ffb74d 0%, #fb8c00 100%) !important;
  color: #ffffff !important;
  border-color: #ef6c00 !important;
}

/* ○ / 〇 / ◯ */
.ab-compare-table .ab-symbol-circle,
.ab-compare-mobile-card .ab-symbol-circle,
.editor-styles-wrapper .ab-compare-table .ab-symbol-circle,
.wp-block-affiliate-blocks-compare-table .ab-symbol-circle {
  background: linear-gradient(180deg, #64b5f6 0%, #1e88e5 100%) !important;
  color: #ffffff !important;
  border-color: #1565c0 !important;
}

/* △ */
.ab-compare-table .ab-symbol-triangle,
.ab-compare-mobile-card .ab-symbol-triangle,
.editor-styles-wrapper .ab-compare-table .ab-symbol-triangle,
.wp-block-affiliate-blocks-compare-table .ab-symbol-triangle {
  background: linear-gradient(180deg, #ffe082 0%, #fbc02d 100%) !important;
  color: #5d4037 !important;
  border-color: #f9a825 !important;
}

/* × / ✕ / ✖ */
.ab-compare-table .ab-symbol-cross,
.ab-compare-mobile-card .ab-symbol-cross,
.editor-styles-wrapper .ab-compare-table .ab-symbol-cross,
.wp-block-affiliate-blocks-compare-table .ab-symbol-cross {
  background: linear-gradient(180deg, #ef9a9a 0%, #e53935 100%) !important;
  color: #ffffff !important;
  border-color: #c62828 !important;
}

@media (max-width: 600px) {
  .ab-compare-table .ab-symbol,
  .ab-compare-mobile-card .ab-symbol,
  .editor-styles-wrapper .ab-compare-table .ab-symbol,
  .wp-block-affiliate-blocks-compare-table .ab-symbol {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 16px !important;
  }
}