@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: #333333; padding-top: 80px; font-size: 12px; background: #F9EFE6;}
.section{width: 100%; max-width: 1920px; margin: 0 auto;}
.web-only{display: inline-block;}
.mob-only{display: none;}
.-web-pad{display: inline-block;}
.-mob{display: none;}
.tt-red{color: #ed2121;}
.tt-blue{color: #264987;}
.tt-gray{color: #797979;}
.tt-red{color: #DD4C45;}
.tt-bold{font-weight: 500;}
/* kv */
.kv_container{width: 100%; margin: 0 auto; background: #F9EFE6 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;}
.kv .kv_tit{width: 29%; position: absolute; top: 17%; left: 20%;}
.kv .flower{width: 3.5%; position: absolute; top: 17%; left: 22.5%; animation: rotateAni 2s linear infinite; transform-origin: center;}
.kv .kv_main{width: 29%; position: absolute; top: 10%; right: 19.5%;}
.kv .coin1{width: 6%; position: absolute; top: 61%; left: 5.5%;
-webkit-animation:coinjump 1s ease-in-out infinite alternate;
        animation:coinjump 1s ease-in-out infinite alternate;}
.kv .coin2{width: 5%; position: absolute; top: 51%; right: 13.5%;
-webkit-animation:coinjump 0.8s ease-in-out infinite alternate;
        animation:coinjump 0.8s ease-in-out infinite alternate;}
/* content */
.content_container{width: 100%; padding: 0 3% 6%; margin-top: -2%; color: #333333; background: url("../images/deco.png") no-repeat top center; background-size: 1920px;}
.content{width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px;}
/* info */
.info{width: 100%; margin: 0 auto; padding: 8% 10%; background: #FFFFFF; position: relative;}
.info::before, .info::after {
    content: '';
    position: absolute; }
.info::before {
    top: 10px;
    right: 38px;
    bottom: 10px;
    left: 38px;
    border-top: 3px solid #B8854D;
    border-bottom: 3px solid #B8854D; }
  .info::after {
    top: 38px;
    right: 10px;
    bottom: 38px;
    left: 10px;
    border-left: 3px solid #B8854D;
    border-right: 3px solid #B8854D; }
  .block-bg {
    position: absolute;
    right: 0;
    left: 0; }
    .block-bg::before, .block-bg::after {
      content: '';
      position: absolute;
      top: 10px;
      width: 30px;
      height: 30px;
      background-image: url("../images/Vector.svg");
      background-repeat: no-repeat;
      background-size: 100%;
      background-position: top left; }
    .block-bg::before {
      left: 10px; }
    .block-bg::after {
      right: 10px;
      -webkit-transform: rotate(90deg);
              transform: rotate(90deg); }
    .block-bg.top {
      top: 0; }
    .block-bg.bottom {
      bottom: 0;
      -webkit-transform: rotate(180deg);
              transform: rotate(180deg); }
.info-wrap{display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 50px;}
.info-item{display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 15px; text-align: center;}
.info-title{display: inline-block; width: 280px; font-size: 20px; font-weight: 700; line-height: 2; letter-spacing: 1px; color: #FFF; border-radius: 20px; background-color: #B8854D;}
.info-text{font-size: 20px; font-weight: 700; line-height: 1.8;}
.info-text>ol{list-style-type: decimal; padding-left: 20px; font-size: 18px; font-weight: 400; text-align: justify; margin-top: 10px;}
.info-text>ol>li{}
.info-text>ol>li>ol{padding-left: 25px;}
.info-note{font-size: 18px; line-height: 1.8; color: #F24541; text-align: center;}
/* form */
.form_container{width: 100%; margin: 0 auto; color: #484456;}
.form-wrap{display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;}
.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/JP.svg") no-repeat center/contain;}
.form-title span{flex: 0 0 auto; padding-left: 0.08em; font-size: 30px; font-weight: 700; text-align: center; line-height: 1.4; letter-spacing: 0.08em; color: #264987;}
.br-mob-only{display: none;}
.form-table{width: 100%;}
.form-table table{}
.form-table th,td{font-size: 20px; font-weight: 700; line-height: 1.6; text-align: center; vertical-align: middle; border: solid #FFFFFF 2px; border-collapse: collapse; padding: 12px 24px;}
.form-table table th{color: #FFFFFF; background: #B8854D;}
.form-table table tr{}
.form-table table td{color: #264987; background: #FFF3E3;}
.form-table table .txt-black{color: #333333;}
.form-table table .txt-rate{color: #E84F41; font-size: 30px;}

/* 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: #DD4C45; 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: #264987;}
  @media only screen and (min-width: 1024px) {
    .btn{transition: .3s; }
      .btn:hover{transform: scale(1.1); } }
/* notice */
.notice_container{background: #F9F8F8;}
.notice {width: 100%; max-width: 1800px; margin: 0 auto; padding: 4% 9%;}
.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;}
.notice-content p{color: #707070;}
.notice-content>ul{margin-top: 2%; list-style-type: cjk-ideographic; padding-left: 36px; line-height: 2; text-align: justify;}
.notice-content>ul>li{font-weight: 400;}
.notice-content>ul>li>ol{padding-left: 28px;}
.notice-content>ul>li>ol>li{}
.notice-content>ul>li>ol>li>ol{list-style-type: decimal; padding-left: 20px;}
.notice-content>ul>li>ol>li>ol>li{}
.notice-content>ul>li>ol>li>ol>li>ol{padding-left: 20px;}
.notice-content>ul>li>ol>li>ol>li>ol>li{}
ol.chinese {
    list-style-type: none;
    padding-left: 2em; }
    ol.chinese > li {
      position: relative; }
      ol.chinese > li::before {
        content: "(" attr(data-num) ")";
        position: absolute;
        top: 0;
        left: -0.3125em;
        transform: translateX(-100%); }
ol.brackets {
    list-style-type: none; }
    ol.brackets > li {
      position: relative;
      counter-increment: section; }
      ol.brackets > li::before {
        content: "(" counter(section, decimal) ")";
        position: absolute;
        top: 0;
        left: -0.3125em;
        transform: translateX(-100%);
        min-width: 1.25em;
        text-align: center; }

@media only screen and (max-width: 1239px) {
    .kv .kv_tit{width: 34%; top: 15%; left: 18%;}
    .kv .kv_main{width: 29%; right: 16.5%;}
    .kv .coin2{top: 52%; right: 10.5%;}
    /* form */
    .form-table th,td{font-size: 18px;}
    .form-table table .txt-rate{font-size: 28px;}
}
@media screen and (max-width: 1024px) {
    .main{padding-top: 76px;}
    /* info */
    .info-wrap{gap: 40px;}
    .info-title{width: 260px; font-size: 18px;}
    .info-text{font-size: 18px;}
    .info-text>ol{font-size: 16px;}
    /* notice */
    .notice-content {font-size: 15px; line-height: 1.8;}
    .notice-title {font-size: 18px;}
}
@media screen and (max-width: 820px) {
    .web-only{display: none;}
    .mob-only{display: inline-block;}
}
@media screen and (max-width: 767px) {
    .main{padding-top: 58px;}
    .-web-pad{display: none;}
    .-mob{display: inline-block;}
    .content_container{padding: 8% 5% 10%; background: url("../images/deco-m.png") no-repeat top center; background-size: 100% auto;}
    /* kv */
    .kv_container{width: 100%; margin: 0 auto; background: #F9EFE6 url("../images/kv_bg_m.png") center top no-repeat; background-size: cover;}
    .kv{width: 100%; height: 0; padding-bottom: 146.1538461%;}
    .kv .kv_tit{width: 77%; position: static; margin: 0 auto; padding-top: 11%;}
    .kv .flower{width: 9.5%; top: 8%; left: 17.5%;}
    .kv .kv_main{width: 72%; top: 48%; right: 10.5%;}
    .kv .coin1{width: 12%; top: 64%; left: 4.5%;}
    .kv .coin2{width: 11%; top: 77%; right: 6.5%;}
    /* info */
    .info{padding: 60px 30px; border-radius: 20px; border: solid 2px #B8854D;}
    .info::before {display: none; }
    .info::after {display: none;}
    .block-bg::before, .block-bg::after {display: none;}
    /* form */
    .br-mob-only{display: block;}
    /* notice */
    .notice {padding: 6%;}
}
@media screen and (max-width: 480px) {
    .content{gap: 30px;}
    /* info */
    .info{padding: 50px 25px;}
    /* form */
    .form-title span{font-size: 22px;}
    .form-table th,td{font-size: 16px; padding: 12px; border: solid #FFFFFF 2px;}
    .form-table table .txt-rate{font-size: 22px;}
    /* block-action */
    .block-action{flex-direction: column; padding-top: 5%;} 
    /* notice */
    .notice {padding: 8% 6%;}
    .notice-content {font-size: 14px;}
}


@-webkit-keyframes coin {
  0% {
    transform: translateY(-8%); }
  100% {
    transform: translateY(8%); } }

@keyframes coin {
  0% {
    transform: translateY(-8%); }
  100% {
    transform: translateY(8%); } }

@-webkit-keyframes icon {
  0% {
    transform: scale(1); }
  100% {
    transform: scale(1.04); } }

@keyframes icon {
  0% {
    transform: scale(1); }
  100% {
    transform: scale(1.04); } }

/* float */
.float {position: fixed; top: 150px; right: 0px; width: 50px; z-index: 50;/*  opacity: 0; */ transition: opacity 0.3s ease; /* 增加淡入效果比較優雅 */}
.float.show {opacity: 1}
.float-item {display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 20px 10px; border-radius: 10px 0 0 10px; background-color: #DD4C45; 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: #264987;}

@media only screen and (max-width: 1239px) {
    .float {width: 40px;}
    .float-item {padding: 20px 10px; font-size: 16px;}
    .float-item img {width: 18px;}
  }

@media only screen and (max-width: 767px) {
    .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;}
  }


@-webkit-keyframes coinjump {
  0% {
    transform: translateY(0); }
  100% {
    transform: translateY(15%); } }

@keyframes coinjump {
  0% {
    transform: translateY(0); }
  100% {
    transform: translateY(15%); } }


@keyframes rotateAni {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}