/* img */

.logo img,
.head div img,
.inputcont div img,
.lebtbox div img,
.gpop img,
.adimg2 img,
.msbox div img,
.posp img,
.inpt img,
.inpf img,
.img img,
.fbbox div img,
.mblogo img,
.poxbox div img,
.poxbtx div img,
.e4img img {
  display: block;
  width: 100%;
}
.ofdiv {
  display: none;
}
.inpt,
.inpf {
  position: relative;
  transition: all 0.8s;
}
.inpt {
  display: none;
}
.live {
  display: block;
}
.bt:hover {
  transform: scale(0.95);
  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;
}
/* head */
.s1a {
  position: relative;
  width: 100%;
  height: 11px;
  background-attachment: scroll;
  background-repeat: no-repeat, repeat-x;
  background-position: 50% 50%, 50% 50%;
  background-image: url(../images/sa.png), url(../images/dodo.png);
  margin: 0 auto;
}
.sgtbox {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.sgtbox .bt {
  width: 16.5%;
  display: inline-block;
  margin: 0 1%;
}

/* .intlbt {
  width: 100%;
  position: absolute;
  top: -2%;
  display: block;
} */
.ntlbt {
  position: absolute;
  width: 95%;
  display: block;
  top: -7%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 2.2rem;
  text-align: center;
  color: #ffd498;
  z-index: 1;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}
.stg1btx,
.stg2btx,
.stg3btx,
.stg4btx,
.stg5btx {
  position: relative;
  width: 100%;
  padding: 1% 0;
  display: none;
  transition: all 0.8s;
}
.mblogo {
  display: none;
  width: 70%;
  position: absolute;
  top: 5px;
  left: 50%;
  margin-left: -35%;
}
.con {
  position: absolute;
  width: 93%;
  bottom: -3%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}
.hubtx {
  position: absolute;
  width: 46px;
  background: url("../images/uxbg.png");
  background-size: 100% 100%;
  padding: 10px 0;
  right: 3%;
  top: 240%;
  z-index: 15;
}
.hubtx div {
  width: 17px;
  margin: 10px auto;
}
.hulin {
  position: relative;
  display: block;

  height: 1px;
  background-color: #858273;
}
.dvx {
  position: relative;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.dvl {
  width: 30%;
}
.dvr {
  width: 35%;
}
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  /* z-index: 2; */
}
.particle {
  position: absolute;
  width: 100%;
  height: 50vw;
  left: 50%;
  /* top: -38%; */
  margin-left: -50%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 6;
  /* -webkit-filter: brightness(0.5); */
}
.fbbox {
  position: relative;
  width: 110px;
  display: inline-block;
  right: 1%;

  z-index: 2;
}
.fbbox div {
  width: 40px;
  margin: 0 3%;
  display: inline-block;
}
main {
  width: 100%;
  height: 100%;
  position: absolute;
  /* display: grid; */
  z-index: 1;
}
#app canvas {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  mix-blend-mode: overlay;
}
video {
  width: 100%;
  height: 100%;
}
.webbox {
  width: 100%;
  position: relative;
}

.head {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: url("../images/indexin_01.jpg");
  padding-bottom: 46%;
  background-size: 100% auto;
}
.tfbox {
  width: 110px;
  position: absolute;
  right: 1%;
  top: 1%;
}
/* content */
.inputcont {
  position: absolute;
  width: 70%;
  top: 5%;
  z-index: 10;
  left: 50%;

  transition: all 0.8s;
  transform: translateX(-50.5%);
}
.intlbt {
  position: absolute;
  width: 100%;
  display: block;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  font-size: 1.5rem;
  line-height: 2.2rem;
  text-align: center;
  color: #ffd498;
  z-index: 1;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}
#inpconx {
}

#inpconx.tall {
  height: 100%;
}
#inpconx.talls {
  height: 79%;
}
.inpm {
  overflow: hidden;
  position: relative;
  width: 100%;
  /* min-height: 650px; */
  background: url("../images/inpbg_02.png");

  background-size: 100% 100%;
}
.box_2a {
  position: relative;
  width: 100%;
  padding-bottom: 48.619%;
}
.content {
  position: relative;
  width: 100%;
}
.sgtbox a.on::before,
.sgtbox a.on {
  opacity: 1;
}

.sgtbox a {
  position: relative;
  display: inline-block;
  opacity: 0.8; /* 預設透明一些 */
  transition: opacity 0.3s;
}

/* 選中狀態 */
.sgtbox a.on,
.sgtbox a.on::before {
  opacity: 1;
}

/* 設定 ::before 為背景圖 */
.sgtbox a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0; /* 預設不顯示 */
  transition: opacity 0.3s;
  z-index: 4;
}
.sgtbox a img {
  position: relative;
  z-index: 2;
}
.lebtbox {
  width: 16%;
  top: 5%;
  z-index: 10;
  position: absolute;
}
/* 每個按鈕對應的圖 */
.ev1-1::before {
  background-image: url(../images/intbt1a.png);
}
.ev1-2::before {
  background-image: url(../images/intbt2a.png);
}
.ev1-3::before {
  background-image: url(../images/intbt3a.png);
}
.ev1-4::before {
  background-image: url(../images/intbt4a.png);
}
.ev3-1::before {
  background-image: url(../images/intbt-3-1a.png);
}
.ev3-2::before {
  background-image: url(../images/intbt-3-2a.png);
}
.ev3-3::before {
  background-image: url(../images/intbt-3-3a.png);
}
.ev3-4::before {
  background-image: url(../images/intbt-3-4a.png);
}
.ev4-1::before {
  background-image: url(../images/intbt-4-1a.png);
}
.ev4-2::before {
  background-image: url(../images/intbt-4-2a.png);
}
.ev4-3::before {
  background-image: url(../images/intbt-4-3a.png);
}
.ev4-4::before {
  background-image: url(../images/intbt-4-4a.png);
}
.ev4-5::before {
  background-image: url(../images/intbt-4-5a.png);
}
.ev4-6:before {
  background-image: url(../images/intbt-4-6a.png);
}
.ev4-7::before {
  background-image: url(../images/intbt-4-7a.png);
}
.ev5-1::before {
  background-image: url(../images/intbt5a.png);
}
.ev5-2::before {
  background-image: url(../images/intbt5-2a.png);
}
.ev5-3::before {
  background-image: url(../images/intbt5-3a.png);
}
.ev5-4::before {
  background-image: url(../images/intbt5-4a.png);
}
.ev5-5::before {
  background-image: url(../images/intbt5-5a.png);
}
.logo {
  width: 80%;
  margin: 0 auto;
}

.lebt1,
.lebt2,
.lebt3,
.lebt4,
.lebt5,
.lebt6,
.lebt7 {
  position: relative;
  width: 70%;
  margin: 2% auto;
}
/* .lebt1::before {
  position: absolute;
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: block;
  top: 0%;
  left: 0%;
  transition: all 0.5s;
  background: url("../images/lebt1a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
} */
.lebt1::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt1a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

.lebt2::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt2a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

.lebt3::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt3a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

.lebt4::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt4a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

.lebt5::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt5a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

.lebt6::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt6a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

.lebt7::before {
  width: 100%;
  padding-bottom: 30%;
  content: "";
  display: none;
  position: absolute;
  /* left: -10px; */
  top: 50%;
  transform: translateY(-50%);
  background: url("../images/lebt7a.png");
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% auto;
}

/* 選中的項目加 active 類名，顯示 before */
.lebt1.active::before,
.lebt2.active::before,
.lebt3.active::before,
.lebt4.active::before,
.lebt5.active::before,
.lebt6.active::before,
.lebt7.active::before {
  display: block;
}

/* 每個 .lebtX 需要 position: relative; 才能讓 ::before 正確定位 */
.lebt1,
.lebt2,
.lebt3,
.lebt4,
.lebt5,
.lebt6,
.lebt7 {
  position: relative;
}
.gpop {
  pointer-events: none;
  width: 35%;
  position: absolute;
  z-index: 11;
  right: -5%;
}
/* topbt */
.dtt {
  position: fixed;
  width: 100%;
  max-width: 2000px;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}
.topbx {
  position: absolute;
  width: 3.3%;
  padding-bottom: 3.3%;
  display: block;
  cursor: pointer;
  border-radius: 99px 0 0 99px;
  background-color: #5c1d1d;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url(../images/top.png);
  background-size: 85% auto;
  right: 15.8vw;
  bottom: 9vw;
  z-index: 15;
  transition: all 0.5s;
}

/*  */
/**/
.mubx {
  position: absolute;
  width: 100%;
  right: 0;
  top: 0;
  text-align: right;
  z-index: 21;
  padding: 0.6vw 0.8vw 0 0;
}
.menut {
  position: fixed;
  width: 55px;
  height: 55px;
  display: none;
  z-index: 5;
  top: 0;
  right: 0;
}
.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 {
  width: 50%;
  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;
}
.menu-trigger > .line:first-child {
  margin-bottom: 8.77%;
}
.menu-trigger > .line:last-child {
  margin-top: 8.77%;
}
.mubx.on .menu-trigger > .line {
  opacity: 0;
  transform: rotate(45deg);
}
.mubx.on .menu-trigger > .line:first-child {
  opacity: 1;
  margin-bottom: -3.5%;
  transform: rotate(-45deg);
}
.mubx.on .menu-trigger > .line:last-child {
  opacity: 1;
  margin-top: -7.01%;
}
.mubx .mu_k {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 38.8vw;
  text-align: center;
  -webkit-filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
  filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.8));
  /* transition: all .5s; */
}
.pcimg {
  display: block;
}
.mbimg {
  display: none;
}
.m_logo {
  position: relative;
  width: 263px;
  padding-bottom: 176px;
  margin: 1rem auto 0;
  display: none;
  cursor: pointer;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-image: url(../images/logo.png);
  background-size: 100% auto;
}

/*  */
@media only screen and (max-width: 1700px) {
  .head {
    padding-bottom: 50%;
  }
}
.divon {
  display: block;
}
.divof {
  display: none;
}
@media only screen and (max-width: 780px) {
  .dvx {
    display: block;
  }
  .dvl {
    width: 50%;
  }
  .dvr {
    width: 80%;
    margin: 0 auto;
  }
  .particle {
    display: none;
  }
  .mls {
    margin-left: 20%;
  }
  .msbox {
    display: block;
  }
  .ytbox {
    width: 98%;
    padding: 5px;
    border: 4px double #4b5f8b;
    margin: 1% auto;
  }
  .sgtbox .bt {
    width: 45.5%;
    display: inline-block;
    margin: 0 1%;
  }
  .sgtbox {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .mblogo {
    display: block;
  }
  .mubx .mu_k > a > span,
  .allp.inc .mubx .mu_k > a > span {
    font-size: 4.8vw;
    letter-spacing: 1.3vw;
    color: #558899;
    display: block;
  }
  .mubx .mu_k > a.on > span,
  .allp.inc .mubx .mu_k > a.on > span {
    color: #50d1f5;
    opacity: 1;
  }
  .mu1 {
    background-repeat: no-repeat;
    background-position: 0% 0%, 100% 0%, 100% 100%, 0% 100%;
    background-size: 5px 5px, 5px 5px, 5px 5px, 5px 5px;
    background-image: url(../images/mbb.png), url(../images/mbb.png),
      url(../images/mbb.png), url(../images/mbb.png);
    border: 1px solid #47717f;
  }
  .mubx .mu_k > a,
  .allp.inc .mubx .mu_k > a {
    width: 90%;
    margin: 30px auto;
    height: 50px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
  }
  .mubx .mu_k,
  .allp.inc .mubx .mu_k {
    position: relative;
    width: 86%;
    height: auto;
    top: 0;
    padding: 13px 0;
    display: none;
    top: 0;
    left: 0;
    margin: 10% auto 5%;
    border: 1px solid #1e3138;
  }
  .mubx.on .mu_k,
  .allp.inc .mubx.on .mu_k {
    display: block;
    opacity: 1;
  }
  .fbbox div {
    width: 12%;
  }
  .mubx .fbbox {
    width: 100%;
    float: none;
    display: none;
  }

  .topbx {
    position: absolute;
    width: 4.3%;
    padding-bottom: 4.3%;
    display: block;
    cursor: pointer;
    border-radius: 99px 0 0 99px;
    background-color: #5c1d1d;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-image: url(../images/top.png);
    background-size: 85% auto;
    right: 0.5vw;
    bottom: 5vw;
    z-index: 15;
    transition: all 0.5s;
  }
  .mubx.on .m_logo {
    width: 65%;
    padding-bottom: 25.287%;
    display: block;
  }
  .mubx.on .fbbox {
    display: block;
  }

  .hubtx {
    display: none;
  }
  .mubx.on .mub {
    position: absolute;
    width: 100%;
    height: 100vh;
    text-align: center;
    background-color: rgba(10, 18, 32, 0.98);
    top: 0;
    left: 0;
    padding-bottom: 50px;
  }
  .menut {
    display: block;
  }
  .mub {
    overflow: auto;
  }
  .mubx {
    position: fixed;
    text-align: center;
  }
  .box_2a {
    position: relative;
    width: 100%;
    padding-bottom: 7.619%;
  }
  .box_2a {
    padding-bottom: 0%;
  }
  .intlbt {
    position: relative;
  }
  .pcimg {
    display: none;
  }
  .mbimg {
    display: block;
  }
  .gpop {
    display: none;
  }
  .lebtbox {
    display: none;
  }
  .topbx {
    position: fixed;
    width: 35px;
    padding-bottom: 40px;
    right: 0%;
    bottom: 43%;
    background-position: 80% 50%;
    background-size: 90% auto;
  }
  .con {
    position: relative;
    width: 96%;
    bottom: -3%;
    left: 50%;
    transform: translateX(-52%);
    margin: 0 auto;
    transition: all 0.5s;
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
  }
  .inpm {
    min-height: 80vh;
    background-repeat: repeat-y;
    background: url(../images/mbbg_02.png);
    background-size: 100% 100%;
  }
  .inpf {
    padding-bottom: 12.3%;
  }
  .inpt {
    padding-bottom: 0%;
  }
  .inputcont {
    position: relative;
    width: 100%;
    margin: 0 auto;
    top: 0;
    left: 0;
    transform: translateX(0%);
  }
  .head {
    position: relative;
    min-height: 120vw;
    padding-top: 28.6vw;
    padding-bottom: 21vw;
    background: url(../images/mbindex.png);
  }
}
