@media only screen and (min-width: 996px) {
    .caseClass {
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
    }
    .caseClassBox {
        max-width: 1750px;
        margin: 0 auto;
        padding: 0 75px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .caseClassItem {
        flex: 1;
        display: inline-block;
    }
    .caseClassItem a {
        color: var(--main-color-666);
        display: block;
        padding: 20px 0;
        font-size: 16px;
        text-align: center;
        position: relative;
    }
    .caseClassItem a:hover {
        color: var(--main-color);
    }
    .caseClassItem a::after {
        content: '';
        position: absolute;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        bottom: -1px;
        background-color: var(--main-color);
        height: 0px;
    }
    .cateClassSelected a::after {
        height: 2px !important;
    }
    .sec_cate {
        max-width: 1750px;
        padding: 0 75px;
        margin: 0 auto;
    }
    .sec_cateCon {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 20px 0;
        border-bottom: 1px solid #e5e5e5;
    }
    .sec_cateCon a {
        font-size: 14px;
        display: block;
        text-align: center;
        width: calc((100% - 100px) / 6);
        height: 40px;
        margin-right: 20px;
        line-height: 40px;
        color: var(--main-color-666);
    }
    .sec_cateCon a:nth-child(6n) {
        margin-right: 0;
    }
    .sec_cate_selected {
        color: var(--main-color) !important;
    }
    .thr_cate .sec_cateCon {
        border-bottom: none !important;
        background-color: #fff;
    }
    .caseList .TemNum {
        text-align: center;
    }
}

@media only screen and (max-width: 996px) {
    .sec_cate {
        margin: 0 auto;
    }
    .sec_cateCon {
        width: 100%;
        white-space: nowrap;
        padding: 20px 0;
        border-bottom: 1px solid #e5e5e5;
        overflow: scroll;
    }
    .sec_cateCon a {
        font-size: 14px;
        padding: 5px 10px;
        display: inline;
        text-align: center;
        color: var(--main-color-666);
    }
    .sec_cate_selected {
        color: var(--main-color) !important;
    }
    .thr_cate .sec_cateCon {
        border-bottom: none !important;
    }
    .caseClass {
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
    }
    .caseClassBox {
        margin: 0 auto;
        white-space: nowrap;
        overflow: scroll;
    }
    .caseClassItem {
        display: inline-block;
    }
    .caseClassItem a {
        color: var(--main-color-666);
        display: block;
        padding: 10px 15px;
        font-size: 14px;
        text-align: center;
        position: relative;
    }
    .caseClassItem a:hover {
        color: var(--main-color);
    }
    .caseClassItem a::after {
        content: '';
        position: absolute;
        width: 60%;
        left: 50%;
        transform: translateX(-50%);
        bottom: -1px;
        background-color: var(--main-color);
        height: 0px;
    }
    .cateClassSelected a::after {
        height: 2px !important;
    }
}