@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: #FFE7D7;}
.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: #FFEADD 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: 31.25%; position: absolute; top: 22%; left: 17.2%;}
.kv .kv_man{width: 35%; position: absolute; top: 23%; right: 15%;}
.kv .arrow1 {width: 11%; position: absolute; top: 27%; right: 94%; 
  animation-name: floatBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: .8s;
  }
  .kv .arrow2 {width: 13%; position: absolute; top: 42%; right: 81%; 
  animation-name: floatBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.2s;
  }
  .kv .arrow3 {width: 25%; position: absolute; top: -23%; right: 50%;
  animation-name: floatBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: .6s;
  }
  .kv .arrow4 {width: 14%; position: absolute; top: -15%; right: 6%; 
  animation-name: floatBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
animation-duration: 1s;
  }
.kv .arrow5 {width: 10%; position: absolute; top: 37%; right: -5.5%; 
  animation-name: floatBounce;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: .7s;
  }
.kv .saving-man{width: 100%; position: relative;}
.kv .coin1{width: 11%; position: absolute; top: 63%; left: -3%;
-webkit-animation: coinjump 1s ease-in-out infinite alternate;
        animation: coinjump 1s ease-in-out infinite alternate;}
.kv .coin2{width: 5.5%; position: absolute; top: -2%; left: 38%;
-webkit-animation: coinjump 0.8s ease-in-out infinite alternate;
        animation: coinjump 0.8s ease-in-out infinite alternate;}
/* content */
.content_container{width: 100%; margin: 0 auto; padding: 80px 0; background: url("../images/deco.png") no-repeat center center; background-size: 1920px;}
.content{width: 100%; margin: 0 auto; max-width: 1200px; display: flex; flex-direction: column; gap: 60px;}
/* info */
.info{width: 100%; margin: 0 auto;}
.info-wrap{display: flex; justify-content: center; gap: 30px; padding: 30px 70px; border-radius: 15px; background: #FFFFFF; box-shadow: 0px 20px 40px rgba(255, 196, 157, 0.5);}
.info-item{flex: 1 1 0; min-width: 300px; padding: 7px 0; 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: #4667D1;}
.info-text{font-size: 20px; line-height: 1.8;}
.info-note{margin-top: 20px; font-size: 18px; line-height: 1.8; color: #F24541; text-align: center;}
.text-b{font-weight: 700;}
.text-red{color: #F7594D;}
.text-blue{color: #4667D1;}
.text-yellow{color: #FFF200;}
.info-item2{padding: 7px 0; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center;}
/* 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: #F7594D; 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;}
/* 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: #F7594D; text-decoration: none; cursor: pointer; }
.btn img{flex: 0 0 auto; width: 22px;}
.btn span{flex: 0 0 auto;}
.btn.-bu{background-color: #4858ac;}
/* banner */
.banner_container{background: #FFD6BA; padding: 80px 0;}
.bn-cont{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{font-size: 48px; font-weight: 700; color: #4667D1;}
.block-subtitle{font-size: 28px; font-weight: 500; color: #F7594D;}
.block-words{font-size: 20px; color: #303030;}
.block-words-blue{font-size: 24px;}
/* 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: #F7594D; font-size: 18px;}
.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) {
    .br-web-only{display: none;}
    .kv .kv_tit{width: 34.25%; left: 14.2%;}
    .content_container{padding: 40px 30px 80px;}
    /* info */
    .info-wrap{padding: 30px;}
    .info-wrap2{padding: 0;}
    .info-item{min-width: 220px;}
    .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-blue{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;}
    /* info */
    .info-item{min-width: 170px;}
    .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{font-size: 36px;}
    .block-subtitle{font-size: 24px;}
    .block-words{font-size: 18px;}
    .block-words-blue{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: 12% 30px;}
    /* kv */
    .kv_container{width: 100%; background: none;}
    .kv{width: 100%; max-width: 767px; height: 0; padding-bottom: 146.153846%; background: url("../images/kv_bg_m.png") center top no-repeat; background-size: 100% auto; position: relative;}
    .kv .kv_tit{width: 85%; position: static; margin: 0 auto; padding-top: 14.5%;}
    .kv .kv_man{width: 73%; top: 57%; right: 14%;}
    .kv .coin1 {width: 11.5%; top: -2%; left: 81%;}
    .kv .coin2 {width: 22%; top: 46%; left: -6%;}
    /* info */
    .info-wrap{flex-direction: column; gap: 20px;}
    .info-line{display: none;}
    .info-item{min-width: 220px;}
    .info-title{width: 160px; font-size: 18px;}
    .info-text{font-size: 18px;}
    .info-note{font-size: 16px;}
    /* banner */
    .banner_container{padding: 12% 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) {
    .br-mob-only{display: block;}
    .rate-tit{font-size: 24px; line-height: 1.6; padding: 4% 2%;}
    .block-action{flex-direction: column;} 
}
@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 coinjump {
  0% {
    transform: translateY(0); }
  100% {
    transform: translateY(10%); } }

@keyframes coinjump {
  0% {
    transform: translateY(0); }
  100% {
    transform: translateY(10%); } }