/* Refined public header: brand utility, primary navigation and mobile drawer */
.site-header,
.site-nav,
.site-mobile-header,
.site-mobile-panel {
    --header-navy: #0c2942;
    --header-blue: #1768a9;
    --header-blue-deep: #11568e;
    --header-accent: #f4a11a;
    --header-ink: #183247;
    --header-muted: #6c7c89;
    box-sizing: border-box;
}

.site-header *,
.site-nav *,
.site-mobile-header *,
.site-mobile-panel * {
    box-sizing: border-box;
}

.site-header__utility {
    height: 36px !important;
    border: 0 !important;
    background: var(--header-navy) !important;
}

.site-header__utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
}

.site-header__welcome {
    display: flex;
    align-items: center;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    letter-spacing: .05em;
}

.site-header__welcome > span {
    width: 6px;
    height: 6px;
    margin-right: 9px;
    border-radius: 50%;
    background: #6bc34a;
    box-shadow: 0 0 0 4px rgba(107, 195, 74, .12);
}

.site-header .site-header__quick-links {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-header .site-header__quick-links a {
    position: relative;
    display: flex !important;
    align-items: center;
    height: 100%;
    margin: 0 !important;
    padding: 0 15px !important;
    border: 0 !important;
    color: rgba(255, 255, 255, .72) !important;
    font-size: 12px !important;
    line-height: 36px !important;
    transition: color .2s ease, background-color .2s ease;
}

.site-header .site-header__quick-links a::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 10px;
    background: rgba(255, 255, 255, .17);
    content: "";
    transform: translateY(-50%);
}

.site-header .site-header__quick-links a:first-child::before {
    display: none;
}

.site-header .site-header__quick-links a:hover,
.site-header .site-header__quick-links a:focus {
    color: #fff !important;
    background: rgba(255, 255, 255, .06);
}

.site-header__brand-row {
    padding: 0 !important;
    background: #fff;
}

.site-header__brand-inner {
    display: flex;
    align-items: center;
    min-height: 124px;
}

.site-header__brand {
    display: block;
    flex: 0 0 auto;
}

.site-header .site-header__brand .logo-img {
    float: none;
    width: 294px;
    height: auto !important;
}

.site-header__brand-copy {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 28px;
    padding-left: 28px;
    border-left: 1px solid #dfe6eb;
}

.site-header__brand-copy strong {
    color: var(--header-ink);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .12em;
}

.site-header__brand-copy span {
    color: #87949e;
    font-size: 12px;
    letter-spacing: .08em;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto;
}

.site-header__hotline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-header__hotline-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #dce9f3;
    border-radius: 50%;
    color: var(--header-blue);
    background: #f5f9fc;
    font-family: Arial, sans-serif;
    font-size: 19px;
}

.site-header__hotline > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.site-header__hotline small {
    color: var(--header-muted);
    font-size: 12px;
}

.site-header__hotline strong {
    color: var(--header-navy);
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .03em;
}

.site-header__consult {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 132px;
    height: 44px;
    padding: 0 20px;
    border-radius: 3px;
    color: #fff;
    background: var(--header-blue);
    font-size: 14px;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-header__consult i {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-size: 18px;
    transition: transform .2s ease;
}

.site-header__consult:hover,
.site-header__consult:focus {
    color: #fff;
    background: var(--header-blue-deep);
    box-shadow: 0 8px 20px rgba(23, 104, 169, .2);
    transform: translateY(-1px);
}

.site-header__consult:hover i,
.site-header__consult:focus i {
    transform: translateX(3px);
}

.site-nav {
    position: sticky;
    z-index: 990;
    top: 0;
    height: 62px !important;
    border-bottom: 3px solid var(--header-accent);
    background: var(--header-blue) !important;
    box-shadow: 0 4px 16px rgba(9, 43, 72, .12);
}

.site-nav .site-nav__inner {
    display: flex;
    align-items: stretch;
    height: 59px !important;
}

.site-nav .site-nav__inner > a,
.site-nav .site-nav__inner > .site-nav__item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 59px;
}

.site-nav .site-nav__link {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 59px;
    padding: 0 10px;
    color: rgba(255, 255, 255, .9);
    background: none !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 59px !important;
    letter-spacing: .04em;
    transition: color .2s ease, background-color .2s ease;
}

.site-nav .site-nav__link::after {
    position: absolute;
    right: 22%;
    bottom: 0;
    left: 22%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #fff;
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .2s ease, transform .2s ease;
}

.site-nav .site-nav__link:hover,
.site-nav .site-nav__link:focus,
.site-nav .site-nav__link.is-current,
.site-nav .site-nav__link.active,
.site-nav .active > .site-nav__link {
    color: #fff;
    background: rgba(7, 49, 84, .18) !important;
}

.site-nav .site-nav__link:hover::after,
.site-nav .site-nav__link:focus::after,
.site-nav .site-nav__link.is-current::after,
.site-nav .site-nav__link.active::after,
.site-nav .active > .site-nav__link::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-nav .kedao-nav-demo {
    height: 59px !important;
}

.site-nav .kedao-nav-demo-arrow {
    width: 6px;
    height: 6px;
    margin-left: 10px;
    border-width: 0 1px 1px 0;
}

.site-nav .kedao-nav-demo-dropdown {
    display: block;
    visibility: hidden;
    top: calc(100% + 3px);
    min-width: 190px;
    padding: 9px;
    border: 1px solid #e6edf2;
    border-top: 0;
    border-radius: 0 0 5px 5px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 36px rgba(12, 41, 66, .18);
    opacity: 0;
    transform: translateY(8px);
    transition: visibility .18s ease, opacity .18s ease, transform .18s ease;
}

.site-nav .kedao-nav-demo-dropdown::before {
    position: absolute;
    top: 0;
    left: 22px;
    width: 34px;
    height: 2px;
    background: var(--header-accent);
    content: "";
}

.site-nav .kedao-nav-demo-dropdown a {
    position: relative;
    padding: 11px 15px 11px 27px;
    border-radius: 3px;
    color: #365064;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    transition: color .18s ease, background-color .18s ease, padding-left .18s ease;
}

.site-nav .kedao-nav-demo-dropdown a::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9bb0bf;
    content: "";
    transform: translateY(-50%);
    transition: background-color .18s ease;
}

.site-nav .kedao-nav-demo-dropdown a:hover,
.site-nav .kedao-nav-demo-dropdown a:focus,
.site-nav .kedao-nav-demo-dropdown a.is-current {
    padding-left: 31px;
    color: var(--header-blue);
    background: #eef6fb;
}

.site-nav .kedao-nav-demo-dropdown a:hover::before,
.site-nav .kedao-nav-demo-dropdown a:focus::before,
.site-nav .kedao-nav-demo-dropdown a.is-current::before {
    background: var(--header-accent);
}

.site-nav .kedao-nav-demo:hover .kedao-nav-demo-dropdown,
.site-nav .kedao-nav-demo:focus-within .kedao-nav-demo-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 1280px) and (min-width: 1025px) {
    .site-header .site-header__brand .logo-img {
        width: 255px;
    }

    .site-header__brand-copy {
        margin-left: 20px;
        padding-left: 20px;
    }

    .site-header__brand-copy span {
        display: none;
    }

    .site-header__actions {
        gap: 16px;
    }

    .site-header__consult {
        min-width: 112px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 1024px) {
    .site-mobile-header.shouji_top {
        position: sticky;
        z-index: 995;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 68px;
        padding: 0 18px;
        border-bottom: 1px solid #e8edf1;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 5px 18px rgba(12, 41, 66, .08);
    }

    .site-mobile-header.shouji_top > .site-mobile-header__brand {
        position: static;
        top: auto;
        left: auto;
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        min-width: 0;
        height: 100%;
        margin-right: 12px;
        overflow: hidden;
    }

    .site-mobile-header.shouji_top .site-mobile-header__brand .logo {
        display: block;
        width: 100%;
        max-width: 205px;
        height: auto;
        max-height: 48px;
        margin: 0;
        object-fit: contain;
        object-position: left center;
    }

    .site-mobile-header.shouji_top .site-mobile-header__toggle {
        position: relative;
        z-index: 2;
        top: auto;
        left: auto;
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
        height: 40px;
        margin-left: auto;
        padding: 0 12px;
        border: 1px solid #dce6ed;
        border-radius: 3px;
        color: var(--header-ink);
        background: #f8fafb;
        font-size: 13px;
    }

    .site-mobile-header__toggle-lines {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 18px;
        height: 18px;
    }

    .site-mobile-header__toggle-lines i {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: var(--header-blue);
        transition: transform .2s ease, opacity .2s ease;
    }

    .site-mobile-header__toggle.is-open .site-mobile-header__toggle-lines i:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-mobile-header__toggle.is-open .site-mobile-header__toggle-lines i:nth-child(2) {
        opacity: 0;
    }

    .site-mobile-header__toggle.is-open .site-mobile-header__toggle-lines i:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-mobile-panel.panel {
        width: 310px;
        max-width: 86vw;
        min-height: 100vh;
        padding-bottom: 28px;
        overflow-x: hidden;
        background: #fff;
        box-shadow: 15px 0 45px rgba(12, 41, 66, .23);
    }

    .site-mobile-panel__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 76px;
        padding: 0 18px 0 20px;
        background: var(--header-navy);
    }

    .site-mobile-panel__head a {
        display: block;
        width: 178px;
        padding: 7px 10px;
        border-radius: 3px;
        /* background: #fff; */
    }

    .site-mobile-panel__head img {
        width: 100%;
        height: auto;
    }

    .site-mobile-panel__close {
        position: relative;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 50%;
        background: rgba(255, 255, 255, .08);
    }

    .site-mobile-panel__close::before,
    .site-mobile-panel__close::after {
        position: absolute;
        top: 17px;
        left: 10px;
        width: 15px;
        height: 1px;
        background: #fff;
        content: "";
    }

    .site-mobile-panel__close::before {
        transform: rotate(45deg);
    }

    .site-mobile-panel__close::after {
        transform: rotate(-45deg);
    }

    .site-mobile-panel .list_dl {
        margin: 14px 0 0;
        padding: 0 14px;
    }

    .site-mobile-panel .list_dt {
        width: 100%;
        height: auto;
        min-height: 52px;
        padding: 0;
        overflow: visible;
        border: 0;
        border-bottom: 1px solid #edf1f4;
        background: #fff;
        line-height: normal;
    }

    .site-mobile-panel .list_dl .list_dt:nth-child(1) {
        border-top: 0;
    }

    .site-mobile-panel .list_dt > a {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 52px;
        padding: 0 36px 0 14px;
        color: #334d61;
    }

    .site-mobile-panel .list_dt p {
        color: inherit;
        font-size: 15px;
        font-weight: 500;
    }

    .site-mobile-panel .list_dt:hover,
    .site-mobile-panel .mobile-nav-solution.is-open {
        background: #f5f9fc;
    }

    .site-mobile-panel .list_dt > a.on {
        color: var(--header-blue);
        background: #f2f7fb;
    }

    .site-mobile-panel .list_dt > a ._after {
        display: none;
    }

    .site-mobile-panel .list_dt > a.on ._after {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 3px;
        height: 22px;
        border-radius: 0 2px 2px 0;
        background: var(--header-accent);
        transform: translateY(-50%);
    }

    .site-mobile-panel .mobile-nav-arrow {
        top: 20px;
        right: 15px;
        width: 8px;
        height: 8px;
        border-color: #8193a0;
    }

    .site-mobile-panel .mobile-nav-solution-toggle[aria-expanded="true"] .mobile-nav-arrow {
        top: 23px;
    }

    .site-mobile-panel .list_dd {
        width: 100%;
        margin: 0;
        padding: 6px 0 8px;
        background: #f5f9fc;
    }

    .site-mobile-panel .list_dd ul {
        margin: 0;
        padding: 0;
    }

    .site-mobile-panel .list_li {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 42px;
        padding: 10px 24px 10px 37px;
        border: 0;
        color: #5d7282;
        background: transparent;
        font-size: 14px;
        line-height: 22px;
    }

    .site-mobile-panel .list_li::before {
        position: absolute;
        top: 19px;
        left: 22px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #9db0be;
        content: "";
    }

    .site-mobile-panel .list_li:hover,
    .site-mobile-panel .list_li:focus,
    .site-mobile-panel .list_li.on {
        color: var(--header-blue);
        background: #eaf3f9;
    }

    .site-mobile-panel__contact {
        margin: 22px 14px 0;
        padding: 18px;
        border-radius: 5px;
        background: var(--header-navy);
    }

    .site-mobile-panel__contact p {
        margin-bottom: 12px;
        color: rgba(255, 255, 255, .67);
        font-size: 12px;
    }

    .site-mobile-panel__contact a {
        display: flex;
        flex-direction: column;
        gap: 4px;
        color: #fff;
    }

    .site-mobile-panel__contact span {
        font-size: 12px;
    }

    .site-mobile-panel__contact strong {
        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 19px;
        letter-spacing: .03em;
    }
}

@media screen and (max-width: 480px) {
    .site-mobile-header.shouji_top {
        height: 62px;
        padding: 0 12px;
    }

    .site-mobile-header.shouji_top .site-mobile-header__brand .logo {
        max-width: 172px;
        max-height: 42px;
    }

    .site-mobile-header.shouji_top .site-mobile-header__toggle {
        height: 38px;
        padding: 0 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-nav *,
    .site-mobile-header *,
    .site-mobile-panel * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
