/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

main {
    background-image: url(../images/bg.png);
    background-size: 2400px;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    main {
        background-image: url(../images/bg-mb.png);
        background-size: contain;
        overflow: hidden;
        background-position: top center;
        position: relative;
        background-repeat: no-repeat;
    }
}


/* 按鈕顏色 */
.btnset a {
    color: #ff7e00;
    border: 3px solid #ffdc30;
    background-color: #fff;
    box-shadow: 0px 5px #ffdc30;
    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: #ff7e00;
    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;
    }
}

.sec-title {
    position: absolute;
    width: 100%;
    top: -4.4%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carsboxbg {
    padding: 8px;
    /* border: 5px solid #fff6e5; */
    border-width: 5px;
    border-style: solid;
    border-color: transparent;
    /* border-radius: 2rem; */
    background-image: linear-gradient(white, white), linear-gradient(to bottom, #ffe9c0, #ffffff, #ffe9c0);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border-radius: 0 0 999px 999px;
}

@media screen and (max-width: 767px) {
    .carsboxbg {
        border-width: 3px;
    }
}


/* KV */
.title {
    position: absolute;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.title img {
    height: 100%;
}

.title h1 {
    height: 100%;
}

/* news1 */
.news1-mb {
    background-image: url(../images/news1-mb.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

#news1 * [class^=swiper-container] {
    padding-bottom: 0;
}

#news1 .swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 5px;
}

/* sec01 */
.sec01-bg {
    background-image: url(../images/sec01-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .sec01-bg {
        background-image: url(../images/sec01-bg-mb.png);
    }
}

/* sec02 */
.sec02-1-bg {
    background-image: url(../images/sec02-1-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.sec02-2-bg {
    background-image: url(../images/sec02-2-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* sec03 */
.sec03-1-bg {
    background-image: url(../images/sec03-1-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.sec03-2-bg {
    background-image: url(../images/sec03-2-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* sec03 */
.sec04-1-bg {
    background-image: url(../images/sec04-1-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}

.sec04-2-bg {
    background-image: url(../images/sec04-2-bg.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}


/* method */
#method {
    color: white;
    text-shadow: black 0px 1px 4px, black 0px 1px 4px;
}
section#method a{
    color: yellow;
    transition: all 0.35s;
}
section#method a:hover {
    background: yellow;
    /* border-radius: 99px; */
    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(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@-moz-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@-ms-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@-o-keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}

@keyframes baloon_1 {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(20px);
    }
}


.snowmask {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/leaf1.png), url(../images/leaf2.png);
    -webkit-animation: 15s snow linear infinite;
    animation: 15s snow linear infinite;
    pointer-events: none;
    z-index: 99;
}

@-webkit-keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}

@keyframes snow {
    0% {
        background-position: 0 0, 0 0
    }

    100% {
        background-position: 500px 500px, 1000px 500px
    }
}