@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 {
  background: #b27bb3;
}

/*置頂按鈕*/
.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: 48%;
}

.b { width: 100%;  padding: 1% 0;text-align:center;
  background-color: #b27bb3;overflow:hidden;
}

.content{
	width:100%;
	max-width:1200px;
	margin:0 auto;
	padding:0;
	text-align:center;}
.content2{
	width:100%;
	max-width:1500px;
	margin:0 auto;
	padding:0;
	text-align:center;}

/*圖片切換*/
.pic{
	width:100%;
	margin:0 auto;
	padding:0;
	text-align:center;}
.pic img{
	max-width:1920px;}
.pic-m{
	width:0;
	height:0;
	overflow:hidden;}

main {
  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);
}

/* 考經輪播 */
.wrapper2{width: 1200px; margin: 20px auto 40px;}
.slideB .content div{
	height: 200px;
	padding: 30px;
	margin: 10px;
	background-color: #FFFFFF;
	font-size: 1.05em;
	line-height: 1.5;text-align:left ;
}
.slideB .content h3{ color:#5b898c;text-align:center;}
.f1{background-color:#ce5e5e; color:#FFFFFF;font-weight: bolder;line-height: 1.2;}
.f2{color:#e23317;font-weight: bolder;}

/* 歷年狀元*/
main .bo01 {
  width: 1200px;
  margin: 20px auto 40px;
  padding: 5px;
  float: left;overflow:hidden;
}
main .bo01 ul { margin: 0;
      padding: 0;
      list-style: none; /* 移除 li 前面的點點或數字 */
        }
main .bo02 {
	margin: 1%;
  width: 23%; /* 25% 減去 padding 的空間 */
  padding: 5px; /* 1% + 1% = 2% */
  float: left; /* 讓元素向左浮動 */
  background: #fff;
  text-align: center;
  box-sizing: border-box; /* 同樣建議使用 */
}

main .bo03 {
  width: 100%;
  margin: 0 auto;
  padding:5px;
  background: #b81c25;
  font-size: 2rem;
  color: #fac243;
  font-weight: bold;
}
main .bo04 {
  width: 100%;
  margin: 0 auto;
  padding:10px;
  background: #efcbdb;
  font-size: 1.2rem;
  color: #231815;
}
main .bo05{ font-size: 1.6em;font-weight: bold;}
/* 榜單*/
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: 18%;}
main .top01 > div table td:nth-child(2) {
  width: 62%;
  color: #525988;}
main .top01 > div table td:nth-child(3) {
  width: 20%;}


/* 前10榜單*/

main .h1 {margin: 10px auto;
  padding: 1%;font-size: 3rem;font-weight: bold;
  line-height: 1.5; text-align:center;
  color: #ffffff;}

main .top02 {
  margin: 10px auto;
  padding: 0px;
  background: #fff;
  box-sizing: border-box;
  outline: 8px solid #b7b6b6;
  position: relative;
	text-align:center;
}

main .top02 > div {
  box-sizing: border-box;
  padding: 40px 50px 40px;
  background-color: #ffffff;  
}
main .top02 > div table {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  border-spacing: 0;
}
main .top02 > div table tr:nth-child(odd) {
  background-color: #f9dea2;
}
main .top02 > div table td {
  padding: 5px 10px;
  font-size: 2.6rem;
  font-weight: bold;
  line-height: 1.5;
  color: #231815;
}
main .top02 > div table td:nth-child(1) {
  width: 54%;color: #383290; }
main .top02 > div table td:nth-child(2) {
  width: 24%;color: #c1272d;  }
main .top02 > div table td:nth-child(3) {
  width: 22%;}




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;
  }

.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;
  }

	
/*圖片切換*/
	
.content{
	width:100%;
	max-width:100%;
	margin:0 auto;
	padding:0;
	text-align:center;}
.content2{
	width:100%;
	max-width:100%;
	margin:0 auto;
	padding:0;
	text-align:center;}	
	
.pic{
	width:0;
	height:0;
	overflow:hidden;}
.pic-m{
	overflow:visible;
	display:block;
	width:100%;
	height:auto;
	margin:0;}
	
	
  /* 考經輪播 */
	.wrapper2{width: 100%; margin: 0;}
  .slideB{ width: 100%; }
.slideB .content div{ 
	height: 260px;
	padding: 20px;
	font-size: 0.95em;
    }

/* 歷年狀元*/
main .bo01 {
  width: 100%;
  margin: 5px auto 10px;
  padding: 5px;
  float: left;overflow:hidden;
}
main .bo01 ul { margin: 0;
      padding: 0;
      list-style: none; /* 移除 li 前面的點點或數字 */
        }
	
main .bo02 {
	margin: 1%;
  width: 48%; /* 25% 減去 padding 的空間 */
  padding: 5px; /* 1% + 1% = 2% */
  float: left; /* 讓元素向左浮動 */
   box-sizing: border-box; /* 同樣建議使用 */
}

main .bo03 {
  width: 100%;
	height: 20%;
   padding:5px;
   font-size: 1.6rem;
  
}
main .bo04 {
	height: 90px;
  width: 100%;
   padding:10px;
    font-size: 1rem;
  }	
	
main .bo05{ font-size: 1.5em;}
  /* 榜單*/
  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;
  }

 
/* 前10榜單*/
main .h1 {font-size: 1.5rem;}	
	
  main .top02 {
    margin: 10px 0px 0px;
  }
 
  main .top02 > div {
    padding: 20px 15px 20px;
  }
  main .top02 > div table td {
    font-size: 0.9rem;
    line-height: 1;
  }	
	
.b img{max-width:340px;}
 
  
  

  .updata {margin: 20px auto 50px;
    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;
  }

  /* 留單 */
  .customer {width: 95%;
    border: 1px solid #dab57c;
  }
  footer {
    margin: 0;
    padding: 10px 3%;
  }
  footer ul {
    padding: 10px 8%;
  }
}
.top img {
    width: 85%;  }



