/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../images/bg1.jpg) no-repeat top center;
    -webkit-background-size: 2400px;
    -moz-background-size: 2400px;
    -o-background-size: 2400px;
    background-size: 2400px;
}

main {
    background-image: url(../images/kv-bg.png);
    background-size: 2400px;
    overflow: hidden;
    background-position: top center;
    background-repeat: no-repeat;
}


.bg2 {
    background-image: url(../images/bg2.jpg);
    background-attachment: fixed;
    background-size: 2400px;
    background-position: top center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    main {
        background-image: url(../images/kv-bg-mb.png);
        background-size: contain;
        overflow: hidden;
        background-position: top center;
        background-repeat: no-repeat;
    }

    .bg2 {
        background-image: url(../images/bg2.jpg);
        background-attachment: fixed;
        background-size: cover;
        background-position: top center;
        background-repeat: no-repeat;
    }

    body:before {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        background: url(../images/bg1.jpg) no-repeat top center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

}

/* 按鈕顏色 */

/*來去逛逛*/

/*來去逛逛滑鼠移入*/

.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 */
@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }
}

.sec-product {
    background: url("../images/sec-product-bg.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.card-bg {
    background: url("../images/card-bg.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 767px) {
    .card-bg {
        margin-top: -15px;
        padding: 4px;
    }

}

.secDown-title {
    margin-bottom: -30px;
    position: relative;
    z-index: 10;
}


/* KV */
.kvslides {
    background: url("../images/kv-product-bg.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .kvslides {
        background: url("../images/kv-product-bg-mb.png");
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}


/* sec01 */
.sec01-mb {
    background: url("../images/sec01-bg-mb.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}


/* sec02 */
.sec02-title {
    position: relative;
    margin-bottom: -6px;
    z-index: 10;
}

/* sec05 */
.sec05-product {
    background-image: url(../images/sec05-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec05-title {
    position: relative;
    margin-bottom: -45px;
    z-index: 10;
}

@media screen and (max-width: 767px) {
    .sec05-product {
        background-image: url(../images/sec05-bg-mb.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .sec05-title {
        position: relative;
        margin-bottom: -25px;
        z-index: 10;
    }
}


/* method */
section#method a{
    color: red;
    transition: all 0.35s;
}
section#method a:hover {
    background: red;
    border-radius: 99px;
    color: white;
}

/* 斷點區 */

@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) {}


.snowmask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/leaf1.png), url(../images/leaf2.png);
    -webkit-animation: 15s snow linear infinite;
    animation: 15s snow linear infinite;
    pointer-events: none;
    z-index: 99;
}

@-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
    }
}