/*------------ product-list ------------*/

.products-list {
    margin: 0 60px;
    margin-top: -25px;
}

.products-list li {
    width: 25%;
    padding: 0 5px 15px;
    border-bottom: 1px solid #E0E1E2;
}

.products-list li:nth-child(4n+1) {
    clear: left;
}

.products-list > li > .box {
    margin: 50px auto 0;
    max-width: 310px;
    box-sizing: border-box;
    position: relative;
}
.products-list > li > .box .cover{
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    font-size: 0;
    opacity: 0;
}
.products-list .box:hover .cover {
    opacity: 1;
}
.products-list .pic {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    transition: all .3s ease;
    z-index: 1;
}
.products-list .pic::before {
    content: "";
    background: rgba(51, 51, 51, .7);
    opacity: 0;
    transition: all .3s ease;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
}
.products-list .box:hover .pic:before{
    opacity: 1;
}
.products-list .pic img{
    transition: all .3s ease;
}
.products-list .box:hover .pic img{
    transform: scale(1.2);
}

.products-list .text {
    max-width: 330px;
    margin: 0px auto 20px;
    padding: 0 0px;
    line-height: 1.2;
}

.products-list .name{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #FFF;
    background: #44A6DF;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 22px;
    line-height: 52px;
    height: 50px;
    position: relative;
    z-index: 2;
    text-align: center;
}
.products-list .name::before{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0A53A5;
    top: -2px;
    left: 0;
    display: block;
    position: absolute;
    -webkit-transform: translate(0%, 100%);
    transform: translate(0%, 100%);
    -webkit-transition: all 500ms cubic-bezier(0.385, 0.010, 0.000, 1.000);
    transition: all 500ms cubic-bezier(0.385, 0.010, 0.000, 1.000);
}
.products-list .box:hover .name:before {
    -webkit-transform: translate(0%, 0%);
    transform: translate(0%, 0%);
    top: 0px;
}

.products-list .description {
    font-size: 18px;
    line-height: 28px;
    color: #444444;
    height: 111px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
}

/*------------ search ------------*/

.products-search {
    border-top: 1px solid #8DC220;
    border-bottom: 1px solid #8DC220;
    font-size: 16px;
    color: #333333;
    padding: 15px 0;
}

.products-search span {
    color: #538C15;
}

.products-search b {
    color: #538C15;
    font-weight: normal;
    display: inline-block;
    margin: 0 5px 0 10px;
}


/*------------ detail ------------*/

.p-detail{
    max-width: 1300px;
    margin: auto;
}

.gallery .slider {
    float: left;
    width: 40%;
}

.gallery .txt {
    float: right;
    width: 58%;
}

.gallery .products-breadcrumb {
    text-align: left;
    border-top: 0;
    padding: 0 0 15px;
    margin: -2px 0 0 0;
}

.gallery .product-name {
    display: flex;
    margin-bottom: 15px;
}
.gallery .product-name span:nth-child(1) {
    display: block;
    width: 109px;
    min-width: 109px;
    height: 38px;
    background: linear-gradient(to right,#449ECA,#3272B1);
    border-radius: 5px;
    font-size: 22px;
    color: #FFF;
    text-align: center;
    margin-right: 10px;
}
.gallery .product-name .name-1 {
    display: block;
    color: #44A5DF;
    font-size: 24px;
    font-weight: bold;
}
.gallery .product-name .name-2 {
    display: block;
    color: #444444;
    font-size: 22px;
}

.gallery .txt-box {
    clear: both;
    font-size: 18px;
    color: #444444;
    margin: 28px 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 210px;
}

.gallery .thumbnails {
    padding: 25px 0px 0 0px;
    position: relative;
    box-sizing: border-box;
}

.gallery .thumbnails ul {
    margin: 0 0;
}
.gallery .thumbnails li {
    padding: 0 4px 18px;
    width: calc((100% / 5) - 0.1px);
}
.gallery .thumbnails li a{
    position: relative;
}
.gallery .thumbnails li a:before,
.gallery .thumbnails li a:after {
    content: "";
    display: block;
    position: absolute;
    opacity: 0;
    transition: all .2s;
}
.gallery .thumbnails li a:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .5);
}
.gallery .thumbnails li a:after {
    content: "\e1022";
    font-family: 'icon-font' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(51, 51, 51, .5);
    font-size: 25px;
    top: 0%;
    left: 50%;
    margin: -12px 0 0 -12px;
}
.gallery .thumbnails li.active a:before,
.gallery .thumbnails li.active a:after,
.gallery .thumbnails li a:hover:before,
.gallery .thumbnails li a:hover:after {
    opacity: 1;
    transition: all .2s;
}
.gallery .thumbnails li.active a:after,
.gallery .thumbnails li a:hover:after {
    top: 50%;
}

/*------------ products-title ------------*/

.products-detail {
    margin: 30px 0 0 0;
}

.products-detail .title {
    text-align: center;
    font-size: 14px;
    margin: 0 0 30px;
    position: relative;
}
.products-detail .title::before {
    content: "";
    position: absolute;
    height: 1px;
    width: 100%;
    background: #E0E1E2;
    left: 0;
    top: 12px;
    z-index: -2;
}
.products-detail .title::after {
    content: "";
    position: absolute;
    height: 40px;
    width: 170px;
    background: #FFF;
    left: calc( 50% - 85px);
    top: -7px;
    z-index: -1;
}
.products-detail .title span {
    display: inline-block;
    line-height: 30px;
    font-size: 22px;
    color: #444444;
    position: relative;
    width: 100px;
}
.products-detail .title span::before {
    content: "";
    position: absolute;
    background: url("../../images/common/products/icon-1.png");
    width: 11px;
    height: 11px;
    left: -22px;
    top: 7px;
}
.products-detail .title span::after {
    content: "";
    position: absolute;
    background: url("../../images/common/products/icon-1.png");
    width: 11px;
    height: 11px;
    right: -22px;
    top: 7px;
}

.tab-title{
    display: block;
    color: #44A5DF;
    font-size: 24px;
    font-weight: bold;
}
.tab-movie{
    width: 100%;
}
.tab-movie video{
    width: 100%;
}
.tab-movie-box{
    display: flex;
    flex-wrap: wrap;
}
.tab-movie-box>div{
    flex:0 0 50%;
    min-height: 300px;
    padding:20px;
    box-sizing: border-box;
}
#videojs-panorama-player{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.player_wrapper{
    position: relative;
    max-width: 100%;
    width: 100%;
}
.player_container{
    padding-top: 56.25%;
}
.player_container_normal{
    padding-top: 0;
}


@media(max-width:1000px){
    .gallery .product-name span:nth-child(1) {
        width: 75px;
        min-width: 75px;
        height: 27px;
        font-size: 16px;
        margin-right: 5px;
    }
    .gallery .product-name .name-1 {
        font-size: 18px;
        line-height: 26px;
    }
    .gallery .product-name .name-2 {
        line-height: 26px;
        font-size: 18px;
    }



    .tab-movie-box{
       flex-direction: column;
    } 
    .tab-movie-box>div{
        flex:0 0 100%;
        min-height: unset;
        padding:0px;
        margin-bottom: 20px;
    } 
    .tab-title {
        font-size: 20px;
    }
}

/*tab設定 開始*/
.prodcuts-tab{
    background: #E0E1E2;
    padding-left: 0;
    margin-bottom: 35px;
    letter-spacing: -3px;
}
.prodcuts-tab li{
    display: inline-block;
    letter-spacing: normal;
}
.prodcuts-tab li a{
    position: relative;
    display: block;
    text-align: center;
    width: 176px;
    height: 48px;
    font-size: 18px;
    line-height: 48px;
    color: #545454;
    transition: all .3s ease;
    border-bottom: 2px solid #E0E1E2;
}
.prodcuts-tab li + li a:before{
    content: "";
    background: #555555;
    width: 1px;
    height: 15px;
    position: absolute;
    left: -1px;
    top: 16px;
}
.prodcuts-tab li a:hover,.prodcuts-tab li.ui-state-active a {
    background: #44A6DF;
    border-bottom: 2px solid #0A53A5;
    color: #FFF;
}
.tab-box.active .prodcuts-tab{
    z-index: 5;
    position: fixed;
    top: 57px;
    /* left: 0; */
    width: 1300px;
    margin-left: auto;
    margin-right: auto;
}
.tab-box.active{
    margin-top: 95px;
}
@media(max-width:1300px){
    .tab-box.active .prodcuts-tab {
        left: 0;
        width: 100vw;
    }
}
@media(max-width:1100px){
    .prodcuts-tab li a {
        width: 144px;
    }
}
@media(max-width:1000px){
    .prodcuts-tab {
        letter-spacing: -6px;
        display: flex;
        flex-wrap: wrap;
    }
    .prodcuts-tab li {
        flex: 0 0 calc( 100% / 3);
    }
    .prodcuts-tab li a {
        width: unset;
    }
    .tab-box.active .prodcuts-tab{
        top: 26px;
        width: 100vw;
        left: 0;
    }
    .prodcuts-tab li:nth-child(4) a:before {
        content: "";
        width: 0px;
        height: 0px;
    }
    .prodcuts-tab li a {
        height: 30px;
        font-size: 15px;
        line-height: 30px;
    }
    .prodcuts-tab li + li a:before {
        top: 8px;
    }
   
}
/*tab設定 結束*/


/*------------ rwd ------------*/

@media screen and (max-width: 1280px) {
    .gallery .slider,
    .gallery .txt {
        float: none;
        width: auto;
        max-width: 800px;
        margin: 0 auto;
    }
    .gallery .txt {
        margin: 25px auto 0;
    }
    .gallery .thumbnails {
        margin: 25px 0 0 0;
    }
    .gallery .thumbnails:before {
        border-width: 0 10px 15px 10px;
        border-color: transparent transparent #fff transparent;
        bottom: 100%;
        top: auto;
        right: 50%;
        margin: 0 -15px 0 0;
    }
    .gallery .thumbnails:after {
        border-width: 0 11px 17px 11px;
        border-color: transparent transparent #548D16 transparent;
        bottom: 100%;
        top: auto;
        right: 50%;
        margin: 0 -16px 0 0;
    }
}

@media screen and (max-width: 1200px) {
    .products-list {
        margin: 0 20px;
    }
    .products-list li {
        width: calc((100% / 3) - 0.1px);
    }
    .products-list li:nth-child(3n+1) {
        clear: left;
    }
    .products-list li:nth-child(4n+1) {
        clear: none;
    }
}


@media screen and (max-width: 900px) {
    .products-list li {
        width: 50%;
    }
    .products-list li:nth-child(2n+1) {
        clear: left;
    }
    .products-list li:nth-child(3n+1) {
        clear: none;
    }
    .gallery .thumbnails {
        padding: 20px 20px 0;
    }
}

@media screen and (max-width: 600px) {
    .gallery .thumbnails li {
        width: 50% ;
    }
}

@media screen and (max-width: 480px) {
    .products-list {
        margin: 0;
    }
    .products-list li {
        width: 100%;
        padding: 0 0 45px;
    }
}

