header .head_wrap .width_control .top .panel .logo,
.footer_wrap .logo {
    display: inline-flex;
    align-items: center;
}

header .head_wrap .width_control .top .panel .logo {
    margin-top: 0 !important;
    height: 40px;
}

header .head_wrap .width_control .top .panel .logo img.logo1,
.footer_wrap .logo img.logo1 {
    height: 20px;
}

header .head_wrap .width_control .top .panel .logo img.logo2 {
    height: 32px;
}

@media only screen and (min-width: 641px) {
    header .head_wrap .width_control .navigation .item a {
        height: 40px;
        line-height: 40px;
    }
}

@media only screen and (max-width: 640px) {
    header .head_wrap {
        height: 64px;
    }

    header .head_wrap .width_control .top .menu {
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
    }

    .footer_wrap {
        height: auto !important;
        min-height: 216px;
        padding: 32px 16px !important;
    }

    .footer_wrap .contact {
        padding-top: 16px !important;
    }

    header .head_wrap .width_control .top .panel {
        top: 16px;
    }

    header .head_wrap .width_control .top .panel .logo {
        height: 32px;
    }

    header .head_wrap .width_control .top .panel .logo img.logo2 {
        display: none;
    }

    .footer_wrap .logo {
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-width: 391px;
        gap: 8px;
    }

    .footer_wrap .logo img,
    .footer_wrap .logo img.logo1 {
        min-width: 0;
        height: auto;
    }

    .footer_wrap .logo img.logo2 {
        height: auto;
        margin-left: 0;
    }

    .footer_wrap .contact p {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .footer_wrap .contact em {
        float: none;
        width: auto !important;
        font-size: 14px;
    }

    .footer_wrap .contact a {
        overflow-wrap: anywhere;
    }

    .footer_wrap .contact .copyright {
        float: none;
        display: block;
        line-height: 1.5;
    }
}
