.mh-pr{display:none!important}

  :where(.hm-front-events,.hm-article-calendar-lazy,.hm-today-tomorrow-events,.mh-product-front,.mh-campaign-box,.sp1-campaign-front,.sc-portfolio-front,.codex-swell-popular) {
    --codex-muted-text:#475569;
    --codex-muted-strong:#334155;
    --codex-accent-green:#166534;
    --codex-accent-orange:#9a3f0d;
  }
  :where(.hm-front-events,.hm-article-calendar-lazy,.hm-today-tomorrow-events,.mh-product-front,.mh-campaign-box,.sp1-campaign-front,.sc-portfolio-front,.codex-swell-popular) :where(.hm-lead,.hm-sub,.hm-ac-sub,.hm-submit-cta span,.hm-card em,.hm-guide-card em,.mh-sub,.mh-note,.sp1-sub,.sc-sub) {
    color:var(--codex-muted-text)!important;
  }
  :where(.hm-front-events,.hm-article-calendar-lazy,.hm-today-tomorrow-events) :where(.hm-eyebrow,.hm-ac-eyebrow) {
    color:var(--codex-accent-orange)!important;
  }
  :where(.hm-front-events,.hm-article-calendar-lazy,.hm-today-tomorrow-events) :where(.hm-cal-day.muted,.hm-cal-day.muted .hm-cal-num) {
    color:#64748b!important;
  }
  :where(.hm-front-events,.hm-article-calendar-lazy,.hm-today-tomorrow-events,.mh-product-front,.mh-campaign-box,.sp1-campaign-front,.sc-portfolio-front,.codex-swell-popular) :where(button,a.hm-btn,.hm-btn,.hm-month-tab,.hm-cal-day,.hm-cal-nav,.hm-ac-main-link,.hm-submit-cta a,.mh-btn,.mh-campaign-link,.sp1-btn,.sc-btn,.codex-swell-popular-tab) {
    min-height:44px!important;
    touch-action:manipulation;
  }
  :where(.hm-chip,.mh-chip,.sp-chip,.sc-chip,.sp-compact-offer,.codex-swell-popular-tab,.c-searchForm__submit) {
    min-height:44px!important;
    touch-action:manipulation;
  }
  @media (max-width: 640px) {
    :where(.p-spMenu a,.p-spMenu__inner a,.c-widget a,.c-gnav a,.hm-front-events a,.mh-product-front a,.mh-campaign-box a,.sp1-campaign-front a,.sc-portfolio-front a) {
      min-height:44px;
      display:inline-flex;
      align-items:center;
    }
  }
  :where(.c-categoryList__link,.c-tagList__link,.p-breadcrumb__text,.p-toc__link) {
    min-height:32px;
    display:inline-flex;
    align-items:center;
  }
  :where(.p-articleMetas__termList.c-categoryList,.p-articleMetas__termList.c-tagList) {
    display:flex!important;
    flex-wrap:wrap;
    align-items:center;
    gap:8px!important;
    width:100%;
    margin:0!important;
    padding-left:0!important;
    box-sizing:border-box;
  }
  :where(.p-articleMetas__termList.c-categoryList,.p-articleMetas__termList.c-tagList)::before {
    content:none!important;
    display:none!important;
  }
  :where(.p-articleMetas__termList.c-categoryList,.p-articleMetas__termList.c-tagList) :where(.c-categoryList__link,.c-tagList__link) {
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box;
    min-height:0!important;
    height:34px;
    margin:0!important;
    padding:0 13px!important;
    line-height:1!important;
    white-space:nowrap;
  }
  :where(.hm-front-events,.hm-article-calendar-lazy,.hm-today-tomorrow-events) :where(.hm-month-tab,.hm-cal-nav) {
    padding-top:9px;
    padding-bottom:9px;
  }
  :where(.hm-traffic-alert span,.hm-guide-card span,.sp-feature-label,.sp-offer-row-label.deadline) {
    color:#9a3f0d!important;
  }
  :where(.hm-traffic-alert span) {
    background:#9a3f0d!important;
    color:#fff!important;
  }
  :where(.hm-chip span,.mh-chip span,.sp-chip span,.sc-chip span,.hm-cal-panel-head span,.hm-cal-pick-body > span,.hm-date) {
    color:#334155!important;
  }
  :where(.codex-swell-popular-tab.is-active,.codex-swell-popular-rank,.c-postThumb__cat,.mh-amazon) {
    background:#9a3f0d!important;
    color:#fff!important;
  }
  :where(.monohikaku-price-btn) {
    min-height:44px!important;
    background:#0b63b6!important;
    color:#fff!important;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    padding:10px 12px!important;
  }
  :where(.codex-symbol-muted) {
    color:#475569!important;
  }
  :where(.footer-kouki-label,.footer-kouki-tag) {
    background:#e5edf6!important;
    color:#17324d!important;
  }
  :where(.l-footer,.l-footer__body,.l-footer__widgetArea,.footer-kouki,.footer-kouki *) {
    color:#334155!important;
  }
  :where(.post_content,.entry-content,.c-entry__content) table th {
    background:#e5edf6!important;
    color:#17324d!important;
  }
  :where(.post_content,.entry-content,.c-entry__content) a {
    color:#0b63b6;
  }
  :where(.post_content,.entry-content,.c-entry__content) .wp-block-buttons {
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
    gap:12px;
  }
  :where(.post_content,.entry-content,.c-entry__content) .wp-block-button {
    display:flex;
    max-width:100%;
    margin:0!important;
  }
  :where(.post_content,.entry-content,.c-entry__content) .wp-block-button__link {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    min-height:44px;
    max-width:100%;
    line-height:1.4;
  }
  @media (max-width: 640px) {
    :where(.post_content,.entry-content,.c-entry__content) .wp-block-buttons {
      flex-direction:column;
      align-items:stretch;
    }
    :where(.post_content,.entry-content,.c-entry__content) .wp-block-buttons :where(.wp-block-button,.wp-block-button__link) {
      width:100%;
    }
  }
  :where(.c-postTimes__modified,.c-postTimes__posted) {
    color:#475569!important;
  }
  :where(.hm-front-events,.hm-article-calendar-lazy) :where(.hm-cal-thumb img,.hm-card img,.hm-cal-pick img) {
    aspect-ratio:16/9;
  }


:root {
  --codex-readable-font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --codex-readable-text: #172033;
  --codex-readable-muted: #475569;
  --codex-readable-heading: #0f172a;
}

body,
button,
input,
select,
textarea {
  font-family: var(--codex-readable-font-stack);
}

body {
  color: var(--codex-readable-text);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.post_content,
.entry-content,
.c-postContent {
  color: var(--codex-readable-text);
  font-size: 16.5px !important;
  line-height: 1.86 !important;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.post_content :where(p, li, dd),
.entry-content :where(p, li, dd),
.c-postContent :where(p, li, dd) {
  line-height: 1.86 !important;
}

.post_content :where(p),
.entry-content :where(p),
.c-postContent :where(p) {
  margin-top: 0;
  margin-bottom: 1.16em;
}

.post_content :where(ul, ol),
.entry-content :where(ul, ol),
.c-postContent :where(ul, ol) {
  padding-left: 1.45em;
}

.post_content :where(li + li),
.entry-content :where(li + li),
.c-postContent :where(li + li) {
  margin-top: 0.28em;
}

.post_content :where(h2, h3, h4),
.entry-content :where(h2, h3, h4),
.c-postContent :where(h2, h3, h4) {
  color: var(--codex-readable-heading);
  letter-spacing: 0;
  line-height: 1.44;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.post_content :where(figcaption, small, .wp-element-caption),
.entry-content :where(figcaption, small, .wp-element-caption),
.c-postContent :where(figcaption, small, .wp-element-caption) {
  color: var(--codex-readable-muted);
  line-height: 1.72;
}

.p-postList__title,
.c-postTitle__ttl,
.c-widget .p-postList__title {
  letter-spacing: 0;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.post_content :where(table),
.entry-content :where(table),
.c-postContent :where(table) {
  font-size: 0.96em;
  line-height: 1.62;
}

.post_content :where(a),
.entry-content :where(a),
.c-postContent :where(a) {
  text-underline-offset: 0.16em;
}

@media (max-width: 640px) {
  .post_content,
  .entry-content,
  .c-postContent {
    font-size: 16px !important;
    line-height: 1.82 !important;
  }

  .post_content :where(p, li, dd),
  .entry-content :where(p, li, dd),
  .c-postContent :where(p, li, dd) {
    line-height: 1.82 !important;
  }

  .post_content :where(p),
  .entry-content :where(p),
  .c-postContent :where(p) {
    margin-bottom: 1.08em;
  }

  .p-postList__title,
  .c-postTitle__ttl,
  .c-widget .p-postList__title {
    line-height: 1.46;
  }
}


.hm-election-group{display:block;box-sizing:border-box;margin:2rem 0;padding:16px;border:1px solid #b9d4e2;border-radius:12px;background:#f1f8fb;color:#153c4c;line-height:1.6}
.hm-election-top{display:block;margin:0 0 24px}
.hm-election-top[hidden],.hm-election-top-stack[hidden],.hm-election-top__more[hidden],.hm-election-top-front:has(>.hm-election-top-stack[hidden]){display:none!important}
/* 余白は8の倍数で統一（2026-10-18 本人「デザインブラッシュアップと余白調整して」）。帯の中は行間8px、外は上16px・下24px。 */
.post_content a.hm-election-top__link,.hm-election-top-front a.hm-election-top__link{display:flex;flex-direction:column;gap:8px;padding:12px 14px 10px 16px;border:1px solid #b9d4e2;border-left:5px solid #17607c;border-radius:12px;background:#f1f8fb;color:#153c4c!important;font-size:14px;line-height:1.5;text-decoration:none!important;box-shadow:0 1px 2px rgba(16,72,93,.06)}
.hm-election-top__head{display:flex;align-items:center;gap:8px;min-width:0}
.hm-election-top__head b{font-size:16.5px;line-height:1.4;font-weight:800}
.hm-election-top__tag{flex:none;padding:1px 8px;border-radius:999px;background:#17607c;color:#fff;font-size:12px;font-weight:700;line-height:1.6}
.hm-election-top__meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px}
.hm-election-top__day{font-size:13.5px;font-weight:700;color:#2c5566}
.hm-election-top__cd{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#2c5566}
.hm-election-top__cd b{display:inline-block;padding:2px 10px;border-radius:8px;background:#17607c;color:#fff;font-size:19px;line-height:1.35;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.hm-election-top__stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.hm-election-top__stat{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid #d3e4ec}
.hm-election-top__stat small{font-size:11.5px;color:#4b6b79;line-height:1.45}
.hm-election-top__stat b{font-size:22px;font-weight:800;line-height:1.2;color:#10485d;font-variant-numeric:tabular-nums}
.hm-election-top__stat i{font-style:normal;font-size:13px;margin-left:1px}
.hm-election-top__stat em{font-style:normal;font-size:12px;font-weight:700;color:#4b6b79;margin-left:4px}
.hm-election-top__go{display:flex;justify-content:flex-end;align-items:center;min-height:32px;padding-top:8px;border-top:1px solid #d3e4ec;color:#215b72;font-weight:700}
.hm-election-top__link:focus-visible{outline:3px solid #9a4f06;outline-offset:3px}
@media (hover:hover){.post_content a.hm-election-top__link:hover{background:#e8f3f8;border-color:#9cc3d6}}
.hm-election-top-front{width:100%;margin:16px 0 24px}main.l-mainContent .l-mainContent__inner>.post_content>.hm-election-top-front{order:2;margin-top:16px!important}/* トップは flex の order で並ぶ。ヒーロー（order 1）の直後、休日枠（order 2・DOMで後）の前 */.hm-election-top-front .hm-election-top{margin:0}
.hm-election-top__more{display:flex;justify-content:flex-end;align-items:center;min-height:32px;margin-top:4px;color:#215b72!important;font-size:13.5px;font-weight:700;text-decoration:underline!important;text-underline-offset:3px}
#hm-election-slot{scroll-margin-top:80px}
.post_content .hm-election-group__head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:0 0 12px!important;font-size:18px;font-weight:700;color:#153c4c!important}
.hm-election-group__head span{font-size:13px;font-weight:400}
.hm-election-card{box-sizing:border-box;padding:16px;border:1px solid #b9d4e2;border-left:5px solid #17607c;border-radius:8px;background:#fff;color:#153c4c;line-height:1.6}
.hm-election-card+.hm-election-card{margin-top:12px}
.hm-election-card--compact .hm-election-card__date{font-size:22px!important}.hm-election-card--compact .hm-election-card__title{font-size:17px!important}.hm-election-card--compact .hm-election-card__stat strong{font-size:24px}
.hm-election-group__all{display:block;margin-top:12px;color:#215b72!important;font-size:14px;text-decoration:underline!important}
.post_content .hm-election-card p{margin:0!important;padding:0!important;color:#153c4c!important}
.hm-election-card__eyebrow{display:flex;justify-content:space-between;gap:12px;font-size:14px!important;font-weight:700}
.hm-election-card__eyebrow span{font-weight:400}
.hm-election-card__date{font-size:clamp(26px,4vw,34px)!important;font-weight:800;line-height:1.4!important}
.hm-election-card__title{font-size:20px!important;font-weight:700}
.hm-election-card__ranking{margin:14px 0;padding:14px 16px;border-radius:8px;background:#eaf3f7;border:1px solid #c0d8e3}
.hm-election-card__rank-label{font-size:15px!important;font-weight:700}
.post_content .hm-election-card__rank-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;line-height:1.15!important;margin:4px 0!important}
.hm-election-card__rank-value strong{font-size:52px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.03em}.post_content .hm-election-card__rank-value small{font-size:24px!important;color:inherit!important;letter-spacing:0;margin-left:3px}.hm-election-card__rank-value span{font-size:16px;font-weight:700}
.hm-election-card__rank-rate{font-size:16px!important;font-weight:700}
.post_content .hm-election-card__rank-note{margin-top:6px!important;font-size:14px!important;line-height:1.65!important}
.hm-election-card__rank-source{font-size:14px;color:#215b72!important;text-decoration:underline!important}
.post_content .hm-election-card__stat{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:12px 0 2px!important}
.hm-election-card__stat span{font-size:14px;max-width:22em}
.hm-election-card__stat strong{font-size:30px;line-height:1.2;white-space:nowrap}.hm-election-card__stat small{font-size:18px}
.post_content .hm-election-card__source{font-size:12px!important}.hm-election-card__source a{color:#215b72!important;text-decoration:underline!important}
.post_content a.hm-election-card__link{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;margin-top:14px;padding:10px 16px;border-radius:8px;background:#17607c;color:#fff!important;font-size:16px;font-weight:700;text-decoration:none!important}
.hm-election-card__link:hover{background:#10485d}
.post_content a.hm-election-card__sub{display:block;margin-top:8px;color:#215b72!important;font-size:14px;text-decoration:underline!important}.hm-election-group a:focus-visible{outline:3px solid #9a4f06;outline-offset:4px}
.hm-election-card__cd{margin:12px 0 4px;padding:10px 10px 8px;border-radius:10px;background:#17607c;color:#fff;text-align:center}
.post_content .hm-election-card .hm-election-card__cd p{color:#fff!important}
.post_content .hm-election-card__cd-label{font-size:15px!important;font-weight:700}
.hm-election-card__cd-label span{display:inline-block;white-space:nowrap}
.post_content .hm-election-card__cd-units{display:grid!important;grid-template-columns:repeat(4,minmax(0,72px));justify-content:center;gap:8px;margin:6px 0!important}
.hm-election-card__cd-unit{display:flex;flex-direction:column;align-items:center;padding:4px 2px 2px;border-radius:8px;background:#fff;color:#10485d}
.hm-election-card__cd-unit b{font-size:30px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.hm-election-card__cd-unit small{font-size:12px;font-weight:700}
.post_content .hm-election-card__cd-done{font-size:16px!important;font-weight:700;padding:6px 0!important}
.post_content .hm-election-card__cd-note{font-size:12px!important;opacity:.9}
.hm-election-card--compact .hm-election-card__cd-unit b{font-size:24px}
/* 2026-10-18 本人「項目と文章も精査してね」：2件目以降と締め切った選挙は、日付・選挙名・残り時間・行き先だけにして記事下を短くする */
.hm-election-card--compact :is(.hm-election-card__ranking,.hm-election-card__stat,.hm-election-card__source,.hm-election-card__cd-note,.hm-election-card__sub){display:none!important}
.hm-election-card.is-closed{opacity:.85}
.hm-election-card__cd [hidden]{display:none!important}
/* 期日前投票の期間中は青の部品の中でオレンジに切り替えて目立たせる（2026-10-27 本人「目立つように」）。#b8460b×白は5.6:1 */
.hm-early-live[hidden]{display:none!important}
.hm-election-top__early{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:8px 10px;border-radius:8px;background:#fff1e3;border:2px solid #e07a1f;color:#7a2e05;font-size:14px;font-weight:700;line-height:1.4}
.hm-election-top__early b,.hm-election-card__early-head b{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#b8460b;color:#fff;font-size:15px;font-weight:800;letter-spacing:.02em}
.hm-election-top__early b::before,.hm-election-card__early-head b::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;animation:hm-early-pulse 1.6s ease-in-out infinite}
@keyframes hm-early-pulse{50%{opacity:.25}}@media (prefers-reduced-motion:reduce){.hm-election-top__early b::before,.hm-election-card__early-head b::before{animation:none}}
.post_content a.hm-election-top__link:has(.hm-election-top__early:not([hidden])),.hm-election-top-front a.hm-election-top__link:has(.hm-election-top__early:not([hidden])),.hm-election-bottom a.hm-election-top__link:has(.hm-election-top__early:not([hidden])){border-left-color:#b8460b}
.hm-election-top__early-where{flex-basis:100%;font-size:13px;font-weight:400;line-height:1.6}
.hm-election-card__early{margin:12px 0;padding:14px 16px;border-radius:10px;background:#fff1e3;border:2px solid #e07a1f;text-align:left}
.post_content .hm-election-card .hm-election-card__early p{color:#7a2e05!important}
.post_content .hm-election-card__early-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:17px!important;font-weight:800}
.post_content .hm-election-card .hm-election-card__early-head b{color:#fff!important;font-size:17px}
.post_content .hm-election-card__early-lead{margin-top:8px!important;font-size:15px!important;font-weight:700}
.post_content .hm-election-card__early-where{margin-top:4px!important;font-size:14px!important;line-height:1.65!important}
.post_content a.hm-election-card__early-go{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin-top:10px;padding:8px 14px;border-radius:8px;background:#b8460b;color:#fff!important;font-size:15px;font-weight:700;text-decoration:none!important}
.post_content a.hm-election-card__early-go:hover{background:#933708}
.hm-election-card--compact .hm-election-card__early-lead{display:none}
.hm-election-card:has(.hm-election-viz) :is(.hm-election-card__ranking,.hm-election-card__stat,.hm-election-card__source){display:none!important}
/* 投票率の推移グラフと41市町ランキング（2026-10-27 本人「ランキングや今までの上下のグラフ…面白く楽しく」）。見えたら棒が伸びる */
.hm-election-viz{display:grid;gap:12px;margin:14px 0;color:#153c4c;line-height:1.55}
.hm-election-viz section{box-sizing:border-box;min-width:0;padding:12px 14px;border:1px solid #d3e4ec;border-radius:10px;background:#fff}
.hm-election-viz p{margin:0!important;padding:0!important}
.hm-viz__title{font-size:15px!important;font-weight:800;color:#10485d!important}
.hm-viz__lead{margin-top:2px!important;font-size:13.5px!important;font-weight:700;color:#153c4c!important}
.hm-viz-trend__plot{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:4px;height:140px;margin-top:30px;border-bottom:2px solid #9cc3d6}
.hm-viz-trend__col{position:relative;height:100%}
.hm-viz-trend__bar{position:absolute;left:10%;right:10%;bottom:0;height:var(--h);border-radius:6px 6px 0 0;background:#a9cfe0;transition:height .9s cubic-bezier(.2,.8,.2,1)}
.hm-viz-trend__col.is-same .hm-viz-trend__bar{background:#17607c}
.hm-viz-trend__col.is-next .hm-viz-trend__bar{box-sizing:border-box;border:2px dashed #e07a1f;border-bottom:0;background:repeating-linear-gradient(45deg,#fff1e3 0 6px,#ffe2c4 6px 12px)}
.hm-viz-trend__val{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);display:flex;flex-direction:column-reverse;align-items:center;z-index:2;padding:0 2px 2px;border-radius:3px;background:#fff;white-space:nowrap;line-height:1.15}
.hm-viz-trend__val b{font-size:12px;font-weight:800;color:#10485d;font-variant-numeric:tabular-nums}
.hm-viz-trend__val i{font-style:normal;font-size:10px;font-weight:700}.hm-viz-trend__val i.is-up{color:#0f7a4f}.hm-viz-trend__val i.is-down{color:#b42318}
.hm-viz-trend__col.is-next .hm-viz-trend__val b{font-size:18px;color:#b8460b}
.hm-viz-trend__avg{position:absolute;left:0;right:0;height:0;border-top:2px dashed #3d4f57;z-index:1}
.hm-viz-trend__labels{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:4px;margin-top:4px;font-size:10px;line-height:1.3;text-align:center;color:#4b6b79;word-break:break-all}
.hm-viz-trend__labels .is-same{color:#10485d;font-weight:800}.hm-viz-trend__labels .is-next{color:#b8460b;font-weight:800}
.hm-viz__legend{display:flex;flex-wrap:wrap;align-items:center;gap:2px 6px;margin-top:8px!important;font-size:11px!important;color:#4b6b79!important}
.hm-viz__legend span{display:inline-block;margin-left:6px}.hm-viz__legend span:first-child{margin-left:0}
.hm-viz__legend .is-same{width:10px;height:10px;border-radius:2px;background:#17607c}.hm-viz__legend .is-avg{width:16px;border-top:2px dashed #3d4f57}
.hm-viz__legend em{font-style:normal;margin-left:auto}
.hm-viz-rank__me{display:flex;align-items:baseline;gap:10px;margin-top:4px!important}
.hm-viz-rank__me strong{font-size:40px;font-weight:800;line-height:1.1;color:#10485d;font-variant-numeric:tabular-nums}.hm-viz-rank__me strong small{font-size:18px;margin-left:2px}
.hm-viz-rank__me>span{display:flex;flex-direction:column;font-size:15px;font-weight:800}.hm-viz-rank__me>span small{font-size:11.5px;font-weight:400;color:#4b6b79}
.hm-viz-rank__chase{font-size:14px!important;font-weight:700}.hm-viz-rank__chase b{padding:0 2px;background:linear-gradient(transparent 55%,#ffd9a8 55%);color:#7a2e05}
.hm-viz-rank__strip{display:flex;align-items:flex-end;gap:2px;height:44px;margin-top:22px}
.hm-viz-rank__strip span{position:relative;flex:1;height:var(--h);border-radius:2px 2px 0 0;background:#c9dfe9;transition:height .9s cubic-bezier(.2,.8,.2,1)}
.hm-viz-rank__strip span.is-me{background:#b8460b}.hm-viz-rank__strip span.is-me::after{content:"▼";position:absolute;top:-18px;left:50%;transform:translateX(-50%);font-size:12px;color:#b8460b}
.hm-viz-rank__ends{display:flex;justify-content:space-between;gap:8px;margin-top:4px!important;font-size:11px!important;color:#4b6b79!important}
.hm-viz__src{margin-top:6px!important;font-size:11px!important;color:#4b6b79!important}.hm-viz__src a{color:#215b72!important;text-decoration:underline!important}
.hm-election-viz.is-anim:not(.is-in) :is(.hm-viz-trend__bar,.hm-viz-rank__strip span){height:0}
@media (prefers-reduced-motion:reduce){.hm-viz-trend__bar,.hm-viz-rank__strip span{transition:none}}
@media (min-width:768px){.hm-election-viz{grid-template-columns:3fr 2fr}.hm-viz-trend__val b{font-size:13px}.hm-viz-trend__labels{font-size:11px}}
.hm-election-top__stat:has(.hm-election-top__spark){position:relative}.hm-election-top__stat:has(.hm-election-top__spark) b{white-space:nowrap}
.hm-election-top__spark{position:absolute;top:24px;right:8px;width:56px;height:22px;color:#17607c;overflow:visible}
.hm-election-slot[hidden],.hm-election-card[hidden]{display:none!important}@media(max-width:480px){.hm-election-group{padding:12px}.hm-election-card{padding:12px}.hm-election-card__title{font-size:18px!important}}


.hm-vote-nudge{display:block;box-sizing:border-box;margin:2rem 0;padding:16px;border:1px solid #b9d4e2;border-left:5px solid #17607c;border-radius:12px;background:#f1f8fb;color:#153c4c;line-height:1.6}
.post_content .hm-vote-nudge p{margin:0!important;padding:0!important;color:#153c4c!important}
.hm-vote-nudge__head{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:800;line-height:1.45}
.hm-vote-nudge__head span{flex:none;padding:1px 8px;border-radius:999px;background:#17607c;color:#fff;font-size:12px;font-weight:700}
.post_content .hm-vote-nudge__head span{color:#fff!important}
.post_content .hm-vote-nudge__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px!important}
.hm-vote-nudge__stat{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:8px;background:#fff;border:1px solid #d3e4ec}
.hm-vote-nudge__stat small{font-size:11.5px;color:#4b6b79;line-height:1.45}
.hm-vote-nudge__stat b{font-size:22px;font-weight:800;line-height:1.2;color:#10485d;font-variant-numeric:tabular-nums}
.hm-vote-nudge__stat i{font-style:normal;font-size:13px;margin-left:1px;white-space:nowrap}
.hm-vote-nudge__stat em{font-style:normal;font-size:12px;font-weight:700;color:#4b6b79;margin-left:4px}
.post_content .hm-vote-nudge__line{margin-top:12px!important;font-size:15px;font-weight:700}
.post_content .hm-vote-nudge__next{margin-top:8px!important;font-size:14px}
.post_content .hm-vote-nudge p.hm-vote-nudge__early{margin-top:8px!important;padding:8px 10px!important;color:#7a2e05!important}.post_content .hm-vote-nudge__early b{color:#fff!important}
.post_content .hm-vote-nudge__links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px!important}
.post_content a.hm-vote-nudge__go{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 16px;border-radius:8px;background:#17607c;color:#fff!important;font-size:16px;font-weight:700;text-decoration:none!important}
.post_content a.hm-vote-nudge__go:hover{background:#10485d}
.post_content a.hm-vote-nudge__sub{color:#215b72!important;font-size:14px;text-decoration:underline!important;text-underline-offset:3px}
.post_content .hm-vote-nudge__note{margin-top:8px!important;font-size:12px;color:#4b6b79!important}
.hm-vote-nudge a:focus-visible{outline:3px solid #9a4f06;outline-offset:3px}
@media(max-width:480px){.hm-vote-nudge{padding:12px}.hm-vote-nudge__stat b{font-size:19px}.hm-vote-nudge__head{font-size:16px}}


/* Article-top AdSense below title/date and above the thumbnail (operator 2026-10-08). */
.l-mainContent__inner { display: flex; flex-direction: column; }
.l-mainContent__inner > .p-articleHead { order: 1; }
.l-mainContent__inner > .p-articleMetas { order: 2; }
.l-mainContent__inner > .p-articleThumb { order: 4; }
.l-mainContent__inner > .post_content { order: 5; }
.l-mainContent__inner > .w-singleTop { order: 3 !important; margin-top: 24px; margin-bottom: 24px; }
.l-mainContent__inner > .codex-hm-ad-reserve[data-codex-hm-ad-reserve="article-top"] { order: 5 !important; }
.l-mainContent__inner > .w-singleBottom { order: 6; }
.l-mainContent__inner > .p-articleFoot { order: 7; }
.l-mainContent__inner > .l-articleBottom { order: 8; }

/* Codex direct-design: compact hero-to-first-answer spacing. */
.l-mainContent__inner > .post_content {
    margin-top: 32px !important;
}
@media (max-width: 767px) {
    .l-mainContent__inner > .post_content {
        margin-top: 24px !important;
    }
}

/* Codex direct-design: restore three-hub hero heading contrast. */
.hm-three-parent .hm-three-hero h2 {
    background: transparent !important;
    color: #0d4f82 !important;
    text-shadow: none !important;
}


/* Keep the common event/ad surface, but let the article's own TOC and answer lead. */
.l-mainContent__inner > .post_content {
  display: flex;
  flex-direction: column;
}
.l-mainContent__inner > .post_content > .w-beforeToc {
  order: 90;
}


/* Keep the article answer prominent; the same tags remain in the article footer. */
.p-articleMetas.-top .p-articleMetas__termList.c-tagList {
    display: none !important;
}


@supports (content-visibility: auto) {
  .hm-row-track > .hm-card { content-visibility: auto; contain-intrinsic-size: auto 260px auto 328px; }
  .l-footer .hm-footer-section { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
}


@media (max-width: 640px) {
  .post_content table,
  .entry-content table,
  .c-postContent table,
  .swell-block-dl table,
  .wp-block-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    line-height: 1.55;
  }

  .post_content th,
  .post_content td,
  .entry-content th,
  .entry-content td,
  .c-postContent th,
  .c-postContent td,
  .wp-block-table th,
  .wp-block-table td {
    padding: 8px 9px;
    vertical-align: top;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .codex-mobile-table-wrap {
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    margin: 14px 0 18px;
  }

  .codex-mobile-table-caption {
    margin: 6px 2px 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
  }

  .codex-mobile-table-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    padding: 19px 0 6px;
    scrollbar-width: thin;
  }

  .codex-mobile-table-scroll::before {
    content: "表は横にスクロールできます";
    position: absolute;
    top: 0;
    left: 2px;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
  }

  .codex-mobile-table-scroll.codex-table-at-start.codex-table-at-end {
    padding-top: 0;
  }

  .codex-mobile-table-scroll.codex-table-at-start.codex-table-at-end::before {
    content: none;
    display: none;
  }

  .codex-mobile-table-scroll::after {
    content: none;
    display: none;
  }

  .codex-mobile-table-scroll.codex-table-at-end::after {
    display: none;
  }

  .codex-mobile-table-scroll table {
    width: max-content;
    min-width: min(520px, 133vw);
    max-width: none;
  }

  .codex-mobile-table-scroll th:first-child,
  .codex-mobile-table-scroll td:first-child {
    position: static !important;
    left: auto !important;
    z-index: auto !important;
    min-width: 6.5em;
    background: #dcebf6;
    color: #0b2440;
    font-weight: 700;
  }

  .codex-mobile-table-compare-wide table {
    table-layout: fixed;
    width: var(--codex-table-min-width, 760px) !important;
    min-width: var(--codex-table-min-width, 760px) !important;
    max-width: none !important;
  }

  .codex-mobile-table-compare-wide th,
  .codex-mobile-table-compare-wide td {
    width: var(--codex-table-col-width, 116px) !important;
    min-width: var(--codex-table-col-width, 116px) !important;
    max-width: var(--codex-table-col-width, 116px) !important;
    padding: 6px 8px !important;
    border-color: #aebfd0 !important;
    color: #172033;
    font-size: 13px;
    line-height: 1.45;
  }

  .codex-mobile-table-compare-wide tbody tr:nth-child(even) td,
  .codex-mobile-table-compare-wide tbody tr:nth-child(even) th,
  .codex-mobile-table-compare-wide table > tr:nth-child(even) td,
  .codex-mobile-table-compare-wide table > tr:nth-child(even) th {
    background: #f3f7fb;
  }

  .codex-mobile-table-compare-wide thead th,
  .codex-mobile-table-compare-wide tr[data-codex-header-row="1"] th {
    background: #102a43 !important;
    color: #fff !important;
    font-weight: 900;
  }

  .codex-mobile-table-compare-wide th:first-child,
  .codex-mobile-table-compare-wide td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 2;
    width: var(--codex-table-label-width, 88px) !important;
    min-width: var(--codex-table-label-width, 88px) !important;
    max-width: var(--codex-table-label-width, 88px) !important;
    background: #dcebf6 !important;
    color: #0b2440 !important;
    box-shadow: 6px 0 0 #dcebf6, 7px 0 0 #8aa8c2;
  }

  .codex-mobile-table-compare-wide tr[data-codex-row-kind="image"] td,
  .codex-mobile-table-compare-wide tr[data-codex-row-kind="image"] th {
    background: #fff !important;
    text-align: center;
    vertical-align: middle;
  }

  .codex-mobile-table-compare-wide tr[data-codex-row-kind="image"] td:first-child,
  .codex-mobile-table-compare-wide tr[data-codex-row-kind="image"] th:first-child {
    background: #dcebf6 !important;
    color: #0b2440 !important;
    text-align: left;
  }

  .codex-mobile-table-compare-wide tr[data-codex-row-kind="image"] img {
    display: block;
    width: auto !important;
    max-width: 74px !important;
    height: 52px !important;
    object-fit: contain;
    margin: 0 auto;
  }

  .codex-mobile-table-compare-wide tr[data-codex-row-kind="price"] td,
  .codex-mobile-table-compare-wide tr[data-codex-row-kind="price"] th {
    background: #fff0cf !important;
    vertical-align: middle;
  }

  .codex-mobile-table-compare-wide tr[data-codex-row-kind="price"] td:first-child,
  .codex-mobile-table-compare-wide tr[data-codex-row-kind="price"] th:first-child {
    background: #ffd98a !important;
    color: #3f2500 !important;
  }

  .codex-mobile-table-compare-wide thead th:first-child {
    z-index: 3;
  }

  .codex-mobile-table-compare-wide .wp-block-button__link,
  .codex-mobile-table-compare-wide .mh-price-btn,
  .codex-mobile-table-compare-wide .monohikaku-price-btn,
  .codex-mobile-table-compare-wide a[class*="btn"],
  .codex-mobile-table-compare-wide a[class*="button"],
  .codex-mobile-table-compare-wide span[class*="btn"],
  .codex-mobile-table-compare-wide span[class*="button"] {
    box-sizing: border-box;
    display: inline-block !important;
    width: 100%;
    min-width: 0 !important;
    max-width: 100%;
    min-height: 34px !important;
    padding: 7px 6px !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    font-size: 13px !important;
    line-height: 1.25 !important;
  }

  .codex-mobile-table-stack {
    display: block;
  }

  .codex-mobile-table-stack table,
  .codex-mobile-table-stack thead,
  .codex-mobile-table-stack tbody,
  .codex-mobile-table-stack tr,
  .codex-mobile-table-stack th,
  .codex-mobile-table-stack td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }

  .codex-mobile-table-stack table {
    border: 1px solid #aebfd0;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
  }

  .codex-mobile-table-stack thead {
    position: absolute;
    width: 1px !important;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .codex-mobile-table-stack tr[data-codex-header-row="1"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }

  .codex-mobile-table-stack tr {
    box-sizing: border-box;
    margin: 0;
    border: 0;
    border-top: 1px solid #b8c8d8;
    border-radius: 0;
    background: #fff;
    overflow: visible;
  }

  .codex-mobile-table-stack tbody tr:first-child,
  .codex-mobile-table-stack table > tr:first-child {
    border-top: 0;
  }

  .codex-mobile-table-stack td,
  .codex-mobile-table-stack th {
    box-sizing: border-box;
    border-width: 0 0 1px !important;
    border-color: #c7d5e2 !important;
    background: #fff !important;
    color: #111827 !important;
  }

  .codex-mobile-table-stack tr > :last-child {
    border-bottom: 0 !important;
  }

  .codex-mobile-table-stack td[data-codex-label]::before {
    content: none;
    display: none;
  }

  .codex-mobile-table-stack-labeled tr > :not(:first-child)[data-codex-label]::before {
    content: attr(data-codex-label-short);
    display: block;
    grid-column: 1;
    margin: 0.15em 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #5b7086;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.35;
  }

  .codex-mobile-table-stack-labeled td[data-codex-label],
  .codex-mobile-table-stack-labeled th[data-codex-label] {
    display: grid;
    grid-template-columns: 5.2em minmax(0, 1fr);
    column-gap: 8px;
    align-items: start;
    padding: 8px 10px 10px;
    line-height: 1.7;
  }

  .codex-mobile-table-stack-labeled .codex-mobile-table-cell-value {
    display: block;
    grid-column: 2;
    min-width: 0;
  }

  .codex-mobile-table-stack td:first-child,
  .codex-mobile-table-stack th:first-child {
    background: #dcebf6 !important;
    color: #0b2440 !important;
    font-weight: 800;
  }

  .codex-mobile-table-stack-labeled tr > :first-child {
    background: #102a43 !important;
    color: #fff !important;
    font-weight: 900;
    padding: 10px 11px !important;
    line-height: 1.45;
  }

  .codex-mobile-table-record table,
  .codex-mobile-table-place table,
  .codex-mobile-table-usecase table,
  .codex-mobile-table-rank table {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .codex-mobile-table-record tr,
  .codex-mobile-table-place tr,
  .codex-mobile-table-usecase tr,
  .codex-mobile-table-rank tr {
    margin: 0 0 10px;
    border: 1px solid #aebfd0;
    border-radius: 7px;
    background: #fff;
    overflow: hidden;
  }

  .codex-mobile-table-record tbody tr:first-child,
  .codex-mobile-table-record table > tr:first-child,
  .codex-mobile-table-place tbody tr:first-child,
  .codex-mobile-table-place table > tr:first-child,
  .codex-mobile-table-usecase tbody tr:first-child,
  .codex-mobile-table-usecase table > tr:first-child,
  .codex-mobile-table-rank tbody tr:first-child,
  .codex-mobile-table-rank table > tr:first-child {
    border-top: 1px solid #aebfd0;
  }

  .codex-mobile-table-record tr > :not(:first-child),
  .codex-mobile-table-place tr > :not(:first-child),
  .codex-mobile-table-usecase tr > :not(:first-child) {
    padding: 9px 11px 11px !important;
    line-height: 1.72;
  }

  .codex-mobile-table-record tr:last-child,
  .codex-mobile-table-place tr:last-child,
  .codex-mobile-table-usecase tr:last-child,
  .codex-mobile-table-rank tr:last-child {
    margin-bottom: 0;
  }

  .codex-mobile-table-procedure td[data-codex-label]::before,
  .codex-mobile-table-procedure th[data-codex-label]::before {
    content: none;
    display: none;
  }

  .codex-mobile-table-procedure td[data-codex-label],
  .codex-mobile-table-procedure th[data-codex-label] {
    padding: 9px 11px 11px;
    line-height: 1.75;
  }

  .codex-mobile-table-stack tr > :first-child:last-child {
    background: #102a43 !important;
    color: #fff !important;
    font-weight: 900;
  }

  .codex-mobile-table-rank tbody,
  .codex-mobile-table-rank tr,
  .codex-mobile-table-rank td {
    display: block;
  }

  .codex-mobile-table-rank td {
    border-width: 0 0 1px !important;
  }

  .codex-mobile-table-rank tr > :last-child {
    border-bottom: 0 !important;
  }

  .codex-mobile-table-rank td:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dcebf6 !important;
    color: #0b2440 !important;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
  }

  .codex-mobile-table-rank td:first-child::before {
    content: none;
    display: none;
  }

}
