@charset "UTF-8";
/**
 * @desc sp_style.css
 * @author Chen
 * @date 2023/01/06
 */

/* 回到顶部
---------------------------------------------------------------- */
#back-to-top {
    display: none;
    position: fixed;
    right: 0px;
    bottom: 7%;
    width: 40px;
    z-index: 999;
}

/* 加载页面
---------------------------------------------------------------- */
#loading {
    position: relative;
    z-index: 1000;
    display: block;
    height: 100vh;
    background: url(../images/loading_sp.png) repeat-x center top;
    background-size: cover;
}

.load_main img.wechat {
    position: absolute;
    left: 50%;
    top: 16%;
    margin-left: -11%;
    width: 22%;
}

.load_text {
    position: absolute;
    left: 0px;
    bottom: 13%;
    width: 100%;
    font-size: 1.6em;
    color: #ff0000;
    text-align: center;
}

.load_text #loading_text {
    font-size: 1.3em;
}

.load_line {
    position: absolute;
    left: 50%;
    bottom: 10%;
    margin-left: -33%;
    width: 66%;
    height: 6px;
    background: #000;
}

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

/* 初始化设置
---------------------------------------------------------------- */
a {
    text-decoration: none;
}

ul li {
    list-style-type: none;
}

/* 背景图初始化 */
.background {
    width: 100%;
    object-fit: contain;
    -o-object-fit: contain;
}

/* 相对定位元素 */
.relative {
    position: relative;
}

/* 顶部导航
---------------------------------------------------------------- */
.mobile_header {
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}

.mobile_header_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: rgba(0, 0, 0, .5);
}

/* logo */
.mobile_header_wrapper .yamaha_logo {
    display: block;
    max-width: 120px;
    margin-left: 18px;
}

/* 按钮 */
.mobile_header_wrapper .menu_box .collapse_button {
    display: block;
    margin-right: 20px;
}

.mobile_header_wrapper .collapse_button .btn_bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px;
    background: #FFF;
    transition: all 1s;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
}

.btn_bar_rotate_top {
    transform: rotate(45deg) translateY(5px);
    -webkit-transform: rotate(45deg) translateY(5px);
    -moz-transform: rotate(45deg) translateY(5px);
    -ms-transform: rotate(45deg) translateY(5px);
    -o-transform: rotate(45deg) translateY(5px);
}

.btn_bar_rotate_bottom {
    transform: rotate(-45deg) translateY(-5px);
    -webkit-transform: rotate(-45deg) translateY(-5px);
    -moz-transform: rotate(-45deg) translateY(-5px);
    -ms-transform: rotate(-45deg) translateY(-5px);
    -o-transform: rotate(-45deg) translateY(-5px);
}

/* 菜单 */
.mobile_header_wrapper .menu_box .menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    padding: 0;
    background: rgb(11, 30, 47, .9);
}

.menu_box .menu li {
    padding: 15px;
    padding-left: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.menu_box .menu a {
    display: block;
    font-size: 16px;
    color: #FFF;
}

/* 视频展示
---------------------------------------------------------------- */
/* 背景图 */
.video_display .video_display_background {
    z-index: -1;
}

/* 视频框 */
.video_frame {
    position: absolute;
    top: 76px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.video_frame .video_background {
    display: block;
    inset: 0;
    width: 100%;
    padding: 16px;
    margin: 0 auto;
}

.video_frame .play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.video_frame .play_btn .play_btn_image {
    width: 80%;
}
/* 点击空白位置关闭视频模态框 */
#video_modal {
    margin: unset !important;
    /* padding-top: 50%; */
    height: 100% !important;
}

#video_modal .modal-dialog {
    height: 40%;
}

#video_modal .modal-dialog #game-video {
    object-fit: cover;
}


/* 模态框关闭按钮 */
.modal-close {
    position: absolute;
    right: 0;
    width: 4%;
    margin-top: 2%;
    margin-right: 2%;
    z-index: 1000;
}

/* 360展示
---------------------------------------------------------------- */
/* 背景图 */
.display_360 {
    height: 600px;
    background: url(../images/360_background.jpg) no-repeat center;
    background-size: cover;
}

/* 标题 */
.title_360 {
    display: block;
    width: 45%;
    margin: 0 auto;
    padding: 20px;
}

/* 旋转按钮 */
.rotate_360 {
    display: block;
    width: 17%;
    margin: 0 auto;
}

/* 展示图 */
.design_360 .display_360 {
    position: relative;
    inset: 0;
}

.display_360 .rollerblade-img {
    display: block;
    max-width: 90%;
    margin: 0 auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

.display_360 .rollerblade-drag {
    cursor: move;
}

/* 细节展示
---------------------------------------------------------------- */
/* 轮播图 */
.detail_show .detail_swiper {
    position: absolute;
    top: 60px;
    width: 100%;
}

.detail_swiper .swiper-slide {
    max-width: 100%;
}

.detail_swiper .detail_box {
    width: 100%;
    margin: 0 auto;
}

.detail_swiper .detail_box .detail_image {
    width: 100%;
}

.detail_swiper .detail_box .description {
    color: #FFF;
}

.detail_swiper .detail_box .dct_title {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}

.detail_swiper .detail_box .dct_content {
    width: 90%;
    margin: 0 auto;
}

/* 分页器 */
.detail_swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: 2px #218ead solid;
}

.detail_swiper .swiper-pagination-bullet-active {
    background: #FFF;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: -5px;
}

/* 导航按钮 */
.detail_swiper .swiper-button-next,
.detail_swiper .swiper-button-prev {
    color: transparent;
    top: 30%;
    z-index: 99;
}

.detail_swiper .swiper-button-prev {
    left: 5%;
    background: url(../images/left-arrow.png) no-repeat center;
    background-size: 100%;
}

.detail_swiper .swiper-button-next {
    right: 5%;
    background: url(../images/right-arrow.png) no-repeat center;
    background-size: 100%;
}

/* 颜色选择
---------------------------------------------------------------- */
.color_show .color_box {
    position: absolute;
    inset: 0;
    top: 70px;
    display: flex;
    justify-content: center;
}

/* 默认隐藏 */
.color_show .motor_image {
    display: none;
    max-width: 85%;
    margin-left: 10%;
}

/* 选中显示 */
.color_show .motor_image_active {
    display: block;
}

/* 颜色导航 */
.color_motor_nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 25px;
}

.color_motor_nav .color_text {
    color: #FFF;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.color_motor_nav .color_link {
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.color_motor_nav .color_link_active {
    width: 50px;
    height: 50px;
}

.color_motor_nav .color_link img {
    width: 80%;
}

/* 设计规格
---------------------------------------------------------------- */
.design_show,
.design_show .design_background {
    min-height: 860px;
}

.design_show .design_box {
    position: absolute;
    top: 120px;
    width: 100%;
    margin: 0 auto;
}

/* 表格 */
.design_show .design_box .table_style {
    width: 80%;
    margin: 0 auto;
    color: #000;
}

.table_style tr {
    border-bottom: 1px solid #000;
    border-collapse: collapse;
}

.table_style tr td {
    padding: 4px 15px;
    font-size: 12px;
}

.table_style tr td:first-child {
    background: #e6e7e9;
    font-weight: bold;
}

.table_style tr td:nth-child(2) {
    background: #d1d4d5;
}

/* 下载专区
---------------------------------------------------------------- */
.download_box,
.jingdong_link {
    position: absolute;
    inset: 0;
    top: 55px;
}

.download_box .download_link {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.download_box .download_image {
    width: 100%;
}

/* 屏幕响应
---------------------------------------------------------------- */
@media screen and (max-width: 460px) {
    .display_360 {
        height: 400px;
    }
}
@media screen and (max-width: 404px) {
    .design_show .design_background {
        object-fit: cover;
    }
}
@media screen and (max-width: 360px) {
    .jingdong_link {
        bottom: 21px;
    }
}

/* Galaxy Fold */
@media screen and (max-width: 280px) {
    .detail_show .detail_swiper {
        top: 44px;
    }

    .detail_swiper .detail_box .dct_title {
        font-size: 16px;
    }

    .detail_swiper .detail_box .dct_content {
        font-size: 12px;
    }

    .swiper-container-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom: 0px;
    }

    .download_box {
        top: 60px;
    }

    .design_show .design_box {
        top: 90px;
    }

    .table_style tr td {
        padding: 0;
    }

    .jingdong_link {
        bottom: 10px;
    }
}

/* Surface Duo */
@media screen and (min-width: 420px) {
    .color_show .color_background {
        object-fit: cover;
    }

    .color_show,
    .color_show .color_background {
        min-height: 385px;
    }

    .video_frame,
    .color_show .color_box,
    .design_show .design_box {
        top: 120px;
    }

    .detail_show .detail_swiper {
        top: 100px;
    }

    .design_show .design_box .table_style {
        display: table;
    }

    .jingdong_link {
        bottom: 47px;
    }

    .table_style tr td {
        padding: 6px 15px;
    }
}

@media screen and (min-width: 560px) {
    .download_box, .jingdong_link {
        top: 70px;
    }
}

/* ipad mini */
@media screen and (min-width: 768px) {
    .video_frame,
    .detail_show .detail_swiper,
    .color_show .color_box {
        top: 220px;
    }

    .design_show .design_box {
        top: 175px;
    }
    
    .color_motor_nav {
        margin-bottom: 55px;
    }

    .color_motor_nav .color_text {
        width: 150px;
        font-size: 25px;
    }

    .color_motor_nav .color_link {
        width: 50px;
        height: 50px;
    }

    .color_motor_nav .color_link_active {
        width: 70px;
        height: 70px;
    }

    .design_show .design_box .table_style {
        display: table;
    }

    .table_style tr td {
        padding: 15px 25px;
        font-size: 18px;
    }

    .jingdong_link {
        bottom: 78px;
    }

    .display_360 {
        height: 800px;
    }

    .download_box {
        top: 120px;
    }
}

@media screen and (min-width: 852px) {
    .design_show .design_box {
        top: 200px;
    }
}