@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);
*, *::after, *::before { -webkit-box-sizing: border-box; box-sizing: border-box; }
body {  
  margin: 0 0; 
  background:#f1e7ff url(img/bg.png) repeat;
  background-position: top center;
  font-size: 1.1em;
  line-height: 1.8;
  color: #666;
  font-weight: 300;
  overflow-x: hidden;
  font-family: "Arial","Noto Sans TC" , sans-serif;
  /*#fdf07a */
}
#gotop {
width:3.8em;
height:3.8em;
text-align: center;
border:1px solid #ddd;
position: fixed;
right: 10px;
bottom: 10vh;
border-radius:50%;
padding:6px 0px;
font-size:0.9em;
background: rgba(0,0,0,0.7);
border: 1px;
color: white;
cursor: pointer;
z-index: 300;

}

@media screen and (max-width:46em){
  #gotop {
  font-size:13px;
  padding-top: 5px;
  bottom:65px;
  }
  body {  
    font-weight: 300;
}
}

footer {
  position: relative;
  bottom: 0;
  color: #fff;
  padding: 8vh 8vw;
  background-color: rgba(77, 144, 254,1.0);
}
footer h2{
  font-size:1.1em;
  line-height: 1.8;
  margin: 0 0px;
  text-align: left;
}
footer h3 {
  font-size: 1em;
  margin: 0 0;
  padding: 0 0 1vh 0.8vw;
  text-align: left;
}
.win{
  width:38vw;
  display: inline-block;
  vertical-align: top;
  color: #fff;
}
.add{width:100%;color: #fff;}
.add td{padding: 5px 1px;}

footer nav{
  width: 11vw;  
  /*font-weight: 600;*/
  text-align: right;
  display: inline-block;
  vertical-align: top;
  margin: auto 0 auto 2vw;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover,
footer a:focus {
  color: #fff;
  text-decoration: none;
}
footer a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
footer nav a{
  color: #fff;
  text-decoration: none;
  line-height: 1.8;
  display: block;
  text-align: left;
}
footer nav a:hover{
  font-weight: 600;
  color: #ffff00;
}
footer span{
  background-color: #fff;
  color: rgba(77, 144, 254,1.0);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 600;
}
.shere{  
  display: inline-block;
  font-size:2.2em;
}
footer i{
  color: #fff;
  margin: auto 1vw;
}
@media (max-width: 68em){
  .win{
  width:50vw;
  display: inline-block;
  vertical-align: top;
}
footer {
  color: #fff;
  padding: 8vh 5vw;
  background-color: rgba(77, 144, 254,1.0);
}
footer nav{
  margin: auto 0 auto 6vw;
}
.add{font-size: 14px;}
}
@media (max-width: 50em){
 .win{
  width: 100%;
  font-size: 14px;
  display: block;
}
footer {
  font-weight: 300;
  color: #fff;
  font-size:13.5px;
  padding:5vh 3vw 10vh 3vw;
  background-color: rgba(77, 144, 254,1.0);
}
footer nav{
  width: 25vw;  
  margin-top: 3vh;
  margin-left:0vw;
  vertical-align: top;
}
.shere{  
  vertical-align: bottom;
  font-size: 1.6em;
}
}

#message{
  color:#333;
  text-align: center;
  padding: 5vh 10vw;
  margin: 0 auto;
}
#message h2{
  font-size: 2.2em;
  line-height: 1.2;
  margin-top:50px;
  margin-bottom: 5px;
  color:#0033cc;
  font-weight: 600;
  text-align: center;
}
h1,h2,h3,h4,h5,p { margin: 0;padding: 0;font-weight: 400; }
table {border-collapse: collapse;border-spacing: 0;}
@media (max-width: 767px) {.hidden-xs {display: none !important;}}
@media (min-width: 768px) and (max-width: 991px) {.hidden-sm {display: none !important;}}
@media (min-width: 992px) and (max-width: 1199px) {.hidden-md {display: none !important;}}
@media (min-width: 1200px) {.hidden-lg {display: none !important;}}
a {text-decoration: none;}
.red {color: #F00;font-weight: 600; font-family: "Arial Black" , "Noto Sans TC", sans-serif;}
.r_bg{
  background-color: #f00;color: #fff;padding: 5px 10px;border-radius: 20px;
}
.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:10rem;padding:.5rem 0;margin:.125rem 0 0;font-size:1rem;color:#212529;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:.25rem}.dropup .dropdown-menu{margin-top:0;margin-bottom:.125rem}.dropup .dropdown-toggle::after{display:inline-block;width:0;height:0;margin-left:.255em;vertical-align:.255em;content:"";border-top:0;border-right:.3em solid transparent;border-bottom:.3em solid;border-left:.3em solid transparent}.dropup .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-menu{margin-top:0;margin-left:.125rem}.dropright .dropdown-toggle::after{display:inline-block;width:0;height:0;margin-left:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-bottom:.3em solid transparent;border-left:.3em solid}.dropright .dropdown-toggle:empty::after{margin-left:0}.dropright .dropdown-toggle::after{vertical-align:0}.dropleft .dropdown-menu{margin-top:0;margin-right:.125rem}.dropleft .dropdown-toggle::after{display:inline-block;width:0;height:0;margin-left:.255em;vertical-align:.255em;content:""}.dropleft .dropdown-toggle::after{display:none}.dropleft .dropdown-toggle::before{display:inline-block;width:0;height:0;margin-right:.255em;vertical-align:.255em;content:"";border-top:.3em solid transparent;border-right:.3em solid;border-bottom:.3em solid transparent}.dropleft .dropdown-toggle:empty::after{margin-left:0}.dropleft .dropdown-toggle::before{vertical-align:0}.dropdown-divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}.dropdown-item{display:block;width:100%;padding:.25rem 1.5rem;clear:both;font-weight:400;color:#212529;text-align:inherit;white-space:nowrap;background-color:transparent;border:0}.dropdown-item:focus,.dropdown-item:hover{color:#16181b;text-decoration:none;background-color:#f8f9fa}.dropdown-item.active,.dropdown-item:active{color:#fff;text-decoration:none;background-color:#007bff}.dropdown-item.disabled,.dropdown-item:disabled{color:#6c757d;background-color:transparent}.dropdown-menu.show{display:block}

/*tossing*/
.linefirend{
	font-size:2.5em;
	animation-name: linefirend;
	-webkit-animation-name: linefirend;	
	animation-duration: 2.5s;	
	-webkit-animation-duration: 2.5s;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}
@keyframes linefirend {
	0% {transform: rotate(-4deg);}
	50% {transform: rotate(4deg);}
	100% {transform: rotate(-4deg);}						
}
@-webkit-keyframes linefirend {
	0% {-webkit-transform: rotate(-4deg);}
	50% {-webkit-transform: rotate(4deg);}
	100% {-webkit-transform: rotate(-4deg);}				
}
@media (max-width: 767px){
	.linefirend{
	font-size:1em;
	animation-name: linefirend;
	-webkit-animation-name: linefirend;	
	animation-duration: 2.5s;	
	-webkit-animation-duration: 2.5s;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}
}
header{
	background-image: url(img/bg_top.png);
	background-position: bottom left;
	background-repeat: no-repeat;
	background-size: 50%;
	padding-bottom:20vh;
	position: relative;

}
header .title{
	width: 65vw;
	height:auto;
	padding: 0 6vw 5vh 0;
	margin: auto;
	margin-right: 0;
	text-align: center;

}
header img{
	width:95%;
	height: auto;
}
header nav{
	margin-top: 6vh;
}
header nav a{
	background-color: #06c;
	color: #fff;
	padding:5vh 1vw;
	margin: 0 0.5vw;
	border-radius: 50%;

}
h1 {
	font-size: 1.5em;
	line-height: 1.5;
	
}
section {
  padding: 2vh 8vw;
  background-color: #fffbbe;
}
@media (max-width:55em){
  header{
  background-image: url(img/bg_top.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 88%;
  padding-bottom:30vh;

}
header .title{
  width: 100%;
  height:auto;
  padding: 5vh 0vw 5vh;
  margin: auto;
  text-align: center;

}
header img{
  width: 100%;
  height: auto;
}
header nav{
  margin-top: 5vh;
}
header nav a{
  background-color: #06c;
  color: #fff;
  padding:4vh 2vw;
  margin: 0 0.1vw;
  font-size: 16px;

}
section {
  padding: 2vh 5vw;
  background-color: #fffbbe;
}
}


#leam {
  text-align: center;
  padding: 5vh 0;
}
#leam h3 span{
  background-color: #ff355e;
  color: #fff;
  border-radius: 35px;
  padding: 1vh 2vw;

}

#leam img {
  width: 100%;
  height: auto;
}
#leam ul { 
  margin: 0 0;
  padding: 0 0;
  list-style: none;
  
}
#leam ul li{
  text-align: left;
}
#leam ul li:before{
    content: "\f00c";
  font-weight: 900;
  font-family: 'Font Awesome 5 Free';
  position: relative;
  font-size: 1em;
  line-height: 1.2;
  color: #ff355e;
  left: -8px;
  }
.leam {
  width: 20vw;
  padding: 3vh 3vw;
  display: inline-block;
}
@media (max-width:55em) {
#leam {
  padding:5vh 0vw;
  text-align: center; 
}
#leam h3 span {
  padding: 1vh 3vw;
}
#leam img {
  width: 80%;
  height: auto;
}
#leam ul { 
  margin: 0 0;
  padding: 0 0;
  list-style: none;
  
}
#leam ul li{
  text-align: left;
}
#leam ul li:before{
  font-size: 0.65em;
  left: 0px;
  padding-right: 2px;
  }
.leam {
  width:48.5%;
  padding: 1vh 1vw;
  display: inline-block;
  vertical-align: top;
  margin:1vh 0;
}
}
#sale {
  margin:auto;
  margin-bottom: 3vh;
  text-align: center;
  font-size: 1.1em;
  color: #666;
  z-index: 10;
  position: relative;
  background: #fffbbe;
}
#sale h2 {
  color: #259d61;
  font-size: 2.2em;
  line-height: 1.3;
  font-weight: 600;
  font-size: 1.2em;
  padding-top: 2vh;
  padding-bottom: 2vh;
  border-bottom: 2px solid #259d61;
  border-top: 2px solid #259d61;
}
#sale h2 span{
  font-size: 2em;
}
#sale h3{
   font-size: 1.3em;
   line-height: 1.5;
   color:#401a47;
    font-weight: 500;
}
#sale p span{
   font-size: 1.6em;
   text-decoration: underline;
   color: #ff4242;
   margin-bottom: 0px;
}
#sale p{
   margin-bottom: 0px;
}

#sale h4{
  margin-top: 5vh;
}
#sale ol {
  text-align: center;
  margin: 0 0;
  padding: 0 0;
}
#sale ol li {
  /*text-align: left;*/
  display: inline-block;
  border-left: 1px solid #666;
  padding-left: 0.5vw;
}
.sale {
  width:25vw;
  display: inline-block;
  margin:2vh 1vw;
  padding: 5vh 0.3vw 0vh 0.3vw;
  border-radius: 3em;
  background-color:#f1e7ff;
  text-align: center;

}
.sale img {
  width:10vw;
  height: auto; 
  position: relative;
  top: 3vh;


}
@media screen and (max-width: 65em) {
  .sale{
  width:80vw;
  display: block;
  margin:auto;
  margin-top: 5vh;
  padding: 5vh 0.5vw 0vh 0.5vw;
  border-radius: 3em;
}
#sale ol {
  padding-top: 5vh;
  font-size: 15px;
}
.sale img {
  width:26vw!important;
  height: auto; 
  position: relative;
  top: 3vh;


}
#sale h2 {
  margin:3vh 5vw;
  font-size: 1.1em;
}
#sale h2 span{
  font-size: 1em;
}

}
#student{
	text-align: center;
  color: rgba(255, 140, 114, 1);
  font-size: 1.1em;
}
#student h2 {
	font-size: 1.2em;

}
#student p {
  font-weight: 300;
  color: #666;

}
.name_st img {
  border-radius: 50%;
  margin-right: 1vw;
  width:8vw;
  height:auto; 
  vertical-align: top;
  background-color: rgba(253, 173, 156,0.2);
  z-index: 300;
}
.name_st{
  width: 46%;
  margin:2vh 1vw;
  padding: 5vh 3vw;
  text-align: left;
  background-color: #fff;
  border-radius: 3em;
  display: inline-block;


}
.st-t{
  margin-right: right;
  margin-left: auto;
  margin-top: 5vh;
}
@media (max-width:55em){
#student{
  padding: 5vh 0vw;
}

.name_st img {
  border-radius: 50%;
  margin-right: 2vw;
  width:25vw;
  height:auto; 
}
.name_st{
  width: 100%;
  margin:2vh 1vw;
  padding: 5vh 5vw;
  border-radius: 0em;


}
}
#test {
  margin: auto;
  margin-top:-18vh;
  border-radius: 0;
  padding: 22vh 8vw 8vh 8vw; 
  text-align: center;
  color: #333;
  background-color: #fffbbe;

}
#test img {
  width: 5vw;
  height:auto;
}
#test p {
  vertical-align: top;
  font-size: 1.35em;
}
#test p span {
  font-weight: 600;
  background-color: #f00;
  color: #fff;
  padding: 1vh 1vw;

}
#test p ins {
  font-size: 60%;
}
#test h2 {
 /* background : url(img/titile.png)no-repeat;
  background-position: bottom center;
  background-size: 26%;*/
  color: #259d61;
  font-size: 2.2em;
  line-height: 1.3;
  font-weight: 600;
}
.test_tb,.test {
  width:45%;
  display: inline-block;
  margin: 1vh 1vw;
  vertical-align: top;
}
.test {
  padding: 3vh 2vw;
  background-color: #fff;
  border-radius: 2em;
  color: #666;
}
#test table {
  width: 100%;
  border: solid 3px #ff8c8c;
  background-color:#fff5f6;
  line-height: 1.5;
  margin-bottom: 5vh;
  /*#eefae7*/
}
#test table th {
   background-color:#ff8c8c;
   color: #fff;
}
#test table td,#test table th{
  padding: 0.8vh 0.6vw;
  border-right: solid 1px #ff8c8c;
  border-bottom: solid 1px #ff8c8c;
}
#test table tr:nth-child(2n) td{
  background-color: #fff;
  font-weight: 600;
  color: #ff6156;

}
#test table tr:nth-child(2n-1) td{
  font-size: 80%
}
#test h3 {
  font-size: 1.5em;
  line-height: 1.8;
  color: #41c985;
  text-align: left;

}
#test ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;

}
#test ul span {
  color: #ff6156;
  font-weight: 400;
}
@media screen and (max-width: 65em) {
#test {
  margin: auto;
  margin-top:-12vh;
  border-radius: 0;
  padding: 22vh 3vw 8vh 3vw; 
  text-align: center;
  color: #333;
  background-color: #fffbbe;

}
.test_tb,.test{
  width:95%;
  margin: 2vh 0vw;
  font-size: 16px;
}
.test {
  padding: 5vh 5vw;
}
#test table {
  width: 100%;
  border: solid 3px #ff8c8c;
  background-color:#fff5f6;
  line-height: 1.5;
  margin-bottom:3vh;
  /*#eefae7*/
}
#test table th {
   background-color:#ff8c8c;
   color: #fff;
}

#test h3 {
  font-size: 1.6em;
  line-height: 1.8;
  font-weight: 600;

}
#test h2 {
    margin:0 0 3vh 0;
    padding-bottom: 0vh;
  font-size: 1.8em;
}
#test h2 span{
  font-size: 2em;
}
#test img {
  width:12vw;
  height:auto;
}
#test p {
  vertical-align: top;
  font-size: 16px;
}
}


.swiper {
  width: 100%;
}

.swiper-slide {
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: solid 1px #2a2921;
}

#ads {
  /* background-color:rgb(255 217 185); */
  padding: 5vh 2vw;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 400;
}

.ads,
.superbox_sale {
  margin: 1vh 1vw;
  width: 46%;
  background: #e9e8e8 url(img/toeic_bg.png) no-repeat;
  background-position: bottom center;
  border-radius: 1em;
  padding: 5vh 2vw;
  text-align: center;
  border: solid #fff 2px;
  display: inline-block;

}

.ads:hover,
.superbox_sale:hover {
  cursor: pointer;
}

.superbox_sale {
  background-color: #efe8ff;
}

.superbox_sale img {
  width: 48%;
  height: auto;
  background-color: rgb(255, 240, 240);
  border: solid #2a2921 1px;
  display: inline-block;
}

#ads p {
  vertical-align: top;
  font-size: 1.35em;
}

#ads p span {
  font-weight: 600;
  background-color: #f00;
  color: #fff;
  padding: 1vh 1vw;

}

#ads p ins {
  font-size: 60%;
}

#ads h3 {
  /* color: #622f15; */
  font-size: 1.35em;
  line-height: 1.3;
}

#ads h4 {
  text-align: center;
}

#ads h4 span {
  color: #1dcd00;
  font-family: "Baloo", "Noto Sans TC", "Arial", sans-serif;
  font-weight: 800;
  font-size: 2em;
}

#ads nav {
  margin-top: 6vh;
}

#ads nav a {
  background-color: #1dcd00;
  color: #fff;
  padding: 6vh 1vw;
  margin: 0 0.5vw;
  border-radius: 50%;

}

@media screen and (max-width: 55em) {

  #ads h2 {
    font-size: 1.25em;
  }

  #ads h2 span {
    font-size: 1.8em;
  }

  #ads p {
    vertical-align: top;
    font-size: 1.1em;

  }

  #ads nav {
    margin-top: 5vh;

  }

  #ads nav a {
    padding: 4vh 2vw;
    margin: 0 0.1vw;
    font-size: 15px;

  }

  #ads {
    background-color: rgb(254, 175, 169, 0.5);
    padding: 5vh 3vw;
    text-align: center;
    letter-spacing: 0;
  }

  .ads,
  .superbox_sale {
    margin: 2vh 1vw;
    width: 95%;
    border-radius: 1em;
    padding: 5vh 2vw;

  }

  .superbox_sale img {
    width: 88%;
    height: auto;
  }
}
