@charset "UTF-8";

:root {
    --headerBg: rgb(0, 0, 0);
    --headerBgHover: rgb(92, 119, 140);
}

@font-face {
    font-family: "Station-mc";
    src: url("https://www.yamaha-motor.com.cn/mc/products/tmax560/css/fonts/pangmenzhengdao.ttf") format('truetype');
}
@keyframes fadeIn {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.fadeIn {
    animation-name: fadeIn
}


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/tmax560/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/tmax560/img/color-bg.png) no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row-reverse;
}

.details_show {
    background: url(https://www.yamaha-motor.com.cn/mc/products/tmax560/img/detail-bg.png) no-repeat center;
    background-size: cover;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 850px;

}
.design_show {
    background: url(https://www.yamaha-motor.com.cn/mc/products/tmax560/img/canshu-bg.jpg) no-repeat center;
    background-size: cover;
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    display: flex;
    padding: 60px 0;
    align-items: stretch;
}
.lefttable {
    width: 44%;
}
.navleftspace {
    margin-left: 25%;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

.tablebox {
    max-height: calc(100vh - 20vh);
    overflow-y: auto;
}

.tablebox::-webkit-scrollbar {
    width: 5px;
    /* 滚动条宽度 */
    height: 5px;
}

.tablebox::-webkit-scrollbar-track {
    background-color: #111;
}

/* 设置滚动条滑块的颜色 */
.tablebox::-webkit-scrollbar-thumb {
    background-color: rgb(15, 51, 87);
    border-radius: 15px;
    height: 10px;
}

.tablebox table {
    border-collapse: separate;
    border-spacing: 0px 2px;
    width: 100%;
}
.tablebox table td:first-child {
    background-color: rgba(15, 51, 87, 0.8);
    width: 35%;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 16px;
}
.tablebox table td:nth-child(2) {
    background-color: rgba(0, 0, 0, 0.5);
    width: 65%;
    color: #ffffff;
    padding: 10px 15px;
    font-size: 16px;
}

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

.activity::before {
    content: attr(data-text);
    /* content: "更多活动/\n敬请期待……"; */
    white-space: pre;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5vw;
    font-style: italic;
    font-weight: bold;
    letter-spacing: 3px;
    color: #fff;
}

.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: 70%;
}
.colorswiperbox{
    width: 70%;
    padding: 4vw 14vw;
}
.imgswipebox{
    width: 30%;
    text-align: center;
}

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

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

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

.swiper_pagination_icon2,
.swiper_pagination_icon{
    cursor: pointer;
}

.divhoverimg{
    position: relative;
    margin: 4vw 0;
}
.divhoverimg .swiper_pagination_icon2{
    filter: brightness(150%);
}

.divhoverimg::before,
.divhoverimg::before {
    content: attr(data-text);
    white-space: pre;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-70%, 100%);
    font-size: 16px;
    font-style: italic;
    letter-spacing: 3px;
    color: #fff;
}
.swiper-container-1 .swiper-slide img,
.swiper-container-2 .swiper-slide img {
    width: 100%;
}


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

.fontDIV span {
    font-size: 22px;
    color: #fff;
    width: 90%;
    margin: 0 auto;
    padding: 20px 0 15px 0;
    text-align: center;
    display: block;
    font-family: Station-mc;
}

.fontDIV em {
    margin: 0 auto;
    font-size: 16px;
    width: 90%;
    text-align: center;
    font-style: normal;
    display: block;
    color: #fff;
    font-family: Station-mc;
    letter-spacing: 2px;
}

.details_show .swiper-pagination-bullet {
    width: 32px;
    height: 8px;
    opacity: 1;
    border-radius: 2px;
    background-color: #fff;
}

.details_show .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: rgb(92, 119, 140);
}

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

.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;
}



.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;
}
/* 下载部分样式 */
.download_box {
    position: relative;
    width: 100%;
    display: flex;
}
.bannerSwiper img,
.download_box .myswiper_pagination img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.bannerSwiper .myswiper_pagination {
    bottom: 75px;
}

.bannerSwiper .swiper-pagination-bullet {
    border: none;
}

.bannerSwiper .myswiper_pagination span {
    max-width: 256px;
    margin-right: 5px;
    opacity: 0.5;
    width: 100%;
}

.bannerSwiper .myswiper_pagination .swiper-pagination-bullet-active {
    opacity: 1;
    border: none;
}

.bannerSwiper .myswiper_pagination .swiper-pagination-bullet-active img {
    border: 3px solid #ffffff;
}

.wideaa {
    position: relative;
    display: inline-block;
}

.wideaa::after {
    content: '点击下载壁纸';
    position: absolute;
    bottom: 50%;
    left: 50%;
    color: #ffffff;
    background: url(https://www.yamaha-motor.com.cn/mc/products/tmax560/img/download/icon-d.png) no-repeat;
    transform: translate(-50%,-50%);
    padding-left: 40px;
    font-size: 20px;
    background-size: 30px;
}
.positionimg{
    animation: fadeIn 1.5s infinite alternate;
    position: absolute;
    width: 100%;
    z-index: 3;
    top: 0;
    height: 100%;
}
.swiper-container-1 .swiper-slide{
    position: relative;
}
.ptitle{
    position: absolute;
    font-size: 5vw;
    color:rgb(49, 58, 63);
    -webkit-text-stroke:1px #fff;
    text-stroke:1px #fff;
    letter-spacing: 5px;
    font-weight: bold;
    font-family: sans-serif;
    top: 2vw;
    right: 0;
}
.navleftspaceimg,
.rightimg {
    display: none;
}

@media screen and (min-width: 992px) and (max-width: 1366px) {
    .menu ul {
        justify-content: center;
        -webkit-justify-content: center;
    }
    .swiperbox{
        width: 95%;
    }
    .color_title_img img{
        width: 80%;
    }
    .bannerSwiper .myswiper_pagination span{
        max-width: 200px;
    }
}

@media screen and (min-width: 200px) and (max-width: 991px) {
    ol, ul{
        margin: 0;
        padding: 0;
    }
    .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: 18%;
        top: 45%;
        transform: translate(-50%, -50%);
        display: block;
    }

    .mobile-header .logo a {
        display: block;
    }

    .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(92, 119, 140,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;
    }

   
    .tableshow {
        display: block;
    }

    .lefttable{
        width: 100%;
        margin: 0 auto;
    }

    .baner {
        margin-top: 71px;
    }

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



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

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

    .titleh img {
        width: 200px;
    }


    #loading {      
        background: #FFF url(https://www.yamaha-motor.com.cn/mc/products/tmax560/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%;
    }
    
    .bannerSwiper .myswiper_pagination span {
        max-width: 100px;
    }

    .bannerSwiper .myswiper_pagination {
        bottom: 30px;
    }
    .design_show {
        display: block;
        height: auto;
        padding: 40px 0 0 0;
        background: url(https://www.yamaha-motor.com.cn/mc/products/tmax560/img/canshu-bg-sp.jpg) no-repeat center;
        background-size: cover;
    }
    .rightimg {
        width: auto;
        display: block;
    }

    .rightimg img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .navleftspace {
        margin: 0;
        padding-bottom: 20px;
    }
    .tablebox {
        max-height: none;
        overflow: hidden;
        width: 90%;
        margin: 0 auto;
        text-align: left;
    }

    .tablebox table td:first-child {
        font-size: 13px;
        width: 40%;
    }

    .tablebox table td:nth-child(2) {
        font-size: 13px;
        width: 60%;
    }
    .swiperbox{
        width: 90%;
    }
    .details_show{
        height: 820px;
    }
    .navleftspaceimg{
        display: block;
        text-align: right;
        margin-right: 5%;
        margin-bottom: 20px;
    }
    .navleftspaceimgleft{
        text-align: left;
        margin-left: 5%;
    }
    .navleftspaceimg img{
        width: 50%;
    }
    #sP2{
        margin: 50px 0 0 0;
    }
    .color_show{
        display: block;
        padding: 15vw 0;
        background: url(https://www.yamaha-motor.com.cn/mc/products/tmax560/img/color-bg-sp.png) no-repeat center;
    }
    .colorswiperbox{
        width: 100%;
    }
    .imgswipebox{
        width: 100%;
    }
    .color_title_img{
        display: none;
    }
    #swiper-pagination{
        display: flex;
    }
    .divhoverimg{
        width: 50%;
    }
    .ptitle{
        font-size: 10vw;
    }
    .wideaa::after{
    bottom: 40%;
    left: 50%;
    font-size: 13px;
    background-size: 20px;
    padding-left: 25px;
    }
    .logo img {
        width: 100%;
    }
    .footer{
        font-size: 14PX;
    }
}
.product_link_a:hover img, .product_link_a:hover span {
    opacity: 0.7;
}