
/* Scoped styles */
  #promise-promobox {
    font-family: 'ヒラギノ角ゴ Pro W3', sans-serif;
    max-width: 760px;
    margin: 40px auto;
    background: #f5fcff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    overflow: hidden;
    color: #333;
  }
  /* Ribbon header */
  #promise-promobox .header-ribbon {
    background: linear-gradient(135deg, #00c8ff, #0088cc);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
  }
  /* Banner image */
  #promise-promobox .banner {
    display: block;
    width: 320;
    height: 250;
  }
  /* Promo details section */
  #promise-promobox .promo-details {
    padding: 16px 24px;
    border-top: 1px solid #d0ebff;
    background: #ffffff;
  }
  #promise-promobox .promo-details p {
    margin: 12px 0 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
  }
  #promise-promobox .promo-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  #promise-promobox .promo-details li {
    display: flex;
    align-items: center;
    background: #e6f9ff;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #004f6e;
  }
  #promise-promobox .promo-details li:before {
    content: "\2713";
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #0088cc;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 8px;
    font-size: 14px;
  }
  /* Call-to-action button */
  #promise-promobox .cta {
    text-align: center;
    padding: 24px;
    background: #f5fcff;
  }
  #promise-promobox .cta a {
    display: inline-block;
    background: linear-gradient(135deg, #00c8ff, #0088cc);
    color: #fff;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: background 0.3s, transform 0.2s;
  }
  #promise-promobox .cta a:hover {
    background: linear-gradient(135deg, #0088cc, #006699);
    transform: translateY(-2px);
  }
  #promise-promobox .note {
    margin-top: 12px;
    font-size: 12px;
    color: #777;
    line-height: 1.4;
  }
  @media (max-width: 480px) {
    #promise-promobox .header-ribbon { font-size: 14px; padding: 8px 0; }
    #promise-promobox .promo-details li { font-size: 14px; }
    #promise-promobox .cta a { width: 100%; box-sizing: border-box; }
  }

/* 法律注釈全体コンテナ */
.legal-annotations {
  margin: 2em 0;
  padding: 1em;
  background: #f9faff;
  border-left: 4px solid #4a90e2;
  border-radius: 4px;
  font-family: "ヒラギノ角ゴ Pro", "メイリオ", sans-serif;
  color: #333;
}

/* 各注釈アイテム */
.legal-annotation {
  margin-bottom: 1.2em;
}
.legal-annotation:last-child {
  margin-bottom: 0;
}

/* 注釈番号 */
.legal-annotation .num {
  display: inline-block;
  background: #4a90e2;
  color: #333; /* 黒文字 */
  padding: 0.3em 0.6em;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9em;
  margin-bottom: 0.6em;
}

/* 注釈タイトル */
.legal-annotation .title {
  font-weight: bold;
  font-size: 1.05em;
  margin-bottom: 0.4em;
  line-height: 1.4;
}

/* 注釈本文 */
.legal-annotation .text {
  margin-bottom: 0.5em;
  line-height: 1.6;
  font-size: 0.95em;
}

/* 参考リンク */
.legal-annotation .ref {
  font-size: 0.85em;
  color: #555;
  line-height: 1.5;
}

.legal-annotation .ref a {
  color: #4a90e2;
  text-decoration: none;
}

.legal-annotation .ref a:hover {
  text-decoration: underline;
}

/* コンテナ - 基本リセット */
.seo-law-office-container {
    all: initial;
    max-width: 800px;
    margin: 30px auto;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.seo-law-office-container *,
.seo-law-office-container *:before,
.seo-law-office-container *:after {
    box-sizing: border-box !important;
}

/* ヘッダー */
.seo-law-office-header {
    background: #4f46e5;
    color: white;
    padding: 25px;
    text-align: center;
}

/* h4のリセット */
.seo-law-office-container .seo-law-office-header h4 {
    all: unset !important;
    display: block !important;
    font-size: 1.8em;
    font-weight: 700;
    color: white;
}

.seo-law-office-header .subtitle {
    margin: 8px 0 0;
    font-size: 0.9em;
    opacity: 0.9;
    color: white;
}

.seo-law-office-header .rating {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 10px;
}

.seo-law-office-header .stars {
    color: #ffd700;
    font-size: 1.2em;
    margin-right: 8px;
}

/* テーブル */
.seo-law-office-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.6;
}

.seo-law-office-table tr {
    border-bottom: 1px solid #e5e7eb;
}

.seo-law-office-table th {
    background: #1e293b;
    color: white;
    font-weight: 600;
    padding: 18px 20px;
    text-align: left;
    width: 30%;
    border-right: 2px solid #3b82f6;
    font-size: 14px;
}

.seo-law-office-table th .icon {
    margin-right: 8px;
}

.seo-law-office-table td {
    padding: 18px 20px;
    background: #fff;
    color: #1f2937;
}

/* 特別なスタイル要素 - テーマ干渉を防止 */
.seo-highlight {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%) !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    color: #92400e !important;
    display: inline-block !important;
    border: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
}

.seo-free-tag {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.85em !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
    border: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
    display: inline-block !important;
}

.seo-cost-breakdown {
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin: 8px 0 !important;
    border-left: 4px solid #3b82f6 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    font-family: inherit !important;
}

.seo-cost-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 6px 0 !important;
    padding: 3px 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.4 !important;
}

.seo-cost-label {
    font-weight: 600 !important;
    color: #374151 !important;
    font-size: 0.9em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: inherit !important;
    font-family: inherit !important;
}

.seo-cost-value {
    color: #1f2937 !important;
    font-weight: 500 !important;
    font-size: 0.9em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: inherit !important;
    font-family: inherit !important;
}

.seo-address {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.4 !important;
}

.seo-map-icon {
    color: #ef4444 !important;
    font-size: 1.1em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.seo-check-mark {
    color: #10b981 !important;
    font-weight: bold !important;
    font-size: 1.3em !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.seo-no-info {
    color: #6b7280 !important;
    font-style: italic !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-family: inherit !important;
}

.seo-cta-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
    border: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    font-family: inherit !important;
    font-size: 0.9em !important;
}

.seo-cta-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6) !important;
    color: white !important;
    text-decoration: none !important;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .seo-law-office-container {
        margin: 20px 10px;
    }
    
    .seo-law-office-header {
        padding: 20px 15px;
    }
    
    .seo-law-office-header h3 {
        font-size: 1.5em;
    }
    
    .seo-law-office-table th,
    .seo-law-office-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .seo-law-office-table th {
        width: 35%;
    }
    
    .seo-cost-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    
    .seo-address {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .seo-law-office-header h3 {
        font-size: 1.3em;
    }
    
    .seo-law-office-table th,
    .seo-law-office-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

/* WordPressエディタ内での表示調整 */
.wp-block-table .seo-law-office-container {
    margin: 20px 0;
}

/* 印刷用スタイル */
@media print {
    .seo-law-office-container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .seo-law-office-header {
        background: #333 !important;
        color: white !important;
    }
}

/* ==============================================
   法律事務所ランキング表 - 軽量版（左右スクロール対応）
   グラデーション削除・ホバー削除・高視認性
   ============================================== */

.law-ranking-container {
    margin: 30px 0;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* タイトル用スタイル（単色・軽量版） */
.law-ranking-container .law-ranking-title-h3 {
    background: #2a5298 !important;
    color: white !important;
    text-align: center !important;
    padding: 25px 20px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    font-size: 24px !important;
    font-weight: bold !important;
    border-radius: 10px 10px 0 0 !important;
    border-bottom: 4px solid #1e3c72 !important;
    display: block !important;
}

.law-ranking-container .law-ranking-title-div,
.law-ranking-container .law-ranking-title-b {
    background: #2a5298;
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-bottom: 0;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    border-bottom: 4px solid #1e3c72;
    display: block;
}

/* テーブル本体（左右スクロール対応） */
.law-ranking-container .law-ranking-table {
    width: 100%;
    min-width: 1400px;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}

/* ヘッダー（単色・白文字） */
.law-ranking-container .law-ranking-table thead {
    background: #4682B4 !important;
    color: white !important;
}

.law-ranking-container .law-ranking-table th {
    padding: 15px 10px !important;
    font-weight: 700 !important;
    text-align: center !important;
    font-size: 14px !important;
    letter-spacing: 0.5px !important;
    border-right: 1px solid rgba(255,255,255,0.3) !important;
    position: relative !important;
    background: #4682B4 !important;
    color: white !important;
    white-space: nowrap;
}

.law-ranking-container .law-ranking-table th:last-child {
    border-right: none !important;
}

/* ヘッダーアイコン */
.law-ranking-container .law-ranking-table th:nth-child(1):before {
    content: "🏢 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(2):before {
    content: "💰 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(3):before {
    content: "💸 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(4):before {
    content: "📊 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(5):before {
    content: "🕒 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(6):before {
    content: "👨‍💼 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(7):before {
    content: "🌐 ";
    margin-right: 3px;
}

.law-ranking-container .law-ranking-table th:nth-child(8):before {
    content: "📍 ";
    margin-right: 3px;
}

/* セル基本スタイル */
.law-ranking-container .law-ranking-table td {
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e8ecef;
    font-size: 13px;
    white-space: nowrap;
}

/* 1列目（法律事務所名）オレンジ背景・白文字 */
.law-ranking-container .law-ranking-table tbody tr td:first-child {
    background: #f39c12 !important;
    position: relative;
    overflow: hidden;
    white-space: normal;
    border-left: 4px solid #d68910 !important;
}

.law-ranking-container .law-ranking-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.law-ranking-container .law-ranking-table tbody tr:nth-child(even) td:first-child {
    background: #f5a623 !important;
    border-left: 4px solid #d68910 !important;
}

/* ホバー効果削除 - 軽量化 */
.law-ranking-container .law-ranking-table tbody tr:hover {
    /* ホバー効果なし */
}

.law-ranking-container .law-ranking-table tbody tr:hover td:first-child {
    /* ホバー効果なし */
}

/* 法律事務所名（白文字） */
.law-ranking-container .law-office-name {
    font-weight: 700;
    color: white !important;
    font-size: 13px;
    padding: 8px 6px;
    border-radius: 6px;
    display: inline-block;
    width: 95%;
    background: transparent !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 初回相談料（無料バッジ）単色・白文字 */
.law-ranking-container .consultation-free {
    background: #27ae60 !important;
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    border: 2px solid #1e8449 !important;
}

/* ホバー効果削除 */
.law-ranking-container .consultation-free:hover {
    /* ホバー効果なし */
}

/* 着手金（単色・白文字） */
.law-ranking-container .initial-fee {
    background: #e67e22 !important;
    color: white !important;
    padding: 6px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
    border: 2px solid #ca6f1e !important;
}

/* 実績 */
.law-ranking-container .achievement {
    color: #2c3e50;
    font-weight: 600;
    font-size: 11px;
    line-height: 1.3;
}

/* 営業時間 */
.law-ranking-container .business-hours {
    color: #34495e;
    font-size: 11px;
    line-height: 1.3;
}

/* 代表弁護士（単色・白文字） */
.law-ranking-container .representative {
    background: #8e44ad !important;
    color: white !important;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    display: inline-block;
    border: 2px solid #6c3483 !important;
}

/* 公式サイトボタン（単色・白文字） */
.law-ranking-container .official-site-btn {
    display: inline-block;
    background: #2980b9 !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #1f6fa0 !important;
}

/* ホバー効果削除 */
.law-ranking-container .official-site-btn:hover {
    /* ホバー効果なし */
}

/* spanタグ広告対応 */
.law-ranking-container .official-site-cell span[style*="cursor: pointer"],
.law-ranking-container .official-site-cell span[class*="cta"] {
    color: #e74c3c !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    display: inline-block !important;
    padding: 4px 6px !important;
    background: none !important;
    border: none !important;
}

/* ホバー効果削除 */
.law-ranking-container .official-site-cell span[style*="cursor: pointer"]:hover,
.law-ranking-container .official-site-cell span[class*="cta"]:hover {
    /* ホバー効果なし */
}

/* 公式サイト列 */
.law-ranking-container .official-site-cell {
    text-align: center;
    vertical-align: middle;
    background: #f8f9fa !important;
    font-size: 12px;
    font-weight: 600;
    position: relative;
}

/* 公式サイトがない場合 */
.law-ranking-container .no-official-site {
    color: #95a5a6;
    font-size: 11px;
    font-style: italic;
    padding: 8px 12px;
}

/* 所在地 */
.law-ranking-container .location-text {
    line-height: 1.4;
    font-size: 11px;
    color: #333;
    white-space: normal;
}

.law-ranking-container .nationwide-ok {
    color: #e74c3c !important;
    font-weight: 700;
    background: #ffe6e6 !important;
    padding: 4px 8px;
    border: 2px solid #e74c3c;
    border-radius: 6px;
    margin-bottom: 6px;
    display: inline-block;
    font-size: 10px;
}

.law-ranking-container .address-detail {
    margin-top: 4px;
    color: #555;
    font-size: 11px;
    line-height: 1.4;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .law-ranking-container {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .law-ranking-container .law-ranking-table {
        min-width: 1200px;
        font-size: 11px;
    }
    
    .law-ranking-container .law-ranking-table th {
        padding: 10px 6px !important;
        font-size: 12px !important;
    }
    
    .law-ranking-container .law-ranking-table th:nth-child(1):before,
    .law-ranking-container .law-ranking-table th:nth-child(2):before,
    .law-ranking-container .law-ranking-table th:nth-child(3):before,
    .law-ranking-container .law-ranking-table th:nth-child(4):before,
    .law-ranking-container .law-ranking-table th:nth-child(5):before,
    .law-ranking-container .law-ranking-table th:nth-child(6):before,
    .law-ranking-container .law-ranking-table th:nth-child(7):before,
    .law-ranking-container .law-ranking-table th:nth-child(8):before {
        margin-right: 2px;
    }
    
    .law-ranking-container .law-ranking-table td {
        padding: 8px 4px;
        font-size: 11px;
    }
    
    .law-ranking-container .law-ranking-title-h3,
    .law-ranking-container .law-ranking-title-div,
    .law-ranking-container .law-ranking-title-b {
        font-size: 16px !important;
        padding: 15px 10px !important;
    }
}

/* ===== 軽量版 比較表CSS ===== */

/* ラッパー：横幅制限 */
body .comparison-scroll-wrapper:not(.disable-custom-style) {
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp {
  width: 100%;
}

/* テーブル基本 */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp table {
  width: 100% !important;
  max-width: 900px;
  border-collapse: separate !important;
  border-spacing: 8px !important;
  font-size: 14px !important;
  table-layout: fixed;
}

/* ヘッダー共通 */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp thead th {
  background: #1976d2 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 16px 12px !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

/* 項目列ヘッダー */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp thead th:first-child {
  background: #546e7a !important;
  font-size: 14px !important;
}

/* ボディセル共通 */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody td {
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 10px 8px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #333 !important;
  font-weight: 500 !important;
}

/* 項目名セル（左端） */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody td:first-child {
  background: #f5f5f5 !important;
  font-weight: 600 !important;
  color: #37474f !important;
  text-align: left !important;
  padding-left: 12px !important;
  border-left: 3px solid #1976d2 !important;
}

/* 強調セル：緑（無料・お得） */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody tr:nth-child(1) td:not(:first-child) {
  background: #e8f5e9 !important;
  border-color: #4caf50 !important;
  color: #2e7d32 !important;
  font-weight: 700 !important;
}

/* 強調セル：着手金の安い箇所 */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody tr:nth-child(2) td:nth-child(4),
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody tr:nth-child(2) td:nth-child(5) {
  background: #e8f5e9 !important;
  border-color: #4caf50 !important;
  color: #2e7d32 !important;
  font-weight: 700 !important;
}

/* 強調セル：青（過払い金請求報酬など） */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody tr:nth-child(6) td:not(:first-child) {
  background: #e3f2fd !important;
  border-color: #2196f3 !important;
  color: #1565c0 !important;
  font-weight: 700 !important;
}

/* 強調セル：オレンジ（営業時間24時間） */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody tr:nth-child(7) td:nth-child(2),
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody tr:nth-child(7) td:nth-child(4) {
  background: #fff3e0 !important;
  border-color: #ff9800 !important;
  color: #e65100 !important;
  font-weight: 700 !important;
}

/* ボタン非表示 */
body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp .gptjp-button {
  display: none !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp table {
    min-width: 700px !important;
    border-spacing: 4px !important;
  }
  body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp thead th {
    padding: 12px 8px !important;
    font-size: 13px !important;
  }
  body .comparison-scroll-wrapper:not(.disable-custom-style) .comparison-table-gptjp tbody td {
    padding: 8px 6px !important;
    font-size: 13px !important;
  }
}

/* ===== 軽量版: ネオモーフィズムh2スタイル ===== */

/* 基本リセット */
h2.sr-h2-neomorph {
  all: unset !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* メインスタイル */
h2.sr-h2-neomorph {
  background: #e8f4f8 !important;
  color: #2c5f7c !important;
  padding: 24px 32px !important;
  margin: 32px 0 24px 0 !important;
  border-radius: 12px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  border-left: 6px solid #4682b4 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
  text-align: left !important;
}

/* ホバー効果（シンプル） */
h2.sr-h2-neomorph:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  border-left-color: #2c5f7c !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  h2.sr-h2-neomorph {
    padding: 18px 24px !important;
    font-size: 22px !important;
    margin: 24px 0 20px 0 !important;
  }
}

@media (max-width: 480px) {
  h2.sr-h2-neomorph {
    padding: 16px 20px !important;
    font-size: 20px !important;
    margin: 20px 0 16px 0 !important;
    border-left-width: 4px !important;
  }
}

/* ===== アコーディオンCSS - 軽量版 ===== */

.sr-accordion {
  max-width: 800px;
  margin: 20px auto;
  font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, sans-serif;
}

.sr-accordion-item {
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #d0e8ff;
  overflow: hidden;
}

/* ホバー効果削除 - 軽量化 */
.sr-accordion-item:hover {
  /* ホバー効果なし */
}

.sr-accordion-item details {
  margin: 0;
}

/* summary - 単色・白文字・大きい文字 */
.sr-accordion-item summary {
  background: #4682B4 !important;
  color: white !important;
  padding: 20px 24px !important;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700 !important;
  font-size: 18px !important;
  list-style: none;
  outline: none;
  border-bottom: 3px solid #2F5F8F !important;
}

.sr-accordion-item summary::-webkit-details-marker {
  display: none;
}

/* ホバー効果削除 */
.sr-accordion-item summary:hover {
  /* ホバー効果なし */
}

/* 開いた時のsummary */
.sr-accordion-item details[open] summary {
  background: #2F5F8F !important;
  color: white !important;
  border-bottom: 3px solid #1e4d6b !important;
}

.sr-accordion-item summary::after {
  content: "▼";
  font-size: 20px;
  transition: transform 0.3s ease;
}

.sr-accordion-item details[open] summary::after {
  transform: rotate(180deg);
}

/* コンテンツエリア */
.sr-accordion-content {
  background: #f8fcff;
  border-left: 4px solid #4682B4;
  padding: 20px 24px;
}

/* スライドダウンアニメーション削除 - 軽量化 */

.sr-accordion-content.long-content {
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #87CEEB #f0f8ff;
}

.sr-accordion-content.long-content::-webkit-scrollbar {
  width: 8px;
}

.sr-accordion-content.long-content::-webkit-scrollbar-track {
  background: #f0f8ff;
  border-radius: 4px;
}

.sr-accordion-content.long-content::-webkit-scrollbar-thumb {
  background: #87CEEB;
  border-radius: 4px;
}

.sr-accordion-content.long-content::-webkit-scrollbar-thumb:hover {
  background: #4682B4;
}

/* テーブルスタイル */
.sr-accordion-content table {
  width: 100%;
  margin: 0 0 24px 0;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: none;
}

.sr-accordion-content table:last-child {
  margin-bottom: 0;
}

/* テーブルキャプション - 単色・白文字 */
.sr-accordion-content table caption {
  background: #4682B4 !important;
  color: white !important;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 16px;
  text-align: left;
  margin: 0;
  border-radius: 0;
  border-bottom: 2px solid #2F5F8F;
}

.sr-accordion-content table th {
  background: #e6f3ff;
  color: #2c5f7c;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border: none;
  border-bottom: 1px solid #d0e8ff;
  width: 120px;
  font-size: 14px;
}

.sr-accordion-content table td {
  padding: 12px 16px;
  color: #333;
  border: none;
  border-bottom: 1px solid #f0f8ff;
  line-height: 1.6;
  font-size: 14px;
}

.sr-accordion-content table tr:last-child td,
.sr-accordion-content table tr:last-child th {
  border-bottom: none;
}

/* ホバー効果削除 */
.sr-accordion-content table tbody tr:hover {
  /* ホバー効果なし */
}

.sr-accordion-content p {
  margin: 0 0 12px 0;
  color: #2c5f7c;
  line-height: 1.7;
}

.sr-accordion-content ul {
  margin: 12px 0;
  padding-left: 20px;
  color: #2c5f7c;
}

.sr-accordion-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ハイライト - 単色化 */
.sr-highlight {
  background: #B0E0E6;
  padding: 2px 4px;
  font-weight: 600;
  color: #1e4d5f;
}

/* ポイントバッジ */
.sr-point {
  display: inline-block;
  background: #4682B4;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .sr-accordion {
    margin: 16px;
  }
  
  .sr-accordion-item summary {
    padding: 16px 20px !important;
    font-size: 16px !important;
  }
  
  .sr-accordion-content {
    padding: 16px 20px;
  }
  
  .sr-accordion-content.long-content {
    max-height: 400px;
  }
  
  .sr-accordion-content table th {
    width: 100px;
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .sr-accordion-content table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .sr-accordion-content table caption {
    font-size: 15px;
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .sr-accordion-item summary {
    font-size: 15px !important;
  }
  
  .sr-accordion-content table {
    margin-bottom: 20px;
  }
  
  .sr-accordion-content table th,
  .sr-accordion-content table td {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f8ff;
  }
  
  .sr-accordion-content table th {
    background: #e6f3ff;
    font-weight: 600;
    border-top: 1px solid #d0e8ff;
  }
  
  .sr-accordion-content table td {
    background: white;
    padding-left: 20px;
    font-size: 13px;
  }
  
  .sr-accordion-content table th::before {
    content: "📋 ";
    margin-right: 4px;
  }
}

/* フェードインアニメーション削除 - 軽量化 */

/* ===== その他の既存スタイル（保持） ===== */

.box29 {
    margin: 2em 0;
    border-width: thick;
    border-color: #009000;
    border-style: solid;
}
.box29 .box-title {
    font-size: 1.2em;
    background: #009000;
    padding: 4px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    display: block;
    letter-spacing: 0.05em;
}
.box29 p {
    padding: 10px 3px 10px 25px;
    margin: 0;
}

.rate {
position: relative;
display: inline-block;
width: 150px;
height: 30px;
font-size: 30px;
}

.rate::before,
.rate::after {
position: absolute;
display: inline-block;
height: 30px;
content: '★★★★★';
line-height: 30px;
}

.rate::before {
color: #c4c4c4;
}

.rate::after {
overflow: hidden;
width: 105px;
color: #ffb906;
}

.rate-wrap {
display: flex;
width: 330px;
align-items: center;
justify-content: space-between;
padding: 5px;
border: 1.5px solid #e8d8b0;
margin: 20px auto 0;
font-weight: bold;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-c {
  font-size: 2.2rem;
  position: relative;
  padding: 1.5rem 2rem 1.5rem 5rem;
  color: #fff;
  background: #32b16c;
  -webkit-box-shadow: 0 5px 0 #2c9d60;
  box-shadow: 0 5px 0 #2c9d60;
}

a.btn-c span {
  font-size: 1.4rem;
  display: inline-block;
  width: 100%;
  margin-bottom: 0.5em;
  padding: 0.2rem 0.5rem;
  color: #32b16c;
  border-radius: 4px;
  background: #fff;
}

a.btn-c:before {
  font-family: "Font Awesome 5 Free";
  font-size: 1.8rem;
  line-height: 1;
  position: absolute;
  top: calc(50% - 0.7rem);
  left: 1.5rem;
  margin: 0;
  padding: 0;
  content: "\f30b";
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

a.btn-c:hover {
  -webkit-transform: translate(0, 3px);
  transform: translate(0, 3px);
  color: #fff;
  background: #38c578;
  -webkit-box-shadow: 0 2px 0 #2c9d60;
  box-shadow: 0 2px 0 #2c9d60;
}

a.btn-c:hover:before {
  left: 2rem;
}

.loan-review-custom * {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
}

.loan-review-custom {
    background-color: #fff !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    max-width: 520px !important;
    margin: 20px auto !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    overflow: hidden !important;
}

.loan-review-custom .user-info {
    padding: 15px !important;
    border-bottom: 1px solid #eee !important;
    position: relative !important;
}

.loan-review-custom .user-profile {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
}

.loan-review-custom .user-avatar {
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.loan-review-custom .profile-icon {
    width: 100% !important;
    height: 100% !important;
    background-color: #f0f0f0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.loan-review-custom .profile-icon img {
    width: 80% !important;
    height: auto !important;
}

.loan-review-custom .user-details h3 {
    font-size: 16px !important;
    font-weight: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}

.loan-review-custom .loan-badge {
    display: inline-block !important;
    background-color: #4682b4 !important;
    color: white !important;
    font-size: 12px !important;
    padding: 2px 8px !important;
    border-radius: 3px !important;
    margin-left: 5px !important;
}

.loan-review-custom .user-occupation {
    color: #666 !important;
    font-size: 13px !important;
    margin-top: 3px !important;
}

.loan-review-custom .divider {
    height: 1px !important;
    background-color: #eee !important;
    margin: 10px 0 !important;
    width: 100% !important;
}

.loan-review-custom .loan-details {
    display: flex !important;
    padding-top: 5px !important;
}

.loan-review-custom .loan-detail-item {
    flex: 1 !important;
    padding: 0 10px !important;
    border-right: 1px solid #eee !important;
}

.loan-review-custom .loan-detail-item:last-child {
    border-right: none !important;
}

.loan-review-custom .loan-detail-item:first-child {
    padding-left: 0 !important;
}

.loan-review-custom .loan-detail-label {
    color: #666 !important;
    font-size: 12px !important;
    margin-bottom: 5px !important;
}

.loan-review-custom .loan-detail-value {
    font-weight: normal !important;
}

.loan-review-custom .rating-section {
    padding: 15px !important;
    border-bottom: 1px solid #eee !important;
    text-align: center !important;
}

.loan-review-custom .rating-value {
    font-size: 24px !important;
    font-weight: bold !important;
    margin-right: 5px !important;
}

.loan-review-custom .rating-stars {
    color: #ffc107 !important;
    font-size: 20px !important;
    letter-spacing: -3px !important;
}

.loan-review-custom .rating-stars .empty {
    color: #e0e0e0 !important;
}

.loan-review-custom .rating-criteria {
    display: flex !important;
    justify-content: space-between !important;
    margin-top: 15px !important;
}

.loan-review-custom .rating-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 0 5px !important;
    position: relative !important;
}

.loan-review-custom .rating-item-label {
    font-size: 11px !important;
    color: #666 !important;
    text-align: center !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 5px !important;
}

.loan-review-custom .rating-circle {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 11px !important;
}

.loan-review-custom .rating-very-good {
    background-color: #ff3d00 !important;
}

.loan-review-custom .rating-normal {
    background-color: #ffaa39 !important;
}

.loan-review-custom .rating-very-bad {
    background-color: #393bff !important;
}

.loan-review-custom .review-content {
    padding: 15px !important;
    border-bottom: 1px solid #eee !important;
}

.loan-review-custom .review-section {
    margin-bottom: 15px !important;
}

.loan-review-custom .review-section-title {
    font-weight: bold !important;
    margin-bottom: 5px !important;
}

.loan-review-custom .review-section-content {
    color: #333 !important;
    line-height: 1.6 !important;
}

.loan-review-custom .review-footer {
    padding: 15px !important;
    border-bottom: 1px solid #eee !important;
    font-size: 13px !important;
}

.loan-review-custom .review-reason {
    margin-bottom: 10px !important;
}

.loan-review-custom .review-reason-label {
    color: #666 !important;
}

.loan-review-custom .review-reason-value {
    font-weight: bold !important;
}

.loan-review-custom .review-date {
    color: #666 !important;
    text-align: right !important;
    margin-bottom: 10px !important;
}

.loan-review-custom .review-actions {
    display: flex !important;
    justify-content: flex-end !important;
}

.loan-review-custom .action-button {
    padding: 5px 10px !important;
    margin-left: 10px !important;
    font-size: 12px !important;
    border-radius: 3px !important;
    cursor: pointer !important;
}

.loan-review-custom .report-button {
    border: 1px solid #4682b4 !important;
    color: #4682b4 !important;
    background-color: white !important;
}

.loan-review-custom .helpful-button {
    border: 1px solid #4682b4 !important;
    color: white !important;
    background-color: #4682b4 !important;
}

.loan-review-custom .helpful-count {
    font-size: 12px !important;
    margin-left: 3px !important;
}

.loan-review-custom p {
    margin: 0 !important;
    padding: 0 !important;
}

.loan-review-custom ul, 
.loan-review-custom ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.loan-review-custom a {
    text-decoration: none !important;
}

.loan-review-custom button {
    border: none !important;
    background: none !important;
    font: inherit !important;
    cursor: pointer !important;
}

.loan-review-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding: 10px;
  scroll-behavior: smooth;
}

.loan-review-slider .loan-review-custom {
  flex: 0 0 90%;
  scroll-snap-align: start;
}

.we-recommend-box {
  border: 1px solid #2e77bc;
  border-radius: 6px;
  padding: 10px 15px;
  margin: 20px auto;     
  max-width: 600px;
  font-family: "游ゴシック体", "Yu Gothic", sans-serif;
  background-color: #fff;
  text-align: left;
  display: block;
}

.we-recommend-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 15px;
  border-left: 4px solid #2e77bc;
  padding-left: 6px;
}

.we-recommend-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.we-recommend-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 24px;
  font-size: 14px;
}

.we-recommend-list li::before {
  content: "⭐";
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 14px;
  color: #2e77bc;
}

.we-recommend-list li:last-child {
  border-bottom: none;
}

.we-recommend-list .red {
  color: red;
  font-weight: bold;
}

.we-recommend-list .blue {
  color: #0055cc;
  font-weight: bold;
}

.we-table-wrapper {
  overflow-x: auto;
  margin: 20px auto;
}

.we-table-info {
  width: 100%;
  min-width: 750px; 
  border-collapse: collapse;
  font-family: "游ゴシック体", "Yu Gothic", sans-serif;
  background-color: #fff;
  border: 1px solid #ccc;
  font-size: 14px;
}

.we-table-info th,
.we-table-info td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
}

.we-table-info td:nth-child(1),
.we-table-info td:nth-child(3) {
  background-color: #f0f0f0; 
}

.we-table-title {
  background-color: #f2f4f7;
  font-weight: bold;
  text-align: center;
  font-size: 15px;
}

.we-stars {
  color: red;
  font-weight: bold;
  letter-spacing: 1px;
}

/* cta-row */

.comparison-scroll-wrapper .comparison-table-gptjp .cta-row span {
  display: inline-block !important;
  visibility: visible !important;
  color: #1976d2 !important;
  font-weight: bold !important;
  text-decoration: underline;
  cursor: pointer;
}		</style>
		<style>
.ai-rotate {position: relative;}
.ai-rotate-hidden {visibility: hidden;}
.ai-rotate-hidden-2 {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.ai-list-data, .ai-ip-data, .ai-filter-check, .ai-fallback, .ai-list-block, .ai-list-block-ip, .ai-list-block-filter {visibility: hidden; position: absolute; width: 50%; height: 1px; top: -1000px; z-index: -9999; margin: 0px!important;}
.ai-list-data, .ai-ip-data, .ai-filter-check, .ai-fallback {min-width: 1px;}
#wp-admin-bar-ai-toolbar-settings .ab-icon:before {
  content: '\f538';
  top: 2px;
  color: rgba(240,245,250,.6)!important;
}
#wp-admin-bar-ai-toolbar-settings-default .ab-icon:before {
  top: 0px;
}
#wp-admin-bar-ai-toolbar-settings .ab-icon.on:before {
  color: #00f200!important;
}
#wp-admin-bar-ai-toolbar-settings .ab-icon.red:before {
  color: #f22!important;
}
#wp-admin-bar-ai-toolbar-settings-default li, #wp-admin-bar-ai-toolbar-settings-default a,
#wp-admin-bar-ai-toolbar-settings-default li:hover, #wp-admin-bar-ai-toolbar-settings-default a:hover {
  border: 1px solid transparent;
}
ul li#wp-admin-bar-ai-toolbar-status {
  margin: 0 0 5px 0;
}
#wp-admin-bar-ai-toolbar-off .ab-icon:before {
  content: '\f153';
}
#wp-admin-bar-ai-toolbar-blocks .ab-icon:before {
  content: '\f135';
}
#wp-admin-bar-ai-toolbar-positions .ab-icon:before {
  content: '\f207';
}
#wp-admin-bar-ai-toolbar-positions-default .ab-icon:before {
  content: '\f522';
}
#wp-admin-bar-ai-toolbar-tags .ab-icon:before {
  content: '\f475';
}
#wp-admin-bar-ai-toolbar-no-insertion .ab-icon:before {
  content: '\f214';
}
#wp-admin-bar-ai-toolbar-adb-status .ab-icon:before {
  content: '\f223';
}
#wp-admin-bar-ai-toolbar-adb .ab-icon:before {
  content: '\f160';
}
#wp-admin-bar-ai-toolbar-processing .ab-icon:before {
  content: '\f464';
}
#wp-admin-bar-ai-toolbar-processing-fe .ab-icon:before {
  content: '\f464';
}
#wp-admin-bar-ai-toolbar-positions span.up-icon {
  padding-top: 2px;
}
#wp-admin-bar-ai-toolbar-positions .up-icon:before {
  font: 400 20px/1 dashicons;
}
.ai-insertion-status {
  line-height: 26px!important;
  height: 26px!important;
  white-space: nowrap;
  min-width: 140px;
}
#wp-admin-bar-ai-toolbar-settings .ab-sub-wrapper {
  width: max-content;
  width: -moz-max-content;
}