/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/body_bg.webp); */
    background-color: #F8F4E8;
    background-position: center;
    background-size: 2400px;
}

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: #784b30;
    border: 3px solid #ffce98;
    background-color: #fff;
    box-shadow: 0px 5px #ffce98;
    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 #ffce98;
    background-color: #784b30;
    box-shadow: 0px 5px #ffce98;
}

/*來去逛逛滑鼠移入*/

.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;
    }
}

/* bg */
.bg1 {
    background-image: url(../images/bg.jpg);
    background-size: cover;
    background-position: bottom center;
}

.bg2 {
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: top center;
}

/* KV */
#kvTopBN {
    background-image: url(../images/kv-bg.png);
    background-size: cover;
    background-position: top center;
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.png);
        background-position: bottom center;
    }
}

/* news */
.newsBoxb {
    background-image: url(../images/news-boxb-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 767px) {
    .newsBoxb {
        background-image: url(../images/news-boxb-bg-mb.png);
    }
}


/* sec01 */
.sec01Bg {
    background-image: url(../images/sec01-1-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 1;
}

.card-bg {
    background-color: white;
    border-radius: 999px;
    padding: 180px 5px 40px 5px;
    margin-top: -200px;
    z-index: 0;
}

.sec01-1 {
    border: #6b4e3b 3px solid;
}

.sec01-2 {
    border: #1a3a89 3px solid;
}

.sec01-3 {
    border: #215604 3px solid;
}

.sec01-4 {
    border: #700e25 3px solid;
}


/* sec02 */
.sec02-bg {
    background-image: url(../images/sec02-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 1;
}

.sec02Card {
    border: #e2d2c0 3px solid;
}

@media screen and (max-width: 767px) {
    .sec02Card {
        margin-top: -35px;
        position: relative;
        z-index: 0;
    }
}

.sec02-title {
    margin-bottom: -50px;
    position: relative;
    z-index: 2;
}

@media screen and (max-width: 767px) {
    .sec02-title {
        margin-bottom: -30px;
        position: relative;
        z-index: 2;
    }
}

/* sec03 */
.sec03Product {
    margin-bottom: -80px;
    z-index: 2;
    position: relative;
}

.card-bg2 {
    border-radius: 25px;
    z-index: 1;
    padding-top: 50px;
}

.sec03-1-bg {
    background-image: url(../images/sec03-1-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.sec03-1Card {
    border: #0485a3 3px solid;
}

.sec03-2-bg {
    background-image: url(../images/sec03-2-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.sec03-2Card {
    border: #932396 3px solid;
}

/* sec04 */
.sec04bg {
    background-image: url(../images/sec04-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width: 767px) {
    .sec04bg {
        background-image: url(../images/sec04-bg-mb.png);
    }
}

/* method */
#method {
    background-color: rgba(255, 255, 255, 0.5);
}

section#method a {
    color: white;
    background-color: red;
    padding: 1px 2px;
    transition: all 0.35s;
}

section#method a:hover {
    background: white;
    color: red;
}



/* 斷點區 */

@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) {}

/* 動畫 */
/* 左右扇形移動 */
.wobble-hor-bottom-2 {
    -webkit-animation: wobble-hor-bottom-2 5s cubic-bezier(.25, .46, .45, .94) infinite both;
    animation: wobble-hor-bottom-2 5s cubic-bezier(.25, .46, .45, .94) infinite both
}

@-webkit-keyframes wobble-hor-bottom-2 {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg)
    }

    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg)
    }

    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg)
    }

    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg)
    }

    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg)
    }
}

@keyframes wobble-hor-bottom-2 {

    0%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        -webkit-transform-origin: 50% 50%;
        transform-origin: 50% 50%
    }

    15% {
        -webkit-transform: translateX(-30px) rotate(-6deg);
        transform: translateX(-30px) rotate(-6deg)
    }

    30% {
        -webkit-transform: translateX(15px) rotate(6deg);
        transform: translateX(15px) rotate(6deg)
    }

    45% {
        -webkit-transform: translateX(-15px) rotate(-3.6deg);
        transform: translateX(-15px) rotate(-3.6deg)
    }

    60% {
        -webkit-transform: translateX(9px) rotate(2.4deg);
        transform: translateX(9px) rotate(2.4deg)
    }

    75% {
        -webkit-transform: translateX(-6px) rotate(-1.2deg);
        transform: translateX(-6px) rotate(-1.2deg)
    }
}