/* img */
.logo img {
    display: block;
    width: 100%;
}
/* head */
.btbox {
  width: 16%;
  position: absolute;
  top: 1%;
}
.pcbt {
  display: block;
  margin-top: 20px;
}

.pbta {
    position: relative;
    margin: 1.5vw auto;
    cursor: pointer;
}

.pbtb {
  position: absolute;
  width: 100%;
  z-index: 0;
  /* top: 3px; */
  left: -300px;
  transition: 0.2s ease-in-out;
}
.pbtc {
  position: relative;
  z-index: 0;
  top: 0;
}
.pbtb.on {
  left: -30px;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}
.pbtb.on::after {
  position: absolute;
  display: inline-block;
  top: 15px;
  left: 4vw;
  width: 23px;
  height: 37px;
  content: url("../images/ppb.png");
  animation: moveUpDown 1s infinite;
}
.webbox {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.logo {
    position: relative;
    width: 50%;
    margin: 2% 0 0 2%;
}
.head {
  position: relative;
  width: 100%;
  background: url("../images/bbg_01.jpg") no-repeat;
  background-size: 100% auto;
  padding-bottom: 39.5%;
}


.tfbx {
  position: absolute;
  width: 100px;
  right: 1%;
  top: 1%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.particle {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  margin-left: -50%;
  mix-blend-mode: screen;
  pointer-events: none;
  -webkit-filter: brightness(0.75);
}
.particle2 {
  position: absolute;
  width: 30%;
  height: 70%;
  left: 50%;
  top: 12%;
  margin-left: -36.5%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 3;
  -webkit-filter: brightness(2);
  -webkit-filter: grayscale(1);
  -webkit-filter: contrast(2);
  overflow: hidden;
  border-radius: 3em;
  transform: rotate(-87deg);
}
video {
    width: 100%;
    height: 100%;
    margin-top: 0%;
}
.tfbx div {
  width: 48%;
  margin: 0 1%;
}
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  z-index: 1;
  pointer-events: none;
}
.slobx {
    position: absolute;
    width: 33%;
    left: 47%;
    margin-left: -37%;
    top: 6%;
}
.wbh {
  height: 2vw;
}
.aapybox {
  position: absolute;
  width: 30%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  left: 50%;
  margin-left: -13%;
  bottom: 3%;
}
.dwb {
  width: 98%;
  margin: 0 3%;
}
.apb {
  width: 98%;
  margin: 0 3%;
}
.mbbtx {
  display: none;
}
.pcimg {
  display: block;
}
.mbimg, .mbimg2 {
    display: none;
}
/* content */
.logbx {
  width: 98%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.logxa {
  width: 22%;
  padding: 10px;
  text-align: center;
  background-color: #494a3c;
  color: #ffe600;
  margin: 0 1%;
}
.game {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.game2 {
  position: relative;
  width: 70%;
  height: 28vw;
  margin: 0 auto;
}
iframe {
  width: 100%;
}
#light_bx {
  position: fixed;
  width: 100%;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  overflow: auto;
  display: none;
}
#light_bx > .infobx_1 {
  position: relative;
  width: 70vw;
  display: block;
  margin: 0 auto;
  display: none;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
  filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
  font-size: 1.5rem;
  line-height: 2rem;
  color: #ffeccc;
  font-weight: 600;
}
#light_bx > .infobx_2 {
  position: relative;
  width: 70vw;
  display: block;
  margin: 0 auto;
  display: none;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  -webkit-filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
  filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
  color: #ffeccc;
  font-weight: 300;
}
.ror {
  position: relative;
  width: 70%;
  margin: 0 auto;
  background-color: #887d5d;
  padding: 20px;
  text-align: center;
  border: 4px double #000;
  background: url("../images/pobg.png");
}
.bx_a_clos {
  position: absolute;
  width: 55px;
  padding-bottom: 57px;
  display: block;
  cursor: pointer;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-image: url(../images/close.png);
  background-position: 100% 0%;
  background-size: 100% auto;
  top: -60px;
  right: 0%;
  z-index: 2;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}
#animation_container {
  width: 100%;
  height: 28vw;
  position: relative;
  margin: 0 auto;
}
#animation_container2 {
  width: 100%;
  height: 36vw;
  position: relative;
  margin: 0 auto;
}
#canvas {
  width: 70%;
  left: 50%;
  margin-left: -35%;

  top: 30px;
}
.gin {
  display: none;
  width: 100%;
  position: relative;
}
.gop {
  position: relative;
  display: block;
  width: 70%;
  height: 36vw;
  margin: 0 auto;

  top: 30px;
}
.bst {
  position: absolute;
  width: 30%;
  left: 50%;
  margin-left: -15%;
  top: 30%;
}
.bstn {
  position: absolute;
  width: 21%;
  left: 50%;
  margin-left: -10.5%;
  top: 37%;
}
canvas {
  width: 100%;
  height: auto;
}
input,
textarea {
  outline: none;
}
input,
textarea,
select {
  width: 100%;
  font-size: 1.45rem;
  font-family: Arial, "微軟正黑體", Helvetica, sans-serif;
  color: #666666;
  height: 40px;
  line-height: 40px;
  border: 1px solid #dddddd;
  padding: 0 5px;
  margin: 5px auto;
  border-radius: 5px;
  background-color: #fff;
  text-align-last: center;
  text-align: center;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}
.sanbt {
  width: 150px;
  height: 40px;
  background-color: #2aa638;
  border-radius: 0.5em;
  text-align: center;
  color: #ffffff;
  padding: 10px;
  margin: 1em auto;
}
.iinp {
  width: 80%;
  padding: 10px;
  background-color: rgba(163, 157, 108, 0.2);
  background: url("../images/ggmmbb.jpg");

  background-size: 100% auto;
  border-radius: 1em;
  margin: 1em auto;
}
.hbhit {
  width: 80%;
  height: 40px;
  margin: 1em auto;
  text-align: center;
  background-color: #663922;
  padding: 10px;
  color: #f3ffb6;
  border-radius: 0.5em;
}
.cvsin {
  position: absolute;
  width: 200px;
  height: 45px;
  z-index: 1;
  padding: 10px;
  left: 50%;
  margin-left: -100px;
  text-align: center;
  background: url("../images/gtm.png");
  background-size: 100% 100%;
  color: #ffe600;
  top: 8%;
}
.gsn {
  width: 300px;

  margin: 0 auto;
  background-color: #494a3c;
  color: #f3ffb6;
  padding: 10px;
  text-align: center;
}
.ggstn {
  display: none;
  width: 240px;
  position: absolute;
  z-index: 1;
  left: 50%;
  margin-left: -124px;
  bottom: 35%;
}
.ggst {
  width: 240px;
  position: absolute;
  z-index: 1;
  left: 50%;
  margin-left: -124px;
  bottom: 35%;
}
.ggst:hover,
.ggstn:hover {
  transform: scale(1.1);
  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;
}
.logxb {
  width: 30%;
  padding: 10px;
  text-align: center;
  background-color: #534b3a;
  border-radius: 5px;
  border: 1px solid #484835;
  margin: 0 1%;
}
.logxc {
  width: 12%;
  padding: 10px;
  text-align: center;
  background-color: #ff176c;
  border-radius: 5px;
  border: 1px solid #484835;
  color: #ffffff;
}

.content {
  position: relative;
  width: 100%;
  background: url("../images/bbg_02.jpg");
  background-size: 100% auto;
  padding-bottom: 2%;
}
.mincm {
  width: 100%;
  display: block;
  background: url("../images/cont_02.png");
  background-size: 100% auto;
}
.topcont {
    position: absolute;
    bottom: -1%;
    z-index: 10;
    pointer-events: none;
}

.mincont {
    width: 60%;
    margin: 0 auto;
    padding-top: 6px;
}
.minct,
.mincd {
  width: 100%;
  margin: 0 0 0 -0.1%;
}
.mcont {
  width: 80%;
  margin: 0 auto;
}
.mtl {
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 10px;
  font-size: 2vw;
  font-weight: 600;
  text-align: center;
  background: url("../images/mtbbg.png");
  background-size: 100% 100%;
  color: #f8fcff;
}
.mtlb {
  width: 70%;
  margin: 0 auto;
  padding: 30px 10px 30px 10px;
}
.mtla {
  width: 60%;
  margin: 0 auto;
  padding: 30px 10px 30px 10px;
}
/* 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;
}
.topbt: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;
}
.gmsbox {
  width: 70%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.gmsa {
  width: 48%;
}
.gmstx {
  font-size: 1.2em;
}
.gmsb {
  width: 30%;
  /* background: url("../images/joinbt2.png");
  background-size: 100% 100%; */
  margin: 0 0.5%;
  text-align: center;
  padding: 10px;
  color: #ffffff;
  animation: changeColor 1.5s linear infinite alternate;
  background-color: #663922;
  border-radius: 0.5em;
}
.gmsc {
  width: 20%;
  /* background: url("../images/joinbt1.png");
  background-size: 100% 100%; */
  background-color: #ff176c;
  border-radius: 0.5em;
  text-align: center;
  padding: 10px;
  color: #ffffff;
}
.con {
  text-align: center;
  font-weight: 600;
  font-size: 1.5em;
  margin-bottom: 0%;
}
.apgw,
.apgw1 {
  width: 300px;
  height: 40px;
  text-align: center;
  line-height: 2.5em;
  background-color: rgba(112, 18, 18, 0.65);
  margin: 0 auto;
  border-radius: 5px;
  font-size: 16px;
}
DIV.scott {
  padding-right: 3px;
  padding-left: 3px;
  padding-bottom: 15px;
  margin: 3px;
  padding-top: 3px;
  text-align: center;
}
DIV.scott A {
  border-right: #ffeb3b 1px solid;
  padding-right: 5px;
  border-top: #ffeb3b 1px solid;
  padding-left: 5px;
  padding-bottom: 2px;
  border-left: #ffeb3b 1px solid;
  color: #afa73f;
  margin-right: 2px;
  padding-top: 2px;
  border-bottom: #ffeb3b 1px solid;
  text-decoration: none;
}
DIV.scott A:hover {
  border-right: #372216 1px solid;
  border-top: #372216 1px solid;
  border-left: #372216 1px solid;
  color: #33392a;
  border-bottom: #372216 1px solid;
  background-color: #ffdd00;
}
DIV.scott A:active {
  border-right: #85bd1e 1px solid;
  border-top: #85bd1e 1px solid;
  border-left: #85bd1e 1px solid;
  color: #638425;
  border-bottom: #85bd1e 1px solid;
  background-color: #f1ffd6;
}
DIV.scott SPAN.current {
  border-right: #e0cc5d 1px solid;
  padding-right: 5px;
  border-top: #e0cc5d 1px solid;
  padding-left: 5px;
  font-weight: bold;
  padding-bottom: 2px;
  border-left: #e0cc5d 1px solid;
  color: #fff;
  margin-right: 2px;
  padding-top: 2px;
  border-bottom: #e0cc5d 1px solid;
  background-color: #413700;
}
DIV.scott SPAN.disabled {
  border-right: #f3f3f3 1px solid;
  padding-right: 5px;
  border-top: #f3f3f3 1px solid;
  padding-left: 5px;
  padding-bottom: 2px;
  border-left: #f3f3f3 1px solid;
  color: #ccc;
  margin-right: 2px;
  padding-top: 2px;
  border-bottom: #f3f3f3 1px solid;
}

/*影片*/
.mva img,
.mvb img,
.mvc img {
    display: block;
    width: 100%;
}

#light_bx .kbx {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.vdbx {
    position: relative;
    width: 770px;
    padding-bottom: 432px;
    display: block;
    display: none;
    margin: 0 auto;
    -webkit-filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.8));
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.8));
   
}
.vdbx::after {
        position: absolute;
        content: "";
        width: 105%;
        height: 107%;
        display: block;
        pointer-events: none;
        background-attachment: scroll;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-image: url(../images/vdo.png);
        background-size: 100% auto;
        top: 0;
        left: 0;
 }
.clos_2 {
    position: absolute;
    width: 30px;
    padding-bottom: 71px;
    display: block;
    cursor: pointer;
    background-attachment: scroll;
    background-repeat: no-repeat;
    background-image: url(../images/close_s.png);
    background-size: 100% auto;
    top: -2%;
    right: -1%;
    z-index: 2;
}
.vdbx > .v1 {
    position: absolute;
    width: 100%;
    padding-bottom: 53.4%;
    top: 0;
    left: 2.5%;
    margin-top: 2%;
    overflow: hidden;

}
.mvbtbox {
    position: absolute;
    z-index: 9;
    opacity: 0.5;
    top: 35%;
    width: 80px;
    height: auto;
    left: 50%;
    margin-left: -40px;
}

.mvx {
    position: relative;
    width: 100%;
}

.mva {
    position: absolute;
    width: 100%;
}

.mvb {
    position: absolute;
    width: 100%;
    -moz-animation: rotate 3.5s linear infinite;
    -webkit-animation: rotate 3.5s linear infinite;
    -o-animation: rotate 3.5s linear infinite;
    -ms-animation: rotate 3.5s linear infinite;
    animation: rotate 3.5s linear infinite;
}

.mvc {
    position: absolute;
    width: 100%;
    -moz-animation: rotater 10s linear infinite;
    -webkit-animation: rotater 10s linear infinite;
    -o-animation: rotater 10s linear infinite;
    -ms-animation: rotater 10s linear infinite;
    animation: rotater 10s linear infinite;
}

.clos_2:hover,
.mvbtbox: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.5);
    cursor: pointer;
}

/* anima */
@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotater {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes moveUpDown {
  0% {
    top: 7px;
  }
  50% {
    top: 15px;
  }
  100% {
    top: 7px;
  }
}
@media only screen and (max-width: 1440px) {
  .logbx {
    width: 98%;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .logxa {
    width: 48%;
    margin: 1%;
  }
}

/*影片*/
@media only screen and (max-width: 800px) {
    .vdbx {
        width: 100%;
        padding-bottom: 58.4%;
    }
    .vdbx::after {
        width: 101%;
        height: 104%;
        left: -3px;
    }
    .clos_2 {
        top: 0%;
        right: 3%;
    }
    .vdbx > .v1 {
        width: 95.5%;
        margin-top: 3.5%;
        margin-left: -0.2%;
    }
}
.imgtxt {
    margin-bottom: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #f3c458;
    font-weight: 600;
    margin-top: 1%;
}
.imgtxt2 {
    margin-bottom: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff6d5ee6;
    margin-top: -2%;
    font-weight: 600;
}

@media only screen and (max-width: 560px) {
	.logo img {
		width: 50%;
	}	
    .content {
        margin-top: -44%;
    }
	.topcont {
		position: absolute;
		bottom: -5.3%;
		z-index: 10;
		pointer-events: none;
	}		
	.topcont img {
		width: 100%;
		display: block;
		margin-bottom: 52%;
	}	

    video {
        margin-top: 22%;
    }

    .iinp {
        width: 95%;
        padding: 10px;
        background-color: rgba(163, 157, 108, 0.2);
        background: url("../images/ggmmbb.jpg");
        background-size: 100% auto;
        border-radius: 1em;
        margin: 1em auto;
    }

    .fontcl {
        width: 95%;
        font-weight: 600;
        font-size: 20px;
        margin: 10px auto;
        line-height: 40px;
        padding-left: 45px;
    }

    #canvas {
        width: 90%;
        left: 50%;
        margin-left: -45%;
        top: 30px;
    }

    .gop {
        position: relative;
        width: 90%;
        height: 100vw;
        left: 50%;
        margin-left: -45%;
        top: 30px;
    }

    .gin {
        height: 100vw;
    }

    .bstn {
        position: absolute;
        width: 27%;
        left: 50%;
        margin-left: -13.5%;
        top: 35%;
    }

    .con {
        text-align: center;
        font-weight: 600;
        font-size: 1.5em;
        margin-bottom: 2%;
    }

    .gmsb {
        width: 60%;
    }

    .gmsa {
        width: 90%;
        margin: 1em auto;
    }

    .gmsbox {
        width: 85%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    #animation_container2 {
        width: 100%;
        height: 90vw;
        position: relative;
        margin: 0 auto;
    }

    .mtlb {
        width: 98%;
        margin: 0 auto;
        padding: 30px 0px 30px 0px;
    }

    .mtla {
        width: 98%;
        margin: 0 auto;
        padding: 30px 0px 30px 0px;
    }

    #light_bx > .infobx_1 {
        position: relative;
        width: 95vw;
        display: block;
        margin: 0 auto;
        display: none;
        transition: all 0.5s;
        -moz-transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        -webkit-filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
        filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
        font-size: 1.5rem;
        line-height: 2rem;
        color: #ffeccc;
        font-weight: 600;
    }

    #light_bx > .infobx_2 {
        position: relative;
        width: 95vw;
        display: block;
        margin: 0 auto;
        display: none;
        transition: all 0.5s;
        -moz-transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -o-transition: all 0.5s;
        -webkit-filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
        filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.65));
        color: #ffeccc;
        font-weight: 300;
    }

    .gwswbox {
        width: 100%;
    }

    .ror {
        position: relative;
        width: 100%;
        margin: 0 auto;
        background-color: #887d5d;
        padding: 5px;
        text-align: center;
        border: 4px double #000;
        background: url("../images/pobg.png");
    }

    .game2 {
        position: relative;
        width: 90%;
        height: 75vw;
        margin: 0 auto;
        overflow: hidden;
    }

    #animation_container {
        width: 100%;
        height: 60vw;
        position: relative;
        margin: 0 auto;
    }

    .logxb {
        width: 37%;
        padding: 10px;
        text-align: center;
        color: #3b3d2b;
        background-color: #ffae00;
        border-radius: 5px;
        border: 1px solid #484835;
        margin: 0 1%;
    }

    .logxc {
        width: 20%;
        padding: 10px;
        text-align: center;
        background-color: #2aa638;
        border-radius: 5px;
        border: 1px solid #484835;
        color: #ffffff;
    }

    .mincm {
        width: 100%;
        display: block;
        background: url("../images/mbm_02.png");
        background-size: 100% auto;
    }

    .mcont {
        width: 98%;
        margin: 0 auto;
    }

    .mtl {
        width: 98%;
        margin: 0 auto 10px auto;
        padding: 10px;
        font-size: 5vw;
    }

    .mincont {
        width: 98%;
    }

    .pcimg {
        display: none;
    }

    .mbimg, .mbimg2 {
        display: block;
    }

    .particle {
        position: absolute;
        width: 100%;
        height: 135vw;
        left: 50%;
        top: 0;
        margin-left: -50%;
        mix-blend-mode: screen;
        pointer-events: none;
        -webkit-filter: brightness(0.75);
    }

    .mbbt {
        width: 48%;
        margin: 0.5%;
    }

    .mbbtx {
        display: block;
        position: absolute;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        flex-wrap: wrap;
        bottom: 15px;
    }

    .aapybox {
        position: absolute;
        width: 100%;
        display: flex;
        align-items: center;
        align-content: center;
        justify-content: center;
        left: 50%;
        margin-left: -50%;
        bottom: 20%;
    }

    .slobx {
        position: absolute;
        width: 69%;
        left: 50%;
        margin-left: -31%;
        top: 5%;
    }

    .btbox {
        width: 50%;
        position: absolute;
        top: 1%;
    }

    .pcbt {
        display: none;
    }

    .head {
        position: relative;
        width: 100%;
        background: url("../images/mbindex.jpg") no-repeat;
        background-size: 100% auto;
        padding-bottom: 161%;
    }

    .imgtxt, .imgtxt2 {
        font-size: 1rem;
    }

}
