/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: inherit;
  -webkit-font-variant-ligatures: inherit;
  font-variant-ligatures: inherit;
  font-variant-caps: inherit;
  font-variant-numeric: inherit;
  font-variant-east-asian: inherit;
  font-variant-alternates: inherit;
  font-variant-position: inherit;
  font-variant-emoji: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  -webkit-font-kerning: inherit;
  font-kerning: inherit;
  -webkit-font-feature-settings: inherit;
  font-feature-settings: inherit;
  vertical-align: baseline;
  text-shadow: unset;
  -webkit-box-shadow: unset;
  box-shadow: unset;
}

a[href^="x-apple-data-detectors:"] {
  color: inherit;
  text-decoration: inherit;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
}


body.freeze {
  overflow: hidden;
  height: auto;
}

* {
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 400;
}

.text-jfo {
  font-family: "jf-openhuninn";
  font-weight: normal;
  font-style: normal;
}

.text-red {
  color: #993718;
}

.indent {
  text-indent: 1em;
}

.font-gill {
  font-family: "gill_sans_mt_ext_condensed_Rg", "Voltaire", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.text-yellow {
  color: #E6D2A0;
}

.text-green-dark {
  color: #033C1C;
}

.container {
  font-size: 0;
}

.hidebg {
  opacity: 0;
}

.container-float {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.t-c {
  text-align: center;
}

.col {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.col-6 {
  width: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

button {
  background: transparent;
  cursor: pointer;
  -webkit-transition: 0.1s ease;
  transition: 0.1s ease;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  border: unset;
  outline: unset;
}

button:hover {
  -webkit-transform: translateY(1px);
  transform: translateY(1px);
}

.six-caps-regular {
  font-family: "Six Caps", sans-serif;
  font-weight: 400;
  font-style: normal;
}

[class*=card-img] img {
  width: 100%;
}

.img {
  width: 100%;
  position: relative;
}

.img img {
  width: 100%;
}

.frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 0;
}

.frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.bg {
  overflow: hidden;
}

.blur {
  -webkit-filter: blur(3px);
  filter: blur(3px);
}

.move {
  position: absolute;
  height: 100vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

.move img {
  width: 110vw;
  height: 110vh;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transform: scale(120%);
  transform: scale(120%);
  -webkit-transform-origin: center center;
  transform-origin: center center;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.mobile {
  display: none;
}

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

  .mobile {
    display: block;
  }
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-transition: opacity 0.3s, display 0.2s allow-discrete;
  transition: opacity 0.3s, display 0.2s allow-discrete;
  z-index: 100;
  opacity: 0;
}

.lightbox.show {
  display: block;
  opacity: 1;
}

.lightbox.show .lightbox-container {
  opacity: 1;
  padding-top: 35px;
}

.mask {
  width: 100%;
  position: absolute;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  top: 0;
  bottom: 0;
  left: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  right: 0;
  background: rgba(22, 22, 22, 0.7);
  max-height: 100vh;
  overflow-y: auto;
}

.lightbox-container {
  position: relative;
  opacity: 0.8;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  padding-left: 0;
  display: inline-block;
}

.lightbox-content {
  display: block;
}

.lightbox-card {
  position: relative;
  padding-bottom: 2%;
}

.lightbox-card .bg {
  display: inline-block;
  position: relative;
}

.lightbox-card .bg img {
  height: 88vh;
  opacity: 0;
}

.lightbox-card .bg .playing,
.lightbox-card .bg .pause {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.lightbox-card .content {
  position: absolute;
  top: 70%;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 10%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}

.lightbox-card .title {
  font-family: "cJK TC";
  font-weight: 900;
  line-height: 1.6;
  font-size: clamp(14px, 1.2vw, 48px);
  color: white;
}

.lightbox-card p {
  font-family: "cJK TC";
  color: white;
  text-align: justify;
  font-size: clamp(12px, 0.8vw, 48px);
  line-height: 1.2;
  font-weight: 400;
  opacity: 0.96;
  position: relative;
  z-index: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.lightbox-card .status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10%;
  text-align: center;
  height: 5vw;
  background-image: url("/sysy_front/new/src/index/lightbox/play.png");
  background-position: center;
  background-size: auto 100%;
  background-repeat: no-repeat;
}

.lightbox-card .status p {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  display: inline-block;
  height: clamp(14px, 1.2vw, 48px);
}

.lightbox-card.playing .bg .playing {
  opacity: 1;
}

.lightbox-card.playing .status {
  background-image: url("/sysy_front/new/src/index/lightbox/play.png");
}

.lightbox-card.pause .bg .pause {
  opacity: 1;
}

.lightbox-card.pause .status {
  background-image: url("/sysy_front/new/src/index/lightbox/pause.png");
}

.lightbox-close {
  color: transparent;
  position: absolute;
  cursor: pointer;
  z-index: 4;
  right: -4%;
  top: calc(2% + 35px);
  font-size: 0;
  width: 3vw;
  height: 3vw;
  background-image: url(/sysy_front/new/src/lightbox-close.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% auto;
}

@media screen and (max-width: 768px) {
  .lightbox-close {
    width: 38px;
    height: 38px;
    right: -12px;
    top: 14px;
  }

  .gem-lightbox .lightbox-container {
    width: 70%;
    max-width: 480px;
  }

  .lightbox-card {
    text-align: center;
  }

  .lightbox-card .bg img {
    height: auto;
    max-height: 80vh;
    width: 100%;
  }

  .lightbox-card .status {
    height: 36px;
  }

  .lightbox-card p {
    font-size: 10px;
    margin: 0 auto;
    max-width: 80%;
  }
}

@media screen and (max-width: 548px) {
  .gem-lightbox .lightbox-container {
    width: 85%;
  }

  .lightbox-card p {
    max-width: 90%;
  }
}

.section-1 {
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-animation: fade-in-bg 1.5s 0.2s ease forwards;
  animation: fade-in-bg 1.5s 0.2s ease forwards;
  opacity: 0;
  padding-bottom: 64px;
}

.section-1 {
  padding-top: 100px;
  background-position: center top 100px;
}

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

  .section-1 {
    padding-top: 70px;
    background-position: center top 70px;
  }
}

@media screen and (max-width: 600px) {
  .section-1 {
    padding-top: 40px;
    background-position: center top 40px;
  }

  .lightbox.show .lightbox-container {
    padding-top: 0;
  }

  .lightbox-close {
    top: 2%;
  }
}

.section-1 .container {
  padding-top: 48vh;
}

.index-swiper-1 {
  padding-left: 2%;
  padding-right: 2%;
  top: 20px;
}
@media screen and (max-width: 768px) {
  .index-swiper-1 {
    top: 0px;
  }
}

.index-swiper-1 .swiper-wrapper {
  height: unset;
}

.character-card {
  background-image: url("/sysy_front/new/src/character/character-bg.png");
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.character-card-img {
  margin-top: -1px;
  text-align: center;
}

.character-card-img img {
  width: 80%;
}

.character-card-name {
  text-align: center;
  padding-bottom: 1rem;
  font-size: 3rem;
  font-family: "gill_sans_mt_ext_condensed_Rg", "Voltaire", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 20px;
}

@-webkit-keyframes fade-in-bg {
  0% {
    background-size: 100% auto;
    opacity: 0;
  }

  100% {
    background-size: 110% auto;
    opacity: 1;
  }
}

@keyframes fade-in-bg {
  0% {
    background-size: 100% auto;
    opacity: 0;
  }

  100% {
    background-size: 110% auto;
    opacity: 1;
  }
}

.index-swiper-2 .swiper-slide.active .img {
  display: block;
}

.index-swiper-2 .swiper-wrapper {
  height: auto;
}

@media screen and (max-width: 768px) {
  .section-1 {
    padding-bottom: 5vw;
  }

  .section-1 .container {
    padding-top: 40vw;
  }

  .section-1 .character-card-name {
    font-size: 1.6rem;
    padding-bottom: 0.25rem;
    margin-top: 5px;
  }

  .index-swiper-2 .swiper-wrapper {
    height: auto;
  }

}

.index-swiper-2 .swiper-pagination {
  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;
  gap: 0.3%;
}

.index-swiper-2 .swiper-pagination-bullet {
  background-color: white;
  opacity: 1;
  width: 0.66%;
  padding-top: 0.66%;
  height: 0;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

.index-swiper-2 .swiper-pagination-bullet-active {
  background: white;
  width: 1.04%;
  padding-top: 1.04%;
  height: 0;
}

.index-swiper-2 .swiper-horizontal>.swiper-pagination-bullets,
.index-swiper-2 .swiper-pagination-bullets.swiper-pagination-horizontal,
.index-swiper-2 .swiper-pagination-custom,
.index-swiper-2 .swiper-pagination-fraction {
  bottom: 6%;
}

.section-3 {
  position: relative;
}

.section-3 .container-float {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 85%;
  margin: auto;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  max-height: 70%;
}

.section-3 .row {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.section-3 .col-6 {
  padding: 0 1.5%;
}

.section-3 .col-6:first-child {
  padding-left: 8%;
  padding-right: 0%;
}

.section-3 p {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.img-title {
  margin-bottom: 2rem;
}

.button-start {
  width: 45%;
  margin-top: 8%;
}

.button-start img {
  width: 70%;
}

.gem-wrap {
  padding: 18%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  z-index: 12;
}

.gem-center {
  width: 100%;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.gem-center img {
  width: 100%;
}

.gem-border {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.gem {
  background: transparent;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 18%;
  padding-top: 18%;
  height: 0;
  font-size: 0;
  border: 1px solid gray;
  border-radius: 50%;
  position: absolute;
  left: 8.6%;
  margin: auto;
  top: 36%;
  bottom: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transform-origin: 280% 0%;
  transform-origin: 280% 0%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.gem img {
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.gem:hover {
  -webkit-filter: brightness(1.1);
  filter: brightness(1.1);
}

.gem:nth-child(1) {
  -webkit-transform: translate(-50%, -50%) rotateZ(0deg);
  transform: translate(-50%, -50%) rotateZ(0deg);
}

.gem:nth-child(1) img {
  -webkit-transform: rotateZ(0deg);
  transform: rotateZ(0deg);
}

.gem:nth-child(2) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-51.8571428571deg);
  transform: translate(-50%, -50%) rotateZ(-51.8571428571deg);
}

.gem:nth-child(2) img {
  -webkit-transform: rotateZ(51.8571428571deg);
  transform: rotateZ(51.8571428571deg);
}

.gem:nth-child(3) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-103.7142857143deg);
  transform: translate(-50%, -50%) rotateZ(-103.7142857143deg);
}

.gem:nth-child(3) img {
  -webkit-transform: rotateZ(103.7142857143deg);
  transform: rotateZ(103.7142857143deg);
}

.gem:nth-child(4) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-155.5714285714deg);
  transform: translate(-50%, -50%) rotateZ(-155.5714285714deg);
}

.gem:nth-child(4) img {
  -webkit-transform: rotateZ(155.5714285714deg);
  transform: rotateZ(155.5714285714deg);
}

.gem:nth-child(5) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-207.4285714286deg);
  transform: translate(-50%, -50%) rotateZ(-207.4285714286deg);
}

.gem:nth-child(5) img {
  -webkit-transform: rotateZ(207.4285714286deg);
  transform: rotateZ(207.4285714286deg);
}

.gem:nth-child(6) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-259.2857142857deg);
  transform: translate(-50%, -50%) rotateZ(-259.2857142857deg);
}

.gem:nth-child(6) img {
  -webkit-transform: rotateZ(259.2857142857deg);
  transform: rotateZ(259.2857142857deg);
}

.gem:nth-child(7) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-311.1428571429deg);
  transform: translate(-50%, -50%) rotateZ(-311.1428571429deg);
}

.gem:nth-child(7) img {
  -webkit-transform: rotateZ(311.1428571429deg);
  transform: rotateZ(311.1428571429deg);
}

.gem:nth-child(8) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-363deg);
  transform: translate(-50%, -50%) rotateZ(-363deg);
}

.gem:nth-child(8) img {
  -webkit-transform: rotateZ(363deg);
  transform: rotateZ(363deg);
}

.gem:nth-child(9) {
  -webkit-transform: translate(-50%, -50%) rotateZ(-414.8571428571deg);
  transform: translate(-50%, -50%) rotateZ(-414.8571428571deg);
}

.gem:nth-child(9) img {
  -webkit-transform: rotateZ(414.8571428571deg);
  transform: rotateZ(414.8571428571deg);
}

.section-4,
.section-5 {
  position: relative;
}

.section-4 .container-float,
.section-5 .container-float {
  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;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 80%;
  padding: 10% 0 8% 0;
  margin: 0 auto;
}

.section-4 .img-title,
.section-5 .img-title {
  width: 40%;
  margin: 0 auto;
}

.section-4 .info,
.section-5 .info {
  width: 100%;
  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;
}

.section-4 p,
.section-5 p {
  font-size: 1.5rem;
  line-height: 1.5;
}

.button-letsgo {
  width: 50%;
  margin-top: 1rem;
}

.button-letsgo a {
  display: block;
}

.button-letsgo img {
  width: 70%;
}

@media screen and (max-width: 768px) {
  .section-3 p {
    font-size: 1.25rem;
  }

  .section-3 {
    position: relative;
  }

  .section-3 .container-float {
    max-height: unset;
    width: 80%;
  }

  .section-3 .row {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .section-3 .col-6 {
    width: 100%;
  }

  .section-3 .col-6:first-child {
    padding-left: 3%;
    padding-right: 3%;
  }

  .img-title {
    margin-bottom: 0;
  }

  .button-start {
    margin-top: 5%;
  }

  .section-4 .container-float,
  .section-5 .container-float {
    padding: 20% 0 25% 0;
  }

  .section-4 .img-title,
  .section-5 .img-title {
    width: 100%;
  }

  .section-4 p,
  .section-5 p {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .button-letsgo {
    width: 100%;
  }

  .section-4 .frame img {
    object-fit: contain;
  }
}

a.fixed-add-to-cart {
  font-size: 1.2rem;
  line-height: 52px;
  color: #373535;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 100%;
  text-align: center;
  display: none;
  background-image: url(/sysy_front/images/addcar_drift.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: bold;
}

a.fixed-add-to-cart:not(.show) {
  background: transparent !important;
  color: transparent !important;
  pointer-events: none;
}

@media (max-width: 600px) {
  a.fixed-add-to-cart {
    font-size: 0.875rem;
    line-height: 52px;
    margin-bottom: 10px;
  }
}

a.fixed-add-to-cart.show {
  display: inline-block;
}

.index-swiper-3 {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.index-swiper-3 .swiper-wrapper {
  position: relative;
  z-index: 10;
}

.index-swiper-3 .swiper-slide {
  position: relative;
  z-index: 10;
}

.index-swiper-3 .img {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.index-swiper-3 .img img {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

/* 點擊切換圖片效果 */
.swiper-slide .img {
  display: block;
}

.swiper-slide .img.hover {
  display: none;
}

.swiper-slide.active .img {
  display: none;
}

.swiper-slide.active .img.hover {
  display: block;
}