body {
    background-color: #ffffff;
    background-image: none;
    background-position: top center;
    background-repeat: repeat;
    background-attachment: scroll;
}

#header .header_wrap {
    height: 90px;
}

#header .navi_scrolled_resize .header_wrap {
    height: 60px;
}

.header_scrolled {
    padding-bottom: 50px;
}

#header a.logo {
    top: 5px;
    left: 0px;
}

#header .logo_wrap a.logo {
    /*width: 250px;*/
    height: 55px;
}

#header .logo_wrap {
    width: 550px;
}

.custom_header {
    top: 0px;
    right: 0px;
}

#navigation ul,
#navigation > li.current-menu-item:before,
#navigation > li.current-menu-parent:before,
#navigation > li.current-menu-ancestor:before {
    top: 88px;
}

@media only screen and (max-width : 1024px) {
    .cmsms_responsive #header .header_wrap {
        height: auto;
    }

    #header .logo_wrap {
        height: 90px;
    }
}

@media only screen and (max-width : 1023px) {
    #header .h_mt.navi_scrolled.navi_scrolled_resize {
        margin-top: 0;
    }
}

@media only screen and (max-width : 767px) {
    .cmsms_responsive .header_scrolled {
        padding-bottom: 0;
    }
}

@media only screen and (max-width : 540px) {
    .cmsms_responsive #header .header_wrap {
        height: auto;
    }

    #header .logo_wrap {
        height: auto;
    }

    .cmsms_responsive #header a.logo {
        top: auto;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 25px;
        margin-top: 35px;
    }
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .logo img {
        margin-right: 10px;
    }

.lawyer-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    text-align: center;
    white-space: normal;
}

@media (max-width: 767px) {
    /*.logo {
        flex-direction: column;
        align-items: flex-start;
    }

    .lawyer-name {
        font-size: 14px;
        margin-top: 5px;
    }*/

    .logo_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lawyer-name {
        margin-top: 8px;
        font-size: 1rem;
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }
}


.logo-bottom-name {
    /*display: inline-block;*/
    vertical-align: middle;
    margin-left: 12px;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    white-space: normal;
}

@media (max-width: 767px) {
    .logo-bottom-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-bottom-name {
        margin-top: 5px;
        color: #fff;
        text-align: center;
        white-space: normal;
        word-break: break-word;
    }
}


