/*reset*/
@charset "utf-8";
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
  line-height: 1;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
nav ul {
  list-style: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}
a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
ins {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
del {
  text-decoration: line-through;
}
abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
th, td {
  vertical-align: top;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}
input, select {
  vertical-align: middle;
}
div {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
ul {
  list-style: none;
}
/*變數與共用*/ :root {
  --bs-font-sans-serif: system-ui, -apple-system, 'Microsoft JhengHei', 微軟正黑體, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --tsRed: #d70c18;
}
.local {
  --tsRed: #666;
}
.tsRed-bg {
  background-color: var(--tsRed);
  color: #fff;
}
.container-fluid {
  --bs-gutter-x: 0rem;
}
.accordion-button:not(.collapsed) {
  color: #333;
  background-color: #dedede;
}
.modal-header {
  border-bottom: none;
}
/*台新天地*/
body {
  padding-top: 60px;
  color: #333;
}
.header-bg {
  width: 100%;
  height: 60px;
}
.navbar {
  margin-top: -63px;
}
.ts-logo {
  width: 280px;
  margin-top: 3px;
}
.footer-bg {
  height: 56px;
}
.footer-bg-box {
  height: 56px;
}
.footer-box {
  color: #fff;
  margin-top: -56px;
}
.copyright-box {
  height: 56px;
}
.copyright-md {
  font-size: 12px;
}
.tsh-logo-box {
  background-color: #d8d8d8;
  height: 56px;
}
.tsh-logo {
  width: 142px;
}
/*網頁內容*/
body {
  font-size: 18px;
  color: #333;
  line-height: 33px;
}
.txt-center {
  text-align: center;
}
.btn-ts {
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: #d70c18;
  color: #fff;
  font-weight: bold;
}
/*頁籤／漢堡選單*/
.navbar {}
.navbar a {}
.menu-bar {
  display: block;
  width: 100%;
}
.menu-bar.navbar {
  margin-top: 0;
}
@media (min-width: 992px) {
  .block-kv {
    margin-bottom: 0;
  }
  .menu-bar.navbar {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 0;
    --bs-navbar-padding-y: 0;
    --bs-navbar-padding-x: 0;
  }
  .menu-bar .navbar-collapse {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  .menu-bar .menu {
    margin-top: 0;
  }
}
.menu {
  display: block;
  width: 100%;
  background-color: #d70c18;
}
.menu a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  cursor: pointer;
  padding: 15px 0;
}
.menu a:visited {
  color: #fff;
}
.menu a:hover {
  color: #333;
  background-color: #fff;
}
.menu a:hover:visited {
  color: #333;
}
.nav {
  border-color: rgba(0, 0, 0, 0);
}
.nav {}
.nav-tabs {}
.nav-item {}
.nav-item a {}
.menu-link-with-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.menu-link-with-icon .rights-main-caret {
  font-size: 0.8em;
  transition: transform 0.25s ease;
}
.menu-link-with-icon.is-open .rights-main-caret {
  transform: rotate(180deg);
}
/*主視覺*/
.block-kv {
  width: 100%;
  height: 0;
  padding-bottom: 18%;
  background-image: url("../images/kv.jpg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  background-color: #313a49;
}
h1, h2 {
  display: none;
}
/*頁籤內容*/
/*合併公告*/
.box {
  padding: 60px 20px;
}
.box-announcement {}
h3 {
  font-size: 36px;
  font-weight: bold;
  color: #d70c18;
  margin-bottom: 40px;
}
.box-announcement p {
  text-align: left;
}
.box-announcement p strong {
  display: block;
  font-size: 24px;
  margin-bottom: 20px;
}
.box-announcement p em {
  display: block;
  width: 100%;
  font-style: normal;
  font-weight: normal;
  text-align: right;
  margin-top: 20px;
}
h4 {
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
}
.txt-tile {
font-weight: bold;
font-size: 22px;
margin-bottom: 20px;
margin-top: 40px;
border-bottom: 1px solid #dedede;
padding-bottom: 15px;
scroll-margin-top: 80px;
}
.txt-tile-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 24px;
}
h4 + .txt-tile-anchor-nav {
  margin-top: -20px;
}
.box-txt:has(> h4:only-child) + .txt-tile-anchor-nav {
  margin-top: -20px;
}
.txt-tile-anchor-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: none;
  border: 0;
  color: #d70c18;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.txt-tile-anchor-btn .bi {
  flex-shrink: 0;
  font-size: 0.95em;
  line-height: 1;
}
.txt-tile-anchor-btn span {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.txt-tile-anchor-btn:hover,
.txt-tile-anchor-btn:focus-visible {
  color: #a10a13;
}
.txt-tile-anchor-btn:focus-visible {
  outline: 2px solid #d70c18;
  outline-offset: 2px;
}
.txt-tile-anchor-nav + .box-txt > .txt-tile:first-child {
  margin-top: 16px;
}
.txt-tile-section-header.box-txt {
  margin-bottom: 0;
}
.txt-tile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}
.txt-tile-toggle:hover {
  color: #d70c18;
}
.txt-tile-toggle .txt-tile-label {
  flex: 1;
  min-width: 0;
}
.txt-tile-toggle .txt-tile-caret {
  flex-shrink: 0;
  font-size: 18px;
  color: #666;
  transition: transform 0.25s ease, color 0.2s ease;
}
.txt-tile-toggle.is-open .txt-tile-caret {
  transform: rotate(180deg);
  color: #d70c18;
}
.txt-tile-section-body {
  overflow: hidden;
  padding-top: 20px;
}
.txt-tile-section-body[hidden] {
  display: none;
}

/*客戶權益：子頁籤按鈕與內容框（桌機）*/
.box-rights {
  --rightsBlue: var(--tsRed);
  text-align: left;
}
.rights-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin-bottom: 20px;
  list-style: none;
}
.rights-tabs .nav-item {
  flex: 0 0 auto;
  border-bottom: 0; /*蓋掉mobile.css對.nav-item的底線*/
}
.rights-tab-btn {
  display: block;
  text-align: center;
  /*寬度統一：8個全形中文字＋左右內距*/
  width: calc(8em + 24px);
  padding: 5px 0;
  background-color: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 30px;
  color: #333;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.rights-tab-btn:hover {
  color: #d70c18;
}
.rights-tab-btn.active {
  background-color: #fff;
  border: 1px solid #F0989D;
  color: #d70c18;
}
.rights-panel-toggle {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.rights-panel-toggle.show {
  max-height: 1200px;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  margin-top: -20px;
}
.rights-content-box {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
}
.rights-compare-tabs {
  display: none;
}
.rights-content-box h3 {
  font-weight: bold;
  margin-bottom: 15px;
}
/*桌機：按鈕列左右對齊下方內容框*/
@media (min-width: 992px) {
  .rights-tabs {
    justify-content: flex-start;
    /*每列5顆：4個間距×12px，按鈕寬度均分撐滿*/
    gap: 12px;
  }
  .rights-tabs .nav-item {
    flex: 0 0 calc((100% - 48px) / 5);
    max-width: calc((100% - 48px) / 5);
  }
  .rights-tab-btn {
    width: 100%;
  }
}
/*客戶權益：桌機隱藏下拉選單*/
.rights-select-wrap,
.rights-select {
  display: none;
}
/*警語*/
.warning {
  background-color: #f2f2f2;
}
/*固定側邊按鈕*/
.floating-action-btn {
  position: fixed;
  right: 20px;
  bottom: 40px;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(51, 51, 51, 0.7);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  overflow: hidden;
}
.floating-action-btn:hover {
  background-color: rgba(51, 51, 51, 0.9);
  color: #fff;
}
.floating-chat {
  bottom: 40px;
  background-color: transparent;
}
.floating-chat:hover {
  background-color: transparent;
}
.floating-chat img {
  width: 80px;
  height: 80px;
  display: block;
  object-fit: contain;
}
.go-top {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  right: 33px;
  bottom: 136px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, bottom 0.2s ease;
}
.go-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
h4 {}
.box-txt {
  margin-bottom: 20px;
}
.box-txt a,
.txt-tile-section-body a {
  color: #d70c18;
}
h5 {
  color: #d70c18;
  font-weight: bold;
  margin-bottom: 10px;
  border-left: 5px solid #d70c18;
  padding-left: 8px;
}
.box-txt-2 {
margin-bottom: 20px;
}
h6 {
font-size: 18px;
display: inline-block;

margin-bottom: 10px;
font-weight: bold;
}

.txt-18 {
  font-size: 18px;
}
.txt-16 {
  font-size: 16px;
}
.txt-list {
  margin-left: 36px;
}
.txt-list span {
  display: inline-block;
  width: 36px;
  margin-left: -36px;
}
.txt-list-second {
  margin-left: 36px;
}
.txt-list-second span {
  display: inline-block;
  width: 36px;
  margin-left: -36px;
}
.txt-list-third {
  margin-left: 20px;
}
.txt-list-third span {
  display: inline-block;
  width: 20px;
  margin-left: -20px;
}
.txt-list-fourth {
  margin-left: 45px;
}
.txt-list-fourth span {
  display: inline-block;
  width: 60px;
  margin-left: -60px;
  text-align: right
}
.box-qrcode.txt-list-fourth,
.box-qrcode.txt-list-second {
  margin-left: 0;
}
.txt-list-fifth {
  margin-left: 22px;
}
.txt-list-fifth span {
  display: inline-block;
  width: 22px;
  margin-left: -22px;
}
.txt-list-sixth {}
.box-qrcode {
  margin-top: 10px;
  margin-left: 0;
  padding-left: 0;
}
.box-qrcode li {
  width: 24.5%;
  display: inline-block;
  margin-bottom: 25px;
  text-align: center;
  vertical-align: top;
}
.box-qrcode li a {
  color: #333;
}
.box-qrcode li a:hover {
  color: #d70c18;
  font-weight: bold;
}
.box-qrcode li a:hover p {
  color: #d70c18;
  font-weight: bold;
}
.box-qrcode p {
  text-align: center;
  margin-top: 10px;
  font-size: 18px;
}
.box-qrcode img {
  display: block;
  width: 60%;
  padding: 5px;
  border: 1px solid #dedede;
  margin: 0 auto;
}
.table-qrcode {
  display: block;
  width: 120px;
  padding: 5px;
  border: 1px solid #dedede;
  margin: 10px auto 10px 0;
  background-color: #fff;
}

/*基本公告事項：hover 時其他 QR code 加白底遮罩，方便掃描*/
#rights-item1 .box-qrcode li a {
  position: relative;
  display: block;
}
#rights-item1:has(.box-qrcode li:hover) .box-qrcode li:not(:hover) a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(60% + 12px);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  z-index: 1;
  box-sizing: border-box;
}

.txt-table {}
.txt-table th {}
.txt-table td {
  border: 1px solid #dedede;
  padding: 10px;
}
.contract-clause-table > tbody > tr > td:first-child,
.contract-clause-table > tbody > tr > td:first-child .txt-red {
  font-weight: bold;
}
table:has(+ :is(p, ul, ol, li, h1, h2, h3, h4, h5, h6)) {
  margin-bottom: 20px;
}
li:has(> table) + li {
  margin-top: 20px;
}
li > table {
  margin-bottom: 20px;
}
.box-txt > table {
  margin-bottom: 20px;
}
:not(td) > table + table,
:not(td) > .rights-compare-wrap + .rights-compare-wrap,
:not(td) > table + .rights-compare-wrap,
:not(td) > .rights-compare-wrap + table {
  margin-top: 40px;
}
.txt-table-2 {
  font-size: 16px;
  line-height: 26px;
}
.txt-table-2 td {
  border: 1px solid #dedede;
  padding: 3px 8px;
}
/* 身分證英文代碼對照：依視窗寬度折行，每一組仍維持字母／數字兩列 */
.id-code-map {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(2.6em, calc(100% / 26)), 1fr));
  width: 100%;
  border-top: 1px solid #dedede;
  border-left: 1px solid #dedede;
}
.id-code-map tbody,
.id-code-map tr {
  display: contents;
}
.id-code-map td {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  min-width: 0;
}
.id-code-map .id-code-letter,
.id-code-map .id-code-num {
  display: block;
  padding: 3px 4px;
  text-align: center;
  line-height: 26px;
}
.id-code-map .id-code-letter {
  background: #F4F4F4;
  border-bottom: 1px solid #dedede;
}
.list-title-red,
tr.list-title-red > th,
tr.list-title-red > td,
th.list-title-red,
td.list-title-red {
  text-align: center !important;
  vertical-align: middle !important;
  color: #fff;
  background: #d70c18;
  font-weight: bold;
}
.list-title-grey,
tr.list-title-grey > th,
tr.list-title-grey > td,
th.list-title-grey,
td.list-title-grey {
  text-align: center;
  vertical-align: middle !important;
  color: #fff;
  background: #999;
  font-weight: bold;
}
.list-title-pink,
tr.list-title-pink > th,
tr.list-title-pink > td,
th.list-title-pink,
td.list-title-pink {
  text-align: center;
  vertical-align: middle !important;
  color: #fff;
  background: #F0989D;
  font-weight: bold;
}
.list-title-grey2 {
  text-align: center;
  vertical-align: middle;
  background: #F0F0F0;
  font-weight: bold;
}
.list-title-grey3 {
  text-align: center;
  vertical-align: middle;
  background: #F4F4F4;
}
.list-txt-vm {
  vertical-align: middle;
}
#rights-item5 .box-txt:has(.wealth-member-tile) ~ .box-txt td:not(.list-txt-vm):not(.list-title-red):not(.list-title-pink):not(.list-title-grey):not(.list-title-grey3):not(.list-title-grey2) {
  vertical-align: top !important;
}
/* 全站表格內文一律置上；深灰／紅／粉紅底標題欄維持置中 */
table td:not(.list-txt-vm):not(.list-title-red):not(.list-title-pink):not(.list-title-grey):not(.list-title-grey3):not(.list-title-grey2):not(.branch-title-g):not(.branch-title-r):not(.branch-subtitle-g):not(.branch-subtitle-r),
table th:not(.list-txt-vm):not(.list-title-red):not(.list-title-pink):not(.list-title-grey):not(.list-title-grey3):not(.list-title-grey2):not(.branch-title-g):not(.branch-title-r):not(.branch-subtitle-g):not(.branch-subtitle-r) {
  vertical-align: top;
}
.contract-clause-table > tbody > tr > td {
  vertical-align: top;
}
.txt-table-2.txt-table-align-lt td,
.txt-table-2 td[align="left"] {
  text-align: left;
}
.list-txt-ac {
  text-align: center
}
.box-service {
  text-align: left;
}
.branch-search-row {
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 20px;
}
.branch-search-empty {
  color: #d70c18;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
}
.branch-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 320px;
  flex: 0 1 320px;
  border: 2px solid #dedede;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}
.branch-search-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.4;
  background-color: #fff;
  color: #333;
}
.branch-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%23666' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.branch-search-input::-webkit-search-cancel-button:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='%23333' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.branch-search-input::placeholder {
  color: #999;
}
.branch-search-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(222, 222, 222, 0.8);
}
.branch-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-left: 2px solid #dedede;
  border-radius: 0;
  background-color: #d70c18;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.branch-search-btn:hover {
  background-color: #b80912;
  color: #fff;
}
.branch tbody tr.branch-search-hit-row td {
  background-color: #fde8ea;
}
.branch tbody tr.branch-search-hit-row-current td {
  background-color: #f8c4c9;
}
.box-service p {}
.table-striped {
  margin-top: 20px;
  font-size: 18px;
}
.branch-table-wrap {
  margin-bottom: 20px;
}
.box-service .branch {
  border-collapse: separate;
  border-spacing: 0;
}
.branch {}
.branch tr {}
.branch td {
  border: 1px solid #dedede;
  padding: 10px 15px;
  vertical-align: top;
  text-align: center;
  font-size: 18px;
}
.branch-title-g,
.branch-title-r,
.branch-subtitle-g,
.branch-subtitle-r {
  vertical-align: middle;
}
.branch-title-g {
  background-color: #666;
  color: #fff;
  font-weight: bold;
}
.branch-subtitle-g {
  background-color: #999;
  color: #fff;
  font-weight: bold;
}
.branch-title-r {
  background-color: #d70c18;
  color: #fff;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
}
.branch-subtitle-r {
  background-color: #F0989D;
  color: #fff;
  font-weight: bold;
}
.mt-40 {
  margin-top: 40px;
}
.mb-20 {
  margin-bottom: 20px;
}
.bg-grey {
  background-color: #dedede;
}
.path {
font-size: 16px;
color: #999;
}
.txt-ps {
margin-bottom: 10px;
font-size: 16px;
line-height: 26px;
color: #666;
}
.pic-ex {
display: block;
}
.txt-red {
font-weight: normal;
color: #d70c18;
}
.txt-red-bu {
font-weight: bold;
color: #d70c18;
text-decoration: underline;
}
.no {
display: inline;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 1;
position: static;
top: auto;
vertical-align: 7px;
width: auto;
margin-left: 0;
}

.icon-rose {
display: block;
width: 30px;
margin: 0 auto;
}
.icon-service {
font-size: 24px;
display: block;
}

