/* 當你想為某一個區塊或方塊，增加背景，請在該區塊/方塊上增加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/sea_bg.jpg);
    background-color: #eed8bb;
    background-position: top center;
    background-attachment: fixed
    /* background-size: 2400px; */
}

body.hero-section {
  position: relative;
  overflow: hidden; /* 確保偽元素不會超出邊界 */
  
  /* 這裡不要放 background-image */
}

/* 透過偽元素來抓背景圖 */
body.hero-section::before {
  content: "";
  position: fixed; /* 關鍵：用 fixed 定位取代 background-attachment */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-image: url('sea_bg.jpg.jpg');
  background-size: cover;
  background-position: center;
  
  z-index: -1; /* 確保背景在文字內容的後方 */
  
  /* 效能優化（自由選用）：通知瀏覽器這塊會獨立渲染，減少閃爍 */
  will-change: transform; 
  transform: translate3d(0, 0, 0); 
}

main {
    /* background-image: url(../images/topBn_bgrepeat.webp); */
    background-size: 100% 100%;
    overflow: hidden;
    background-position: top center;
    position: relative;
    background-repeat: repeat-x;
}

.visualBox{
    background-image: url(../images/topbn_bgrepeat.png);
    background-position: top center;
    background-repeat: no-repeat;
}


/* 按鈕顏色 */
.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;
}

.titleset{
    position: relative;
    z-index: 2;
}
.btnset a{
    color: #fd3669;
    border: 3px solid #fd3669;
    background-color: #fff;
    box-shadow: 3px 5px 2px 1px #0005;
    line-height: 1.2;
}
.btnset a:hover {
    /* color: rgb(44, 40, 1); */
    color: #fff;
    border: 3px solid #fff;
    background-color: #fd3669;
}
.sea-bg{
    background-image: url(../images/body_bg.jpg);
    background-position: center;
    background-attachment: fixed;
}

.boxa-bg{
    background-image: url(../images/boxa-bg.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    margin-top: -90px;
}
.boxb-bg{
    background-image: url(../images/boxb-bg.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    margin-top: -90px;
}
.boxc-bg{
    background-image: url(../images/boxc-bg.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    margin-top: -90px;
}
.boxd-bg{
    background-image: url(../images/boxd-bg.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    margin-top: -90px;
}
.swiper-pagination.qq.swiper-pagination-clickable.swiper-pagination-bullets{
    bottom: 8px;
}

/* 斷點區 */

@media screen and (max-width: 1659px){
    
}
@media screen and (max-width: 1399px){
    
}
@media screen and (max-width: 1199px){
    
}

@media screen and (max-width: 991px){
    .btnset a{
        font-size: 1.5em;
    }
}

@media screen and (max-width: 767px){
    .actablebox{
        font-size: 14px;
    }
    .actablebox th.table-title{
        font-size: 1.2rem;
    }
    .noodle-bg{
    background-image: url(../images/noodle-bg-mb.jpg);
    background-repeat: repeat-y;
    background-position: bottom center;
    background-size: cover;
    }
    .visualBox{
    background-image: url(../images/topbn_bgrepeat-mb.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    }   
    .drink-bg{
    margin-top: -70px;
    }
    .ice-bg{
        margin-top: -70px;
    }
   footer {
        padding-bottom: 15px;
    }

    .boxa-bg, .boxb-bg, .boxc-bg, .boxd-bg{
        margin-top: -60px;
    }
}

@media screen and (max-width: 640px){
    .logooutbox .logoinn{
        flex-basis: 24%;
    }
}

@media screen and (max-width: 480px){

}