@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: #303035; padding-top: 80px; font-size: 12px; background: #DEB89C;}
.section{width: 100%; max-width: 1920px; margin: 0 auto;}
.web-only{display: inline-block;}
.mob-only{display: none;}
/* kv */
.kv_container{width: 100%; margin: 0 auto; background: #FFEFE7 url("../images/kv_bg.png") center top no-repeat; background-size: cover;}
.kv{width: 100%; max-width: 1920px; height: 0; padding-bottom: 31.25%; margin: 0 auto; position: relative; overflow: hidden;}
.kv .kv_tit{width: 34.375%; position: absolute; top: 15%; left: 19.5%;}
.kv .coin1{width: 6.5%; position: absolute; top: 62%; left: 56%;
      -webkit-animation: jump 1s ease-in-out infinite alternate;
              animation: jump 1s ease-in-out infinite alternate;}
.kv .coin2{width: 8%; position: absolute; top: 25%; right: 9%;
      -webkit-animation: jump 1s ease-in-out infinite alternate-reverse;
              animation: jump 1s ease-in-out infinite alternate-reverse;}
.kv .horse{width: 20%; position: absolute; top: 14%; right: 15%;
      -webkit-animation: jump 1s ease-in-out infinite alternate-reverse;
              animation: jump 1s ease-in-out infinite alternate-reverse;}
.kv .cloud{width: 21%; position: absolute; bottom: -6%; right: 5%;}
/* content */
.content_container{width: 100%; margin: 0 auto; color: #333333;}
.content{width: 100%; max-width: 1440px; margin: 0 auto; padding: 6%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 60px;}
/* info */
.info{width: 100%; margin: 0 auto;}
.info-wrap{display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 5%; border-radius: 15px; background: #FFFFFF;}
.info-item{display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;}
.info-title{display: inline-block; width: 220px; font-size: 20px; font-weight: 500; line-height: 2.2; letter-spacing: 0.04em; color: #FFF; border-radius: 50px; background-color: #6b7eda;}
.info-text{font-size: 20px; line-height: 1.8;}
.info-text ul{list-style-type: decimal; padding-left: 24px;}
.info-text ul li{text-align: left;}
/* form */
.br-mob-only{display: none;}
.form{width: 100%; margin: 0 auto;}
.form-wrap{}
.form-title{display: flex; align-items: center; justify-content: center; gap: 15px;}
.form-title::before, .form-title::after {content: ''; flex: 0 0 auto; width: 30px; height: 30px; margin-top: 4px; background: url("../images/TW.svg") no-repeat center/contain;}
.form-title span{flex: 0 0 auto; font-size: 36px; font-weight: 700; text-align: center; line-height: 1.4; letter-spacing: 0.08em; color: #333333;}
.form-table{width: 100%; font-size: 20px; font-weight: 500; color: #333333;}
.form-table table{width: 100%;}
.form-table th,td{font-size: 20px; line-height: 1.6; text-align: center; vertical-align: middle; border: solid #FFFFFF 3px; border-collapse: collapse; padding: 12px;}
.form-table table tr{}
.form-table table th{color: #FFFFFF; background: #6b7eda;}
.form-table table td{background: #EEF2FF;}
.form-table table td.table-rate{color: #FFFFFF; background: #4858ac;}
.form-txts{font-size: 16px; text-align: center;}
.form-txtl{font-size: 24px; text-align: center;}
.form-notice{font-size: 16px; line-height: 1.6; text-align: center;}
.txt-red{color: #F24541;}
.txt-blue{color: #4858ac;}
.txt-bold{font-weight: 700;}
/* block-action */
.block-action{display: flex; align-items: center; justify-content: center; gap: 20px 50px;}
.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: #F24541; text-decoration: none; cursor: pointer; }
.btn img{flex: 0 0 auto; width: 22px; }
.btn span{flex: 0 0 auto; padding-bottom: 2px; }
.btn.-bu{background-color: #4858ac;}
@media only screen and (min-width: 1024px) {
.btn{transition: .3s; }
.btn:hover{transform: scale(1.1); } }

/* banner */
.banner{width: 100%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;}
.block-text{display: flex; flex-direction: column;}
.block-title{font-size: 40px; line-height: 1.6; text-align: center; font-weight: 700; letter-spacing: 0.08em; color: #333333;}
.block-subtitle{font-size: 26px; line-height: 1.6; text-align: center; font-weight: 500; letter-spacing: 0.04em; color: #333333;}
/* notice */
.notice_container{background: #FFFFFF;}
.notice {width: 100%; max-width: 1440px; margin: 0 auto; padding: 4% 9%; color: #333333;}
.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; list-style-type: decimal; padding-left: 24px; text-align: justify;}
.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%);
}
/* 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: #F94B4B; 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) {
    /* info */
    .info-title{width: 200px; font-size: 18px;}
    .info-text{font-size: 18px;}
    /* form */
    .form-table th,td{font-size: 18px;}
    /* 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;}
    /* form */
    .form-title span{font-size: 30px;}
    /* banner */
    .block-title{font-size: 30px;}
    .block-subtitle{font-size: 20px;}
    /* 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;}
    /* kv */
    .kv_container{width: 100%; background: none;}
    .kv{width: 100%; max-width: 767px; height: 0; padding-bottom: 131.93277%; background: url("../images/kv_bg_m.png") center top no-repeat; background-size: 100% auto; position: relative;}
    .kv .kv_tit{width: 84%; top: 6%; left: 8.5%;}
    .kv .coin1{width: 15%; top: 80%; left: 8%;}
    .kv .coin2{width: 18%; top: 52%; right: 10%;}
    .kv .horse{width: 46%; top: 51%; right: 26%;}
    .kv .cloud{width: 47%; bottom: -3%; right: 5%;}
    /* info */
    .info-wrap{padding: 8% 4%;}
    /* form */
    .form-table{width: auto; font-size: 16px;}
    .form-table th,td{font-size: 16px; border: solid #FFFFFF 2px; padding: 8px 4px;}
    .form-txts{font-size: 14px;}
    .form-txtl{font-size: 24px;}
    /* 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: 480px) {
    .content{padding: 10% 5% 10%; gap: 30px;}
    /* info */
    .info-wrap{gap: 20px;}
    .info-title{width: 180px; font-size: 17px;}
    .info-text{font-size: 17px;}
    /* form */
    .form-title{gap: 10px;}
    .form-title::before, .form-title::after {width: 20px; height: 20px;}
    .form-title span{font-size: 24px;}
    .form-table th,td{font-size: 14px;}
    .form-txtl{font-size: 20px;}
    .form-txts{font-size: 12px;}
    .form-notice{font-size: 14px; text-align: justify;}
    /* notice */
    .notice {padding: 8% 6%;}
    .notice-content {font-size: 14px;}
}


@-webkit-keyframes jump {
  0% {
    transform: translateY(-7%); }
  100% {
    transform: translateY(7%); } }

@keyframes jump {
  0% {
    transform: translateY(-7%); }
  100% {
    transform: translateY(7%); } }
