@media all and (min-width: 320px) and (max-width: 1200px) {
    .search-element-container {
        width: 100%;
    }

    .search-element-box .search-input {
        width: auto;
        font-size: 15px;
    }

    .department-container {
        width: 100%;
    }

    .four-level-department-list {
        width: 82%;
    }

    .search-element::after {
        position: unset;
    }

    .header {
        display: block !important;
    }

    .ks-content {
        padding: 0 12px;
    }

    .search-element-box {
        width: 100%;
    }

    .search-element-box .search-button {
        width: 100px;
        height: 100%;
        font-size: 16px;
    }

    .second-level-department-title span {
        font-size: 18px;
    }

    .second-level-department-title img {
        width: 25px;
        height: 25px;
    }

    .four-level-department-list {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .four-level-department-item {
        width: 48%;
        height: 46px;
        padding: 0 10px;
        margin-right: 0;
    }

    .four-level-department-item span {
        font-size: 14px;
        line-height: unset;
    }

    .four-level-department-item .right-arrow {
        width: 17px;
        height: 10px;
    }

    ::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0) !important;
    }
}

@media all and (min-width: 540px) and (max-width: 1200px) {
    .four-level-department-item:nth-child(5) {
        margin-right: 0px;
    }
}