@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 300;
  src: url("https://www.yuantabank.com.tw/bankwebIMG/event/fonts/NotoSansTC-Light.otf") format("opentype");
  font-display: swap;
}
@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;
}
@font-face {
  font-family: "Noto Sans TC";
  font-style: normal;
  font-weight: 900;
  src: url("https://www.yuantabank.com.tw/bankwebIMG/event/fonts/NotoSansTC-Black.otf") format("opentype");
  font-display: swap;
}
body {
  width: 100%;
  height: 100%;
  font-family: "Noto Sans TC", "微軟正黑體", "Microsoft JhenHei", "MS UI Gothic", Arial, Helvetica, sans-serif;
  font-size: 12px;
}

a, a:hover, a:active, a:visited {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

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: #2D1615;
  padding-top: 80px;
  font-size: 12px;
  background: #9CD7D5;
}

.section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.text_orange {
  color: #E9500B;
}

.text_blue {
  color: #1D6CCD;
}

.text_green {
  color: #00AF81;
}

.blod {
  font-weight: 800;
}

/* kv */
.kv_container {
  width: 100%;
  position: relative;
}

.kv {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: 0;
  padding-bottom: 33%;
  background: url("../images/kv_bg.png") center top no-repeat;
  background-size: 100% auto;
  position: relative;
}
.kv .title {
  position: absolute;
  width: 30%;
  left: 17%;
  top: 26%;
  -webkit-animation: bounceInUp;
          animation: bounceInUp;
  -webkit-animation-duration: 2.2s;
          animation-duration: 2.2s;
}
.kv .kv_wave {
  position: absolute;
  width: 103%;
  bottom: -1%;
  -webkit-animation: shake 30s infinite;
          animation: shake 30s infinite;
}
.kv .kv_station {
  width: 25%;
  position: absolute;
  top: 34%;
  right: 10%;
  -webkit-animation: fadeInUp;
          animation: fadeInUp;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
}
.kv .people_box {
  width: 27%;
  position: absolute;
  top: 50%;
  right: 22%;
  -webkit-animation: fadeInUp;
          animation: fadeInUp;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.kv .people_box .people {
  position: relative;
}
.kv .people_box .people .kv_oil {
  width: 5%;
  position: absolute;
  top: 50%;
  left: 18%;
  -webkit-animation: fadeOutDown 4s infinite;
          animation: fadeOutDown 4s infinite;
}
.kv .people_box .people .kv_hand {
  width: 140%;
  position: absolute;
  top: 33%;
  left: 18%;
  -webkit-animation: swing_hand 8s infinite;
          animation: swing_hand 8s infinite;
}
.kv .people_box .people .kv_phone {
  width: 40%;
  position: absolute;
  top: 12%;
  left: 20%;
  -webkit-animation: swing_hand 4s infinite;
          animation: swing_hand 4s infinite;
}
.kv .people_box .people .kv_people {
  width: 100%;
  position: relative;
}
.kv .people_box .people .kv_icash {
  width: 28%;
  position: absolute;
  top: -50%;
  right: 80%;
  -webkit-animation: wobble 4s infinite;
          animation: wobble 4s infinite;
}
.kv .people_box .people .kv_line {
  width: 100%;
  position: absolute;
}
.kv .people_box .people .kv_g {
  width: 15%;
  position: absolute;
  top: 7%;
  right: 8%;
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
}
.kv .people_box .people .kv_p {
  width: 17%;
  position: absolute;
  top: 35%;
  right: 0%;
  -webkit-animation: pulse 2s infinite;
          animation: pulse 2s infinite;
  -webkit-animation-delay: 350ms;
          animation-delay: 350ms;
}

.mobOnly {
  display: none;
}

/* content */
.content_container {
  width: 100%;
  margin: 0 auto;
  padding-top: 2%;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.content {
  width: 90%;
  max-width: 1400px;
  margin: 1.5% auto 2%;
  padding: 2% 2% 2%;
  text-align: center;
  line-height: 1.8;
  background: #ffffff;
  border-radius: 20px;
}

.logo {
  width: 40%;
  margin: auto;
}

/* event */
.box {
  padding: 0 0 60px;
}

.tit {
  margin: 0 auto;
  width: 470px;
  position: relative;
  z-index: 1;
}

.event {
  max-width: 1200px;
  margin: -3% auto 0;
  padding: 60px 5% 40px;
  border-radius: 10px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}

.bg_grey {
  background: #EFEFEF;
}

.bg_yellow {
  background-color: #DCF2E7;
}

.event_txt {
  font-size: 24px;
}

.event_txt_s {
  font-size: 16px;
  font-weight: 400;
  color: #787878;
}

.event_txt_l {
  font-size: 32px;
}

.event_box {
  padding: 30px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
  gap: 67px;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.percent {
  width: 350px;
}

.g {
  max-width: 502px;
  text-align: left;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 20px;
}

.action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-line-pack: start;
      align-content: flex-start;
  gap: 40px;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.action-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 20px;
}
.action-item a {
  display: block;
}

.btn_red {
  width: 300px;
  position: relative;
  display: block;
  border-radius: 15px;
  cursor: pointer;
  border: 2px solid #000;
  -webkit-box-shadow: 0px 9px 0px 0px #9A1B25;
          box-shadow: 0px 9px 0px 0px #9A1B25;
}
.btn_red img {
  border-radius: 13px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  background-color: #2D2D2D;
}
.btn_red:hover img {
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
}

.btn_blue {
  width: 300px;
  position: relative;
  display: block;
  border-radius: 15px;
  cursor: pointer;
  -webkit-box-shadow: 0px 9px 0px 0px #194871;
          box-shadow: 0px 9px 0px 0px #194871;
  border: 2px solid #000;
}
.btn_blue img {
  border-radius: 13px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  background-color: #2D2D2D;
}
.btn_blue:hover img {
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
}

/* pxpayplus */
.account {
  padding: 3% 6%;
}

.step {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.step-title {
  position: absolute;
  absolutetop: 4%;
  right: 4%;
  width: 100%;
  max-width: 58%;
}
.step-title img {
  width: 100%;
}

.step-img {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  max-width: 32%;
  margin-top: 15px;
}
.step-img img {
  width: 100%;
}

.step-content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 10% 0 0 6%;
}
.step-content .subTitle {
  max-width: 624px;
  padding-top: 80px;
}
.step-content .subTitle img {
  width: 70%;
}

.stepList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 10px;
}

.stepList-num {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 40px;
          flex: 0 0 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #e9373d;
}
.stepList-num img {
  width: 24px;
}

.stepList-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 74px;
  padding: 12px 10px;
  font-size: 18px;
  line-height: 1.4;
  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: 5% 0 0;
}
.moreInfo a {
  display: inline-block;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.75;
  color: #007fe0;
  text-decoration: none;
  border-bottom: 1px solid #007fe0;
}

/* notice */
.notice {
  width: 100%;
  max-width: 1600px;
  margin: 0px auto 0px;
  font-size: 15px;
  line-height: 2;
  padding: 2% 5% 2%;
  text-align: left;
}

.notice_tit {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.notice_all {
  padding: 2%;
}

.notice_all a {
  atext-decoration: underline;
}

.notice_all ol {
  margin: 0;
  padding-left: 20px;
  list-style-type: none;
}
.notice_all ul {
  margin: 0;
  padding-left: 20px;
}
.notice_all ol > li {
  list-style-type: decimal;
}
.notice_all ol > li > ul {
  list-style-type: circle;
}
.notice_all ol > li > ol > li {
  position: relative;
  counter-increment: section;
  list-style-type: none;
}
.notice_all ol > li > ol > li::before {
  content: "(" counter(section, decimal) ")";
  position: absolute;
  top: 0;
  left: -5px;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
.notice_all ol > li > ol > li > ol {
  list-style-type: none;
  padding-left: 22px;
}
.notice_all ol > li > ol > li > ol > li {
  list-style-type: lower-alpha;
}
.notice_all ol > li > ol > li > ol > li::before {
  list-style-type: none;
}

#contTab {
  display: none;
}

.content-more {
  display: none;
}

#contTab:checked ~ #cont {
  max-height: 180px;
  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(255, 255, 255, 0)), to(#9CD7D5));
  background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0), #9CD7D5);
  height: 90px;
  position: absolute;
  left: 0;
  top: -80px;
  width: 100%;
}

#contTab:checked ~ .content-more .readmore {
  display: inline-block;
  background: #18ACA7;
  color: #ffffff;
  width: 175px;
  height: 42px;
  border-radius: 42px;
  line-height: 42px;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.6;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#contTab:checked ~ .content-more .readmore:hover {
  opacity: 1;
}

@media screen and (max-width: 1400px) {
  /* kv */
  .kv {
    width: 100%;
    max-width: 1400px;
  }
  /* event */
  /* .event_txt{text-align: justify;} */
}
@media screen and (max-width: 1024px) {
  .logo {
    width: 50%;
  }
  .main {
    padding-top: 76px;
  }
  /* content */
  .event {
    width: 88%;
    margin: -5% auto 0;
  }
  .g {
    text-align: center;
  }
}
@media screen and (max-width: 960px) {
  /* content */
  .content {
    margin: 1.4% auto 3%;
  }
  .event {
    width: 88%;
    margin: -6% auto 0;
  }
  .event_txt {
    font-size: 24px;
    padding: 1% 0% 1%;
  }
  /* pxpayplus */
  .step {
    display: block;
    max-width: 746px;
    margin: 25px auto;
  }
  .step .step-title {
    position: static;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    max-width: 637px;
    margin: auto;
  }
  .step .step-img {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    max-width: 300px;
    margin: 40px auto 20px;
  }
  .step .step-img img {
    width: 80%;
    margin: 0 auto;
  }
  .step .step-content {
    margin-top: 40px;
    margin: 10% 0 0;
  }
  .step .step-content .subTitle {
    max-width: 400px;
    margin: auto;
    padding-top: 0;
    padding-bottom: 5px;
    padding-right: 0;
  }
  .step .step-content .subTitle img {
    width: 100%;
    margin: auto;
  }
}
@media screen and (max-width: 767px) {
  .main {
    padding-top: 58px;
  }
  /* kv */
  .kv {
    width: 100%;
    height: 0;
    padding-bottom: 120%;
    margin: 0 auto;
    background: url("../images/kv_bg_m.png") center top no-repeat;
    background-size: 100% auto;
  }
  .kv .title {
    width: 65%;
    left: 19%;
    top: 10%;
  }
  .kv .kv_station {
    width: 60%;
    top: 70%;
    left: -20%;
  }
  .kv .kv_wave {
    width: 180%;
    bottom: 0%;
    right: -10%;
  }
  .kv .people_box {
    width: 62%;
    top: 68%;
    right: 1%;
  }
  .kv .people_box .people .kv_icash_m {
    position: absolute;
    left: -38%;
    top: -6%;
    width: 30%;
  }
  .logo {
    width: 90%;
    margin: auto;
  }
  .percent {
    width: 70%;
  }
  .event_box {
    gap: 40px;
  }
  .webOnly {
    display: none;
  }
  .mobOnly {
    display: block;
  }
  /* content */
  .content_container {
    margin: 3% auto 10%;
    background: none;
  }
  .content {
    margin: 1.4% auto 6%;
  }
  .box {
    padding: 0 0 10px;
  }
  .event {
    margin: -6% auto 8%;
  }
  .event_txt {
    font-size: 28px;
  }
  .action {
    padding: 0% 0 10%;
  }
  /* pxpayplus */
  .step {
    max-width: 400px;
    margin: 15px auto;
  }
  .step .step-img {
    margin: 30px auto;
  }
  .step .step-content {
    margin-top: 20px;
  }
  .step .stepList {
    margin-top: 10px;
  }
  .step .stepList-num {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 34px;
            flex: 0 0 34px;
  }
  .step .stepList-num img {
    width: 18px;
  }
  .step .stepList-text {
    min-height: 45px;
    padding: 8px 4px;
    font-size: 14px;
  }
  .step .stepList-text p {
    padding-bottom: 0;
  }
  .moreInfo a {
    font-size: 16px;
  }
  /* notice */
  .notice_all ul {
    font-size: 14px;
    padding-left: 28px;
  }
  #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: 580px) {
  /* event */
  .tit {
    width: 100%;
  }
  .box {
    padding: 0 0 50px;
  }
  .event {
    margin: -8% auto 0;
  }
  .event_txt {
    font-size: 20px;
    padding: 12 5%;
  }
  .event_txt_s {
    font-size: 14px;
  }
  .bluetext {
    font-size: 20px;
  }
  .event_gift {
    gap: 5px;
  }
  .action {
    gap: 20px;
  }
}
@media screen and (max-width: 450px) {
  /* content */
  /* event */
  .event {
    width: 90%;
  }
  .btn {
    border-radius: 22px;
  }
  .btn img {
    border-radius: 20px;
  }
  .action-item {
    max-width: 220px;
    margin: auto;
  }
  .action {
    gap: 20px;
  }
  /* notice */
  .notice {
    padding: 5% 5% 8%;
  }
}
/* animation */
@-webkit-keyframes sway {
  0%, 100% {
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
  50% {
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
}
@keyframes sway {
  0%, 100% {
    -webkit-transform: rotate(5deg);
            transform: rotate(5deg);
  }
  50% {
    -webkit-transform: rotate(-5deg);
            transform: rotate(-5deg);
  }
}