body {
  margin: 0;
  opacity: 1;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
main {
  display: block;
  margin: 0 auto;
}
a {
  text-decoration: none;
}
/* ========== 側邊快捷 (Side Bar) ========== */
.side-bar {
  position: fixed;
  top: 6%;
  right: 0;
  text-align: center;
  z-index: 99;
}
.side-bar a {
  color: #390145;
  text-decoration: none;
}
.side-bar .go-top {
  cursor: pointer;
  display: none;
  margin-top: 10px;
}
.side-bar ul.showlist {
  display: none;
  padding: 10px 0 0;
}
.side-bar ul.hidelist>li,
.side-bar ul.showlist>li {
  list-style: none;
}
.side-bar ul.showlist>li {
  border-bottom: 1px dotted #fff;
}
.side-bar ul.showlist>li:first-child {
  height: 110px;
  border-bottom: 0;
  padding-bottom: 0;
  border-radius: 100px 100px 0 0;
  background-color: #390145;
}
.side-bar ul.showlist>li:first-child img {
  position: absolute;
  right: 0;
  margin: auto;
}
.side-bar ul.showlist>li img {
  width: 100%;
}
.side-bar ul.showlist>li:last-child {
  overflow: hidden;
  background-color: #fffb00;
  border-radius: 0 0 20px 20px;
}
.side-bar ul.showlist>li:last-child a {
  background-color: #390145;
  color: #fff;
}
.side-bar ul.showlist>li ul.subheadfix {
  display: flex;
  flex-wrap: wrap;
}
.side-bar ul.showlist>li ul.subheadfix li {
  width: 50%;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.6);
  justify-content: center;
  color: #390145;
}
.side-bar ul.showlist>li ul.subheadfix li a:hover {
  color: #f91540;
}
.side-bar ul.showlist>li a {
  background-color: rgba(255, 255, 255, 0.9);
  display: block;
  line-height: 1.375;
  padding: 10px;
}
.side-bar ul.showlist>li a:hover {
  background: #fffb00;
  color: #f91540;
}
.side-bar ul.showlist>li:last-child {
  border-bottom: 0 solid #fff;
}
.side-bar ul.showlist>li.last-sidebtn a {
  border-bottom: 0 solid #fff;
  border-radius: 0 0 10px 10px;
}
.side-bar ul.showlist.active {
  display: block;
}
.side-bar ul.hidelist {
  display: none;
  background: #390145;
  border-radius: 10px 0 0 10px;
  width: 60px;
  margin-left: auto;
  padding: 10px 0;
  margin-bottom: 10px;
}
.side-bar ul.hidelist img {
  width: 100%;
  margin: auto;
  vertical-align: middle;
}
.side-bar ul.hidelist.active {
  display: block;
  cursor: pointer;
}
.side-bar .closebtn {
  display: none;
  position: absolute;
  top: 0;
  border-radius: 10px 0 0 10px;
  right: 0;
  margin-left: auto;
  text-align: center;
  padding: 10px 0;
  color: #fff;
  font-size: 20px;
  z-index: 99;
  cursor: pointer;
}
.side-bar .closebtn.active {
  display: block;
}
/*-----------header-----------*/
.logo-wrap {
  display: flex;
  justify-content: center;
}
.logo-wrap img {
  display: block;
  width: 120px;
  margin: 8px auto;
}
.logo-wrap {
  background-color: #fff;
}
/*-----------banner-----------*/
.banner {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}
.banner img {
  display: block;
  width: 100%;
  margin: auto;
}
section {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.copyright {
  margin: 0;
  padding: 1em 0;
  color: #fff;
  background-color: #b11218;
  text-align: center;
  font-size: 0.8em;
}
.animate__brightness {
  -webkit-animation: brightness 2s infinite;
}
@-webkit-keyframes brightness {
  0%, 100%  { -webkit-filter: brightness(none); }
  50% { -webkit-filter: brightness(10); }
}
@keyframes brightness {
  0% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }

  88% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }

  91% {
      -webkit-filter: brightness(175%);
      filter: brightness(175%)
  }

  94% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }

  97% {
      -webkit-filter: brightness(175%);
      filter: brightness(175%)
  }

  100% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }
}
@-webkit-keyframes brightness {
  0% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }

  88% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }

  91% {
      -webkit-filter: brightness(175%);
      filter: brightness(175%)
  }

  94% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }

  97% {
      -webkit-filter: brightness(175%);
      filter: brightness(175%)
  }

  100% {
      -webkit-filter: brightness(100%);
      filter: brightness(100%)
  }
}
.pop {
  animation: pop .5s steps(2, end) infinite;
}
@-webkit-keyframes pop {
  from {
      transform: scale(1);
  }
  to { 
      transform: scale(1.03);
  }
}
@media(min-width: 320px) {
  body {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
  }
  body:before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background: url(../image/background-m.png) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
  .pcOnly {
    display: none!important;
  }
  .mobileOnly {
    display: block!important;
  }
  .side-bar ul.hidelist {
    width: 40px;
  }
  .side-bar ul.showlist>li:first-child img {
    width: 100%;
    top: 0;
  }
  .banner {
    width: 100%;
    margin: auto;
  }
  section {
    max-width: 90%;
  }
  .side-bar ul.showlist>li a {
    font-size: .9em;
  }
}
@media(min-width: 576px) {
  body::before {
    background: url(../image/background-tab.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
  }
}
@media(min-width: 768px) {
  
}
@media(min-width: 992px) {
  body::before {
    background: url(../image/background.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
  }
  .pcOnly {
    display: block!important;
  }
  .mobileOnly {
    display: none!important;
  }
  .side-bar ul.hidelist {
    width: 60px;
  }
  .side-bar ul.showlist>li a {
    font-size: 1em;
  }
   .side-bar ul.showlist>li:first-child img {
    top: -2%;
  }
}
@media(min-width: 1200px) {
  
}







