@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200&display=swap');

body {
  font-family: '微軟正黑體', 'Malgun Gothic', Dotum, Tahoma, sans-serif;
  background-color: #111111;
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
}

:focus {
  outline: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#tab-1 .container {
  width: 100%;
  max-width: 1300px;
}

#particles-js {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
}

#canvas {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  filter: hue-rotate(150deg);
  mix-blend-mode: color-dodge;
}

.navbar-inverse .navbar-nav>li>a,
.navbtn>ul>li>a,
.sideBtn ul>li>a {
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

/* modal */
button.close {
  opacity: 1;
  position: absolute;
  top: 4%;
  right: 2%;
  width: 70px;
  height: 70px;
  font-size: 70px;
  font-weight: lighter;
  color: #862dff;
  text-shadow: none;
  overflow: hidden;
  cursor: pointer;
  border: solid 1px #862dff;
  border-radius: 70px;
  z-index: 9;
}

button.close span {
  display: block;
  margin-top: -6px;
}

button.close:hover {
  opacity: 1;
  color: #ffffff;
  background-color: #862dff;
}

#picModal .modal-body {
  padding: 0;
  text-align: center;
}

/* modal */

/*navbar*/
.navbar-inverse {
  background-color: #0000008c;
}

.navbar-inverse .navbar-nav>li>a {
  width: 160px;
  outline: none;
}

.navbar-inverse .navbar-nav>li:first-child>a::before {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #868686;
  position: absolute;
  top: 40%;
  left: 0;
}

.navbar-inverse .navbar-nav>li>a::after {
  content: "";
  width: 1px;
  height: 16px;
  background-color: #868686;
  position: absolute;
  top: 40%;
  right: 0;
}

.navbar-inverse .navbar-nav a img:hover {
  opacity: 0;
}

.navbar-inverse .navbar-toggle {
  border-color: #333;
}

.navbar {
  min-height: 80px;
  margin-bottom: 0px;
  padding-top: 10px;
  border: 0px;
}

/* header */
#header {
  position: relative;
}


.title {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 13%;
  transform: translateX(-87%);
  filter: drop-shadow(0px 0px 20px #6114dfc5);
}

/* header */

.flexbtn {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: absolute;
  z-index: 999;
  bottom: -8.7%;
  left: 50%;
  transform: translateX(-50%);
}

.flexbtn>a>div,
.item.pic-modal {
  background-size: contain !important;
}

.flexbtn>a>div img:hover,
.item.pic-modal img:hover {
  opacity: 0;
}

.maxsize {
  max-width: 700px;
  margin: 0 auto;
}

.maxsize4 {
  max-width: 1300px;
  margin: 4% auto;
}

.maxsize4>div {
  padding: 0;
}

/* modal */

.exampleModal .modal-dialog.modal-lg {
  width: 100%;
  margin: 0;
}

.exampleModal{
  padding: 0 !important;
}

#exampleModal1 .modal-content {
  height: 100vh;
  background: url(../image/fiame_gif7.jpg) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal2 .modal-content {
  height: 100vh;
  background: url(../image/fiame_gif8.jpg) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal3 .modal-content {
  height: 100vh;
  background: url(../image/fiame_pop5.png) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal4 .modal-content {
  height: 100vh;
  background: url(../image/fiame_pop6.png) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal5 .modal-content {
  height: 100vh;
  background: url(../image/fiame_pop1.png) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal6 .modal-content {
  height: 100vh;
  background: url(../image/fiame_pop2.png) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal7 .modal-content {
  height: 100vh;
  background: url(../image/fiame_pop3.png) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal8 .modal-content {
  height: 100vh;
  background: url(../image/fiame_pop4.png) no-repeat 50% 50%;
  background-size: cover;
}

#exampleModal1 .modal-body,
#exampleModal2 .modal-body {
  padding-top: 4%;
}

#exampleModal1 .modal-body>img,
#exampleModal2 .modal-body>img {
  mix-blend-mode: screen;
}

#exampleModal1 .modal-body div,
#exampleModal2 .modal-body div {
  padding-left: 12%;
  margin-top: 8%;
}

#exampleModal1 .modal-body div img:first-child,
#exampleModal2 .modal-body div img:first-child {
  margin-right: 1%;
}

/* modal */

/* sidebar */
/* left */
.sideBtn1 {
  position: fixed;
  left: 3%;
  top: 20%;
  z-index: 999;
}


.sideBtn1 ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.sideBtn1 ul>li a {
  width: 150px;
  height: 150px;
  background-image: url(../image/sidebtn_l1.png);
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.sideBtn1 ul>li.active>a,
.sideBtn1 ul>li>a:hover,
.sideBtn1 ul>li>a:focus,
.sideBtn1 ul>li>a:active {
  background: none;
  background-image: url(../image/sidebtn_l2.png);
  background-repeat: no-repeat;
}

.sideBtn1 ul>li:nth-child(2) a, .sideBtn ul>li:nth-child(2) .active>a,
.sideBtn1 ul>li>:nth-child(2) a:hover,
.sideBtn1 ul>li>:nth-child(2) a:focus,
.sideBtn1 ul>li>:nth-child(2) a:active {
  background-position-y: -170px;
}

/* right */
.sideBtn {
  position: fixed;
  right: 3%;
  top: 20%;
  z-index: 999;
}

.sideBtn ul {
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}

.sideBtn ul>li a {
  text-indent: -9999px;
  width: 112px;
  height: 20px;
  background-image: url(../image/sidebtn_r1.png);
  background-repeat: no-repeat;
  margin-bottom: 10px;
}

.sideBtn ul>li.active>a,
.sideBtn ul>li>a:hover,
.sideBtn ul>li>a:focus,
.sideBtn ul>li>a:active {
  background: none;
  text-indent: -9999px;
  background-image: url(../image/sidebtn_r2.png);
  background-repeat: no-repeat;
}

.sideBtn ul>li:nth-child(2) a, .sideBtn ul>li:nth-child(2) .active>a,
.sideBtn ul>li>:nth-child(2) a:hover,
.sideBtn ul>li>:nth-child(2) a:focus,
.sideBtn ul>li>:nth-child(2) a:active {
  background-position-y: -38px;
}

.sideBtn ul>li:nth-child(3) a, .sideBtn ul>li:nth-child(3) .active>a,
.sideBtn ul>li>:nth-child(3) a:hover,
.sideBtn ul>li>:nth-child(3) a:focus,
.sideBtn ul>li>:nth-child(3) a:active {
  background-position-y: -78px;
}

.sideBtn ul>li:nth-child(4) a, .sideBtn ul>li:nth-child(4) .active>a,
.sideBtn ul>li>:nth-child(4) a:hover,
.sideBtn ul>li>:nth-child(4) a:focus,
.sideBtn ul>li>:nth-child(4) a:active {
  background-position-y: -118px;
}

.sideBtn ul>li:nth-child(5) a, .sideBtn ul>li:nth-child(5) .active>a,
.sideBtn ul>li>:nth-child(5) a:hover,
.sideBtn ul>li>:nth-child(5) a:focus,
.sideBtn ul>li>:nth-child(5) a:active {
  background-position-y: -158px;
}

.sideBtn ul>li:nth-child(6) a, .sideBtn ul>li:nth-child(6) .active>a,
.sideBtn ul>li>:nth-child(6) a:hover,
.sideBtn ul>li>:nth-child(6) a:focus,
.sideBtn ul>li>:nth-child(6) a:active {
  background-position-y: -198px;
}

/* sidebar */

#tab-1 {
  background: url(../image/fiame_bg.jpg) no-repeat 50% 0%;
  background-size: cover !important;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-top: 3%;
}

.item {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 306px;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 15px auto;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.item:hover {
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.navbar-inverse .navbar-brand {
  padding-top: 8px;
  padding-bottom: 0;
  max-width: 220px;
}

.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
  background-color: transparent;
}

.goh_style {
  line-height: 0;
  text-align: center;
}

.title2 {
  display: block;
  margin: 10% auto 2% auto;
  mix-blend-mode: screen;
}

.txt {
  margin: 2% auto;
}

.txt span {
  font-size: 1.7rem;
  font-family: 'Noto Serif TC', serif !important;
  letter-spacing: 0.1rem;

}

.bt67, .bt77 {
  max-width: 675px;
  display: inline-block;
}

.bt67>div {
  margin-top: -3%;
}

.bt77>div {
  margin-top: 0;
}

.paean {
  position: relative;
  margin: 1% auto 6% auto;
}

.paean .start {
  background: none;
  position: absolute;
  cursor: pointer;
  z-index: 1;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  outline: none;
  border: none;
}

.paean .start:hover {
  filter: invert(1);
}

#picModal .modal-body iframe {
  margin-top: 1%;
}

.c6 {
  position: relative;
  width: 556px;
  height: 356px;
  margin: 14px auto 129px;
  max-width: 96%;
}

.c6::before {
  content: "";
  background: url(../image/char-l.png);
  width: 392px;
  height: 490px;
  position: absolute;
  left: -437px;
  bottom: -43px;
}

.c6::after {
  content: "";
  background: url(../image/char-r.png);
  width: 429px;
  height: 491px;
  position: absolute;
  bottom: -42px;
  right: -501px;
}

#s6 {
  position: relative;
  margin-top: 40px;
}


#s6 .item {
  margin: 12px auto 52px;
}

/* 金粉特效bug清除 */
.dg.ac,
.fb_reset {
  display: none;
}


/* RWD */
@media (max-width: 1440px) {
  #header>img {
    height: 880px;
    object-fit: cover;
    width: 100%;
  }

  .title {
    width: 86vw;
    left: 78%;
    bottom: 4%;
  }
}

@media (max-width: 850px) {

  #particles-js {
    display: none;
  }

  .navbar-inverse .navbar-brand {
    padding-top: 0px;
    width: 33vw;
  }

  .title {
    width: 86vw;
    left: 78%;
    bottom: 4%;
  }

  .flexbtn {
    z-index: 99;
    bottom: -9.6vw;
  }

  .maxsize {
    width: 100%;
  }

  .modal {
    top: 50%;
    transform: translateY(-50%);
  }

  /* #exampleModal1 .modal-content {
    height: auto;
  } */

  .sideBtn1 ul>li a {
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sideBtn1 ul>li.active>a,
  .sideBtn1 ul>li>a:hover,
  .sideBtn1 ul>li>a:focus,
  .sideBtn1 ul>li>a:active {
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sideBtn1 ul>li:nth-child(2) a, .sideBtn ul>li:nth-child(2) .active>a,
  .sideBtn1 ul>li>:nth-child(2) a:hover,
  .sideBtn1 ul>li>:nth-child(2) a:focus,
  .sideBtn1 ul>li>:nth-child(2) a:active {
    background-position-y: -136px;
    width: 120px;
    height: 120px;
    background-repeat: no-repeat;
    background-size: cover;
  }

}

@media(max-width:768px) {
  .navbar-nav {
    margin: 41.5px -15px 0;
  }
    /* modal */
    .modal {
      top: 0;
      transform: unset;
  }
    #exampleModal3 .modal-content {
      height: 100vh;
      width: 100vw;
      background: url(../image/fiame_pop5-s.png) no-repeat 50% 50%;
      background-size: contain;
    }
    
    #exampleModal4 .modal-content {
      height: 100vh;
      width: 100vw;
      background: url(../image/fiame_pop6-s.png) no-repeat 50% 50%;
      background-size: contain;
    }
    
    #exampleModal5 .modal-content {
      height: 100vh;
      width: 100vw;
      background: url(../image/fiame_pop1-s.png) no-repeat 50% 50%;
      background-size: contain;
    }
  
    #exampleModal6 .modal-content {
      height: 100vh;
      width: 100vw;
      background: url(../image/fiame_pop2-s.png) no-repeat 50% 50%;
      background-size: contain;
    }
  
    #exampleModal7 .modal-content {
      height: 100vh;
      width:100vw;
      background: url(../image/fiame_pop3-s.png) no-repeat 50% 50%;
      background-size: contain;
    }
  
    #exampleModal8 .modal-content {
      height: 100vh;
      width: 100vw;
      background: url(../image/fiame_pop4-s.png) no-repeat 50% 50%;
      background-size: contain;
    }
}

@media (max-width: 480px) {
  .sideBtn1 ul>li a {
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sideBtn1 ul>li.active>a,
  .sideBtn1 ul>li>a:hover,
  .sideBtn1 ul>li>a:focus,
  .sideBtn1 ul>li>a:active {
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .sideBtn1 ul>li:nth-child(2) a, .sideBtn ul>li:nth-child(2) .active>a,
  .sideBtn1 ul>li>:nth-child(2) a:hover,
  .sideBtn1 ul>li>:nth-child(2) a:focus,
  .sideBtn1 ul>li>:nth-child(2) a:active {
    background-position-y: -79px;
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-size: cover;
  }
  

  #exampleModal1 .modal-body div,
  #exampleModal2 .modal-body div {
    padding-left: 0;
  }

  #header>img {
    height: 555px;
    object-position: -446px 0;
  }

  .navbar-inverse .navbar-brand {
    width: 40vw;
  }

  .flexbtn {
    bottom: -10.5vw;
    left: 0%;
    transform: translateX(0%);
  }

  .sideBtn {
    display: none;
  }

  .bt67>div>div:nth-last-of-type(1) {
    margin-top: 0%;
  }

  button.close {
    width: 40px;
    height: 40px;
    font-size: 40px;
    top: 6%;
    right: 3%;
  }

  .c6 {
    margin: 14px auto -32px;
  }

}