﻿/*---- font ----*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');

/*---- basic ----*/
* {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans TC', 微軟正黑體, Microsoft JhengHei, Arial, Helvetica, sans-serif;
  /*font-family: 'Noto Serif TC', 微軟正黑體, Microsoft JhengHei, Arial, Helvetica, sans-serif;*/
  text-decoration: none;
  outline: none;
}
ul, ol {
  margin-bottom: 0;
  text-align: justify;
}
html, body {
  box-sizing: border-box;
  position: relative;
  margin: 0 auto;
  width: 100%;
}
body {
  background: url(../images/bg.jpg) repeat-y center top #fceed7;
  background-size: 100%;
}
.pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(../images/banner.jpg) no-repeat center top;
  background-size: 100%;
}
.pattern.p1 {
  top: -35px;
  height: 108%;
}
.notscroll{
  /*position: fixed;
  width: 100%;
  height: 100%;*/
  overflow: hidden;
}

/*---- nav ----*/
nav {
  position: fixed;
  width: 100%;
  top: 0;
  background: #875129;
  z-index: 20;
}
nav .container {
  position: relative;
  text-align: center;
}
nav ul {
  display: inline-block;
  text-align: center;
}
nav ul li {
  position: relative;
  display: inline-block;
}
nav ul li a {
  display: inline-block;
  margin: 0 20px;
  padding: 15px 0;
  color: #fceed7;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  user-select: none;
  transition: .5s;
}
nav ul li.active a, nav ul li:hover a {
  color: #f8bb41;
  text-decoration: none;
}
.logo {
  position: absolute;
  top: 13px;
  left: 0;
}
.link {
  position: absolute;
  top: 12px;
  right: 0;
}
.fb, .wechat, .bgMusic {
  display: inline-block;
  margin: 0 1px;
  width: 34px;
  height: 34px;
  background: url(../images/link.png) no-repeat left top;
  transition: .5s;
}
.wechat {
  background-position: -34px 0;
}
.bgMusic {
  background-position: -68px 0;
  cursor: pointer;
  transition: initial;
}
.bgMusic.off {
  background-position: -102px 0;
}
.fb:hover, .wechat:hover {
  filter: brightness(1.1);
}
.open_menu {
  display: none;
}
.mob {
  display: none;
}

/*---- section ----*/
section {
  position: relative;
}
.padding {
  padding-top: 49.5%;
}
section .container {
  border-radius: 10px;
  padding: 0 0 80px;
  background: #fff;
  overflow: hidden;
}
section img {
  border: 2px solid #545454;
  border-radius: 10px;
  display: block;
  margin: 0 auto 10px;
  padding: 5px;
  overflow: hidden;
}
.sec_img {
  margin: 0 auto;
  max-width: 800px;
}
section .row {
  margin: 0 auto;
  max-width: 800px;
}
.title {
  background: #ee7747;
}
.title img {
  border: none;
  padding: 0;
  padding-top: 10px;
}
.scrolltop {
  border-radius: 50%;
  position: relative;
  margin: -55px auto 15px;
  padding-top: 12px;
  width: 50px;
  height: 50px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  background: #875129;
  cursor: pointer;
  z-index: 5;
}

/*---- content ----*/
.content {
  position: relative;
  margin: 30px auto 50px;
  padding: 0 50px;
  max-width: 950px;
  text-align: center;
}
h2, h3, h4, h5, h6 {
  font-weight: bold;
  text-align: center;
  user-select: none;
}
h3 {
  margin-bottom: .3rem;
  padding: 0;
  color: #875129;
  font-weight: bold;
}
h3::before, h3::after {
  content: "";
  display: inline-block;
  margin-top: -5px;
  width: 50px;
  height: 51px;
  background: url(../images/title_icon.png) no-repeat center top;
  background-size: 100%;
  transform: scale(.6)scaleX(-1);
  vertical-align: middle;
}
h3::after {
  transform: scale(.6)scaleX(1);
}
h4 {
  display: inline-block;
  margin: 15px auto;
  padding: 10px 15px;
  color: #fff;
  font-size: 20px;
  background: #ff8550;
}
h4 span:first-child {
  margin-left: 0;
  margin-right: 10px;
}
h4 span:last-child {
  margin-left: 10px;
  margin-right: 0;
}
h5 {
  margin: 0 auto;
  padding: 15px;
  color: #fff;
  background: #ee7747;
}
h6 {
  border-left: 5px solid #ee7747;
  padding-left: 5px;
  color: #ee7747;
  font-size: 18px;
  font-weight: bold;
}
ol {
  margin: -.5rem auto 1.5rem;
  padding-left: 22px;
}
ol li a.txt, ol li a.txt:hover {
  position: relative;
  display: inline-block;
  margin-bottom: initial;
  padding: initial;
  left: initial;
  color: #ff8550;
  background: none;
  transform: initial;
}
ol li a.txt:hover {
  text-decoration: underline;
}
.content p {
  text-align: justify;
}
.content p.txt {
  margin: 15px auto;
  color: #ff8550;
  font-weight: bold;
  text-align: center;
}
.content p span {
  display: block;
  margin-bottom: -.8rem;
  color: #ff8550;
  font-size: 20px;
  font-weight: bold;
}
.content p span.tt {
  display: inline-block;
  margin: 0 5px;
  color: #ff8550;
  font-size: 20px;
  font-weight: bold;
}
img.logo_19 {
  border: none;
}
.music p {
  text-align: center;
}

/*---- swiper ----*/
.previous {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
}
.previous img {
  border: none;
  border-radius: initial;
  margin: 0 auto;
  padding: 0;
}
.previous_info .swiper-slide {
  border-radius: 10px;
  height: auto !important;
  overflow: hidden;
  background: #fceed7;
}
.year {
  height: 100% !important;
}
.info {
  position: relative;
  padding: 40px 30px 80px;
  background: #fceed7;
}
.info h6 {
  text-align: justify;
}
.content a {
  border-radius: 5px;
  position: absolute;
  display: inline-block;
  margin-bottom: 25px;
  padding: 10px 30px;
  bottom: 0;
  left: 50%;
  color: #fff;
  background: linear-gradient(120deg, #ee7747 0%, #f8bb41 100%);
  transform: translateX(-50%);
  text-decoration: none;
  transition: .3s;
}
.content a:hover {
  filter: brightness(1.05);
}
.swiper-pagination-bullets.info_list {
  bottom: -8%;
}
.swiper-pagination-bullets.info_list .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ee7747;
}
.swiper-button-next, .swiper-button-prev {
  border-radius: 50%;
  padding: 22px;
  color: #fff;
  top: initial;
  bottom: -10%;
  background: #ee7747;
}
.swiper-button-next:after, .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}
.swiper-button-next:after {
  margin-right: -4px;
}
.swiper-button-prev:after {
  margin-left: -4px;
}
.swiper-button-next {
  right: 0;
}
.swiper-button-prev {
  left: 0;
}

/*---- video ----*/
video, .video_frame {
  border: 2px solid #545454;
  border-radius: 10px;
  display: block;
  position: relative;
  margin: 0 auto 15px;
  padding: 5px;
  max-width: 720px;
  width: 100%;
  overflow: hidden;
}
.video_frame {
  max-width: 720px;
  max-height: 450px;
}
.video_container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.video_container iframe,
.video_container object,
.video_container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.vide_text p {
  color: #ee7747;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.vide_text p span {
  margin-bottom: 1rem;
  color: #000000;
  font-size: 14px;
  font-weight: initial;
}

/*---- sponsor ----*/
.sponsor {
  margin: 30px auto;
}
.sponsor .container {
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}
.sponsor .row {
  max-width: initial;
}
.sponsor span {
  border-radius: 30px;
  margin-right: 10px;
  padding: 5px 20px;
  color: #fff;
  background: #875129;
  user-select: none;
}
.sponsors {
  margin-left: -75px;
}
.sponsor img {
  border: none;
  border-radius: initial;
  display: inline-block;
  margin-bottom: 10px;
  padding: initial;
  overflow: initial;
}

/*---- footer ----*/
footer {
  position: absolute;
  padding: 10px 0;
  width: 100%;
  color: #fff;
  font-size: .7rem;
  text-align: center;
  letter-spacing: .2px;
  background: #875129;
}
footer p {
  margin-bottom: 0;
}

@media only screen and (max-width:1400px) {
  body {
    background: url(../images/bg.jpg) repeat-y center top;
    background-size: 100%;
  }
  .pattern {
    position: absolute;
  }
  .logo {
    top: 10px;
    left: 15px;
  }
  .logo img {
    width: 120px;
  }
}

@media only screen and (max-width:1200px) {
  .sponsors {
    margin-left: -45px;
  }
}

@media only screen and (max-width:992px) {
  nav .container {
    max-width: inherit;
  }
  nav ul li a {
    margin: 0 15px;
  }
  .link {
    right: 15px;
  }
  .sponsors {
    margin-top: 15px;
    margin-left: 0;
  }
  h3 {
    font-size: 1.6rem;
  }
}

@media only screen and (max-width:768px) {
  .logo {
    z-index: 5;
  }
  .logo img {
    width: 90px;
  }
  .logo::after {
    content: "";
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 58px;
    background: #875129;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, .2);
    z-index: -1;
  }
  nav .menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fceed7;
    transition: .5s;
    opacity: 0;
    z-index: -1;
  }
  nav .menu.open {
    top: 0;
    left: 0;
    opacity: 1;
    transition: .5s;
  }
  nav .menu.open ul {
    padding-top: 58px;
    width: 100%;
  }
  nav .menu.open ul li {
    display: block;
  }
  nav .menu.open ul li a {
    border-bottom: 1px solid rgba(135, 81, 41, .2);
    display: block;
    margin: 0 auto;
    padding: 35px 0;
    width: 100%;
    color: #875129;
    transition: inherit;
  }
  nav .menu.open ul li.active a {
    color: #ee7747;
  }
  nav .menu.open .link {
    position: relative;
    margin: 35px auto;
    right: 0;
    text-align: center;
  }
  nav .menu.open .link a {
    margin: 0 3px;
  }
  .open_menu {
    border-radius: 0 50% 50% 0;
    display: inline-block;
    position: absolute;
    right: 5px;
    width: 60px;
    height: 60px;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    z-index: 5;
  }
  .open_menu span.btn {
    display: block;
    position: relative;
    margin-top: 13px;
    margin-left: -4px;
    transform: scale(.5);
  }
  .open_menu .btn span {
    display: block;
    position: absolute;
    height: 8px;
    width: 100%;
    background: #fceed7;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
  }
  .open_menu .btn span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
  }
  .open_menu .btn span:nth-child(2) {
    top: 18px;
    transform-origin: left center;
  }
  .open_menu .btn span:nth-child(3) {
    top: 36px;
    transform-origin: left center;
  }
  .open_menu.close .btn span:nth-child(1) {
    top: -3px;
    left: 8px;
    transform: rotate(45deg);
  }
  .open_menu.close .btn span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  .open_menu.close .btn span:nth-child(3) {
    top: 40px;
    left: 8px;
    transform: rotate(-45deg);
  }
  .link .bgMusic {
    display: none;
  }
  .bgMusic.mob {
    position: absolute;
    display: block;
    top: 11px;
    right: 65px;
    z-index: 5;
  }
  h3 {
    font-size: 19px;
  }
  h3::before, h3::after {
    margin: 0 -12px;
    margin-top: -4px;
    height: 51px;
    transform: scale(.4) scaleX(-1);
  }
  h4, .content p span {
    font-size: 18px;
  }
  h5 {
    padding: 10px 15px;
    font-size: 16px;
  }
  h6, .content p {
    font-size: 15px;
  }
  .info {
    padding: 20px 15px 70px;
  }
  .previous {
    padding: 0;
  }
  .swiper-pagination-bullets.info_list {
    bottom: -9%;
  }
  .swiper-button-next, .swiper-button-prev {
    padding: 8px 18px;
    height: auto;
    bottom: -11%;
  }
  .swiper-button-next:after {
    margin-right: -4px;
  }
  .swiper-button-prev:after {
    margin-left: -4px;
  }
  .vide_text p span {
    font-size: 12px;
  }
  .music p {
    text-align: justify;
  }
}

@media only screen and (max-width:640px) {
  body {
    background-position-y: -3%;
  }
  h3::before, h3::after {
    margin: -14px;
    margin-top: -16px;
  }
}

@media only screen and (max-width:576px) {
  .pattern, .pattern.p1 {
    top: 45px;
    height: 100%;
    background-size: 135%;
    background-position: 68% top;
  }
  .padding {
    padding-top: 70%;
  }
  section .container, .sponsor .container {
    border-radius: inherit;
    margin-bottom: 5px;
    padding: 20px 15px;
  }
  .title img {
    padding-top: 0;
  }
  .content {
    margin: 0 auto;
    padding: 5px;
  }
  .previous {
    padding-bottom: 80px;
  }
  .swiper-pagination-bullets.info_list {
    bottom: 6%;
  }
  .swiper-button-next, .swiper-button-prev {
    bottom: 4%;
  }
  .sponsor {
    margin: 0 auto;
  }
  .sponsor .container {
    padding: 20px 15px 25px;
  }
  .sponsor .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  .sponsor img {
    margin: 10px 0 15px;
  }
  .sponsors {
    margin-top: 10px;
  }
  .sponsors img {
    margin: 5px 0;
  }
  .scrolltop {
    margin: -25px auto 15px;
  }
}