/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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 center 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: #0b2672;
    border: 3px solid #0b2672;
    background-color: #fff;
    box-shadow: 0px 5px #0b2672;
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    .btnset a {
        font-size: 1.4rem;
        margin: 1px;
    }
}

.btnset a:hover {
    color: #fff;
    border: 3px solid #011344;
    background-color: #0b2672;
    box-shadow: 0px 5px #011344;
}

/*來去逛逛滑鼠移入*/

.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 */
.cardBg {
    box-sizing: border-box;
    border-radius: 25px;
    background-image: url(../images/card-bg.jpg);
    border: white 4px solid;
}

@media screen and (max-width: 767px) {
    .cardBg {
        border-radius: 15px;
    }
}

.sec-title {
    margin-bottom: -45px;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .sec-title {
        margin-bottom: -30px;
    }
}

.bg2 {
    background-image: url(../images/bg2.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    box-shadow: 0px 0px 40px #000;
    width: 100%;
}

@media screen and (max-width: 767px) {
    .dMdNone {
        display: none;
    }
}

.carsboxbg {
    padding: 8px;
}

/* KV */
#kvTopBN {
    background-image: url(../images/kv-bg.png);
    background-size: 2400px;
    background-position: bottom center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    #kvTopBN {
        background-image: url(../images/kv-bg-mb.png);
        background-size: cover;
        background-position: bottom center;
        background-repeat: no-repeat;
    }

    #kvTopBN .swiper-container-horizontal>.swiper-pagination-bullets {
        bottom: 50px;
    }
}

/* sec01 */
.sec01-product {
    background-image: url(../images/sec01-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* sec02 */
.sec02-bg {
    background-image: url(../images/sec02-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec02-title {
    position: absolute;
    top: 43%;
    width: 100%;
    z-index: 20;
}

.sec02-title .row {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .sec02-title {
        position: absolute;
        top: 53%;
        width: 100%;
        z-index: 20;
    }

    .sec02-bg {
        background-image: url(../images/sec02-bg-mb.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* sec03 */
.sec03-product {
    background-image: url(../images/sec03-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* sec04 */
.sec04-product {
    background-image: url(../images/sec04-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* sec05 */
.sec05-1-product {
    background-image: url(../images/sec05-1-bg.jpg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec05-2-product {
    background-image: url(../images/sec05-2-bg.jpg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* sec06 */
.sec06-product {
    background-image: url(../images/sec06-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* sec07 */
.sec07-product {
    background-image: url(../images/sec07-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .sec07-product {
        background-image: url(../images/sec07-bg-mb.png);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* sec08 */
.sec08-title {
    margin-bottom: -30px;
    position: relative;
    z-index: 10;
}

.sec08-1-product {
    background-image: url(../images/sec08-1-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec08-2-product {
    background-image: url(../images/sec08-2-bg.png);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.sec08-info {
    position: absolute;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
}

/* method */
section#method a{
    color: red;
    transition: all 0.35s;
}
section#method a:hover {
    padding: 0 3px;
    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) {}



/* 動畫 */
/* 放大縮小 */
.kvcheer {
    z-index: 9;
    pointer-events: none;
    transform-origin: center bottom;
    animation: cheerup 5s ease-in-out infinite normal both;
}

@keyframes cheerup {

    1% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.05);
    }

    60% {
        transform: scale(0.99);
    }

    75% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}

