
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 {
    background: rgba(255, 255, 255, .985) !important;
    border-bottom: 1px solid rgba(8, 38, 90, .14) !important;
    box-shadow: 0 14px 36px rgba(8, 38, 90, .10) !important;
    isolation: isolate;
}
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: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -1px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #08265a 0%, #0b7d89 56%, #d7a746 100%) !important;
    pointer-events: none !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
    max-width: 1220px !important;
    min-height: 88px !important;
    padding: 10px 22px !important;
    gap: 14px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand.has-polish-logo {
    min-width: 0 !important;
    gap: 12px !important;
    padding: 4px 0 !important;
    background-image: none !important;
    background-color: transparent !important;
    text-decoration: none !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand__logo-polish {
    width: clamp(238px, 23vw, 292px) !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: transparent !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .soko-header-specialty {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 4px 10px !important;
    border: 1px solid #dbe6ef !important;
    border-radius: 999px !important;
    background: #f7fbfc !important;
    color: #075263 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 5px !important;
    border: 1px solid #d7e3ec !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 8px 22px rgba(8, 38, 90, .06) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 8px 11px !important;
    border-radius: 6px !important;
    color: #143250 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: nowrap !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-nav a[aria-current="page"] {
    background: #edf7f8 !important;
    color: #08265a !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav .ma-nav__cta {
    background: #08265a !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(8, 38, 90, .18) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav .ma-nav__cta:hover,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav .ma-nav__cta:focus-visible {
    background: #0b6f7d !important;
    color: #ffffff !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__actions {
    gap: 8px !important;
    align-items: stretch !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,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__actions a {
    min-height: 58px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    box-shadow: 0 10px 22px rgba(8, 38, 90, .12) !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease !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-legal-header__phone {
    min-width: 168px !important;
    background: linear-gradient(180deg, #08265a 0%, #061f49 100%) !important;
    color: #ffffff !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-legal-header__phone * {
    color: #ffffff !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__phone strong,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__phone strong {
    font-size: 18px !important;
    letter-spacing: .01em !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__consult,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__sell {
    min-width: 132px !important;
    background: linear-gradient(180deg, #f1c866 0%, #d7a746 100%) !important;
    border-color: rgba(122, 79, 15, .18) !important;
    color: #071c27 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__consult *,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__sell * {
    color: #071c27 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mail {
    width: 58px !important;
    height: 58px !important;
    background: #0b6f7d !important;
    color: #ffffff !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,
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__actions a:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 28px rgba(8, 38, 90, .18) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar {
    background: linear-gradient(180deg, #f8fbfd 0%, #eef6f8 100%) !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d7e3ec !important;
    color: #08265a !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner {
    max-width: 1220px !important;
    display: grid !important;
    grid-template-columns: minmax(300px, .95fr) minmax(0, 1.25fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 9px 22px !important;
    color: #08265a !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    color: #08265a !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child::before {
    content: "秘密保持" !important;
    flex: 0 0 auto !important;
    min-height: 26px !important;
    padding: 4px 10px !important;
    border: 1px solid rgba(8, 38, 90, .12) !important;
    background: #08265a !important;
    color: #ffffff !important;
    font-size: 12px !important;
    letter-spacing: 0 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar-polish__message {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    color: #143250 !important;
    overflow-wrap: anywhere !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 7px !important;
    min-width: 0 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 5px 10px !important;
    border: 1px solid #d5e2eb !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #08265a !important;
    box-shadow: 0 7px 14px rgba(8, 38, 90, .05) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span:nth-child(n+6) {
    display: none !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__inner {
    max-width: 1220px !important;
    min-height: 88px !important;
    gap: 14px !important;
    padding: 10px 22px !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-brand img {
    width: clamp(238px, 23vw, 292px) !important;
    max-width: 100% !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav {
    border-color: #d7e3ec !important;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(8, 38, 90, .06) !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav a {
    min-height: 42px !important;
    color: #143250 !important;
    font-weight: 900 !important;
}
html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav__cta {
    background: #08265a !important;
    color: #ffffff !important;
}
@media (min-width: 1121px) {
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
        display: grid !important;
        grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.1fr) auto !important;
        align-items: center !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__actions {
        justify-content: end !important;
    }
}
@media (max-width: 1120px) {
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
        min-height: 82px !important;
        display: grid !important;
        grid-template-columns: 54px minmax(0, 1fr) 54px !important;
        align-items: center !important;
        padding: 12px 22px !important;
        gap: 12px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon {
        display: grid !important;
        justify-self: start !important;
        width: 54px !important;
        height: 54px !important;
        min-height: 54px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call {
        display: grid !important;
        justify-self: end !important;
        width: 54px !important;
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 8px !important;
        background: #08265a !important;
        color: #ffffff !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call * {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand.has-polish-logo {
        justify-self: center !important;
        width: min(270px, 48vw) !important;
        height: 58px !important;
        padding: 0 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand__logo-polish {
        width: min(270px, 48vw) !important;
        max-height: 58px !important;
        object-fit: contain !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .soko-header-specialty,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand.has-polish-logo .ma-brand__text,
    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 {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding-top: 8px !important;
        padding-bottom: 10px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges {
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }
}
@media (min-width: 761px) and (max-width: 1120px) {
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 7px !important;
        width: 100% !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span {
        min-height: 34px !important;
        padding: 6px 8px !important;
        white-space: normal !important;
        text-align: center !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span:nth-child(n+5) {
        display: none !important;
    }
}
@media (max-width: 760px) {
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header {
        box-shadow: 0 8px 22px rgba(8, 38, 90, .10) !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__inner {
        min-height: 76px !important;
        grid-template-columns: 48px minmax(0, 1fr) 48px !important;
        padding: 10px 12px !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: 48px !important;
        height: 48px !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        border: 1px solid #d7e3ec !important;
        background: #ffffff !important;
        box-shadow: 0 8px 18px rgba(8, 38, 90, .10) !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon span,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon span::before,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-menu-icon span::after {
        background: #08265a !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call {
        border-color: rgba(8, 38, 90, .14) !important;
        background: #08265a !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__mobile-call * {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand.has-polish-logo {
        justify-self: center !important;
        width: min(228px, 57vw) !important;
        height: 52px !important;
        padding: 0 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand__logo-polish {
        width: min(228px, 57vw) !important;
        max-height: 52px !important;
        object-fit: contain !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .soko-header-specialty,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-brand.has-polish-logo .ma-brand__text,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-header__actions,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-nav {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 9px 14px 11px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__inner > div:first-child {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 12px !important;
        line-height: 1.55 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar-polish__message {
        -webkit-line-clamp: 2 !important;
        line-height: 1.55 !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span {
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: 11px !important;
        white-space: normal !important;
        text-align: center !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-topbar__badges span:nth-child(n+5) {
        display: none !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__inner {
        min-height: 78px !important;
        grid-template-columns: 1fr !important;
        padding: 12px 14px !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-brand {
        justify-self: center !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-brand img {
        width: min(236px, 64vw) !important;
        max-height: 54px !important;
        object-fit: contain !important;
    }
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-nav,
    html body:not(.wp-admin) #body_wrap .ma-public-site .ma-legal-header__actions {
        display: none !important;
    }
}
    