/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/bg2.jpg) no-repeat top center;
    -webkit-background-size: 2400px;
    -moz-background-size: 2400px;
    -o-background-size: 2400px;
    background-size: 2400px;
}

@media screen and (max-width: 767px) {
    body:before {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        background: url(../images/bg2-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: #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 */
.bg1 {
    background-image: url(../images/bg1.jpg);
    background-size: 2400px;
    background-position: center bottom;
    box-shadow: rgba(24, 12, 0, 0.4) 0 18px 20px;
}

@media screen and (max-width: 767px) {
    .bg1 {
        background-image: url(../images/bg1-mb.jpg);
        background-size: cover;
        background-position: center bottom;
    }

}

.card-bg {
    background-image: url(../images/card-bg.jpg);
    background-size: cover;
    background-position: center;
}

@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;
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.png);
        background-size: cover;
        background-position: bottom center;
    }

}

.title {
    position: absolute;
    display: flex;
    justify-content: center;
    z-index: 10;
}

#kvTopBN .swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 50px;
}

@media screen and (max-width: 767px) {

    #kvTopBN .swiper-container-horizontal>.swiper-pagination-bullets,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom:30px;
    }
}


/* sec01 */
.sec01-mt {
    margin-top: -60px;
    position: relative;
    z-index: 1;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.sec01-1 {
    background-image: url(../images/sec01-1-bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}

.sec01-1-card-bg {
    border: #01582f 5px solid;
}

.sec01-2 {
    background-image: url(../images/sec01-2-bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}

.sec01-2-card-bg {
    border: #00215a 5px solid;
}

.sec01-3 {
    background-image: url(../images/sec01-3-bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}

.sec01-3-card-bg {
    border: #352311 5px solid;
}

.sec01-4 {
    background-image: url(../images/sec01-4-bg.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2;
}

.sec01-4-card-bg {
    border: #bd8c3c 5px solid;
}

@media screen and (max-width: 767px) {
    .sec01-mt {
        margin-top: -40px;
        position: relative;
        z-index: 1;
        border-radius: 0 0 25px 25px;
        overflow: hidden;
    }
}

/* sec02 */
.sec02-bg {
    background-image: url(../images/sec02-bg.png);
    background-size: cover;
    background-position: center;
    margin-top: -45px;
}

@media screen and (max-width: 991px) {
    .sec02-bg {
        margin-top: -35px;
    }
}

@media screen and (max-width: 767px) {
    .sec02-bg {
        background-image: url(../images/sec02-bg-mb.png);
        margin-top: -30px;
    }
}



/* sec03 */
.sec03-bg {
    background-image: url(../images/sec03-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec03-card {
    border: #ffe9c0 solid 5px;
}

.sec03-product {
    margin-top: -50px;
}

@media screen and (max-width: 1199px) {
    .sec03-product {
        margin-top: -35px;
    }
}

@media screen and (max-width: 767px) {
    .sec03-product {
        margin-top: -25px;
    }
}



/* sec04 */
.sec04-product {
    margin-top: -25px;
}

@media screen and (max-width: 1199px) {
    .sec04-product {
        margin-top: -20px;
    }
}

.sec04-1-bg {
    background-image: url(../images/sec04-1-bg.png);
    background-size: cover;
    background-position: center;
}

.sec04-2-bg {
    background-image: url(../images/sec04-2-bg.png);
    background-size: cover;
    background-position: center;
}


/* sec05 */
.sec05-bg {
    background-image: url(../images/sec05-bg.png);
    background-size: cover;
    background-position: center;
    margin-top: -45px;
}

@media screen and (max-width: 991px) {
    .sec05-bg {
        margin-top: -35px;
    }
}

@media screen and (max-width: 767px) {
    .sec05-bg {
        background-image: url(../images/sec05-bg-mb.png);
        margin-top: -30px;
    }
}


/* 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) {}



/* 上下移動 */
.hot_1 {
    -webkit-animation: baloon_1 3s infinite;
    -moz-animation: baloon_1 3s infinite;
    -ms-animation: baloon_1 3s infinite;
    -o-animation: baloon_1 3s infinite;
    animation: baloon_1 3s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

@-webkit-keyframes baloon_1 {
    0% {
        transform: translateY(5x);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(5px);
    }
}

@-moz-keyframes baloon_1 {
    0% {
        transform: translateY(5x);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(5px);
    }
}

@-ms-keyframes baloon_1 {
    0% {
        transform: translateY(5x);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(5px);
    }
}

@-o-keyframes baloon_1 {
    0% {
        transform: translateY(5x);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(5px);
    }
}

@keyframes baloon_1 {
    0% {
        transform: translateY(5x);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(5px);
    }
}




/* 上下移動 */
.hot_2 {
    -webkit-animation: baloon_2 3s infinite;
    -moz-animation: baloon_2 3s infinite;
    -ms-animation: baloon_2 3s infinite;
    -o-animation: baloon_2 3s infinite;
    animation: baloon_2 3s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

@-webkit-keyframes baloon_2 {
    0% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(10px);
    }
}

@-moz-keyframes baloon_2 {
    0% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(10px);
    }
}

@-ms-keyframes baloon_2 {
    0% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(10px);
    }
}

@-o-keyframes baloon_2 {
    0% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(10px);
    }
}

@keyframes baloon_2 {
    0% {
        transform: translateY(10px);
    }

    50% {
        transform: translateY(40px);
    }

    100% {
        transform: translateY(10px);
    }
}