body{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
     background-color: #fff6df;
}
a{
    text-decoration: none;
    color: inherit;
}

p, h1, h2, h3, h4, h5, h6{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Noto Sans TC', sans-serif;
}

/* gotop */
.gotop{
    position: fixed;
    right: 1%;
    bottom: 1%;
    z-index: 1;
}
.gotop img{
    width: 100%;
}

/* seo */
.newSeo{
    position: absolute;
    left: -1000px;
}

/* 第一區-導覽列 */
.header{
    width: 100%;
    padding: 20px 0px;
    background-color: #FFF;
}
.headerFlex{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.headerLogo{
    width: 20%;
    padding: 0px 50px !important;
}
@media(max-width:800px){
  .headerLogo{
    padding: 0px 10px !important;
}  
}
.headerMenu{
    width: 80%;
    text-align: right;
    padding: 0px 40px;
}
.headerMenu a{
    text-align: center;
    font-size: 1.2rem;
    margin-left: 15px;
}

.headerMenu a:hover{
    color: darkred;
    font-weight: bold;
    border-bottom: 1px solid darkred;
}

@media(max-width:800px){
    .headerMenu{
    padding: 0px 10px;
}
    .headerMenu a{
    font-size: 1rem;
}
}
@media(max-width:600px){
   .header{
    display: none;
   }
}


/* 手機版 Header */
.headerMobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    background: #f5f5f5;
    position: relative;
}
.headerLogo {
    padding: 0px;
}
.headerLogo img {
    height: 40px;
}

/* 漢堡按鈕 */
.mobileMenu {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    z-index: 2000; /* 保證在最上層 */
}

.mobileLine {
    border-bottom: 2px solid black;
    margin-top: 6px;
    transition: 0.4s;
}

/* 三條線 */
.mobileLine {
    width: 30px;
    height: 2px;
    background-color: black;
    margin: 4px 0;
    transition: 0.4s;
}

/* 點擊後 → X */
.mobileMenu.active .line1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobileMenu.active .line2 {
    opacity: 0;
}

.mobileMenu.active .line3 {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* 手機選單 */
.mob-headerMenu {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #f5f5f5;
    position: absolute;
    top: 64px;
    right: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    opacity: 0.95;
    z-index: 1001;
}

.mob-headerMenu a {
    padding: 12px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.mob-headerMenu a:hover {
    font-weight: bold;
    background: #eee;
}

/* RWD：只有 600px 以下才啟用 */
@media (min-width: 601px) {
    .headerMobile, .mobileMenu, .mob-headerMenu {
    display: none !important;
    }
}

/* 第二區 banner*/
.newBanner{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;   
}
.newBannerImg img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* .newBannerTxt{
    position: absolute;
    right: -22%;
    top:8%;
    animation: fadeInTxt 2s ease-in forwards;
} */

/* 馬 */
.newBannerAnimation{
    width: 100%;
    position: absolute;
    bottom: 5%;
    left: 15%;
    overflow: hidden;
    object-fit:cover;
    animation: upDown 1.2s ease-in-out infinite;    
}

.newBannerAnimation-1{
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;    
    animation: movecloud1 3s linear infinite;
}

.newBannerAnimation-2{
    width: 100%;
    position: absolute;
    left: 100px;
    bottom: 100px;    
    animation: movecloud2 3s linear infinite;
}
.newBannerAnimation-2 img{
    width: 13%;
    position: absolute;
    left: 100px;
    bottom: 0px;    
    animation: movecloud2 3s linear infinite;
}

.newBannerMobile{
    width: 100%;
    display: none;
}

/* 馬上下浮動 */
@keyframes upDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 標語淡入 */
@keyframes fadeInTxt {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 背景雲-1滾動動畫 */
@keyframes movecloud1 {
    0% { transform: translateX(15%);scale: 0.8; }
    50% { transform: translateX(17%); }
    100% { transform: translateX(15%);scale: 0.8; }
}
/* 背景雲-2滾動動畫 */
@keyframes  movecloud2 {
    0% { transform: translateX(18%);}
    50% { transform: translateX(16%); }
    100% { transform: translateX(18%); }
}

@media(max-width:1670px){
    .newBannerAnimation img{
        width: 25%;
    }
}
@media(max-width:1375px){
  .newBannerAnimation-1 img{
    width: 18%;
    position: absolute;
    left: 0px;
    bottom: 15px; 
}

.newBannerAnimation-2 img{
    width: 14%;
    position: absolute;
    left: 50px;
    bottom: -10px;  
}
}
@media(max-width:1160px){
.newBannerAnimation-2 img{
    width: 13%;
    position: absolute;
    left: 0px;
    bottom: -20px;  
}
}
@media(max-width:1000px){
.newBannerAnimation-1 img{
    width: 16%;
    position: absolute;
    left: 0px;
    bottom: 15px;  
}
.newBannerAnimation-2 img{
    width: 12%;
    position: absolute;
    left: 0px;
    bottom: -40px;  
}
}
@media(max-width:700px){
.newBannerAnimation-2 img{
    width: 12%;
    position: absolute;
    left: -15px;
    bottom: -50px;  
}
}
@media(max-width:430px){
    .newBannerMobile{
        display: block;
    }
    .newBanner{
        display: none;
    }
}


/* 第三區-選單 */
.newMenu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: aliceblue;
    background-color: darkred;
    position: sticky;
    top: 0px;    
    opacity:1;
    z-index: 1100;
   
}
.newMenuPage{
    font-size: 2rem;
}
.newMenuPage.active {
    color: bisque;
    background: rgb(90, 0, 0);
    font-weight: bold;
    
}

@media(max-width:800px){
    .newMenuPage{
    font-size: 1.2rem;
    }
}



/* 第四區-過年頁 */
    .newContent {
        width: 100%;
        display: none;
    }
    .newContent.active {
        display: block;
    }
   
    .newMenuPage {
        padding: 8px 15px;       
        transition: 0.3s;
    }
 