/* 整個頁面大底色 */
main{
  background: #faf5ef;
}


.new-h{
    
    margin: 0 auto;
    /* margin-top: -100px; */
    position: relative;
    /* height: 450px; */
    /* background: #d2691e; */
}


/* -------右邊開戶鎖住----- */
.float_frame{
  bottom: 10%;
}
@media screen and (max-width:1024px){
  .float_frame{
  bottom: 0%;
}
}


/* ------------新視覺kv------------------- */
#kv-sec{
display: none;
}

.big{
position: relative;
}



/* 滑動選單 風格導覽列 */
:root {
--bank-orange: #ff8200;
--container-padding: 8px;
--transition-speed: 0.4s;
--nav-items-count: 4;
}

/* 橘色容器：移除固定高度，讓圖片撐開 */
.hero-section {
position: relative;
background-color: var(--bank-orange);
width: 100%;
overflow: visible; /* 重要：否則導覽列下半部會消失 */
line-height: 0; /* 消除圖片下方多餘空隙 */
}

.kv-img {
width: 100%;
height: auto;
display: block;
}

/* 導覽列定位在底線上 */
.nav-wrapper {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 50%); /* 水平置中，垂直下移一半 */
width: 90%;
max-width: 950px;
z-index: 20; 
line-height: normal; /* 恢復文字行高 */
}

.financial-navigation-container {
display: flex;
background: white;
border-radius: 100px !important;
padding: var(--container-padding);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
width: 100%;
border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- 文字對齊與樣式：前大粗、後小細 --- */
.nav-item {
flex: 1;
padding: 16px 0;
cursor: pointer;
color: #333;
z-index: 2;
transition: color var(--transition-speed);
display: flex;
justify-content: center;
align-items: center; /* 上下垂直置中 */
gap: 6px;
}

/* 前兩個字樣式 */
.nav-item b {
font-size: 26px;
font-weight: 900;
line-height: 1;
}

/* 後面字樣式 */
.nav-item span {
font-size: 24px;
font-weight: 400;
line-height: 1;
}




/* 橘色滑動背景 */
.gliding-bg {
position: absolute;
top: var(--container-padding);
bottom: var(--container-padding);
width: calc((100% - (var(--container-padding) * 2)) / var(--nav-items-count));
background: var(--bank-orange);
border-radius: 100px;
transition: transform var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
z-index: 1;
left: var(--container-padding);
border-radius: 100px !important;
}

/* 滑動與變色邏輯 */
.nav-item:hover { color: #ffffff !important; }
.financial-navigation-container:not(:hover) .nav-item:nth-child(2) { color: #ffffff; }

.financial-navigation-container .gliding-bg { transform: translateX(0); }
.financial-navigation-container:has(.nav-item:nth-child(3):hover) .gliding-bg { transform: translateX(100%); }
.financial-navigation-container:has(.nav-item:nth-child(4):hover) .gliding-bg { transform: translateX(200%); }
.financial-navigation-container:has(.nav-item:nth-child(5):hover) .gliding-bg { transform: translateX(300%); }

/* 下方內容區：預留導覽列佔用的空間 */
.content-below {
padding-top: 80px;
background-color: #faf5ef;
min-height: 100px;
}

/* --- RWD 手機版設定 --- */
@media (max-width: 768px) {
  .nav-wrapper { 
    width: 95%; 
  }

  .nav-item {
    flex-direction: column; /* 上下排 */
    gap: 4px;
    padding: 12px 0;
  }

  .nav-item b { 
    font-size: 18px; 
  }
  .nav-item span { 
    font-size: 13px; 
  }

  .financial-navigation-container { 
    border-radius: 20px; 
  }
  .gliding-bg { 
    border-radius: 15px; 
  }

  .nav-item b {
    font-size:3.25520833vw;
  }
  .nav-item span {
    font-size: 3vw;
    }

}

@media screen and (max-width:500px){
    .nav-item b {
    font-size: 18px;
  }
  .nav-item span {
    font-size: 16px;
    }


}




/* ----大標題圖片1------ */
.title-pt-block{
    max-width: 800px;
    overflow: hidden;
    margin: 0px auto 90px;
}

.title-pt-block img{
    width: 100%;
    object-fit: cover;
}

.title-phone-hidden{
  display: none;
}

@media screen and (max-width: 550px) {
  .title-phone-hidden{
    display: block;
    margin-bottom: 50px;
  }
  .title-pt-block{
    display: none;
  }

}



/* ---------------------------------- */

/* 區塊背景 */
.promotion-section {
  padding: 0px 40px;
  /* margin-top: -20%; */
}



/* 🔹 桌機 / 平板：永遠三個並排 */
.promo-container {
  /* width: 89.66666667vw; */
  margin: 0 auto;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
}

/* 卡片 */
.promo-card {
  position: relative;
  flex: 1 1 0;
  max-width: 360px;
  display: flex;
  z-index: 1;
}

.promo-card:hover {
  z-index: 10;
}

/* 標籤 */
.promo-badge {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff8c00;
  color: #fff;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  white-space: nowrap;
  z-index: 2;
  /* font-size: 2vw; */
  font-size: 1.5rem;
}

/* 卡片內容 */
.promo-content {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e5e5e5;
  padding: 40px 24px 45px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  flex: 1;
}



/* icon */
.promo-icon img {
  width: 120px;
}

/* 標題 */
.promo-content h3 {
  color: #ff8c00;
  font-size: 1.5rem;
  /* font-size: 1.8vw; */
  margin-bottom: 16px;
  font-weight: bold;
}

/* 文字 */
.promo-content p {
  color: #333;
  /* font-size: 1.3vw; */
  font-size: 1.1rem;
  margin: 0;
}


/* 按鈕 */
.bank-btn{
  margin-top: 50px;
  text-align: center;

}
.bank-btn a{
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #FF8200;
  /* padding: 10px 30px; */
  padding: 1vw 50px;
  border-radius: 50px;
  color: #FF8200;
  transition: .2s;
  /* font-size: 1.06666667vw; */
  font-size: 1.1rem;
}

.bank-btn a:hover{
  background: #FF8200;
  color: #ffffff;
}


/* -----打勾icon----- */
/* ------------------ */

/* 清單整體容器 */
.promo-list {
display: flex;
flex-direction: column;
align-items: flex-start; /* 讓內部的 item 靠左對齊 */
width: fit-content; /* 寬度隨內容撐開 */
margin: 0 auto; /* 讓整個清單區塊在卡片內置中 */
text-align: left;
}

/* 每一行項目 */
.promo-list .item {
display: flex;
align-items: center;
margin-bottom: 8px; 
}

/* 勾勾小圖標樣式 */
.check-icon {
width: 20px;
height: 20px;
margin-right: 5px !important;
flex-shrink: 0; /* 防止圖片被擠壓變形 */
}

/* 文字樣式 */
.promo-list .item span {
font-size: 1.1rem;
color: #333;
line-height: 1.2;
}

/* 📱 手機版微調 */
@media screen and (max-width: 768px) {
.promo-list .item span {
font-size: 1rem;
}
.check-icon {
width: 16px;
height: 16px;
}
}

/* ------------------ */
/* ------------------ */


/* 📱 768px 以下：一個直排 + 固定 vw 寬度 */
@media (max-width: 768px) {
  .promo-container {
    flex-direction: column;
    align-items: center;
  }

  .promo-card {
    width: 85.9375vw;   /* 🔑 你指定的寬度 */
    max-width: none;
    margin-bottom: 50px;
  }

  .promo-badge {
    font-size: 1rem;
    padding: 10px 26px;
  }
}


@media screen and (max-width:1024px){
  .promo-badge{
    font-size: 1.86666667vw;
  }
  .promo-container_block3{
    flex-direction: column;
    align-items: center;
  }
  .card-right{
    margin-top: 80px;
  }

}


@media screen and (max-width:768px){
  .promo-badge{
    font-size:  4.16666667vw;
  }

  .promo-card{
    width: 100%;
  }
  .bank-btn a{
    font-size: 3.90625vw;
  }

}

@media screen and (max-width:550px){
  .bank-btn{
    margin-top: 0;
  }

}

@media screen and (max-width:500px){
  .bank-btn{
    margin-top: 0;
  }
  .promo-badge{
    font-size: 5.2vw;
  }
  .promo-content{
    padding: 20px 24px 45px;
  }
  .promo-container{
    gap: 0px !important;
  }

  .bank-btn a{
    padding: 10px 30px;
  }
  .promo-content p{
    font-size: 16px;
  }

}



/* ---------第二大區塊 ------------ */

/* 標題圖片 */
.title-pt{
  max-width: 450px;
  margin: 0 auto;
  overflow: hidden;
}
.title-pt img{
  width: 100%;
  object-fit: cover;
}

/* #financial-sec .container>.tit{
  width: 100%;
} */


/* 區塊大底色 */
#financial-sec , #life-sec{
  background: #f0e4d4;
}

#financial-sec{
    margin-top:0;
}

.bigbg{
  margin-top: 40px;
}



#financial-sec .container .content-wrap{
  margin-bottom: 0;
  height:25vw;
  border: 1px solid #ff8c00;
}



#life-sec{
  margin-top: 0;
}




/* 注意事項文字按鈕 */
 #financial-sec .more{
  bottom:-1.6em;
  font-size: 1.06666667vw;
  background: #ffffff;
  padding: 1vw 50px ;
  border-radius: 50px;
  border: 1px solid #ff8c00;
  color: #ff8c00;
 }


 #financial-sec .more:hover{
  background: #ff8c00;
  color: #ffffff;
 }


.wealth_block2{
  padding-bottom: 100px;
}




/* 第二區塊 下方卡片內標題文字 */
#life-sec .container .swiper-slide .card>.tit{
  font-size: 1.2vw;
}

#life-sec .container .swiper-slide .card .tag-tit p{
  font-weight: bold;
}


 /* 底邊波浪底色 */
 #life-sec{
  margin-bottom: 0;
 }


/* 彈跳視窗按鈕 */
.btn_block-2{
  color: #FF8200;
  display: block;
  position: absolute;
  top: 92%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.06666667vw;
  border: 1px solid #ff8c00;
  background: #ffffff;
  border-radius: 50px;
  padding: 1vw 50px;
  transition: .2s;
}

.btn_block-2:hover{
  background: #ff8c00;
  color: #ffffff;
}



 @media screen and (max-width:1800px){
  #financial-sec .container .content-wrap{
    height:28vw;
  }


 }

  @media screen and (max-width:1600px){
    #financial-sec .container .content-wrap{
    height:31.5vw;
    }

  }



 @media screen and (max-width:768px){
    #financial-sec .more{
    font-size: 3.90625vw;
    padding: 10px 30px;
    bottom:-1.1em;
   }
   #financial-sec .container .content-wrap{
    padding-bottom:14vw;
    height: 155vw;
   }

    /* 第二區塊 下方卡片內標題文字 */
    #life-sec .container .swiper-slide .card>.tit{
      font-size: 4.6vw;

    }

    /* 按鈕 */
    .btn_block-2{
      font-size: 3.90625vw;
      padding: 10px 30px;
      top: 97%;
      width: 82%;
      display: block;
    }

 }

@media screen and (max-width: 550px) {
  .bigbg{
    display: none;
  }
  .phone-2{
    margin-bottom: 0;

  }
}


 @media screen and (max-width:500px){

    .bank-btn{
      padding-bottom: 80px;
    }
    #life-sec .container .swiper-slide .card .info-txt, #life-sec .container .swiper-slide .card li{
    font-size: 16px;
    }
    #life-sec .container .swiper-slide .card .tag-tit p{
      font-size: 20px;
    }
    #life-sec .container .swiper-slide .card .tag-tit{
      font-size: 20px;
    }

 }





 /* -----------新增第三大區塊----------------- */

/* 1. 區塊外層容器 */
.bank-promo-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

/* 2. Flex 主容器：確保子卡片高度同步 */
.promo-container {
    display: flex;
    gap: 40px;
    max-width: 1345px;
    /* width: 89.66666667vw; */
    width: 100%;
    align-items: stretch; /* 讓左右卡片等高 */
}

/* 3. 卡片通用樣式 */
.card {
    background: #ffffff;
    border-radius: 40px;
    /* padding: 60px 40px 40px 40px; */
    padding: 50px 30px 30px 30px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* 4. 頂部橘色標籤 */
.card-badge {
    background-color: #ff8200;
    color: white;
    padding: 12px 45px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
}

@media screen and (max-width:500px){
  .card-badge{
    font-size: 20px;
  }
}

/* 5. 卡片內容區 */
.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* text-align: center; */
}
.card-3{
  text-align: center;
}

/* 左側文字樣式 */
.promo-title {
    font-size: 26px;
    color: #000;
    font-weight: 900;
    margin-bottom: 12px;
}
.promo-date {
    color: #b0b0b0;
    font-size: 16px;
    margin-bottom: 25px;
}
.promo-desc {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
    text-align: left;
    margin-bottom: 30px;
}

/* 按鈕樣式 */
.button-group {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.btn-outline {
    display: inline-block;
    max-width: 300px;
    width: 100%;
    padding: 12px 0;
    border: 1px solid #ff8200;
    border-radius: 30px;
    text-decoration: none;
    color: #ff8200;
    /* font-weight: bold; */
    transition: 0.3s;
}
.btn-outline:hover {
    background-color: #ff8200;
    color: white;
}

/* 右側：可連結圖片區域樣式 */
.image-link-wrapper {
    position: relative;
    flex-grow: 1;
    display: block;
    border-radius: 30px;
    overflow: hidden; /* 確保圖片圓角 */
    text-decoration: none;
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 關鍵：圖片填滿空間但不變形 */
    display: block;
    transition: transform 0.5s ease;
}

/* 滑鼠滑過圖片微縮放效果 */
.image-link-wrapper:hover .promo-image {
    transform: scale(1.05);
}

.more-link {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    color: white;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* 增加陰影防止圖片太亮看不清楚字 */
}

/* 裝飾禮物盒 */
.gift-icon {
    position: absolute;
    bottom: -120px;
    left: -10px;
    width: 180px;

}



/* 活動詳情注意事項按鈕彈跳視窗 */
.button-group .modal-trigger{
  background: #ffffff;
  max-width: 300px;
  width: 100%;
  display: block;
  padding: 12px 0;
  border: 1px solid #ff8200;
  border-radius: 30px;
  color: #ff8200;
  font-size: 16px;
  transition: 0.3s;
}

.button-group .modal-trigger:hover {
    background-color: #ff8200;
    color: white;
}



/* 第二區塊下方卡片的注意事項隱藏 */
.notice{
  opacity: 0;
  pointer-events: none;
}

@media screen and (max-width:768px){
  .card-right{
    margin-top: 150px;
  }

}

@media screen and (max-width:500px){
/* 裝飾禮物盒 */
.gift-icon {
    width: 100px;
    bottom: -60px;

}
.promo-title{
  font-size: 20px;
}
.card-right{
    margin-top: 100px;
  }



}



/* ----------------彈跳視窗遮罩--------------------- */

/* .button-container{
  width: 100%;
  display: flex;
  justify-content: center;
}


.button-container button{
  margin: 0 auto;
  padding: 10px 30px ;
  background: #fff;
  border: 1px solid #ff8c00;
  border-radius: 30px;
  font-size: 1.3vw;
  
} */



/* 0隱藏用 class（避免 inline style）0 */

/* .hidden {
  display: none !important;
} */

/* 0背景鎖定0 */

/* body.no-scroll {
  position: fixed;
  width: 100%;
  overflow-y: scroll;
} */

/* 0遮罩0 */

/* .overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 120px 0;
}

.overlay.active {
  display: block;
}

.modal-wrapper {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.close-x {
  position: absolute;
  right: 0;
  top: -70px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
}

.close-x span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff8c00;
}

.close-x span:first-child { transform: rotate(45deg); }
.close-x span:last-child { transform: rotate(-45deg); }

.modal-content {
  background: #fff;
  border-radius: 30px;
  padding: 60px 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}



@media screen and (max-width:500px){
  .modal-content {
  padding: 60px 20px;
  }


} */



/* 基礎隱藏與鎖定 */
.hidden { display: none !important; }
body.no-scroll { overflow: hidden; }

/* 遮罩層：使用 Flex 使視窗置中 */
.overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.85);
z-index: 2000;
justify-content: center;
align-items: center;
padding: 20px;
}
.overlay.active { display: flex; }

/* 視窗包裝層 */
.modal-wrapper {
position: relative;
width: 95%;
max-width: 1200px;
animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}

/* 關閉按鈕 */
.close-x {
position: absolute;
right: 0;
top: -50px;
width: 40px;
height: 40px;
background: none;
border: none;
cursor: pointer;
z-index: 2001;
}
.close-x span {
position: absolute;
top: 50%;
left: 0;
width: 100%;
height: 3px;
background: #ff8c00;
border-radius: 2px;
}
.close-x span:first-child { transform: rotate(45deg); }
.close-x span:last-child { transform: rotate(-45deg); }

/* 內容區塊：重點在於內部捲動與美化 */
.modal-content {
background: #fff;
border-radius: 20px;
padding: 40px;
max-height: 80vh; /* 限制高度在視窗的 80% */
overflow-y: auto; /* 啟動內部捲動 */
box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* --- 捲軸美化 (Webkit 瀏覽器如 Chrome, Safari) --- */
.modal-content::-webkit-scrollbar {
width: 8px;
}
.modal-content::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
margin: 15px 0;
}
.modal-content::-webkit-scrollbar-thumb {
background: #ff8c00;
border-radius: 10px;
border: 2px solid #f1f1f1;
}
.modal-content::-webkit-scrollbar-thumb:hover {
background: #e67e00;
}

/* 確保複製進來的內容顯示 */
.modal-content .hidden { display: block !important; }

/* 手機版調整 */
@media screen and (max-width: 500px) {
.modal-content { padding: 30px 20px; }
.close-x { top: -45px; right: 5px; width: 35px; }
}












/* --------第四大區塊---先隱藏未確認版本--------- */
/* -------------------------------------------- */

/* ===== 區塊 ===== */
.wewin-section{
background:#F0E4D4;
padding:3px 20px 80px;
}

.wewin-container{
  max-width:1345px;
  width: 100%;
  margin:0 auto;
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  margin-top: 30px;
}

.plan-title{
  text-align: center;
  margin-bottom: 50px;
}

.plan-title h3{
  font-size: 25px;
}

.plan-title h2{
  font-size: 35px;
}

.plan-title span{
  color: #FF8200;
}

/* ===== HERO 50:50 ===== */
.wewin-hero{
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:40px;
margin-bottom:70px;
}

/* 左圖 */
.wewin-hero-left{
text-align:center;
}

.wewin-hero-left img{
width:100%;
max-width:480px;
height:auto;
display:block;
margin:0 auto;
}


.wewin-desc{
line-height:1.9;
margin-bottom:26px;
color:#555;
}

/* 主按鈕 */
.wewin-section .modal-trigger{
  /* padding: 1vw 50px; */
  padding: 10px 50px;
  border: 1px solid #ff8200;
  border-radius: 30px;
  text-decoration: none;
  color: #ff8200;
  background: #ffffff;
  /* font-size: 1.1rem; */
  font-size: 16px;
  transition: .2s;
}
.wewin-section .modal-trigger:hover{
  color: #ffffff;
  background: #ff8200;
}


/* ===== 三卡 ===== */
.wewin-cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.wewin-card{
background:#fff;
padding:35px 30px;
border-radius:18px;
text-align:center;
transition:.25s;
border: 1px solid #ccc;

/* 讓按鈕齊底的關鍵 */
display:flex;
flex-direction:column;
height:100%;
}

.wewin-desc{
  text-align: start;
}

.card-logo img{
  /* width: 50%; */
  max-width: 160px;
  width: 100%;
  margin-bottom:15px;
}


.wewin-card h4{
  font-size:20px;
  margin-bottom:12px;
  font-weight: 500;
}


/* 撐開卡片高度 */
.wewin-card p{
font-size:16px;
line-height:1.7;
margin-bottom:22px;
flex-grow:1;
}

/* 卡片按鈕（永遠貼底） */
.card-btn{
display:inline-block;
padding:10px 28px;
border:1px solid #ff7a00;
border-radius:25px;
color:#ff7a00;
text-decoration:none;
transition:all .25s ease;
margin-top:auto;
}

.card-btn:hover{
background:#ff7a00;
color:#fff;
}


/* ---最下面兩個卡片--- */
/* ----------------- */
.loan-wrapper{
  display: flex;
  justify-content: center;
}

.loan-block{
  /* width: 150px; */
  max-width: 1200px;
  width: 100%;
  margin: 0 20px;
  overflow: hidden;
  border-radius: 15px;
}
.loan-block img{
  width: 100%;
  object-fit: cover;
  
}
@media screen and (max-width:1024px){
  .wewin-container{
    padding: 30px;
  }

}

@media screen and (max-width:768px){
  .loan-wrapper{
    flex-wrap: wrap;
    
  }
  .loan-block{
    margin: 0;
  }
  .loan-right{
    margin-top: 25px;
  }
  
}




/* ------------ */
/* ------------ */



/* ===== RWD ===== */
@media (max-width:1024px){
.wewin-hero{
grid-template-columns:1fr;
text-align:center;
}
}

@media (max-width:768px){
  .wewin-cards{
  grid-template-columns:1fr;
  }

  .wewin-title{
  font-size:24px;
  }

  .wewin-subtitle{
  font-size:18px;
  }
}



/* ------------------------------------------- */
/* ------------------------------------------- */








/* -----------底部影音------------- */
#share-sec{
  margin-bottom: 0;
  padding-bottom: 50px;
  margin-top: 40px;
}

#share-sec .container>.tit{
  margin-bottom: 10px;
  max-width: 550px;
  width: 100%;
}



@media screen and (max-width:768px){
  #share-sec .container>.tit{
    width: 90vw;
    width: 100%;
  }
  #share-sec .container{
    width: 95vw;
  }

}


@media screen and (max-width:500px){
  #share-sec{
    margin-top: 0;
  }
}


/* ------------全部標題圖片---------------- */
@media screen and (max-width:1200px){
  #financial-sec .container>.tit{
    max-width: 400px;
    width: 100%;

  }

}


@media screen and (max-width:768px){
  #financial-sec .container>.tit{
    max-width: 450px;
    width: 100%;
  }
}

@media screen and (max-width:500px){
  #financial-sec .container>.tit{
    max-width: 350px;
  }
}







/* -------------各個彈跳視窗-------------------- */
/* 第一段彈跳視窗 */
.popup-wrap .popup{
  width: 1200px;
  width: 80%;
}

.box-color h3{
  font-size: 1.5rem;
  color: #ff8c00;
  text-align: center;
}



/* 彈跳視窗內容 */
.main-container {
width: 100%;
max-width: 1000px;
margin: 0 auto;
padding: 20px;
box-sizing: border-box;
}

/* 列表樣式 */
.main-list {
padding-left: 20px;
}

.main-list > li {
margin-bottom: 12px;
}

.sub-list {
list-style: none;
padding-left: 0;
margin-top: 10px;
}

/* 表格區域：滿版且支援滑動 */
.table-title {
margin-top: 30px;
font-size: 1.1rem;
}

.table-responsive-wrapper {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
margin: 15px 0;
border: 1px solid #ddd;
}

table {
width: 100%;
min-width: 600px;
border-collapse: collapse;
background-color: #fff;
/* --- 新增：固定佈局以實現平分 --- */
table-layout: fixed;
}

th, td {
border: 1px solid #ddd;
padding: 12px 15px;
text-align: center;
/* --- 新增：左右平均一半 --- */
width: 50%;
word-wrap: break-word; /* 避免長文字撐開欄位 */
}

th {
background-color: #fff5eb;
color: #444;
}

/* 根據截圖二調整的橘色背景行 */
tr:nth-child(2), tr:nth-child(4) , tr:nth-child(6){
background-color: #fff2e6;
}

.highlight-rate {
color: #ff8c00;
font-weight: bold;
font-size: 1.1rem;
}

/* 利息說明與公式 */
.settlement-info {
font-size: 0.95rem;
color: #444;
background: #f8f8f8;
padding: 15px;
border-left: 4px solid #ff8c00;
}

.formula-box {
margin-top: 20px;
padding: 15px;
background-color: #fff;
border: 1px dashed #ccc;
font-size: 0.9rem;
word-break: break-all;
}

.bouncing-content{
  padding-left: 25px;
}

.details-section .sub-list li{
  margin-bottom: 10px;
}

/* 響應式優化 */
@media (max-width: 600px) {
.main-container {
padding: 15px;
}

table {
min-width: 500px;
}
}



/* ------------浮動按鈕------------------- */
.float_frame_fill{
  padding-top: 50px;
}

.open-obank .up_lg_hide{
  padding: 10px 0;
  background: #ff8200;
}