@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: #333;
  padding-top: 80px;
  font-size: 12px;
  background: #E3F9EA;
}

.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: 30%;
  background: url("../images/kv_bg.png") center top no-repeat;
  background-size: 100% auto;
  position: relative;
  overflow: hidden;
}

.kv .kv_tit {
  position: absolute;
  width: 35%;
  left: 17%;
  top: 18%;
  -webkit-animation: bounce;
  animation: bounce;
  -webkit-animation-duration: 2.2s;
  animation-duration: 2.2s;
}

.kv .kv_cloud {
  position: absolute;
  width: 103%;
  bottom: -0.5%;
  -webkit-animation: pulse 5s infinite;
  animation: pulse 5s infinite;
}

.kv .kv_pic {
  width: 25%;
  position: absolute;
  top: 16%;
  right: 19%;
  -webkit-animation: fadeInUp;
  animation: fadeInUp;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
}

.kv .kv_coin {
  position: absolute;
  width: 4.3%;
}

.kv .kv_coin1 {
  top: 52%;
  left: 3%;
  -webkit-animation: swing 5s infinite;
  animation: swing 5s infinite;
}

.kv .kv_coin2 {
  top: 20%;
  left: 10%;
  rotate: 160deg;
  -webkit-animation: swing 6s infinite;
  animation: swing 6s infinite;
}

.kv .kv_coin3 {
  top: 70%;
  left: 12%;
  rotate: -100deg;
  -webkit-animation: swing 5s infinite;
  animation: swing 5s infinite;
}

.kv .kv_coin4 {
  top: 33%;
  right: 12%;
  rotate: 50deg;
  -webkit-animation: swing 7s infinite;
  animation: swing 7s infinite;
}

.kv .kv_coin5 {
  top: 75%;
  right: 10%;
  rotate: 120deg;
  -webkit-animation: swing 6s infinite;
  animation: swing 6s infinite;
}

.kv .kv_coin6 {
  top: 60%;
  right: 3%;
  rotate: 90deg;
  -webkit-animation: swing 4s infinite;
  animation: swing 4s infinite;
}

.kv .kv_sparkle1 {
  position: absolute;
  width: 2%;
  top: 10%;
  left: 5%;
}

.kv .kv_sparkle2 {
  position: absolute;
  width: 2%;
  top: 10%;
  right: 40%;
}

.kv .kv_sparkle3 {
  position: absolute;
  width: 2%;
  top: 60%;
  right: 10%;
}

.kv .kv_blue1 {
  position: absolute;
  width: 1%;
  top: 70%;
  right: 15%;
}

.kv .kv_blue2 {
  position: absolute;
  width: 1%;
  top: 20%;
  right: 10%;
}

.kv .kv_blue3 {
  position: absolute;
  width: 1%;
  top: 10%;
  right: 23%;
}

.kv .kv_blue4 {
  position: absolute;
  width: 1%;
  top: 60%;
  left: 10%;
}

.kv .kv_blue5 {
  position: absolute;
  width: 1%;
  top: 30%;
  left: 5%;
}

.kv .kv_blue6 {
  position: absolute;
  width: 1%;
  top: 10%;
  left: 15%;
}

.mobOnly {
  display: none;
}

/* content */
.content_container {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-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;
  margin: 50px auto 50px;
  background-color: #E3F9EA;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  max-width: 1200px;
  padding: 0 100px;
  -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: 50px;
  text-align: center;
  line-height: 1.8;
}

/* event */
.event {
  width: 100%;
  border-radius: 35px;
  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-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  color: #333;
}

.date {
  background-color: #ACEDBD;
  gap: 20px;
  padding: 10px 20px 10px;
}

.date_icon {
  width: 59px;
}

.gift {
  gap: 50px;
}

.gift_box {
  border: 1px solid black;
  background-color: #fff;
  border-radius: 35px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 10px 30px 10px;
  -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: 28px;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 0px;
  flex: 1 0 0;
}

.tit {
  border: 1px solid #333;
  background-color: #0AAB90;
  width: 100%;
  border-radius: 100px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
}

.gift_info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -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;
}

.gift_word {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0 20px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
  -ms-flex-item-align: stretch;
  -ms-grid-row-align: stretch;
  align-self: stretch;
  text-align: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.gift_word_end {
  opacity: 50%;
}

.new_account {
  background-color: #A7E4F2;
  padding: 0px 60px;
  border: 1px solid #333;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.new_account_icon {
  width: 97px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 45px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  gap: 10px;
}

.new_account_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px 0;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 20px;
}

.word {
  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;
  text-align: left;
}

.btn_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 20px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.event_txt {
  font-size: 20px;
}

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

.event_txt_l {
  font-size: 32px;
  font-weight: 800;
  line-height: 140%;
}

.btn {
  width: 250px;
  position: relative;
  display: block;
  border-radius: 50px;
  cursor: pointer;
  -webkit-box-shadow: 0px 7px 0px 0px #333;
  box-shadow: 0px 7px 0px 0px #333;
}

.btn img {
  border-radius: 50px;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  background-color: #333;
}

.btn:hover img {
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
}

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

#contTab:checked~.content-more .readmore {
  display: inline-block;
  background: #0AAB90;
  color: #ffffff;
  padding: 4px 70px;
  border-radius: 42px;
  line-height: 42px;
  font-size: 22px;
  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 {
    width: 100%;
    max-width: 1400px;
  }
}

@media screen and (max-width: 1200px) {
  .content {
    padding: 0 5%;
  }
}

@media screen and (max-width: 1054px) {
  .m1085_none {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .main {
    padding-top: 76px;
  }

  .kv {
    width: 100%;
    height: 0;
    padding-bottom: 40%;
    background-size: 150% auto;
  }

  .kv .kv_tit {
    position: absolute;
    width: 40%;
    left: 12%;
    top: 22%;
  }

  .kv .kv_pic {
    width: 32%;
    position: absolute;
    top: 16%;
    right: 12%;
  }

  .kv .kv_coin {
    display: none;
  }

  .kv .kv_blue {
    display: none;
  }

  /* content */
  .event {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .gift_info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .gift_pic {
    width: 35%;
  }

  .gift_word {
    text-align: left;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .m_none {
    display: none;
  }

  .new_account {
    gap: 10px;
  }

  .new_account_box {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 50px;
    gap: 20px;
  }

  .word {
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  .btn_box {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

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

  /* content */
  .date {
    gap: 10px;
  }

  .date .event_txt_l {
    font-size: 24px;
  }

  /* pxpayplus */
}

@media screen and (max-width: 767px) {
  .main {
    padding-top: 58px;
  }

  /* kv */
  .kv {
    width: 100%;
    height: 0;
    padding-bottom: 120%;
    margin: 0 auto;
    background-size: 400% auto;
  }

  .kv .kv_tit {
    width: 80%;
    left: 10%;
    top: 10%;
  }

  .kv .kv_pic {
    width: 60%;
    left: 18%;
    top: 53%;
  }

  .kv .kv_sparkle1 {
    width: 7%;
    top: 60%;
    left: 8%;
  }

  .kv .kv_sparkle2 {
    width: 7%;
    top: 50%;
    right: 6%;
  }

  .kv .kv_sparkle3 {
    width: 7%;
    top: 70%;
    right: 11%;
  }

  .kv .kv_cloud {
    width: 200%;
  }

  .webOnly {
    display: none;
  }

  .mobOnly {
    display: block;
  }

  /* content */
  /* event */
  .gift_info {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .gift_pic {
    width: 70%;
  }

  .gift_word {
    text-align: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .action {
    padding: 0% 0 10%;
  }

  /* pxpayplus */
  .moreInfo a {
    font-size: 24px;
  }

  /* notice */
  .notice_all ul {
    font-size: 14px;
    padding-left: 28px;
  }

  #contTab:checked~#cont {
    max-height: 48vw;
    overflow: hidden;
  }

  #contTab:checked~.content-more .readmore {
    border-radius: 5vw;
    line-height: 8vw;
    font-size: 22px;
  }
}

@media screen and (max-width: 580px) {
  /* event */
}

@media screen and (max-width: 450px) {
  /* content */
  /* event */
  * * // .box
  * //     gap: 2px
  * //     .box_icon
  * //         width: 120%
  * //     .percent
  * //         width: 200px
  * //     .point
  * //         width: 80%
  * //     .icash_btn
  * //         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);
  }
}