@charset "utf-8";
/* CSS Document */

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, "微軟正黑體", sans-serif;
  text-size-adjust: none;
  font-size: 15px;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body {
  
}

/*置頂按鈕*/
.gotop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 50px;
  height: 50px;
  background-color: #FFFFFF;
  padding: 15px 10px;
  opacity: 0;
  transition: all 0.4s ease-in-out 0s;
  z-index: 999;
  border-radius: 50%;
}
.gotop a {
  text-align: center;
  color: #262625;
  text-decoration: none;
}
.gotop:active {
  box-shadow: 1px 1px 3px 2px rgba(20%, 20%, 40%, 0.5) inset;
  transition: all 0s;
}

.wap {
  margin: 0;
  width: 100%;
  height: auto;
}
header {
  background: url(../images/header.jpg) no-repeat;
  background-size: cover;
  width: 100%;
  background-position: center;
  overflow: hidden;
  padding-bottom: 38%;
}

.b { width: 100%;  padding: 1% 0;text-align:center;
  background-color: #812DB2;overflow:hidden;
}
main {background: #e74c55;
  padding: 0px calc((100% - 1200px) / 2) 80px;
}

main .head {
  position: relative;
  width: 100%; 
}
main .head img {
  max-width: 100%;
}

main .head .firework {
  text-align: center;
}
main .head .firework img {
  animation: fireworkImg 1s linear;
  animation-fill-mode: both;
  animation-delay: 1s;
}
main .head .firework::after {
  content: "";
  display: block;
  width: 2px;
  background: #F8B62D;
  margin: 0 auto;
  animation: fireworkAf 0.8s linear;
  animation-fill-mode: both;
  height: 60px;
}

main .head .firework-1 {
  position: absolute;
  left: 10%;
  bottom: 30%;
}
main .head .firework-1 img {
  transform: scale(0);
  opacity: 1;
}
main .head .firework-1::after {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

main .head .firework-2 {
  position: absolute;
  right: 10%;
  bottom: 50%;
}
main .head .firework-2 img {
  transform: scale(0);
  opacity: 1;
}
main .head .firework-2::after {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}

main .head .firework-3 {
  position: absolute;
  right: 50%;
  bottom: 10%;
}
main .head .firework-3 img {
  transform: scale(0);
  opacity: 1;
}
main .head .firework-3::after {
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
}
@keyframes fireworkImg {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  90% {
    transform: scale(0.9);
    opacity: 1;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}
@keyframes fireworkAf {
  0% {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  }
  40% {
    clip-path: polygon(0% 40%, 100% 40%, 100% 90%, 0% 90%);
  }
  80% {
    clip-path: polygon(0% 20%, 100% 10%, 100% 20%, 0% 20%);
  }
  100% {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  }
}

main .mainTop {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background: #ff4500;
}
main .mainTop::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/corner.png) no-repeat;
  width: 132px;
  height: 130px;
  transform: rotateZ(180deg);
}
main .mainTop::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background: url(../images/corner.png) no-repeat;
  width: 132px;
  height: 130px;
  transform: rotateZ(270deg);
}

/* 考經輪播 */
.ba{background: #e74c55;overflow:hidden;padding-bottom: 80px;}
.wrapper2{width: 1200px; margin: 20px auto 40px;}
.slideB .content div{
	height: 200px;
	padding: 30px;
	margin: 10px;
	font-size: 1.05em;
	line-height: 1.5;text-align:left ;
}
.slideB .content h3{ color:#5b898c;text-align:center;}


/* 歷年榜單*/
main .top01 {
  margin: 10px auto;
  padding: 0px;
  background: #fff;
  box-sizing: border-box;
  outline: 8px solid #0071BC;
  position: relative;
	text-align:center;
}

main .top01 > div {
  box-sizing: border-box;
  padding: 40px 50px 40px;
  background-color: #ffffff;  
}
main .top01 > div table {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  border-spacing: 0;
}
main .top01 > div table tr:nth-child(odd) {
  background-color: #C3EDFC;
}
main .top01 > div table td {
  padding: 5px 10px;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.5;
  color: #231815;
}
main .top01 > div table td:nth-child(1) {
  width: 10%;
}
main .top01 > div table td:nth-child(2) {
  width: 43%;
  color: #525988;
}
main .top01 > div table td:nth-child(3) {
  width: 20%;
	color: #525988;
}
main .top01 > div table td:nth-child(4) {
  width: 27%;
}



main .mainBottom {
  position: relative;
  width: 100%;
  height: 130px;
  display: flex;
  justify-content: space-between;
  background: #ff4500;
}
main .mainBottom::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/corner.png) no-repeat;
  width: 132px;
  height: 130px;
  transform: rotateZ(90deg);
}
main .mainBottom::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background: url(../images/corner.png) no-repeat;
  width: 132px;
  height: 130px;
  transform: rotateZ(0deg);
}
.top {width: 100%; margin: 0 auto;
	text-align:center; 
	max-width: 1200px;
  }


.head1 {padding:0 0 20px;
  position: relative;
  width: 100%; 
}
.head1 img {
  max-width: 100%;
}


.updata {
  text-align: center;
  font-size: 1.3rem;
  color: #FFF;
}

/* 留單 */

.customer {
 text-align: center;
 width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 20px;
  background-color: #fff;
  border: 6px solid #dab57c;
}

footer {
  margin: 0;
  padding: 20px 5%;
  width: 100%;
  text-align: center;
  overflow: hidden;
}
footer ul {
  margin: 0;
  padding: 10px 5% 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
footer ul li {
  border-left: 1px solid #dab57c;
  line-height: 1.2;
  padding: 0 10px;
  margin-bottom: 5px;
}
footer ul li:first-child {
  border-left: 0px;
}
footer ul li a {
  text-decoration: none;
  color: #FFF;
  font-size: 1rem;
}
footer p {
  color: #FFF;
  line-height: 1.6;
}







/* ===== moblie ===== */
@media (max-width: 600px) {
  main {
    padding: 0px 3% 40px;
  }

  main .mainTop::before {
    width: 80px;
    height: 80px;
    background-size: cover;
  }
  main .mainTop::after {
    width: 80px;
    height: 80px;
    background-size: cover;
  }

header {
        background-image: url(../images/header-m.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: auto;
        padding-bottom: 85%;
    }	
  /* 考經輪播 */
	.ba{padding-bottom: 10px;}
.wrapper2{width: 1200px; margin: 20px auto 40px;}
	.wrapper2{width: 100%; margin: 0;}
  .slideB{ width: 100%; }
.slideB .content div{ 
	height: 260px;
	padding: 20px;
	font-size: 0.95em;
    }

  /* 歷年榜單*/
  main .top01 {
    margin: 10px 0px 0px;
  }
 
  main .top01 > div {
    padding: 20px 15px 20px;
  }
  main .top01 > div table td {
    font-size: 0.9rem;
    line-height: 1;
  }

 
.b img{max-width:340px;}
 
  
  

  .updata {margin: 10px auto ;
    font-size: 1rem;
  }

  main .mainBottom {
    height: 80px;
  }
  main .mainBottom::before {
    width: 80px;
    height: 80px;
    background-size: cover;
  }
  main .mainBottom::after {
    width: 80px;
    height: 80px;
    background-size: cover;
  }
	
.head1 {padding:20px 0 0 ;
  }
	
  /* 留單 */
  .customer {width: 95%;
    border: 1px solid #dab57c;
  }
  footer {
    margin: 0;
    padding: 10px 3%;
  }
  footer ul {
    padding: 10px 8%;
  }
}
.top img {
    width: 85%;  }



