header {
    background-image: url(../images/header-bg.jpg);
    background-repeat: repeat-x;
}

.head-cen {
    width: var(--all-width);
    margin: 0 auto;
}

.head-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.logo {
    width: var(--logo);
}

.tit {
    color: #666;
    margin-right: auto;
    margin-left: 10px;
    font-size: 13px;
}

.searchBar {
    width: var(--searchBar);
    display: flex;
}

#search {
    flex: 1;
    height: var(--button);
    text-indent: 10px;
    background-color: #e6e7e9;
    border: 1px solid;
    border-color: #CCC #BBB #BBB #CCC;
    border-right: 0;
    font-size: 14px;
}

#go {
    width: var(--button);
    height: var(--button);
    background-color: #E6E7E9;
    border: 1px solid;
    border-color: #CCC #BBB #BBB #CCC;
    border-left: 0;
}

#go img {
    transform: scale(.7);
    opacity: .4;
}

nav {
    width: var(--all-width);
    margin: 8px auto;
    border: 1px solid #CCC;
    background-image: url(../images/nav-bg.jpg);
}

nav ul {
    display: flex;
}

nav ul li {
    flex: 1;
    text-align: center;
}

nav ul li a {
    display: block;
    padding: 7px 0;
    color: #444;
    border-right: 1px solid #ccc;
    font-size: 13px;
}

nav ul li:last-child a {
    border-right: 0;
}

nav ul li a:hover {
    background-color: rgb(234, 234, 234);
    color: #000;
}

@media (max-width:799px) {
    .head-top {
        flex-direction: column;
        row-gap: 8px;
        padding: 0;
    }

    .tit {
        display: none;
    }

    nav {
        overflow-x: auto;
    }

    nav ul li a {
        min-width: 100px;
    }
}