/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加class名稱
例如：

在HTML裡：
<div class="abc">我要增加背景</div> 

在css裡：
.abc{
    background-image: url(../images/body_bg.webp);  <------圖檔位置
    background-position: center; <-----圖片在區塊/方塊裡的定位
    background-size: cover;  <-----圖片在區塊/方塊裡的大小
}

 */

/* 補充 
    學習資料
    https://ithelp.ithome.com.tw/articles/10223887
    https://ithelp.ithome.com.tw/articles/10224214
*/



/* 全站背景 */
body {
    background-image: url(../images/bg.jpg);
    background-position: top center;
    background-size: cover;
}

@media screen and (max-width: 767px) {
    body {
        background-image: none;
    }

    body:before {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        background: url(../images/bg-mb.jpg) no-repeat top center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

}

main {
    background-image: url(../images/topBn_bgrepeat.webp);
    background-size: 100% 100%;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: repeat-x;
}


/* 按鈕顏色 */
.btnset a {
    color: #CA9F37;
    border: 3px solid #BE0602;
    background-color: #fff;
    box-shadow: 3px 5px #880f0f;
    line-height: 1.2;
}

/*來去逛逛*/

.btnset a:hover {
    /*    color: rgb(44, 40, 1);*/
    color: #fff;
    border: 3px solid #ffd392;
    background-color: #CA141D;
    box-shadow: 3px 5px #8d6e40;
}

/*來去逛逛滑鼠移入*/

.nocarslideinnBox01 {
    background-color: #084B7D;
    padding: 10px;
}

/* 原價特價折疊控制 打開變1列 關掉變2列 */
.productSetprice .priceBox {
    flex-direction: row !important;
}

/* logo區圖片大小控制 */
.logooutbox .logoinn {
    flex-basis: 11%;
}

.swiperCover .swiper-slide-next,
.swiperCover .swiper-slide-last {
    opacity: .5;
}

/* .swiper-container-3d .swiper-slide-shadow-left, .swiper-container-3d .swiper-slide-shadow-right{
    background-image: none;
} */

/* 其他東西自己寫這↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */


.squarepppinfoinn-box.pppinfobox {
    background: #075F9E;
    text-decoration: none;
    color: #fff;
}

/* all */
.card-bg {
    background-image: url(../images/card-bg.png);
    background-size: cover;
    background-position: center;
    border: #bca580 6px solid;
}

.card4product {
    border-radius: 0 0 50px 50px;
}

.card1product {
    border-radius: 50px;
}

@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }
}


/* KV */
/* #kvTopBN {
    background-image: url(../images/kv-bg.png);
    background-size: cover;
    background-position: top center;
} */

.cloud {
    position: absolute;
    top: 0;
    width: 130%;
    height: auto;
    left: -16%;
    /* opacity: 0.8; */
}

.mouseParallax {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0vh;
    left: 0vw;
}

.title-bg {
    background-image: url(../images/title-bg.png);
    background-size: cover;
    background-position: top center;
}

@media screen and (max-width: 1199px) {
    .cloud {
        position: absolute;
        top: 2%;
        width: 150%;
        height: auto;
        left: -25%;
    }
}

@media screen and (max-width: 991px) {
    .cloud {
        position: absolute;
        top: 5%;
        width: 200%;
        height: auto;
        left: -49%;
    }
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.png);
        background-size: cover;
        background-position: top center;
    }

    .title-bg {
        background-image: none;
    }

    .mouseParallax {
        display: none;
    }
}

/* sec01 */
.sec01-product {
    background-image: url(../images/sec01-product-bg.png);
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 767px) {
    .sec01-product {
        background-image: url(../images/sec01-product-bg-mb.png);
        background-size: cover;
        background-position: center;
    }
}

/* sec02 */
.sec02-product {
    background-image: url(../images/sec02-product-bg.png);
    background-size: cover;
    background-position: center;
}

@media screen and (max-width: 767px) {
    .sec02-product {
        background-image: url(../images/sec02-product-bg-mb.png);
        background-size: cover;
        background-position: center;
    }
}

.sec02-title {
    position: absolute;
    top: 0;
    width: 100%;
}

/* sec03 */
.sec03-1-bg {
    background-image: url(../images/sec03-1-bg.png);
    background-size: cover;
    background-position: center;
}

.sec03-2-bg {
    background-image: url(../images/sec03-2-bg.png);
    background-size: cover;
    background-position: center;
}

/* sec04、05 */
#sec04-1 {
    background-image: url(../images/sec04-1-bg.png);
    background-size: cover;
    background-position: center;
}

#sec04-2 {
    background-image: url(../images/sec04-2-bg.png);
    background-size: cover;
    background-position: center;
}

#sec05-1 {
    background-image: url(../images/sec05-1-bg.png);
    background-size: cover;
    background-position: center;
}

#sec05-2 {
    background-image: url(../images/sec05-2-bg.png);
    background-size: cover;
    background-position: center;
}

/* 斷點區 */

@media screen and (max-width: 1659px) {}

@media screen and (max-width: 1399px) {}

@media screen and (max-width: 1199px) {}

@media screen and (max-width: 991px) {}

@media screen and (max-width: 767px) {
    .actablebox {
        font-size: 14px;
    }

    .actablebox th.table-title {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 640px) {
    .logooutbox .logoinn {
        flex-basis: 24%;
    }
}

@media screen and (max-width: 480px) {}


/* snow */
@-webkit-keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}

@keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}

#snowMask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/snow1.png), url(../images/snow2.png);
    -webkit-animation: 15s snow linear infinite;
    animation: 15s snow linear infinite;
    pointer-events: none;
    z-index: 10;
}