@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
body {
  font-family: "Noto Sans TC", "微軟正黑體", "新細明體", "細明體", Arial, "Arial Black", sans-serif;
  text-align: justify;
}

* {
  max-height: 99999px;
}

/* header */
.navbar-nav {
  flex-grow: 1;
  justify-content: end;
}

/* root */
:root {
  --swiper-theme-color: #198754;
  --rwd-60px: 60px;
  --rwd-75px: 75px;
  --img-200: 200px;
}

@media (max-width: 1399px) {
  :root {
    --rwd-60px: 4.166vw;
    --rwd-75px: 5.2vw;
    --img-200: 75%;
  }
}
@media (max-width: 1024px) {
  :root {
    --rwd-60px: 4.166vw;
    --rwd-75px: 5.2vw;
  }
}
@media (max-width: 768px) {
  :root {
    --rwd-60px: 36px;
    --rwd-75px: 48px;
  }
}
@media (max-width: 575px) {
  :root {
    --rwd-75px: 40px;
    --rwd-60px: 32px;
  }
}
/*
@media (max-width: 480px) {
    :root{

    }
} */
@media (max-width: 320px) {
  :root {
    --rwd-75px: 11.12vw;
    --rwd-60px: 5.6vw;
  }
}
/* 通用 */
.hover-img {
  cursor: pointer;
}

a {
  text-decoration: none;
}

ul.ul-reset {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.img {
  max-width: 100%;
}

.hover-bigger:hover {
  transform: scale(1.1);
}

.hover-smaller:hover {
  transform: scale(0.975);
}

.tr-1 {
  transition: all 1s ease;
}

.tr-5 {
  transition: all 0.5s ease;
}

/* fixed */
#loading {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: #f1f2f3;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

#go-top {
  border: 0;
  background: none;
  bottom: 3vw;
  right: 30px;
  z-index: 999;
}

#go-top img {
  width: 5vw;
  height: auto;
}
@media (max-width: 1440px) {
  #go-top img {
    width: 5vw;
  }
}
@media (max-width: 991px) {
  #go-top img {
    width: 7vw;
  }
}
@media (max-width: 767px) {
  #go-top img {
    width: 12vw;
  }
}
@media (max-width: 576px) {
  #go-top img {
    width: 15vw;
  }
}

.buy-now {
  width: 7.5vw;
  position: fixed;
  z-index: 999;
  bottom: 120px;
  right: 30px;
  transition: all 0.5s ease-in-out;
  animation: buy-now 2s infinite;
}
@media (max-width: 1440px) {
  .buy-now {
    width: 9vw;
    bottom: 100px;
    right: 30px;
  }
}
@media (max-width: 991px) {
  .buy-now {
    width: 12vw;
    bottom: 100px;
    right: 30px;
  }
}
@media (max-width: 767px) {
  .buy-now {
    width: 15vw;
    bottom: 90px;
    right: 30px;
  }
}
@media (max-width: 576px) {
  .buy-now {
    width: 21vw;
    bottom: 60px;
    right: 30px;
  }
}

@keyframes buy-now {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}
/* 內容區塊通用 */
.section-block {
  padding: var(--rwd-75px) 0;
}

.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}

@media (max-width: 1440px) {
  .section-block {
    padding: var(--rwd-60px) 0;
  }
}
/* menu */
.menu {
  position: absolute;
  z-index: 99;
  width: 100%;
}
@media (max-width: 991px) {
  .menu {
    align-items: center;
    justify-content: space-between;
  }
}
@media (max-width: 767px) {
  .menu.show-menu {
    position: fixed;
  }
}
.menu > div {
  padding: 2.5vw;
}
@media (max-width: 575px) {
  .menu > div {
    padding-top: 2.5vw;
  }
}

.nav-link {
  font-weight: bold;
  font-size: 20px;
}

.nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-item a {
  width: 80%;
  color: #2a51a8;
  font-weight: bold;
  font-size: 1.5vw;
  text-align: center;
  margin: 8px 8px;
  padding: 0px 8px;
  text-decoration: none;
  display: block;
}
.nav-item a:hover {
  color: #fff;
  font-weight: 500;
  background-color: #2a51a8;
}
@media (max-width: 1440px) {
  .nav-item a {
    font-size: 20px;
    margin: 0 8px;
    padding: 0 2px;
  }
}
@media (max-width: 991px) {
  .nav-item a {
    font-size: 16px;
    margin: 0 8px;
    padding: 0 2px;
  }
}
@media (max-width: 767px) {
  .nav-item a {
    font-size: 18px;
    margin: 0 8px;
    padding: 0 2px;
  }
}

.logos {
  display: flex;
  align-items: flex-start;
}
.logos a {
  display: block;
}

.logos img {
  opacity: 0;
  width: auto;
  height: 3.25vw;
  margin-left: 0vw;
}
@media (max-width: 991px) {
  .logos img {
    width: auto;
    height: 4.5vw;
    margin-left: 0vw;
  }
}
@media (max-width: 575px) {
  .logos img {
    height: 12vw;
    margin-left: 1vw;
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .menu-nav > ul {
    border-radius: 36px;
    padding: 7vw 0.35vw;
  }
}

@media (max-width: 991px) {
  .nav-item:not(:last-child) {
    border-bottom: none;
  }
}

.menu-btn img {
  display: block;
  padding: 0.5vw;
  width: 5vw;
  height: auto;
}
@media (max-width: 767px) {
  .menu-btn img {
    width: 7.5vw;
  }
}
@media (max-width: 575px) {
  .menu-btn img {
    width: 11vw;
  }
}
.menu-btn div {
  background-image: url("../images/menu-icon.png");
  background-size: cover;
  width: 3.5vw;
  height: 3.5vw;
}
@media (max-width: 575px) {
  .menu-btn div {
    width: 8vw;
    height: 8vw;
  }
}

.show-menu .menu-btn div {
  background-image: url("../images/menu-close.png");
}

.menu-link ul {
  display: flex;
  align-items: center;
}

/* TODO: MENU RWD */
.menu.menu-add-bg {
  top: 0px;
}

.nav-item {
  width: 100%;
  text-align: center;
}

.nav-item {
  width: 100%;
  text-align: center;
}

.nav-item a {
  padding: 8px;
}

.menu-link {
  position: fixed;
  top: 0px;
  right: 0;
  width: 27%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  background: #ffffff;
  transform: translateX(100%);
}
@media (max-width: 991px) {
  .menu-link {
    width: 50%;
  }
}
@media (max-width: 575px) {
  .menu-link {
    width: 100%;
    padding-top: 12vw;
  }
}

.show-menu .menu-link {
  transform: translateX(0%);
}

.menu-link ul {
  flex-direction: column;
  padding-top: 76px;
  padding-bottom: 16px;
}

.sw-fade .swiper-slide:not(.swiper-slide-active) {
  opacity: 0 !important;
}

.swiper-add-arrows {
  position: relative;
  width: 56%;
  margin: auto;
}

.swiper-add-arrows .swiper-button-next, .swiper-add-arrows .swiper-button-prev {
  opacity: 0;
  z-index: -99;
}

.arr-left, .arr-right {
  position: absolute;
  opacity: 1;
  cursor: pointer;
  width: 4vw;
  height: 4vw;
  top: 40%;
  background: url(../images/arr.svg) center center no-repeat;
  background-size: 100% auto;
}

.arr-left:hover, .arr-right:hover {
  opacity: 0.5;
}

.arr-left {
  left: -4vw;
}

.arr-right {
  right: -4vw;
  transform: rotate(180deg);
}

.hide-3-items .arr-left, .hide-3-items .arr-right {
  display: none;
}

@media (max-width: 575px) {
  .arr-left {
    left: -4vw;
  }
  .swiper-add-arrows {
    width: 76%;
  }
  .arr-right {
    right: -4vw;
    transform: rotate(180deg);
  }
  .arr-left, .arr-right {
    background-size: 100%;
  }
}
body {
  background-color: #61a7ee;
  height: 100vh;
}
@media (max-width: 575px) {
  body {
    height: auto;
  }
}

p,
li {
  font-size: 1.5vw;
}
@media (max-width: 1399px) {
  p,
  li {
    font-size: 1.75vw;
  }
}
@media (max-width: 991px) {
  p,
  li {
    font-size: 2vw;
  }
}
@media (max-width: 575px) {
  p,
  li {
    font-size: 4.25vw;
  }
}

.map-box.anser {
  position: relative;
  left: 7.5%;
  top: 10vw;
  width: 40vw;
}
@media (max-width: 1399px) {
  .map-box.anser {
    top: 10vw;
  }
}
@media (max-width: 991px) {
  .map-box.anser {
    top: 8.5vw;
  }
}
@media (max-width: 575px) {
  .map-box.anser {
    top: 7.5vw;
    left: 1.5%;
    width: 97%;
    margin-bottom: 3.5vw;
  }
}

.map-box.game-fail {
  position: relative;
  left: 30%;
  top: 9.5vw;
  width: 61.5vw;
}
@media (max-width: 1399px) {
  .map-box.game-fail {
    top: 10vw;
  }
}
@media (max-width: 991px) {
  .map-box.game-fail {
    top: 8.5vw;
  }
}
@media (max-width: 575px) {
  .map-box.game-fail {
    top: 7.5vw;
    left: 1.5%;
    width: 97%;
    margin-bottom: 3.5vw;
  }
}

.letter-p {
  width: 40vw;
  position: relative;
  left: 8.5%;
  font-size: 1vw;
  top: 7vw;
}
@media (max-width: 1399px) {
  .letter-p {
    left: 8%;
    font-size: 1.1vw;
    width: 42vw;
  }
}
@media (max-width: 991px) {
  .letter-p {
    font-size: 1.25vw;
    width: 40vw;
  }
}
@media (max-width: 575px) {
  .letter-p {
    top: unset;
    left: 3vw;
    width: 94vw;
    font-size: 4.25vw;
    line-height: 7.5vw;
    margin-bottom: 1vw;
  }
}

.game-letter-name {
  width: 40%;
  height: auto;
  padding-right: 3vw;
}

.font-box {
  position: absolute;
  left: 51vw;
  top: 0vw;
  width: 47vw;
  height: 100%;
  display: flex;
  align-items: center;
}
.font-box li {
  opacity: 0.75;
  margin-bottom: 2vw;
}
.font-box li > * {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .font-box li {
    margin-bottom: 1.25vw;
  }
}
@media (max-width: 575px) {
  .font-box li {
    margin-bottom: 4vw;
  }
}
.font-box ul li:last-child {
  margin-bottom: 0;
}
@media (max-width: 575px) {
  .font-box {
    position: relative;
    left: 1.5vw;
    width: 97vw;
  }
}

.app-box {
  height: 44.27vw;
  width: 100%;
  position: relative;
}
@media (max-width: 575px) {
  .app-box {
    height: auto;
  }
}

.game-close {
  z-index: 99;
  width: 10vw;
  padding-top: 2.5vw;
  margin-right: 2.5vw;
  position: absolute;
}
@media (max-width: 575px) {
  .game-close {
    width: 30vw;
    padding-top: unset;
    padding: 2vw;
    margin-right: 0;
    position: fixed;
    right: 0;
    top: 0;
  }
}

.end-all-pass {
  height: 44.2708333333vw;
  width: 100%;
  background-image: url("../images/game/game-bg-pass_1119.png?1203");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #3fa9f5;
}

.end-fail {
  height: 44.2708333333vw;
  width: 100%;
  background-image: url("../images/game/game-bg-again_1119.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: #3fa9f5;
}

.btn-anser {
  transform: translateX(-50%);
  z-index: 4;
  width: 26vw;
  padding-bottom: 2vw;
  background: transparent;
  border: 0;
  left: 50%;
  bottom: 0;
  position: absolute;
}
.btn-anser img {
  width: 100%;
}
@media (max-width: 575px) {
  .btn-anser {
    width: 100%;
    background-color: #ffffef;
    position: fixed;
    bottom: 0;
    padding-top: 2vw;
  }
  .btn-anser img {
    width: 70%;
  }
}

.ask-page {
  height: 44.27vw;
  background-image: url("../images/game/game-bg-play_1218.png?121802");
  background-size: 100% 100%;
}

@media (max-width: 575px) {
  .ask-page,
  .end-all-pass,
  .end-fail {
    height: auto;
    background-image: url("../images/game/bg-t-m.png"), url("../images/game/bg-b-m.png");
    background-position: center top, center calc(100% + 1px);
    background-size: 100% auto, 100% auto;
    background-repeat: no-repeat, no-repeat;
    background-color: #ffffef;
    padding: 10vw 0;
    border-bottom: 1px solid #3fa9f5;
  }
}
.game-places {
  width: 100%;
  height: 100%;
  left: 1vw;
}
.game-places li {
  list-style-type: none;
  padding: 0.15vw;
  position: absolute;
  text-align: center;
  width: 8.5%;
  cursor: pointer;
  z-index: 2;
  border-radius: 0.5vw;
}
.game-places li span {
  width: 20px;
  height: 20px;
  font-size: 16px;
}
.game-places li > img {
  width: 100%;
  height: auto;
}
.game-places li.choseed {
  background-color: red;
}
@media (max-width: 1399px) {
  .game-places li {
    transform: scale(1.4);
  }
  .game-places li span {
    width: 16px;
    height: 16px;
    font-size: 14px;
  }
}
@media (max-width: 575px) {
  .game-places li {
    transform: scale(1.85);
  }
  .game-places li span {
    width: 12px;
    height: 12px;
    font-size: 9px;
  }
}
.game-places li:nth-child(1) {
  top: -2%;
  left: 74.25%;
}
.game-places li:nth-child(2) {
  top: 5%;
  left: 62.5%;
}
.game-places li:nth-child(3) {
  top: 10%;
  left: 2.5%;
}
.game-places li:nth-child(4) {
  top: 22%;
  left: 21.25%;
}
.game-places li:nth-child(5) {
  top: 25%;
  left: 78%;
}
@media (max-width: 575px) {
  .game-places li:nth-child(5) {
    top: 34%;
    left: 80%;
  }
}
.game-places li:nth-child(6) {
  top: 15%;
  left: 39.25%;
}
.game-places li:nth-child(7) {
  top: 25%;
  left: 51%;
}

.gg-btns {
  margin-top: 3vw;
  gap: 0.5vw;
  margin-left: 5vw;
  position: absolute;
  display: flex;
  border: #c1272d 2px solid;
  padding: 0.5vw 0.75vw;
  border-radius: 0vw;
  box-shadow: 0.5vw 0.5vw 0px rgba(193, 39, 45, 0.8);
  background-color: #fff;
  align-items: center;
}
.gg-btns img {
  height: 5.5vw;
}
@media (max-width: 1199px) {
  .gg-btns {
    margin-top: 0vw;
  }
}
@media (max-width: 991px) {
  .gg-btns {
    padding-top: 0.5vw;
  }
}
@media (max-width: 575px) {
  .gg-btns {
    position: relative;
    justify-content: start;
    padding-left: unset;
    align-items: start;
    flex-direction: column;
    margin-left: 0;
  }
  .gg-btns img {
    height: 12.5vw;
  }
  .gg-btns > div {
    width: 100%;
  }
  .gg-btns li,
  .gg-btns p {
    font-size: 3.75vw;
  }
}

[disabled] {
  opacity: 0.8;
}
[disabled] img {
  opacity: 0.5;
}

.ask-flex-box {
  display: flex;
  align-items: center;
}
@media (max-width: 575px) {
  .ask-flex-box {
    flex-direction: column;
    align-items: start;
    padding-left: 2vw;
  }
}
.ask-flex-box .ask-title {
  font-size: 0.8vw;
  width: 25%;
  text-align: center;
  position: relative;
}
@media (max-width: 1399px) {
  .ask-flex-box .ask-title {
    font-size: 0.95vw;
  }
}
@media (max-width: 991px) {
  .ask-flex-box .ask-title {
    font-size: 1.07vw;
  }
}
@media (max-width: 575px) {
  .ask-flex-box .ask-title {
    width: unset;
    font-size: 4.5vw;
    display: flex;
    align-items: center;
  }
}
.ask-flex-box .ask-title::before {
  content: "";
  display: block;
  position: relative;
  background-repeat: no-repeat;
  width: 100%;
  padding-bottom: 18%;
  background-size: contain;
  background-position: center;
  margin-bottom: 2%;
}
@media (max-width: 575px) {
  .ask-flex-box .ask-title::before {
    display: inline-block;
    width: 19vw;
    padding-bottom: 6vw;
    margin-right: 2vw;
  }
}
.ask-flex-box .ask-title.ask-title-1::before {
  background-image: url("../images/game/SVG/q01-head.svg");
}
.ask-flex-box .ask-title.ask-title-2::before {
  background-image: url("../images/game/SVG/q02-head.svg");
}
.ask-flex-box .ask-title.ask-title-3::before {
  background-image: url("../images/game/SVG/q03-head.svg");
}
.ask-flex-box .ask-title.ask-title-4::before {
  background-image: url("../images/game/SVG/q04-head.svg");
}
.ask-flex-box .ask-title.ask-title-5::before {
  background-image: url("../images/game/SVG/q05-head.svg");
}

.game-ask-notice {
  width: 55%;
}

.ask-fonts {
  font-size: 0.9vw;
  align-self: center;
  padding-left: 0.5vw;
  border-left: 2px solid #666;
}
@media (max-width: 1399px) {
  .ask-fonts {
    font-size: 1.2vw;
    width: 65%;
  }
}
@media (max-width: 991px) {
  .ask-fonts {
    font-size: 1.45vw;
  }
}
@media (max-width: 575px) {
  .ask-fonts {
    width: 100%;
    border-left: 0;
    font-size: 4vw;
  }
}

.btn-fail-box {
  position: absolute;
  width: 18vw;
  left: 72%;
  top: 32vw;
  z-index: 9;
}
.btn-fail-box img {
  width: 100%;
}
@media (max-width: 575px) {
  .btn-fail-box {
    position: relative;
    left: unset;
    top: unset;
    width: 44vw;
    margin-left: auto;
    margin-right: auto;
  }
}

.game-fail-top {
  margin-top: 5vw;
  width: 80%;
}

.mySwiper2 .swiper-slide {
  padding: 0 8%;
  align-items: center;
  display: flex;
}
@media (max-width: 575px) {
  .mySwiper2 .swiper-slide {
    flex-direction: column-reverse;
  }
}

.mySwiper2 .swiper-slide img {
  display: block;
  width: 23vw;
  padding: 0 0%;
  height: auto;
}
@media (max-width: 575px) {
  .mySwiper2 .swiper-slide img {
    width: 90%;
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: #3fa9f5 !important;
}

.win-sw {
  width: 60%;
  position: absolute;
  top: 10vw;
  left: 30%;
}
.win-sw p {
  padding-right: 1vw;
}
@media (max-width: 575px) {
  .win-sw p {
    padding: 0 5%;
  }
}
@media (max-width: 991px) {
  .win-sw {
    top: 7.5vw;
    width: 66%;
    left: 30%;
  }
}
@media (max-width: 575px) {
  .win-sw {
    position: relative;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    left: unset;
    top: unset;
  }
}

.asking-ps {
  position: absolute;
  font-size: 1vw;
  line-height: 1.5vw;
  left: 8%;
  top: 73%;
  z-index: 9;
  background-color: rgba(248, 223, 100, 0.768627451);
  padding: 0.5vw;
  border: 3px solid #333;
}
@media (max-width: 575px) {
  .asking-ps {
    position: relative;
    font-size: 3.3vw;
    line-height: 4vw;
    border: 1px solid #333;
    width: 96%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
    left: unset;
    top: unset;
  }
}

.win-box {
  position: absolute;
  left: 6%;
  top: 5.6vw;
  width: 24%;
  height: 30%;
}
@media (max-width: 575px) {
  .win-box {
    position: relative;
    width: 75%;
    padding-top: 4vw;
    padding-bottom: 2.5vw;
    top: 0vw;
  }
}

.win-fonts-box {
  background-color: #c1272d;
  border-radius: 1.5vw;
  position: relative;
}
.win-fonts-box::after {
  content: "";
  display: block;
  position: absolute;
  background-repeat: no-repeat;
  width: 0px;
  height: 0px;
  bottom: -2.1vw;
  left: calc(50% - 1vw);
  border-top: 1.2vw solid #c1272d;
  border-left: 1vw solid rgba(193, 39, 45, 0);
  border-right: 1vw solid rgba(193, 39, 45, 0);
  border-bottom: 1vw solid rgba(193, 39, 45, 0);
}
@media (max-width: 575px) {
  .win-fonts-box {
    border-radius: 4vw;
    padding: 0;
  }
  .win-fonts-box::after {
    content: "";
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    width: 0px;
    height: 0px;
    bottom: unset;
    top: calc(50% - 10px);
    left: 100%;
    border-top: 5px solid rgba(193, 39, 45, 0);
    border-left: 10px solid #c1272d;
    border-right: 10px solid rgba(193, 39, 45, 0);
    border-bottom: 5px solid rgba(193, 39, 45, 0);
  }
}/*# sourceMappingURL=game.css.map */