@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: #8AB7F7;}
.section{width: 100%; max-width: 1920px; margin: 0 auto;}
/* kv */
.kv_container{width: 100%; margin: 0 auto; background: #8AB7F7 url("../images/kv_bg.png") center top no-repeat; background-size: cover; position: relative;}
.kv{width: 100%; max-width: 1440px; height: 800px; margin: 0 auto; position: relative;}
.kv .kv_tit{width: 559px; position: absolute; top: 15%; left: 12.5%; animation-duration: 1s;}
.kv .kv_pic{width: 39%; height: 0; padding-bottom: 36.771428%; position: absolute; top: 5%; right: 7.5%;}
.kv .kv_pic .kv_phone{width: 100%; position: absolute; top: 0%; right: 0%;}
.kv .kv_pic .kv_nozzle{width: 40%; position: absolute; top: 31%; left: 0%; animation: float 0.75s ease-in-out infinite alternate-reverse;}
.kv .kv_pic .kv_taxi{width: 50%; position: absolute; top: 49%; left: 25%; animation: move 1.5s ease-in-out infinite alternate-reverse;}
/* content */
.content_container{width: 100%; margin: -12% auto 0; position: relative;}
.content_container::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 1920px;
    height: 320px;
    background: url("../images/wave.png") no-repeat center bottom / cover;
    pointer-events: none;
}
.content{width: 100%; margin: 0 auto; padding: 4% 6% 250px; background: url("../images/deco1.png") center top no-repeat; background-size: 1920px;}
.event_logo{width: 440px; margin: 0 auto; filter: drop-shadow(0px 22px 60px rgba(87, 152, 244, .6));}
/* event */
.event{width: 100%; max-width: 1200px;  margin: 0 auto; padding: 4% 0; text-align: center; line-height: 1.8; display: flex; flex-direction: column; gap: 60px;}
.event_part{display: flex; flex-direction: column; gap: 50px; letter-spacing: 2px; background: rgba(237, 246, 255, 0.6); border-radius: 25px; padding: 5% 3%; box-shadow: 0px 22px 60px #5798F4;}
.event_box{display: flex; flex-direction: column; gap: 20px;}
.event_tit{display: flex; font-size: 40px; justify-content: center; align-items: center; font-weight: 700; text-align: center;}
.event_tit::after, .event_tit::before {
    flex: 0 0 auto;
    content: '';
    width: 20px;
    height: 20px;
    background: url("../images/shine.svg") no-repeat center / contain;
}
.event_cont{background: #EDF6FF; border-radius: 25px; padding: 3%;}
.event_cont2{display: flex; gap: 50px; justify-content: center; align-items: center;}
.event_txt_cont{text-align: left; flex: 1;}
.event_txtl{font-size: 30px; font-weight: 700; color: #1361B9;}
.event_txt{font-size: 24px;}
.event_txts{font-size: 16px; margin-top: 20px; line-height: 1.6; color: #656565;}
.event_number{width: 110px;}
.event_pic{width: 160px;}
.tt-bold{font-weight: bold;}
.blue{color: #1361B9;}
.peach{color: #FE4D43;}
.mobOnly{display: none;}
/* action */
.action{display:-webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center;}
.action-item{-webkit-flex: 0 1 288px; flex: 0 1 288px; max-width: 288px;}
.action-item a{display: block;}
.action-item+.action-item{margin-left: 25px;}
.btn{position: relative; display: block; border-radius: 45px; cursor: pointer; filter: drop-shadow(0px 8px 30px rgba(255, 255, 255, .8));}
.btn img{position: relative;width:100%; z-index: 5; transition:.2s;}
.btn:hover img{-webkit-transform:translateY(6px); transform:translateY(6px);}
/* icashpay */
.icashpay{width: 100%;}
.account{width: 100%; padding: 6%; position: relative;}
.step{position:relative;display:-webkit-flex;display:flex;}
.step-title{position:absolute;top:0;right:16%;width:100%;max-width:50%;}
.step-title img{width:100%;}
.step-img{-webkit-flex:0 0 auto;flex:0 0 auto;max-width:30%;}
.step-img img{width:100%;}
.step-content{-webkit-flex:1;flex:1;margin:10% 0 0 5%;}
.step-content .subTitle{max-width:558px;padding-top:10%;}
.step-content .subTitle img{width:60%;}
.stepList{display:-webkit-flex;display:flex;margin-top: 30px;}
.stepList-num{-webkit-flex:0 0 40px;flex:0 0 40px;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center;-webkit-align-items:center;align-items:center;background-color:#e9373d}
.stepList-num img{width:24px}
.stepList-text{-webkit-flex:1;flex:1;display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;box-sizing:border-box;min-height:74px;padding:12px 10px;font-size:18px;color:#1e334e;background-color:#feecea; text-align: left;}
.stepList-text p{width:100%;}
.stepList-num-w,.stepList-text-w{background-color: #ffffff;}
.moreInfo{text-align:center;margin-top: 2%;}
.moreInfo a{display:inline-block;font-size:20px; font-weight: bold; color:#1361B9; text-decoration:none; border-bottom:1px solid #1361B9;margin:3% 0 0;}
/* notice */
.notice_container{background: #EDF6FF; position: relative;}
.notice{width: 100%; max-width: 1600px; margin: 0 auto; font-size: 15px; line-height: 2; color: #303035; padding: 0 6% 3%;}
.notice_all{}
.notice_all a{text-decoration: underline; color: #ed1c24; z-index:5;}
.notice_all ol{margin: 0; padding-left: 18px; list-style-type: disc;}
.notice_all ol>li{}
.notice_all ol>li>span{font-weight: 500; text-decoration: underline;}
.notice_all ol>li>ol{list-style-type: decimal;}
.notice_all ol>li>ol>li{}
.notice_all ol>li>ol>li>ol{}
.notice_all ol>li>ol>li>ol>li{list-style: none; position: relative; counter-increment: section 1;}
.notice_all ol>li>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(#EDF6FF));
    background-image: -webkit-linear-gradient(top,rgba(254,239,212,0),#EDF6FF);
    background-image: linear-gradient(-180deg,rgba(254,239,212,0),#EDF6FF);
    height: 80px;
    position: absolute;
    left: 0;
    top: -80px;
    width: 100%;
}
#contTab:checked ~  .content-more .readmore{
    display: inline-block;
    background: #428AF0;
    color: #ffffff;
    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}

@media screen and (max-width: 1440px) {
    /* kv */
    .kv{width: 100%; max-width: 1440px; height: 0; padding-bottom: 55.5555555555%;}
    .kv .kv_tit{width: 40%;}
}
@media screen and (max-width: 1240px) {
    /* content */
    .content{padding: 2% 8% 250px;}
    /* event */
    .event{gap: 30px;}
    .event_logo{width: 50%; max-width: 400px;}
    .event_txtl{font-size: 26px;}
    .event_tit{font-size: 32px;}
    .event_txt{font-size: 20px;}
    .event_txts{font-size: 14px;}
    .event_number{width: 80px;}
}
@media screen and (max-width: 1024px) {
    .main{padding-top: 76px;}
    /* content */
    .content_container::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 0;
        padding-bottom: 25.641%;
        background: url("../images/wave-m.png") no-repeat center bottom / cover;
        pointer-events: none;
    }
    .content{padding: 8% 6% 220px;}
    /* event */
    .event_part{padding: 6% 3%;}
    .br-none{display: none;}
    .event_cont2{gap: 20px;}
    .event_pic{width: 140px;}
    /* action */
    .action{margin-bottom: 20px;}
}
@media screen and (max-width: 767px) {
    .main{padding-top: 58px;}
    /* kv */
    .webOnly{display: none;}
    .mobOnly{display: block;}
    .kv_container{width: 100%; background: none;}
    .kv{width: 100%; max-width: 820px; height: 0; padding-bottom: 138.46153%; background: url("../images/kv_bg_m.png") center top no-repeat; background-size: 100% auto;}
    .kv .kv_tit{position: static; width: 75.213675%; margin: 0 auto; padding-top: 14%;}
    .kv .kv_pic{width: 73%; top: 46%; right: 13.5%;}
    .kv .kv_pic .kv_nozzle{top: 62%;}
    .kv .kv_pic .kv_taxi{top: 92%;}
    /* content */
    .content{padding: 12% 6% 150px;}
    .event_logo{width: 70%;}
    /* event */
    .event{padding: 8% 0;}
    .event_part{border-radius: 15px; padding: 6% 4%; gap: 30px;}
    .event_cont{border-radius: 15px; padding: 6%;}
    .event_cont2{flex-direction: column; gap: 0px; padding: 2% 6% 8%;}
    .event_pic{width: 50%; max-width: 220px;}
    .event_txtl{font-size: 22px; text-align: center;}
    .event_tit{font-size: 5.5vw;}
    .event_txt{font-size: 18px;}
    /* action */
    .action{display:block;}
    .action-item{max-width:288px;margin:auto;}
    .action-item+.action-item{margin-top:30px;margin-left:auto;}
    /* icashpay */
    .account{padding: 10% 6%;}
    .step{display:block;}
    .step-title{position:static;box-sizing:border-box;max-width:90%;margin:auto;}
    .step-img{box-sizing:border-box;max-width:50%;margin:8% auto 5%;}
    .step-content{margin-top:40px;margin:5% 0 0;}
    .step-content .subTitle{max-width:100%;padding-top: 5%;}
    .step-content .subTitle img{width:70%;margin:0 auto;}
    .stepList-text{font-size: 18px;}
    .stepList-text p{padding-bottom: 0;}
    .moreInfo a{font-size:20px; margin-top: 5%;}
    /* notice */
    .notice{padding: 0 8% 10%;}
    .notice_all ul{font-size:14px;padding-left:20px}
    #contTab:checked ~ #cont{
        max-height: 48vw;
        overflow: hidden;
    }
    #contTab:checked ~  .content-more .readmore{
        width: 65vw;
        height: 8vw;
        border-radius: 4vw;
        line-height: 8vw;
        font-size: 1em;
    }
}

@media screen and (max-width:480px) {
    /* content */
    .content{padding: 16% 6% 100px;}
    /* event */
    .event_logo{width: 80%;}
    .event_number{width: 60px;}
    .event_tit::after, .event_tit::before {
        flex: 0 0 auto;
        content: '';
        width: 12px;
        height: 12px;
        background: url(../images/shine.svg) no-repeat center / contain;
    }
    /* icashpay */
    .step-img{max-width:70%;}
    .step-content .subTitle img{width:80%;}
    .stepList-text{font-size: 16px; height: auto; padding: 5px 10px;}
    .moreInfo a{font-size: 18px;}
    /* action */
    .action-item{max-width:220px;margin:auto;}
    .action-item+.action-item{margin-top:20px;margin-left:auto;}
    .btn::after{-webkit-transform:translateY(4px);transform:translateY(4px);}
    .btn:hover img{-webkit-transform:none;transform:none;}
    /* notice */
    .notice{padding: 0 6% 10%;}
}

/* float */
.float {position: fixed; top: 180px; 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: #FE4D43; 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: #428AF0;}

@media only screen and (max-width: 1239px) {
    .float {right: 12px; width: 40px;}
    .float-item {padding: 20px 10px; font-size: 16px;}
    .float-item img {width: 18px;}
}

@media 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;}
}


/* animation */
@keyframes float {
    0% {transform: translateY(0);}
  100% {transform: translateY(5%);}
}
@keyframes move {
    0% {transform: translate(0,0)}
  100% {transform: translate(-5%,5%)}
}
