/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/bg.jpg);
    background-size: 2400px;
    background-position: top center;
}

@media screen and (max-width: 767px) {
    main {
        background-image: url(../images/bg-mb.jpg);
        background-size: 100%;
        background-position: top center;
    }

}


/* 按鈕顏色 */
.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 */
.bg2 {
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: top center;
}

@media screen and (max-width: 767px) {
    .bg2 {
        background-image: url(../images/bg2-mb.jpg);
        background-size: 100%;
        background-position: top center;
    }
}

@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }

}


/* KV */
#kvTopBN {
    position: relative;
    background-image: url(../images/kv-bg.jpg);
    background-size: cover;
    background-position: bottom center;
    box-shadow: 0px 14px 18px rgba(152, 139, 123, 0.8);
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.jpg);
        background-size: cover;
        background-position: bottom center;
    }

}

#kvTopBN .swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 10px;
}

.title {
    position: absolute;
    display: flex;
    justify-content: center;
    z-index: 10;
    height: 100%;
}

.title img {
    height: 100%;
}


/* sec01 */
.sec01-bg {
    background-image: url(../images/sec01-1-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
}


/* sec02 */
.sec02-bg {
    background-image: url(../images/sec02-bg.png);
    background-position: center;
    background-size: cover;

}

@media screen and (max-width: 767px) {
    .sec02-bg {
        background-image: url(../images/sec02-bg-mb.png);
        background-position: center;
        background-size: cover;
    }
}


/* sec03 */
.sec03-bg {
    background-image: url(../images/sec03-bg.png);
    background-position: center;
    background-size: cover;

}

@media screen and (max-width: 767px) {
    .sec03-bg {
        background-image: url(../images/sec03-bg-mb.png);
        background-position: center;
        background-size: cover;
    }
}

/* sec04 */
.sec3slides .container {
    background: url("../images/sec04-bg.png");
    background-size: 100% 100%;
}

@media screen and (max-width: 767px) {
    .sec3slides .container {
        background: url("../images/sec04-bg-mb.png");
        background-size: 100% 100%;
    }

}

.sec3slides .carousel-control-prev,
.sec3slides .carousel-control-next {
    background-color: unset;
    border: unset;
    color: rgb(209, 0, 0);
    opacity: 0.8;
}

.sec3slides .carousel-control-prev {
    left: -4.5%;
}

.sec3slides .carousel-control-next {
    right: -4.5%;
}

.sec3slides .carousel-control-prev-icon {
    background-image: url(../images/arrow1.png);
}

.sec3slides .carousel-control-next-icon {
    background-image: url(../images/arrow2.png);
}

.sec3slides .carousel-indicators {
    bottom: 35px;
}

.sec3slides .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 4px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #ff0000;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.sec3slides .carousel-indicators .active {
    opacity: 1;
}

@media (max-width: 1199px) {
    .sec3slides .carousel-control-prev {
        left: -5%;
    }

    .sec3slides .carousel-control-next {
        right: -5%;
    }

    .sec3slides .carousel-indicators {
        bottom: 25px;
    }
}

@media (max-width: 992px) {
    .sec3slides .carousel-control-prev {
        left: -4.5%;
    }

    .sec3slides .carousel-control-next {
        right: -4.5%;
    }

    .sec3slides .carousel-indicators {
        bottom: 15px;
    }
}

@media (max-width: 767px) {
    .sec3slides .container {
        /* background: unset; */
        padding-left: 5px;
        padding-right: 5px;
    }

    /* .sec3slides {
        background: url("../images/bgreel.png");
        background-size: 110% 100%;
        background-position: center center;
        padding: 50px 5px 100px;
    } */

    .sec3slides .carousel-control-prev {
        left: -5%;
    }

    .sec3slides .carousel-control-next {
        right: -5%;
    }
}


.sec3slides .pdArea .pd:nth-of-type(n + 3) {
    margin-top: -5px;
}


/* sec05 */
.sec05-bg {
    background-image: url(../images/sec05-2-bg.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}


.sec05-card {
    border: #ffe7c8 solid 5px;
    margin: 0 3px;
}


/* sec05 */
.sec06-bg1 {
    background-image: url(../images/sec06-1-bg.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.sec06-bg2 {
    background-image: url(../images/sec06-4-bg.png);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}


/* method */
section#method a{
    color: red;
}

section#method a:hover{
    color: white;
    background-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) {}




/* 動畫 */
@keyframes flashLight2 {
    0% {
        filter: brightness(1);
    }

    18% {
        filter: brightness(1);
    }

    19% {
        filter: brightness(2);
    }

    20% {
        filter: brightness(1);
    }

    21% {
        filter: brightness(2);
    }

    22% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1);
    }

    51% {
        filter: brightness(2);
    }

    52% {
        filter: brightness(1);
    }

    53% {
        filter: brightness(2);
    }

    54% {
        filter: brightness(1);
    }

    78% {
        filter: brightness(1);
    }

    80% {
        filter: brightness(2);
    }

    82% {
        filter: brightness(1);
    }

    99% {
        filter: brightness(1);
    }

}

.flashLight {
    /* mix-blend-mode: hard-light; */
    animation: flashLight2 8s infinite ease-in-out;
}



@-webkit-keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}