@charset "UTF-8";

:root {
    --headerBg: rgb(16, 33, 43);
    --headerBgHover: rgb(13, 50, 69);
}

@font-face {
    font-family: "Station-mc";
    /* 自定义字体名称:站酷高端黑 */
    src: url("https://www.yamaha-motor.com.cn/mc/products/xmax/css/fonts/Station-mc.ttf") format('truetype');
    /* 字体文件路径及格式 */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Han Sans CN', Helvetica, Arial, sans-serif;
}

ul li {
    list-style: none;
}

/* 产品开始加载动画样式*/
#loading {
    display: block;
    background: #FFF url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/loading_pc.jpg) no-repeat center top;
    background-size: cover;
    overflow: hidden;
    height: 100%;
}

.load_main {
    width: auto;
}

.load_main {
    position: relative;
    background-size: cover;
    min-height: calc(100vh);
    min-height: -moz-calc(100vh);
    min-height: -webkit-calc(100vh);
}

.load_text {
    position: absolute;
    left: 0px;
    top: 75%;
    width: 100%;
    font-size: 18px;
    color: #ff0000;
    text-align: center;
}

.load_text #loading_text {
    font-size: 24px;
}

.load_line {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    position: absolute;
    top: 82%;
    height: 6px;
    background: #000;
}

.load_line span {
    display: block;
    text-indent: -9999px;
    width: 0px;
    height: 6px;
    background: #ff0000;
}

#mani-box {
    display: none;
    background-size: cover;
    width: 100%;
    min-height: calc(100vh);
    min-height: -moz-calc(100vh);
    min-height: -webkit-calc(100vh);
}

/* 导航栏样式 */
/* PC端 */
.header_menu {
    background-color: var(--headerBg);
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    min-width: 1280px;
    z-index: 9999999;
}

.nav_box {
    width: 100%;
    max-width: 1280px;
    margin: 0px auto;
}

.logo {
    width: 15%;
}

.logo a {
    display: block;
    height: 100%;
    text-align: center;
    line-height: 80px;
}

.menu {
    width: 85%;
}

.menu ul {
    list-style: none;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    margin: 0;
    padding: 0;
    height: 100%;
}

.menu ul li {
    text-align: center;
    line-height: 80px;
}

.menu-active {
    background-color: var(--headerBgHover);
}

.menu ul li a {
    display: block;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 16px;
}

.menu ul li.menu-active a {
    color: #fff;
}

.header_menu .parallelogram {
    width: 120px;
    height: 80px;
}

.flex-set {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* 移动端 */
.mobile-header {
    display: none;
}

.baner {
    margin-top: 79px;
}

.baner img,
.cardimgbox img {
    width: 100%;
}

.color_show {
    background: url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/colour-bg.jpg?t=20250521) no-repeat center;
    padding: 3vw 0;
}

.details_show {
    background: url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/detail-bg.jpg?t=20250521) no-repeat center;
    background-size: cover;
}

.design_show {
    background: url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/canshu-bg.jpg?t=20250521) no-repeat center;
    padding-bottom: 3vw;
    background-size: cover;
}

.download_box {
    background: url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/d-bg.jpg?t=20250521) no-repeat center;
    padding-bottom: 3vw;
    background-size: cover;
}

.activity {
    background: url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/huodong-bg.jpg?t=20250521) no-repeat center;
    background-size: cover;
    position: relative;
    width: 100%;
    padding-bottom: calc(100% * 680 / 1920);
    /* 保持图片高宽比 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.activity::before {
    content: "敬请期待……";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5vw;
    font-style: italic;
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: 3px;
}

.linediv {
    height: 1px;
    background-color: #020404;
    margin: 10px auto 20px auto;
    max-width: 1200px;
    width: 100%;
}

.linediv2 {
    height: 1px;
    background-color: #acaeae;
    margin: 10px auto 20px auto;
    max-width: 1200px;
    width: 100%;
}

.swiperbox {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/*包裹自定义分页器的div的位置等CSS样式*/
.swiper-pagination-custom {
    bottom: -30px;
    left: 0;
    width: 100%;
}

.swiper-container-1 .swiper-slide, .swiper-container-4 .swiper-slide {
    text-align: center;
}

.titleh {
    text-align: center;
    padding: 45px 0 0 0;
}

.swiper_pagination_icon2,
.swiper_pagination_icon {
    cursor: pointer;
}

.swiper-container-3 .swiper-slide img,
.swiper-container-2 .swiper-slide img {
    width: 100%;
}

.fontDIV {
    background-color: rgba(0, 0, 0, 0.85);
    height: 230px;
}

.fontDIV span {
    font-size: 22px;
    color: #fff;
    width: 90%;
    margin: 0 auto;
    padding: 13px 0;
    text-align: left;
    display: block;
    font-weight: bold;
}

.fontDIV em {
    font-size: 16px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    font-style: normal;
    display: block;
    color: #c5c8ca;
}

.tableshow {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    display: flex;
}

.lefttable,
.righttanle {
    width: 46%;
    margin: 0 auto;
}

.lefttable table,
.righttanle table {
    width: 100%;
    /* border-collapse: collapse;
    border-spacing: 0; */
    border-collapse: separate;
    border-spacing: 0px 2px;
}

.lefttable table td:first-child,
.righttanle table td:first-child {
    background-color: rgba(225, 227, 229, 0.5);
    width: 35%;
    color: #616364;
    padding: 10px 15px;
}

.lefttable table td:nth-child(2),
.righttanle table td:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.5);
    width: 65%;
    color: #616364;
    padding: 10px 15px;
}

.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    opacity: 0.5;
    border: 2px solid #fff;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: #fff;
}

#sP2 {
    position: static;
    margin: 30px 0 60px 0;
    display: flex;
    justify-content: center;
}

#sP3 {
    position: static;
    margin: 30px 0 0 0;
    display: flex;
    justify-content: center;
}

.cardimgbox {
    position: relative;
    width: 100%;
}

.cardimg_title {
    position: absolute;
    left: 40%;
    top: 50%;
    width: 34VW;
    transform: translate(-50%, -50%);
}

.color_font_show {
    margin: 50px 0 30px 0;
    text-align: center;
    font-family: Station-mc;
    font-size: 40px;
}

.title_card {
    font-family: Station-mc;
    font-size: 3.5vw;
    color: #fff;
    margin: 15px 0;
}

.body_card {
    font-family: Station-mc;
    font-size: 1.7vw;
    color: #fff;
}

.activity_font {
    text-align: center;
    width: 100%;
}

.footer {
    text-align: center;
    font-size: 16px;
    color: #333333;
    padding: 10px 0;
    font-weight: bold;
}

.footer a {
    margin-left: 30px;
    font-weight: bold;
}

.jingdong {
    background-color: #11212b;
    text-align: center;
}

.jingdong a {
    padding: 40px 0;
    display: inline-block;
}

.jingdong img {
    width: 100%;
    max-width: 360px;
}

.img_icon {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.swiper-container-3 .swiper-slide .img_icon>img {
    width: 40px;
    margin-right: 15px;
}

.swiper-container-3 .swiper-slide:hover div.img_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 0;
    position: relative;
}

.colsediv {
    position: absolute;
    right: 10px;
    top: 10px;
}

.modal-body img {
    width: 100%;
}

.incon_d {
    position: absolute;
    right: 0;
    bottom: 0;
}

.incon_d img {
    width: 60px;
}

.btn-close {
    font-size: 30px;
}

#back-to-top{
    display: none;
}

.appd{
    background: url(https://www.yamaha-motor.com.cn/mc/products/app/Y-Connect_bg.jpg) no-repeat center;
}
.appdA{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.appdA img{
    margin: 88px 0;
    width: 35%;

}
#leftsead{
    display: block;
    bottom: 0;
    bottom: 50px;
    width: 150px;
    right: 0px;
    position: fixed;
    overflow: hidden;
    z-index: 1;
}
#leftsead ul{
    margin: 0;
    padding: 0;
}
#leftsead li{
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    cursor: pointer;
    flex-wrap: wrap;
    text-align: center;
    margin: 0 0 3px 0;
}
#leftsead li img{
    width: 100%;
}

#back-to-top{
    background: rgba(0,0,0,.4)
}




@media screen and (min-width: 200px) and (max-width: 991px) {
    .color_show {
    background: url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/colour-bg.jpg?t=20250521) no-repeat center; 
    padding: 3vw 0;
    background-size: 150%;
}
    ol, ul{
        margin: 0;
        padding: 0;
    }
    .swiper-container-1 .swiper-slide img, .swiper-container-4 .swiper-slide img {
        width: 100%;
    }
    .header_menu {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    #header {
        position: relative;
    }

    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 71px;
        z-index: 103;
        background-repeat: repeat-x;
        background-color: var(--headerBg);;
    }

    .mobile-header .mobile-header-inner {
        display: table;
        width: 100%;
        /* padding: 0.5em 0; */
    }


    .mobile-header .mobile-menu-toggle {
        display: table-cell;
        vertical-align: middle;
    }

    .mobile-header .logo {
        position: absolute;
        width: 30%;
        z-index: 104;
        left: 19%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: block;
    }

    .mobile-header .logo a {
        display: block;
    }
    .mobile-header .logo a  img{
        width: 100%;
    }
    .mobile-header .mobile-menu-toggle {
        position: absolute;
        top: 15px;
        right: 8px;
        width: 47px;
        height: 35px;
        display: block;
    }
    
#toggle-nav {
    padding: 3px 5px;
    position: absolute;
    z-index: 9999;
    width: 17px;
    height: 17px;
    background: transparent;
    margin: 0;
    border: none;
    outline: none;
    cursor: pointer;
    left: 50%;top: 50%;
    transform: translate(-50%, -50%)
  }
  
  #toggle-nav > span {
    background: #fff;
    height: 2px;
    position: absolute;
    left: 0;
    right: 0;
    -webkit-transform-origin: center center 0;
            transform-origin: center center 0;
    -webkit-transition: all 150ms ease;
    transition: all 150ms ease;
  }
  
  #toggle-nav .top-line {
    top: 0;
  }
  
  #toggle-nav .middle-line {
    top: 50%;
    margin-top: -1px;
  }
  
  #toggle-nav .bottom-line {
    bottom: 0;
  }
  
  #toggle-nav.active .top-line {
    top: 50%;
    -webkit-transform: rotateZ(45deg);
            transform: rotateZ(45deg);
  }
  
  #toggle-nav.active .middle-line {
    opacity: 0;
  }
  
  #toggle-nav.active .bottom-line {
    top: 50%;
    -webkit-transform: rotateZ(-45deg);
            transform: rotateZ(-45deg);
  }



    .mobile-navigation {
        display: none;
        position: fixed;
        z-index: 100;
        left: 0;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-content {
        background-color: rgb(1, 35, 106, 0.8);
    }

    .mobile-navigation ul li {
        position: relative;
        z-index: 10;
    }

    .mobile-navigation ul li span.arrow_carrot-right {
        position: absolute;
        right: 4%;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2em;
        color: #fff;
    }


    .mobile-navigation ul li .sub-menu {
        display: none;
        padding-left: 20px;
    }


    .mobile-navigation ul li .sub-menu li {
        width: 49%;
        float: left;
    }

    .mobile-navigation ul li .sub-menu li a {
        border-bottom: 0px none;
        font-size: 12px;
        color: #616161
    }


    .mobile-navigation ul li.dropdown-open .expander>i {
        -webkit-transform: rotateZ(180deg) translate3d(-2px, 0px, 0);
        transform: rotateZ(180deg) translate3d(-2px, 0px, 0);
    }

    .mobile-navigation .expander {
        font-size: 32px;
        position: absolute;
        top: 0;
        right: 0;
        line-height: 50px;
        height: 50px;
        width: 50px;
        text-align: right;
        color: #000
    }

    .mobile-navigation .expander i {
        display: inline-block;
        -webkit-transition: all 150ms ease;
        transition: all 150ms ease;
    }


    .mobile-navigation a {
        font-size: 16px;
        /*border-bottom: 1px solid #efefef;*/
        color: #fff;
        padding: 10px 20px;
        display: block;
        position: relative;
        line-height: 18px;
        text-decoration: none;
    }
    .mobile-navigation{
        display: none;
        position: fixed;
        top: 71px;
        height: 100%;
        width: 100%;
        background-color: rgb(11,30,47,0.9);
      }
      .mobile-navigation ul li{
        padding: 10px 20px;
        border-bottom: 1px solid rgba(242,242,242,0.15);
      }
      .mobile-navigation ul li a{
        font-weight: normal;
        color:#fff;
        text-decoration: none;
        font-size: 16px;
        display: block;
      }

    .footer a {
        display: block;
        font-size: 13px;
        margin: 0;
    }

    .footer span {
        font-size: 13px;
    }

    .jingdong img {
        width: 60%;
    }

    .tableshow {
        display: block;
    }

    .lefttable,
    .righttanle {
        width: 90%;
    }

    .baner {
        margin-top: 71px;
    }

    #swiper-pagination-1 img, #swiper-pagination-4 img {
        width: 60px;
    }

    .swiperbox-m {
        width: 90%;
        margin: 0 auto;
        text-align: left;
    }

    .fontDIV {
        margin-top: -1px;
        height: 240px;
    }

    .titleh {
        padding: 25px 0 0 0;
    }

    .titleh img {
        width: 200px;
    }

    .download_box {
        padding-bottom: 10vw;
    }
    .title_card{
        font-size: 30px;
    }
    .body_card{
        font-size: 18px;
    }
    .cardimg_title{
        width: 71vw;
        top: 25%;
    }
    #loading {      
        background: #FFF url(https://www.yamaha-motor.com.cn/mc/products/xmax/img/loading_sp.jpg) no-repeat center top;
    }
    .activity::before{
        font-size: 5vw;
    }

    #back-to-top{
        display:none;
        position:fixed;
        right:0px;
        bottom:7%;
        width:40px;
        z-index:999;
    }
    #back-to-top img{
        width:100%;
    }
    .appdA img{
        margin: 60px 0;
        width: 70%;
    
    }
    .footer{
        font-size: 14PX;
    }
    #leftsead{
        top:auto;
        width: 80px;
        height: 250px;
    }
}


@media screen and (min-width: 200px) and (max-width: 400px){
    .cardimg_title{
        top: 40%;
    }
    
    .footer{
        font-size: 14PX;
    }
    .color_font_show {
        font-size:30px;
    }
}