
/* Soko MA contrast guard v12 - added 2026-05-31 */
:root {
    --soko-cg-ink: #10233f;
    --soko-cg-muted: #334a62;
    --soko-cg-navy: #08265a;
    --soko-cg-deep: #061f49;
    --soko-cg-soft: #f5f8fb;
    --soko-cg-line: #d8e3ee;
    --soko-cg-teal: #006b6b;
    --soko-cg-gold: #d6a640;
    --soko-cg-white: #ffffff;
}

body:not(.wp-admin) .ma-public-site {
    background: var(--soko-cg-soft) !important;
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-public-site :where(p, li, dt, dd, th, td, label, figcaption, small, span) {
    color: inherit;
}

body:not(.wp-admin) .ma-public-site :where(.ma-title, h1, h2, h3, h4, h5, h6) {
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-subtitle, .ma-lead, .ma-muted, .ma-note, .ma-caption, .ma-meta, .ma-field-hint, .ma-form-lead, .ma-form__note, .ma-legal-consent-note) {
    color: var(--soko-cg-muted) !important;
}

body:not(.wp-admin) .ma-public-site :where(a:not(.ma-btn):not(.ma-header__phone):not(.ma-header__consult):not(.ma-header__mail):not(.ma-brand)) {
    color: #064f91 !important;
    text-decoration-color: rgba(6, 79, 145, .45) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-card, .ma-panel, .ma-form, .ma-privacy-box, .ma-form-intro, .ma-contact-layout, .ma-form-intro__item, .ma-legal-box, .ma-info-box, .ma-box, .ma-step, .ma-route-card, .ma-segment-card, .ma-value-card, .ma-flow-card) {
    background-color: var(--soko-cg-white) !important;
    color: var(--soko-cg-ink) !important;
    border-color: var(--soko-cg-line) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-card, .ma-panel, .ma-form, .ma-privacy-box, .ma-form-intro, .ma-contact-layout, .ma-form-intro__item, .ma-legal-box, .ma-info-box, .ma-box, .ma-step, .ma-route-card, .ma-segment-card, .ma-value-card, .ma-flow-card) :where(h1, h2, h3, h4, h5, h6, strong, b) {
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-card, .ma-panel, .ma-form, .ma-privacy-box, .ma-form-intro, .ma-contact-layout, .ma-form-intro__item, .ma-legal-box, .ma-info-box, .ma-box, .ma-step, .ma-route-card, .ma-segment-card, .ma-value-card, .ma-flow-card) :where(p, li, span, small, dd, td) {
    color: var(--soko-cg-muted) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-hero, .ma-kv, .ma-topbar, .ma-section--navy, .ma-footer, .ma-footer__cta, .ma-final-cta, .ma-dark, .ma-dark-card) {
    background-color: var(--soko-cg-navy) !important;
    color: var(--soko-cg-white) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-hero, .ma-kv, .ma-topbar, .ma-section--navy, .ma-footer, .ma-footer__cta, .ma-final-cta, .ma-dark, .ma-dark-card) :where(h1, h2, h3, h4, h5, h6, p, li, span, strong, small, a:not(.ma-btn), dt, dd) {
    color: var(--soko-cg-white) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-hero, .ma-kv, .ma-topbar, .ma-section--navy, .ma-footer, .ma-footer__cta, .ma-final-cta, .ma-dark, .ma-dark-card) :where(.ma-subtitle, .ma-lead, .ma-muted, .ma-note, .ma-caption, .ma-meta) {
    color: #e7eff8 !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-kv__inner, .ma-hero__content, .ma-dark-card, .ma-section--navy .ma-panel, .ma-section--navy .ma-flow-card) {
    background: rgba(6, 31, 73, .94) !important;
    color: var(--soko-cg-white) !important;
    border-color: rgba(255, 255, 255, .22) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-kv__inner, .ma-hero__content, .ma-dark-card, .ma-section--navy .ma-panel, .ma-section--navy .ma-flow-card) :where(h1, h2, h3, h4, p, li, span, strong, small) {
    color: var(--soko-cg-white) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-eyebrow, .ma-chip, .ma-badge, .ma-pill, .ma-form-badge, .ma-required, .ma-optional, .ma-topbar__badges span) {
    background: var(--soko-cg-white) !important;
    color: var(--soko-cg-navy) !important;
    border-color: rgba(8, 38, 90, .24) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-badge--gold, .ma-btn--gold, .ma-zero, .ma-highlight, .ma-kpi, .ma-fee-badge) {
    background: var(--soko-cg-gold) !important;
    color: #11213b !important;
    border-color: #9d741e !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-btn, button[type="submit"], input[type="submit"], .wp-block-button__link) {
    background: var(--soko-cg-teal) !important;
    color: var(--soko-cg-white) !important;
    border-color: var(--soko-cg-teal) !important;
    text-decoration: none !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-btn, button[type="submit"], input[type="submit"], .wp-block-button__link) * {
    color: inherit !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-btn--outline, .ma-btn--ghost) {
    background: var(--soko-cg-white) !important;
    color: var(--soko-cg-navy) !important;
    border-color: rgba(8, 38, 90, .34) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-hero, .ma-kv, .ma-section--navy, .ma-footer, .ma-footer__cta) :where(.ma-btn--outline, .ma-btn--ghost) {
    background: var(--soko-cg-white) !important;
    color: var(--soko-cg-navy) !important;
    border-color: var(--soko-cg-white) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-header, .ma-site-header) {
    background: rgba(255, 255, 255, .98) !important;
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-header, .ma-site-header) :where(a, span, strong) {
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-public-site :where(.ma-header__phone, .ma-header__consult, .ma-header__mail, .ma-nav__cta) {
    background: var(--soko-cg-navy) !important;
    color: var(--soko-cg-white) !important;
    border-color: var(--soko-cg-navy) !important;
}

body:not(.wp-admin) .ma-public-site :where(input, select, textarea) {
    background: #ffffff !important;
    color: var(--soko-cg-ink) !important;
    border-color: #8aa0b7 !important;
}

body:not(.wp-admin) .ma-public-site :where(input::placeholder, textarea::placeholder) {
    color: #61778f !important;
    opacity: 1 !important;
}

body:not(.wp-admin) .ma-public-site :where(table, thead, tbody, tr, td, th) {
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-public-site :where(th) {
    background: #eaf1f8 !important;
}

body:not(.wp-admin) .ma-mobile-bar {
    background: #ffffff !important;
    color: var(--soko-cg-ink) !important;
    border-top: 1px solid var(--soko-cg-line) !important;
}

body:not(.wp-admin) .ma-mobile-bar :where(a, span, strong) {
    color: var(--soko-cg-ink) !important;
}

body:not(.wp-admin) .ma-mobile-bar :where(.ma-btn, a[href*="contact"]) {
    background: var(--soko-cg-teal) !important;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    body:not(.wp-admin) .ma-public-site :where(.ma-kv__inner, .ma-hero__content, .ma-dark-card) {
        background: rgba(6, 31, 73, .97) !important;
    }

    body:not(.wp-admin) .ma-public-site :where(.ma-topbar__badges span, .ma-eyebrow, .ma-chip, .ma-badge, .ma-pill) {
        color: var(--soko-cg-navy) !important;
    }
}

/* Soko MA contrast guard v12b - badge and header text fixes */
body:not(.wp-admin) .ma-public-site :where(.ma-header__phone, .ma-header__consult, .ma-header__mail, .ma-nav__cta) :where(span, strong, small, b) {
    color: #ffffff !important;
}

body:not(.wp-admin) .ma-public-site .ma-form-intro__item > span {
    background: #0b2e5b !important;
    color: #ffffff !important;
    border-color: #0b2e5b !important;
}

body:not(.wp-admin) .ma-public-site .ma-form-easy-note__mark {
    background: #007a7a !important;
    color: #ffffff !important;
    border-color: #007a7a !important;
}


/* Soko MA contrast guard v12c - high-specificity overrides for late plugin styles */
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-section--navy,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-original-flow,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-cta,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-kv,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer {
    background: #061f49 !important;
    color: #ffffff !important;
}

html body:not(.wp-admin) #body_wrap .ma-public-site .ma-section--navy :is(h1, h2, h3, h4, p, li, span, strong, small),
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-original-flow :is(h1, h2, h3, h4, p, li, span, strong, small),
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band :is(h1, h2, h3, h4, p, li, span, strong, small),
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-cta :is(h1, h2, h3, h4, p, li, span, strong, small, a),
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-kv :is(h1, h2, h3, h4, p, li, span, strong, small),
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer :is(h1, h2, h3, h4, p, li, span, strong, small, a) {
    color: #ffffff !important;
}

html body:not(.wp-admin) #body_wrap .ma-public-site .ma-section--navy .ma-subtitle,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-original-flow .ma-subtitle,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band .ma-subtitle,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer p,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer__bottom {
    color: #e7eff8 !important;
}

html body:not(.wp-admin) #body_wrap .ma-public-site .ma-section--navy .ma-eyebrow,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-original-flow .ma-eyebrow,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band .ma-eyebrow,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-eyebrow,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer-polish__trust span {
    background: #ffffff !important;
    color: #08265a !important;
    border-color: rgba(255, 255, 255, .72) !important;
}

html body:not(.wp-admin) #body_wrap .ma-public-site .ma-original-flow .ma-flow-card {
    background: rgba(255, 255, 255, .10) !important;
    border-color: rgba(255, 255, 255, .24) !important;
    color: #ffffff !important;
}

html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer__bottom {
    background: rgba(0, 0, 0, .18) !important;
}


/* Soko MA contrast guard v12d - final badge/button/legal header specificity */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-hero .ma-eyebrow,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-kv .ma-legal-kv__inner .ma-legal-eyebrow {
    background: #ffffff !important;
    color: #08265a !important;
    border-color: rgba(8, 38, 90, .24) !important;
}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-fee-microcopy,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-btn.ma-btn--gold,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-btn--gold :is(span, strong, small, b) {
    background: #d7a746 !important;
    color: #11213b !important;
    border-color: #9d741e !important;
}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-header :is(.ma-legal-nav__cta, .ma-legal-header__phone) {
    background: #08265a !important;
    color: #ffffff !important;
    border-color: #08265a !important;
}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-header :is(.ma-legal-nav__cta, .ma-legal-header__phone) :is(span, strong, small, b),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-header :is(.ma-legal-nav__cta, .ma-legal-header__phone) {
    color: #ffffff !important;
}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-header .ma-legal-header__sell,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-header .ma-legal-header__sell :is(span, strong, small, b) {
    background: #d7a746 !important;
    color: #11213b !important;
    border-color: #9d741e !important;
}


/* Soko MA M&A Do official company info v1 - 2026-05-31 */
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__company p::after,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-footer__inner section:nth-of-type(2) p::after {
    content: "\A 事務所所在地: 〒450-0002 愛知県名古屋市中村区名駅４丁目２４−５ 第２森ビル\A 適格請求書発行事業者番号: T8010001217238\A 設立年月日: 2021年4月2日\A 代表取締役: 濱田 啓揮\A 資本金: 1,000万円";
    display: block;
    white-space: pre-line;
    margin-top: 6px;
    color: #e7eff8 !important;
    font-size: 12px;
    line-height: 1.75;
    font-weight: 700;
}

html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__company p,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-footer__inner section:nth-of-type(2) p {
    max-width: 460px;
}


/* Soko MA M&A Do official company info v2 - common footer selector */
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__company::after {
    content: "事務所所在地: 〒450-0002 愛知県名古屋市中村区名駅４丁目２４−５ 第２森ビル\A 適格請求書発行事業者番号: T8010001217238\A 設立年月日: 2021年4月2日\A 代表取締役: 濱田 啓揮\A 資本金: 1,000万円";
    display: block;
    white-space: pre-line;
    margin-top: 8px;
    color: #e7eff8 !important;
    font-size: 12px;
    line-height: 1.75;
    font-weight: 700;
}



/* Soko MA accessibility touch/focus polish v1 - 2026-06-01 */
body:not(.wp-admin) .ma-public-site :where(a, button, input, select, textarea):focus {
    outline: 4px solid #d7a746 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 7px rgba(8, 38, 90, .20) !important;
}
body:not(.wp-admin) .ma-public-site :where(.ma-nav a, .ma-header__mail, .ma-btn, button, input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
    min-height: 44px;
}
body:not(.wp-admin) .ma-public-site :where(.ma-nav a, .ma-header__mail, .ma-site-footer a, .ma-footer-polish a, .ma-legal-links a, .ma-mobile-bar a) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}
body:not(.wp-admin) .ma-public-site :where(.ma-site-footer a, .ma-footer-polish a, .ma-legal-links a, p a, li a):not(.ma-btn) {
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}
body:not(.wp-admin) .ma-public-site .ma-consent {
    min-height: 44px;
    cursor: pointer;
}
body:not(.wp-admin) .ma-public-site .ma-consent input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}
body:not(.wp-admin) .ma-public-site input::placeholder,
body:not(.wp-admin) .ma-public-site textarea::placeholder {
    color: #667789 !important;
    opacity: 1 !important;
}
@media (forced-colors: active) {
    body:not(.wp-admin) .ma-public-site :where(a, button, input, select, textarea) {
        forced-color-adjust: auto;
    }
    body:not(.wp-admin) .ma-public-site :where(.ma-btn, button, input, select, textarea) {
        border: 1px solid ButtonText !important;
    }
    body:not(.wp-admin) .ma-public-site :where(a, button, input, select, textarea):focus {
        outline: 3px solid Highlight !important;
        box-shadow: none !important;
    }
}



/* Soko MA accessibility target-size polish v2 - 2026-06-01 */
body:not(.wp-admin) .ma-public-site .ma-privacy-box a,
body:not(.wp-admin) .ma-public-site .ma-panel .ma-subtitle a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    text-decoration: underline !important;
    text-underline-offset: .18em !important;
}
body:not(.wp-admin) .ma-public-site .ma-footer__phonebox a,
body:not(.wp-admin) .ma-public-site .ma-footer__list a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}
body:not(.wp-admin) .ma-public-site .ma-form .ma-consent input[type="checkbox"] {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    margin-top: 2px !important;
}


/* Soko MA accessibility table-link polish v3 - 2026-06-01 */
.ma-public-site .ma-table a[href] {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    text-decoration: underline !important;
    text-underline-offset: .16em !important;
}


/* Soko MA header footer trust polish v1 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap .ma-public-site,
html body:not(.wp-admin) #body_wrap .ma-legal-site {
    --ma-hfp-navy: #08265a;
    --ma-hfp-deep: #061f49;
    --ma-hfp-ink: #10233f;
    --ma-hfp-muted: #334a62;
    --ma-hfp-teal: #007b78;
    --ma-hfp-teal-dark: #00615f;
    --ma-hfp-gold: #d7a746;
    --ma-hfp-gold-deep: #a97a21;
    --ma-hfp-soft: #f5f8fb;
    --ma-hfp-line: #d8e3ee;
    letter-spacing: 0 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 10020 !important;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid rgba(8, 38, 90, .14) !important;
    box-shadow: 0 12px 30px rgba(8, 38, 90, .08) !important;
    backdrop-filter: saturate(140%) blur(10px);
}
html body.admin-bar:not(.wp-admin) #body_wrap .ma-public-site .ma-header,
html body.admin-bar:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header {
    top: 32px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header::after,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, var(--ma-hfp-gold), var(--ma-hfp-teal), var(--ma-hfp-navy)) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__inner {
    max-width: 1280px !important;
    min-height: 98px !important;
    padding: 14px 28px !important;
    gap: 16px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-brand {
    min-height: 68px !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(8, 38, 90, .12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(8, 38, 90, .08) !important;
    text-decoration: none !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand img,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-brand img {
    max-height: 58px !important;
    width: auto !important;
    object-fit: contain !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand__text small,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand__text em {
    color: var(--ma-hfp-muted) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand__text strong {
    color: var(--ma-hfp-navy) !important;
    line-height: 1.25 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav {
    min-height: 62px !important;
    padding: 6px !important;
    gap: 2px !important;
    border: 1px solid rgba(8, 38, 90, .12) !important;
    border-radius: 8px !important;
    background: #f7fafc !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 18px rgba(8, 38, 90, .05) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav a,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav a {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border-radius: 7px !important;
    color: var(--ma-hfp-navy) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav a:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav a:focus-visible,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav a:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav a:focus-visible {
    background: #fff !important;
    color: var(--ma-hfp-deep) !important;
    box-shadow: 0 7px 16px rgba(8, 38, 90, .10) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav__cta,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav__cta {
    min-width: 92px !important;
    background: linear-gradient(180deg, var(--ma-hfp-navy), var(--ma-hfp-deep)) !important;
    color: #fff !important;
    border: 1px solid rgba(8, 38, 90, .30) !important;
    box-shadow: 0 8px 18px rgba(8, 38, 90, .18) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav__cta:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav__cta:hover {
    background: linear-gradient(180deg, #0b356d, var(--ma-hfp-navy)) !important;
    color: #fff !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__actions {
    gap: 8px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__phone,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__consult,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mail {
    border-radius: 8px !important;
    box-shadow: 0 10px 24px rgba(8, 38, 90, .16) !important;
    transition: transform .16s ease, box-shadow .16s ease !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__phone:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__consult:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mail:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 30px rgba(8, 38, 90, .22) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__phone {
    min-width: 168px !important;
    background: linear-gradient(180deg, var(--ma-hfp-navy), var(--ma-hfp-deep)) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__consult {
    min-width: 144px !important;
    background: linear-gradient(180deg, #e5bb5a, var(--ma-hfp-gold)) !important;
    border-color: #bf8d2a !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mail {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    background: linear-gradient(180deg, var(--ma-hfp-teal), var(--ma-hfp-teal-dark)) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar {
    border-top: 1px solid rgba(215, 167, 70, .42) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
    background: linear-gradient(90deg, var(--ma-hfp-deep), var(--ma-hfp-navy) 58%, #073a66) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner {
    max-width: 1280px !important;
    display: grid !important;
    grid-template-columns: minmax(300px, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 28px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
    max-width: 610px !important;
    line-height: 1.75 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child::before {
    border: 1px solid rgba(255, 231, 173, .32) !important;
    background: rgba(215, 167, 70, .20) !important;
    color: #ffe8ae !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span {
    min-height: 34px !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    background: #fff !important;
    border: 1px solid rgba(215, 167, 70, .42) !important;
    color: var(--ma-hfp-navy) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .10) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer {
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, #08265a 0%, #061f49 72%, #051b40 100%) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta {
    background: linear-gradient(90deg, rgba(0, 123, 120, .32), rgba(215, 167, 70, .20), rgba(8, 38, 90, .35)) !important;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .16) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta-inner {
    max-width: 1280px !important;
    min-height: 160px !important;
    padding: 30px 28px !important;
    gap: 24px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta h2 {
    margin: 0 0 10px !important;
    color: #fff !important;
    font-size: clamp(24px, 2.5vw, 34px) !important;
    line-height: 1.35 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta p {
    color: #e7eff8 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta-actions {
    gap: 10px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta-actions .ma-btn {
    min-height: 52px !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .18) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__inner {
    max-width: 1280px !important;
    grid-template-columns: minmax(320px, 1.4fr) minmax(230px, .85fr) minmax(220px, .85fr) minmax(240px, .95fr) !important;
    gap: 28px !important;
    padding: 54px 28px 40px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__logo-wrap {
    border-radius: 8px !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .18) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__lead {
    max-width: 560px !important;
    color: #f2f7fb !important;
    font-size: 15px !important;
    line-height: 1.95 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__zero,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__company,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust-item {
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .085) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 14px 28px rgba(0, 0, 0, .10) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__zero {
    border-left: 4px solid var(--ma-hfp-gold) !important;
    padding: 18px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__zero strong,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__company strong,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox small,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer h3 {
    color: #fff !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__zero span,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__company span,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox p {
    color: #e4edf4 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox {
    padding: 20px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox a {
    min-height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #fff !important;
    font-size: clamp(28px, 3vw, 36px) !important;
    text-decoration: none !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .24) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__list {
    gap: 0 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__list a {
    min-height: 46px !important;
    padding: 11px 0 11px 18px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    text-decoration: none !important;
    line-height: 1.45 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__list a:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__list a:focus-visible,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom a:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom a:focus-visible {
    color: #fff2c8 !important;
    text-decoration: underline !important;
    text-underline-offset: .18em !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust {
    max-width: 1280px !important;
    padding: 6px 28px 34px !important;
    gap: 14px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust-item {
    min-height: 108px !important;
    padding: 18px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust-item strong {
    font-size: 16px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust-item span {
    color: #e4edf4 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom {
    min-height: 106px !important;
    padding: 20px 24px 26px !important;
    gap: 16px !important;
    background: rgba(0, 0, 0, .18) !important;
    border-top: 1px solid rgba(255, 255, 255, .12) !important;
    color: #e4edf4 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom span {
    color: #e4edf4 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom .ma-legal-links {
    width: 100% !important;
    margin-top: 4px !important;
    gap: 14px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom .ma-legal-links a {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    color: #e4edf4 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
    text-underline-offset: .18em !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-footer {
    background: linear-gradient(180deg, #08265a 0%, #061f49 100%) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-footer__inner {
    max-width: 1280px !important;
    padding: 44px 28px !important;
    gap: 24px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-footer__inner section {
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .08) !important;
    padding: 20px !important;
}
@media (max-width: 1180px) {
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
        gap: 10px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav a {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 13px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__phone,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__consult {
        min-width: 122px !important;
    }
}
@media (max-width: 900px) {
    html body.admin-bar:not(.wp-admin) #body_wrap .ma-public-site .ma-header,
    html body.admin-bar:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header {
        top: 46px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
        min-height: 88px !important;
        display: grid !important;
        grid-template-columns: 56px minmax(0, 1fr) 56px !important;
        align-items: center !important;
        padding: 10px 14px !important;
        gap: 8px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call {
        width: 54px !important;
        height: 54px !important;
        min-width: 54px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(8, 38, 90, .14) !important;
        box-shadow: 0 9px 20px rgba(8, 38, 90, .12) !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon {
        background: #fff !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: linear-gradient(180deg, var(--ma-hfp-navy), var(--ma-hfp-deep)) !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand {
        min-height: 58px !important;
        justify-content: center !important;
        padding: 7px 8px !important;
        box-shadow: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand img {
        max-height: 46px !important;
        max-width: 100% !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__actions {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner {
        display: block !important;
        padding: 9px 8px 8px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
        max-width: none !important;
        margin-bottom: 8px !important;
        font-size: 12px !important;
        line-height: 1.6 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child::before {
        min-height: 22px !important;
        padding: 3px 8px !important;
        font-size: 10px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        margin-left: -8px !important;
        margin-right: -8px !important;
        padding: 0 8px 3px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges::-webkit-scrollbar {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span {
        flex: 0 0 auto !important;
        min-height: 32px !important;
        max-width: none !important;
        padding: 7px 11px !important;
        white-space: nowrap !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta-inner {
        min-height: 0 !important;
        padding: 26px 22px !important;
        display: grid !important;
        gap: 18px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta h2 {
        font-size: 24px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__cta-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        padding: 38px 22px 30px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__logo-wrap {
        max-width: 100% !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox a {
        font-size: 30px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 0 22px 28px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer-polish__trust-item {
        min-height: 0 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom {
        padding: 22px 18px 84px !important;
        text-align: center !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar {
        left: 8px !important;
        right: 8px !important;
        bottom: 8px !important;
        width: auto !important;
        height: auto !important;
        min-height: 62px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        padding: 6px !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, .98) !important;
        border: 1px solid rgba(8, 38, 90, .16) !important;
        box-shadow: 0 18px 38px rgba(8, 38, 90, .22) !important;
        backdrop-filter: blur(10px) !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar a {
        min-height: 50px !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar a:nth-child(n+3) {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__inner {
        min-height: 78px !important;
        padding: 10px 14px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-brand {
        min-height: 58px !important;
        box-shadow: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav {
        display: none !important;
    }
}
@media (max-width: 520px) {
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand {
        border-color: transparent !important;
        background: transparent !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__phonebox a {
        font-size: 28px !important;
    }
}


/* Soko MA header footer trust polish v2 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand.has-polish-logo,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand {
  display: block !important;
  width: 332px !important;
  min-width: 332px !important;
  height: 90px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  background-color: #fff !important;
  background-image: var(--soko-brand-logo-attached, url('https://soko-ma-center.jp/wp-content/uploads/2026/05/soko-ma-logo-full-from-attachment-1.jpg')) !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: contain !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand.has-polish-logo > *,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand > * {
  display: none !important;
}
@media (max-width: 900px) {
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand.has-polish-logo,
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand {
    width: min(258px, 62vw) !important;
    min-width: 0 !important;
    height: 68px !important;
    background-position: center center !important;
  }
}
@media (max-width: 520px) {
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand.has-polish-logo,
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header a.ma-brand {
    width: min(228px, 58vw) !important;
    height: 60px !important;
  }
}
@media (min-width: 901px) {
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom .ma-legal-links,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer__bottom .ma-legal-links {
  gap: 8px 14px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-footer__bottom .ma-legal-links a,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer__bottom .ma-legal-links a,
html body:not(.wp-admin) #body_wrap .ma-public-site.ma-legal-site .ma-legal-footer__inner a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  text-underline-offset: 4px !important;
}


/* Soko MA header footer trust polish v3 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-nav a.ma-nav__cta,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-nav a[href*="/contact/"] {
  color: #fff !important;
  background: linear-gradient(180deg, #08265a, #061f49) !important;
  border-color: rgba(8, 38, 90, .36) !important;
  box-shadow: 0 10px 20px rgba(8, 38, 90, .16) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-nav a.ma-nav__cta:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-nav a[href*="/contact/"]:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-nav a.ma-nav__cta:focus-visible,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-nav a[href*="/contact/"]:focus-visible {
  color: #fff !important;
  background: linear-gradient(180deg, #0a7f78, #08726c) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon span,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon::before,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon::after {
  content: "" !important;
  display: block !important;
  width: 25px !important;
  height: 2px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #08265a !important;
  box-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon::before,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon::after {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon::before {
  top: calc(50% - 9px) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header .ma-menu-icon::after {
  top: calc(50% + 7px) !important;
}
@media (min-width: 901px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-public-site .ma-mobile-bar.ma-mobile-bar,
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-mobile-bar.ma-mobile-bar {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}


/* Soko MA header footer trust polish v4 - 2026-06-01 */
@media (min-width: 901px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-menu-icon.ma-menu-icon {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-nav a.ma-nav__cta,
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-nav a[href*="/contact/"] {
    display: none !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-nav {
    flex-wrap: nowrap !important;
  }
}


/* Soko MA header footer trust polish v5 - 2026-06-01 */
@media (min-width: 1200px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-nav {
    gap: 2px !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-nav a {
    white-space: nowrap !important;
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
}


/* Soko MA contrast guard v13 - buttons and roadmap audit 2026-06-01 */
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header :is(.ma-header__phone, .ma-header__consult, .ma-header__mail, .ma-header__mobile-call),
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header :is(.ma-header__phone, .ma-header__consult, .ma-header__mail, .ma-header__mobile-call) :is(span, small, strong),
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar a:first-child,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-btn:not(.ma-btn--white),
html body:not(.wp-admin) #body_wrap .ma-public-site a.ma-btn:not(.ma-btn--white) {
  color: #ffffff !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-btn--white,
html body:not(.wp-admin) #body_wrap .ma-public-site a.ma-btn--white,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar a:last-child {
  color: #08265a !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band .ma-eyebrow {
  background: #ffffff !important;
  color: #08265a !important;
  border-color: rgba(215, 167, 70, .86) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band .ma-step-tile > b {
  background: #08265a !important;
  color: #ffffff !important;
  border: 2px solid #d7a746 !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .70) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band .ma-step-tile > b :is(span, strong, small) {
  color: #ffffff !important;
}


/* Soko MA contrast guard v14 - high specificity succession label 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-public-site .ma-succession-band.ma-succession-band .ma-eyebrow.ma-eyebrow,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-public-site section.ma-succession-band.ma-detail-refresh .ma-eyebrow.ma-eyebrow {
  background: #ffffff !important;
  color: #08265a !important;
  border-color: rgba(215, 167, 70, .86) !important;
  text-shadow: none !important;
}


/* Soko MA contrast guard v15 - V11 off explicit button/legal/home fixes 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-btn.ma-btn--outline,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site a.ma-btn.ma-btn--outline,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site button.ma-btn.ma-btn--outline,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-actions .ma-btn.ma-btn--outline,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-hero .ma-actions .ma-btn.ma-btn--outline,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-section .ma-actions .ma-btn.ma-btn--outline,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-card .ma-actions .ma-btn.ma-btn--outline {
  background: #ffffff !important;
  border-color: #08265a !important;
  color: #08265a !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-btn.ma-btn--outline *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site a.ma-btn.ma-btn--outline *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site button.ma-btn.ma-btn--outline * {
  color: #08265a !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__phone,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__mail,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__mobile-call,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-mobile-bar a:first-child {
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__phone *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__mail *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__mobile-call * {
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__consult,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-mobile-bar a:nth-child(2),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-mobile-cta a:nth-child(2) {
  background: linear-gradient(180deg, #e5bb5a, #d7a746) !important;
  border-color: #d7a746 !important;
  color: #061f49 !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header .ma-header__consult *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-mobile-bar a:nth-child(2) *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-mobile-cta a:nth-child(2) * {
  color: #061f49 !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site figcaption,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-photo figcaption,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-band figcaption {
  background: #061f49 !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site figcaption * {
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-band .ma-eyebrow {
  background: #ffffff !important;
  border-color: #d7a746 !important;
  color: #08265a !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-band .ma-step-tile > b,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-flow-card > b {
  background: #08265a !important;
  border: 2px solid #d7a746 !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-band .ma-step-tile > b *,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-flow-card > b * {
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-stat-chip strong {
  color: #7a4f0f !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-card h2,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site aside .ma-legal-card h2 {
  background: #04384c !important;
  color: #ffffff !important;
  text-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site.ma-legal-site .ma-legal-card h2 * {
  color: #ffffff !important;
  text-shadow: none !important;
}


/* Soko MA homepage organization v1 - 2026-06-01 */
body.home:not(.wp-admin) #body_wrap .ma-public-site {
  --soko-home-navy: #08265a;
  --soko-home-deep: #061f49;
  --soko-home-teal: #006b6b;
  --soko-home-gold: #d7a746;
  --soko-home-ink: #10233f;
  --soko-home-muted: #42576f;
  --soko-home-line: #dbe7f1;
  --soko-home-soft: #f5f8fb;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .soko-org-section + .soko-org-section {
  border-top: 1px solid rgba(8, 38, 90, .10) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-section--navy {
  border-top-color: rgba(255, 255, 255, .18) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-inner,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__banner,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__inner,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__compare,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__note,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-strip__inner {
  max-width: 1160px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-title,
body.home:not(.wp-admin) #body_wrap .ma-public-site h2.ma-title {
  max-width: 900px !important;
  margin-bottom: 16px !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-subtitle {
  max-width: 780px !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  color: var(--soko-home-muted) !important;
  line-height: 1.9 !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-section--navy .ma-subtitle,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-succession-band .ma-subtitle {
  color: #e7eff8 !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-eyebrow {
  min-height: 28px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(8, 38, 90, .18) !important;
  letter-spacing: 0 !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-strip {
  background: #f7fafc !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-strip__inner {
  padding: 18px 20px !important;
  gap: 12px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-card {
  min-height: 0 !important;
  padding: 16px 16px !important;
  border: 1px solid var(--soko-home-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(8, 38, 90, .06) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-card__mark {
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__banner {
  margin-bottom: 26px !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(8, 38, 90, .14) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__inner {
  align-items: center !important;
  gap: 24px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__copy,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__amount {
  border-radius: 8px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__copy {
  background: #ffffff !important;
  border: 1px solid var(--soko-home-line) !important;
  padding: clamp(22px, 3vw, 34px) !important;
  box-shadow: 0 14px 34px rgba(8, 38, 90, .08) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__bullets {
  gap: 10px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__box {
  border-radius: 8px !important;
  padding: 22px !important;
  box-shadow: 0 10px 26px rgba(8, 38, 90, .08) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__note {
  margin-top: 18px !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 38, 90, .12) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site :is(.ma-detail-split, .ma-confidential-layout, .ma-succession-layout, .ma-flow-layout, .ma-inner.ma-two) {
  gap: clamp(26px, 4vw, 44px) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-detail-photo {
  margin: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 46px rgba(8, 38, 90, .14) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-detail-photo img {
  width: 100% !important;
  aspect-ratio: 16 / 9.6 !important;
  object-fit: cover !important;
  display: block !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-detail-photo figcaption {
  padding: 12px 16px !important;
  line-height: 1.65 !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site :is(.ma-stat-chip, .ma-ops-card, .ma-mini-card, .ma-security-card, .ma-step-tile, .ma-step, .ma-card, .ma-route-card, .ma-zero-fee__box, .ma-matrix-row, .ma-flow-card) {
  border-radius: 8px !important;
  box-shadow: 0 10px 28px rgba(8, 38, 90, .07) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site :is(.ma-stat-chip, .ma-ops-card, .ma-mini-card, .ma-security-card, .ma-step-tile, .ma-step, .ma-card, .ma-route-card, .ma-matrix-row, .ma-flow-card) {
  padding: 18px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-stat-strip,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-ops-kpi-grid,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-grid,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-badge-grid,
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-route-grid {
  gap: 14px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid > * {
  min-height: 110px !important;
  padding: 18px !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(8, 38, 90, .06) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-specialty-strip {
  gap: 8px !important;
  margin-top: 18px !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-specialty-strip span {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 38, 90, .14) !important;
  color: var(--soko-home-navy) !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-actions {
  gap: 12px !important;
  align-items: center !important;
}
body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-btn {
  border-radius: 8px !important;
  box-shadow: 0 10px 22px rgba(8, 38, 90, .10) !important;
}
@media (max-width: 900px) {
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    padding: 14px 12px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-card {
    padding: 14px 12px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__banner {
    margin: 0 14px 20px !important;
    padding: 15px 16px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__inner,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__compare,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__note {
    width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__copy,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-zero-fee__box {
    padding: 18px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site :is(.ma-detail-split, .ma-confidential-layout, .ma-succession-layout, .ma-flow-layout, .ma-inner.ma-two) {
    gap: 22px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-title,
  body.home:not(.wp-admin) #body_wrap .ma-public-site h2.ma-title {
    margin-bottom: 12px !important;
    line-height: 1.34 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-subtitle {
    margin-bottom: 18px !important;
    line-height: 1.8 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid > * {
    min-height: 108px !important;
    padding: 13px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid :is(h3, strong) {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid :is(p, span, small) {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-stat-strip,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-ops-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site :is(.ma-stat-chip, .ma-ops-card, .ma-mini-card, .ma-security-card, .ma-step-tile, .ma-step, .ma-card, .ma-route-card, .ma-matrix-row, .ma-flow-card) {
    padding: 15px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-security-grid,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-grid,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-badge-grid,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-route-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-step-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-step-tile {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    min-height: 0 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-step-tile > b {
    grid-row: span 2 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-detail-photo img {
    aspect-ratio: 16 / 10.5 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-actions .ma-btn {
    min-height: 48px !important;
  }
}
@media (max-width: 520px) {
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-strip__inner {
    grid-template-columns: 1fr !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-card {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: center !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-home-trust-card__mark {
    grid-row: span 2 !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-stat-strip,
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-ops-kpi-grid {
    grid-template-columns: 1fr !important;
  }
  body.home:not(.wp-admin) #body_wrap .ma-public-site .ma-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* Soko MA homepage organization v2 - active body class 2026-06-01 */
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site {
  --soko-home-navy: #08265a;
  --soko-home-deep: #061f49;
  --soko-home-teal: #006b6b;
  --soko-home-gold: #d7a746;
  --soko-home-ink: #10233f;
  --soko-home-muted: #42576f;
  --soko-home-line: #dbe7f1;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .soko-org-section + .soko-org-section {
  border-top: 1px solid rgba(8, 38, 90, .10) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-band,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-section--navy {
  border-top-color: rgba(255, 255, 255, .18) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-title,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site h2.ma-title {
  max-width: 900px !important;
  margin-bottom: 16px !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-subtitle {
  max-width: 780px !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  color: var(--soko-home-muted) !important;
  line-height: 1.9 !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-section--navy .ma-subtitle,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-band .ma-subtitle {
  color: #e7eff8 !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-strip {
  background: #f7fafc !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-strip__inner {
  padding: 18px 20px !important;
  gap: 12px !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-card {
  min-height: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--soko-home-line) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(8, 38, 90, .06) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee {
  background: linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__banner {
  margin-bottom: 26px !important;
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(8, 38, 90, .14) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__inner,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__compare,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__note,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-inner,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-strip__inner {
  max-width: 1160px !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__inner {
  gap: 24px !important;
  align-items: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__copy {
  background: #ffffff !important;
  border: 1px solid var(--soko-home-line) !important;
  border-radius: 8px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  box-shadow: 0 14px 34px rgba(8, 38, 90, .08) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__box,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-stat-chip,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-ops-card,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-mini-card,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-security-card,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-step-tile,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-step,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-card,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-route-card,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-matrix-row,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-flow-card {
  border-radius: 8px !important;
  padding: 18px !important;
  box-shadow: 0 10px 28px rgba(8, 38, 90, .07) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__note {
  margin-top: 18px !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 38, 90, .12) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-split,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-confidential-layout,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-layout,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-flow-layout,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-inner.ma-two {
  gap: clamp(26px, 4vw, 44px) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-photo {
  margin: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 46px rgba(8, 38, 90, .14) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-photo img {
  width: 100% !important;
  aspect-ratio: 16 / 9.6 !important;
  object-fit: cover !important;
  display: block !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-photo figcaption {
  padding: 12px 16px !important;
  line-height: 1.65 !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-stat-strip,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-ops-kpi-grid,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-industry-grid,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-grid,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-badge-grid,
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-route-grid {
  gap: 14px !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-industry-grid > * {
  min-height: 110px !important;
  padding: 18px !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(8, 38, 90, .06) !important;
}
html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-specialty-strip span {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(8, 38, 90, .14) !important;
  color: var(--soko-home-navy) !important;
}
@media (max-width: 900px) {
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-strip__inner {
    grid-template-columns: 1fr !important;
    padding: 14px 12px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-card {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    align-items: center !important;
    padding: 14px 12px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-home-trust-card__mark {
    grid-row: span 2 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__banner {
    margin: 0 14px 20px !important;
    padding: 15px 16px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__inner,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__compare,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__note {
    width: calc(100% - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__copy,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-zero-fee__box {
    padding: 18px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-title,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site h2.ma-title {
    margin-bottom: 12px !important;
    line-height: 1.34 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-subtitle {
    margin-bottom: 18px !important;
    line-height: 1.8 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-split,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-confidential-layout,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-succession-layout,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-flow-layout,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-inner.ma-two {
    gap: 22px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-industry-grid > * {
    min-height: 108px !important;
    padding: 13px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-industry-grid :is(h3, strong) {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-industry-grid :is(p, span, small) {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-stat-strip,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-ops-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-stat-chip, .ma-ops-card, .ma-mini-card, .ma-security-card, .ma-step-tile, .ma-step, .ma-card, .ma-route-card, .ma-matrix-row, .ma-flow-card) {
    padding: 15px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-security-grid,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-grid,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-badge-grid,
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-route-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-step-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-step-tile {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    align-items: center !important;
    column-gap: 12px !important;
    min-height: 0 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-step-tile > b {
    grid-row: span 2 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-detail-photo img {
    aspect-ratio: 16 / 10.5 !important;
  }
}


/* Soko MA homepage mobile topbar polish v3 - 2026-06-01 */
@media (max-width: 640px) {
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: auto !important;
    max-width: none !important;
    margin: 8px 8px 6px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges span {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 34px !important;
    padding: 7px 6px !important;
    border-radius: 999px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__inner {
    padding-bottom: 6px !important;
  }
}
@media (max-width: 360px) {
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html body.soko-home-polish:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges span {
    font-size: 10.25px !important;
  }
}


/* Soko MA sitewide spacing and header polish v4 - 2026-06-01 */
html body:not(.wp-admin) .ma-public-site {
  overflow-x: clip !important;
}
html body:not(.wp-admin) .ma-public-site > p:empty,
html body:not(.wp-admin) .ma-public-site > br,
html body:not(.wp-admin) .ma-section > p:empty,
html body:not(.wp-admin) .ma-legal-site > p:empty,
html body:not(.wp-admin) .ma-legal-site > br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}
html.ma-site-mode body:not(.wp-admin) .post_content:has(.ma-legal-site) {
  margin-top: 0 !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-header {
  top: 0 !important;
  min-height: auto !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-header__inner {
  display: grid !important;
  grid-template-columns: minmax(260px, 345px) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 92px !important;
  padding: 10px clamp(18px, 3vw, 28px) !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-header__inner > br,
html body:not(.wp-admin) .ma-legal-site .ma-legal-header__inner > p:empty {
  display: none !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-brand {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 345px !important;
  min-height: 62px !important;
  padding: 6px 12px !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-brand img {
  width: min(100%, 295px) !important;
  height: auto !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-nav {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-header__actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  width: auto !important;
  margin: 0 !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-kv__inner {
  padding-top: clamp(46px, 5vw, 60px) !important;
  padding-bottom: clamp(46px, 5vw, 60px) !important;
}
html body:not(.wp-admin) .ma-legal-site .ma-legal-main {
  padding-top: clamp(38px, 4vw, 50px) !important;
}
html body:not(.wp-admin) .ma-public-site .ma-section {
  scroll-margin-top: 110px !important;
}
@media (max-width: 1180px) {
  html body:not(.wp-admin) .ma-legal-site .ma-legal-header__inner {
    grid-template-columns: minmax(220px, 310px) minmax(0, 1fr) !important;
  }
  html body:not(.wp-admin) .ma-legal-site .ma-legal-header__actions {
    display: none !important;
  }
  html body:not(.wp-admin) .ma-legal-site .ma-legal-nav {
    grid-column: 2 !important;
  }
}
@media (max-width: 900px) {
  html body:not(.wp-admin) .ma-legal-site .ma-legal-header__inner {
    display: flex !important;
    min-height: 82px !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  html body:not(.wp-admin) .ma-legal-site .ma-legal-brand {
    max-width: 245px !important;
    min-height: 58px !important;
  }
  html body:not(.wp-admin) .ma-legal-site .ma-legal-nav {
    display: none !important;
  }
  html body:not(.wp-admin) .ma-legal-site .ma-legal-kv__inner {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
  html body:not(.wp-admin) .ma-public-site .ma-section {
    scroll-margin-top: 88px !important;
  }
}
@media (max-width: 640px) {
  html body:not(.wp-admin) .ma-public-site .ma-topbar__badges {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: auto !important;
    max-width: none !important;
    margin: 8px 8px 6px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html body:not(.wp-admin) .ma-public-site .ma-topbar__badges span {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 34px !important;
    padding: 7px 6px !important;
    border-radius: 999px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
  }
  html body:not(.wp-admin) .ma-public-site .ma-topbar__inner {
    padding-bottom: 6px !important;
  }
  html body:not(.wp-admin) .ma-public-site .ma-section,
  html body:not(.wp-admin) .ma-public-site .ma-section--soft,
  html body:not(.wp-admin) .ma-public-site .ma-section--navy {
    padding-top: clamp(34px, 9vw, 44px) !important;
    padding-bottom: clamp(34px, 9vw, 44px) !important;
  }
  html body:not(.wp-admin) .ma-public-site .ma-card,
  html body:not(.wp-admin) .ma-public-site .ma-card--accent,
  html body:not(.wp-admin) .ma-public-site .ma-legal-card {
    margin-top: 0 !important;
  }
}
@media (max-width: 360px) {
  html body:not(.wp-admin) .ma-public-site .ma-topbar__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* Soko MA sitewide spacing final v5 - 2026-06-01 */
html.ma-site-mode body:not(.wp-admin) .post_content > p:has(script),
html.ma-site-mode body:not(.wp-admin) .post_content > p:empty,
html.ma-site-mode body:not(.wp-admin) .post_content > style,
html.ma-site-mode body:not(.wp-admin) .post_content > script {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}
html.ma-site-mode body:not(.wp-admin) .post_content > .ma-public-site.ma-legal-site {
  margin-top: 0 !important;
}
@media (max-width: 640px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: auto !important;
    max-width: none !important;
    margin: 8px 8px 6px !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges span {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 34px !important;
    padding: 7px 6px !important;
    border-radius: 999px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.3 !important;
    font-size: 10.5px !important;
    letter-spacing: 0 !important;
  }
}
@media (max-width: 360px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* Soko MA reveal whitespace prevention v6 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-reveal-target,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-reveal-target:not(.ma-visible),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site [class*="ma-reveal"] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  transition: box-shadow .18s ease, border-color .18s ease, background-color .18s ease !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-reveal-target::before,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-reveal-target::after {
  opacity: 1 !important;
}


/* Soko MA form tap target polish v7 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form label:has(input[type="checkbox"]),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-consent {
  min-height: 44px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  margin-top: 2px !important;
}


/* Soko MA form tap target scope fix v8 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form label:has(input[type="checkbox"]) {
  display: block !important;
  min-height: 0 !important;
  gap: normal !important;
  cursor: inherit !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form label:has(> input[type="checkbox"]),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form .ma-consent:has(> input[type="checkbox"]) {
  min-height: 44px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  cursor: pointer !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form label:has(> input[type="checkbox"]) > input[type="checkbox"],
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site form .ma-consent:has(> input[type="checkbox"]) > input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  margin-top: 2px !important;
}


/* Soko MA archive thumbnail placeholder v9 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .p-postList__thumb.c-postThumb,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure {
  background: #f3f7fb !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure:has(> img[src^="data:image/gif"]),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure:has(> img.lazyload:not(.lazyloaded)) {
  position: relative !important;
  isolation: isolate !important;
  background: linear-gradient(135deg, #08265a 0%, #0a4f68 62%, #d6a640 180%) !important;
  overflow: hidden !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure:has(> img[src^="data:image/gif"])::before,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure:has(> img.lazyload:not(.lazyloaded))::before {
  content: "倉庫M&A" !important;
  position: absolute !important;
  left: 16px !important;
  bottom: 14px !important;
  z-index: 1 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
  background: rgba(0, 38, 84, .72) !important;
  border: 1px solid rgba(255, 255, 255, .32) !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure:has(> img[src^="data:image/gif"])::after,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure:has(> img.lazyload:not(.lazyloaded))::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  background:
    linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,0) 42%),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.18), transparent 30%) !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .c-postThumb__figure > img[src^="data:image/gif"] {
  opacity: 0 !important;
}


/* Soko MA archive end spacing v10 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap.archive {
  background: #ffffff !important;
}
html body:not(.wp-admin) #body_wrap.archive #content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
html body:not(.wp-admin) #body_wrap.archive::after {
  content: "" !important;
  display: block !important;
  height: clamp(78px, 12vw, 124px) !important;
  margin-top: 26px !important;
  background: linear-gradient(135deg, #08265a 0%, #0a4f68 100%) !important;
  border-top: 3px solid #d6a640 !important;
}
@media (max-width: 640px) {
  html body:not(.wp-admin) #body_wrap.archive::after {
    height: 82px !important;
    margin-top: 20px !important;
  }
}


/* Soko MA archive viewport background v11 - 2026-06-01 */
html body:not(.wp-admin):has(#body_wrap.archive) {
  background: #08265a !important;
}
html body:not(.wp-admin):has(#body_wrap.archive) #body_wrap.archive {
  min-height: auto !important;
}


/* Soko MA section organization polish v12 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site {
  --soko-org-line: rgba(8, 38, 90, .10);
  --soko-org-border: #d8e3ee;
  --soko-org-border-strong: #b8c8d8;
  --soko-org-soft: #f6f9fc;
  --soko-org-navy: #08265a;
  --soko-org-gold: #d6a640;
  --soko-org-shadow: 0 10px 24px rgba(8, 38, 90, .07);
  --soko-org-shadow-hover: 0 14px 30px rgba(8, 38, 90, .10);
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section, .soko-org-section):not(.ma-hero):not(.ma-kv) {
  border-top: 1px solid var(--soko-org-line) !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-section--soft {
  background-color: var(--soko-org-soft) !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section, .soko-org-section):not(.ma-hero):not(.ma-kv) .ma-title {
  max-width: 920px !important;
  letter-spacing: 0 !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section, .soko-org-section):not(.ma-hero):not(.ma-kv) .ma-title::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--soko-org-gold);
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section--navy, .ma-succession-band) .ma-title::after {
  background: #f0c96b !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-steps, .ma-badge-grid, .ma-flow-cards, .ma-route-grid) {
  gap: 20px !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-card, .ma-mini-card, .ma-ops-card, .ma-security-card, .ma-step, .ma-step-tile, .ma-badge, .ma-route, .ma-home-trust-card, .ma-form-intro__item) {
  background: #fff !important;
  border: 1px solid var(--soko-org-border) !important;
  border-radius: 8px !important;
  box-shadow: var(--soko-org-shadow) !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-card--accent {
  border-left: 4px solid var(--soko-org-gold) !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-card, .ma-mini-card, .ma-ops-card, .ma-security-card, .ma-step, .ma-step-tile, .ma-badge, .ma-route, .ma-home-trust-card, .ma-form-intro__item) :is(h3, h4) {
  color: var(--soko-org-navy) !important;
  letter-spacing: 0 !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section--navy, .ma-succession-band) :is(.ma-flow-card, .ma-step, .ma-step-tile, .ma-card, .ma-badge) {
  background: rgba(255, 255, 255, .10) !important;
  border-color: rgba(255, 255, 255, .28) !important;
  box-shadow: none !important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section--navy, .ma-succession-band) :is(.ma-flow-card, .ma-step, .ma-step-tile, .ma-card, .ma-badge) :is(h3, h4) {
  color: #fff !important;
}
html body:not(.wp-admin) #body_wrap.archive .c-pageTitle {
  margin-bottom: 24px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #d8e3ee !important;
  color: #08265a !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__item {
  margin-bottom: 28px !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 100% !important;
  background: #fff !important;
  border: 1px solid #d8e3ee !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 24px rgba(8, 38, 90, .07) !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__thumb {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #f3f7fb !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  padding: 14px 14px 16px !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__title {
  color: #08265a !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__excerpt {
  margin-top: 8px !important;
  color: #334155 !important;
  line-height: 1.75 !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__meta {
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(8, 38, 90, .08) !important;
  color: #596a7e !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__link:focus-visible {
  outline: 3px solid #d6a640 !important;
  outline-offset: 3px !important;
}
@media (hover: hover) and (pointer: fine) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-card, .ma-mini-card, .ma-ops-card, .ma-security-card, .ma-step, .ma-step-tile, .ma-badge, .ma-route, .ma-home-trust-card, .ma-form-intro__item):hover,
  html body:not(.wp-admin) #body_wrap.archive .p-postList__link:hover {
    border-color: #b8c8d8 !important;
    box-shadow: var(--soko-org-shadow-hover, 0 14px 30px rgba(8, 38, 90, .10)) !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section--navy, .ma-succession-band) :is(.ma-flow-card, .ma-step, .ma-step-tile, .ma-card, .ma-badge):hover {
    box-shadow: none !important;
  }
}
@media (max-width: 640px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section, .soko-org-section):not(.ma-hero):not(.ma-kv) {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-steps, .ma-badge-grid, .ma-flow-cards, .ma-route-grid) {
    gap: 14px !important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site :is(.ma-section, .soko-org-section):not(.ma-hero):not(.ma-kv) .ma-title::after {
    width: 40px;
    margin-top: 10px;
  }
  html body:not(.wp-admin) #body_wrap.archive .c-pageTitle {
    margin-bottom: 18px !important;
    padding-bottom: 12px !important;
  }
  html body:not(.wp-admin) #body_wrap.archive .p-postList__item {
    margin-bottom: 22px !important;
  }
  html body:not(.wp-admin) #body_wrap.archive .p-postList__body {
    padding: 13px 13px 15px !important;
  }
}


/* Soko MA section organization polish v13 - archive width and pagination 2026-06-01 */
html body:not(.wp-admin) #body_wrap.archive .p-postList {
  margin-left: 0 !important;
  margin-right: 0 !important;
  gap: 24px 20px !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList.-pc-col3 .p-postList__item {
  width: calc((100% - 40px) / 3) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html body:not(.wp-admin) #body_wrap.archive .p-postList__link {
  width: 100% !important;
}
html body:not(.wp-admin) #body_wrap.archive .c-pagination__dot,
html body:not(.wp-admin) #body_wrap.archive .page-numbers.dots {
  color: #596a7e !important;
}
@media (max-width: 640px) {
  html body:not(.wp-admin) #body_wrap.archive .p-postList {
    gap: 22px !important;
  }
  html body:not(.wp-admin) #body_wrap.archive .p-postList.-sp-col1 .p-postList__item,
  html body:not(.wp-admin) #body_wrap.archive .p-postList__item {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* Soko MA section organization polish v14 - archive pagination contrast 2026-06-01 */
html body:not(.wp-admin) #body_wrap.archive .c-pagination .page-numbers,
html body:not(.wp-admin) #body_wrap.archive .pagination .page-numbers {
  border: 1px solid #d8e3ee !important;
  background: #fff !important;
  color: #08265a !important;
}
html body:not(.wp-admin) #body_wrap.archive .c-pagination .page-numbers.current,
html body:not(.wp-admin) #body_wrap.archive .pagination .page-numbers.current {
  border-color: #08265a !important;
  background: #08265a !important;
  color: #fff !important;
}
html body:not(.wp-admin) #body_wrap.archive .c-pagination .page-numbers.-to-last,
html body:not(.wp-admin) #body_wrap.archive .pagination .page-numbers.-to-last {
  border-color: #d8e3ee !important;
  background: #eef3f8 !important;
  color: #08265a !important;
}


/* Soko MA top page M&A Do minimal v15 - 2026-06-01 */
html body:not(.wp-admin) #body_wrap.home .ma-footer-polish__company,
html body:not(.wp-admin) #body_wrap.id_3743 .ma-footer-polish__company {
  min-height: 0 !important;
  height: auto !important;
  padding: 12px 14px !important;
  gap: 4px !important;
}
html body:not(.wp-admin) #body_wrap.home .ma-footer-polish__company::after,
html body:not(.wp-admin) #body_wrap.id_3743 .ma-footer-polish__company::after {
  content: none !important;
  display: none !important;
}
html body:not(.wp-admin) #body_wrap.home .ma-footer-polish__company strong,
html body:not(.wp-admin) #body_wrap.id_3743 .ma-footer-polish__company strong {
  margin-bottom: 0 !important;
}
html body:not(.wp-admin) #body_wrap.home .ma-footer-polish__company span,
html body:not(.wp-admin) #body_wrap.id_3743 .ma-footer-polish__company span {
  font-size: 15px !important;
  line-height: 1.6 !important;
}


/* Soko MA text visibility guard v16 - 2026-06-01 */
@media (max-width: 640px) {
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(8, 38, 90, .14) !important;
    box-shadow: none !important;
  }
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-mobile-bar a {
    min-height: 48px !important;
    white-space: nowrap !important;
  }
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-privacy-box {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-flow-figure,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-flow-figure img {
  max-width: 100% !important;
}

/* Soko Inquiry Form UI refresh 2026-08-26 */
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form{
  width:100%!important;
  box-sizing:border-box!important;
  padding:28px!important;
  color:#183044!important;
  background:#fff!important;
  border:1px solid #d7e0e6!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-heading{
  margin:0 0 20px!important;
  padding:0!important;
  color:#183044!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  text-align:left!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-heading h2{
  color:#183044!important;
  line-height:1.45!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-lead{
  color:#4f616f!important;
  line-height:1.8!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-badges{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:16px 0 0!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-badge{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  min-height:44px!important;
  padding:8px 10px!important;
  box-sizing:border-box!important;
  color:#26465e!important;
  background:#f4f7f9!important;
  border:1px solid #d7e0e6!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.5!important;
  text-align:center!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-easy-note{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:12px!important;
  margin:18px 0!important;
  padding:16px!important;
  color:#243c4d!important;
  background:#f4f7f9!important;
  border:1px solid #d7e0e6!important;
  border-left:4px solid #123f63!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-easy-note__mark{
  display:grid!important;
  place-items:center!important;
  width:34px!important;
  height:34px!important;
  color:#fff!important;
  background:#123f63!important;
  border:0!important;
  border-radius:50%!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-progress{
  margin:0 0 22px!important;
  padding:16px!important;
  color:#243c4d!important;
  background:#f4f7f9!important;
  border:1px solid #d7e0e6!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-progress__count{
  color:#26465e!important;
  background:#e7edf2!important;
  border:0!important;
  border-radius:6px!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-progress__bar{
  background:#dbe4ea!important;
  border-radius:999px!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-progress__bar > span{
  background:#123f63!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:20px!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-grid > label,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-grid > label.ma-wide{
  grid-column:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#183044!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-section-title{
  grid-column:1/-1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:8px 0 0!important;
  padding:13px 15px!important;
  color:#fff!important;
  background:#123f63!important;
  border:0!important;
  border-radius:8px!important;
  box-shadow:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-section-title :is(span,small){
  color:#fff!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-section-title small{
  opacity:.84!important;
  text-align:right!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-field-label{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#183044!important;
  font-weight:700!important;
  line-height:1.5!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-required,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-optional{
  flex:0 0 auto!important;
  padding:3px 8px!important;
  border-radius:5px!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-required{
  color:#fff!important;
  background:#123f63!important;
  border:1px solid #123f63!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-optional{
  color:#52636f!important;
  background:#eef2f5!important;
  border:1px solid #cbd6dd!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-field-hint{
  display:block!important;
  min-height:0!important;
  margin:6px 0 0!important;
  color:#596a76!important;
  font-size:13px!important;
  line-height:1.65!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),select,textarea){
  width:100%!important;
  min-width:0!important;
  min-height:56px!important;
  padding:13px 14px!important;
  box-sizing:border-box!important;
  color:#142c3d!important;
  background:#fff!important;
  border:1px solid #8295a3!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-size:16px!important;
  line-height:1.5!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form textarea{
  min-height:168px!important;
  resize:vertical!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(input,select,textarea):focus,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(input,select,textarea):focus-visible{
  outline:0!important;
  border-color:#176b8a!important;
  box-shadow:0 0 0 3px rgba(23,107,138,.18)!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form ::placeholder{
  color:#697a85!important;
  opacity:1!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-choice-list{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  margin-top:8px!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-choice-list label{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  padding:13px 14px!important;
  box-sizing:border-box!important;
  color:#243c4d!important;
  background:#f5f7f9!important;
  border:1px solid #d7e0e6!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-weight:700!important;
  line-height:1.5!important;
  cursor:pointer!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-choice-list label:hover,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-choice-list label.ma-choice-selected{
  color:#183044!important;
  background:#eaf0f4!important;
  border-color:#8ba0ae!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(.ma-choice-list,.ma-consent) input[type="checkbox"],
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(.ma-choice-list,.ma-consent) input[type="radio"]{
  width:24px!important;
  height:24px!important;
  min-width:24px!important;
  min-height:24px!important;
  margin:0!important;
  flex:0 0 24px!important;
  accent-color:#123f63!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-consent{
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  margin-top:16px!important;
  padding:16px!important;
  color:#243c4d!important;
  background:#f5f7f9!important;
  border:1px solid #d7e0e6!important;
  border-radius:8px!important;
  box-shadow:none!important;
  line-height:1.7!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-helper-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:10px!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(.ma-form-helper-actions button,.ma-inline-fill){
  min-height:44px!important;
  padding:10px 14px!important;
  color:#26465e!important;
  background:#fff!important;
  border:1px solid #aebdc7!important;
  border-radius:7px!important;
  box-shadow:none!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.4!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-actions{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  margin:24px 0 0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-actions :is(button,.ma-btn){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  max-width:420px!important;
  min-height:60px!important;
  margin:0 auto!important;
  padding:14px 20px!important;
  box-sizing:border-box!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-size:17px!important;
  font-weight:800!important;
  line-height:1.4!important;
  text-align:center!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-actions button[type="submit"]{
  color:#fff!important;
  background:#123f63!important;
  border:1px solid #123f63!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-actions button[type="submit"]:hover{
  background:#0d314d!important;
  border-color:#0d314d!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-actions button[type="submit"]:disabled{
  color:#fff!important;
  background:#7b8993!important;
  border-color:#7b8993!important;
  opacity:1!important;
  cursor:not-allowed!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-actions .ma-btn{
  color:#26465e!important;
  background:#f5f7f9!important;
  border:1px solid #aebdc7!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-field-error :is(input,select,textarea),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form :is(input,select,textarea)[aria-invalid="true"]{
  border-color:#b42318!important;
  box-shadow:0 0 0 2px rgba(180,35,24,.12)!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-field-error-message{
  margin-top:6px!important;
  color:#b42318!important;
  font-weight:700!important;
  line-height:1.5!important;
}
@media (max-width:760px){
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form{
    padding:14px!important;
    border-radius:10px!important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-badges{
    grid-template-columns:minmax(0,1fr)!important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-easy-note{
    grid-template-columns:minmax(0,1fr)!important;
    padding:14px!important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-grid{
    gap:18px!important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-section-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:3px!important;
    padding:12px 14px!important;
  }
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form .ma-form-section-title small{
    text-align:left!important;
  }
}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form input[name="website"]{display:none!important}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form.ma-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([name="website"]),select,textarea):focus,
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form.ma-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([name="website"]),select,textarea):focus-visible{
  outline:0!important;
  border-color:#176b8a!important;
  box-shadow:0 0 0 3px rgba(23,107,138,.18)!important;
}
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form.ma-form textarea{
  min-height:168px!important;
}
@media (max-width:760px){
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form.ma-form{
    padding:12px!important;
  }
}

html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form.ma-form .ma-field-error :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([name="website"]),select,textarea),
html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap:is(.page-id-3749,.page-id-1215) #main_content#main_content #contact-form#contact-form form.ma-form.ma-form :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([name="website"]),select,textarea)[aria-invalid="true"]{
  border-color:#b42318!important;
  box-shadow:0 0 0 3px rgba(180,35,24,.14)!important;
}



/* Codex soko responsive navigation fix 2026-08-27 */
.soko-fallback-menu-toggle,
.soko-fallback-mobile-call,
.soko-legal-menu-toggle,
.soko-legal-mobile-call {
  display: none;
}

@media (min-width: 901px) and (max-width: 1120px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-menu-icon.ma-menu-icon {
    display: grid !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-footer .ma-footer__inner {
    width: calc(100% - 32px) !important;
    max-width: 1080px !important;
    margin-inline: auto !important;
    padding-inline: 24px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 28px !important;
    box-sizing: border-box !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-footer .ma-footer__inner > * {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (min-width: 901px) {
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar,
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner,
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner {
    min-height: 50px !important;
  }

  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
    white-space: normal !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 1120px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__inner {
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) 54px !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 82px !important;
    box-sizing: border-box !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-menu-icon.ma-menu-icon {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-brand {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 360px !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-brand img {
    max-width: 100% !important;
    object-fit: contain !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__mobile-call {
    display: grid !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: 54px !important;
    height: 54px !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-nav,
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__actions {
    display: none !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-nav {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #d7e3e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(7, 28, 39, .10) !important;
    box-sizing: border-box !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 7px 6px !important;
    border: 1px solid #dbe6eb !important;
    border-radius: 7px !important;
    background: #f8fbfc !important;
    color: #10233f !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-nav a.ma-nav__cta {
    border-color: #d6a640 !important;
    background: #f7d77b !important;
    color: #071c27 !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-header__actions {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-header__actions a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
  }

  .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-menu-icon span {
    opacity: 0 !important;
  }

  .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-menu-icon::before {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  .ma-header.soko-menu-enhanced.is-mobile-menu-open .ma-menu-icon::after {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  .ma-header.soko-menu-enhanced .ma-menu-icon:focus-visible {
    outline: 3px solid #0c7a67 !important;
    outline-offset: 2px !important;
  }
}

@media (max-width: 760px) {
  html.ma-site-mode,
  html.ma-site-mode body:not(.wp-admin) {
    overflow-x: clip !important;
    overflow-y: visible !important;
  }

  html body:not(.wp-admin):has(.ma-public-site) {
    padding-bottom: 0 !important;
  }

  html body:not(.wp-admin) #body_wrap .post_content > .ma-public-site {
    margin-bottom: 0 !important;
  }

  html body:not(.wp-admin) #body_wrap .post_content > .ma-public-site + p {
    margin: 0 !important;
  }

  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header.soko-menu-enhanced {
    position: sticky !important;
    top: 0 !important;
  }

  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__inner {
    grid-template-columns: 50px minmax(0, 1fr) 50px !important;
    min-height: 80px !important;
    padding: 10px 12px !important;
  }

  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-menu-icon.ma-menu-icon,
  html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__mobile-call {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
  }
}

/* Legal pages: add a usable compact menu on phones and tablets. */
@media (max-width: 900px) {
  html body:not(.wp-admin) #body_wrap#body_wrap .ma-legal-header.soko-legal-menu-enhanced {
    position: sticky !important;
    top: 0 !important;
    z-index: 120 !important;
    background: #ffffff !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap .ma-legal-header.soko-legal-menu-enhanced .ma-legal-header__inner {
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) 52px !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 76px !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced .ma-legal-header__inner > p,
  .ma-legal-header.soko-legal-menu-enhanced .ma-legal-nav > br {
    display: none !important;
  }

  .soko-legal-menu-toggle,
  .soko-legal-mobile-call {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border: 1px solid #d7e3e8 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #08265a !important;
    box-shadow: 0 7px 16px rgba(7, 28, 39, .08) !important;
    box-sizing: border-box !important;
  }

  .soko-legal-menu-toggle {
    grid-column: 1 !important;
    grid-row: 1 !important;
    flex-direction: column !important;
    gap: 4px !important;
    cursor: pointer !important;
  }

  .soko-legal-menu-toggle span {
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    transition: transform .18s ease, opacity .18s ease !important;
  }

  .soko-legal-mobile-call {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    font-size: 21px !important;
    text-decoration: none !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced .ma-legal-brand {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 240px !important;
    margin: 0 !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced .ma-legal-brand img {
    display: block !important;
    width: 100% !important;
    max-height: 54px !important;
    object-fit: contain !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced .ma-legal-nav,
  .ma-legal-header.soko-legal-menu-enhanced .ma-legal-header__actions {
    display: none !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-nav {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 10px !important;
    border: 1px solid #d7e3e8 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 7px 5px !important;
    border: 1px solid #dbe6eb !important;
    border-radius: 7px !important;
    background: #f8fbfc !important;
    color: #10233f !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-header__actions {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-header__actions a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 50px !important;
  }

  .ma-legal-header.is-mobile-menu-open .soko-legal-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }

  .ma-legal-header.is-mobile-menu-open .soko-legal-menu-toggle span:nth-child(2) {
    opacity: 0 !important;
  }

  .ma-legal-header.is-mobile-menu-open .soko-legal-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }
}

/* Pages without a theme shell: provide a consistent header and footer. */
.soko-fallback-header {
  position: sticky;
  top: 0;
  z-index: 130;
  border-bottom: 1px solid #d7e3e8;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 8px 22px rgba(7, 28, 39, .08);
}

.soko-fallback-header__inner {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) 54px;
  align-items: center;
  gap: 18px;
  width: min(1160px, calc(100% - 32px));
  min-height: 82px;
  margin-inline: auto;
}

.soko-fallback-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  color: #10233f !important;
  text-decoration: none !important;
}

.soko-fallback-brand img {
  display: block;
  width: 100%;
  max-width: 310px;
  max-height: 62px;
  object-fit: contain;
}

.soko-fallback-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.soko-fallback-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 9px;
  border-radius: 7px;
  color: #10233f !important;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none !important;
}

.soko-fallback-nav a:hover,
.soko-fallback-nav a:focus-visible {
  background: #edf6f3;
}

.soko-fallback-nav a.soko-fallback-nav__cta {
  background: #d6a640;
  color: #071c27 !important;
}

.soko-fallback-mobile-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 9px;
  background: #08265a;
  color: #ffffff !important;
  font-size: 21px;
  text-decoration: none !important;
}

.soko-fallback-footer {
  margin: 0;
  padding: 34px 18px;
  background: #071c27;
  color: #ffffff;
}

.soko-fallback-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 28px;
  width: min(1100px, 100%);
  margin-inline: auto;
}

.soko-fallback-footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.soko-fallback-footer p {
  margin: 0;
  color: #d8e4e8;
  font-size: 13px;
  line-height: 1.75;
}

.soko-fallback-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px 16px;
}

.soko-fallback-footer a {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .soko-fallback-header__inner {
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 8px;
    width: 100%;
    min-height: 76px;
    padding: 10px 14px;
    box-sizing: border-box;
  }

  .soko-fallback-menu-toggle {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 52px;
    height: 52px;
    border: 1px solid #d7e3e8;
    border-radius: 9px;
    background: #ffffff;
    color: #08265a;
    cursor: pointer;
  }

  .soko-fallback-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }

  .soko-fallback-brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    max-width: 250px;
  }

  .soko-fallback-mobile-call {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .soko-fallback-nav {
    display: none;
  }

  .soko-fallback-header.is-mobile-menu-open .soko-fallback-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 10px;
    border: 1px solid #d7e3e8;
    border-radius: 10px;
    background: #ffffff;
    box-sizing: border-box;
  }

  .soko-fallback-header.is-mobile-menu-open .soko-fallback-nav a {
    min-width: 0;
    min-height: 44px;
    padding: 7px 5px;
    border: 1px solid #dbe6eb;
    background: #f8fbfc;
    font-size: 12px;
    white-space: normal;
  }

  .soko-fallback-header.is-mobile-menu-open .soko-fallback-nav a.soko-fallback-nav__cta {
    background: #f7d77b;
  }

  .soko-fallback-header.is-mobile-menu-open .soko-fallback-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .soko-fallback-header.is-mobile-menu-open .soko-fallback-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .soko-fallback-header.is-mobile-menu-open .soko-fallback-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .soko-fallback-footer__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soko-legal-menu-toggle span,
  .soko-fallback-menu-toggle span,
  .ma-menu-icon::before,
  .ma-menu-icon::after {
    transition: none !important;
  }
}


/* Codex soko content overflow and mobile bar fix 2026-08-27 */
html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-two .soko-jp-phrase,
html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-asset-story__copy .soko-jp-phrase,
html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-contact-layout .soko-jp-phrase {
  display: inline !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

@media (min-width: 901px) {
  html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-mobile-bar {
    display: none !important;
    position: fixed !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 900px) {
  html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-mobile-bar {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    width: 100% !important;
    margin: 0 !important;
    z-index: 9998 !important;
  }
}


/* Codex soko desktop helper visibility 2026-08-27 */
@media (min-width: 901px) {
  .soko-fallback-menu-toggle,
  .soko-legal-menu-toggle,
  .soko-legal-mobile-call {
    display: none !important;
  }
}


/* Codex soko isolated mobile consultation bar 2026-08-27 */
.soko-mobile-bar-original-holder {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.soko-mobile-bar-fixed {
  display: none !important;
}

@media (max-width: 900px) {
  .soko-mobile-bar-fixed {
    position: fixed !important;
    right: 8px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    z-index: 9999 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid #d7e3e8 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(7, 28, 39, .2) !important;
    box-sizing: border-box !important;
  }

  .soko-mobile-bar-fixed a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 54px !important;
    padding: 8px 6px !important;
    border-radius: 8px !important;
    background: #08265a !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .soko-mobile-bar-fixed a:last-child {
    background: #d6a640 !important;
    color: #071c27 !important;
  }
}


/* Codex soko mobile menu duplicate action cleanup 2026-08-27 */
@media (max-width: 1120px) {
  html body:not(.wp-admin) #body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__actions .ma-header__mail {
    display: none !important;
  }
}


/* Codex soko tablet menu interaction fix 2026-08-27 */
@media (max-width: 1120px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-menu-icon {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 3 !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-header.soko-menu-enhanced .ma-header__actions > .ma-header__mail {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* Codex soko legal mobile grid priority fix 2026-08-27 */
@media (max-width: 900px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-legal-header.soko-legal-menu-enhanced .ma-legal-brand {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 220px !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-legal-header.soko-legal-menu-enhanced .soko-legal-menu-toggle,
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-legal-header.soko-legal-menu-enhanced .soko-legal-mobile-call {
    position: relative !important;
    z-index: 3 !important;
    pointer-events: auto !important;
  }
}


/* Codex soko legal mobile open state fix 2026-08-27 */
@media (max-width: 900px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-nav {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-header__actions {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
}


/* Codex soko mobile bottom safe area 2026-08-27 */
@media (max-width: 900px) {
  html body:not(.wp-admin) .soko-seo-related-links {
    padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
  }
}


/* Codex soko topbar inner message height fix 2026-08-27 */
@media (min-width: 901px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-topbar .ma-topbar-polish__message {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
}


/* Codex soko legal tap target fix 2026-08-27 */
@media (max-width: 900px) {
  html body:not(.wp-admin) #body_wrap#body_wrap#body_wrap#body_wrap .ma-public-site .ma-legal-header.soko-legal-menu-enhanced.is-mobile-menu-open .ma-legal-nav a {
    min-height: 44px !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
}

#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-nav__cta:is([href='/contact/'],[href='https://soko-ma-center.jp/contact/'],[href^='https://soko-ma-center.jp/contact/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-nav__cta:is([href='/contact/'],[href='https://soko-ma-center.jp/contact/'],[href^='https://soko-ma-center.jp/contact/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-nav__cta:is([href='/contact/'],[href='https://soko-ma-center.jp/contact/'],[href^='https://soko-ma-center.jp/contact/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084'] > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084']:hover > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084']:focus-visible > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084'] > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084']:hover > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__phone[href='tel:0345600084']:focus-visible > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__consult:is([href='/contact-sell/'],[href='https://soko-ma-center.jp/contact-sell/'],[href^='https://soko-ma-center.jp/contact-sell/?']) { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__consult:is([href='/contact-sell/'],[href='https://soko-ma-center.jp/contact-sell/'],[href^='https://soko-ma-center.jp/contact-sell/?']) > small { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__consult:is([href='/contact-sell/'],[href='https://soko-ma-center.jp/contact-sell/'],[href^='https://soko-ma-center.jp/contact-sell/?']) > strong { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__mail:is([href='/contact/'],[href='https://soko-ma-center.jp/contact/'],[href^='https://soko-ma-center.jp/contact/?']) { background:#102A43 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__mail:is([href='/contact/'],[href='https://soko-ma-center.jp/contact/'],[href^='https://soko-ma-center.jp/contact/?']):hover { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__mail:is([href='/contact/'],[href='https://soko-ma-center.jp/contact/'],[href^='https://soko-ma-center.jp/contact/?']):focus-visible { background:#0A1F33 !important; color:#FFFFFF !important; -webkit-text-fill-color:#FFFFFF !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__mobile-call[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__mobile-call[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content header.ma-header a.ma-header__mobile-call[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content nav.ma-mobile-bar a:not([class])[href='tel:0345600084'] { background:#FFFFFF !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content nav.ma-mobile-bar a:not([class])[href='tel:0345600084']:hover { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content nav.ma-mobile-bar a:not([class])[href='tel:0345600084']:focus-visible { background:#F3F6F8 !important; color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; border-color:#102A43 !important; }
#main_content#main_content#main_content#main_content#main_content#main_content#main_content#main_content nav.ma-mobile-bar a:not([class]):is([href='/contact-sell/'],[href='https://soko-ma-center.jp/contact-sell/'],[href^='https://soko-ma-center.jp/contact-sell/?']) { color:#102A43 !important; -webkit-text-fill-color:#102A43 !important; }

/* White footer brand surface verified against the live footer structure. */
/* Existing source uses three #body_wrap IDs for inherited white footer text. */
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child {
  box-sizing:border-box;
  min-width:0;
  padding:clamp(20px,2.2vw,26px);
  background:#fff!important;
  border:1px solid #dce5e9;
  border-radius:12px;
  color:#18384b!important;
  -webkit-text-fill-color:#18384b!important;
  box-shadow:none!important;
}
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child :is(p,span,strong,b,small,a,dt,dd,li,h3),
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child .ma-footer-polish__company::after,
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child .ma-footer-polish__company p::after {
  color:#18384b!important;
  -webkit-text-fill-color:#18384b!important;
}
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child .ma-footer-polish__logo-wrap {
  box-sizing:border-box;
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child .ma-footer-polish__logo {
  max-width:100%!important;
  height:auto!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
html body #body_wrap#body_wrap#body_wrap footer#ma-footer-menu.has-polish-footer .ma-footer__inner > div:first-child :is(.ma-footer__zero,.ma-footer-polish__company) {
  background:#f1f5f7!important;
  border-color:#d8e4e8!important;
  box-shadow:none!important;
}

/* Keep the mobile call symbol visible on its white button. */
html body #body_wrap#body_wrap#body_wrap .ma-header .ma-header__mobile-call svg,html body #body_wrap#body_wrap#body_wrap .ma-header .ma-header__mobile-call svg path{color:#102a43!important;stroke:#102a43!important;fill:none!important;}

/* Fit the footer telephone link within its existing grid column. */
html body #body_wrap#body_wrap#body_wrap #ma-footer-menu .ma-footer__phonebox a[href^="tel:"]{font-size:clamp(20px,2vw,26px)!important;line-height:1.4!important;letter-spacing:0!important;max-width:100%!important;}


/* 日本語表示：監査済みの見出し・メニューのみ 2026-10-23 */
.ma-topbar__inner > div:first-child::before{content:"秘密厳守" !important;}

