@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: #FFDC97;
}

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

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

.kv {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  height: 0;
  padding-bottom: 34.895835%;
  background: url("../images/kv_bg.jpg") center top no-repeat;
  background-size: 100% auto;
  position: relative;
}
.kv .title {
  width: 36%;
  margin: auto;
  padding-top: 6%;
  -webkit-animation: bounceInDown;
          animation: bounceInDown;
  -webkit-animation-duration: 2.2s;
          animation-duration: 2.2s;
}
.kv .people_1 {
  width: 14%;
  position: absolute;
  top: 14%;
  left: 12%;
  -webkit-animation: fadeInLeftBig;
          animation: fadeInLeftBig;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.kv .people_2 {
  width: 25%;
  position: absolute;
  top: 24%;
  right: 5%;
  -webkit-animation: fadeInRightBig;
          animation: fadeInRightBig;
  -webkit-animation-duration: 2s;
          animation-duration: 2s;
}
.kv .leftfood {
  width: 33%;
  position: absolute;
  bottom: 0%;
  left: 0%;
  -webkit-animation: fadeInLeftBig;
          animation: fadeInLeftBig;
  -webkit-animation-duration: 2.5s;
          animation-duration: 2.5s;
}
.kv .rightfood {
  width: 33%;
  position: absolute;
  bottom: 1%;
  right: -1%;
  -webkit-animation: fadeInRightBig;
          animation: fadeInRightBig;
  -webkit-animation-duration: 2.5s;
          animation-duration: 2.5s;
}
.kv .light_c {
  width: 40%;
  position: absolute;
  left: 30%;
  top: 0%;
  -webkit-animation: fadeInDown;
          animation: fadeInDown;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}
.kv .light_l {
  width: 25%;
  position: absolute;
  left: 0%;
  top: 0%;
  -webkit-animation: fadeInLeftBig;
          animation: fadeInLeftBig;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}
.kv .light_r {
  width: 25%;
  position: absolute;
  right: 0%;
  top: 0%;
  -webkit-animation: fadeInRightBig;
          animation: fadeInRightBig;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}
.kv .logo {
  width: 27%;
  margin: auto;
  padding-top: 6%;
  -webkit-animation: fadeInDownBig;
          animation: fadeInDownBig;
  -webkit-animation-duration: 1.2s;
          animation-duration: 1.2s;
}

.mobOnly {
  display: none;
}

/* content */
.content_container {
  width: 100%;
  margin: 0 auto;
  padding-top: 2%;
  background-color: #FFDC97;
  background-image: url("../images/bgl.png"), url("../images/bgr.png");
  background-repeat: no-repeat, no-repeat;
  background-position: 5% 40%, 96% 30%;
  background-size: 200px, 200px;
  letter-spacing: 2px;
}

.content {
  width: 100%;
  max-width: 1400px;
  margin: 5% auto 0px;
  text-align: center;
  line-height: 1.8;
}

/* event */
.event {
  width: 80%;
  margin: 8% auto;
  padding: 0px 5% 50px;
  background: #ffffff;
  border-radius: 20px;
  position: relative;
}

.event2 {
  background-color: rgba(255, 255, 255, 0.3);
  border: solid 4px #ffffff;
}

.tit {
  margin: 0 auto;
  -webkit-transform: translateY(-28%);
  transform: translateY(-28%);
  width: 423px;
}

.gift {
  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;
  padding: 5% 0% 0%;
}
.gift .box {
  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;
  width: 450px;
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 20px;
  gap: 20px;
}
.gift .box .box_icon {
  width: 90%;
  max-width: 333px;
}
.gift .box .event_btn {
  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: start;
      align-content: flex-start;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.gift .box .event_btn .icash_btn {
  width: 100%;
  max-width: 265px;
}
.gift .box .event_btn .icash_btn img {
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.gift .box .event_btn .icash_btn:hover img {
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

.event_gift {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px;
}

.red_icon {
  width: 80px;
}

.blue_icon {
  width: 150px;
}

.percent {
  font-size: 120px;
  font-weight: 700;
  color: #E62635;
  line-height: 1;
}

.point {
  width: 50%;
  padding-bottom: 20px;
}

.event_txt {
  font-size: 24px;
}

.event_txt_s {
  font-size: 16px;
  font-weight: 400;
  color: #787878;
  padding-top: 20px;
  line-height: 1.4;
}

.event_txt_l {
  font-size: 32px;
}

.bluetext {
  color: #387ED7;
  font-size: 28px;
  font-weight: 800;
}

.action {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 30px 30px;
  padding: 5% 0 3%;
}

.action-item {
  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;
  width: 450px;
}
.action-item a {
  display: block;
}

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

.btn_blue {
  width: 320px;
  position: relative;
  display: block;
  border-radius: 26px;
  cursor: pointer;
  -webkit-box-shadow: 0px 9px 0px 0px #194871;
          box-shadow: 0px 9px 0px 0px #194871;
}
.btn_blue img {
  border-radius: 24px;
  -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-top: 5%;
}
.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_container {
  background-color: #EDE3D3;
}

.notice {
  width: 100%;
  max-width: 1600px;
  margin: 0px auto 0px;
  font-size: 15px;
  line-height: 2;
  padding: 5% 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(#EDE3D3));
  background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0), #EDE3D3);
  height: 90px;
  position: absolute;
  left: 0;
  top: -80px;
  width: 100%;
}

#contTab:checked ~ .content-more .readmore {
  display: inline-block;
  background: #F66400;
  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 */
  .webOnly {
    display: none;
  }
  .mobOnly {
    display: block;
  }
  .kv {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 0;
    padding-bottom: 57.857%;
    background: url("../images/kv_bg_1400.jpg") center top no-repeat;
    background-size: 100% auto;
  }
  .kv .title {
    width: 48%;
    margin: auto;
    padding-top: 10%;
  }
  .kv .people_1 {
    width: 16%;
    position: absolute;
    top: 22%;
    left: 6%;
  }
  .kv .people_2 {
    width: 28%;
    position: absolute;
    top: 30%;
    right: 0%;
  }
  .kv .leftfood {
    width: 37%;
    position: absolute;
    bottom: 10%;
    left: -7%;
  }
  .kv .rightfood {
    width: 35%;
    position: absolute;
    bottom: 10%;
    right: -5%;
  }
  .kv .light_l {
    width: 35%;
    position: absolute;
    top: 0%;
    left: 0%;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
  }
  .kv .light_r {
    width: 35%;
    position: absolute;
    top: 0%;
    right: 0%;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
  }
  .kv .logo {
    width: 40%;
    margin: auto;
    padding-top: 10%;
  }
  .content {
    margin: 8% auto 0px;
  }
  /* event */
  .gift .box {
    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;
    width: 100%;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 20px;
    gap: 20px;
  }
  .gift .box .point {
    width: 260px;
  }
  /* .event_txt{text-align: justify;} */
}
@media screen and (max-width: 1024px) {
  .main {
    padding-top: 76px;
  }
  /* content */
  .event {
    width: 88%;
  }
}
@media screen and (max-width: 960px) {
  /* content */
  .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: 145%;
    margin: 0 auto;
    background: url("../images/kv_bg_m.jpg") center top no-repeat;
    background-size: 100% auto;
  }
  .kv .title {
    width: 75%;
    margin: auto;
    padding-top: 20%;
  }
  .kv .people_1 {
    width: 33%;
    top: 50%;
    left: 10%;
  }
  .kv .people_2 {
    width: 56%;
    top: 57%;
    right: 2%;
  }
  .kv .leftfood {
    width: 71%;
    position: absolute;
    bottom: 0%;
    left: -12%;
  }
  .kv .rightfood {
    width: 58%;
    position: absolute;
    bottom: 0%;
    right: -5%;
  }
  .kv .light_l {
    width: 48%;
    position: absolute;
    top: 0%;
    left: 0%;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
  }
  .kv .light_r {
    width: 48%;
    position: absolute;
    top: -1%;
    right: 0%;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
  }
  .kv .logo {
    width: 60%;
    margin: auto;
    padding-top: 75%;
  }
  .mobOnly {
    display: block;
  }
  /* content */
  .content_container {
    margin: 10% auto 10%;
    background: none;
  }
  .event_txt {
    font-size: 28px;
  }
  .gift .box {
    width: 100%;
  }
  .gift .box .event_btn .icash_btn {
    max-width: 350px;
  }
  .action {
    display: block;
    padding: 8% 0 8%;
  }
  .action-item {
    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;
    width: 80%;
    max-width: 350px;
  }
  .action-item a {
    display: block;
  }
  .btn_red {
    width: 100%;
  }
  .btn_blue {
    width: 100%;
  }
  /* 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%;
  }
  .event_txt {
    font-size: 20px;
    padding: 12 5%;
  }
  .event_txt_s {
    font-size: 14px;
  }
  .bluetext {
    font-size: 20px;
  }
  .event_gift {
    gap: 5px;
  }
  .gift {
    gap: 20px;
  }
  .gift .box {
    gap: 2px;
  }
  .gift .box .red_icon {
    width: 45px;
  }
  .gift .box .blue_icon {
    width: 80px;
  }
  .gift .box .percent {
    font-size: 80px;
  }
  .gift .box .point {
    width: 60%;
  }
}
@media screen and (max-width: 450px) {
  /* content */
  /* event */
  .event {
    width: 90%;
    padding: 15% 7%;
  }
  .btn {
    border-radius: 22px;
  }
  .btn img {
    border-radius: 20px;
  }
  .action-item {
    max-width: 220px;
    margin: auto;
  }
  .gift {
    gap: 20px;
  }
  .gift .box {
    gap: 2px;
  }
  .gift .box .box_icon {
    width: 120%;
  }
  .gift .box .blue_icon {
    width: 80px;
  }
  .gift .box .red_icon {
    width: 45px;
  }
  .gift .box .percent {
    font-size: 60px;
  }
  .gift .box .point {
    width: 80%;
  }
  /* 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);
  }
}