/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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
*/



/* 全站背景 */


main {
    background-image: url(../images/bg1.jpg);
    background-size: cover;
    background-position: top center;
}

.bg2 {
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: top center;
    box-shadow: 0px 0px 18px rgba(63, 63, 63, 0.5);
}

@media screen and (max-width: 767px) {
    main {
        background-image: url(../images/bg1-mb.jpg);
        background-size: contain;
        background-position: top center;
    }

    .bg2 {
        background-image: url(../images/bg2-mb.jpg);
        background-size: cover;
        background-position: top center;
        box-shadow: 0px 0px 18px rgba(63, 63, 63, 0.5);
    }
}

/* 按鈕顏色 */
.btnset a {
    color: #5c3501;
    border: 3px solid #ff9000;
    background-color: #fff;
    box-shadow: 0px 5px #ff9000;
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .btnset a {
        font-size: 1.4rem;
        margin: 1px;
    }
}

.btnset a:hover {
    color: white;
    border: 3px solid #ca6500;
    background-color: #ff9000;
    box-shadow: 0px 5px #ca6500;
}

/*來去逛逛滑鼠移入*/

.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;
    }
}

/* KV */
#kvTopBN {
    background-image: url(../images/kv-bg.jpg);
    background-size: cover;
    background-position: center top;
    box-shadow: 0px 14px 18px rgba(63, 63, 63, 0.2);
    position: relative;
}

.title {
    position: absolute;
    display: flex;
    justify-content: center;
    z-index: 10;
    height: 100%;
}
.title img{
    height: 100%;
}

.title-mb{
    margin-bottom: -30px;
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.jpg);
        background-size: cover;
        background-position: center top;
        box-shadow: 0px 14px 18px rgba(63, 63, 63, 0.2);
        position: relative;
    }

}


/* sec01 */
.sec01-bg {
    background-image: url(../images/sec01-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .sec01-bg {
        background-image: none;
    }

    .sec01-mb1 {
        background-image: url(../images/sec01-bg-mb1.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .sec01-mb2 {
        background-image: url(../images/sec01-bg-mb2.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}

.sec01-card {
    margin: auto;
}


/* sec02 */
.sec02-bg {
    background-image: url(../images/sec02-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


@media screen and (max-width: 767px) {
    .sec02-bg {
        background-image: url(../images/sec02-bg-mb.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* sec03 */
.sec03-title {
    position: absolute;
    display: flex;
    justify-content: center;
    z-index: 0;
    height: 100%;
}

.sec03-bg {
    background-image: url(../images/sec03-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.sec03-card {
    border: solid #ffeb9c 5px;
}

@media screen and (max-width: 767px) {
    .sec03-title {
        position: relative;
        display: flex;
        justify-content: center;
        z-index: 0;
    }

    .sec03-bg {
        background-image: url(../images/sec03-bg-mb.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* method */

section#method a:hover {
    background-color: #ffcf2f;
}

/* 斷點區 */

@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) {}