@charset "UTF-8";
/***common***/
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
*:focus-visible {
  outline: auto;
  outline-offset: 0.1em;
}

html,
body {
  background: #fffcd1;
  font-family: 'Noto Sans TC', '微軟正黑體', Arial, Helvetica, sans-serif;
  overflow: visible !important;
}

#main {
  overflow: hidden;
}
@media (max-width: 1038px) {
  #main {
    font-size: 6vw;
  }
}

#header {
  background-color: #ff6228;
}

@media (max-width: 1200px) {
  #socials .side-nav {
    filter: drop-shadow(0 0.05em 0.05em rgba(0, 0, 0, 0.7));
  }
}

#footer {
  background-color: transparent;
}
#footer .foot .foot-wanin {
  filter: brightness(0.5) grayscale(1);
}
@media (max-width: 767px) {
  #footer .foot-Chientu img {
    width: 68%;
    margin: auto;
  }
}

.color-mark {
  color: #7a283e !important;
}

.w100 {
  width: 100%;
}

.relative {
  position: relative !important;
}

.text-center {
  text-align: center;
}

.bg-area {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 16em);
  width: 32em;
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
  background-image: url(/img/Event/202506-Chientu//bg.jpg);
  background-color: #fffcd1;
  z-index: -5;
}
.bg-area .bg-center {
  flex: 1 1 auto;
  background: url(/img/Event/202506-Chientu//bg-center2.png) top/100% auto repeat-y;
  position: absolute;
  top: 3.7em;
  height: 100%;
  width: 100%;
  left: 0;
}
.bg-area picture {
  position: relative;
  top: -0.7em;
  left: -0.3em;
}
.bg-area img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.row.align-center {
  align-items: center;
}

/***common***/
.btn {
  font-size: 60px;
  display: flex;
  justify-content: center;
  outline: none;
  border: none;
  box-shadow: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  border: none;
  outline: none;
  cursor: pointer;
  transition: filter 0.2s ease-out;
}
.btn[disabled=true] {
  filter: grayscale(1);
  pointer-events: none;
}
.btn.btn-login {
  width: 9em;
  height: 2.4em;
  margin-bottom: 0.5em;
  background-image: url("/img/Event/202506-Chientu/btn_login.png");
}
.btn.btn-login:hover {
  background-image: url("/img/Event/202506-Chientu/btn_login_hover.png");
}

.head-title .main-title {
  margin-top: 2.1em;
}
.head-title .btn-tabFree,
.head-title .btn-tabPot {
  width: 48%;
  padding-bottom: 14%;
  margin-bottom: 0.3em;
  background-image: url("/img/Event/202506-Chientu/btn-tab.png");
  transition: filter 0.2s;
}
.head-title .btn-tabFree.is-active,
.head-title .btn-tabPot.is-active {
  filter: drop-shadow(2px 4px 10px #ff8500) brightness(1.1);
}
.head-title .btn-tabFree {
  background-position: 0 100%;
  left: 1%;
}
.head-title .btn-tabFree:hover {
  background-position: 0 66.666667%;
}
.head-title .btn-tabPot {
  background-position: 0 33.333333%;
}
.head-title .btn-tabPot:hover {
  background-position: 0 0;
}

#article {
  max-width: 1038px !important;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.wrapper {
  width: 100%;
  position: relative;
}
.wrapper section:first-child {
  margin-top: 1em;
}
@media (max-width: 767px) {
  .wrapper section:first-child {
    margin-top: 0.5em;
  }
}

.c-dec {
  pointer-events: none;
  width: 90%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 0;
}

.border {
  background-image: url(/img/Event/202506-Chientu//border-body.png?v=02);
  background-repeat: repeat-y;
  background-size: 100%;
  padding: 0.3em 1em 0;
  position: relative;
  margin-top: 2em;
}
.border::before, .border::after {
  background-image: url(/img/Event/202506-Chientu//border-head.png?v=02);
  background-size: 100%;
  height: 0.9em;
  content: "";
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  right: 0;
  border: 0;
  pointer-events: none;
  z-index: -1;
}
.border::before {
  top: -0.9em;
  background-position: bottom center;
}
.border::after {
  bottom: -0.89em;
  background-position: bottom center;
  transform: scaleY(-1);
}
.border.type2 {
  background-image: url(/img/Event/202506-Chientu//border-body2.png);
}
.border.type2::before, .border.type2::after {
  background-image: url(/img/Event/202506-Chientu//border-head2.png);
}
.border.type2 .section-title {
  background-image: url(/img/Event/202506-Chientu//section2_title.png);
}
@media (max-width: 1052px) {
  .border {
    background-image: url(/img/Event/202506-Chientu//border-body-xs.png?v=01);
  }
  .border::before, .border::after {
    background-image: url(/img/Event/202506-Chientu//border-head-xs.png?v=01);
  }
  .border::before {
    top: -0.88em;
  }
  .border::after {
    bottom: -0.88em;
  }
  .border.type2 {
    background-image: url(/img/Event/202506-Chientu//border-body2-xs.png);
  }
  .border.type2::before, .border.type2::after {
    background-image: url(/img/Event/202506-Chientu//border-head2-xs.png);
  }
}
@media (max-width: 767px) {
  .border {
    padding-top: 0.5em;
  }
  .border::before {
    top: -0.845em;
  }
  .border::after {
    bottom: -0.86em;
  }
}

section {
  width: 100%;
  margin-top: 1.5em;
  position: relative;
}
section .part-title {
  width: 88%;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  top: -1em;
  margin: auto;
  z-index: 1;
}
section .section-title {
  background-image: url(/img/Event/202506-Chientu//section_title.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  width: 44.5%;
  font-size: 0.5em;
  font-weight: normal;
  color: #fffcd1;
  display: flex;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  top: -1.45em;
  margin: auto;
  z-index: 2;
}
@media (max-width: 767px) {
  section .section-title {
    width: 60%;
    font-size: 0.65em;
    top: -1em;
  }
}
section p,
section li,
section button,
section a,
section img {
  position: relative;
  z-index: 1;
}
section p,
section li {
  width: 100%;
  text-align: center;
  color: #015512;
  font-size: 0.5em;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 767px) {
  section p,
  section li {
    font-size: 0.65em;
  }
}
section p.stroke,
section li.stroke {
  text-shadow: -3px -3px 0 #fffcd1, -3px -2px 0 #fffcd1, -3px -1px 0 #fffcd1, -3px 0px 0 #fffcd1, -3px 1px 0 #fffcd1, -3px 2px 0 #fffcd1, -3px 3px 0 #fffcd1, -2px -3px 0 #fffcd1, -2px -2px 0 #fffcd1, -2px -1px 0 #fffcd1, -2px 0px 0 #fffcd1, -2px 1px 0 #fffcd1, -2px 2px 0 #fffcd1, -2px 3px 0 #fffcd1, -1px -3px 0 #fffcd1, -1px -2px 0 #fffcd1, -1px -1px 0 #fffcd1, -1px 0px 0 #fffcd1, -1px 1px 0 #fffcd1, -1px 2px 0 #fffcd1, -1px 3px 0 #fffcd1, 0px -3px 0 #fffcd1, 0px -2px 0 #fffcd1, 0px -1px 0 #fffcd1, 0px 0px 0 #fffcd1, 0px 1px 0 #fffcd1, 0px 2px 0 #fffcd1, 0px 3px 0 #fffcd1, 1px -3px 0 #fffcd1, 1px -2px 0 #fffcd1, 1px -1px 0 #fffcd1, 1px 0px 0 #fffcd1, 1px 1px 0 #fffcd1, 1px 2px 0 #fffcd1, 1px 3px 0 #fffcd1, 2px -3px 0 #fffcd1, 2px -2px 0 #fffcd1, 2px -1px 0 #fffcd1, 2px 0px 0 #fffcd1, 2px 1px 0 #fffcd1, 2px 2px 0 #fffcd1, 2px 3px 0 #fffcd1, 3px -3px 0 #fffcd1, 3px -2px 0 #fffcd1, 3px -1px 0 #fffcd1, 3px 0px 0 #fffcd1, 3px 1px 0 #fffcd1, 3px 2px 0 #fffcd1, 3px 3px 0 #fffcd1;
}
@media (max-width: 991px) {
  section p.stroke,
  section li.stroke {
    text-shadow: -1px -1px 0 #fffcd1, -1px 0px 0 #fffcd1, -1px 1px 0 #fffcd1, 0px -1px 0 #fffcd1, 0px 0px 0 #fffcd1, 0px 1px 0 #fffcd1, 1px -1px 0 #fffcd1, 1px 0px 0 #fffcd1, 1px 1px 0 #fffcd1;
  }
}

#free-qualifications {
  margin-top: 1em;
}
#free-qualifications .btn {
  width: 53%;
  padding-bottom: 14%;
  margin-top: 0.5em;
  background-image: url("/img/Event/202506-Chientu/btn-free.png");
}
@media (max-width: 767px) {
  #free-qualifications .btn {
    margin-top: 0.25em;
  }
}
#free-qualifications .btn.btn-search {
  background-position: 0 66.666667%;
}
#free-qualifications .btn.btn-search:hover {
  background-position: 0 100%;
}
#free-qualifications .btn.btn-download {
  background-position: 0 0;
}
#free-qualifications .btn.btn-download:hover {
  background-position: 0 33.333333%;
}

#free-extra p {
  position: absolute;
  top: 1em;
}
#free-extra .main-prize {
  margin-top: 0.5em;
  bottom: -0.66em;
  left: -0.6em;
}
@media (max-width: 767px) {
  #free-extra .main-prize {
    margin-top: 0.95em;
    bottom: -0.76em;
    left: -0.75em;
  }
}

.intro-free {
  margin-top: 2.2em;
  padding-bottom: 0.5em;
  font-size: 0.5em;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 767px) {
  .intro-free {
    font-size: 0.65em;
  }
}

#free-reward {
  margin-top: 2em;
}

#pot-exchange .QRCodeBox {
  margin-top: 0.3em;
}
#pot-exchange .QRCodeBox #QRCode {
  width: 40%;
  max-width: 230px;
}
#pot-exchange .btn {
  width: 92%;
  padding-bottom: 27%;
  margin-bottom: 0.3em;
  background-image: url("/img/Event/202506-Chientu/btn-download.png");
  background-position: 0 100%;
}
#pot-exchange .btn:hover {
  background-position: 0 0%;
}
@media (max-width: 767px) {
  #pot-exchange .btn {
    margin-top: 0.25em;
  }
}

#pot-mail p {
  margin-top: 0.5em;
  text-align: left;
  width: 100%;
}
@media (max-width: 767px) {
  #pot-mail p {
    width: 74%;
  }
}
#pot-mail .c-dec {
  bottom: -0.67em;
  right: 0;
}
#pot-mail .c-dec img {
  width: 20%;
}
@media (max-width: 767px) {
  #pot-mail .c-dec {
    right: 1em;
    bottom: -0.5em;
  }
  #pot-mail .c-dec img {
    width: 25%;
  }
}

#section-recommend {
  margin-top: 1.9em;
}
#section-recommend h2 {
  z-index: 4;
}
#section-recommend a {
  transition: filter 0.2s;
}
#section-recommend a:hover {
  filter: drop-shadow(0 0 3px #ff6228) brightness(1.2);
}
#section-recommend .finger {
  position: absolute;
  width: 2.3em;
  height: 1.6em;
  margin-top: -3em;
  margin-left: 12.3em;
  z-index: 6;
  background: url("/img/Event/202506-Chientu/dec-hand.png") top/100% auto no-repeat;
  animation: btnPlay 1.6s infinite step-end;
  transition: transition 1s, opacity 1s, filter .1s;
  background-position: bottom;
  bottom: 0;
  right: 0.5em;
  z-index: 3;
}

@keyframes btnPlay {
  0% {
    background-position: top;
  }

  50% {
    background-position: bottom;
  }
}
#section-rules {
  margin-top: 3.2em;
}
#section-rules .part-title {
  top: -1.8em;
}
#section-rules .border {
  padding-top: 1em;
}
#section-rules ul,
#section-rules ol {
  max-width: 100%;
  margin-bottom: 0.2em;
  padding-left: 1.4em;
  padding-right: 0.46em;
  color: #000;
}
#section-rules ul li,
#section-rules ol li {
  font-size: 0.5em;
  line-height: 1.5;
  position: relative;
  margin-bottom: 10px;
  text-align: left;
}
@media (max-width: 767px) {
  #section-rules ul,
  #section-rules ol {
    padding-left: 1.3em;
  }
  #section-rules ul li,
  #section-rules ol li {
    font-size: 0.66em;
    margin-bottom: 2px;
  }
}

.side-container {
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 2.25em;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  max-width: 24em;
  opacity: 1;
}
.side-container > * {
  pointer-events: all;
}
.side-container .side-btn {
  display: block;
  margin-left: auto;
  margin-right: .25em;
  width: 3.15em;
  opacity: 1;
  transition: opacity .5s;
}
@media (max-width: 1280px) {
  .side-container .side-btn {
    opacity: 0;
    pointer-events: none;
  }
}

.btn-wrapper {
  width: 80%;
  margin-top: 0.3em;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .btn-wrapper {
    margin-top: 10px;
  }
}

#window-eventCustom .modal-window p {
  width: 80%;
  text-align: center;
  font-weight: bold;
}

.event-modal {
  font: 400 60px/1.5 "Noto Sans TC", "微軟正黑體", Arial, Helvetica, sans-serif;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.3s ease-out, opacity 0.25s;
}
.event-modal.is-active {
  z-index: 99;
  opacity: 1;
  pointer-events: auto;
}
.event-modal.is-active .modal-window {
  pointer-events: auto;
}
@media (max-width: 1000px) {
  .event-modal {
    font-size: 6vw;
  }
}
.event-modal .mask {
  position: fixed;
  top: -50vh;
  left: -50vw;
  bottom: -50vh;
  right: -50vw;
  background: rgba(0, 0, 0, 0.75);
}
@supports (backdrop-filter: blur(0.1rem)) {
  .event-modal .mask {
    backdrop-filter: blur(0.15rem);
    background: rgba(8, 8, 8, 0.8);
    transition: backdrop-filter 0.5s ease-out;
  }
}
.event-modal .btn-close {
  width: 8em;
  height: 8em;
  display: block;
  position: absolute;
  z-index: 5;
  right: 1em;
  top: -6.5em;
  border: none;
  background-image: url(/img/Event/202506-Chientu/modal/close.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-color: transparent;
  overflow: hidden;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.event-modal .btn-close:hover, .event-modal .btn-close:focus, .event-modal .btn-close:active {
  transform: scale(1.1);
  filter: brightness(1.1) drop-shadow(0 0.1em 0.05em rgba(24, 8, 24, 0.5));
}
@media (max-width: 767px) {
  .event-modal .btn-close {
    width: 4.5em;
    height: 4.5em;
    top: -3em;
  }
}
.event-modal .modal-overflow {
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-height: 100vh;
  scrollbar-width: none;
}
.event-modal .modal-overflow::-webkit-scrollbar {
  width: 0px;
}
.event-modal .modal-window {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 2em auto 2em auto;
  line-height: 1.4;
  overflow: visible;
  max-width: 1011px;
  width: 96%;
  min-height: 4em;
  pointer-events: none;
  background-image: url(/img/Event/202506-Chientu/modal/modal-body.png);
  background-repeat: repeat-y;
  background-size: 100% auto;
  position: relative;
        /* @media (max-width: 900px) {
            margin-top: 0.5em;
            height: 7.2em;
        }

        @media (max-width: 600px) {
            margin-top: 1em;
            width: 94%;
            height: 7.9em;
        } */
}
.event-modal .modal-window::before, .event-modal .modal-window::after {
  content: "";
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.event-modal .modal-window::before {
  height: 6.9em;
  top: -1.9em;
  background-image: url(/img/Event/202506-Chientu/modal/modal-head.png?v=);
  background-position-y: top;
  z-index: 3;
}
.event-modal .modal-window::after {
  height: 2.4em;
  bottom: -1em;
  background-image: url(/img/Event/202506-Chientu/modal/modal-end.png);
  background-position-y: bottom;
  z-index: 2;
}
.event-modal .modal-window.type-2 {
  padding-top: 0.7em;
  background-image: url(/img/Event/202506-Chientu/modal/modal2-body.png);
}
.event-modal .modal-window.type-2::before {
  background-image: url(/img/Event/202506-Chientu/modal/modal2-head.png);
}
.event-modal .modal-window.type-2::after {
  background-image: url(/img/Event/202506-Chientu/modal/modal2-end.png);
}
.event-modal .modal-window.type-2 p {
  color: #fff;
}
.event-modal .modal-content {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 4;
}
.event-modal .img-box {
  display: flex;
  padding: 15px;
  background-color: #fcdce9;
  border: 5px solid #d95098;
  border-radius: 20px;
  position: relative;
}
.event-modal .img-box::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  background-color: #d95098;
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  z-index: 0;
  border-radius: 8px;
}
.event-modal .img-box img {
  border-radius: 5px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
@media (max-width: 767px) {
  .event-modal .img-box {
    padding: 6px;
    border-width: 3px;
    border-radius: 10px;
  }
  .event-modal .img-box::after {
    border-radius: 5px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
  }
  .event-modal .img-box img {
    border-radius: 3px;
  }
}
.event-modal p {
  color: #015512;
  font-size: 0.65em;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  #main #socials {
    position: static;
  }
  #main #socials .side-nav {
    width: 100%;
    flex-direction: row;
    left: auto;
  }
}

/*# sourceMappingURL=main.css.map */