/* img */
.logo img {
  display: block;
  width: 100%;
}

/* head */
.poboth {
  width: 60%;
  position: absolute;
  bottom: 0;
  left: 8%;
  animation: rocking 10s infinite;
}

.note {
  display: flex;
  justify-content: center;
  font-weight: 600;
  color: #ff0000;
}

@keyframes rocking {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  20% {
    transform: translateY(-10px) rotate(-1deg);
  }

  50% {
    transform: translateY(0) rotate(0deg);
  }

  80% {
    transform: translateY(10px) rotate(1deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.umk {
  width: 100%;
  position: absolute;
  top: -19vw;
}

.ffbox {
  width: 5%;
  position: absolute;
  right: 2%;
  top: 1%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.ffbox div {
  width: 48%;
  margin: 0 1%;
}

.apdwbx {
  /*  width: 25%;*/
  width: 15%;
  position: absolute;
  /*right: 3%;
  bottom: 3%;*/
  right: 0.5%;
  top: 1.5%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.hbtbox {
  position: absolute;
  width: 100%;
  top: 40vw;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.hbtbox div {
  max-width: 350px;
}

.hbta,
.hbtb {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.hbta:hover,
.hbtb:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.hbta .hover-img,
.hbtb .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hbta:hover .hover-img,
.hbtb:hover .hover-img {
  opacity: 1;
}

.mianslogan {
  position: absolute;
  right: 0;
  top: 41%;
  transform: translateY(-50%) scale(0.9);
}

.mianslogan img {
  display: block;
  width: 100%;
}

.mbmianslogan {
  display: none;
}

.mbmianslogan img {
  display: block;
  width: 100%;
}

.mianslogan .titlegif {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

#sloganSparkle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@keyframes sloganSweep {
  0% {
    left: 160%;
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    left: -60%;
    opacity: 0;
  }
}

.slo {
  position: absolute;
  width: 45%;
  right: 3%;
  bottom: 15%;
}

#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  /* z-index: 2; */
}

.webbox {
  width: 100%;
  position: relative;
}

.head {
  position: relative;
  width: 100%;
  /* width: 1920;
 height: 1065;*/
  padding-bottom: 56.25%;
  overflow: hidden;
}

.head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.logo {
  position: absolute;
  width: 10%;
  left: 1%;
  top: 1%;
}

.snowbox {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}


.appb,
.adwbb {
  position: relative;
  width: 6vw;
  height: 2vw;
  margin: 0 1%;
}

.apbt,
.dwbt {
  position: relative;
  width: 6vw;
  height: 2vw;
  overflow: hidden;
  border-radius: 1em;
  top: 0;
}

.fb,
.fbbt {
  position: relative;
  height: 2.5vw;
  margin: 0 1%;
}

.apbt:before,
.dwbt:before {
  content: "";
  position: absolute;
  width: 1000px;
  height: 100px;
  background-image: linear-gradient(to bottom,
      transparent,
      /*  rgba(253, 255, 132, 0.6),*/
      rgba(245, 245, 210, 0.5),
      transparent);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: ligg 3s ease-in 0.8s infinite;
  -o-animation: ligg 3s ease-in 0.8s infinite;
  animation: ligg 1.5s ease-in 0.8s infinite;
}

@keyframes ligg {
  0% {
    left: -300px;
    top: -300px;
  }

  100% {
    left: -160px;
    top: 800px;
  }
}

/*花瓣*/
.snowbox {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.snow-o {
  position: absolute;
  opacity: 1;
  filter: alpha(opacity=1);
  overflow: hidden;
  background-repeat: no-repeat;
  background: url(../images/flower_img_1.png);
  background-size: 100% auto;
  pointer-events: none;
  /**/
  -webkit-animation-timing-function: linear;
  -webkit-animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-duration: 17s;
  animation-iteration-count: infinite;
  _display: none;
}

.snow-o1 {
  width: 2.4%;
  padding-bottom: 2%;
  /*40px*/
  top: 260px;
  right: 0px;
  -webkit-animation-name: firemove1, fade;
  animation-name: firemove1, fade;
  animation-delay: 0.1s;
}

.snow-o2 {
  width: 2.4%;
  /*18 48px*/
  padding-bottom: 2.1%;
  /*42px*/
  top: 160px;
  right: -50px;
  z-index: 2;
  background-position: 0 51%;
  /*left -40px*/
  -webkit-animation-name: firemove2, fade;
  animation-name: firemove2, fade;
  animation-delay: 2.1s;
}

.snow-o3 {
  width: 2.4%;
  /*35 48px*/
  padding-bottom: 1.75%;
  /*22 35px*/
  background-position: 0 100%;
  /*left -83px*/
  top: -50px;
  right: 100px;
  -webkit-animation-name: firemove3, fade;
  animation-name: firemove3, fade;
  animation-delay: 2.8s;
}

.snow-o4 {
  width: 2.4%;
  padding-bottom: 2%;
  top: -60px;
  right: 360px;
  z-index: 2;
  -webkit-animation-name: firemove1, fade;
  animation-name: firemove1, fade;
  animation-delay: 8.4s;
  animation-timing-function: 4s;
}

.snow-o5 {
  width: 2.4%;
  padding-bottom: 2.1%;
  /*42px*/
  top: -60px;
  right: 1000px;
  background-position: 0 51%;
  /*left -40px*/
  -webkit-animation-name: firemove2, fade;
  animation-name: firemove2, fade;
  animation-delay: 1.2s;
}

.snow-o6 {
  width: 2.4%;
  /*35 48px*/
  padding-bottom: 1.75%;
  /*22 35px*/
  top: -50px;
  right: 600px;
  z-index: 2;
  background-position: 0 100%;
  /*left -83px*/
  -webkit-animation-name: firemove3, fade;
  animation-name: firemove3, fade;
  animation-delay: 6.8s;
  animation-timing-function: 3s;
}

.snow-o7 {
  width: 2.4%;
  /*35 48px*/
  padding-bottom: 2.1%;
  /*22 35px*/
  top: -30px;
  right: 900px;
  z-index: 2;
  background-position: 0 100%;
  /*left -83px*/
  -webkit-animation-name: firemove1, fade;
  animation-name: firemove1, fade;
  animation-delay: 3.8s;
  animation-timing-function: 2s;
}

/*花瓣*/
@keyframes firemove1 {
  from {
    opacity: 1;
    transform: rotate(0deg) translate(0, 0) rotate(0deg);
  }

  to {
    opacity: 0.5;
    transform: rotate(-18deg) translate(-2000px, 1000px) rotate(720deg);
  }
}

@keyframes firemove2 {
  from {
    opacity: 1;
    transform: rotate(0deg) translate(0, 0) rotate(0deg);
  }

  to {
    opacity: 0.5;
    transform: rotate(-18deg) translate(-2100px, 800px) rotate(-960deg);
  }
}

@keyframes firemove3 {
  from {
    opacity: 1;
    transform: rotate(0deg) translate(0, 0) rotate(0deg);
  }

  to {
    opacity: 0.5;
    transform: rotate(-18deg) translate(-2500px, 900px) rotate(360deg);
  }
}

/**/
/* @keyframes shakeY {
  0%,
  to {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    -webkit-transform: translate3d(0, -15px, 0);
    transform: translate3d(0, -15px, 0);
  }
  20%,
  40%,
  60%,
  80% {
    -webkit-transform: translate3d(0, 15px, 0);
    transform: translate3d(0, 15px, 0);
  }
} */
/* content */
.content {
  position: relative;
  width: 100%;
  background: url("../images/page_bg.jpg");
}

.dollgirl {
  position: absolute;
  width: 16%;
  top: 8%;
  left: 6%;
  z-index: 2;
  pointer-events: none;
  animation: dollFloat 2.5s ease-in-out infinite;
}

.dollgirl img {
  display: block;
  width: 100%;
}

.dollboy {
  position: absolute;
  width: 16%;
  bottom: 8%;
  right: 8%;
  z-index: 2;
  pointer-events: none;
  animation: dollFloat 2.5s ease-in-out 1.2s infinite;
}

.dollboy img {
  display: block;
  width: 100%;
}

@keyframes dollFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-30px);
  }
}

.mcbx {
  width: 70%;
  margin: 0 auto;
  padding: 0 0 5vw 0;
}

.mcm {
  width: 100%;
  background: url("../images/mcn_02.png");
  background-size: 100% 100%;
}

.almc {
  width: 80%;
  margin: 0 auto;
}

.imgxx {
  width: 95%;
  margin: 0 auto;
  color: #ffefbe;
  border: 4px double #00ffbb;
  text-align: center;
  background-color: #605b53;
  padding: 3px;
}

.imgx {
  width: 50%;
  margin: 0 auto;
  color: #ffefbe;
  border: 4px double #00ffbb;
  text-align: center;
  background-color: #605b53;
  padding: 3px;
}

.imgori-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.imgori {
  text-align: center;
}

.imgori img {
  max-width: 100%;
  height: auto;
}

/* label-wrap 用戶資訊條 */
.label-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
  margin: 0 auto 3vw;
  padding: 10px 20px;
  max-width: 720px;
}

.label-item {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  white-space: nowrap;
  padding: 10px 24px;
  border-radius: 9999px;
}

.label-item:first-child {
  background-color: #3d78e6;
}

.label-item:last-child {
  background-color: #d4ad57;
}

.label-item em {
  font-style: normal;
  color: #ffbdbd;
  font-weight: 700;
}

/* works-list 投票框架 */
.works-list {
  list-style: none;
  padding: 0;
  margin: 10px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 90%;
}

.works-item {
  text-align: center;
  position: relative;
  min-width: 0;
}

.works-item {
  width: calc(100% / 3 - 20px);
}

.works-img {
  position: relative;
  background: url("../images/works-item.png") no-repeat center top;
  background-size: 100% auto;
  padding-bottom: 119%;
}

.prop-info {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 95%;
  overflow: hidden;
}

.prop-info .prop-theme {
  display: block;
  width: 100%;
}

.vote-num {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  font-size: 18px;
  font-weight: middle;
  white-space: nowrap;
  background: url("../images/vote-bg.png") no-repeat center center;
  background-size: 100% 100%;
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.3vw 0;
}

.works-item .btnbox {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 60%;
}

.btn-vote {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  width: 100%;
}

.btn-vote img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.btn-vote:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

/* topbt */
.dtt {
  position: fixed;
  width: 100%;
  max-width: 2000px;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}

.topbt {
  position: absolute;
  width: 70px;
  padding-bottom: 69px;
  display: none;
  cursor: pointer;
  background-attachment: scroll;
  background-image: url(../images/top.png);
  background-repeat: no-repeat, no-repeat;
  background-position: 50% 50%, 50% 50%;
  background-size: 100% auto, 100% auto;
  bottom: 10px;
  right: 10px;
  z-index: 11;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.pcimg {
  display: block;
}

.mbimg {
  display: none;
}

@media only screen and (max-width: 1690px) {
  .mianslogan {
    transform: translateY(-50%) scale(0.7);
    transform-origin: right center;
  }

@media only screen and (max-width: 1400px) {
  .mianslogan {
    transform: translateY(-50%) scale(0.7);
    transform-origin: right center;
  }

@media only screen and (max-width: 1300px) {
  .mianslogan {
    transform: translateY(-49%) scale(0.5);
    transform-origin: right center;
  }
  
  .hbtbox {
    transform: scale(0.7);
    top: 35vw;
  }

@media only screen and (max-width: 950px) {
  .mianslogan {
    transform: translateY(-50%) scale(0.4);
    transform-origin: right center;
  }
  
  .hbtbox {
    transform: scale(0.7);
    top: 35vw;
  }

  .almc {
    margin: 0 auto;
  }

  .mcm {
    width: 100%;
    background: url("../images/mbct_05.png");
    background-size: 100% 100%;
  }

  .pcimg {
    display: none;
  }

  .mbimg {
    display: block;
  }

  .works-item {
    width: 30%;
    min-width: 120px;
  }

  /*花瓣*/
  .snow-o1 {
    width: 4.8%;
    padding-bottom: 4%;
    /*40px*/
    top: -30px;
    right: -40px;
  }

  .snow-o2 {
    width: 4.8%;
    /*18 48px*/
    padding-bottom: 4.2%;
    /*42px*/
    top: -50px;
    right: 50px;
  }

  .snow-o3 {
    width: 4.8%;
    /*35 48px*/
    padding-bottom: 3.5%;
    /*22 35px*/
    background-position: 0 100%;
    /*left -83px*/
    top: -20px;
    right: -50px;
  }

  .snow-o4 {
    width: 4.8%;
    padding-bottom: 4%;
    /*40px*/
    top: -30px;
    right: 30px;
  }

  .snow-o5 {
    width: 4.8%;
    /*18 48px*/
    padding-bottom: 4.2%;
    /*42px*/
    top: -20px;
    right: -20px;
  }

  .snow-o6 {
    width: 4.8%;
    /*35 48px*/
    padding-bottom: 3.5%;
    /*22 35px*/
    top: -20px;
    right: 50px;
  }

  /*花瓣*/
  @keyframes firemove1 {
    0% {
      opacity: 1;
      transform: rotate(0deg) translate(0, 0) rotate(0deg);
    }

    100% {
      opacity: 1;
      transform: rotate(-18deg) translate(-1000px, 500px) rotate(720deg);
    }
  }

  @keyframes firemove2 {
    0% {
      opacity: 1;
      transform: rotate(0deg) translate(0, 0) rotate(0deg);
    }

    100% {
      opacity: 1;
      transform: rotate(-32deg) translate(-600px, 500px) rotate(-920deg);
    }
  }

  @keyframes firemove3 {
    0% {
      opacity: 1;
      transform: rotate(0deg) translate(0, 0) rotate(0deg);
    }

    100% {
      opacity: 1;
      transform: rotate(-10deg) translate(-600px, 500px) rotate(360deg);
    }
  }
  .hbtbox{
    transform: scale(0.6);
  }
}

@media only screen and (max-width: 800px) {
  .label-wrap {
    gap: 5px;
  }

  .label-item {
    font-size: 20px;
    padding: 8px 16px;
  }
}

@media only screen and (max-width: 560px) {
  .mianslogan {
    display: none;
  }

  .mbmianslogan {
    display: block;
    position: absolute;
    left: 50%;
    top: 63%;
    transform: translate(-50%, -50%);
    width: 107%;
  }
  
  .etitle {
    gap: 0px;
  }

  .etitle p {
    font-size: 1.8rem;
  }

  .head-video {
    object-position: 17% center !important;
  }

  .dollgirl,
  .dollboy {
    display: none;
  }

  .content {
    min-height: 125px;
  }

  .mcbx {
    width: 90%;
    margin: 0 auto;
    padding: 40px 1vw 40px 1vw;
  }

  .poboth {
    width: 198%;
    position: absolute;
    bottom: 5px;
    left: -66%;
    animation: rocking 10s infinite;
  }

  .dwbt {
    position: relative;
    width: 50%;
    height: 80px;
    margin: 0 1%;
  }

  .apbt,
  .dwbt {
    position: absolute;
    width: 100%;
    height: 60px;
    overflow: hidden;
    border-radius: 1em;
    top: 0;
  }

  .appb,
  .adwbb {
    position: relative;
    width: 25%;
  }

  .apdwbx {
    width: 100%;
    position: absolute;
    right: 3%;
    top: 4%;
    display: flex;
    align-items: end;
    justify-content: flex-end;
    left: auto;
    margin-left: 0;
    z-index: 5;
    flex-direction: row;
    transform: scale(0.83);
    transform-origin: top right;
  }

  .slo {
    position: absolute;
    width: 100%;
    right: -2%;
    bottom: 12%;
  }

  .hbtbox a {
    display: block;
    width: auto;
  }

  .hbtbox a img {
    width: 100%;
    display: block;
  }

  .hbtbox {
    position: absolute;
    width: 100%;
    top: auto;
    bottom: 20vw;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
  }

  .ffbox {
    width: 25%;
    position: absolute;
    right: 2%;
    top: 2%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
  }

  .head {
    position: relative;
    width: 100%;
    background-size: 100% auto;
    padding-bottom: 150%;
    overflow: hidden;
  }

  .logo {
    position: absolute;
    width: 150px;
    left: 1%;
    top: 1%;
  }

  .logo img {
    opacity: 1;
  }

  .pcimg {
    display: none;
  }

  .mbimg {
    display: flex;
  }

  .works-item {
    width: 75%;
    min-width: 100px;
  }

  .works-list {
    gap: 10px;
    flex-direction: column;
    align-content: center;
  }

  .label-wrap {
    flex-direction: column;
    gap: 8px;
    padding: 8px 8px 25px;
  }

  .label-item {
    font-size: 17px;
    padding: 6px 12px;
  }

  .imgori-row {
    flex-direction: column;
  }
}