/* 開閉の見出し（details>summary）のタップ領域を44px以上にそろえる（2026-10-11 claude-ux-research、台帳 20261010-details-summary-44px）。
   Apple HIG 44pt・Material 48dp。SP1 の問い合わせの開閉が29px、モノヒカクの「条件・注意点を見る」が42pxだった（390px実測）。
   min-height は低いものだけを伸ばす。上下の余白は :where() で詳細度0にして、テーマや部品が余白を指定している所はそちらを優先する。 */
summary{min-height:44px;box-sizing:border-box}
:where(summary){padding-top:7px;padding-bottom:7px}
/* 見出しだけ字詰め（palt）にする（2026-10-12 claude-ux-research、主題 fonts、台帳 20261012-h1-h4-palt-6692f0）。
   国内の比較メディア（マイベスト h2・価格.comマガジン）は見出しだけ palt で本文はベタ組み。モノヒカク・SP1 はデザインシステムで
   全体に palt 済みのため、未適用のはりまっぷ・招待コードナビだけに配る。390px で「〜山崎の町と／一緒に訪ねるか」の2行が1行に収まった。
   本文には掛けない（行政・新聞・SmartHR も本文はベタ組み）。戻し方：sitewide_css.py --site S --css ... --deactivate。 */
:is(.c-pageTitle,.p-articleHead h1,.post_content :is(h2,h3,h4)){font-feature-settings:"palt" 1}
:root{--ms-head:#04384c;}
/* 申込先の枠とボタン（tools/affmiss_insert.py が足す .ms-apply / .ms-apply-mid）。全サイト共通、色は --ms-head（各サイトの比較表と同じ）。
   ボタンは高さ48px以上・16px・白文字（コントラスト4.5:1以上）、スマホでは横幅いっぱい。 */
.post_content .ms-apply{margin:2em 0 1.5em;padding:16px 16px 10px;border:2px solid var(--ms-head,#173b64);border-radius:10px;background:#f7f9fc}
.post_content .ms-apply__title{margin:0 0 10px!important;font-size:17px;font-weight:700;color:var(--ms-head,#173b64);line-height:1.5}
.post_content .ms-apply p{margin:0 0 10px}
.post_content .ms-apply__btn,.post_content .ms-apply-mid .ms-apply__btn{display:flex;align-items:center;justify-content:center;gap:.4em;box-sizing:border-box;width:100%;min-height:52px;padding:10px 16px;border-radius:8px;background:var(--ms-head,#173b64);color:#fff!important;font-size:16px;font-weight:700;line-height:1.45;text-align:center;text-decoration:none!important;box-shadow:0 2px 0 rgba(0,0,0,.18)}
.post_content .ms-apply__btn::after{content:"›";font-size:1.3em;line-height:1}
.post_content .ms-apply__btn:hover{filter:brightness(1.12)}
#body_wrap .post_content .ms-apply__btn:focus-visible{outline:3px solid #2454db!important;outline-offset:3px!important}
.post_content .ms-apply__sub{display:block;margin-top:4px;font-size:14px;color:#3d4652}
.post_content .ms-apply__note{margin:4px 0 6px!important;font-size:14px;color:#3d4652;line-height:1.6}
.post_content .ms-apply-mid{margin:1.2em 0 1.6em}
@media (min-width:768px){.post_content .ms-apply__btn{width:auto;min-width:min(100%,420px);display:inline-flex}.post_content .ms-apply p{display:block}}
/* 比較表の製品の行の直後に置く購入ボタン行（tools/mono_section_buttons.py table_rows、2026-10-10本人「比較表の中に購入ボタン」）。3モールを横に並べ、押しやすい高さを保つ */
.post_content tr.mh-buy-row > td{padding:4px 6px 12px!important;background:#fff!important;border-top:0!important;text-align:left!important;white-space:normal!important}
.post_content .mh-row-buy{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:6px;margin:0}
.post_content .mh-row-buy a.mh-price-btn{display:flex!important;flex-direction:column;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:6px 4px!important;font-size:13px!important;line-height:1.3!important;box-sizing:border-box!important}
.post_content .mh-row-buy .mh-price-btn__date{display:none!important}
.post_content .mh-row-buy a.mh-price-btn{padding:5px 4px!important;gap:1px!important;overflow:hidden}
.post_content .mh-row-buy .mh-price-btn__head,.post_content .mh-row-buy .mh-price-btn__mall{font-size:11px!important;letter-spacing:-.02em;line-height:1.25!important;white-space:nowrap!important;margin:0!important}
.post_content .mh-row-buy .mh-price-btn__main,.post_content .mh-row-buy .mh-price-btn__price{font-size:15px!important;line-height:1.25!important;white-space:nowrap!important;margin:0!important}
.post_content .mh-row-buy .mh-price-btn__action{font-size:12.5px!important;white-space:normal!important;line-height:1.25!important;text-align:center}

html.codex-shotai-design .post_content > h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)){margin-bottom:1.2em}

/* 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{margin:1.25em 0;max-width:100%;clear:both}
.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:#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 .se-cta__btn::after{content:none!important}
.post_content .se-cta__label{min-width:0;overflow-wrap:anywhere}
.post_content .se-cta__arrow{flex:none;font-size:1.1em;line-height:1}
.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}
#body_wrap.sr-mono .mono-cat-head>div:first-child,#body_wrap.sr-sp1 .sp1-cat-head>div:first-child,
#body_wrap.sr-mono .mono-cat-lead{display:none!important}
#body_wrap.sr-mono .mono-cat-head,#body_wrap.sr-sp1 .sp1-cat-head{justify-content:flex-start!important;margin-bottom:8px!important}

/* トップ：見出し直後とセクション間 */
#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}
}

/* 記事下の関連枠（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}

html.codex-shotai-design {
  --shotai-ink: #162b3a;
  --shotai-muted: #526678;
  --shotai-primary: #0b5066;
  --shotai-primary-strong: #06394a;
  --shotai-primary-soft: #e9f3f6;
  --shotai-accent: #e8a62a;
  --shotai-canvas: #f3f6f8;
  --shotai-surface: #ffffff;
  --shotai-border: #d9e3e9;
  --shotai-shadow: 0 12px 32px rgba(14, 45, 62, .08);
  --shotai-radius: 16px;
  background: var(--shotai-canvas);
  scroll-padding-top: 96px;
}
html.codex-shotai-design body {
  background: var(--shotai-canvas);
  color: var(--shotai-ink);
}
html.codex-shotai-design :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(232, 166, 42, .75) !important;
  outline-offset: 3px;
}
html.codex-shotai-design .l-header {
  border-bottom: 1px solid rgba(11, 80, 102, .12);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 18px rgba(14, 45, 62, .07);
}
html.codex-shotai-design .l-header__bar {
  background: linear-gradient(90deg, var(--shotai-primary-strong), var(--shotai-primary));
}
html.codex-shotai-design .l-header__inner {
  min-height: 72px;
}
html.codex-shotai-design .l-header .c-headLogo__img,
html.codex-shotai-design .l-fixHeader .c-headLogo__img {
  width: auto;
  max-height: 42px;
}
html.codex-shotai-design .c-gnav > li > a {
  padding-inline: 13px;
  color: var(--shotai-ink);
  font-size: 13px;
  font-weight: 700;
}
html.codex-shotai-design .c-gnav .codex-shotai-menu-search > a,
html.codex-shotai-design .c-gnav .codex-shotai-menu-help > a {
  color: var(--shotai-primary);
}
html.codex-shotai-design .p-breadcrumb {
  border-bottom: 1px solid var(--shotai-border);
  background: rgba(255, 255, 255, .72);
}
html.codex-shotai-design .p-breadcrumb__list {
  min-height: 44px;
  align-items: center;
}
html.codex-shotai-design #content {
  padding-top: clamp(28px, 4vw, 58px);
}
html.codex-shotai-design #content[data-postid="326"] {
  padding-top: clamp(24px, 3vw, 42px);
}
html.codex-shotai-design #main_content > .l-mainContent__inner {
  border: 1px solid var(--shotai-border);
  border-radius: 22px;
  background: var(--shotai-surface);
  box-shadow: var(--shotai-shadow);
  padding: clamp(24px, 3.2vw, 46px);
}
html.codex-shotai-design #content[data-postid="326"] #main_content > .l-mainContent__inner {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
html.codex-shotai-design :where(.c-postTitle__ttl, h1.c-pageTitle, .p-termHead__title) {
  color: var(--shotai-ink);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.42;
  letter-spacing: 0;
  text-wrap: balance;
}
html.codex-shotai-design .c-pageTitle__subTitle {
  display: none;
}
html.codex-shotai-design .p-articleHead,
html.codex-shotai-design .c-pageTitle,
html.codex-shotai-design .p-termHead {
  margin-bottom: clamp(24px, 3vw, 38px);
}
html.codex-shotai-design .p-termHead {
  border: 1px solid var(--shotai-border);
  border-radius: var(--shotai-radius);
  background: linear-gradient(135deg, #fff, var(--shotai-primary-soft));
  padding: clamp(20px, 3vw, 34px);
}
html.codex-shotai-design .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  margin-top: 3.2em;
  border: 1px solid var(--shotai-border) !important;
  border-left: 6px solid var(--shotai-accent) !important;
  border-radius: 12px;
  background: linear-gradient(110deg, #fff, #f4f9fb) !important;
  box-shadow: 0 5px 16px rgba(14, 45, 62, .06);
  color: var(--shotai-ink) !important;
  padding: .82em 1em !important;
  font-size: clamp(21px, 2.2vw, 29px) !important;
  line-height: 1.48 !important;
}
html.codex-shotai-design .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  display: none !important;
}
html.codex-shotai-design .post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  margin-top: 2.4em;
  border: 0 !important;
  border-left: 4px solid var(--shotai-primary) !important;
  border-radius: 0 9px 9px 0;
  background: var(--shotai-primary-soft);
  color: var(--shotai-ink);
  padding: .7em .9em !important;
  font-size: clamp(18px, 1.8vw, 23px) !important;
  line-height: 1.5 !important;
}
html.codex-shotai-design .post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title))::before {
  display: none !important;
}
html.codex-shotai-design .post_content :where(p, li, dd) {
  color: var(--shotai-ink);
}
html.codex-shotai-design .post_content :where(figure > img, p > img, .wp-block-image img) {
  border-radius: 12px;
}
html.codex-shotai-design .post_content :where(blockquote, .is-style-border_sm, .is-style-border_sg) {
  border-color: var(--shotai-border);
  border-radius: 12px;
  background: #f8fafb;
}
html.codex-shotai-design .post_content :where(input, select, textarea),
html.codex-shotai-design .searchform :where(input, button) {
  min-height: 48px;
  border-color: #bccbd4;
  border-radius: 10px;
  background: #fff;
}
html.codex-shotai-design .post_content a[style*="display:inline-block"][style*="background"] {
  display: inline-flex !important;
  min-height: 48px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 1.45 !important;
  text-align: center;
  box-shadow: 0 7px 18px rgba(14, 45, 62, .13);
}
html.codex-shotai-design .c-shareBtns__btn,
html.codex-shotai-design :where(.page-numbers, .p-toc__expandBtn) {
  min-width: 44px;
  min-height: 44px;
}
html.codex-shotai-design code.codex-shotai-copy-code {
  position: relative;
  cursor: copy;
  transition: box-shadow .18s ease, transform .18s ease;
}
html.codex-shotai-design code.codex-shotai-copy-code:hover {
  box-shadow: 0 0 0 4px rgba(232, 166, 42, .2);
  transform: translateY(-1px);
}
html.codex-shotai-design code.codex-shotai-copy-code[data-copied="1"]::after {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--shotai-primary-strong);
  color: #fff;
  content: "コピーしました";
  padding: 5px 10px;
  font-family: system-ui, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
}
html.codex-shotai-design #main_content .p-postList.-type-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
html.codex-shotai-design #main_content .p-postList.-type-card > .p-postList__item {
  width: 100%;
  margin: 0;
}
html.codex-shotai-design #main_content .p-postList.-type-card .p-postList__link {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--shotai-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(14, 45, 62, .06);
  padding: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
html.codex-shotai-design #main_content .p-postList.-type-card .p-postList__link:hover {
  border-color: rgba(11, 80, 102, .42);
  box-shadow: 0 12px 26px rgba(14, 45, 62, .12);
  transform: translateY(-2px);
}
html.codex-shotai-design #main_content .p-postList__title {
  color: var(--shotai-ink);
  font-size: 16px;
  line-height: 1.55;
}
html.codex-shotai-design #main_content .p-postList__excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--shotai-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.65;
}
html.codex-shotai-design #main_content .p-postList__thumb {
  box-shadow: none;
}
html.codex-shotai-design .shz-hero {
  border-radius: 18px;
  background: linear-gradient(135deg, #123f61, #1f5f86);
  box-shadow: 0 16px 34px rgba(14, 45, 62, .14);
}
html.codex-shotai-design .shz-category {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(14, 45, 62, .06);
}
html.codex-shotai-design .shz-category a {
  min-height: 88px;
  transition: background .18s ease, transform .18s ease;
}
html.codex-shotai-design .shz-category a:hover {
  background: #f3f8fa;
  transform: translateY(-1px);
}
html.codex-shotai-design .shz-row {
  border-radius: 8px;
  padding-inline: 10px;
  transition: background .16s ease;
}
html.codex-shotai-design .shz-row:hover {
  background: #f3f8fa;
}
html.codex-shotai-design .l-footer {
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--shotai-border);
  background: #eaf0f3;
}
html.codex-shotai-design .l-footer__widgetArea {
  padding-block: clamp(36px, 5vw, 64px);
}
html.codex-shotai-design .l-footer .c-widget__title.-footer {
  color: var(--shotai-primary-strong);
  font-size: 17px;
  font-weight: 800;
}
html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__item:nth-child(n+5),
html.codex-shotai-design .l-footer .codex-swell-popular-item:nth-child(n+6) {
  display: none !important;
}
html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__item {
  width: 100%;
  margin: 0;
}
html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__link {
  height: 100%;
  border-radius: 12px;
  background: rgba(255, 255, 255, .8);
  padding: 8px;
}
html.codex-shotai-design .l-footer .codex-swell-popular-link {
  min-height: 64px;
}
html.codex-shotai-design .l-footer__foot {
  background: var(--shotai-primary-strong);
  color: #fff;
}
@media (max-width: 959px) {
  html.codex-shotai-design .l-header__inner {
    min-height: 58px;
  }
  html.codex-shotai-design .l-header .c-headLogo__img {
    max-height: 34px;
  }
  html.codex-shotai-design #main_content > .l-mainContent__inner {
    border-radius: 16px;
    padding: 22px 18px;
  }
}
@media (max-width: 599px) {
  html.codex-shotai-design {
    scroll-padding-top: 72px;
  }
  html.codex-shotai-design #content {
    padding-top: 24px;
  }
  html.codex-shotai-design :where(.c-postTitle__ttl, h1.c-pageTitle, .p-termHead__title) {
    font-size: 24px;
    line-height: 1.5;
  }
  html.codex-shotai-design .post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    margin-top: 2.7em;
    padding: .78em .82em !important;
    font-size: 20px !important;
  }
  html.codex-shotai-design .post_content h3:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
    font-size: 18px !important;
  }
  html.codex-shotai-design #main_content .p-postList.-type-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  html.codex-shotai-design #main_content .p-postList.-type-card .p-postList__link {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 104px;
    padding: 10px;
  }
  html.codex-shotai-design #main_content .p-postList.-type-card .p-postList__thumb {
    width: 112px;
    margin: 0;
  }
  html.codex-shotai-design #main_content .p-postList__title {
    font-size: 14px;
    line-height: 1.5;
  }
  html.codex-shotai-design #main_content .p-postList__excerpt {
    display: none;
  }
  html.codex-shotai-design #main_content .p-postList__meta {
    margin-top: 5px;
    font-size: 11px;
  }
  html.codex-shotai-design .shz-category small {
    font-size: 12px;
    line-height: 1.55;
  }
  html.codex-shotai-design .shz-category b,
  html.codex-shotai-design .shz-state {
    font-size: 12px;
  }
  html.codex-shotai-design .shz-copy strong {
    font-size: 15px;
  }
  html.codex-shotai-design .l-footer .w-footer {
    gap: 34px;
  }
  html.codex-shotai-design .l-footer__widgetArea {
    padding-block: 30px;
  }
  html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__item:nth-child(n+4) {
    display: none !important;
  }
  html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__link {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 74px;
    padding: 6px;
  }
  html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__thumb {
    width: 72px;
    margin: 0;
  }
  html.codex-shotai-design .l-footer .widget_swell_new_posts .p-postList__title {
    font-size: 13px;
    line-height: 1.45;
  }
  html.codex-shotai-design .l-footer .widget_categories ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 14px;
  }
  html.codex-shotai-design .l-footer .widget_categories li {
    margin: 0;
  }
  html.codex-shotai-design .l-footer .codex-swell-popular-media {
    width: 76px !important;
  }
  html.codex-shotai-design .l-footer .codex-swell-popular-link {
    grid-template-columns: 24px 76px minmax(0, 1fr) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.codex-shotai-design *,
  html.codex-shotai-design *::before,
  html.codex-shotai-design *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


        .comment-form-author, 
        .comment-form-email, 
        .comment-form-url { 
            display: none !important; 
        }
