html{
    scroll-behavior: smooth;
}
body{
    margin: 0px;
    padding: 0px;
}

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    letter-spacing: 1px;
    font-family: "Montserrat", "Noto Sans TC", "微軟正黑體";
    vertical-align: top;
}

a{
    text-decoration: none;
    text-align: center;   
}

/* seo */
.seo{
    position: absolute;
    top: 0px;
    left: -1000px;
    font-size: 0.1rem;
}

  /* 標籤 */
    .jhsale {
        position: absolute;
        top: 15px;
        left: 0px;
        padding: 5px 15px;
        margin: 0px;
        color: #fff !important;
        text-align: center;
        font-weight: bold;
        background-color: #ea5a26;
        border-radius: 0px 5px 25px 0px;
    }

    .jhsale>p {
        color: #fff !important;
        margin: 0px 10px !important;
        padding: 0;
    }



/* top */
 /* Go Top 按鈕 */
 #goTop {
    position: fixed;
    bottom: 5px;
    /* 與下方的距離, 也可改為百分比, 即為距離螢幕下方的百分比 */
    right: 5px;
    /* 與右方的距離 */
    width: 40px;
    /* 按鈕原始寬度 */
    height: 40px;
    /* 按鈕原始高度 */
    opacity: 0.9;
    /* 按鈕原始透明度 */
    z-index: 100;
    cursor: pointer;
    transition: 10s ease;
    /* 動畫效果 持續期間 */
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    
}

#goTop:hover {
    /* 滑鼠經過按鈕時 */
    opacity: 1;
    /* 透明度 */
    width: 80px;
    /* 按鈕寬度 */
    height: 80px;
    /* 按鈕高度 */
}

/* 第一區 */
/* header */
.header_bg{
    width: 100%;
    background-color: #FFF;
    padding: 20px 50px;
}

.header01 {
    width: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: center;       
    position: relative ;    
  } 
    
  .logo {
    width: 138px;
  }

  .right_box {
    display: flex;
    justify-content: flex-end ;
    align-items: center;
  }
  .right_box .home_box {
    border-right: 2px solid #BF3F00;
    margin: 0 10px 0 0 ;
    padding: 0 10px 0 0 ;   
  }
  .right_box .home_box a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #BF3F00;
    font-weight: 700;
  }
  .right_box .home_icon {
    width: 20px ;
    margin: 0 10px 0 0 ;
  }
  .right_box .fb a {
    width: 25px;
    display: block;
    margin: 0px 6px 0px 0px;
  }
  .right_box .line a {
    width: 25px ;
    display: block;
    margin: 0 0 0 6px;
  }

  @media(max-width:430px){
    .header_bg{
        padding: 10px 30px;
    }
  }
  /* header END */


/* 第二區BANNER */
.banner{
    width: 100%;
}
.banner img{
    display: block;
    width:100%;
    contain: unset;
}
.mob-banner{
    width: 100%;
}
.mob-banner img{
    display: block;
    width:100%;
    contain: unset;
}

@media(max-width:768px){
    .banner{
        display: none;        
    }
    .mob-banner{
        display: block !important;
    }
}

/* 第三區:NAV */
.nav{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;   
}

.nav a{ 
    font-size: 1.5rem;   
    font-weight: bold;
}

.nav-div1,
.nav-div2{
    padding: 10px;
}
.nav
.nav-div1:hover,
.nav .nav-div2:hover,
.nav-link:hover{
    color: #FFF;
    background-color: #023aa9;
    margin: 0px;
    cursor: pointer;
}
.nav-link {
    color: black;
    background-color: white;
    padding: 8px 16px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-link.active {
    background-color: #023aa9; /* 你想要的選中背景色 */
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
}

@media(max-width:430px){
    .nav-div1 a,
    .nav-div2 a{
        font-size: 1rem;
        font-weight: bold;
    }  
 
}

/* 第四區:國內旅遊 */
.jhTaichung-tw{
    width: 100%;
    display: block;
    /* height: 100vh; */
    background-color: #f7c21b;
    background-image: url(../images/bg-tw.jpg);
    background-position: 0%;
    background-repeat: repeat;
    background-size: contain;
}
.nav {
    position: sticky;
    top: 0;
    z-index: 1000; /* 確保在其他元素之上 */
    background-color: white; /* 背景色避免文字重疊時看不清楚 */
    padding: 10px 0; /* 視需求調整內距 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 可選：加陰影讓置頂效果更明顯 */
    opacity: 0.9;
}

.nav-tab{
    position: sticky;
    top: 0px;
    z-index: 1000;;
    opacity: 0.9;
    width: 100%;
    margin: auto;   
    padding: 10px; 
    text-align: center;
    background-color: #023aa9;
}
.nav-tab a{
    color: #FFF;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 10px 20px; 
}

.nav-tab a:hover{
    color: #f7c21b;
    background-color: rgb(54, 0, 124);
}

.country-title{
    max-width: 460px;
    margin: auto;
}

.country-title img{ 
    width: 100%;  
   display: block;
   align-items: center;
   justify-content: center;  
   margin: 50px auto;
}
@media(max-width:490px){ 
    .nav-tab a{
        font-size: 1rem;
        padding: 10px;
    } 
}
@media(max-width:430px){
    .nav{
        padding: 0px;
    }
    .nav-div1{
        padding: 0px;
        font-size: 1rem;
    }
    .nav-tab{
        top:0px; /* 44px */
        padding: 10px;
    }
    .nav-tab a{
        font-size: 1rem;
    }
}

@media(max-width:375px){
      .nav-tab{
        top: 0px; /* 44px */
    }
    .nav-tab a{
        font-size: 1rem;
        padding: 10px;
    }
    .nav-link{
        padding: 10px 15px;
    }
}

/* 第五區:國外旅遊 */
.jhTaichung-out{
    width: 100vw;
    /* height: 100vh; */
    background-color: #f7c21b;
    background-image: url(../images/bg.jpg);
    background-position: 0%;
    background-repeat: repeat;
    background-size: contain;
}

/* footer */
.footer{    
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-weight: bold;
    padding: 20px;
    background-color:#ea5a26;
}
.footer-img{
    width: 200px;
}
.footer-txt{
    padding-left: 60px;
    text-align: left;
}
.footer-div{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    padding: 10px;
    background-color:#5e529c;   
   
}

.footer-div a img{
    width: 40px;
    padding-left: 10px;
}

@media(max-width:780px){
    .footer{       
        display: block;       
    }
    .footer-img{  
        display: inline-block;  
        margin: auto;
    }
    .footer-txt{
        font-size: 1rem;
        text-align: center;
        padding-left: 0px;
        padding-top: 10px;
    }
    .footer-div{
       display: block;
        font-size: 1rem;        
    }
    .footer-icon{
        margin: 10px;
    }
}

/* 標題圖檔RWD */
@media (max-width:430px){
    .country-title{
        width: 300px;
    } 
}
