body {
  font-size: 1rem;
  word-wrap: break-word;
  font-family: Arial, "Noto Sans TC", "微軟正黑體", sans-serif;
  /* background-color: #4a1a21; */
  background: url("../images/index_bg.jpg");
}
/* img */
.logo img {
  display: block;
  width: 100%;
}
/* head */
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  /* z-index: 2; */
}
.particle {
  position: absolute;
  width: 100%;

  left: 50%;
  top: -28%;
  margin-left: -50%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 6;
  -webkit-filter: brightness(0.4);
}
video {
  width: 100%;
  height: 100%;
}
.allbg {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position:
    50% 0%,
    50% 100%;
  background-image: url(../images/index_01.jpg), url(../images/index_02.png);
  background-size: 100% auto;
}
.logo {
  position: absolute;
  width: 15%; /*300*/
  padding-bottom: 7.5%; /*150*/
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../images/logo.png);
  background-size: 100% auto;
  top: 1.1vw; /*22*/
  left: 0.7%; /*14*/
  z-index: 2;
}
.logo2 {
  position: relative;
  width: 50%; /*300*/
  padding-bottom: 25%; /*150*/
  display: none;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../images/logo.png);
  background-size: 100% auto;
  margin: 0 auto;
}
.headbx,
.dwbx,
conbx {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
}
.headbx {
  padding-bottom: 44%; /*860*/
}
.dwbx {
  padding-bottom: 3.75%; /*75*/
}
.tfbox {
  width: 110px;
  position: absolute;
  right: 1%;
  top: 1%;
}
/* content */
.cbx {
  position: relative;
  width: 98%;
  display: block;
  margin: 0 auto;
  -webkit-filter: drop-shadow(0 1vw 4vw rgba(34, 9, 13, 0.8));
  filter: drop-shadow(0 1vw 4vw rgba(34, 9, 13, 0.8));
}

.cbx.or .incon,
.cbx.on .incon {
  color: #fff2cd;
}

.cbx::after {
  position: relative;
  width: 100%;
  padding-bottom: 25.516%; /*291*/
  content: "";
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-image: url(../images/cbx1_04.png);
  background-size: 100% auto;
}
.cbx.or::after {
  background-image: url(../images/cbx1_04.png);
}
.cbx.on::after {
  background-image: url(../images/cbx2_04.png);
}
.ctbg {
  position: relative;
  width: 100%; /**/
  padding-bottom: 20.516%; /*294*/
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-image: url(../images/cbx_01.png);
  background-size: 100% auto;
}
.ctbg::before {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-image: url(../images/cbx2_01.png);
  background-size: 100% auto;
  top: 0;
  left: 0;
  opacity: 0;
  /**/
  transition: all 0.5s;
}
.cbx.on .ctbg::before {
  opacity: 1;
}
.tit_bx {
  position: absolute;
  width: 50.8%;
  padding-bottom: 7.98%;
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../images/tit_b.png);
  background-size: 100% auto;
  top: 44.5%;
  left: 50%;
  transform: translateX(-50%);
}
.tit_bx > p {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-image: url(../images/tit_1.png);
  background-size: 100% auto;
  top: 0;
  left: 0;
  /**/
  transition: all 0.5s;
}
.ccbg {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat, no-repeat, repeat-y;
  background-position:
    50% 0%,
    50% 100%,
    50% 0%;
  background-image:
    url(../images/cbx1_02.png), url(../images/cbx_03a.png),
    url(../images/cbx1_02.png);
  background-size: 100% auto;
  /**/
  z-index: 1;
}

.cbx.on .ccbg {
  background-image:
    url(../images/cbx2_02.png), url(../images/cbx2_03a.png),
    url(../images/cbx2_02.png);
}

.cbx.or .ccbg {
  background-image:
    url(../images/cbx1_02.png), url(../images/cbx1_03a.png),
    url(../images/cbx1_02.png);
}

.ccbg::before {
  position: relative;
  width: 100%;
  padding-bottom: 3.8%;
  content: "";
  display: block;
}
#content {
  position: relative;
  width: 95%;
  display: block;
  margin: 0 auto;
}

/* 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: -200px;
  z-index: 11;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}
/* topbt */
.mubx {
  position: absolute;
  width: 100%;
  top: 1vw;
  right: 0;
  text-align: right;
  z-index: 2;
}
.menut {
  /* position: fixed; */
  position: absolute;
  width: 6.5vw;
  height: 6.5vw;
  display: none;
  z-index: 9;
  top: 3.84vw;
  right: 3.84vw;
  transition: all 0.5s;
}
.menu-trigger {
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
}
.menu-trigger > .line:first-child {
  margin-bottom: 20%;
}
.menu-trigger > .line:last-child {
  margin-top: 20%;
}
.menu-trigger > .line {
  width: 100%;
  padding-bottom: 10%;
  /* height: 3px; */
  border-radius: 5px;
  background-color: #d6c995;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
}
.hbtbx {
  position: relative;
  display: inline-block;
  border-radius: 50px;
  background-color: #3a3154;
  padding: 0 0.6vw;
  overflow: hidden;
  font-size: 1vw;
  line-height: 2.5vw;
  color: #dfb587;
}

.hbtbx a {
  position: relative;
  /* display: inline-block; */
  padding: 0 0.5vw; /*10*/
}
.hbtbx a.ddwn {
  padding: 0 0.85vw;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position:
    0% 50%,
    100% 50%;
  background-image: url(../images/s1a.png), url(../images/s1a.png);
  background-size: 2px auto; /*2*/
}
.hbtbx a:link {
  color: #ffffff;
}
.hbtbx a:visited {
  color: #dfb587;
}
.hbtbx a:hover {
  color: #dcb8ff;
}
.hbtbx a:active {
  color: #dfb587;
}
.f_bt {
  background-image: url(../images/f_bt.png);
  margin-right: 0.75%;
  margin-left: 0.5%;
}
.f_bt2 {
  background-image: url(../images/f_bt2.png);
  margin-right: 1.8%;
}
.f_bt,
.f_bt2 {
  position: relative;
  width: 2.8%;
  padding-bottom: 2.8%;
  display: inline-block;
  cursor: pointer;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: all 0.5s;
  background-size: 100% auto;
}
.mubx2 {
  position: relative;
  width: 100%;
  display: block;
  margin: 0 auto 1.5vw;
  text-align: center;
}
.mubx2 a {
  position: relative;
  width: 18.35%;
  display: inline-block;
}
.mubx2 a::before,
.mubx2 a::after {
  width: 100%; /*390*/
  content: "";
  display: block;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}
.mubx2 a::before {
  position: relative;
  padding-bottom: 44.4615%; /*150*/
}
.mubx2 a::after {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: all 0.5s;
}
.m_bt1::before {
  background-image: url(../images/bt_1.png);
}
.m_bt1::after {
  background-image: url(../images/bt_1a.png);
}
.m_bt2::before {
  background-image: url(../images/bt_2.png);
}
.m_bt2::after {
  background-image: url(../images/bt_2a.png);
}
.m_bt3::before {
  background-image: url(../images/bt_3.png);
}
.m_bt3::after {
  background-image: url(../images/bt_3a.png);
}
.m_bt4::before {
  background-image: url(../images/bt_4.png);
}
.m_bt4::after {
  background-image: url(../images/bt_4a.png);
}
.m_bt5::before {
  background-image: url(../images/bt_5.png);
}
.m_bt5::after {
  background-image: url(../images/bt_5a.png);
}
.mubx2 a:hover::after,
.mubx2 a.on::after {
  opacity: 1;
}
#app canvas {
  z-index: -1;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  mix-blend-mode: overlay;
}
main {
  width: 100%;
  height: 100%;
  position: absolute;
  /* display: grid; */

  z-index: 1;
}

main > .text {
  place-self: center;
  text-align: center;
  max-width: 50vw;
}
#app canvas {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  mix-blend-mode: overlay;
  pointer-events: none;
}
video {
  width: 130%;
  height: 130%;
}
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  /* z-index: 2; */
}
.ac3bx.on,
.ac4bx.on {
  display: block;
}
.ac3bx,
.ac4bx {
  position: relative;
  width: 95%;
  display: none;
  margin: -2rem auto 0;
}
.ac3mu {
  position: relative;
  width: 100%;
  display: block;
  text-align: center;
  padding: 0 0 2rem;
}
.ac3mu a,
.ac4mu a {
  position: relative;
  font-size: 1.65rem;
  line-height: 3.6rem;
  font-weight: 500;
  color: #ae5fff;
  display: inline-block;
  border-radius: 50px;
  border: 2px solid #ae5fff;
  padding: 3px;
  margin: 0.5rem;
  transition: all 0.5s;
}
.a3m_1 a,
.a4m_1 a {
  width: 200px;
}
.ac3mu a.on,
.ac4mu a.on {
  color: #ffffff;
  background-color: #ae5fff;
  border: 2px solid #c286ff;
}
.ac3bx.on,
.ac4bx.on {
  display: block;
}
.ac4mu {
  position: relative;
  width: 100%;
  display: block;
  text-align: center;
  padding: 0 0;
  margin-bottom: -2.8rem;
}
#kkb {
  position: fixed;
  width: 100%;
  height: 100vh;
  /* display: none; */
  left: 0;
  top: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.rbtbx img {
  display: block;
  width: 100%;
}
.rbtbx {
  position: fixed;
  width: 11%;
  height: 100%;
  right: 0;
  top: 30%;
  z-index: 2;
  background: url("../images/rbtbg.png") no-repeat;
  background-size: 100% auto;
}
.rbtmin {
  width: 65%;
  margin: 50% auto 0 auto;
}
.rbtmin div {
  margin: 15% auto;
}
.bt:hover {
  transform: scale(0.98);
  transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  filter: brightness(1.1);
  cursor: pointer;
}
.mmumk img {
  display: block;
  width: 100%;
}
.mmumk {
  width: 100%;
  position: absolute;
  bottom: -20px;
}
.mbimg {
  display: none;
}
.btw {
  border: solid 0px #c286ff;
}
@media only screen and (max-width: 780px) {
  .a3m_1 a,
  .a4m_1 a {
    width: 45%;
  }
  .ac3mu,
  .ac4mu {
    position: relative;
    width: 100%;
    display: block;
    text-align: center;
    padding: 15px 0 2rem;
  }
  .btw {
    border: solid 1px #c286ff;
  }
  .pcimg {
    display: none;
  }
  .mbimg {
    display: inline-block;
  }
  .tit_bx {
    position: absolute;
    width: 90.8%;
    padding-bottom: 14.98%;
    display: block;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-image: url(../images/tit_b.png);
    background-size: 100% auto;
    top: 33.5%;
    left: 50%;
    transform: translateX(-50%);
  }
  .ctbg {
    position: relative;
    width: 100%; /**/
    padding-bottom: 32.516%; /*294*/
    display: block;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(../images/cbx_01_m_01.png);
    background-size: 100% auto;
  }
  .ctbg::before {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-image: url(../images/cbx2_m_01.png);
    background-size: 100% auto;
    top: 0;
    left: 0;
    opacity: 0;
    /**/
    transition: all 0.5s;
  }
  .mubx2 a {
    position: relative;
    width: 32.35%;
    display: inline-block;
  }
  .rbtbx {
    display: none;
  }
  .topbt {
    right: 10px;
  }
  .mk {
    position: relative;
    display: none;
    padding: 8vw 0 0;
  }
  .menut {
    display: block;
  }
  .allbg {
    background-image: url(../images/index_m_01.jpg), url(../images/mmk.png);
  }
  .headbx {
    padding-bottom: 137.1282%;
  }
  .logo {
    width: 34.615%;
    padding-bottom: 17.3075%;
    top: 1.282vw;
    left: 1.256%;
  }
  .logo2 {
    display: block;
  }
  .menut {
    display: block;
  }
  .mubx {
    width: 100%;
    top: 0; /*20*/
    right: 0;
    text-align: center;
    z-index: 5;
  }
  .mubx.on {
    position: fixed;
    height: 100vh;
    background-color: #140927;
  }
  .mk {
    position: relative;
    display: none;
    padding: 8vw 0 0;
  }
  .mubx.on .mk {
    display: block;
  }
  .f_bt,
  .f_bt2 {
    width: 15%; /*56*/
    padding-bottom: 15%;
  }
  .f_bt {
    margin-right: 5%;
    margin-left: 0;
  }
  .f_bt2 {
    margin-right: 0;
  }

  .hbtbx {
    width: 100%;
    border-radius: 0;
    background-color: #140927;
    margin: 0 auto 5vw;
    padding: 0;
    font-size: 6.5vw; /*50.7*/
    line-height: 16vw; /*50.7*/
  }
  .hbtbx a {
    width: 80%;
    padding: 3.5vw;
    background-attachment: scroll;
    background-repeat: repeat-x;
    background-position: 50% 100%;
    background-image: url(../images/s2a.png);
    background-size: 2px auto;
  }
  .hbtbx a.ddwn {
    padding: 3.5vw 0;
    background-repeat: repeat-x;
    background-position:
      50% 100%,
      100% 50%;
    background-image: url(../images/s2a.png), none;
    background-size: 2px auto;
  }
}
