@charset "UTF-8";
@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 400;
  src: url("https://www.yuantabank.com.tw/bankwebIMG/event/fonts/NotoSansTC-Regular.otf") format("opentype");
  font-display: swap; }

@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 500;
  src: url("https://www.yuantabank.com.tw/bankwebIMG/event/fonts/NotoSansTC-Medium.otf") format("opentype");
  font-display: swap; }

@font-face {
  font-family: 'Noto Sans TC';
  font-style: normal;
  font-weight: 700;
  src: url("https://www.yuantabank.com.tw/bankwebIMG/event/fonts/NotoSansTC-Bold.otf") format("opentype");
  font-display: swap; }

/* ------------------------------- main ------------------------------- */
* {margin: 0; padding: 0;/* box-sizing: border-box; */}
body{width: 100%; height: 100%; font-family: 'Noto Sans TC','微軟正黑體', 'MS UI Gothic',Arial, Helvetica, sans-serif; font-size: 12px; }
table{width: 100%; border-collapse: collapse; border-spacing: 0;}
table,tr,th,td{margin: 0; padding: 0;}
img{margin: 0; padding: 0; display: block;}

.main{width: 100%; max-width: 1920px; margin: 0 auto; overflow: hidden; color: #303030; padding-top: 80px; font-size: 12px; background: #CCECFF;}
.section{width: 100%; max-width: 1920px; margin: 0 auto;}
.web-only{display: inline-block;}
.mob-only{display: none;}
.br-mob-only{display: none;}
/* kv */
.kv_container{width: 100%; margin: 0 auto; background: #C4DDFF url("../images/kv_bg.png") center top no-repeat; background-size: cover;}
.kv{width: 100%; height: 0; padding-bottom: 34.48958%; margin: 0 auto; position: relative; overflow: hidden;}
.kv .kv_tit{width: 34%; position: absolute; top: 18%; left: 19%; z-index: 8;}
.kv .kv_man{width: 25%; position: absolute; bottom: -0.5%; right: 17%;}
.kv .arrow3 {width: 5%; position: absolute; top: 23%; right: 85%;
  animation-name: floatBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: .6s;
}
.flag{width: 4%; position: absolute; top: 36%; right: 39%; 
  transform-origin: center center;
  -webkit-transform-origin: center center;
  will-change: transform;
  animation: flagPulse 2.5s ease-in-out infinite;
  -webkit-animation: flagPulse 2.5s ease-in-out infinite;
}
.kv .arrow4 {width: 5%; position: absolute; top: 15%; right: 19%;}
.coin_hand{width:11%; position: absolute; top: 39%; right: 15%; z-index: 12; 
  transform-origin: left bottom;
  -webkit-transform-origin: left bottom;
  will-change: transform;
  animation: coinSwing 3s ease-in-out infinite;
  -webkit-animation: coinSwing 3s ease-in-out infinite;
}
.arc{width: 100%; position: absolute; top: 76%;margin: auto ; z-index: 10;}
.kv .girl{width: 22%; position: absolute; right: 22%; top: 20%;z-index: 9;}
/* content */
.content_container{width: 100%; margin: 0 auto; padding: 80px 0; background: #C4DDFF;}
.content{width: 100%; margin: 0 auto; max-width: 1140px; display: flex; flex-direction: column; gap: 60px;}
/* info */
.info{width: 100%; margin: 0 auto;}
.info-wrap{display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 30px 70px; border-radius: 15px; background: #FFFFFF;}
.info-item{text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center;}
.info-line{flex: 0 0 auto; width: 1px; background: #BDBDBD;}
.info-title{display: inline-block; width: 200px; font-size: 20px; font-weight: 700; line-height: 2; color: #FFF; border-radius: 20px; background-color: #00346E;}
.info-text{font-size: 20px; line-height: 1.8;}
.text-b{font-weight: 700;}
.text-red{color: #F7594D;}
.text-orange{color: #FC6E1F;}
.text-blue{color: #3A6ED1;}
.text-yellow{color: #FFCC00;}
.info-item2{padding: 7px 0; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center;}
.form_m{display: none;}
/* rate*/
.info-wrap2{padding: 0;}
.info-rate{width: 100%; margin: 0 auto;}
.rate-tit{font-size: 40px; line-height: 1.8; letter-spacing: 2px; background-color: #3A6ED1; color: #ffffff; text-align: center; padding: 2% 6%; border-radius: 17px 17px 0 0;}
.rate-text{padding: 30px 70px; font-size: 20px; line-height: 1.8; display: flex; flex-direction: column; gap: 40px;}
.rate-text ol{list-style-type: decimal; padding-left: 20px; text-align: justify;}
.rate-text ol li{}
.rate-note{font-size: 16px; color: #666666;}
.txt{font-size: 22px;}
/* Rate table styles */
.rate-table-wrap{width:85%;margin:0px auto 6px;padding:0 12px;text-align:center}
.rate-table-title{background:#00346E;color:#fff;padding:10px;font-weight:700;font-size:22px;border:2px solid #ffffff;}
.rate-table{width:100%;border-collapse:collapse;margin-top:2px;background:transparent}
.rate-table th,.rate-table td{border:2px solid #ffffff;padding:12px;background:#EDEDED;font-size:18px}
.rate-table th{background:#D9E9FC;color:#0b4a7a;font-weight:700;font-size:18px}
.rate-table td.amount{color:#d93b2f;font-weight:800}
.rate-table td.rate{color:#d93b2f;font-weight:800;font-size:18px}
@media only screen and (max-width:767px){
  .rate-table-wrap{padding:0}
  .rate-table th,.rate-table td{padding:10px;font-size:16px}
  .rate-table-title{font-size:14px;padding:8px}
}
/* block-action */
.block-action{display: flex; align-items: center; justify-content: center; gap: 20px 50px; margin-bottom: 20px;}
.btn{display: flex; align-items: center; justify-content: center; gap: 10px; width: 220px; height: 60px; font-size: 22px; font-weight: 700; line-height: 1; color: #FFF; border-radius: 10px; background-color: #FC6E1F; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; box-shadow: 0 6px 16px rgba(252, 110, 31, 0.2);}
.btn:hover{transform: translateY(-2px); box-shadow: 0 10px 22px rgba(252, 110, 31, 0.3); background-color: #e95f0f;}
.btn img{flex: 0 0 auto; width: 22px;}
.btn span{flex: 0 0 auto;}
.btn.-bu{background-color: #4858ac;}
/* banner */
.banner_container{background: #E5F3FF; padding: 80px 0;}
.bn-cont{width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; justify-content: center; align-items: center;}
.block-text{display: flex; flex-direction: column; gap: 20px; line-height: 1.7; text-align: center;}
.block-tit-zone{display: flex; flex-direction: column;}
.block-title{display: flex; align-items: center; justify-content: center; gap: 12px;}
.block-title::before, .block-title::after {
      content: '';
      flex: 0 0 auto;
      width: 28px;
      height: 28px;
      margin-top: 4px;
      background: url("../images/star.svg") no-repeat center/contain;
      -webkit-animation: star 3s infinite;
              animation: star 3s infinite; }
.block-title span {
      flex: 0 0 auto;
      padding-left: 0.08em;
      font-size: 56px;
      font-weight: 700;
      line-height: 1.45;
      letter-spacing: 0.08em;
      color: #3A6ED1; }
.block-subtitle{font-size: 32px; font-weight: 700; color: #FC6E1F;}
.block-words{font-size: 20px; color: #303030;}
.block-words-orange{font-size: 24px;}
.block-banner{display: flex; flex-direction: row; gap: 30px;}
/* notice */
.notice_container{background: #FFFFFF;}
.notice {width: 100%; max-width: 1440px; margin: 0 auto; padding: 4% 6%;}
.notice-title {font-size: 22px; font-weight: 700; line-height: 1.8; text-align: center;}
.notice-content {margin-top: 20px; padding-top: 20px; font-size: 16px; line-height: 2; border-top: 1px solid #303030;}
.notice-content a{text-decoration: underline; color: #ed1c24; z-index:5;}
.notice-content ol{margin: 0; padding-left: 18px; list-style-type: decimal; padding-left: 24px;}
.notice-content ol>li{}
.notice-content ol>li>span{font-weight: 500;}
.notice-content ol>li>ol{}
.notice-content ol>li>ol>li{list-style: none; position: relative; counter-increment: section 1;}
.notice-content ol>li>ol>li::before {
    content: "(" counter(section) ")";
    position: absolute;
    top: 0px;
    left: -5px;
    transform: translateX(-100%);
}
#contTab {
  display: none;
}

.content-more {
  display: none;
}

#contTab:checked~#cont {
  max-height: 250px;
  overflow: hidden;
}

#contTab:checked~.content-more {
  display: block;
  position: relative;
  padding-top: 20px;
  padding-bottom: 30px;
  text-align: center;
}

#contTab:checked~.content-more .gradient {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(254, 239, 212, 0)), to(#fff));
  background-image: -webkit-linear-gradient(top, rgba(254, 239, 212, 0), #fff);
  background-image: linear-gradient(-180deg, rgba(254, 239, 212, 0), #fff);
  height: 90px;
  position: absolute;
  left: 0;
  top: -80px;
  width: 100%;
}

#contTab:checked~.content-more .readmore {
  display: inline-block;
  background: #2445A1;
  color: #FFF;
  width: 175px;
  height: 42px;
  border-radius: 42px;
  line-height: 42px;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.3s;
}

#contTab:checked~.content-more .readmore:hover {
  opacity: 1
}
/* float */
.float {position: fixed; top: 200px; right: 20px; width: 50px; z-index: 50;}
.float-item {display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 20px 10px; border-radius: 10px; background-color: #FC6E1F; font-size: 18px; transition: transform .2s ease;}
.float-item:hover {transform: scale(1.04);}
.float-item img {width: 22px; }
.float-item div {color: #FFF; letter-spacing: 1px; -webkit-writing-mode: vertical-lr; -ms-writing-mode: tb-lr; writing-mode: vertical-lr;}
.float-item.-blue {margin-top: 16px; background-color: #337dff;}

@media only screen and (max-width: 1239px) {
    .kv .kv_tit{width: 36.25%; left: 17.2%;}
    .content_container{padding: 40px 30px 80px;}

    /* info */
    .info-wrap{padding: 30px;}
    .info-wrap2{padding: 0;}
    .info-title{width: 160px; font-size: 18px;}
    .info-text{font-size: 18px;}
    .info-note{font-size: 16px;}
    /* rate */
    .rate-tit{font-size: 32px;}
    .rate-text{font-size: 18px; padding: 30px;}
    /* banner */
    .banner_container{padding: 80px 30px;}
    .block-words-orange{font-size: 20px;}
    /* float */
    .float {right: 12px; width: 40px;}
    .float-item {padding: 20px 10px; font-size: 16px;}
    .float-item img {width: 18px;}
}
@media screen and (max-width: 1024px) {
    .main{padding-top: 76px;}
    .br-web-only{display: none;}
    /* info */
    .info-title{font-size: 16px;}
    .info-text{font-size: 16px;}
    .info-note{font-size: 14px;}
    /* rate */
    .rate-tit{font-size: 26px;}
    .rate-note{font-size: 14px;}
    /* banner */
    .block-title span{font-size: 30px;}
    .block-subtitle{font-size: 24px;}
    .block-words{font-size: 18px;}
    .block-words-orange{font-size: 18px;}
    /* notice */
    .notice-content{font-size: 15px; line-height: 1.8;}
    .notice-title{font-size: 18px;}
}
@media screen and (max-width: 767px) {
    .main{padding-top: 58px;}
    .web-only{display: none;}
    .mob-only{display: inline-block;}
    .content_container{padding: 14% 30px;}
    /* kv */
    .kv_container{width: 100%; background: none;}
    .kv{width: 100%; max-width: 767px; height: 0; padding-bottom: 141.025641025%; background: url("../images/kv_bg_m.png") center top no-repeat; background-size: 100% auto; position: relative;}
    .kv .kv_tit{width: 80%; position: static; margin: 0 auto; padding-top: 14.5%;}
    .kv .kv_man{width: 58%; right: 18%;}
    .kv .banknote1 {display: none;}
    .kv .girl{width: 58%; right: 23%; top: 52%;z-index: 9;}
    .arc{top: 94%;}
    .coin_hand {width: 26%;position: absolute;top: 67%;right: 8%;}
    .flag {width: 12%; top: 61%; right: 73%;}
    .kv .arrow4 {width: 12%;top: 54%;right: 16%;}
    .kv .arrow3 {display: none;}

    /* info */
    .info-line{display: none;}
    .info-title{width: 160px; font-size: 18px;}
    .info-text{font-size: 18px;}
    .info-note{font-size: 16px;}
    .rate-table-wrap{display: none;}
    .form_m{display: block; margin:0 auto; width:90%;}
    
    /* banner */
    .banner_container{padding: 12% 30px;}
    .block-banner{flex-direction: column; gap: 30px;}
    .block-text{gap: 20px;}
    .block-tit-zone{gap: 0px;}
    /* block-action */
    .block-action{gap: 20px;} 
    /* float*/
    .float {display: flex; width: 100%; top: auto; bottom: 0; right: 0;}
    .float-item {flex: 1; flex-direction: row; justify-content: center; padding: 15px 10px;  border-radius: 0; font-size: 15px; line-height: 18px;}
    .float-item div {
          -webkit-writing-mode: initial;
              -ms-writing-mode: initial;
                  writing-mode: initial; }
    .float-item.-blue {margin-top: 0;}
}
@media screen and (max-width: 600px) {
    .content{gap: 40px;}
    .br-mob-only{display: block;}
    .rate-tit{font-size: 24px; line-height: 1.6; padding: 4% 2%;}
    .block-action{flex-direction: column;} 
    .form_m{width:100%;}
    
}
@media screen and (max-width: 480px) {
    /* info */
    .info-text2{text-align: justify;}
    .info-rate{gap: 40px;}
    .rate-text{font-size: 16px;}
    /* banner */
    .block-title{font-size: 30px;}
    .block-subtitle{font-size: 20px;}
    .block-words{text-align: justify;}
    /* notice */
    .notice {padding: 10% 6%;}
    .notice-content{font-size: 14px;}
}

@-webkit-keyframes floatBounce {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8%);
  }
}

@keyframes floatBounce {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8%);
  }
}

@-webkit-keyframes banknotejump {
  0% {
    transform: translateY(0); }
  100% {
    transform: translateY(10%); } }

@keyframes banknotejump {
  0% {
    transform: translateY(0); }
  100% {
    transform: translateY(10%); } }

@-webkit-keyframes star {
  0% {
    transform: rotate(0deg) scale(0.3); }
  35% {
    transform: rotate(360deg) scale(1); }
  65% {
    transform: rotate(360deg) scale(1); }
  100% {
    transform: rotate(720deg) scale(0.3); } }

@keyframes star {
  0% {
    transform: rotate(0deg) scale(0.3); }
  35% {
    transform: rotate(360deg) scale(1); }
  65% {
    transform: rotate(360deg) scale(1); }
  100% {
    transform: rotate(720deg) scale(0.3); } }

@-webkit-keyframes flagPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes flagPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@-webkit-keyframes coinSwing {
  0% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
  100% { transform: rotate(-6deg); }
}

@keyframes coinSwing {
  0% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
  100% { transform: rotate(-6deg); }
}