/* モノヒカク：価格枠の旧 nth-child 2列指定を、表やラベル＋ボタンのセルへ適用させない。
   2026-10-13 mono-price-links-grid-squash-20261011。
   スマートフォンのボタンは120px以上で折り返し、条件付き価格の注記は全幅に保つ。
   本文・価格・リンク・注記は変更しない。戻す時は次のsnippetを無効化：
   sitewide_css.py --site monohikaku --css assets/monohikaku/price_grid.css
     --name "Codex: mono price grid" --deactivate */
/* Keep tables and label/button cells out of legacy positional grids. */
html body .mh-section-price-links>div:nth-child(2)>div:has(>table),
html body .mh-section-price-links>div:nth-child(2)>div:has(>.tm){display:block!important;grid-template-columns:none!important}
html body .mh-section-price-links>div:nth-child(2)>div:has(>span):has(>a.mh-price-btn){display:block!important}
@media(max-width:767px){
/* Only table-cell groups need to wrap; ordinary full-width sections keep their layout. */
html body :is(td div.mh-section-price-links,div.mh-section-price-links.mh-row-buy):has(>a.mh-price-btn){display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:stretch!important}
html body :is(td div.mh-section-price-links,div.mh-section-price-links.mh-row-buy):has(>a.mh-price-btn)>a.mh-price-btn{flex:1 1 120px!important;min-width:120px!important;width:auto!important;margin:0!important}
html body :is(td div.mh-section-price-links,div.mh-section-price-links.mh-row-buy)>a.mh-price-btn:has(.mh-price-btn__note:not(:empty)){flex-basis:100%!important}
html body td:has(div.mh-section-price-links){min-width:136px!important}
/* Keep the full condition text readable without extra vertical padding. */
html body #body_wrap#body_wrap#body_wrap#body_wrap div.mh-section-price-links>a.mh-price-btn:has(.mh-price-btn__note:not(:empty)){padding-top:6px!important;padding-bottom:6px!important}
}
/* Explicitly authored .se-cta and owned ms-apply keyboard-focus correction; no generic link conversion or color assignment.
   Site/vendor colors continue to come from the existing canonical color modules. */

.post_content .se-cta__benefit{margin:0 0 .55em!important;font-size:16px;font-weight:700;line-height:1.6}
.post_content .se-cta .se-cta__btn,.post_content .se-cta--provided>a,.post_content .se-cta--provided>p>a{position:relative;display:flex;align-items:center;justify-content:center;gap:.65em;box-sizing:border-box;width:100%;max-width:100%;min-height:52px;padding:12px 18px;border:0;border-radius:8px;background:var(--ms-head,#173b64);color:var(--se-cta-text,#fff);font-size:16px;font-weight:700;line-height:1.5;text-decoration:none;text-align:center;box-shadow:0 2px 0 #0003}



.post_content .se-cta__btn:hover,.post_content .se-cta--provided>a:hover,.post_content .se-cta--provided>p>a:hover{text-decoration:underline;text-underline-offset:.2em}
.post_content .se-cta .se-cta__btn:focus-visible,.post_content .se-cta--provided>a:focus-visible,.post_content .se-cta--provided>p>a:focus-visible,#body_wrap .post_content a.ms-apply__btn:focus-visible{outline:3px solid #2454db!important;outline-offset:3px!important}
.post_content .se-cta--provided img[width="1"][height="1"]{position:absolute;width:1px!important;height:1px!important;opacity:0;visibility:hidden;pointer-events:none}
.post_content .se-cta__note{margin:.6em 0 0!important;color:#3d4652;font-size:14px;line-height:1.7}
@media(min-width:768px){.post_content .se-cta .se-cta__btn,.post_content .se-cta--provided>a,.post_content .se-cta--provided>p>a{width:fit-content;min-width:min(100%,360px)}}

/* Classic WordPress may wrap a complete text material and its tracker in a paragraph. */
.post_content .se-cta--provided>p:not(.se-cta__benefit):not(.se-cta__note){margin:0!important}


/* カテゴリー：SWELL既定の英字の副題（全サイト） */
#body_wrap .c-pageTitle__subTitle{display:none!important}

/* 記事・固定ページの枠（トップ以外）。並び順に依らないよう要素ごとに上の余白だけで間隔を作る */
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>*{margin-bottom:0!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.p-articleHead,.c-pageTitle){margin-top:0!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>.p-articleMetas.-top{margin-top:12px!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.p-articleThumb,.w-singleTop,.sp1-mnp-strip,.post_content){margin-top:24px!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.p-articleFoot,.w-singleBottom){margin-top:40px!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>.p-articleFoot{padding-top:16px!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.w-singleBottom,.w-singleTop):not(:has(*)){margin-top:0!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>.c-shareBtns.-bottom{margin-top:24px!important}
#body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>#after_article{margin-top:32px!important;padding-top:0!important}
#body_wrap.sr-on #after_article .l-articleBottom__section{margin-top:40px!important}
#body_wrap.sr-on #after_article>:first-child{margin-top:0!important}

/* 本文の見出しと段落 */
#body_wrap.sr-on .post_content>h2:not(:first-child){margin-top:48px!important}
#body_wrap.sr-on .post_content>h2{margin-bottom:24px!important}
#body_wrap.sr-on .post_content>h3:not(:first-child){margin-top:32px!important}
#body_wrap.sr-on .post_content>h3{margin-bottom:16px!important}
#body_wrap.sr-on .post_content>*:has(+.p-toc){margin-bottom:32px!important}
#body_wrap.sr-on .post_content>.p-toc{margin-top:0!important;margin-bottom:32px!important}
/* 目次の「もっと見る」：SWELL既定は 98x35px でタップ目安44pxに届かない（2026-10-22 モノ比較 anker-charger 390px実測）。全サイト共通で高さ44px */
.p-toc__expandBtn{min-height:44px!important;padding:10px 20px!important}
#body_wrap.sr-flat .post_content>p{margin-bottom:1.2em!important}
/* 段落→段落の間：行間1.82（29px）と段落間18px の差が小さく切れ目が見えなかった。参考記事の390px実測の中央値24〜25px（ダイヤモンド・Zenn24、
   ライフハッカー25/PC30、note30/PC36）に合わせ SP1.5em≒24px・PC1.7em≒28px。段落の次が段落の時だけ（囲み・表・リストの前の余白は別管理）。
   2026-10-23 UX 20261010-sp-17px-24px-1-5em-pc-28px-1-82。戻し方：この2行を消して配り直す */
#body_wrap:is(.sr-card,.sr-hm) .post_content>p:has(+p){margin-bottom:1.5em!important}
@media (min-width:960px){#body_wrap:is(.sr-card,.sr-hm) .post_content>p:has(+p){margin-bottom:1.7em!important}}

/* カテゴリー：見出し→説明16→一覧24。案内パーツの重なる見出し・説明を隠す */
#body_wrap.sr-on.archive .c-pageTitle{margin-bottom:0!important}
#body_wrap.sr-on.archive .p-termHead{margin-top:16px!important;margin-bottom:24px!important}
#body_wrap.sr-on.archive .l-mainContent__inner>*{margin-bottom:0!important}
#body_wrap.sr-on.archive .l-mainContent__inner>:is(.p-termContent,.sc-guide,.c-prNotation,.p-postListWrap,.c-pagination){margin-top:24px!important}
#body_wrap.sr-shotai.archive .p-termHead{padding:16px!important}
#body_wrap.sr-card.archive .p-termHead__desc{padding:0!important}


/* 2026-11-06 モノ比較：見出しを隠した後も案内の3px下線と次の節の1px上線が残り、ページ見出しの下に線3本と空白が並んでいた。両方の線を外す */



/* トップ：見出し直後とセクション間 */
#body_wrap.sr-on.home :is(.mhz,.spz,.shz){row-gap:0!important}
#body_wrap.sr-on.home :is(.mhz,.spz,.shz)>*{margin-top:0!important;margin-bottom:0!important}
#body_wrap.sr-on.home :is(.mhz,.spz,.shz)>:not(style,script,link,template)~:not(style,script,link,template){margin-top:28px!important}
#body_wrap.sr-on.home :is(.mhz,.spz,.shz)>:is(.mhz-intro,.spz-head,.shz-hero)+*,#body_wrap.sr-on.home :is(.mhz,.spz,.shz)>:is(.mhz-intro,.spz-head,.shz-hero)+:is(style,script)+*{margin-top:16px!important}

/* フッター */
#body_wrap.sr-on .w-footer{padding-top:0!important}
#body_wrap.sr-on .l-footer__widgetArea{padding-top:32px!important;padding-bottom:32px!important}

@media (max-width:959px){
  /* カード型3サイトのスマホ：本文の左右を20pxに */
  #body_wrap.sr-card:not(.home) #content.l-content{padding-top:16px!important}
  #body_wrap.sr-shotai:not(.home) #content.l-content{padding-left:8px!important;padding-right:8px!important}
  #body_wrap.sr-card:not(.home) .l-mainContent__inner{padding:20px 12px 28px!important}
  #body_wrap.sr-on .w-footer__box{padding-top:0!important;padding-bottom:0!important;margin-bottom:0!important}
  #body_wrap.sr-on .w-footer__box+.w-footer__box{margin-top:32px!important}
}
@media (min-width:960px){
  #body_wrap.sr-card:not(.home) #content.l-content{padding-top:40px!important}
  #body_wrap.sr-card:not(.home) .l-mainContent__inner{padding:56px 64px!important}
  #body_wrap.sr-flat:is(.single,.page):not(.home) .l-mainContent__inner{max-width:800px;margin-left:auto;margin-right:auto}
  #body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.p-articleThumb,.w-singleTop,.sp1-mnp-strip,.post_content){margin-top:32px!important}
  #body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.p-articleFoot,.w-singleBottom){margin-top:48px!important}
  #body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>:is(.w-singleBottom,.w-singleTop):not(:has(*)){margin-top:0!important}
  #body_wrap.sr-on:is(.single,.page):not(.home) .l-mainContent__inner>#after_article{margin-top:40px!important}
  #body_wrap.sr-on #after_article .l-articleBottom__section{margin-top:48px!important}
  #body_wrap.sr-on .post_content>h2:not(:first-child){margin-top:64px!important}
  #body_wrap.sr-on .post_content>h2{margin-bottom:28px!important}
  #body_wrap.sr-on .post_content>h3:not(:first-child){margin-top:40px!important}
  #body_wrap.sr-on.home :is(.mhz,.spz,.shz)>:not(style,script,link,template)~:not(style,script,link,template){margin-top:40px!important}
  #body_wrap.sr-on.home :is(.mhz,.spz,.shz)>:is(.mhz-intro,.spz-head,.shz-hero)+*,#body_wrap.sr-on.home :is(.mhz,.spz,.shz)>:is(.mhz-intro,.spz-head,.shz-hero)+:is(style,script)+*{margin-top:24px!important}
  #body_wrap.sr-on .l-footer__widgetArea{padding-top:48px!important;padding-bottom:48px!important}
  #body_wrap.sr-shotai.archive .p-termHead{padding:20px 24px!important}
}

/* モノヒカク：型番ごとの「色・容量・本数・販路を比べた最安」パネル（tools/mono_offers.py が本文に置く .mh-offers）。
   2026-10-19 本人「色違い、本数違い、販路違いなどのあらゆる全てを比較でき、見やすく、わかりやすく最安を見つけられるようにしてよ」。
   最安の1行を先頭で強調し、3モール各1件を最初に見せ、残りは「すべて見る」に畳む。スマートフォンでは1行を2段のカードにする。
   配布：tools/sitewide_css.py --site monohikaku --css assets/monohikaku/offers.css --name "Claude: mono offers" --style-id claude-mh-offers-v1
   戻す時は同じ指定に --deactivate。 */



























@media(max-width:767px){
  
  
  
  
  
  
  
  
}

/* 全行で仕様の違いが空のパネルだけ、PCの空列を除く。違いのあるパネルの列揃えは維持。 */
@media(min-width:768px){
  
  
}

/* D1029-53: 商品名・型番・同一製品画像を全配置に保つ。 */
html .post_content .mh-product-identity{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;margin:8px 0 14px;max-width:100%}
html .post_content .mh-product-identity>div{min-width:0}
html .post_content .mh-product-identity__image{display:block;width:96px;max-width:100%;margin:0 0 8px;text-decoration:none}
html .post_content .mh-product-identity__image img{display:block;width:96px;height:96px;max-width:100%;object-fit:contain;margin:0;background:#fff}
html .post_content .mh-product-identity__name{display:block;font-size:16px;line-height:1.55;font-weight:700;line-break:strict;overflow-wrap:break-word;text-wrap:pretty}
html .post_content .mh-product-identity__model{display:block;margin-top:4px;font-size:13px;line-height:1.5;color:#465b6a;overflow-wrap:anywhere}
html .post_content .mh-compare-product>.mh-product-identity__image{margin:0 auto 10px}
/* 比較表の狭い見出しは縦積みにし、画像が商品名の幅を奪わないようにする。 */
html .post_content :is(th,.tm-name) .mh-product-identity{display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px 0;text-align:center}
html .post_content :is(th,.tm-name) .mh-product-identity>div{width:100%}
html .post_content :is(th,.tm-name) .mh-product-identity .mh-product-identity__image{margin:0 auto}
html .post_content :is(th,.tm-name) .mh-product-identity .mh-product-identity__name{font-size:14px;line-height:1.5;word-break:normal}
html .post_content :is(th,.tm-name) .mh-product-identity__model{color:inherit;opacity:.85}
@media(max-width:390px){html .post_content .mh-product-identity{grid-template-columns:80px minmax(0,1fr);gap:10px}html .post_content .mh-product-identity__image,html .post_content .mh-product-identity__image img{width:80px;height:80px}}
/* 同じ商品識別欄を中盤・末尾で揃える。画像と名前をスマホでも並べる。 */
@media(max-width:767px){
html .post_content .mh-compare .mh-compare-product:has(>.mh-product-identity__image){display:grid;grid-template-columns:80px minmax(0,1fr);column-gap:12px;align-items:start}
html .post_content .mh-compare-product>.mh-product-identity__image{grid-column:1;grid-row:1 / span 6;margin:0}
html .post_content .mh-compare-product>.mh-product-identity__image img{width:80px;height:80px}
}
/* 2026-11-20 mono-picks-mobile-price-table-vertical-text：スマホの3列価格表は td が約110pxで、grid(96px+1fr)だと商品名が1文字幅になり縦割れする。td 内は th と同じ縦積みにする。戻し方 offers.css.bak-20261120-tdident */
@media(max-width:767px){html .post_content td .mh-product-identity{display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px 0;text-align:center}html .post_content td .mh-product-identity>div{width:100%}html .post_content td .mh-product-identity .mh-product-identity__image{margin:0 auto}html .post_content td .mh-product-identity .mh-product-identity__name{font-size:14px;line-height:1.5;word-break:normal}}
/* 記事下の関連枠（codex-related-context-v5）の小さい文字の下限（2026-10-21 claude-fill、台帳 20261010-kicker-eyebrow-12px・20261017-shotai-card-title-readable）。
   390px実測：上のラベル monohikaku 11.52px・shotai-code 10.1px、カード見出し shotai-code 14.04px。ラベルは12px以上、見出しは他の記事カードと同じ16pxへ。
   色・字間・余白は元の部品のまま。戻し方：sitewide_css.py --deactivate。 */
.codex-related-context-v5__eyebrow{font-size:max(12px,.72rem)!important}
.codex-related-context-v5__title{font-size:max(16px,1em)!important}
/* 記事本文の見出しを文節で折り返し、1字だけの最終行を減らす（UX 20261023-h2-h3-word-break-auto-ph-68bf76）。
   非対応ブラウザは normal / wrap に退化するだけ。段階導入：2026-10-26 monohikaku から。 */
.post_content h2,.post_content h3{word-break:auto-phrase;text-wrap:balance}
.sp1-flash{margin:0 0 14px}
.sp1-flash a.sp1-flash__link{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;min-height:48px;padding:12px 14px;border-radius:14px;background:linear-gradient(135deg,#b3001b 0%,#e0263e 100%);color:#fff!important;text-decoration:none!important;box-shadow:0 6px 18px rgba(179,0,27,.24)}
.sp1-flash__kicker{grid-column:1;font-size:13px;font-weight:800;line-height:1.4;color:#ffe25a;letter-spacing:.02em}
.sp1-flash__title{grid-column:1;font-size:18px;font-weight:900;line-height:1.4;color:#fff}
.sp1-flash__lead{grid-column:1;font-size:13.5px;font-weight:600;line-height:1.5;color:#fff3f4}
.sp1-flash__cd{grid-column:1;font-size:14px;font-weight:800;line-height:1.4;color:#fff;font-variant-numeric:tabular-nums}
.sp1-flash__cd:empty{display:none}
.sp1-flash__btn{grid-column:2;grid-row:1/span 4;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border-radius:999px;background:#fff;color:#b3001b;font-size:14.5px;font-weight:900;white-space:nowrap}
.sp1-flash a.sp1-flash__link:hover .sp1-flash__btn{background:#fff1b8}
.sp1-flash a.sp1-flash__link:focus-visible{outline:3px solid #ffd27a;outline-offset:3px}
.sp1-flash[data-flash-id^=audible-premium] a.sp1-flash__link{border:3px solid #ffe25a;background:linear-gradient(135deg,#a80018 0%,#f0233d 60%,#ff5a2a 100%);box-shadow:0 8px 24px rgba(240,35,61,.38)}
.sp1-flash[data-flash-id^=audible-premium] .sp1-flash__kicker{font-size:14px}
.sp1-flash[data-flash-id^=audible-premium] .sp1-flash__title{font-size:21px;line-height:1.35}
.sp1-flash[data-flash-id^=audible-premium] .sp1-flash__btn{background:#ffe25a;color:#a80018;animation:sp1flashpulse 1.8s ease-in-out infinite}
@keyframes sp1flashpulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@media(prefers-reduced-motion:reduce){.sp1-flash[data-flash-id^=audible-premium] .sp1-flash__btn{animation:none}}
@media(max-width:420px){.sp1-flash a.sp1-flash__link{grid-template-columns:minmax(0,1fr)}.sp1-flash__btn{grid-column:1;grid-row:auto;margin-top:6px;width:100%}}
@media(min-width:960px){.sp1-flash__title{font-size:21px}.sp1-flash[data-flash-id^=audible-premium] .sp1-flash__title{font-size:25px}}
/* モノ比較：価格つきの購入ボタンを先、商品検索のボタンを後に並べる（2026-11-08 本人「購入を妨げるものは徹底的に排除または改善」。
   全ボタン15,534個の23%が検索ボタンで、型番の欄によって Amazon 検索が先頭に来て価格つきの楽天・Yahoo! より目立っていた）。
   11/08 追記：本文の段落（p が grid の物）や表のセルに直接並ぶボタンも同じ。order は grid/flex の中だけで効き、普通の段落では何も変わらない。古い記事の検索ボタンは data-mh-route-kind="search_only" だけを持つので両方を見る。並びを変えるだけで、リンク・計測・ボタンの見た目は変えない。戻し方：sitewide_css.py --name "Claude: mono buy order" --existing-id 164 --deactivate */
.mh-compare-buy>.mh-compare-offer:has(>a.mh-price-btn:is([data-mh-link-role="search"],[data-mh-route-kind="search_only"])),
.mh-compare-buy>a.mh-price-btn:is([data-mh-link-role="search"],[data-mh-route-kind="search_only"]),
.mh-row-buy>a.mh-price-btn:is([data-mh-link-role="search"],[data-mh-route-kind="search_only"]),
.mh-row-buy>.mh-compare-offer:has(>a.mh-price-btn:is([data-mh-link-role="search"],[data-mh-route-kind="search_only"])),
.post_content :is(p,div,span,td)>a.mh-price-btn:is([data-mh-link-role="search"],[data-mh-route-kind="search_only"]){order:1}
/* 2026-11-08 冒頭の推薦の購入ボタン（tools/mono_pick_buttons.py）：リスト形式のPCで横いっぱいに広がらないよう幅を抑える */

/* 2026-11-12 最初の見出しの前の購入先（tools/mono_pick_buttons.py の lead_buy）。最初の実価格ボタンが本文1,500字より後の記事だけに入る。
   製品名とその製品の実価格ボタンを1行ずつ（製品が1つの記事は3モールを横並び）。幅は親に合わせ、はみ出しを切らない。
   戻し方：この段を消して配り直す（部品そのものは mono_pick_buttons.py --strip-lead --apply で外す） */








/* モノヒカク：比較表へ複製した購入ボタン行（tr.mh-buy-row > .mh-row-buy）の金額が隣のボタンへはみ出さない保険
   （2026-11-18 mono-table-price-buttons-overlap-20261029。post35639 で 267,999円・274,092円が重なった。2026-10-29の公開撮影）。
   記事ごとのCSS（table.tl 等）がセル幅やボタンの寸法を変えても、行は全幅・3列は110px未満にならず、足りない幅では折り返す。
   金額は折らず、ボタン内に収める。リンク・計測・文言は変えない。
   戻し方：sitewide_css.py --site monohikaku --css assets/monohikaku/buy_row_guard.css --name "Claude: mono buy row guard" --deactivate */
html body .post_content tr.mh-buy-row>td{display:table-cell!important;width:auto!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important}




/*
 * Monohikaku design system v5 — readable comparison newsroom.
 *
 * Information leads; decoration recedes. The article-top campaign remains in
 * its original DOM position with its original text, links, groups and order.
 */

:root {
  --mh5-ink: #172334;
  --mh5-text: #29394d;
  --mh5-muted: #5e6d7e;
  --mh5-paper: #fff;
  --mh5-canvas: #f7f6f3;
  --mh5-line: #d7dde3;
  --mh5-line-dark: #aeb9c4;
  --mh5-navy: #18344f;
  --mh5-rust: #9c3f19;
  --mh5-rust-soft: #f8eee8;
  --mh5-blue-soft: #eef4f8;
  --mh5-green: #25705d;
  --mh5-focus: #006fc9;
  --mh5-reading: 46rem;
  --mh5-wide: 68rem;
}

html {
  background: var(--mh5-canvas);
  font-size: 16px;
  scroll-padding-top: 5rem;
}

body,
#body_wrap {
  background: var(--mh5-canvas);
  color: var(--mh5-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  line-break: strict;
}

#body_wrap *,
#body_wrap *::before,
#body_wrap *::after {
  box-sizing: border-box;
}

#body_wrap :where(img, video, svg) {
  max-width: 100%;
  height: auto;
}

#body_wrap :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--mh5-focus) !important;
  outline-offset: 3px;
}

#header {
  border-top: 4px solid var(--mh5-rust);
  border-bottom: 1px solid var(--mh5-line);
  background: rgba(255, 255, 255, .98);
  box-shadow: none;
}

#header .l-header__inner,
#header .l-header__barInner,
.p-breadcrumb__list {
  max-width: 72rem;
}

#header .c-gnav > li > a {
  color: var(--mh5-ink);
  font-size: .875rem;
  font-weight: 720;
}

#header .c-gnav > li > a:hover {
  color: var(--mh5-rust);
}

.p-breadcrumb {
  border-bottom: 1px solid #e8ebee;
  background: #fbfbfa;
  color: var(--mh5-muted);
}

.p-breadcrumb__text {
  font-size: .75rem;
}

#content {
  width: min(72rem, calc(100% - 3rem));
  padding-top: clamp(2rem, 4vw, 3.75rem);
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

#main_content,
#main_content > .l-mainContent__inner {
  min-width: 0;
}

#main_content > .l-mainContent__inner {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#main_content :where(.c-pageTitle, .c-postTitle__ttl) {
  color: var(--mh5-ink) !important;
  font-weight: 850 !important;
  letter-spacing: -.025em !important;
  line-height: 1.36 !important;
  text-wrap: balance;
}

#main_content .c-pageTitle {
  margin: 0 0 2rem;
  padding: 0 0 .8rem;
  border: 0;
  border-bottom: 3px solid var(--mh5-ink);
  font-size: clamp(1.9rem, 3vw, 2.5rem) !important;
}

#main_content a {
  text-underline-offset: .2em;
}

/* Home: one clear task, then flat editorial sections. */
.home #content {
  width: min(72rem, calc(100% - 3rem));
  margin-bottom: 0 !important;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.home #main_content > .l-mainContent__inner {
  padding: 0;
}

.home .mhz {
  display: grid;
  gap: clamp(2.75rem, 6vw, 5.5rem);
}







.home .mhz-search form,
.home .c-searchForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: visible;
  border: 2px solid var(--mh5-ink);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}













.home .mhz-head :where(p, span) {
  color: var(--mh5-muted);
  font-size: .8125rem;
}













/* Give long Japanese headlines the full card width. The legacy home part
 * kept thumbnail, text and arrow in three columns, which squeezed titles
 * into tall narrow strips—especially in the four-card desktop row and on
 * phones. Thumbnail and label form a short first row; title and summary use
 * the complete card width below it. */














.home :where(.mhz-directory, .mhz-info) {
  overflow: visible;
  border: 1px solid var(--mh5-line);
  border-radius: 0;
  background: var(--mh5-paper);
}

.home :where(.mhz-directory, .mhz-info) > summary {
  min-height: 3.25rem;
  padding: .85rem 1rem;
  color: var(--mh5-ink);
  font-weight: 800;
}

/* Articles: wide title/media, fixed campaign, narrow reading rail. */
.single-post #main_content > .l-mainContent__inner {
  width: min(100%, 62rem);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem);
  border-top: 6px solid var(--mh5-ink);
  background: var(--mh5-paper);
}

.single-post #main_content .c-postTitle__ttl {
  max-width: 54rem;
  margin-inline: auto;
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
}

.single-post .p-articleMetas {
  max-width: 54rem;
  margin: .9rem auto 0;
  color: var(--mh5-muted);
}

.single-post .p-articleThumb {
  width: min(100%, 54rem) !important;
  margin: 2rem auto 2.5rem !important;
}

.single-post .p-articleThumb img {
  border-radius: .25rem;
  box-shadow: none;
}

.single-post .w-singleTop {
  width: min(100%, 54rem);
  margin: 2rem auto 2.5rem !important;
}

.single-post .w-singleTop .mh-campaign-box {
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid var(--mh5-line-dark);
  border-radius: .25rem;
  background: #fff;
  box-shadow: none;
}























/* Some legacy article-local styles hide the third and later campaign links
 * with !important. The campaign itself is immutable; this selector only
 * restores all existing links in their original DOM order and position. */




.single-post .post_content:not(.p-blogParts):not(.p-toc),
.page:not(.home) #main_content .post_content:not(.p-blogParts):not(.p-toc) {
  width: min(100%, var(--mh5-reading));
  margin-inline: auto !important;
  color: var(--mh5-text);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.9;
}

.single-post .post_content:not(.p-blogParts):not(.p-toc) > p:first-child:not(:empty),
.page:not(.home) #main_content .post_content:not(.p-blogParts):not(.p-toc) > p:first-child:not(:empty) {
  margin-bottom: 2rem;
  padding: 1rem 0 1rem 1.2rem;
  border: 0;
  border-left: 4px solid var(--mh5-rust);
  border-radius: 0;
  background: transparent;
  color: var(--mh5-ink);
  font-weight: 620;
}

#body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h2,
#main_content .post_content:not(.p-blogParts):not(.p-toc) h2 {
  margin-top: 3.3em;
  margin-bottom: 1.25em;
  padding: .25em 0 .65em !important;
  border: 0 !important;
  border-top: 5px solid var(--mh5-ink) !important;
  border-bottom: 1px solid var(--mh5-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mh5-ink) !important;
  font-size: clamp(1.45rem, 2.3vw, 1.85rem);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: -.02em;
}

#body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h2::before,
#main_content .post_content:not(.p-blogParts):not(.p-toc) h2::before {
  content: none !important;
}

#body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h3,
#main_content .post_content:not(.p-blogParts):not(.p-toc) h3 {
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding: .05em 0 .4em .85em !important;
  border: 0 !important;
  border-left: 4px solid var(--mh5-rust) !important;
  border-bottom: 1px solid var(--mh5-line) !important;
  background: transparent !important;
  color: var(--mh5-ink) !important;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.55;
}

#main_content .p-toc.-capbox {
  overflow: hidden;
  width: min(100%, var(--mh5-reading));
  margin: 2rem auto 3rem;
  border: 1px solid var(--mh5-line-dark);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

#main_content .p-toc.-capbox .p-toc__ttl {
  margin: 0 -1.5em 1em;
  padding: .7em 1em;
  border-radius: 0;
  background: var(--mh5-navy);
  color: #fff;
}

#main_content :where(.wp-block-table, .codex-mobile-table-wrap) {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  border: 1px solid var(--mh5-line);
  border-radius: 0;
  box-shadow: none;
}

#main_content :where(.wp-block-table, .codex-mobile-table-wrap):has(tr > *:nth-child(4)) table {
  min-width: 42rem;
}

#main_content .wp-block-table th {
  background: var(--mh5-blue-soft);
  color: var(--mh5-ink);
  font-weight: 800;
}

/* Categories: explain once, then expose every primary choice without a carousel. */
.archive #main_content > .l-mainContent__inner,
.search #main_content > .l-mainContent__inner,
.page:not(.home) #main_content > .l-mainContent__inner,
.error404 #main_content > .l-mainContent__inner {
  width: min(100%, 62rem);
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(2rem, 5vw, 4.25rem);
  border-top: 6px solid var(--mh5-ink);
  background: var(--mh5-paper);
}

.archive #main_content .p-termHead {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--mh5-text);
  line-height: 1.85;
}

/* The accessibility skip target belongs at the document start. Keeping it
 * absolute prevents a keyboard-focused link from following the reader over
 * footer categories after a long PageDown sequence. */
.mh-skip-link {
  position: absolute !important;
}

.archive #main_content .mono-cat-entry {
  margin: 0 0 3.5rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}









.archive #main_content .mono-cat-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mh5-line-dark);
}



















.archive #main_content :where(.p-postList, .mono-cat-track),
.search #main_content .p-postList {
  min-width: 0;
}

.archive #main_content .p-postList,
.search #main_content .p-postList {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

#main_content .p-postList__item,
.archive #main_content .p-postList.-type-card > .p-postList__item,
.search #main_content .p-postList.-type-card > .p-postList__item {
  width: 100% !important;
  min-width: 0;
  margin-bottom: 0 !important;
  overflow: hidden;
  border: 1px solid var(--mh5-line);
  border-radius: .25rem;
  background: #fff;
  box-shadow: none;
}

#main_content .p-postList__link {
  height: 100%;
  color: inherit;
  text-decoration: none;
}

#main_content .p-postList__body {
  width: 100% !important;
  min-width: 0;
  padding: .85rem .9rem 1rem;
}

#main_content .p-postList__thumb,
#footer .p-postList__thumb {
  width: 100% !important;
  min-width: 0 !important;
}

#main_content .p-postList__title {
  color: var(--mh5-ink);
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.55;
}

#main_content .p-postList__excerpt {
  color: var(--mh5-muted);
  font-size: .84rem;
  line-height: 1.7;
}

.search #main_content .p-postList__link {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  align-items: stretch;
}

.search #main_content .p-postList__thumb img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
}

.search #main_content .p-postList__thumb,
.search #main_content .p-postList__thumb > figure {
  width: 100% !important;
  height: 100% !important;
  min-height: 10rem;
}

/* Article ending: compact related reading and remove dead air before the footer. */
.single-post .p-articleFoot,
.single-post #after_article {
  width: min(100%, var(--mh5-reading));
  margin-inline: auto;
}

.single-post #after_article {
  padding-bottom: 1.5rem;
}

.single-post .mh5-reading-end {
  margin: 0 0 2rem;
  padding: 1.35rem 1.5rem 1.5rem;
  border-top: .3rem solid var(--mh5-rust);
  border-bottom: 1px solid var(--mh5-line);
  background: var(--mh5-paper);
}

.single-post .mh5-reading-end__eyebrow {
  margin: 0 0 .35rem;
  color: var(--mh5-rust-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.single-post .mh5-reading-end h2 {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--mh5-ink) !important;
  font-size: 1.35rem;
  line-height: 1.35;
}

.single-post .mh5-reading-end__guide {
  margin: .55rem 0 0;
  color: var(--mh5-muted);
  font-size: .9rem;
  line-height: 1.7;
}

.single-post .mh5-reading-end__stamp {
  margin: .35rem 0 0;
  color: var(--mh5-muted);
  font-size: .76rem;
}

.single-post .mh5-reading-end__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, auto)) minmax(15rem, 1fr);
  gap: .65rem;
  align-items: stretch;
  margin-top: 1rem;
}

.single-post .mh5-reading-end__category {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .65rem .85rem;
  border: 1px solid var(--mh5-navy);
  color: var(--mh5-navy);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.single-post .mh5-reading-end__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.5rem;
}

.single-post .mh5-reading-end__search input {
  min-width: 0;
  min-height: 3rem;
  padding: .65rem .8rem;
  border: 1px solid var(--mh5-line-dark);
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: var(--mh5-ink);
  font: inherit;
}

.single-post .mh5-reading-end__search button {
  min-height: 3rem;
  border: 1px solid var(--mh5-navy);
  border-radius: 0;
  background: var(--mh5-navy);
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
}

/* One legacy conclusion wraps a full five-product table in a saturated
 * gradient. Keep every row, but bring the long comparison back into the
 * editorial reading surface and restore readable supporting copy. */
.single-post .post_content .mh5-flat-decision-panel {
  padding: 1.4rem !important;
  border: 1px solid var(--mh5-line-dark) !important;
  border-top: .3rem solid var(--mh5-rust) !important;
  border-radius: .25rem !important;
  background: var(--mh5-paper) !important;
  color: var(--mh5-text) !important;
  box-shadow: none !important;
}

.single-post .post_content .mh5-flat-decision-panel > :where(h2, h3, p) {
  color: var(--mh5-text) !important;
  text-shadow: none !important;
}

/* Some legacy campaign parts wrap their embedded stylesheet in a visually
 * empty paragraph. Reset only its box; the campaign DOM and every link remain
 * in their original position and order. */
.single-post .w-singleTop .p-blogParts > p:first-child {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Keep the legacy Soundbar jump links, but put them back into the article
 * flow so the bar can no longer cover the paragraph being read. */
.single-post #floating-compare-nav {
  position: static !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 1.5rem auto !important;
  border-radius: .25rem !important;
  background: var(--mh5-navy) !important;
}

/* Keep marketplace names intact inside narrow two-column price cards. */
.single-post #main_content .mh-price-btn {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.single-post #main_content .mh-price-btn:not(.mh-price-btn-amazon):not(.mh-price-btn-rakuten):not(.mh-price-btn-yahoo) {
  border: 1px solid var(--mh5-line-dark) !important;
  background: var(--mh5-blue-soft) !important;
  color: var(--mh5-navy) !important;
}

.single-post .mh5-inline-related-disclosure {
  margin: 2rem 0 1rem;
  border-block: 1px solid var(--mh5-line-dark);
}

.single-post .mh5-inline-related-disclosure > summary {
  min-height: 3.25rem;
  padding: .8rem 2rem .8rem .15rem;
  color: var(--mh5-ink);
  font-size: .9rem;
  font-weight: 800;
}

.single-post .mh5-inline-related-disclosure[open] > summary {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--mh5-line);
}

.single-post .mh5-inline-related-disclosure > :where(.is-style-awase-yomitai-list, .mh-related-comparisons) {
  margin-inline: 0 !important;
}

/* Two old article-local rules turn a heading/body price card into two equal
 * columns.  Keep the same contents, but restore their intended reading order. */
.single-post #dynabook-g7-price-block {
  display: block !important;
}

/* Some older articles reuse the button-grid helper class on a table row.
 * Keep every seller and product cell in the same semantic row on desktop. */
#main_content table.mh-price-comparison-table tr.mh-section-price-links {
  display: table-row !important;
}

#main_content table.mh-price-comparison-table tr.mh-section-price-links > :where(th, td) {
  display: table-cell !important;
}

/* This article's five Shokz source images are square canvases with generous
 * built-in white space.  Reduce only their desktop display height while
 * preserving the full product image and its source asset. */
@media (min-width: 768px) {
  #body_wrap.postid-18923 .post_content figure.size-large > img.wp-image-0 {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 28rem !important;
    margin-inline: auto;
    object-fit: contain;
  }
}

@media (min-width: 768px) {
  #body_wrap.postid-23013 #price-table.mh-price-comparison-table tr > :first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    width: 7rem !important;
    min-width: 7rem !important;
    max-width: 7rem !important;
    background: var(--mh5-blue-soft) !important;
    box-shadow: 1px 0 0 var(--mh5-line);
  }

  #body_wrap.postid-23013 #price-table.mh-price-comparison-table thead tr > :first-child {
    z-index: 3;
    background: var(--mh5-navy) !important;
    color: #fff !important;
  }

  

  #body_wrap.postid-23736 #price-table.mh-pokemon-table {
    min-width: 82.5rem !important;
  }

  #body_wrap.postid-23736 #price-table.mh-pokemon-table > :where(thead, tbody, tfoot) > tr > :where(th, td):first-child {
    min-width: 12rem !important;
  }

  #body_wrap.postid-23736 #price-table.mh-pokemon-table > :where(thead, tbody, tfoot) > tr > :where(th, td):not(:first-child) {
    min-width: 8.25rem !important;
    word-break: normal !important;
  }
}

/* This official creative is almost entirely pale negative space and its text
 * is not legible even after a stable viewport load. Preserve the linked
 * source/copyright, but present the image's existing identification as a calm
 * text source card instead of an apparently broken image panel. */
.single-post figure:has(> img[src*="daikin-hybrid-ceramheat-wrh135as-h1"]) {
  padding: .9rem 1rem !important;
  border: 1px solid var(--mh5-line-dark);
  border-left: 4px solid var(--mh5-rust);
  background: var(--mh5-blue-soft);
}

.single-post figure:has(> img[src*="daikin-hybrid-ceramheat-wrh135as-h1"])::before {
  content: "公式製品情報：ダイキン ハイブリッドセラムヒート WRH135AS";
  display: block;
  color: var(--mh5-ink);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.6;
}

.single-post img[src*="daikin-hybrid-ceramheat-wrh135as-h1"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
}

.single-post figure:has(> img[src*="daikin-hybrid-ceramheat-wrh135as-h1"]) figcaption {
  margin: .35rem 0 0 !important;
  color: var(--mh5-muted);
  font-size: .72rem;
  line-height: 1.5;
  text-align: left;
}

.single-post #after_article .l-articleBottom__section {
  margin-bottom: 0;
  padding-bottom: 0;
}

.single-post #after_article .p-postList {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: .85rem !important;
}

.single-post #after_article .p-postList__link {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  min-height: 7rem;
}

.single-post #after_article .p-postList__thumb img {
  width: 100%;
  height: 100%;
  min-height: 7rem;
  object-fit: cover;
}

.single-post #after_article .p-postList__thumb,
.single-post #after_article .p-postList__thumb > figure {
  width: 100% !important;
  height: 100% !important;
  min-height: 7rem;
}

#before_footer_widget {
  margin-top: 0 !important;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

/* Footer: useful wayfinding, not a second endless home page. */
#footer {
  border-top: 5px solid var(--mh5-rust);
  background: var(--mh5-navy);
  color: rgba(255, 255, 255, .9);
}

#footer a,
#footer .c-widget__title {
  color: #fff;
}

#footer .mh5-footer-disclosure > summary {
  margin-bottom: .9rem;
  padding: .75rem 2.25rem .75rem 0;
  border-bottom: 2px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

#footer .mh5-footer-disclosure > summary::marker {
  color: rgba(255, 255, 255, .8);
}

#footer .p-postList {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .55rem !important;
}

#footer .w-footer {
  max-width: 72rem;
  gap: 2rem;
}

#footer .w-footer__box {
  min-width: 0;
}

#footer .c-widget {
  margin-bottom: 2rem;
}

#footer .c-widget__title {
  margin-bottom: .9rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid rgba(255, 255, 255, .4);
  font-size: 1rem;
}

#footer .p-postList__item {
  width: 100% !important;
  min-width: 0 !important;
  margin-bottom: .65rem !important;
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

#footer .p-postList__link {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  min-height: 4.5rem;
}

#footer .p-postList__thumb img {
  width: 100%;
  height: 100%;
  min-height: 4.5rem;
  object-fit: cover;
}

#footer .p-postList__thumb,
#footer .codex-swell-popular-media {
  background: rgba(255, 255, 255, .1) !important;
}

#footer .p-postList__body {
  padding: .55rem .65rem;
}

#footer .p-postList__title {
  color: #fff;
  font-size: .82rem;
  line-height: 1.5;
}

#footer .codex-swell-popular-tablist {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1px !important;
  overflow: hidden;
  margin-bottom: .75rem !important;
  border: 1px solid rgba(255, 255, 255, .26) !important;
  border-radius: .2rem !important;
  background: rgba(255, 255, 255, .26) !important;
}

#footer .codex-swell-popular-tab {
  min-height: 2.75rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--mh5-navy) !important;
  color: rgba(255, 255, 255, .78) !important;
  font-weight: 750 !important;
}

#footer .codex-swell-popular-tab.is-active {
  background: #fff !important;
  color: var(--mh5-navy) !important;
}

#footer .codex-swell-popular-list {
  display: grid !important;
  gap: .55rem !important;
}

#footer .codex-swell-popular-item {
  min-width: 0 !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: .2rem !important;
  background: rgba(255, 255, 255, .04) !important;
}

#footer .codex-swell-popular-link {
  display: grid !important;
  grid-template-columns: 1.7rem 5.5rem minmax(0, 1fr) !important;
  align-items: stretch !important;
  min-height: 4.5rem !important;
  color: #fff !important;
  text-decoration: none !important;
}

#footer .codex-swell-popular-rank {
  display: grid !important;
  place-items: center !important;
  color: #fff !important;
  font-weight: 850 !important;
}

#footer .codex-swell-popular-media {
  min-height: 4.5rem !important;
}

#footer .codex-swell-popular-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

#footer .codex-swell-popular-body {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  padding: .55rem .65rem !important;
}

#footer .codex-swell-popular-title {
  color: #fff !important;
  font-size: .82rem !important;
  font-weight: 720 !important;
  line-height: 1.5 !important;
}

#footer #categories-7 > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .18);
}

#footer #categories-7 > ul > li {
  margin: 0;
  border: 0;
  background: var(--mh5-navy);
}

#footer #categories-7 > ul > li > a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .55rem .65rem;
  font-size: .8rem;
  line-height: 1.4;
}

#footer #categories-7 > ul > li > a::before {
  content: "" !important;
  display: block !important;
  flex: 0 0 auto;
  width: .38rem !important;
  height: .38rem !important;
  border-radius: 50%;
  background: #d9a16f;
  font-family: inherit !important;
}

#footer .l-footer__foot {
  border-top: 1px solid rgba(255, 255, 255, .22);
}

/* Desktop footer: keep all ten ranking entries, but make the footer a compact
 * directory instead of a second full article page. The utility/search column
 * gets half the row and lays categories and institutional links side by side. */
@media (min-width: 768px) {
  #footer .w-footer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(32rem, 2fr) !important;
    align-items: start !important;
  }

  #footer .w-footer__box {
    width: auto !important;
    min-height: 0 !important;
  }

  #footer .w-footer__box:last-child {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
    align-items: start !important;
    gap: 0 1rem !important;
  }

  #footer .w-footer__box:last-child > #search-5 {
    grid-column: 1 / -1;
  }

  #footer .w-footer__box:last-child > .c-widget {
    min-width: 0;
    margin-bottom: 1rem;
  }

  #footer .p-postList {
    gap: .35rem !important;
  }

  #footer .p-postList__item {
    margin-bottom: .25rem !important;
  }

  #footer .p-postList__link {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 3.15rem;
  }

  #footer .p-postList__thumb,
  #footer .codex-swell-popular-media {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
  }

  #footer .p-postList__body {
    padding: .45rem .6rem;
  }

  #footer .codex-swell-popular-list {
    gap: .35rem !important;
  }

  #footer .codex-swell-popular-link {
    grid-template-columns: 1.7rem minmax(0, 1fr) !important;
    min-height: 3.15rem !important;
  }

  #footer .codex-swell-popular-body {
    padding: .4rem .55rem !important;
  }

  #footer #categories-7 > ul > li > a {
    min-height: 2.35rem;
    padding: .4rem .5rem;
  }
}

.c-pagination :where(a, span) {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: .2rem;
}

@media (max-width: 767px) {
  html {
    font-size: 16px;
  }

  #content,
  .home #content {
    width: 100%;
    padding: 1.5rem .5rem 4.5rem;
  }

  .home #content {
    margin-bottom: 0 !important;
    padding-bottom: 2rem;
  }

  #main_content > .l-mainContent__inner,
  .single-post #main_content > .l-mainContent__inner,
  .archive #main_content > .l-mainContent__inner,
  .search #main_content > .l-mainContent__inner,
  .page:not(.home) #main_content > .l-mainContent__inner,
  .error404 #main_content > .l-mainContent__inner {
    width: 100%;
    padding: 2rem .75rem 2.75rem;
    border-top-width: 4px;
    background: var(--mh5-paper);
  }

  .home #main_content > .l-mainContent__inner {
    padding-inline: 0;
  }

  #main_content .c-pageTitle {
    margin-bottom: 1.5rem;
    font-size: 1.7rem !important;
  }

  .home .mhz {
    gap: 3.25rem;
  }

  

  

  

  

  .home .mhz-head :where(p, span) {
    display: block;
    margin-top: .35rem;
  }

  

  

  /* Mobile home uses color as information hierarchy: navy for choices,
   * slate for supporting copy, and rust only for labels/counts. This also
   * overrides older home-part rules that made secondary copy look washed
   * out on a phone. */
  .home .mhz-intro h1,
  .home .mhz-head h2,
  .home .mhz-item strong,
  .home :where(.mhz-directory, .mhz-info) > summary {
    color: var(--mh5-navy) !important;
  }

  .home .mhz-intro p,
  .home .mhz-search-note,
  .home .mhz-head :where(p, span),
  .home .mhz-item :where(span, small) {
    color: #465b70 !important;
  }

  

  .home .mhz-item em,
  .home .mhz-cats .mhz-item :where(i, small:last-child),
  .home .mhz-directory summary span {
    color: #873515 !important;
  }

  .home .mhz-info a {
    color: #234e70 !important;
    text-decoration-color: #9eb5c7;
  }

  .single-post #main_content .c-postTitle__ttl {
    font-size: 1.65rem !important;
    line-height: 1.42 !important;
  }

  .single-post .p-articleThumb {
    margin: 1.5rem auto 2rem !important;
  }

  .single-post .p-articleThumb img {
    border-radius: .2rem;
  }

  .single-post .w-singleTop {
    width: 100%;
    margin: 1.75rem auto 2.25rem !important;
  }

  

  

  

  

  

  .single-post .post_content:not(.p-blogParts):not(.p-toc),
  .page:not(.home) #main_content .post_content:not(.p-blogParts):not(.p-toc) {
    font-size: 1rem;
    line-height: 1.9;
  }

  #body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h2,
  #main_content .post_content:not(.p-blogParts):not(.p-toc) h2 {
    margin-top: 2.75em;
    padding-top: .3em !important;
    font-size: 1.35rem;
  }

  #main_content .post_content:not(.p-blogParts):not(.p-toc) h3 {
    margin-top: 2.2em;
    font-size: 1.18rem;
  }

  /* Existing mobile helpers stack cells. That is useful for two-column fact
   * lists, but destroys comparison tables with three or more columns. Restore
   * those to a readable horizontal table instead of one-character wrapping. */
  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) {
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) table {
    display: table !important;
    width: 42rem !important;
    min-width: 42rem !important;
    table-layout: fixed !important;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) :where(thead, tbody, tfoot) {
    display: table-row-group !important;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) thead {
    display: table-header-group !important;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) tr {
    display: table-row !important;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) :where(th, td) {
    display: table-cell !important;
    width: auto !important;
    min-width: 9rem !important;
    max-width: none !important;
    padding: .7rem !important;
    vertical-align: top !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) tr > :first-child {
    width: 7rem !important;
    min-width: 7rem !important;
    max-width: 7rem !important;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) td::before {
    content: none !important;
  }

  /* Price tables often freeze the product column. Older rules allowed that
   * column to grow to almost the full phone viewport, leaving no useful view
   * of Amazon/Rakuten/Yahoo columns. Constrain only this table family; normal
   * specification tables keep their own narrower row-header widths. */
  #main_content .mh-price-comparison-table tr > :first-child {
    width: 7rem !important;
    min-width: 7rem !important;
    max-width: 7rem !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  #main_content .mh-price-comparison-table {
    table-layout: fixed !important;
  }

  

  

  

  /* Older product reviews use an inline image/spec two-column grid that
   * leaves only a few characters per line on phones. Preserve both parts and
   * stack them as one product unit. */
  #main_content .post_content > div[style*="grid-template-columns:minmax(130px,190px) 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Three older comparison articles use their own inline two-column product
   * grids. Their fixed image-column minimums leave only a few characters per
   * line on phones. Keep the desktop comparison layout and stack only these
   * exact article grids at the mobile breakpoint. */
  #body_wrap.postid-17608 .post_content > h3.wp-block-heading + div[style*="grid-template-columns:minmax(160px,240px) 1fr"],
  #body_wrap.postid-21274 .post_content div[style*="grid-template-columns:minmax(118px,170px) 1fr"],
  #body_wrap.postid-17902 .post_content > h3.wp-block-heading + div[style*="grid-template-columns:minmax(180px,240px) 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 1rem !important;
  }

  #body_wrap.postid-21274 .post_content div[style*="grid-template-columns:1fr 1fr"][style*="gap:12px"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .75rem !important;
  }

  #body_wrap.postid-17608 .post_content > h3.wp-block-heading + div[style*="grid-template-columns:minmax(160px,240px) 1fr"] > figure,
  #body_wrap.postid-21274 .post_content div[style*="grid-template-columns:minmax(118px,170px) 1fr"] > figure,
  #body_wrap.postid-17902 .post_content > h3.wp-block-heading + div[style*="grid-template-columns:minmax(180px,240px) 1fr"] > figure {
    justify-self: center;
    width: min(100%, 18rem) !important;
  }

  .archive #main_content .p-termHead {
    margin: 0 !important;
    padding: 0 !important;
  }

  .archive #main_content .mono-cat-track,
  .archive #main_content .p-postList,
  .search #main_content .p-postList,
  .single-post #after_article .p-postList {
    grid-template-columns: 1fr !important;
  }

  .single-post .mh5-reading-end {
    padding: 1.15rem 1rem 1.25rem;
  }

  .single-post .post_content .mh5-flat-decision-panel {
    padding: 1rem !important;
  }

  .single-post .mh5-reading-end__actions {
    grid-template-columns: 1fr;
  }

  

  

  .search #main_content .p-postList__link,
  .single-post #after_article .p-postList__link {
    grid-template-columns: 7.25rem minmax(0, 1fr);
  }

  .search #main_content .p-postList__thumb img,
  .single-post #after_article .p-postList__thumb img {
    min-height: 7rem;
  }

  #before_footer_widget {
    padding-inline: .5rem;
  }

  #footer .w-footer {
    gap: 1.25rem;
  }

  #footer .w-footer__box {
    margin: 0 !important;
    padding-block: 0 !important;
  }

  #footer .c-widget {
    margin-bottom: 1.35rem;
  }

  #footer .mh5-footer-disclosure {
    border-top: 1px solid rgba(255, 255, 255, .18);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }

  #footer .mh5-footer-disclosure > summary {
    min-height: 3.5rem;
    margin: 0;
    padding: 1rem .25rem;
    border: 0;
  }

  #footer .mh5-footer-disclosure[open] > summary {
    margin-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
  }

  #footer .p-postList__link {
    grid-template-columns: 4.75rem minmax(0, 1fr) !important;
    min-height: 4.25rem !important;
  }

  #footer .codex-swell-popular-link {
    grid-template-columns: 1.5rem 4.75rem minmax(0, 1fr) !important;
    min-height: 4.25rem !important;
    color: var(--mh5-ink) !important;
  }

  /* The ranking is a reading surface rather than footer chrome on phones.
   * Light cards and dark titles remain legible at a glance, while the rust
   * rank badge keeps the order obvious without making every word white. */
  #footer .codex-swell-popular-tab {
    color: #fff !important;
  }

  #footer .codex-swell-popular-tab.is-active {
    color: var(--mh5-navy) !important;
  }

  #footer .codex-swell-popular-item {
    border-color: #d9e0e6 !important;
    background: #fffdf9 !important;
  }

  #footer .codex-swell-popular-rank {
    align-self: stretch !important;
    background: var(--mh5-rust) !important;
    color: #fff !important;
  }

  #footer .codex-swell-popular-title {
    color: var(--mh5-ink) !important;
  }

  

  #footer .p-postList__thumb img,
  #footer .codex-swell-popular-media,
  #footer .codex-swell-popular-media img {
    min-height: 4.25rem !important;
  }

  #footer #categories-7 > ul > li > a {
    min-height: 3rem;
    font-size: .8125rem;
  }
}

@media (max-width: 359px) {
  #content,
  .home #content {
    padding-inline: .375rem;
  }

  #main_content > .l-mainContent__inner,
  .single-post #main_content > .l-mainContent__inner,
  .archive #main_content > .l-mainContent__inner,
  .search #main_content > .l-mainContent__inner,
  .page:not(.home) #main_content > .l-mainContent__inner,
  .error404 #main_content > .l-mainContent__inner {
    padding-inline: .5rem;
  }

  .home #main_content > .l-mainContent__inner {
    padding-inline: 0;
  }

  #main_content .mh-price-comparison-table tr > :first-child {
    width: 6.5rem !important;
    min-width: 6.5rem !important;
    max-width: 6.5rem !important;
  }

  #main_content .codex-mobile-table-stack:has(tr > *:nth-child(3)) tr > :first-child {
    width: 6.5rem !important;
    min-width: 6.5rem !important;
    max-width: 6.5rem !important;
  }

  

  

  .home .mhz-search form,
  .home .c-searchForm {
    grid-template-columns: minmax(0, 1fr) 5rem;
  }

  .archive #main_content .mono-cat-card,
  .single-post #after_article .p-postList__link {
    grid-template-columns: 6rem minmax(0, 1fr) !important;
  }

  .search #main_content .p-postList__link {
    grid-template-columns: 1fr !important;
  }

  .search #main_content .p-postList__thumb,
  .search #main_content .p-postList__thumb > figure,
  .search #main_content .p-postList__thumb img {
    min-height: 9.5rem !important;
    max-height: 11rem;
  }

  

  #footer #categories-7 > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 2026-09-03 professional review refinements: tables use the reading width on
 * phones and a deliberate editorial breakout on desktop.  Captions remain in
 * view while readers actually scroll horizontally. */
.single-post .post_content :where(.compare-table-scroll, figure.wp-block-table, .codex-mobile-table-wrap) {
  position: relative;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
}







@media (min-width: 960px) {
  .single-post .post_content :where(.compare-table-scroll, figure.wp-block-table),
  .single-post .post_content > .codex-mobile-table-wrap,
  .single-post .post_content > div:has(> .codex-mobile-table-wrap) {
    position: relative;
    width: min(70rem, calc(100vw - 4rem));
    max-width: none;
    left: 50%;
    margin-right: 0;
    margin-left: 0;
    transform: translateX(-50%);
  }
}

@media (max-width: 767px) {
  

  #main_content table tr > :first-child {
    overflow: visible;
    padding-right: .45rem !important;
    padding-left: .45rem !important;
  }

  .single-post .post_content :where(.compare-table-scroll, figure.wp-block-table, .codex-mobile-table-wrap) {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    transform: none;
  }

  
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  #body_wrap :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid CanvasText !important;
  }
}

/*
 * 2026-09 Product Lab rebuild.
 *
 * This is a true visual-system override rather than another article template.
 * It does not move or rewrite the protected article-top campaign surface.
 */
:root {
  --mh5-ink: #172536;
  --mh5-text: #314255;
  --mh5-muted: #607080;
  --mh5-paper: #fff;
  --mh5-canvas: #f5f7f8;
  --mh5-line: #dce3e7;
  --mh5-line-dark: #becbd2;
  --mh5-navy: #17324d;
  --mh5-rust: #c65324;
  --mh5-rust-soft: #fff1ea;
  --mh5-blue-soft: #eef5f7;
  --mh5-green: #187568;
  --mh5-focus: #006fc9;
}

body,
#body_wrap {
  background:
    radial-gradient(circle at 92% 4%, rgba(24, 117, 104, .055), transparent 21rem),
    var(--mh5-canvas);
}

#header {
  border-top: 0;
  border-bottom-color: rgba(23, 50, 77, .1);
  box-shadow: 0 1px 12px rgba(23, 37, 54, .045);
}

#header .c-gnav > li > a {
  min-height: 4.5rem;
  font-weight: 760;
}

/* 2026-10-10 claude-sitewide-review（header_nav）：PCナビを15pxにし、hover・フォーカス・現在地で錆色の下線を出す（比べて選ぶ時に今どの棚にいるか分かるように）。 */
@media (min-width: 960px) {
  #header .c-gnav > li > a {
    position: relative;
    padding: 0 14px;
    font-size: .9375rem;
    background: linear-gradient(var(--mh5-rust), var(--mh5-rust)) no-repeat center bottom 16px / 0 3px;
    transition: background-size .18s ease, color .18s ease;
  }
  #header .c-gnav > li > a:is(:hover, :focus-visible),
  #header .c-gnav > li:is(.current-menu-item, .current-menu-parent, .current-post-ancestor, .current-category-ancestor) > a {
    color: var(--mh5-rust);
    background-size: calc(100% - 28px) 3px;
  }
  #header .c-gnav > li > a::after { display: none !important; }
}
@media (min-width: 960px) and (max-width: 1099px) {
  #header .c-gnav > li > a { padding: 0 9px; font-size: .875rem; background-size: 0 3px; }
}

.p-breadcrumb {
  border-bottom: 0;
  background: rgba(255, 255, 255, .72);
}

#content {
  padding-top: clamp(1.5rem, 3vw, 3rem);
}

.home #main_content {
  width: 100% !important;
  max-width: none !important;
}

.home .mhz {
  gap: clamp(2.6rem, 5vw, 4.5rem);
}











@media (min-width: 768px) and (max-width: 1023px) {
  

  

  
}

.home .mhz-search form,
.home .c-searchForm {
  padding: .35rem;
  border: 1px solid var(--mh5-line-dark);
  border-radius: .9rem;
  box-shadow: 0 7px 22px rgba(23, 50, 77, .075);
}









































.single-post #main_content > .l-mainContent__inner,
.archive #main_content > .l-mainContent__inner,
.search #main_content > .l-mainContent__inner,
.page:not(.home) #main_content > .l-mainContent__inner,
.error404 #main_content > .l-mainContent__inner {
  border: 1px solid rgba(23, 50, 77, .08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 45px rgba(23, 50, 77, .055);
}

.single-post #main_content .c-postTitle__ttl {
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.3 !important;
}

#body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h2,
#main_content .post_content:not(.p-blogParts):not(.p-toc) h2 {
  margin-top: 2.6em;
  padding: .75rem 0 .7rem 1rem !important;
  border: 0 !important;
  border-left: 4px solid var(--mh5-green) !important;
  border-bottom: 1px solid var(--mh5-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--mh5-ink) !important;
  box-shadow: none !important;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem) !important;
}

#body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h2::before,
#main_content .post_content:not(.p-blogParts):not(.p-toc) h2::before {
  content: none !important;
}

#body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h3,
#main_content .post_content:not(.p-blogParts):not(.p-toc) h3 {
  margin-top: 2.2em;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(24, 117, 104, .3);
  color: var(--mh5-ink) !important;
}

.single-post .post_content:not(.p-blogParts):not(.p-toc) > p {
  line-height: 1.92;
}

.single-post .w-singleTop .mh-campaign-box {
  overflow: hidden;
  border: 1px solid rgba(23, 50, 77, .14) !important;
  border-radius: 1rem !important;
  box-shadow: 0 8px 24px rgba(23, 50, 77, .055) !important;
}

#main_content :where(.wp-block-table, .codex-mobile-table-wrap) {
  border: 1px solid var(--mh5-line);
  border-radius: .8rem;
  background: #fff;
  box-shadow: inset 0 -1px 0 rgba(23, 50, 77, .03);
}

#main_content :where(.wp-block-table, .codex-mobile-table-wrap)::before {
  color: #687889;
  font-size: .7rem;
  font-weight: 750;
}

#main_content table :where(th, td) {
  border-color: #d8e1e6 !important;
}

#main_content table tr > :first-child {
  overflow: hidden;
}

#main_content table tr > :only-child,
#main_content table [colspan]:first-child {
  position: static !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  transform: none !important;
  white-space: normal !important;
}

#main_content :where(.mh-price-comparison-table, .mh-pokemon-table) {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.single-post .post_content p:has(> .mh-price-btn) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin-block: 1rem 1.5rem;
}

.single-post #main_content .mh-price-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .65rem .8rem !important;
  border: 1px solid #d5dee3 !important;
  border-radius: .7rem !important;
  background: #f7fafb !important;
  color: var(--mh5-navy) !important;
  font-size: .84rem;
  font-weight: 820;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  box-shadow: none !important;
}

.single-post #main_content .mh-price-btn[data-mh-price-status="verified_exact"] {
  border-color: rgba(198, 83, 36, .36) !important;
  background: var(--mh5-rust-soft) !important;
  color: #8d3515 !important;
}

#body_wrap.codex-mh-v5.single-post #main_content .mh-price-btn[data-mh-price-status="verified_exact"] {
  border-color: rgba(198, 83, 36, .42) !important;
  background: var(--mh5-rust-soft) !important;
  color: #8d3515 !important;
}

#body_wrap.codex-mh-v5.single-post #main_content .mh-price-btn[data-mh-price-status="no_exact_current_offer"] {
  border-style: dashed !important;
  border-color: #c9d2d8 !important;
  background: #f7f9fa !important;
  color: #667583 !important;
  font-weight: 720;
}

.single-post #main_content .mh-price-btn:hover {
  border-color: var(--mh5-rust) !important;
  box-shadow: 0 7px 18px rgba(23, 50, 77, .08) !important;
}

.single-post .mh5-reading-end {
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid rgba(24, 117, 104, .2);
  border-radius: 1rem;
  background: linear-gradient(135deg, #f1faf8, #fff 70%);
  box-shadow: 0 8px 24px rgba(23, 50, 77, .045);
}

.single-post .mh5-reading-end__eyebrow {
  color: var(--mh5-green);
}

.single-post .mh5-reading-end__category,
.single-post .mh5-reading-end__search input,
.single-post .mh5-reading-end__search button {
  border-radius: .65rem;
}

.single-post .mh5-reading-end__category {
  border-color: rgba(24, 117, 104, .42);
  color: var(--mh5-green);
  background: #fff;
}

.single-post .mh5-reading-end__search {
  gap: .4rem;
}

.single-post .mh5-reading-end__search input {
  border-right: 1px solid var(--mh5-line-dark);
}

.single-post .mh5-reading-end__search button {
  border-color: var(--mh5-green);
  background: var(--mh5-green);
}

.single-post .mh5-reading-end__more {
  margin-top: .85rem;
  border-top: 1px solid rgba(24, 117, 104, .18);
}

.single-post .mh5-reading-end__more > summary {
  padding: .85rem .15rem .2rem;
  color: var(--mh5-green);
  font-size: .82rem;
  font-weight: 820;
  cursor: pointer;
}

.single-post .mh5-reading-end__more[open] > summary {
  margin-bottom: .75rem;
}

#main_content .p-postList__item,
.archive #main_content .mono-cat-card {
  overflow: hidden;
  border-radius: .8rem !important;
  box-shadow: 0 4px 14px rgba(23, 50, 77, .04);
}

#footer {
  border-top: 0;
  background: #17324d;
}

#footer .w-footer {
  padding-top: clamp(2rem, 5vw, 3.5rem);
}

#footer .mh5-footer-disclosure > summary,
#footer .c-widget__title {
  border-bottom-color: rgba(255, 255, 255, .22);
}

#footer .codex-swell-popular-item,
#footer .codex-swell-popular-tablist {
  border-radius: .65rem !important;
}

#footer #categories-7 > ul {
  gap: .35rem;
  background: transparent;
}

#footer #categories-7 > ul > li {
  border-radius: .45rem;
  background: rgba(255, 255, 255, .055);
}

#footer .l-footer__foot,
#footer .copyright,
#footer .copyright a {
  color: rgba(255, 255, 255, .72) !important;
}

.single-post #content {
  margin-bottom: 1.5rem !important;
  padding-bottom: 2rem;
}

@media (max-width: 767px) {
  #content,
  .home #content {
    padding: 1rem .5rem 3.5rem;
  }

  .home .mhz {
    gap: 2.5rem;
  }

  

  

  

  

  

  

  .home .mhz-search form,
  .home .c-searchForm {
    grid-template-columns: minmax(0, 1fr) 5.25rem;
    padding: .25rem;
    border-radius: .8rem;
  }

  

  

  

  

  

  

  

  

  

  

  

  .single-post #main_content > .l-mainContent__inner,
  .archive #main_content > .l-mainContent__inner,
  .search #main_content > .l-mainContent__inner,
  .page:not(.home) #main_content > .l-mainContent__inner,
  .error404 #main_content > .l-mainContent__inner {
    padding: 1.5rem .75rem 2.25rem;
    border-radius: .9rem;
  }

  .single-post #main_content .c-postTitle__ttl {
    font-size: clamp(1.7rem, 7.6vw, 2.05rem) !important;
    line-height: 1.34 !important;
  }

  #body_wrap.codex-mh-v5.single-post #main_content article .post_content:not(.p-blogParts):not(.p-toc) h2,
  #main_content .post_content:not(.p-blogParts):not(.p-toc) h2 {
    margin-top: 2.35em;
    padding: .65rem 0 .6rem .75rem !important;
    font-size: 1.4rem !important;
  }

  .single-post .post_content p:has(> .mh-price-btn) {
    grid-template-columns: 1fr;
    gap: .5rem;
  }

  .single-post #main_content .mh-price-btn {
    min-height: 3rem;
    font-size: .82rem;
  }

  .single-post .mh5-reading-end {
    padding: 1.1rem;
    border-radius: .85rem;
  }

  #footer .w-footer {
    padding-inline: .75rem;
  }

  #footer .mh5-footer-disclosure {
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: .65rem;
  }

  #footer .mh5-footer-disclosure > summary {
    padding-inline: .8rem;
  }
}

@media (max-width: 359px) {
  #content,
  .home #content {
    padding-inline: .375rem;
  }

  

  

  .home .mhz-search form,
  .home .c-searchForm {
    grid-template-columns: minmax(0, 1fr) 4.75rem;
  }

  

  

  
}

/* Footer discovery: share Harimap's always-visible calendar-card pattern.
   New and Popular keep identical card edges, full eyecatches and complete
   titles; lower-priority utility groups retain their compact disclosure. */
#body_wrap.codex-mh-v5 #footer .mh5-footer-section {
  height: auto;
  margin: 0;
  padding: 0;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section__title {
  margin: 0 0 .875rem;
  padding: .1875rem 0 .1875rem .6875rem;
  border-left: 4px solid var(--mh5-rust);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 820;
  line-height: 1.45;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section__content,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section__content .p-postList,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section__content .codex-swell-popular-panel:not([hidden]),
#body_wrap.codex-mh-v5 #footer .mh5-footer-section__content .codex-swell-popular-list {
  max-height: none !important;
  overflow: visible !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: .625rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__item,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-item {
  display: list-item !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__link,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-link {
  box-sizing: border-box;
  display: grid !important;
  grid-template-columns: 7.5rem minmax(0, 1fr) !important;
  align-items: start !important;
  gap: .625rem !important;
  width: 100% !important;
  min-height: 6rem !important;
  margin: 0 !important;
  padding: .5rem !important;
  border: 1px solid #d9e0e6 !important;
  border-radius: .6rem !important;
  background: #fffdf9 !important;
  box-shadow: none;
  color: var(--mh5-ink) !important;
  text-decoration: none !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__thumb,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-media {
  position: relative !important;
  align-self: start !important;
  width: 7.5rem !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
  border-radius: .5rem;
  background: #f2f5f7 !important;
  box-shadow: none;
  clip-path: none !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__thumb {
  overflow: hidden !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-media {
  overflow: visible !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section :is(.p-postList__thumb figure, .p-postList__thumb img, .codex-swell-popular-media img) {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  border-radius: .5rem;
  background: #f2f5f7;
  clip-path: none !important;
  object-fit: contain !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__thumb figure {
  position: relative !important;
  overflow: hidden !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__thumb img {
  position: absolute !important;
  inset: 0 !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__body,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-body {
  align-self: start !important;
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__title,
#body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-title {
  display: block !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: var(--mh5-ink) !important;
  font-size: 1rem !important;
  font-weight: 740 !important;
  line-break: strict;
  line-height: 1.55 !important;
  overflow-wrap: normal;
  text-overflow: clip !important;
  text-wrap: wrap;
  white-space: normal !important;
  word-break: normal;
  word-break: auto-phrase;
  -webkit-box-orient: initial !important;
  -webkit-line-clamp: initial !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section .codex-swell-popular-tablist {
  margin: 0 0 .75rem !important;
}

#body_wrap.codex-mh-v5 #footer .mh5-footer-section .codex-swell-popular-rank {
  position: absolute !important;
  top: -.75rem;
  left: -.5rem;
  z-index: 2;
  display: grid !important;
  place-items: center !important;
  width: 1.6875rem;
  height: 1.6875rem;
  margin: 0 !important;
  border-radius: 999px;
  background: var(--mh5-rust) !important;
  box-shadow: 0 0 0 2px #fff, 0 2px 5px rgba(23, 50, 77, .24);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 850;
  line-height: 1;
}

@media (min-width: 768px) {
  #body_wrap.codex-mh-v5 #footer .w-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #body_wrap.codex-mh-v5 #footer .w-footer__box:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 359px) {
  #body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__link,
  #body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-link {
    grid-template-columns: 5.5rem minmax(0, 1fr) !important;
    min-height: 5.125rem !important;
  }

  #body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="new"] .p-postList__thumb,
  #body_wrap.codex-mh-v5 #footer .mh5-footer-section[data-mh5-footer-type="popular"] .codex-swell-popular-media {
    width: 5.5rem !important;
  }
}
/* claude-sitewide-review（top_first_view, 2026-10-11）：トップの節見出し（カテゴリから探す等）が記事用h2の左の緑線・灰色の下線を拾い、下の橙線と三重の装飾になっていた。
   見出しの印を橙の短い線1本にし、説明を見出しの下に左揃え。PCは本文上の余白64→32pxで最初の画面にカテゴリ6枠まで入れる。上の小見出し（::before）を14pxに。 */






@media (min-width:960px){.home #content.l-content{padding-top:32px!important}}
@media (max-width:959px){}
@media (max-width:599px){}

.mhz-cats a b{color:#b8461b!important}.mhz-item small{color:#596b7c!important}

@media (max-width: 599px) {
  #body_wrap.codex-mh-v5.single-post .p-toc__list a.p-toc__link {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 44px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    line-height: 1.55 !important;
    box-sizing: border-box !important;
  }
}


@media(max-width:767px){
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories .mh5-footer-disclosure > ul{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;
  gap:8px!important;overflow:visible!important;padding:12px!important;list-style:none
}
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories .mh5-footer-disclosure > ul > li{
  min-width:0;margin:0!important;padding:0!important;border:0!important
}
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories .mh5-footer-disclosure > ul > li > a{
  display:flex!important;align-items:center;box-sizing:border-box;width:100%;height:100%;min-height:44px;
  padding:8px 10px!important;border:1px solid #8096aa!important;border-radius:8px!important;
  color:#fff!important;background:#ffffff08;line-height:1.5!important;font-size:14px!important;
  overflow-wrap:anywhere;text-decoration:none
}
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories .mh5-footer-disclosure > ul > li > a::before,
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories .mh5-footer-disclosure > ul > li > a::after{display:none!important}
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories a:hover{background:#ffffff18}
html.pmx-mono-footer-category-grid #body_wrap:is(.home,.archive) #footer .widget_categories a:focus-visible{outline:3px solid #ffd28b;outline-offset:2px}
}


/* Readability floor 2026-10-07: legible small UI text and 32px minimum tap rows. */
@media (max-width: 959px) {
  body .p-breadcrumb__text, body .p-breadcrumb__text span { font-size: 12px !important; }
  body .p-articleMetas .c-categoryList__link { font-size: 12px !important; }
  body .p-pnLinks__title { font-size: 13px !important; line-height: 1.5 !important; }
  body .l-footer__nav a { font-size: 13px !important; }
}
body .reader-nav--footer li > a,
body .reader-nav--sidebar li > a,
body .l-footer__nav a { display: inline-flex !important; align-items: center; min-height: 32px; }

body .p-articleMetas .c-categoryList__link, body .c-widget__title.-spmenu { background-color: #b8561f !important; }
body .footer-kouki-label, body .footer-kouki-tag,
body .footer-kouki-notice-text, body .footer-kouki-sister-desc { font-size: 12px !important; }


/* Top page legibility: lift 10-11px helper text and darken low-contrast counts. */
body .mhz-cats > a > span, body .mhz-cats > a > b, body .mhz-item > span > b { font-size: 12px !important; }
body .mhz-directory > summary > span, body .mhz-directory nav > a > b { font-size: 12px !important; color: #4b5563 !important; }


/* Japanese headings: break lines between phrases (Chrome/Edge auto-phrase), not mid-word.
   Tripled #body_wrap so existing site design rules with !important do not cancel it. */
html #body_wrap#body_wrap#body_wrap :is(h1, .c-postTitle__ttl, .post_content h2, .post_content h3, .post_content h4,
  .p-postList__title, .p-pnLinks__title, .p-blogCard__title, .p-toc__list a, .c-widget__title, .l-articleBottom__title) {
  word-break: auto-phrase !important;
  overflow-wrap: break-word !important;
}
/* Make the existing table scroll hint readable. */
body .codex-mobile-table-scroll-caption { font-size: 12px !important; color: #334155 !important; }


/* Desktop: 12px breadcrumb/category labels; larger invisible hit area for header icon links (no layout change). */
@media (min-width: 960px) {
  body .p-breadcrumb__text, body .p-breadcrumb__text span, body .p-articleMetas .c-categoryList__link { font-size: 12px !important; }
}
body .c-iconList__link { position: relative; z-index: 2; }
body .c-iconList__link::after { content: ""; position: absolute; inset: -8px -6px; }
body .codex-preferred-source-widget p a { display: inline-block; padding: 5px 0; }


/* Reading-text floor 2026-10-09: captions, notes and mobile table text inside articles at 14px or more (raises only; body paragraphs are already 16px+). */
body .post_content figcaption, body .post_content figcaption a, body .post_content p small,
body .post_content p[style*="font-size:12px"], body .post_content p[style*="font-size:13px"],
body .post_content .codex-mobile-table-caption, body .post_content .codex-mobile-table-scroll-caption { font-size: 14px !important; line-height: 1.6; }
@media (max-width: 959px) {
  body .post_content .codex-mobile-table-cell-value, body .post_content .codex-mobile-table-wrap th, body .post_content .codex-mobile-table-wrap td { font-size: 14px !important; }
}
/* Monohikaku: campaign conditions and home helper text readable. */



#body_wrap .codex-preferred-source-widget :is(p,a,span,small){font-size:14px !important}.p-breadcrumb .p-breadcrumb__text{font-size:14px !important}#body_wrap .p-postList :is(.c-postThumb__cat,.c-postTimes__posted,.c-postTimes__modified){font-size:14px !important}
#header .l-header__inner{height:auto!important}#header .c-headLogo{height:auto!important}#header .c-headLogo__link{height:auto;line-height:0}#header .c-headLogo__img{display:block;width:262px!important;height:auto!important;max-height:none!important;max-width:calc(100vw - 124px)}@media(max-width:959px){#header .c-headLogo__img{width:182px!important}}