/*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;
  font-size: 15px;
  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;
}
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;
}

/*台新天地*/
body {
  padding-top: 60px;
  color: #333;
  font-size: 20px;
  line-height: 30px;
}
.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;
}
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}
/*內容*/
/*頁籤選單*/
.navbar {}
.navbar a {}
.menu-bar {
  display: block;
  width: 100%;
}
.menu-bar.navbar {
  margin-top: 0;
}
.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:hover {
  color: #333;
  background-color: #fff;
}
/*主視覺*/
.block-kv {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 37%;
  background-image: url("../images/kv.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.block-kv-copy {
  position: absolute;
  top: 15%;
  left: 21%;
  width: 30%;
  z-index: 1;
}
.block-kv-title {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.block-kv-btns {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2%;
  margin-top: 2%;
}
.block-kv-btns a {
  display: block;
  flex: 0 0 auto;
  max-width: 45%;
  line-height: 0;
}
.block-kv-btns img {
  width: 100%;
  height: auto;
  display: block;
}
.block-kv h1,
.block-kv h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 桌機主視覺：標題+按鈕左移、放大 30%、垂直置中 */
@media (min-width: 990px) {
  .block-kv-copy {
    top: 50%;
    left: 9%;
    width: 39%;
    transform: translateY(-50%);
  }
}
/*頁籤內容*/
.box {
  padding: 60px 20px;
}
.box-announcement {}
h3 {
  font-size: 36px;
  font-weight: bold;
  color: #d70c18;
  margin-bottom: 40px;
}
h4 {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  color: #333;
  margin-bottom: 40px;
  line-height: 44px;
}
#required-documents {
  scroll-margin-top: 80px;
}
h4 strong {}
h4 span {
  display: block;
  font-size: 22px;
  color: #333;
}
h5 {
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0px auto 40px auto;
  line-height: 44px;
}
h6 {
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin: -20px auto 40px auto;
  line-height: 44px;
}
h6 span {
display: block;
font-size: 20px;
}

/*Welcome*/
.box-announcement p {
  text-align: left;
  margin-bottom: 20px;
}
.box-announcement ul {
  text-align: left;
  margin-left: 26px
}
.box-announcement ul li {
  margin-bottom: 20px;
  display: inline-block;
  width: 49%;
}
.icon-checked {
  color: #d70c18;
  display: inline-block;
  margin-left: -26px;
  margin-right: 5px;
}

/*Account*/
.box-rights h4 {
margin-top: 0px;
}
.box-rights p {
  text-align: left;
  margin-bottom: 20px;
}
.box-rights table {
  margin-bottom: 40px;
}
.box-rights em {
  display: inline;
  font-style: normal;
  margin-left: 10px;
}
.box-rights table span {
  margin-left: 26px;
  display: inline-block;
}
.box-rights .icon-checked {
  color: #666;
  vertical-align: top;
}
.box-rights table b {
  font-weight: normal;
}


/*Credit Card*/
.box-creditcard {
margin-top: 40px;
}
.box-creditcard h4 {}
/*Credit Card-手機輪播*/
.carousel-box {}
.step-wrap {
  max-width: 100%;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 100px;
}
.step-wrap .owl-prev {
  left: -36px;
}
.step-wrap .owl-next {
  right: -36px;
}
.step-wrap .owl-dots {
  display: block;
  text-align: center;
}
.step-wrap .owl-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin: 0 8px;
  background: #dedede !important;
}
.step-wrap .owl-dot.active {
  background: #d70c18 !important;
}
.step-wrap .owl-dot:focus {
  outline: none;
}
.owl-nav button {
  width: 34px;
  height: 69px;
  position: absolute;
  top: 44%;
}
.owl-nav button:focus {
  outline: none;
}
.owl-nav span {
  display: none;
}
.item {}
.item {
  font-size: 18px;
  font-weight: bold;
}
.figure {
  width: 98%;
  margin: 0 auto;
}
.phone-step {
  width: 50%;
  margin: 0 auto;
}
.item p {
  font-size: 18px;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 10px;
  text-align: left;
  margin-left: 31px;
}
.item p b {
  background-color: #d70c18;
  color: #fff;
  display: inline-block;
  border-radius: 5px;
  margin-right: 5px;
  text-align: center;
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 50%;
  margin-left: -31px;
}
/*Credit Card-信用卡切換*/
ul.nav.cc-compare-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  gap: 1.25rem;
  align-items: stretch;
  justify-content: flex-start;
  padding-bottom: 14px;
}
ul.nav.cc-compare-tabs > .nav-item {
  flex: 0 0 calc(50% - 0.625rem);
  max-width: calc(50% - 0.625rem);
  width: calc(50% - 0.625rem);
  min-width: 0;
  border-bottom: none;
  padding: 0;
}
ul.nav.cc-compare-tabs {
  justify-content: center;
  gap: 15%;
}
ul.nav.cc-compare-tabs > .nav-item {
  flex: 0 0 35%;
  max-width: 35%;
  width: 35%;
}
ul.nav.cc-compare-tabs .nav-link.cc-tab-icon {
  position: relative;
  overflow: visible;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 0.5rem;
  color: #333;
  background: #f8f9fa;
  line-height: 1;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
ul.nav.cc-compare-tabs .nav-link.cc-tab-icon.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 11px solid var(--tsRed);
  z-index: 2;
  pointer-events: none;
}
ul.nav.cc-compare-tabs .nav-link.cc-tab-icon .cc-tab-card-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}
ul.nav.cc-compare-tabs .nav-link.cc-tab-icon:hover {
  border-color: var(--tsRed);
  background: #fff;
}
ul.nav.cc-compare-tabs .nav-link.cc-tab-icon.active {
  border-color: var(--tsRed);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(215, 12, 24, 0.2);
  color: var(--tsRed);
}
.box-card {
  background-color: #fff;
  padding: 40px;
  border-radius: 15px;
  border: 2px solid #d70c18;
  margin-bottom: 100px;
  box-shadow: 0 0 0 2px rgba(215, 12, 24, 0.2);
}
.cc-benefits-list {
  text-align: left;
  width: 100%;
  margin-top: 40px;
}
.cc-benefits-list li {
  margin-bottom: 20px;
}
.cc-benefits-list li strong {
  color: #d70c18;
  display: inline-block;
}
.cc-benefits-list li span {
  display: block;
  margin-bottom: 15px;
  padding-left: 25px;
}
.cc-benefits-list li i {
  display: inline-block;
  color: #d70c18;
  margin-right: 5px;
  vertical-align: top;
}
.cc-benefits-list li span i {
  display: inline-block;
  width: 2%;
}
.cc-benefits-list li span b {
  display: inline-block;
  font-weight: normal;
  width: 95%;
}
.btn-apply-cc {
  display: inline-block;
  margin-top: 20px;
  padding: 0.65rem 2rem;
  background-color: var(--tsRed);
  color: #fff !important;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
  margin-bottom: 40px;
}
.btn-apply-cc:hover {
  opacity: 0.92;
  color: #fff !important;
  transform: translateY(-1px);
  background-color: #666;
}
.btn-apply-cc:focus-visible {
  outline: 2px solid var(--tsRed);
  outline-offset: 3px;
}
.table-branch-merge > thead > tr > th {
  background-color: #666;
  color: #fff;
  border-color: #5a5a5a;
  font-weight: 600;
}
.table-branch-merge > thead > tr > th:not(:last-child) {
  border-right: 2px solid #dedede;
}

/*Investment*/
.box-digital {}
.box-digital p {
  text-align: left;
  margin-bottom: 20px;
}
.ps {
  text-align: left;
  margin-bottom: 20px;
}
.ps li {
  margin-left: 18px;
  margin-bottom: 10px;
}
.ps li p {
  margin-left: -18px;
  margin-bottom: -5px;
}
.ps li span {
  display: inline-block;
  margin-left: -18px;
}

/*service*/
.box-service {}
.box-service table {
text-align: left;
}
.box-service table tr {}
.box-service table th {
vertical-align: middle;
text-align: center;
}
.box-service table td {
vertical-align: middle;
}
.box-service table td a {}
.box-service table td a i {
font-size: 30px;
color: #d70c18;
}
.box-service .ps {
color: #666;
line-height: 22px;
display: inline-block;
margin-top: 10px;
margin-bottom: 0;
}
/* Services 實體據點：桌機 map 30% + 間距 3% + 表格 67% 同列；手機僅表格 */
@media (min-width: 992px) {
.branches-map-row {
display: flex;
flex-wrap: nowrap;
align-items: flex-start;
width: 100%;
gap: 3%;
}
.branches-map-aside {
flex: 0 0 30%;
max-width: 30%;
min-width: 0;
}
.branches-map-pin-wrap {
position: relative;
width: 100%;
}
.branches-map-img {
width: 100%;
height: auto;
display: block;
}
.branches-map-pin {
position: absolute;
transform: translate(-50%, -100%);
color: #d70c18;
font-size: 30px;
line-height: 1;
text-decoration: none;
z-index: 1;
}
.branches-map-pin:hover,
.branches-map-pin:focus-visible {
color: #d70c18;
opacity: 0.85;
}
.branches-map-pin--taipei {
top: 7%;
left: 77%;
}
.branches-map-pin--taichung {
top: 32%;
left: 33%;
}
.branches-map-pin--kaohsiung {
top: 76%;
left: 17%;
}
.branches-table-wrap {
flex: 0 0 67%;
max-width: 67%;
min-width: 0;
}
.branches-table-wrap tbody tr.is-branch-highlight > th,
.branches-table-wrap tbody tr.is-branch-highlight > td {
background-color: #fde8ec !important;
transition: background-color 0.2s ease;
}
.branches-map-pin.is-pin-hover {
opacity: 0.85;
}
}
.info {
text-align: left;
margin-top: 40px;
margin-left: 31px;
margin-bottom: 100px;
}
.info li {
margin-top: 20px;
}
.info i {
display: inline-block;
margin-left: 0px;
color: #666;
vertical-align: top;
margin-left: -26px;
margin-right: 5px;
}
.info a {
color: #d70c18;
font-weight: bold;
}
.info span {
display: inline-block;
}
.table-documents {}
.table-documents th {}
.table-documents tr {}
.table-documents td {
padding: 10px 15px;
}
.table-documents p {
margin-bottom: 40px;
}
.table-documents b {
display: inline-block;
width: 100px;
font-weight: normal;
font-size: 12px;
line-height: 24px;
padding: 2px 3px;
border-radius: 5px;
margin-bottom: 10px;
margin-right: 10px;
text-align: center;
border: 1px solid #999;
}
.table-documents strong {
font-weight: normal;
}
.documents {
margin-top:-20px;
margin-bottom: 0px;
}
/* Services 頁籤表格字級：桌機 18px / 附註 15px（實體據點、應備文件） */
@media (min-width: 990px) {
.box-service .table-documents,
.box-service .table-documents thead th,
.box-service .table-documents tbody th[scope="row"],
.box-service .table-documents td,
.box-service .table-documents p,
.box-service .table-documents strong,
.box-service .table-documents b,
.box-service .table-documents .info.documents,
.box-service .table-documents .info.documents li,
.box-service .table-documents .info.documents span,
.box-service .table-documents .info.documents a {
font-size: 18px;
line-height: 1.5;
}
.box-service .table-documents .txt-18,
.box-service .table-documents .ps {
font-size: 15px;
line-height: 1.4;
}
}

.txt-top {
vertical-align: top;
}

/*警語*/
.warning {
  background-color: #f2f2f2;
}
.warning p {
line-height: 22px;
}

/* 右側懸浮按鈕（goTop、立即申辦、應備文件） */
.btn-float-fixed {
  position: fixed;
  right: 16px;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
  text-decoration: none;
}
.btn-float-fixed:hover,
.btn-float-fixed:focus-visible {
  background-color: var(--tsRed, #d70c18);
}
.btn-float-fixed.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.btn-float-fixed:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.btn-float-fixed.btn-go-top,
.btn-float-fixed.btn-float-apply,
.btn-float-fixed.btn-float-docs {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 0;
}
.btn-float-fixed .bi {
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
}
.btn-float-label {
  display: none;
}
/* 桌機：右側圓形懸浮按鈕 */
@media (min-width: 990px) {
  .btn-go-top {
    bottom: 24px;
  }
  .btn-float-apply {
    bottom: 176px;
  }
  .btn-float-docs {
    bottom: 100px;
  }
}
.btn-float-apply:hover,
.btn-float-apply:focus-visible,
.btn-float-docs:hover,
.btn-float-docs:focus-visible {
  color: #fff;
  text-decoration: none;
}
.btn-float-fixed:hover .bi,
.btn-float-fixed:focus-visible .bi {
  color: #fff;
}

/* 表格直欄分隔：最右欄不加右邊線（排除 Account 注意事項 .table-booking） */
table.table > :not(caption) > * > th:not(:last-child),
table.table > :not(caption) > * > td:not(:last-child),
table:not(.table-booking) th:not(:last-child),
table:not(.table-booking) td:not(:last-child) {
border-right: 2px solid #dedede;
}

table.table > :not(caption) > * > td,
table td {
padding: 10px 15px;
}

.txt-18 {
display: inline;
font-size: 16px;
}

.table-booking {
margin-top: 20px;
border-collapse: collapse;
}
.table-booking th,
.table-booking td {
border: 1px solid #333 !important;
padding: 10px 15px;
}
.table-booking th:not(:last-child),
.table-booking td:not(:last-child) {
border-right: 1px solid #333 !important;
}

.red {
color: #d70c18;
}

/* 預約開戶：敬請期待彈窗 */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.coming-soon-overlay.is-open {
  display: flex;
}
.coming-soon-dialog {
  position: relative;
  background-color: #fff;
  color: #333;
  font-weight: 700;
  padding: 36px 56px;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  max-width: calc(100% - 48px);
  text-align: center;
}
.coming-soon-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #999999;
  font-size: 28px;
  line-height: 40px;
  cursor: pointer;
}
.coming-soon-close:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
  border-radius: 6px;
}
.coming-soon-zh {
  font-size: 28px;
  line-height: 1.2;
}
.coming-soon-en {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.2px;
}







