@import url(https://fonts.googleapis.com/earlyaccess/notosanssc.css);

* {
  box-sizing: border-box;
}

html,
html {
-webkit-text-size-adjust: none;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", Helvetica, arial, sans-serif;
  background: #000 url("../img/BG_m.jpg") 50% 0% no-repeat;
  background-size: cover;
  background-attachment: fixed;
  font-size: 16px;
}


a,
a:link,
a:checked {
  text-decoration: none;
  /* transition: 1s; */
}

ul {
  padding: 0;
  margin: 0;
  font-size: 0;
  line-height: 0;
}

img {
  font-size: 0;
  line-height: 0;
}




.container {
  width: 95%;
  max-width: 695px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
  transition: .2s;
  padding-bottom: 100px;
}

header {
  position: relative;
}

.logo {
  margin: 15px 0;
  height: 60px;
}



/* 搜尋 */
.searchBox {
  position: absolute;
  height: 35px;
  width: 150px;
  border: 1px solid #aaa;
  border-radius: 50px;
  top: 30px;
  right: 0;
}

.searchBox input {
  color: #fff;
  background: none;
  outline: none;
  border: none;
  padding: 0 10px;
  font-size: 1rem;
  line-height: 35px;
  width: calc(100% - 50px);
  display: inline-block;
  vertical-align: middle;
}

.search {
  display: inline-block;
  vertical-align: middle;
  height: 70%;
}

.searchBox input::placeholder {
  color: #fff;
}

/* 輪播 */
.swiper {
  width: 100%;
  max-width: 695px;
  margin: 0 auto 10px auto;
  transition: .2s;
  border-radius: 8px;
}

.swiper-wrapper {
  width: 100%;
  height: initial;
}

.swiper-slide {
  width: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.swiper-pagination {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-pagination-bullet {
  margin: 0 5px;
}

.swiper-pagination-bullet-active {
  background: #fff;
}

/* 跑馬燈 */
.newsBox {
  width: 100%;
  /* background: rgba(0, 0, 0, .3); */
  box-sizing: border-box;
  margin: 0 0 15px 0;
}

/*marquee-1 start*/
.marquee-1 {
  color: #eee;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  display: flex;
  grid-template-columns: 7rem auto;
  padding: 0 .2rem 0 0;
  line-height: 40px;
  box-sizing: border-box;
}

.marquee-1 div.marquee-1-content {
  overflow: hidden;
  flex: 1;
}

.marquee-1_newicon {
  width: 6rem;
  background: url('../img/xpx.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
}

.marquee-1_newicon img,
.marquee-1_newicon span {
  display: inline-block;
  vertical-align: middle;
}

.marquee-1_newicon img {
  margin: 0 5px 0 0;
}

.marquee-1_newicon,
.marquee-1-content {
  display: inline-block;
  vertical-align: middle;
  color: #eee;
  font-size: .9rem;
}


.socialBox {
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: 27% 70%;
  grid-column-gap: 10px;
}

.social_content {
  text-align: right;
}

.social {
  margin: 0 10px;
  opacity: 1;
  transition: .2s;
  text-align: center;
  display: inline-block;
}

.social:hover {
  opacity: .7;
}

.social span {
  width: 100%;
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  font-weight: lighter;
  margin: 0;
}

.web,
.social_content {
  vertical-align: middle;
  display: inline-block;
}

.web {
  width: 100%;
  max-width: 168px;
  margin-top: 5px;
}



.container p {
  margin: 0 0 30px 0;
  text-align: left;
  color: #fff;
  font-size:1rem;
  line-height:2rem;
}

.container p a {
  color: red;
}

/* 表格 */
.container table {
  text-align: center;
  width: 100%;
  background: rgba(0, 0, 0, .4);
  border: 1px solid #aaa;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.container table th {
  padding: 15px 10px;
  background: linear-gradient(#df1f1a, #7d0000);
  color: #fef7cb;
  border: 1px solid #ddd;
  font-size: 1.4rem;
  font-weight: normal;
}

.container table td {
  padding: 25px 20px;
  border: 1px solid #aaa;
  outline: 0;
  color: #fff;
}

.container table tr td:nth-of-type(2) {
  text-align: left;
}

.tableBox p {
  color: #fff;
  font-size: 1.15rem;
  font-weight: normal;
  margin: 5px auto;
}

.tableBox .btn {
  display: inline-block;
}

.tableBox .btn:hover {
  transform: scale(.97);
}

.container h1 {
  color: #fff;
  font-size: 2.8rem;
  margin: 60px 0;
}

.container h1 span,
.container h1 a {
  vertical-align: middle;
  display: inline-block;
}

.container h1 a {
  display: inline-block;
  width: 296px;
  height: 95px;
  background: url(../img/btn03.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

.container h1 a:hover {
  background: url(../img/btn03_h.png) 50% 50% no-repeat;
  background-size: 100% auto;
}

/* 遊戲列表 */
.tab_content {
  background: rgba(0, 0, 0, .4);
  padding: 10px;
  display: none;
  max-height: 70vh;
  overflow-y: scroll;
  box-sizing: border-box;
  border-radius: 13px;
}

.tab_content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 5px;
}

.tab_content::-webkit-scrollbar {
  width: 5px;
  background: none;
}

.tab_content_grid {
  display: grid;
  grid-template-columns: calc(100% / 3) calc(100% / 3) calc(100% / 3);
}

.tabBox {
  display: grid;
  grid-template-columns: 27% 70%;
  grid-column-gap: 10px;
}

.tabBox ul {
  width: 100%;
  margin: 0 0 15px;
  text-align: left;
}

.tabBox ul li {
  margin: 0 0 15px;
}

.tabBox .tab {
  max-width: 167px;
  width: 100%;
  padding-top: 40.8%;
  display: inline-block;
}

.tab01 {
  background: url(../img/menu01.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab01:hover,
.tab01.active {
  background: url(../img/menu01_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab02 {
  background: url(../img/menu02.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab02:hover,
.tab02.active {
  background: url(../img/menu02_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab03 {
  background: url(../img/menu03.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab03:hover,
.tab03.active {
  background: url(../img/menu03_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab04 {
  background: url(../img/menu04.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab04:hover,
.tab04.active {
  background: url(../img/menu04_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab05 {
  background: url(../img/menu05.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab05:hover,
.tab05.active {
  background: url(../img/menu05_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab06 {
  background: url(../img/menu06.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab06:hover,
.tab06.active {
  background: url(../img/menu06_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab07 {
  background: url(../img/menu07.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab07:hover,
.tab07.active {
  background: url(../img/menu07_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab08 {
  background: url(../img/menu08.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab08:hover,
.tab08.active {
  background: url(../img/menu08_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab09 {
  background: url(../img/menu09.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab09:hover,
.tab09.active {
  background: url(../img/menu09_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab10,.tab010{
  background: url(../img/menu10.png) 50% 50% no-repeat;
  background-size: 99% auto;
}

.tab10:hover,
.tab10.active
.tab010:hover,
.tab010.active{
  background: url(../img/menu10_h.png) 50% 50% no-repeat;
  background-size: 99% auto;
}



.tab_content.active {
  display: block;
}

.gameBox {
  display: inline-block;
  padding: 5px;
  text-align: center;
  transition: .2s;
  margin: 0 5px;
}

/* .gameBox:hover{
  border: 1px solid #f7f1d4;
} */
.gameBox img {
  max-width: 113px;
}

.gameBox p {
  font-size: .9rem;
  line-height: 1.5rem;
  text-align: center;
  margin: 5px 0;
  /* transition: .2s; */
}

.gameBox:hover.gameBox p {
  color: #f7f1d4;
}

/* footer */



footer {
  height: 80px;
  display: block;
  background: linear-gradient(#000, #2b2c30);
  width: 100%;
  /* padding: 3px 0; */
  text-align: center;
  position: fixed;
  bottom: 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .4);
}

.footer_menu {
  height: 100%;
}

.footer_menu ul {
  height: 100%;
  width: 100%;
}

.footer_menu ul li {
  display: inline-block;
  height: 100%;
  width: 25%;
  border-right: 1px solid #666;
}

.footer_menu ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: .8rem;
  line-height: 1.2rem;
  padding: 50px 0 0 0;
}

.footer_menu ul li:nth-of-type(1) a {
  background: url(../img/footer_menu01.png) 50% 28% no-repeat;
  background-size: auto 27px;
}

.footer_menu ul li:nth-of-type(2) a {
  background: url(../img/footer_menu02.png) 50% 28% no-repeat;
  background-size: auto 27px;
}

.footer_menu ul li:nth-of-type(3) a {
  background: url(../img/footer_menu03.png) 50% 28% no-repeat;
  background-size: auto 27px;
}

.footer_menu ul li:nth-of-type(4) a {
  background: url(../img/footer_menu04.png) 50% 28% no-repeat;
  background-size: auto 27px;
}

.copyright {
  font-size: .9rem;
  line-height: 1.2rem;
  color: #eee;
}

/* 彈窗 */
#lightbox_lightboxbg {
  display: none;
  background: rgba(0, 0, 0, 0.65);
  position: fixed;
  top: 0px;
  left: 0px;
  min-width: 100%;
  min-height: 100%;
  z-index: 1000;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1001;
  width: 90%;
  max-width: 1400px;
  height: 80vh;
  max-height: 857px;
  padding: 25px;
  background: url(../img/popBg.png) 50% 50% no-repeat;
  background-size: cover;
  text-align: center;
  border-radius: 15px;
  box-shadow: inset 5px 5px 15px rgba(200, 246, 255, 0.5), inset -5px -5px 15px rgba(95, 228, 255, 0.3);
  border: 2px solid #fbe38a;
}

.lightbox_close {
  width: 28px;
  height: 28px;
  background: url(../img/pop_close.png) 50% 50% no-repeat;
  background-size: 100% auto;
  position: absolute;
  right: 15px;
  top: 15px;
  transition: .2s;
}

.lightbox_close:hover {
  transform: scale(.95);
}


.lightbox_title {
  color: #feee3f;
  margin: 0 0 25px 0;
  font-size: 2rem;
  font-weight: bold;
}

.lightbox_title img,
.lightbox_title h2 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  font-size: 2rem;
  line-height: 2.2rem;
}

#lightbox-1 .lightbox_title h2{
  font-size: 1.5rem;
}

.lightbox_title .line:nth-of-type(2) {
  transform: rotate(180deg);
}

.lightbox_content {
  height: 60vh;
  text-align: left;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8rem;
  overflow-y: scroll;
}

.lightbox_content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .4);
  border-radius: 5px;
}

.lightbox_content::-webkit-scrollbar {
  width: 5px;
  background: none;
}

/* 公告 */
#lightbox-2{
  width: 90%;
  max-width: 1200px;
  background: url(../img/popBg02.png) 50% 50% no-repeat;
  box-shadow: inset 5px 5px 15px rgba(138, 138, 138, 0.5), inset -5px -5px 15px rgba(139, 139, 139, 0.5);
}
#lightbox-2 p{
  font-size: 1.1rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
  margin: 0;
  padding: 20px 0;
}


/* 分頁 */
.title {
  margin: 30px 0;
  max-width: 300px;
}

.promoBox {
  max-width: 650px;
  border-radius: 15px;
  border: 1px solid #555;
  background: rgba(0, 0, 0, .5);
  overflow: hidden;
  margin: 0 auto 30px auto;
}

.promoBox .content {
  padding: 30px;
}

.detail {
  max-height: 100px;
  overflow: auto;
}

.detail::-webkit-scrollbar-thumb {
  width: 5px;
  background: #444;
}

.detail::-webkit-scrollbar {
  width: 5px;
  background: none;
}

.promoBox .logo {
  /*max-height: 50px;*/
  margin: 0 0 10px;
  /*padding: 0 0 20px;*/
  position: relative;
  display: inline-block;
}

.promoBox .logo::before {
  content: "";
  bottom: 0;
  position: absolute;
  background: #ddd;
  height: 1px;
  left: -25%;
  right: -25%;
}

.detail p {
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
}

.promoBtnBox {
  background: #ddd;
  display: grid;
  grid-template-columns: 50% 50%;
}

.promoBtn {
  color: #fff;
  font-weight: bold;
  padding: 20px 0;
  display: inline-block;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
}

.promoBtn01 {
  background: linear-gradient(#950000, #ed0000);
}

.promoBtn01:hover {
  background: linear-gradient(#ed0000, #950000);
}

.promoBtn02 {
  background: linear-gradient(#2c54b1, #069bf4);
}

.promoBtn02:hover {
  background: linear-gradient(#069bf4, #2c54b1);
}

.promoBtn img,.promoBtn span{
  display: inline-block;
  vertical-align: middle;
}
.promoBtn img{
  margin-right: .6rem;
}
.promoBtn span{
  font-size: 1.5rem;
}

@media screen and (max-width: 750px) {
  html, body{
    background-position: 50% 50%;
  }
  .social {
    width: 10vw;
    margin: 0;
  }

  .social img {
    width: 50%;
  }

  .tabBox ul li {
    margin: 0 0 2vw;
  }

  .gameBox img {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {

  body,
  html {
    font-size: 14px;
  }

  .logo {
    height: 40px;
  }

  .searchBox {
    width: 75px;
    height: 25px;
    top: 25px;
  }

  .searchBox input {
    line-height: 25px;
    height: 25px;
    padding: 0 1px;
    width: calc(100% - 36px);
    font-size: .9rem;
  }

  .swiper-pagination {
    bottom: 5px;
  }

  .social {
    width: 12vw;
  }

  .social span {
    font-size: .9rem;
  }

  .tab_content {
    padding: 15px;
    padding-right: 0;
    background: none;
    padding: 0;
  }

  .gameBox {
    padding: 0 0 5px 0;
  }

  .gameBox p {
    margin: 0 0 5px 0;
  }

  .promoBox .logo {
    height: initial;
    /*max-height: 50px;*/
    margin: 0 0 10px;
    /*padding: 0 0 20px;*/
    position: relative;
    display: inline-block;
  }

  .title{
    margin: 10px 0 30px 0;
  }

  .promoBtn{
    padding: 12px;
  }
  .promoBox .content {
    /*padding: 30px 15px;*/
    padding:10px 15px 20px 10px
  }


  footer {
    height: 70px;
  }

  .footer_menu ul li:nth-of-type(1) a,
  .footer_menu ul li:nth-of-type(2) a,
  .footer_menu ul li:nth-of-type(3) a,
  .footer_menu ul li:nth-of-type(4) a {
    background-size: auto 20px;
  }

  .footer_menu ul li a {
    padding: 40px 0 0 0;
    font-size: .75rem;
  }
}

@media screen and (max-width: 340px) {
  .logo {
    height: 35px;
    margin: 10px 0;
  }

  .searchBox {
    top: 18px;
  }
  .promoBtn img{
    height: 25px;
  }
  .promoBtn span{
    font-size: 1.2rem;
    line-height: 1.2rem;
  }
}