/* img */
.logo img,
.main div img,
.img img,
.gse img,
.hbt img {
  display: block;
  width: 100%;
}
/* head */
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  /* z-index: 2; */
}
.particle {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: -38%;
  margin-left: -50%;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 6;
  -webkit-filter: brightness(0.5);
}
video {
  width: 100%;
  height: 100%;
}
.webbox {
  width: 100%;
  position: relative;
}
.logo {
}
.head {
  width: 100%;
  position: relative;
  background: url("../images/bg.jpg");
  background-size: 100% auto;
  /* padding-bottom: 46%; */
}
.hbtbox div: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.2);
  cursor: pointer;
}
.main {
  width: 70%;
  margin: 0 auto;
  padding-bottom: 5%;
}
.hbtbox {
  width: 90%;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 10px;
  margin: 0 auto;
}

.tfbox {
  width: 110px;
  position: absolute;
  right: 1%;
  top: 1%;
}
.mam {
  width: 100%;
  background: url("../images/frame_middle.png");
  background-size: 100% auto;
}
.img {
  width: 90%;
  padding: 5% 0;
  margin: 0 auto;
}
.img2 {
  width: 90%;
  padding: 5% 0;
  margin: 0 auto;
}
.title {
  margin-top: 5%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.star {
  width: 30px;
  height: 30px;
  display: block;
  background-image: url(../images/title_icon.png);
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
  margin-right: 0.5%;
}
.title p {
  font-family: "Noto Serif TC" !important;
  font-size: 30px;
  font-weight: 800;
  color: #004986;
  margin-top: -4px;
}
p {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 1px;
}
.txbox {
  width: 80%;
  margin: 0 auto;
}
/*  */
.gamstbt {
  position: absolute;
  width: 22%;
  left: 50%;
  margin-left: -11%;
  bottom: 1%;
  z-index: 2;
}
.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;
}
.gamesc {
  width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.gamebox {
  position: relative;
  width: 90%;
  margin: 0 auto;
  background: url("../images/gb.png");
  background-size: 100% 100%;
}
#animation_container {
  width: 50%;
  margin: 0 auto;
  padding: 20px 0;
}
#canvas {
  width: 100%;
}
.gse {
  width: 100%;
  margin: 0 1%;
}
.sca {
  align-items: center;
  align-content: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background-color: #93ca86;
  text-align: center;
  border-radius: 30px;
  border: 2px solid #299e71;
  color: #02603e;
}
li {
  line-height: 30px;
  margin-top: 5px;
}
ol {
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 1px;
  color: #1a1a1a;
  list-style-position: inside;
  margin-top: 2.5%;
  margin-left: 24px;
  text-indent: -24px;
}
ol.list {
  margin-left: 45px;
  text-indent: -25px;
}

ol.list li {
  list-style-type: none;
  counter-increment: cnt;
}

ol.list li::before {
  content: "(" counter(cnt) ") ";
}

table {
  width: 100%;
  border: 0px;
  border-spacing: 3px;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
  word-break: break-all;
  margin-top: 2.5%;
}
table th {
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  background-color: #440062;
}
table td {
  background-color: #cbbfd2;
  border-radius: 10px;
  padding: 10px 20px;
}
table tr.sr td {
  background-color: #b19eba;
}
/* content */
.content {
  position: relative;
  width: 100%;
}
/* topbt */
.dtt {
  position: fixed;
  width: 100%;
  max-width: 2000px;
  bottom: 20%;
  left: 50%;
  z-index: 11;
}
.topbt {
    position: fixed;
    width: 3.9583%;
    height: 0;
    padding-bottom: 3.9583%;
    display: block;
    background-image: url(../images/gotop.png);
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    right: 0.7813%;
    bottom: 2.0833%;
    cursor: pointer;
}
/*  */
#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: 700px;
  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.3rem;
  line-height: 2rem;
  color: #ffeed0;
  font-weight: 300;
}
.bx_a1 {
  padding-bottom: 5.5%;
  background-image: url(../images/popbg_01.png);
  background-position: 50% 0%;
  background-size: 100% auto;
  top: 1px;
}
.bx_a2 {
  width: 100%;
  min-height: 100px;
  background-image: url(../images/popbg_02.png);
  background-position: 50% 100%;
  background-size: 100% auto;
  top: -1px;
}
.bx_a3 {
  padding-bottom: 5.2%;
  background: url(../images/popbg_03.png) no-repeat;
  background-position: 50% 100%;
  background-size: 100% auto;
  display: block;
  top: -1px;
}
.bx_a_clos {
  position: absolute;
  width: 38px;
  padding-bottom: 38px;
  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: 22px;
  right: 3%;
  z-index: 2;
  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
}
.poa {
  position: absolute;
  left: 0;
  bottom: 0;
}
.pob {
  position: absolute;

  right: 0%;
  bottom: 0;
}
.gwswbox {
  width: 90%;
  margin: 0 auto;
}
.gwtl {
  width: 90%;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  font-weight: 600;
  color: #414032;
  font-size: 1.5vw;
}
.gwmt {
  width: 90%;
  margin: 0 auto;
  color: #545247;
}
.gwtb {
  color: #000;
}
.gwtx {
  width: 100%;
  text-align: center;
  color: #423d38;
  margin: 20px auto;
  font-weight: 600;
}
.gwtnb {
  width: 100%;
  text-align: center;
  color: #ff8400;
  margin: 20px auto;
  font-weight: 400;
  font-size: 2vw;
}
.apgw {
  background: url("../images/okbt.png");
  width: 160px;
  height: 72px;
  margin: 0 auto;
}
.pcimg {
  display: block;
}
.mbimg {
  display: none;
}
p {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 1px;
}
/*  */
/*CSS megas512 style pagination*/

DIV.megas512 {
  padding-right: 3px;
  padding-left: 3px;
  padding-bottom: 3px;
  margin: 3px;
  padding-top: 3px;
  text-align: center;
}
DIV.megas512 A {
  border-right: #dedfde 1px solid;
  padding-right: 6px;
  background-position: 50% bottom;
  border-top: #dedfde 1px solid;
  padding-left: 6px;
  padding-bottom: 2px;
  border-left: #dedfde 1px solid;
  color: #99210b;
  margin-right: 3px;
  padding-top: 2px;
  border-bottom: #dedfde 1px solid;
  text-decoration: none;
}
DIV.megas512 A:hover {
  border-right: #000 1px solid;
  border-top: #000 1px solid;
  background-image: none;
  border-left: #000 1px solid;
  color: #fff;
  border-bottom: #000 1px solid;
  background-color: #777777;
}
DIV.megas512 A:active {
  border-right: #000 1px solid;
  border-top: #000 1px solid;
  background-image: none;
  border-left: #000 1px solid;
  color: #fff;
  border-bottom: #000 1px solid;
  background-color: #777777;
}
DIV.megas512 SPAN.current {
  padding-right: 6px;
  padding-left: 6px;
  font-weight: bold;
  padding-bottom: 2px;
  color: #99210b;
  margin-right: 3px;
  padding-top: 2px;
}
DIV.megas512 SPAN.disabled {
  padding-right: 6px;
  padding-left: 6px;
  padding-bottom: 2px;
  color: #adaaad;
  margin-right: 3px;
  padding-top: 2px;
}
.poa {
  width: 35%;
}
.pob {
  width: 31%;
}
@media only screen and (max-width: 560px) {
    .topbt {
        width: 18%;
        padding-bottom: 17.9583%;
    }

  .txbox {
    width: 90%;
    margin: 0 auto;
  }
  .gwtnb {
    width: 100%;
    text-align: center;
    color: #ff8400;
    margin: 20px auto;
    font-weight: 400;
    font-size: 10vw;
  }
  .gwtl {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    font-weight: 600;
    color: #414032;
    font-size: 6.5vw;
  }
  #light_bx > .infobx_1 {
    position: relative;
    width: 96vw;
    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.3rem;
    line-height: 2rem;
    color: #ffeccc;
    font-weight: 300;
  }
  .gse {
    width: 45%;
    margin: 1% auto;
  }
  .gamesc {
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .gamstbt {
    position: absolute;
    width: 200px;
    left: 50%;
    margin-left: -94px;
    bottom: 1%;
    z-index: 2;
  }
  #animation_container {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
  }
  .poa {
    top: 5%;
    width: 72%;
    left: -38%;
  }
  .pob {
    top: 20%;
    width: 61%;
    right: -30%;
  }
  ol {
    font-size: 16px;
    margin-left: -15px;
    text-indent: -20px;
  }
  .img {
    width: 120%;
    padding: 1% 0;
    margin-left: -10%;
  }
  .img2 {
    width: 100%;
    padding: 1% 0;
    margin: 5% auto;
  }
  .main {
    width: 100%;
    margin: 0 auto;
  }
  .mam {
    background: url("../images/frame_middle_m.png");
    background-size: 100% auto;
    overflow: hidden;
  }
  .pcimg {
    display: none;
  }
  .mbimg {
    display: block;
  }
  .hbtbox {
    width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 10px 0;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  .hbt {
    width: 31.4583%;
  }
}
