@media screen and (min-width: 1024px) {
    /* header */
    @media screen {
        #mainheader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 80;
            transition: top 0.5s;
        }

        #mainheadernav {
            width: 100%;
            height: 90px;
            z-index: 80;
            background: linear-gradient(180deg, color-mix(in srgb, #000, transparent 50%), transparent);
        }

        #headerlogo {
            width: 143px;
            height: 43px;
            margin-top: 24px;
            margin-left: 2rem;
        }


        #headerlogo path,
        #headerlogo rect {
            fill: white;
        }

        #headernav {
            float: right;
            margin: 0;
            padding: 0;
        }

        #headernav li {
            cursor: pointer;
            padding: 0 1.75rem;
            list-style: none;
            color: white;
            line-height: 90px;
        }

        #headerbtn {
            float: right;
            margin-top: 27px;
            margin-left: 3rem;
            margin-right: 2rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: auto;
            height: 37px;
            padding: 0 16px;
            box-sizing: border-box;
            border-radius: 100px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            color: #FFF;
        }

        #headerbtn svg {
            width: 20px;
            height: 20px;
            position: static;
        }

        #headerbtn span {
            text-align: center;
            position: static;
            line-height: 1;
        }

        #mainheader.scrolled {
            top: -100%;
        }



        /* hover特性 */
        #mainheadernav:hover {
            background: #fff;
        }

        #mainheadernav:hover #headerlogo path,
        #mainheadernav:hover #headerlogo rect {
            fill: #FF5A00;
        }

        #mainheadernav:hover #headernav li {
            color: #000;
        }

        #mainheadernav:hover #headerbtn {
            border: 1px solid rgba(0, 0, 0, 0.3);
            color: #000;
        }

        #mainheadernav:hover #headerbtn path {
            stroke: #000;
        }


        /* 子版块 */
        #headernav li .cbcn-headernav-block {
            background-color: #fff;
            width: 100%;
            top: 90px;
            padding-bottom: 33px;
            display: none;
            box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
        }

        #mainheadernav:hover #headernav li:hover>span {
            color: #FF5A00;
        }

        #headernav li:hover .cbcn-headernav-block {
            display: block;
        }

        .cbcn-headernav-block-wapper {
            padding-top: 28px;
        }

        .cbcn-headernav-block-left p {
            padding: 10px 0;
        }

        .cbcn-headernav-block-left p.active {
            color: #FF5A00;
        }

        .cbcn-headernav-block-right {
            margin-left: 90px;
        }

        .cbcn-headernav-block-right-list {
            width: 67.4rem;
        }

        .cbcn-headernav-block-right-product {
            display: none;
        }

        .cbcn-headernav-block-right-product.active {
            display: block;
        }

        .cbcn-headernav-block-right-img {
            width: 16.1rem;
            height: 11, 9rem;
            border-radius: 20px;
            background: #F6F6F6;
            overflow: hidden;
            margin-bottom: 15px;
        }


        /* 子列表 */
        .cbcn-headernav-uldiv {
            position: relative;
        }

        #headernav li .cbcn-headernav-ul {
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.20);
            backdrop-filter: blur(20px);
            position: absolute;
            top: 90px;
            display: none;
            padding: 15px 0;
            border-radius: 13px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        #headernav li:hover .cbcn-headernav-ul {
            display: block;
        }

        .cbcn-headernav-li {
            display: block;
            width: 100%;
            padding: 15px 50px;
        }

        .cbcn-headernav-li:hover {
            color: #FF5A00;
        }

        .cbcn-headernav-li {
            color: #fff;
        }
    }

    /* footer */
    @media screen {
        #mainfooter {
            width: 100%;
            height: 758px;
            z-index: 70;
            background-color: #000;
        }

        .cbcn-mainfooter-wrapper {
            width: 100%;
            padding: 0 2rem;
            height: 100%;
        }

        .cbcn-mainfooter-left {
            padding-top: 46px;
            padding-bottom: 36px;
            height: 100%;
        }

        #mainfooterlogo {
            width: 143px;
            height: 43px;
        }


        #mainfooterform {
            margin-top: 69px;
            width: 23.9rem;
            position: relative;
        }

        #mainfooterform input {
            width: 100%;
            height: 3.45rem;
            border-radius: 50rem;
            border: 1px solid rgba(255, 255, 255, 0.20);
            outline: none;
            padding-left: 1.95rem;
            padding-right: 3.2rem;
            font-size: 0.8rem;
            background-color: #000;
            color: rgba(255, 255, 255, 0.6);
        }

        #mainfooterformbtn {
            width: 2.85rem;
            height: 2.85rem;
            border-radius: 50rem;
            background: #FF5A00;
            right: 0.35rem;
        }


        #mainfootericonlist {
            padding: 0;
            margin-top: 40px;
            margin-bottom: 0;
        }

        #mainfootericonlist li {
            cursor: pointer;
            margin-right: 2rem;
            list-style: none;
        }

        #mainfootericonlist li svg {
            height: 2rem;
        }

        #mainfootertel {
            margin-bottom: 17px;
        }

        #mainfootertel svg {
            margin-right: 0.4rem;
        }

        .cbcn-mainfooter-right {
            padding-top: 40px;
            padding-bottom: 36px;
            height: 100%;
        }

        .mainfooteritem {
            margin-top: 9px;
            width: 45.85rem;
            height: 90px;
            border-radius: 1rem;
            position: relative;
            cursor: pointer;
        }

        .mainfooteritem p {
            line-height: 90px;
            margin-left: 1.8rem;
            opacity: 0.3;
        }

        .mainfooteritem svg {
            position: absolute;
            top: 1.85rem;
            right: 1.75rem;
            opacity: 0;
        }

        .mainfooteritem:hover {
            background: #141414;
        }

        .mainfooteritem.active p,
        .mainfooteritem:hover p {
            opacity: 1;
        }

        .mainfooteritem.active p:first-child,
        .mainfooteritem:hover p:first-child {
            color: #FF5A00;
        }

        .mainfooteritem:hover svg {
            opacity: 1;
        }

        #mainfooterlist+div {
            padding-left: 3.85rem;
        }

        #mainfooteremail {
            position: relative;
        }

        #mainfooteremail svg {
            position: absolute;
            left: 0;
            top: 0;
        }

        #mainfooteremail span {
            margin-left: 30px;
        }

        #mainfooterlink span {
            margin-left: 2.05rem;
        }
    }

}

@media screen and (max-width: 1215px) and (min-width: 1024px) {

    #mainfooterlist+div {
        flex-direction: column;
        gap: 0.2rem;
    }

    #mainfooterlink span {
        margin-right: 2.05rem;
        margin-left: 0;
    }
}

@media screen and (max-width: 1023px) {

    /* header */
    @media screen {
        #mainheader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 80;
            transition: top 0.5s;
        }


        #mainheadernav {
            width: 100%;
            height: 4.7rem;
            z-index: 80;
            background: linear-gradient(180deg, color-mix(in srgb, #000, transparent 50%), transparent);
        }

        #headerlogo {
            width: 9.77145rem;
            height: 1.2rem;
            margin-top: 1.75rem;
            margin-left: 1.5rem;
        }

        .headershowbtn {
            width: 1.6rem;
            position: absolute;
            top: 2.05rem;
            right: 1.5rem;
        }

        .headerhidebtn {
            display: none;
            width: 1.2552rem;
            position: absolute;
            top: 1.8rem;
            right: 1.49rem;
        }

        #headerlogo path,
        #headerlogo rect {
            fill: #FFF;
        }

        #headernav {
            display: none;
            margin: 0;
            padding: 2.45rem 1.5rem;
        }

        #headernav li {
            overflow: hidden;
            width: 100%;
            height: 4.5rem;
            color: rgba(0, 0, 0, 0.3);
            padding-left: 1.85rem;
            line-height: 4.5rem;
            margin-bottom: 0.3rem;
            list-style-type: none;
            position: relative;
            font-size: 1.5rem;
        }

        .headernavicon {
            height: 1.1046rem;
            position: absolute;
            right: 1.55rem;
            top: 1.95rem;
            transition: all 0.5s;
        }

        #headerbtn {
            display: none;
            width: 10.55rem;
            height: 2.71075rem;
            border-radius: 7.3264rem;
            color: #000;
            bottom: 3rem;
            background-color: #FF5A00;
        }

        #headerbtn svg {
            width: 1.4653rem;
            height: 1.4653rem;
            position: absolute;
            top: 0.66rem;
            left: 1.25rem;
        }


        #headerbtn span {
            font-size: 1rem;
            text-align: center;
            position: absolute;
            top: 0;
            line-height: 2.71075rem;
            right: 1.35rem;
            color: #fff;
        }

        #mainheader.scrolled {
            top: -100%;
        }



        /* active特性 */
        #mainheader.active {
            background: #fff;
            height: 100vh;
        }

        #mainheader.active .headershowbtn {
            display: none;
        }

        #mainheader.active .headerhidebtn {
            display: block;
        }

        #mainheader.active #headerbtn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: auto;
            padding: 0 1.1rem;
            gap: 0.45rem;
            box-sizing: border-box;
        }

        #mainheader.active #headerbtn svg,
        #mainheader.active #headerbtn span {
            position: static;
            top: auto;
            right: auto;
            left: auto;
        }

        #mainheader.active #headerbtn span {
            line-height: 1;
        }

        #mainheader.active #mainheadernav {
            background: none;
        }

        #mainheader.active #headerlogo path,
        #mainheader.active #headerlogo rect {
            fill: black;
        }

        #mainheader.active #headernav {
            display: block;
        }


        li.active>span {
            color: #000;
        }

        /* 子版块 */
        #headernav li.active {
            height: auto;
            border-radius: 1rem;
            background: #F4F6F8;
        }

        #headernav li.active .headernavicon {
            rotate: 180deg;
        }

        #headernav li:hover .cbcn-headernav-block {
            display: block;
        }

        .cbcn-headernav-block-product-key {
            font-size: 1rem;
            padding-top: 0.45rem;
            padding-bottom: 1.05rem;
            color: rgba(0, 0, 0, 0.5);
        }

        .cbcn-headernav-block-right-list {
            border-bottom: 1px solid #d1d1d1;
            margin-bottom: 0.85rem;
        }

        .cbcn-headernav-block-right-item p,
        .cbcn-headernav-li {
            font-size: 1.2rem;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
            margin-bottom: 1.25rem;
            color: #000;
        }
    }

    /* footer */
    @media screen {
        #mainfooter {
            width: 100%;
            z-index: 70;
            background-color: #000;
        }

        #mainfooterlogo {
            margin-top: 2.65rem;
            width: 17.81035rem;
            height: 2.1999rem;
        }


        #mainfooterform {
            margin-top: 2.8rem;
            width: 100%;
            position: relative;
        }

        #mainfooterform input {
            width: 100%;
            height: 4.45rem;
            border-radius: 50rem;
            border: 1px solid rgba(255, 255, 255, 0.20);
            outline: none;
            padding-left: 2.3rem;
            padding-right: 6rem;
            font-size: 1rem;
            background-color: #000;
            color: rgba(255, 255, 255, 0.6);
        }

        #mainfooterformbtn {
            width: 3.6761rem;
            height: 3.6761rem;
            border-radius: 50rem;
            background: #FF5A00;
            right: 0.42rem;
        }


        #mainfootericonlist {
            padding: 0;
            margin-top: 2.05rem;
        }

        #mainfootericonlist li {
            cursor: pointer;
            margin-right: 2.8rem;
            list-style: none;
        }

        #mainfootericonlist li svg {
            width: 1.2rem;
            height: 1.2rem;
        }

        #mainfooterlist {
            margin-top: 5rem;
            padding-bottom: 3.6rem;
            border-bottom: 1px solid #272727;
        }

        .mainfooteritem {
            margin-top: 0.45rem;
            width: 100%;
            height: 4.5rem;
            border-radius: 1rem;
            position: relative;
        }

        .mainfooteritem p {
            line-height: 4.5rem;
            margin-left: 2.4rem;
        }

        .mainfooteritem p:first-child {
            margin-left: 1.75rem;
            opacity: 0.3;
        }

        .mainfooteritem svg {
            position: absolute;
            top: 1.85rem;
            right: 2.25rem;
            opacity: 0;
        }

        .mainfooteritem.active {
            background: #141414;
        }

        .mainfooteritem.active p {
            opacity: 1;
        }

        .mainfooteritem.active p:first-child {
            color: #FF5A00;
        }

        .mainfooteritem.active svg {
            opacity: 1;
        }

        #mainfootertel {
            margin-top: 1.55rem;
        }

        #mainfootertel svg {
            width: 0.95rem;
            height: 0.95rem;
            margin-right: 0.85rem;
        }

        #mainfooteremail {
            margin-top: 0.85rem;
            margin-bottom: 2.15rem;
        }

        #mainfooteremail svg {
            width: 1.1rem;
            height: 1.1rem;
            margin-right: 0.5rem;
            position: relative;
            top: 0.2rem;
        }

        #mainfooterlink {
            width: 100%;
            padding-top: 1.3rem;
            border-top: 1px solid #272727;
        }

        #mainfooterlink span {
            margin-bottom: 0.55rem;
            text-decoration: underline;
        }

        #mainfooterremark {
            margin-top: 1.7rem;
            font-size: 0.8rem;
            padding-bottom: 2.05rem;
        }
    }
}