body {
    margin: 0;
    font-family: "Noto Sans TC", Arial, sans-serif;
    color: #333;
}

* {
    box-sizing: border-box;
  }
 
  img {
    height: auto;
    display: block;
    width: 100%;
  }

  dt{
    color: var(--color-tab-inactive);

  }

  dl{
    margin-bottom: 0;
  }
  
w-full{
    width: 100%;
  }

.row{
  margin-top: 24px;
}

.dl-group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--space-4); /* 16px */
  gap: 1rem; 
}

.dl-group dt {
  margin-bottom: 0;
}

.dl-group dd {
  margin-bottom: 0;
}


header, main, footer {
    width: 100%;
    margin: 0;
    background: white;
  }


  header img{
    width: 100%;
    max-width: 260px;
    height: auto; 
}

    .main-tool-bar {
        padding: 1.5rem 2rem;
        margin: 0;
        width: 100%;
        height: 80px; /* 固定高度 */
        max-height: 50px;
        background: #FFF;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 1000;
      }

      .main-tool-bar img{
        max-width: 190px;
      }

      .scrollable-area {
        height: auto;
      }

    main .kv img{
        width: 100%;
        height: auto;
        margin-top: 80px;
    }

    /*頁籤*/
    .nav {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 52px;
        gap: 6%;
        position: sticky;
        top: 40px;
        background-color: #fff;
        overflow-x: auto; 
        white-space: nowrap; 
        scrollbar-width: thin; /* 縮小滾動條寬度 (Firefox) */
        z-index: 999; 
    }

    .nav-pills .nav-link.active, .nav-pills .show>.nav-link{
      background: transparent;
      border-bottom: 2px solid var(--Brand, #FF8200);
      border-radius: 0;
      color: var(--Brand, #FF8200);
      /* Button/L */
      font-family: "PingFang TC";
    
      font-style: normal;
      font-weight: 600;
      line-height: 24px; /* 133.333% */
      letter-spacing: 1.08px;
    }

    .nav::-webkit-scrollbar {
      height: 6px; /* 縮小滾動條高度 (Chrome, Safari) */
  }
  
  .nav::-webkit-scrollbar-thumb {
      background-color: #ccc; /* 滾動條顏色 */
      border-radius: 3px;
  }
  

    .nav-link{
      color: var(--color-tab-inactive, #B2B2B2);
      font-weight: 400;
      flex-shrink: 0; /* 防止子元素縮小 */
      display: inline-block; /* 確保子元素橫向排列 */
    }

    .nav-link:focus, .nav-link:hover{
      color: var(--Brand, #FF8200);
    }

    .tab-content{
        display: block;
        flex-wrap: wrap;
        width: 100%;
        max-width: 1140px;
    }

    .desc{
      max-width: 550px;
      align-items: center;
      justify-content: center;
      height: auto;
    }

    .tip-bubble.desc.tip-text.tip-titile{
      align-items: center;
    }

    .text-l{
      text-align: left ;
    }

    .tab-desc {
      justify-content: center;
      display: flex;
  }

    .container {
      max-width: 1200px;
      padding: 0; 
      margin: 0 auto; 
      box-sizing: border-box; /* 確保 padding 不影響寬度 */
  }
    
    .promo-section {
      padding: 2rem 1rem;
      background-color: #fff;
      scroll-margin-top: 80px; /* 根据 header 的高度调整 */
    }
    
    .promo-content {
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      gap: 1rem;
      margin: 0 auto;
      padding: 0;
      box-sizing: border-box;
      text-align: left; 
    }

    .flex-reverse{
      display: flex;
      /*flex-direction: row-reverse;*/
    }
    
    .text-block {
      flex: 1;
      min-width: 0;
    }
    
    .image-block {
      flex-shrink: 0;
      width: 320px;
    }
    
    .image-block img {
      width: 100%;
      height: auto;
      border-radius: 12px;
    }

    .button-container {
      width: 100%;
      align-items: center; /* 垂直置中 */
      margin-top: 20px; /* 可根據需要調整間距 */
  }
    
    .badge {
      display: inline-block;
      background-color: var(--color-accent); 
      color: #fff;
      padding: 8px 16px;
      border-radius: 999px;
      margin-bottom: 1rem;
      text-align: left; 
    }
    
    .highlight {
      color: var(--color-brand); 
      font-size: 120%;
    }

    .tr-here {
      background-color: #DBF3FF;
    }
    
    .cta {
      display: inline-block;
      margin-top: 1rem;
      color: var(--color-brand);
      font-weight: 600;
      text-decoration: none;
    }

    .promo-footer {
      width: 100%;
      display: flex;
      flex-direction: column;
  }

    .promo-footer button {
      display: flex;
      justify-content: space-between; 
      align-items: center;
      width: 100%;
      padding: 0.75rem 1rem;
      font-size: 1rem; 
      border-radius: 6px; 
      margin-bottom: var(--space-4); 
  }
  
    .promo-footer button .icon {
      display: flex;
      align-items: center;
      margin-left: 0.5rem; 
  }

  
    .promo-footer .icon svg {
      transition: transform 0.3s ease; 
    }

    /* 當 collapse 打開時：箭頭向上 */
    button[aria-expanded="true"] .icon svg {
      transform: rotate(180deg); 
    }
  
    .promo-footer .card {
      background-color: #f9f9f9; 
      border: 1px solid #ddd; 
      border-radius: 8px; 
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); 
  }

    .card-body h6{
      background-color: #DBF3FF;
      padding: 1rem;
      display: inline-block;
      max-width: 100px;
      white-space: nowrap;
    }
  
    .promo-footer ul {
      list-style-type: disc; /* 使用圓點符號 */
      padding-left: 1.5rem; 
      color: var(--color-text-default); 
  }
  
    .promo-footer ul li {
      margin-bottom: 0.5rem; 
      color: var(--color-text-default); 
  }

    .btn-outline-primary{
      color: var(--color-text-secondary);
      border: none;
      background-color: var(--color-bg-folder);
    }

    .btn-outline-primary:hover{
      background-color: var(--color-bg-folder);
      color: var(--color-text-secondary);
      font-weight: 800;
    }
    
    .btn-outline-primary:focus{
      box-shadow: none;
      font-weight: 800;
    }

    .table-responsive{
      border-radius: 12px;
      border-color: var(--color-bg-table);
    }

    .table{
      border-color: var(--color-accent-beige);
      margin-bottom: 0;
      border-collapse: collapse;
    }

    .table tr th{
      background-color: var(--color-accent-beige);
    }

    .table>:not(caption)>*>*{
      padding: 1rem 1rem;
    }

    .back-to-top {
      position: fixed;
      bottom: 60px;
      right: 20px;
      width: 50px;
      height: 50px;
      padding: .5rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      border-radius: 125px;
      background: rgba(0, 0, 0, 0.15);
      backdrop-filter: blur(2.0833332538604736px);
      border: none;
      cursor: pointer;
      z-index: 1000;
      transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.3s ease;
      opacity: 0; 
      visibility: hidden; 
  }

  .back-to-top svg {
    width: 28px; 
    height: 28px; 
    transition: width 0.3s ease, height 0.3s ease;
}
  
  .back-to-top.show {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }

   .btn-sec{
    width: auto;
    min-width: 50px !important;
    justify-content: center !important;
    border-radius: 0px !important;
    color: var(--color-text-link) !important;
   }


    .tip-box {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem;
      justify-content: center;
      align-items: center;
    }

    .tip-image {
      width: 20%;
      height: auto;
      flex-shrink: 0;
      min-width: 135px;
    }

    .tip-bubble {
      position: relative;
      background-color: #FFF8E9;
      border: 1.75px dashed #333;
      border-radius: 18px;
      padding: 1.25rem 1.5rem;
      width: 100%;
      text-align: center;
    }

    .tip-title {
      color: var(--color-text-default);
    }

    .tip-body {
      color: var(--color-text-default);
    }

    .divider {
      display: flex;
      width: 100%;
    }

    .download-link {
      display: inline-flex;
      align-items: center;
      color: var(--color-text-link);
      text-decoration: none;
      gap: 0.5rem;
    }
    
    .download-link:hover {
      text-decoration: underline;
    }
    
    .download-link .icon {
      width: 20px;
      height: 20px;
    }    

    .step-box {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 2rem 1rem;
    }
    
    .step-item {
      flex: 1 1 30%;
      display: flex; /* 使用 Flexbox */
      flex-direction: column; /* 垂直排列內容 */
      align-items: center; /* 水平置中 */
      justify-content: center; /* 垂直置中 */
      text-align: center; /* 文字置中 */
      height: 100%; /* 確保內容可以上下置中 */
    }
    
    .step-title {
      color: var(--color-brand);
      margin-bottom: 1rem;
      line-height: 1.5;
    }
    
    .step-item img {
      width: 80%;
      max-width: 100%;
      height: auto;
      border-radius: 12px;
    }
    
    .footer {
      background-color: var(--color-brand);
      color: #fff;
      padding: 1.5rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.875rem;
      flex-wrap: wrap;
    }
    
    
    .footer-right {
      display: flex;
      align-items: center;
      gap: 1.25rem;
    }
    
    .footer-icon img {
      width: 16px;
      height: 16px;
      display: block;
    }
    
    .divider-vertical {
      width: 1px;
      height: 12px;
      background-color: rgba(255, 255, 255, 0.5);
    }
    
    .footer-link {
      color: #fff;
      text-decoration: none;
      font-weight: 400;
    }
    
    .footer-link:hover {
      text-decoration: underline;
    }

    .stack-example {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 1rem;
      padding: 2rem;
      position: relative;
    }
    
    .stack-image img {
      width: 100%;
      height: auto;
    }
    
    .stack-text {
      font-size: 0.95rem;
      line-height: 1.5;
      color: #333;
    }
    
    .stack-text.left {
      text-align: left;
      border-left: 4px solid #FF9508;
      background-color: #ffe6d8;
      padding: 1rem;
    }
    
    .stack-text.right.top {
      border-left: 4px solid #FFEB99;
      background-color: #FFF8D8;
      padding: 1rem;
    }
    
    .stack-text.right.bottom {
      border-left: 4px solid #00BFD8;
      padding: 1rem;
      background-color: #E9F9FB;
      text-align: left;
    }
    
    .label.orange {
      background-color: #FF8200;
      color: white;
      font-size: 0.875rem;
      padding: 0.3rem 0.5rem;
      display: inline-block;
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }

    .stack-left {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      margin-bottom: 12rem;
    }

    .stack-right {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 6rem;
    }


    .only-mobile {
      display: none; 
    }

    .modal-body {
      overflow-y: auto;
      height: 500px;
      padding: 1.5rem;
    }

    .modal-content {
      border-radius: .5rem;
    }

    .modal-header {
      padding: 1.5rem;
    }

        /* 固定位置的立即開戶按鈕 */
    .fixed-btn {
      position: fixed;
      bottom: 130px;
      right: 8px; 
      z-index: 1000;
      background: none;
      border: none;
      cursor: pointer; 
      width: 110px; 
      height: 110px; 
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .fixed-btn img {
      width: 100%; /* 圖片寬度填滿按鈕 */
      height: auto; /* 保持圖片比例 */
    }

    .faq-transfer-options {
      display: flex;
      justify-content: flex-start;
      gap: 2rem;
      padding-top: 1.5rem;
      flex-wrap: nowrap;
    }

    .faq-transfer-options.caption {
      color: var(--color-tab-inactive);
    }
    
    .faq-transfer-options .option {
      text-align: center;
      flex: 1 1 0;
      max-width: 150px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .faq-transfer-options .option:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 5%;
      right: -1rem;
      height: 90%;
      border-right: 1px dotted #ccc;
    }
    
    .faq-transfer-options img {
      width: 60px;
      height: auto;
      margin-bottom: 0.5rem;
    }

  @media (max-width: 768px) {
    .btn-cta {
      background-color: var(--color-brand) !important;
      color: #fff !important;
      border: none;
      justify-content: center;
      width: 70%;
    }
  
    .btn-cta .arrow-icon svg {
      stroke: #fff !important;
    }
  
    .btn-cta:hover {
      background-color: #e36f00;
      color: #fff;
    }
  
    .btn-cta:hover .arrow-icon svg {
      stroke: #fff;
    }

    .button-container{
      margin-top: 0;
    }
  
    .btn-cta:active {
      background-color: #cc6200;
      color: #fff;
    }

    .main-tool-bar {
        padding: 12px 20px; 
        height: auto; 
        flex-direction: column; 
        justify-content: center; 
    } 

    .main-tool-bar .slogan {
      display: none;
    }
      h1 {
      font-size: 1.5rem;
    }

    .tab-content>.active {
      display: block;
      padding: 0rem 1rem;
    }

    .tab-desc {
      margin-bottom: var(--space-4); 
      
    }
    
    .tab-desc .highlight {
      color: #FF8200;
      font-weight: bold;
    }

    .promo-content {
      flex-direction: column-reverse;
      align-items: center;
      text-align: center; 
    }

    .promo-section{
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      overflow: hidden;
      align-self: stretch;
      border-radius: 24px;
      padding: 0rem 0rem 1rem 0rem;
      background: #FFF;
      box-shadow: 0px 4px 13.7px 0px rgba(0, 0, 0, 0.10);
    }

    .promo-footer{
      padding: 1rem 1rem 0rem 1rem;
    }

    .row{
      justify-content: center; 
    }
  
    .image-block {
      width: 100%;
      aspect-ratio: 5 / 3; /* 設定寬高比例為 5:3 */
      overflow: hidden;
    }

    .image-block img {
      width: 100%; 
      height: 100%;
      object-fit: cover;
      border-radius: 0px; 
  }

    .table-responsive{
      width: 100%;
    }
  
    .text-block {
      text-align: center;
      padding: 0rem 1rem; 
    }

    .nav {
      justify-content: start;
      flex-wrap: nowrap;
      overflow-x: auto;
      white-space: nowrap;
      padding: 12px 16px; 
      gap: 2%;
      border-bottom: var(--color-bg-folder) 1px solid; 
  }
    .nav-link {
      flex-shrink: 0; /* 防止子元素縮小 */
      margin-right: 1rem; 
    }

    .text-block {
        text-align: center; 
    }

    .dl-group{
      display: flex;
      flex-direction: column;
      text-align: left;
      gap: 0.5rem;
    }

    .dl-group dd{
      width: 100%;
    }

    .dl-group dt{
      margin-bottom: 0;
    }

      .back-to-top {
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
      width: 24px;
      height: 24px;
    }

    .tip-box{
      flex-direction: column-reverse;
    }

    .tip-bubble {
      text-align: left;
    }

    .faq-section{
      padding: 0%;
    }

    .card-body {
      padding: 0.5rem;
    }

    .step-box {
      flex-direction: column;
      align-items: center;
    }
  
    .step-item {
      width: 100%;
      max-width: 400px;
    }

    .footer {
      flex-direction: column;
      gap: 0.75rem;
      text-align: center;
    }
  
    .footer-right {
      justify-content: center;
    }

    .stack-left {
      margin-bottom: 0;
    }

    .stack-example {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0;
      padding: 0;
    }
  
    .stack-text.left {
      justify-content: center;
      text-align: left;
      margin-bottom: 1rem;
    }
  
    .stack-image {
      width: 100%;
    }
  
    .stack-image img {
      content: url("img/us_time_deposit_2.png");
    }
  
    .stack-right {
      align-items: center;
      margin-top: .5rem;
      width: 100%;
    }

    .stack-text.right.top {
      display: none;
    }

    .stack-text.right.bottom {
      width: 100%;
    }

    .stack-text.top.only-mobile {
      display: show;
      position: absolute;
      right: 0;
      border-left: 4px solid #FFEB99;
      background-color: #FFF8D8;
      display: flex;
      text-align: left;
      width: 80%;
      padding: 1rem;
    }


    .fixed-btn {
      width: 94px;
      bottom: 115px;
      height: auto;
      right: 0px;
    }

    .faq-transfer-options {
      gap: 1rem;
    }
    .faq-transfer-options .option {
      max-width: 100px;
    }
    .faq-transfer-options img {
      width: 48px;
    }

  }

  @media (min-width: 576px) {
    .col-sm-3 {
      width: auto;
    }
}