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

.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: 35%;
  background: #FFD4D9;
  background-size: 100% auto;
  position: relative;
}

.kv .title {
  position: absolute;
  width: 35%;
  left: 15%;
  top: 26%;
  -webkit-animation: bounceInUp;
  animation: bounceInUp;
  -webkit-animation-duration: 2.2s;
  animation-duration: 2.2s;
}

.kv .kv_people {
  width: 32%;
  position: absolute;
  bottom: 0%;
  right: 10%;
}

.kv .kv_people .p_1 {
  width: 25%;
  position: absolute;
  top: 20%;
  left: 0%;
  animation: pulse;
  animation-duration: 3.5s;
  animation-iteration-count: infinite;
}

.kv .kv_people .p_2 {
  width: 25%;
  position: absolute;
  bottom: 8%;
  left: 5%;
  animation: pulse;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.kv .kv_people .p_3 {
  width: 20%;
  position: absolute;
  bottom: 32%;
  right: 35%;
  animation: pulse;
  animation-duration: 4s;
  animation-iteration-count: infinite;

}


.kv .kv_dec_1 {
  width: 10%;
  position: absolute;
  top: 50%;
  right: 0%;
}

.kv .kv_dec_2 {
  width: 16%;
  position: absolute;
  top: 0%;
  right: 40%;
}

.kv .kv_dec_3 {
  width: 22%;
  position: absolute;
  top: 0%;
  left: 0%;
}

.kv .kv_dec_4 {
  width: 6%;
  position: absolute;
  top: 43%;
  left: 10%;
}

.kv .kv_dec_5 {
  width: 15%;
  position: absolute;
  top: 0%;
  right: 0%;
}


.mobOnly {
  display: none;
}

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

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

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

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

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

.event {
  max-width: 1200px;
  margin: 60px auto 60px;
  padding: 40px 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: 40px;

}

.bg_white {
  background-color: #fff;
}

.bg_yellow {
  background-color: #DCF2E7;
}

.event_txt {
  font-size: 20px;
}

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

.event_txt_l {
  font-size: 24px;
}

.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 */

.pxpayplus_tit {
  width: 470px;
}

.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(#FFD4D9));
  background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0), #FFD4D9);
  height: 90px;
  position: absolute;
  left: 0;
  top: -80px;
  width: 100%;
}

#contTab:checked~.content-more .readmore {
  display: inline-block;
  background: #FB6D89;
  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;
  }



  .content {
    padding: 5% 5%;
  }

  /* event */
  /* .event_txt{text-align: justify;} */
}

@media screen and (max-width: 1024px) {
  .kv {
    padding-bottom: 50%;
  }

  .kv .title {
    width: 45%;
    left: 8%;
    top: 30%;

  }

  .kv .kv_people {
    width: 44%;
    position: absolute;
    bottom: 0%;
    right: 0%;
  }

  .kv .kv_dec_2 {
    width: 30%;
  }

  .logo {
    width: 50%;
  }

  .main {
    padding-top: 76px;
  }

  /* content */
  .event {
    /* width: 88%; */
    margin: 20px auto 20px;
  }

  .event_box {
    flex-wrap: wrap;
  }

  .g {
    text-align: center;
  }
}

@media screen and (max-width: 960px) {

  /* content */
  .content {
    margin: 0% auto 3%;
  }

  .event {
    /* width: 88%; */
    /* margin: -6% auto 0; */
  }

  .event_txt {
    font-size: 20px;
    padding: 1% 0% 1%;
  }

  .event_txt_l {
    font-size: 24px;
  }

  /* pxpayplus */
  .pxpayplus_tit {
    width: 380px;
  }

  .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_people {
    width: 70%;

    right: 15%;
  }



  .kv .kv_dec_1 {
    width: 22%;
    top: 41%;
  }

  .kv .kv_dec_2 {
    width: 35%;
    position: absolute;
    top: 0%;
    right: 30%;
  }

  .kv .kv_dec_3 {
    width: 35%;
    position: absolute;
    top: 0%;
    left: 0%;
  }

  .kv .kv_dec_4 {
    width: 15%;
    left: 0%;
  }

  .kv .kv_dec_5 {
    width: 22%;
  }




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

  .percent {
    width: 70%;
  }

  .event_box {
    gap: 40px;
  }

  .webOnly {
    display: none;
  }

  .mobOnly {
    display: block;
  }

  /* content */
  .content_container {
    margin: 0% auto 10%;
    background: none;
  }

  .content {
    margin: 0 auto 6%;
  }

  .box {
    padding: 0 0 10px;
  }

  .event {
    /* margin: -6% auto 8%; */
  }

  .event_txt {
    font-size: 20px;
  }

  .event_txt_l {
    font-size: 24px;
  }

  .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: 60%;
  }

  .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);
  }
}