/* ============================================================
   Heisei Design - Front CSS
   フロント公開ページでのブロック表示スタイル
   すべて .hm-article 配下でのみ適用
   ============================================================ */

/* ─────────────────────────────────
   黄色マーカー(エディタのドロップダウン内の装飾ボタンで付与)
   ───────────────────────────────── */
.hm-article .hmc-marker-yellow {
    background: linear-gradient(transparent 60%, #fff176 60%) !important;
    padding: 0 2px !important;
    color: inherit !important;
}

/* ─────────────────────────────────
   Gutenberg フォントサイズプリセット対応 (S/M/L/XL)
   テーマ側に .has-*-font-size の定義がないため、
   フロントでもサイズ切替が反映されるよう定義
   ───────────────────────────────── */
.hm-article p.has-small-font-size,
.hm-article .has-small-font-size {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
}
.hm-article p.has-medium-font-size,
.hm-article .has-medium-font-size {
    font-size: 1.6rem !important;
    line-height: 1.75 !important;
}
.hm-article p.has-large-font-size,
.hm-article .has-large-font-size {
    font-size: 2rem !important;
    line-height: 1.6 !important;
}
.hm-article p.has-x-large-font-size,
.hm-article .has-x-large-font-size {
    font-size: 2.4rem !important;
    line-height: 1.5 !important;
}

/* ─────────────────────────────────
   wp-block-table の下マージンを詰める
   テーマ側の 2em が広すぎるため、表と次の段落の間隔を適正化
   ───────────────────────────────── */
.hm-article .wp-block-table {
    margin-bottom: 1em !important;
}

/* ─────────────────────────────────
   ① hmc/sub-heading(偽見出し)
   h4等を使わない、見た目だけの見出し。<p>ラッパー
   ───────────────────────────────── */
.hm-article .hmc-sub-heading-wrap {
    display: block !important;
    margin: 24px 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
.hm-article .hmc-sub-heading {
    display: block !important; /* v1.2.8 案C：左ボーダー型・全幅 */
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1f5b8d !important;
    background: none !important;
    padding: 3px 0 3px 12px !important;
    border: none !important;
    border-left: 4px solid #4694d1 !important;
    border-radius: 0 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
}
.hm-article .hmc-sub-heading::before {
    content: none !important; /* 旧チップバー廃止（v1.2.8） */
    display: none !important;
}

/* ── サブ見出し2種類目（包括見出し／親・案2淡色バンド v1.2.18）──
   自動判定（見出し直後に本文なしで別見出し・シリーズが続く場合）と
   手動トグルの両方で切り替わる。h3帯(#eef5fa)より一段淡い面で階層を表現 */
.hm-article .hmc-sub-heading-wrap.is-parent {
    margin: 34px 0 14px !important;
}
.hm-article .hmc-sub-heading-wrap.is-parent .hmc-sub-heading {
    display: block !important;
    background: #f4f8fc !important;
    color: #1f5b8d !important;
    font-size: 19px !important;
    padding: 10px 16px !important;
    letter-spacing: 0.02em !important;
    border-radius: 0 6px 6px 0 !important;
    border-left: 6px solid #4694d1 !important;
    border-bottom: none !important;
}
.hm-article .hmc-sub-heading-wrap.is-parent .hmc-sub-heading::before {
    display: none !important;
}

/* ─────────────────────────────────
   ② hmc/table-caption(テーブルキャプション)
   ───────────────────────────────── */
.hm-article .hmc-table-caption {
    display: inline-block !important; /* T1タブ型：文字幅にフィットして表の左上に乗る */
    background: #4694d1 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 7px 18px !important;
    margin: 20px 0 0 !important;
    border: none !important;
    line-height: 1.5 !important;
    letter-spacing: 0.02em !important;
    border-radius: 8px 8px 0 0 !important;
}
.hm-article .hmc-table-caption__text {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* キャプション直後のテーブルは間隔を詰める */
.hm-article .hmc-table-caption + table,
.hm-article .hmc-table-caption + figure,
.hm-article .hmc-table-caption + .wp-block-table {
    margin-top: 0 !important;
}
.hm-article .hmc-table-caption + .wp-block-table > table,
.hm-article .hmc-table-caption + figure > table {
    margin-top: 0 !important;
}

/* ─────────────────────────────────
   ③ hmc/author-comment(筆者コメント)
   <aside>化に伴い、<blockquote>用のリセットは不要に
   ただし aside のブラウザデフォルトもほぼ無いので影響なし
   ───────────────────────────────── */
/* 案2（v1.2.10）：ラベルタブ一体型
   ネイビータブ「編集部コメント」（文言は 設定 > 平成医療学園デザイン で変更可・
   inline CSSのcontentで上書き）＋枠線カード＋左アバター横並び */
.hm-article .hmc-author-comment {
    position: relative !important;
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    margin: 56px 0 28px !important; /* タブ分の上余白を確保 */
    padding: 14px 16px !important;
    background: #fff !important;
    border: 1px solid #ccdfee !important;
    border-radius: 0 10px 10px 10px !important;
    box-sizing: border-box !important;
    quotes: none !important;
}
/* ラベルタブ（文言は設定値でcontentを上書き） */
.hm-article .hmc-author-comment::before {
    content: "編集部コメント" !important;
    position: absolute !important;
    top: -27px !important;
    left: -1px !important; /* カード枠線に揃える */
    display: inline-block !important;
    background: #4694d1 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    padding: 5px 14px !important;
    border-radius: 8px 8px 0 0 !important;
    letter-spacing: 0.03em !important;
}
.hm-article .hmc-author-comment::after {
    content: none !important;
    display: none !important;
}
.hm-article .hmc-author-comment__avatar-wrap {
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
}
.hm-article .hmc-author-comment__avatar {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    border-radius: 50% !important;
    border: 2px solid #ccdfee !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.hm-article .hmc-author-comment__body {
    position: relative !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}
/* 旧・吹き出しのしっぽを無効化 */
.hm-article .hmc-author-comment__body::before {
    content: none !important;
    display: none !important;
}
.hm-article .hmc-author-comment__name {
    display: none !important; /* 名前はタブに役割集約（案2） */
}
.hm-article .hmc-author-comment__text {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #333 !important;
}
.hm-article .hmc-author-comment__text p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 0 10px !important;
    color: #333 !important;
}
.hm-article .hmc-author-comment__text p:last-child {
    margin-bottom: 0 !important;
}

/* スマホ対応:狭い画面でもレイアウトを維持(縦積みしない、アバターを少し小さく) */
@media (max-width: 560px) {
    .hm-article .hmc-author-comment {
        gap: 12px !important;
        padding: 12px 14px !important;
    }
    .hm-article .hmc-author-comment__avatar-wrap,
    .hm-article .hmc-author-comment__avatar {
        flex-basis: 40px !important;
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
    }
    .hm-article .hmc-author-comment__text,
    .hm-article .hmc-author-comment__text p {
        font-size: 14px !important; /* 文字サイズ規約適用(v1.2.3): 補助パーツSP=14px */
    }
}

/* ─────────────────────────────────
   ⑤ hmc/compare-box + compare-col(対比ブロック)
   ───────────────────────────────── */
.hm-article .hmc-compare-box {
    display: flex !important;
    gap: 20px !important;
    margin: 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
.hm-article .hmc-compare-col {
    flex: 1 1 0 !important;
    padding: 20px 22px !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.hm-article .hmc-compare-col--pros {
    background: #eef5fa !important;
    border: none !important;
}
.hm-article .hmc-compare-col--cons {
    background: #fdf4e7 !important;
    border: none !important;
}
.hm-article .hmc-compare-col__head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
}
.hm-article .hmc-compare-col--pros .hmc-compare-col__head {
    color: #1b4f7d !important;
    border-bottom: none !important;
}
.hm-article .hmc-compare-col--cons .hmc-compare-col__head {
    color: #9a5a00 !important;
    border-bottom: none !important;
}
.hm-article .hmc-compare-col__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    flex: 0 0 26px !important;
    line-height: 1 !important;
}
.hm-article .hmc-compare-col--pros .hmc-compare-col__icon { background: #4694d1 !important; }
.hm-article .hmc-compare-col--cons .hmc-compare-col__icon { background: #f48700 !important; }
.hm-article .hmc-compare-col__heading {
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}
/* compare内のリスト */
.hm-article .hmc-compare-col__body ul,
.hm-article .hmc-compare-col__body ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    background: none !important;
}
.hm-article .hmc-compare-col__body li {
    font-size: 15px !important;
    line-height: 1.65 !important;
    padding: 5px 0 5px 18px !important;
    position: relative !important;
    margin: 0 !important;
    color: #333 !important;
    background: none !important;
    list-style: none !important;
}
.hm-article .hmc-compare-col__body li::marker { content: none !important; display: none !important; }
.hm-article .hmc-compare-col--pros .hmc-compare-col__body li::before {
    content: "・" !important;
    position: absolute !important;
    left: 2px !important;
    top: 5px !important;
    color: #4694d1 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    line-height: 25px !important;
}
.hm-article .hmc-compare-col--cons .hmc-compare-col__body li::before {
    content: "・" !important;
    position: absolute !important;
    left: 2px !important;
    top: 5px !important;
    color: #f48700 !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    line-height: 25px !important;
}
.hm-article .hmc-compare-col__body p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin: 0 0 8px !important;
    color: #333 !important;
}

/* スマホ:縦積み */
@media (max-width: 700px) {
    .hm-article .hmc-compare-box {
        flex-direction: column !important;
        gap: 12px !important;
    }
}

/* ─────────────────────────────────
   ⑨ hmc/warning-box(警告ボックス・タイトルなし版)
   構造: <aside class="hmc-warning-box">
           <div class="hmc-warning-box__body">
             <span class="hmc-warning-box__icon">⚠</span>
             <div class="hmc-warning-box__content">本文</div>
           </div>
         </aside>
   ───────────────────────────────── */
/* 案E：ビッグアイコン＋仕切り線（背景なし）／警告色＝アンバー */
.hm-article .hmc-warning-box {
    border: none !important;
    border-radius: 0 !important;
    margin: 24px 0 !important;
    background: none !important;
    padding: 0 !important;
}
.hm-article .hmc-warning-box__body {
    padding: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    background: transparent !important;
}
.hm-article .hmc-warning-box__icon {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    width: 34px !important;
    height: 34px !important;
    background: #fdf6e7 !important;
    border: 2px solid #f48700 !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #c56d00 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
}
.hm-article .hmc-warning-box__content {
    flex: 1 1 auto !important;
    font-size: 15px !important; /* 文字サイズ規約適用(v1.2.3): 補助パーツ15/14 */
    color: #333 !important;
    line-height: 1.8 !important;
    border-left: 2px dotted #ecd9b0 !important;
    padding-left: 14px !important;
}
.hm-article .hmc-warning-box__content p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 0 10px !important;
    color: #333 !important;
}
.hm-article .hmc-warning-box__content p:last-child {
    margin-bottom: 0 !important;
}
.hm-article .hmc-warning-box__content ul,
.hm-article .hmc-warning-box__content ol {
    margin: 6px 0 !important;
    padding: 0 0 0 24px !important;
    background: none !important;
    border: none !important;
}
.hm-article .hmc-warning-box__content li {
    font-size: 15px !important;
    line-height: 1.75 !important;
    margin: 3px 0 !important;
}

/* 文字サイズ規約適用(v1.2.3): SP=14px */
@media (max-width: 600px) {
    .hm-article .hmc-warning-box__content,
    .hm-article .hmc-warning-box__content p,
    .hm-article .hmc-warning-box__content li {
        font-size: 14px !important;
    }
}

/* ── 旧構造（v1.13.1以前: head + body 形式）への後方互換 ── */
.hm-article .hmc-warning-box__head {
    background: #b23a48 !important;
    color: #fff !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: none !important;
}
.hm-article .hmc-warning-box__head-icon {
    font-size: 1.3rem !important;
    line-height: 1 !important;
    color: #fff !important;
}
.hm-article .hmc-warning-box__head-text {
    flex: 1 1 auto !important;
    font-size: 1.45rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.4 !important;
}

/* ─────────────────────────────────
   ⑥ hmc/faq + faq-item(FAQ)
   構造: <dl class="hmc-faq"><dt class="hmc-faq-item__question">...</dt><dd class="hmc-faq-item__answer">...</dd>...</dl>
   フルカード型（2026/07確定・案2）: Q行=水色帯白文字(カード上部)/A行=白地枠(カード下部)。
   dt+dd の隣接構造のまま、dtを角丸上・ddを角丸下＋枠でカード化する。
   Q/Aバッジ文字はゴシック極太（Georgia廃止）。
   ───────────────────────────────── */
.hm-article .hmc-faq {
    margin: 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
.hm-article .hmc-faq-item__question {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    line-height: 1.6 !important;
    margin: 16px 0 0 !important;
    padding: 10px 14px !important;
    background: #4694d1 !important;
    color: #fff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 10px 10px 0 0 !important;
}
.hm-article .hmc-faq .hmc-faq-item__question:first-of-type {
    margin-top: 0 !important;
}
.hm-article .hmc-faq-item__question-text {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important; /* 文字サイズ規約適用(v1.2.3): 15.5→15px */
    line-height: 1.6 !important;
}
.hm-article .hmc-faq-item__answer {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #fff !important;
    border: 1.5px solid #cfe2f0 !important;
    border-top: none !important;
    border-radius: 0 0 10px 10px !important;
}
.hm-article .hmc-faq-item__answer-body {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #333 !important;
}
.hm-article .hmc-faq-item__badge {
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    font-family: inherit !important; /* ゴシック（本文と同系）に統一 */
    font-weight: 800 !important;
    font-size: 12px !important;
    margin-top: 1px !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
}
.hm-article .hmc-faq-item__badge--q { background: #fff !important; color: #4694d1 !important; }
.hm-article .hmc-faq-item__badge--a { background: #f48700 !important; color: #fff !important; margin-top: 2px !important; }
/* 文字サイズ規約適用(v1.2.3): FAQ SP=14px */
@media (max-width: 600px) {
    .hm-article .hmc-faq-item__question-text {
        font-size: 14px !important;
    }
    .hm-article .hmc-faq-item__answer-body {
        font-size: 14px !important;
    }
}

/* ─────────────────────────────────
   ⑦ hmc/references + reference-item(参考・引用元)
   縦リスト型（2026/07確定・案1）: 橙の角丸ドット＋下線リンク。
   タイトル右に水平線。外部リンク記号↗は橙。
   ※テーマ標準 .hm-article ul>li::before（8px丸ドット）と同じ疑似要素を使うため
     width/height/background/border-radius を明示上書きする（対比ボックスと同じ教訓）。
   ───────────────────────────────── */
.hm-article .hmc-references {
    margin: 28px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
.hm-article .hmc-references__title {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #1f5b8d !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: none !important;
    border: none !important;
}
.hm-article .hmc-references__title::after {
    content: "" !important;
    flex: 1 !important;
    height: 1px !important;
    background: #e2e9ee !important;
}
.hm-article .hmc-references__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: none !important;
    border: none !important;
    counter-reset: none !important;
}
.hm-article .hmc-reference-item {
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 5px 0 5px 20px !important;
    background: none !important;
    border: none !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}
.hm-article .hmc-reference-item::before {
    content: "" !important;
    position: absolute !important;
    left: 4px !important;
    top: 0.85em !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 2px !important;
    background: #f48700 !important;
    display: block !important;
}
.hm-article .hmc-reference-item::marker { content: none !important; }
.hm-article .hmc-reference-item a {
    display: inline !important;
    color: #4694d1 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 14px !important;
}
.hm-article .hmc-reference-item a:hover {
    color: #1b4f7d !important;
}
.hm-article .hmc-reference-item a::after {
    content: "\2197" !important; /* ↗ 外部リンク */
    color: #f48700 !important;
    margin-left: 5px !important;
    font-size: 12px !important;
}
.hm-article .hmc-reference-item__source {
    color: #888 !important;
    font-size: 12px !important;
    margin-left: 6px !important;
}
/* ─────────────────────────────────
   ⑧ hmc/step-flow + step-item(ステップフロー)
   構造: <ol class="hmc-step-flow"><li class="hmc-step-item">...</li></ol>
   ブラウザ標準番号マーカー(1. 2. 3.)はlist-style/::markerで打ち消し、
   CSS counterによる中抜き丸番号の描画を維持
   ───────────────────────────────── */
.hm-article .hmc-step-flow {
    margin: 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    counter-reset: hmc-step-counter !important;
    list-style: none !important;
}
.hm-article .hmc-step-item {
    padding: 0 0 22px !important;
    border: none !important;
    counter-increment: hmc-step-counter !important;
    position: relative !important;
    margin: 0 !important;
    background: transparent !important;
    list-style: none !important;
}
.hm-article .hmc-step-item::marker {
    content: none !important;
    display: none !important;
}
/* 縦の連結線：STEPバッジの下からシアン点線（FAQ・h4と同語彙） */
.hm-article .hmc-step-item::before {
    content: "" !important;
    position: absolute !important;
    left: 15px !important;
    top: 32px !important;
    bottom: 0 !important;
    width: 0 !important;
    border-left: 2px dotted #f8cf9b !important;
    background: none !important;
    z-index: 0 !important;
}
.hm-article .hmc-step-item:last-child {
    padding-bottom: 0 !important;
}
.hm-article .hmc-step-item:last-child::before {
    display: none !important;
}
.hm-article .hmc-step-item__content {
    padding-left: 0 !important;
    position: relative !important;
    min-height: 28px !important;
}
/* STEPピル（counterで「STEP n」を自動生成・タイトルと同じ行に置く） */
.hm-article .hmc-step-item__content::before {
    content: "STEP " counter( hmc-step-counter ) !important;
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    background: #4694d1 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 5px 12px !important;
    margin: 0 12px 0 0 !important;
    font-family: Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    position: relative !important;
    z-index: 1 !important;
}
.hm-article .hmc-step-item__title {
    display: inline !important; /* ピルと同行に流す */
    font-size: 15px !important; /* 文字サイズ規約適用(v1.2.3): 補助パーツ15/14 */
    font-weight: 700 !important;
    color: #1f5b8d !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    padding-top: 0 !important;
    vertical-align: middle !important;
}
.hm-article .hmc-step-item__body {
    display: block !important;
    font-size: 15px !important;
    color: #333 !important;
    line-height: 1.75 !important;
    margin: 6px 0 0 42px !important; /* 点線コネクタを避けるインデント */
}
.hm-article .hmc-step-item__body p {
    font-size: 15px !important;
    line-height: 1.75 !important;
    margin: 0 0 10px !important;
    color: #333 !important;
}
.hm-article .hmc-step-item__body p:last-child { margin-bottom: 0 !important; }

/* 文字サイズ規約適用(v1.2.3): ステップ SP=14px */
@media (max-width: 600px) {
    .hm-article .hmc-step-item__title,
    .hm-article .hmc-step-item__body,
    .hm-article .hmc-step-item__body p {
        font-size: 14px !important;
    }
}

/* ─────────────────────────────────
   ⑩ hmc/box-list（ボックスリスト）
   案A＋A-2：枠線カード＋POINTレター＋ネイビータイトル
   ＋細罫線区切り＋シアンバー行頭
   タイトル空欄時は .hmc-box-list__header が存在しない
   （その場合POINTレターも出ない＝箱＋リストのみ）
   ───────────────────────────────── */
.hm-article .hmc-box-list {
    margin: 28px 0 !important;
    padding: 20px 24px 8px !important;
    background: #fff !important;
    border: 1px solid #ccdfee !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.hm-article .hmc-box-list__header {
    display: block !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    border: none !important;
    background: transparent !important;
}
/* POINTレター（アイブロウ） */
.hm-article .hmc-box-list__header::before {
    content: "POINT" !important;
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #f48700 !important;
    letter-spacing: 3px !important;
    margin: 0 0 3px !important;
    line-height: 1.4 !important;
}
.hm-article .hmc-box-list__title-bar {
    display: none !important;
}
.hm-article .hmc-box-list__title {
    display: block !important;
    font-size: 16px !important; /* 文字サイズ規約適用(v1.2.3): 導入ボックス16/15 */
    font-weight: 700 !important;
    color: #1f5b8d !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
}
.hm-article .hmc-box-list__body {
    padding: 0 !important;
    background: transparent !important;
    margin: 0 !important;
}

/* 箱内のリスト装飾 */
.hm-article .hmc-box-list ul,
.hm-article .hmc-box-list ul.wp-block-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    background: none !important;
}
.hm-article .hmc-box-list ul li,
.hm-article .hmc-box-list ul.wp-block-list li {
    position: relative !important;
    margin: 0 !important;
    padding: 12px 2px 12px 30px !important;
    font-size: 14px !important; /* 文字サイズ規約適用(v1.2.3): 導入ボックス項目14/13 */
    line-height: 1.7 !important;
    color: #333 !important;
    list-style: none !important;
    background: none !important;
    border: none !important;
    border-top: 1px solid #e8f2f8 !important;
}
.hm-article .hmc-box-list ul li:last-child,
.hm-article .hmc-box-list ul.wp-block-list li:last-child {
    padding-bottom: 16px !important;
}
.hm-article .hmc-box-list ul li::marker,
.hm-article .hmc-box-list ul.wp-block-list li::marker {
    content: none !important;
    display: none !important;
}
/* 行頭のシアンバー */
.hm-article .hmc-box-list ul li::before,
.hm-article .hmc-box-list ul.wp-block-list li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 4px !important;
    background: #f48700 !important;
    border-radius: 2px !important;
}

/* 任意で導入文として段落を置いた場合 */
.hm-article .hmc-box-list .hmc-box-list__body p {
    font-size: 14px !important; /* 文字サイズ規約適用(v1.2.3) */
    line-height: 1.75 !important;
    margin: 0 0 12px !important;
    color: #333 !important;
}
.hm-article .hmc-box-list .hmc-box-list__body p:last-child {
    margin-bottom: 12px !important;
}

/* スマホ */
@media screen and (max-width: 600px) {
    .hm-article .hmc-box-list {
        padding: 16px 16px 4px !important;
    }
    .hm-article .hmc-box-list__header {
        margin: 0 0 10px !important;
    }
    .hm-article .hmc-box-list__title {
        font-size: 15px !important; /* 文字サイズ規約適用(v1.2.3): 16→15px */
    }
    .hm-article .hmc-box-list ul li,
    .hm-article .hmc-box-list ul.wp-block-list li {
        padding: 10px 2px 10px 28px !important;
        font-size: 13px !important; /* 文字サイズ規約適用(v1.2.3): 14→13px */
    }
    .hm-article .hmc-box-list .hmc-box-list__body p {
        font-size: 13px !important; /* 文字サイズ規約適用(v1.2.3) */
    }
    .hm-article .hmc-box-list ul li:last-child,
    .hm-article .hmc-box-list ul.wp-block-list li:last-child {
        padding-bottom: 14px !important;
    }
    .hm-article .hmc-box-list ul li::before,
    .hm-article .hmc-box-list ul.wp-block-list li::before {
        width: 16px !important;
    }
}

/* ─────────────────────────────────
   ⑪ hmc/toc（目次）案1：薄水色パネル型
   構造はJSが実行時に生成：
   .hmc-toc > .hmc-toc__head（__badge＋__title）
            > .hmc-toc__list（フラットol・--h2/--h3）
            > .hmc-toc__toggle（5行超で出現）
   ───────────────────────────────── */.hm-article .hmc-toc {
    background: #eef5fa !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 18px 22px !important;
    margin: 24px 0 !important;
}
/* 見出しが0件なら目次自体を非表示 */.hm-article .hmc-toc--empty {
    display: none !important;
}.hm-article .hmc-toc__head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 12px !important;
}.hm-article .hmc-toc__badge {
    display: inline-block !important;
    background: #4694d1 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 4px 18px !important;
    border-radius: 20px !important;
    line-height: 1.6 !important;
}.hm-article .hmc-toc__title {
    color: #4a5f70 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}.hm-article .hmc-toc__list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: none !important;
}.hm-article .hmc-toc__list > li::marker,
.hm-article .hmc-toc__item::marker {
    content: none !important;
}.hm-article .hmc-toc__item {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}.hm-article .hmc-toc__item--h2 {
    font-size: 15px !important;
    font-weight: 700 !important;
}.hm-article .hmc-toc__item--h3 {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding-left: 1.4em !important;
}.hm-article .hmc-toc__link {
    display: inline-block !important;
    padding: 4px 0 !important;
    color: #1f5b8d !important;
    text-decoration: none !important;
}.hm-article .hmc-toc__item--h3 .hmc-toc__link {
    color: #4a5f70 !important;
}.hm-article .hmc-toc__link:hover,
.hm-article .hmc-toc__link:focus {
    color: #4694d1 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}
/* 折りたたみ時は6行目以降（H2・H3問わず）を非表示 */.hm-article .hmc-toc--collapsed .hmc-toc__row--over {
    display: none !important;
}
/* 「すべて表示／閉じる」ボタン */.hm-article .hmc-toc__toggle {
    display: block !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    background: #fff !important;
    border: 1px solid #f48700 !important;
    border-radius: 20px !important;
    color: #4694d1 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 7px 0 !important;
    cursor: pointer !important;
    line-height: 1.6 !important;
}.hm-article .hmc-toc__toggle::after { content: ' ▼' !important; font-size: 10px !important; }.hm-article .hmc-toc:not(.hmc-toc--collapsed) .hmc-toc__toggle::after { content: ' ▲' !important; }.hm-article .hmc-toc__toggle:hover {
    background: #4694d1 !important;
    border-color: #4694d1 !important;
    color: #fff !important;
}

/* スクロール時のヘッダー固定オフセット（目次リンクの着地位置） */
.hm-article h2[id],
.hm-article h3[id] {
    scroll-margin-top: 80px;
}

/* スマホ */
@media screen and (max-width: 600px) {.hm-article .hmc-toc {
        padding: 14px 16px !important;
    }.hm-article .hmc-toc__item--h2 {
        font-size: 14px !important;
    }.hm-article .hmc-toc__item--h3 {
        font-size: 13px !important;
    }
}

/* 本体サイト取込CSSのリスト番号・装飾の漏れを打ち消し（v1.3.2） */
.hm-article .hmc-toc li::before,
.hm-article .hmc-toc li::after {
    content: none !important;
    display: none !important;
}
.hm-article .hmc-toc ol,
.hm-article .hmc-toc ul {
    list-style: none !important;
    counter-reset: none !important;
}

/* ─────────────────────────────────
   ⑬ hmc/agent-card(業者カード)
   フルブリードロゴ＋水色帯ネーム型（2026/07確定・案3）:
   上辺水色4px罫＋角丸カード／右上にオレンジジャンルタグ（垂れ下がり）／
   上段=枠なし特大ロゴ（最大100px高・SVGは118px高）／会社名=水色帯白文字
   （本家h2帯とお揃い）／バッジ・スペック2列グリッド・脚注は帯の下。
   DOM順（logo→name→genre→features→specs→footnote）は不変・CSSのみ。
   ───────────────────────────────── */
.hm-article .hmc-agent-card {
    position: relative !important;
    margin: 26px 0 !important;
    padding: 0 !important; /* 案3: ロゴをフルブリードにするためカード自体は余白なし */
    background: #fff !important;
    border: 1.5px solid #cfe2f0 !important;
    border-top: 4px solid #4694d1 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.hm-article .hmc-agent-card__main {
    display: block !important; /* 案3: 縦積み（logo→name帯→中身） */
    margin: 0 !important;
    padding: 0 0 16px !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
}
.hm-article .hmc-agent-card__logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 130px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 22px 22px 18px !important;
    margin: 0 !important;
}
.hm-article .hmc-agent-card__logo img {
    display: block !important;
    max-width: 84% !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
}
.hm-article .hmc-agent-card__name {
    display: block !important;
    margin: 0 !important;
    padding: 9px 20px !important;
    background: #4694d1 !important; /* 案3: 会社名は水色帯・白文字（本家h2帯とお揃い） */
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.5 !important;
    border: none !important;
    text-align: left !important;
}
.hm-article .hmc-agent-card__genre {
    position: absolute !important;
    top: -4px !important;
    right: 16px !important;
    background: #f48700 !important;
    color: #fff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 5px 12px 4px !important;
    border-radius: 0 0 8px 8px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.02em !important;
    z-index: 1 !important;
}
.hm-article .hmc-agent-card__features {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    justify-content: flex-start !important;
    margin: 12px 20px 0 !important;
    padding: 0 !important;
}
.hm-article .hmc-agent-card__feature {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 3px 11px !important;
    line-height: 1.6 !important;
    border: none !important;
}
.hm-article .hmc-agent-card__feature--online { background: #4694d1 !important; }
.hm-article .hmc-agent-card__feature--money  { background: #f48700 !important; }
.hm-article .hmc-agent-card__feature--range  { background: #6aa7dc !important; }
.hm-article .hmc-agent-card__specs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin: 10px 20px 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}
.hm-article .hmc-agent-card__spec {
    display: block !important;
    background: #f4f8fc !important;
    border: 1px solid #e6edf2 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    margin: 0 !important;
}
.hm-article .hmc-agent-card__spec:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
}
.hm-article .hmc-agent-card__spec-label {
    display: block !important;
    color: #4694d1 !important;
    font-weight: 700 !important;
    font-size: 11.5px !important;
    margin: 0 0 1px !important;
}
.hm-article .hmc-agent-card__spec-value {
    display: block !important;
    color: #333 !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
}
.hm-article .hmc-agent-card__spec-value small {
    color: #888 !important;
    font-size: 11px !important;
}
.hm-article .hmc-agent-card__footnote {
    margin: 8px 20px 0 !important;
    padding: 0 !important;
    font-size: 11.5px !important;
    color: #98a0ae !important;
    text-align: right !important;
}
@media (max-width: 600px) {
    .hm-article .hmc-agent-card__specs {
        grid-template-columns: 1fr !important;
    }
    .hm-article .hmc-agent-card__spec:last-child:nth-child(odd) {
        grid-column: auto !important;
    }
    .hm-article .hmc-agent-card__logo {
        min-height: 104px !important;
        padding: 16px 14px 12px !important;
    }
    .hm-article .hmc-agent-card__logo img {
        max-width: 92% !important;
        max-height: 84px !important;
    }
}
/* ─────────────────────────────────
   テーブル注釈（hmc-table-note）v1.2.10
   テーブル直後の「出典/※」段落。小さめグレーでテーブルに密着させる
   ───────────────────────────────── */
.hm-article .hmc-table-note {
    margin: -12px 0 20px !important; /* テーブルのmargin20pxに食い込ませ実質8px */
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #777 !important;
    background: none !important;
    border: none !important;
}

/* ─────────────────────────────────
   ⑭ 連番シリーズ（hmc-series / v1.2.13）
   偽見出し「原因1」「ポイント2」等の連続を自動変換した番号付き装飾。
   番号・ピルはCSSカウンターで自動採番（項目の増減に自動追従）
   ───────────────────────────────── */
.hm-article .hmc-series {
    margin: 24px 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    counter-reset: hmc-series !important;
}
.hm-article .hmc-series-item {
    counter-increment: hmc-series !important;
    position: relative !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
}
.hm-article .hmc-series-item__head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
}
.hm-article .hmc-series-item__title {
    font-size: 16.5px !important;
    font-weight: 700 !important;
    color: #1f5b8d !important;
    line-height: 1.5 !important;
}
.hm-article .hmc-series-item__body {
    margin: 6px 0 0 !important;
}
.hm-article .hmc-series-item__body p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    margin: 0 0 10px !important;
    color: #333 !important;
}

/* ── 原因・注意系（cause）：角丸スクエア×ディープネイビー数字＋罫線区切り ── */
.hm-article .hmc-series--cause .hmc-series-item {
    padding: 0 0 20px 46px !important;
}
.hm-article .hmc-series--cause .hmc-series-item__head::before {
    content: counter(hmc-series) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: #1f5b8d !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hm-article .hmc-series--cause .hmc-series-item__title {
    line-height: 32px !important;
}
.hm-article .hmc-series--cause .hmc-series-item:not(:last-child)::after {
    content: "" !important;
    position: absolute !important;
    left: 46px !important;
    right: 0 !important;
    bottom: 10px !important;
    border-bottom: 1px solid #e8eff4 !important;
}

/* ── ポイント系（point）：シアン丸数字＋薄水色タイトル帯 ── */
.hm-article .hmc-series--point .hmc-series-item {
    padding: 0 0 20px !important;
}
.hm-article .hmc-series--point .hmc-series-item__head {
    background: #eef5fa !important;
    border-radius: 8px !important;
    padding: 6px 12px 6px 8px !important;
}
.hm-article .hmc-series--point .hmc-series-item__head::before {
    content: counter(hmc-series) !important;
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: #f48700 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hm-article .hmc-series--point .hmc-series-item__body {
    margin-left: 46px !important;
}

/* ── チェック系（check・案ア）：CHECKピル ── */
.hm-article .hmc-series--check .hmc-series-item {
    padding: 0 0 20px !important;
}
.hm-article .hmc-series--check .hmc-series-item__head::before {
    content: "CHECK " counter(hmc-series) !important;
    flex: 0 0 auto !important;
    background: #f48700 !important;
    color: #fff !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
}
.hm-article .hmc-series--check .hmc-series-item__body {
    margin-left: 86px !important;
}

/* ── 汎用（generic）：グレー丸数字 ── */
.hm-article .hmc-series--generic .hmc-series-item {
    padding: 0 0 18px 44px !important;
}
.hm-article .hmc-series--generic .hmc-series-item__head::before {
    content: counter(hmc-series) !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #eff3f6 !important;
    color: #1f5b8d !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.hm-article .hmc-series--generic .hmc-series-item__title {
    line-height: 30px !important;
}

@media (max-width: 560px) {
    .hm-article .hmc-series--check .hmc-series-item__body {
        margin-left: 0 !important;
    }
}

/* ── 解説カード（plain・v1.2.16 案1）：番号なしの個別カード型 ── */
.hm-article .hmc-series--plain .hmc-series-item {
    border: 1px solid #ccdfee !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin: 0 0 12px !important;
    background: #fff !important;
}
.hm-article .hmc-series--plain .hmc-series-item:last-child {
    margin-bottom: 0 !important;
}
.hm-article .hmc-series--plain .hmc-series-item__head {
    border-bottom: 1px dashed #e2edf6 !important;
    padding: 0 0 8px !important;
    margin: 0 0 8px !important;
}
.hm-article .hmc-series--plain .hmc-series-item__head::before {
    content: "" !important;
    flex: 0 0 8px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #f48700 !important;
}
.hm-article .hmc-series--plain .hmc-series-item__title {
    font-size: 16px !important;
}

/* ============ v1.2.0 移植（vendor-heading / ranking-card） ============ */
/* ============================================================
   業者カード見出し（hmc/vendor-heading）v1.1.0
   h3・黒帯・左タブ順位（案B）。1〜3位=金銀銅、4〜5位=ゴールド
   ============================================================ */
.hm-article .hmc-vendor-heading,
.hmc-vendor-heading {
    display: flex;
    align-items: stretch;
    margin: 2.2em 0 0; /* v1.1.2: 直後の要素と密着させる */
    background: #111111;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
    border-bottom: 3px solid var(--hm-blue, #4694d1); /* v1.2.3: つるかめ由来の存在しない変数--cln-mainを--hm-blueに修正（見た目不変） */
    padding: 0;
}
.hm-article .hmc-vendor-heading .hmc-vendor-heading__rank,
.hmc-vendor-heading__rank {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 16px;
    font-weight: 800;
    background: #4694d1;
    color: #FFFFFF;
    white-space: nowrap;
}
.hmc-vendor-heading--rank1 .hmc-vendor-heading__rank {
    background: #4694d1;
    color: #FFFFFF; /* 5.8:1 AA */
}
.hmc-vendor-heading--rank2 .hmc-vendor-heading__rank {
    background: #9aa2ac;
    color: #2B2E3A; /* 5.23:1 AA */
}
.hmc-vendor-heading--rank3 .hmc-vendor-heading__rank {
    background: #f48700;
    color: #FFFFFF; /* 5.79:1 AA */
}
.hm-article .hmc-vendor-heading .hmc-vendor-heading__text,
.hmc-vendor-heading__text {
    display: block;
    padding: 12px 16px;
}
@media (max-width: 640px) {
    .hm-article .hmc-vendor-heading,
    .hmc-vendor-heading {
        font-size: 17px;
    }
    .hm-article .hmc-vendor-heading .hmc-vendor-heading__rank,
    .hmc-vendor-heading__rank {
        font-size: 14px;
        padding: 0 10px;
    }
    .hm-article .hmc-vendor-heading .hmc-vendor-heading__text,
    .hmc-vendor-heading__text {
        padding: 10px 12px;
    }
}

/* v1.1.2: 業者カード見出しの直後の要素は上マージンを打ち消して密着 */
.hm-article .hmc-vendor-heading + *,
.hmc-vendor-heading + * {
    margin-top: 0 !important;
}


/* ──────────────────────────────────────────────
   ランキングカード（hmc/ranking-card）
   ────────────────────────────────────────────── */
.hmc-rank-card {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e7e7ea;
    border-radius: 6px;
    padding: 14px;
    margin: 0 0 12px;
    background: #fff;
}
.hmc-rank-card__no {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #9a9aa2;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.hmc-rank-card__no.is-1 { background: #4694d1; }
.hmc-rank-card__no.is-2 { background: #8a8a92; }
.hmc-rank-card__no.is-3 { background: #a9a9b0; }
.hmc-rank-card__logo {
    flex: 0 0 70px;
    width: 70px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hmc-rank-card__logo img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
}
.hmc-rank-card__body {
    flex: 1 1 auto;
    min-width: 0;
}
.hmc-rank-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #2B2E3A;
}
.hmc-rank-card__pr {
    margin: 4px 0 0;
    font-size: 13px;
    color: #5c5c63;
    line-height: 1.5;
}
.hmc-rank-card__btn {
    flex: 0 0 auto;
    display: inline-block;
    background: #4694d1;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    padding: 9px 16px;
    border-radius: 6px;
    white-space: nowrap;
}
.hmc-rank-card__btn:hover { background: #1b4f7d; color: #fff; }
@media ( max-width: 600px ) {
    .hmc-rank-card { flex-wrap: wrap; }
    .hmc-rank-card__body { flex: 1 1 100%; order: 3; }
    .hmc-rank-card__btn { width: 100%; text-align: center; order: 4; }
}

/* 蛍光ペン風マーカー（==重要文== → <mark class="hmc-marker">） */
.hm-article .hmc-marker,
.hm-article mark.hmc-marker {
    background: none !important;
    box-shadow: inset 0 -0.45em 0 0 #fff176 !important; /* 黄マーカー（グラデ関数不使用） */
    color: inherit !important;
    font-weight: 700 !important;
    padding: 0 .08em !important;
    border-radius: 0 !important;
}


/* v1.2.0: 業者カード名 h3化（目次連動） */
.hm-article .hmc-agent-card__name {
    scroll-margin-top: 80px !important;
}
/* v1.2.2: 生SVGロゴのサイズ明示（viewBoxのみのSVGは height:auto で潰れるため） */
.hm-article .hmc-agent-card__logo img[src$=".svg"] {
    height: 118px !important; /* 案3: SVGはさらに大きく */
    width: auto !important;
    max-width: 92% !important;
}
.hm-article .hmc-rank-card__logo img[src$=".svg"] {
    height: 40px !important;
    width: auto !important;
    max-width: 150px !important;
}
