/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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.jpg);
    background-position: center;
    background-attachment: fixed;
    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;
}

.s2-card-bg{
    background-image: url(../images/s2-card-bg.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.s2-card-bg-mb{
    background-image: none;
}

.s3-left-bg{
    background-image: url(../images/s3-left-bg.png);
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
}

.s3-box-bg{
    background-color: #751009;
    border-radius: 16px;
}

.s4-right-bg{
    background-image: url(../images/s4-right-bg.png);
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
}

.s5-title-bg{
    background-image: url(../images/s5-title-bg.png);
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
}

.s1-bg{
    background-image: url(../images/s1-bg-1.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

@keyframes s1bg {
    0%,100% {
        background-image: url(../images/s1-bg.png);
    }

    50% {
        background-image: url(../images/s1-bg-2.png);
    }
}

.s1-bg-mb{
    background-image: url(../images/s1-bg-mb.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.s2-bg{
    background-image: url(../images/s2-bg.jpg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.s4-bg{
    background-image: url(../images/s4-bg.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.s5-bg{
    background-image: url(../images/s5-bg.png);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.s2-box{
    background-color: #a6d1ed;
    border-radius: 30px 30px 12px 12px;
}

.s4-box{
    background-color: #ffe7f1;
    border-radius: 30px 30px 12px 12px;
}

.s5-box{
    background-color: #dfc19a;
    border-radius: 30px 30px 12px 12px;
}

.cloud1{
    right: 0;
    top: 30%;
    animation: cloud1 5s infinite ease-in-out;
}

@keyframes cloud1 {
    0%,100% {
        opacity: 0;
        transform: translate(0);
    }

    50% {
        opacity: 1;
        transform: translate(5%, 10%);
    }
}

.cloud2{
    left: 10%;
    top: 20%;
    animation: cloud1 5s infinite ease-in-out;
}

@keyframes cloud2 {
    0%,100% {
        opacity: 0;
        transform: translate(0);
    }

    30% {
        opacity: 1;
        transform: translate(50%);
    }
}

.rabbit1{
    right: 0;
    bottom: 30%;
    animation: rabbit1 3s infinite ease-out;
}

.rabbit2{
    left: 0;
    bottom: 0;
    animation: rabbit2 3s infinite ease-out;
}

.rabbit3{
    right: -10%;
    bottom: 0;
    animation: rabbit3 3s infinite ease-out;
}

.rabbit4{
    left: 0;
    bottom: 10%;
}

.rabbit5{
    right: 0;
    top: 10%;
}

@keyframes rabbit1 {

    0% {
        opacity: 0;
        transform: translate(5%, 10%);
    }

    20%,30% {
        opacity: 1;
        transform: translate(0);
    }

    50%,100% {
        opacity: 0;
    }
}

@keyframes rabbit2 {

    0%,30% {
        opacity: 0;
        transform: translate(5%, -10%);
    }

    50% {
        opacity: 1;
        transform: translate(0);
    }

    70% {
        opacity: 0;
        transform: translate(0);
    }
}

@keyframes rabbit3 {

    10% {
        opacity: 0;
        transform: translate(0);
    }

    70% {
        opacity: 0;
        transform: translate(5%);
    }

    90% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes teeter3 {

    0% {
        -webkit-filter: brightness(1);
    }

    3% {
        -webkit-filter: brightness(2);
    }

    10% {
        -webkit-filter: brightness(1);
    }

    97% {
        -webkit-filter: brightness(1);
    }

    100% {
        -webkit-filter: brightness(2);
    }
}

.animation_light {
    animation: teeter3 .5s infinite alternate;
}


.floating-box {
    -webkit-animation: baloon_1 5s infinite;
    -moz-animation: baloon_1 5s infinite;
    -ms-animation: baloon_1 5s infinite;
    -o-animation: baloon_1 5s infinite;
    animation: baloon_1 5s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

@keyframes baloon_1 {

    0% {
        transform: translateY(-20px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-20px);
    }

}

.floating-box-2 {
    -webkit-animation: baloon_2 5s infinite;
    -moz-animation: baloon_2 5s infinite;
    -ms-animation: baloon_2 5s infinite;
    -o-animation: baloon_2 5s infinite;
    animation: baloon_2 5s infinite;
    -webkit-animation-direction: alternate;
    -moz-animation-direction: alternate;
    -ms-animation-direction: alternate;
    -o-animation-direction: alternate;
    animation-direction: alternate;
}

@keyframes baloon_2 {

    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(20px);
    }

}



.methodbox-bg{
    background-image: url(../images/methodbox-bg.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}


.kv_pd_bg{
    background-image: url(../images/kv-pd-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.mix-blend{
    mix-blend-mode: screen;
    -webkit-mix-blend-mode: screen;
    -o-webkit-mix-blend-mode: screen;
    -moz-mix-blend-mode: screen;
}

.mt-less{
    margin-top: -20px;
}

.mt-less2{
    margin-top: 0px;
}



section#method a{
    color: #751009;
    background-color: #fff;
}

section#method a:hover{
    color: #fff;
    background-color: #751009;
}


/* .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;
}

.visualBox{
    background-image: url(../images/kvbg.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    /* background-size: 1440px; */
    background-size: cover;
}
.swiper-pagination.qq.swiper-pagination-clickable.swiper-pagination-bullets{
    bottom: 15px;
}
.box-atop{
    background-image: url(../images/box-atop.jpg);
    background-repeat: repeat-y;
    margin-top: -50px;
    padding-top: 50px;
    padding-bottom: 30px;
}
.box-abottom{
    background-image: url(../images/box-abottom.png);
    background-repeat: no-repeat;
    margin-top: -30px;
    padding-top: 30px;
}
.dui-container{
    position: relative;
    min-height: 100%;
    width: 100%;
    }
.left-leaf{
    position: fixed;
    bottom: 0px;
    left: -25%;
    }
.right-leaf{
    position: fixed;
    bottom: 0px;
    right: -30%;
    }    

/* 斷點區 */

@media screen and (max-width: 1659px){
    
}
@media screen and (max-width: 1399px){
    
}
@media screen and (max-width: 1199px){
    .rabbit1{
        width: 150px;
    }
    
    .rabbit2{
        width: 150px;
    }

    .rabbit3{
        width: 100px;
    }
}

@media screen and (max-width: 991px){

    
}

@media screen and (max-width: 767px){
.cloud1{
    right: 0%;
    top: 30%;
    width: 50px;
}

.cloud2{
    right: 0%;
    top: 20%;
    width: 50px;
}

.rabbit1{
    right: 10%;
    bottom: 20%;
    width: 100px;
}

.rabbit2{
    left: 0%;
    bottom: 0%;
    width: 100px;
}

.rabbit3{
    right: 0%;
    bottom: 0%;
    width: 50px;
}

.rabbit4{
    left: -20%;
    width: 150px;
}

.rabbit5{
    right: -20%;
    width: 150px;
}

.mt-less2{
    margin-top: -20px;
}

.visualBox{
    background-image: url(../images/kvbg-mb.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

.kv_pd_bg{
    background-image: url(../images/kv-pd-bg-mb.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.s2-card-bg-mb{
    background-image: url(../images/s2-card-bg-mb.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.s3-title-bg-mb{
    background-image: url(../images/s3-title-mb-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.s3-bg-mb{
    background-color: #751009;
}

.s3-left-bg{
    background-image: url(../images/s3-left-bg-mb.png);
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
}

.s4-right-bg{
    background-image: url(../images/s4-right-bg-mb.png);
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
}

.s5-title-bg{
    background-image: url(../images/s5-title-bg-mb.png);
    background-size: contain;
    background-position:center;
    background-repeat: no-repeat;
}

.s5-bg{
    background-image: url(../images/s5-bg-mb.png);
    background-size: contain;
    background-position: top center;
    background-repeat: repeat-y;
}

.s2-card-bg{
    background-image: none;
}

.s3-card-bg{
    background-image: url(../images/s3-card-bg-mb.png);
    background-size: contain;
    background-position: center;
}

.s5-card-bg{
    background-image: url(../images/s5-card-bg-mb.png);
    background-size: cover;
    /* background-position:bottom center; */
}

.brands-bg{
    background-image: url(../images/brands-bg-mb.png);
    /* background-size: contain;
    background-position: top center;
    background-repeat: no-repeat; */
}

.s2-bg{
    background-image: url(../images/s2-bg-mb.png);
    background-size: contain;
    background-position: top center;
    background-repeat: repeat-y;
}

/* body {
    background-image: url(../images/body-bg-mb.png);
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
} */

    .actablebox{
        font-size: 14px;
    }
    .actablebox th.table-title{
        font-size: 1.2rem;
    }
    footer {
        padding-bottom: 15px;
    }


}

@media screen and (max-width: 640px){
    .logooutbox .logoinn{
        flex-basis: 24%;
    }
}

@media screen and (max-width: 480px){

}