@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Teko:wght@300;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=UoqMunThenKhung&family=Yusei+Magic&family=Zen+Kurenaido&display=swap');  
*, *::after, *::before { -webkit-box-sizing: border-box; box-sizing: border-box; }
::selection{background: #ffc690;}
body {  
  margin: 0 0; 
  /* background: #ffcece url(img/px2.png);*/
   background:url(img/px.png); 
  background-position: top center;
  font-size: 1.1em;
  line-height: 1.8;
  letter-spacing: 0.5px;
  font-weight: 300;
  overflow-x: hidden;
  font-family: "Arial","Noto Sans TC" , sans-serif;
  --color-text: #111;
  --color-number: #999;
  --color-bg:#70DBDC;
  --color-bg-2: #86ebff;
  --color-bg-3: #eaf8ff;
  --color-link: #ffcccc;
  --color-link-hover: #fff;
  --color-title: #fff5a6 ;
}
#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 {
  background:#fff1cc url(img/bgm.png)center bottom;
  background-size:115%;
}
}

h1,h2,h3,h4,h5,h6,p,ul,ol { margin: 0;padding: 0;font-weight: 400; }
table {border-collapse: collapse;border-spacing: 0;}
@media (min-width:55em) {.br_d {display: none !important;}}

@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;}
.logock{
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: solid 1px #ffffffe7;
    color: #099587;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 1.5em;
    position: fixed;
    top: 0;
    left: 0;
    padding:3px 0 1px 2vw;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    z-index: 99;
}
#ads {
  background-color: #ffd5c0;
  display: flex;
  flex-wrap: wrap;
  justify-content:space-around;
  align-items: center;
  padding: 5vh 15vw;
  margin: auto;
  letter-spacing: 1px;
  text-align: center;
  font-weight: 400;
  color: #333;

}
#ads h3,
#ads div {
   width:48%;
  padding: 0vh 0vw;
  text-align: center;
}
#ads img:hover {
  cursor: pointer;
}

#ads img {
    width:90%;
  border-radius: 1em;
  height: auto;
  background-color: rgb(255, 240, 240);
  border: solid #2a2921 1px;
}


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

#ads h3 {
  font-size: 1.85em;
  line-height: 1.5;
}

#ads h4 {
  width: 100%;
  text-align: center;
}

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

@media screen and (max-width: 55em) {
  #ads {
    padding: 5vh 10vw;
  }
   #ads h3,
   #ads div {
   width:100%;
  padding: 0vh 0vw;
}
}
main {
    position: relative;
    
}


header {
   background: url(img/bg.png)no-repeat bottom -3vh center;
    background-size:55%;
   color: #fff;
   line-height: 1.2;
   letter-spacing: 1px;
   position: relative;
   padding: 5vh 5vw 28vh 5vw;
   
}
header section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

}
header section>div {
  width: 52%;
}
header section>div:nth-child(2) {
  width: 45%;
}
header img {
  width:15%;
  position: absolute;
  left: -2vw;
  bottom: -2vh;
  z-index: 2;
}
header h1 {
    position: relative;
    z-index: 99;
    color:#234a15;
    font-weight: 400;
    font-family: "UoqMunThenKhung", serif;
    font-size:6.8em;
    line-height: 1.1;
    letter-spacing: -5px;
    text-align: center;
}
header h1 strong {
  font-size:132%;
  display: block;
  font-weight: 400;
}
header h1 small {
  font-size:58%;
  display:block;
  padding-top: 2vh;
  letter-spacing: 1px;
}

header h5{
    color: #1aa696;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 3.2em;
    padding: 0 0 0 2vw;
  
}
 .ytplayer {
    width: 55vw;
    height:620px;
    border: solid 3px #234a15;;
  }
  @media screen and (max-width:65em) {
  header section {flex-wrap: wrap;}
  header section>div,header section>div:nth-child(2) {width: 100%;}
    }
  @media screen and (max-width: 40em) {
    header {
   background:#fff1cc  url(img/bg.png)no-repeat bottom -2vh center;
   background-size:85%;
   line-height: 1.2;
   padding: 8vh 5vw 8vh 5vw;
}
header img {
  display: none;
}
header h1 {
    font-size:3.5em;
}
header h5{
    color: #1aa696;
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size:1.8em;
    padding: 0 0 0 2vw;
}
  .ytplayer {
    width:500px;
    height:380px;
    border: solid 3px #234a15;;
  }
}
article {
    padding: 5vh 8vw;
    /* padding: 5vh 20vw 5vh 5vw; */
}
article h2 {
  background: url(img/bgm.png)center bottom no-repeat;
  background-size:68%;
  line-height: 1.8;
   color: #234a15;
  text-align: center;
  padding-bottom: 5vh;
  font-weight: 400;
  font-family: "UoqMunThenKhung", serif;
  font-size: 3em;

}
article h2 span {
  font-size:1.25em;
  line-height: 1.2;
  display: block;
}
article h2 span::before{
    content: '＼';
    font-size:35%;
    padding: 1vw;
}
article h2 span::after{
    content: '／';
    font-size:35%;
    padding: 1vw;
}
article h3 {
  color: #ff9427;
  font-size: 1em;
}
article>section {
  width: 100%;
  text-align: left;
  display: flex;
  display: -webkit-flex;
  align-items:self-start;
  justify-content:space-between;
  /* border-bottom: solid 3px; */
  
}

article table {
  width: 100%;
}
article table td {
  border-bottom: solid 1px;
  padding: 1.5vh 1vw;
}
article table tr:last-child td {
  border-bottom: solid 0px;

}
article table tr td:first-child {
  border-right: solid 1px;
  text-align: center;

}
article table th {
  text-align: center;
  width: 20%;
}

@media screen and (max-width: 55em) {
    article {
    padding: 5vh 5vw;
    /* padding: 5vh 20vw 5vh 5vw; */
}

}
@media screen and (max-width: 40em) {
  article h2 {
  background:none;
  font-size: 1.8em;

}
  article h2 span {
    font-size: 1em;
    text-align: center;
  }

}


#exam {
    position: fixed;
    right: 2vw;
    top: 0;
    border-left: solid 2px orange;
    padding: 8vh 0vw 0;
    width: 15vw;
    text-align: center;
    font-size: 0.9em;
    display: none;

     
}
#exam img {
    width: 85%;
}
#exam ul {
    list-style: none;
}
#exam ul li {
    padding:1vh 1vw;
    text-align: left;
}
#exam ul li time {
    padding: 1vh 1vw ;
    background: #ff903c;
    color: #fff;
    border-radius: 1em;
    margin-right: 1vw;
    
}
#teacher h2 img{
   width:300px;
   
}

#teacher {
   background: #ffe1e1 url(img/px2.png);
   background-size: 2%;
    margin: 0;
    text-align: center;
}
#teacher>section {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    align-items:stretch;
    justify-content: space-between;
}
#teacher>section div {
    width: 49%;
    text-align: left;
    padding: 2vw 0vw;
     position: relative;
    margin-bottom:1vh;


}
#teacher figure {
    display: flex;
    display: -webkit-flex; 
    align-items:flex-end;
    position: relative;
    padding: 0;
    margin: 0;
    
}
#teacher  figcaption {
  padding: 5vh 3vw;
  width: 80%;
  margin-right: 0;
   border-radius: 1em;
 background-color: #fff;
}
#teacher>section figure img {
    width:28%;
    height: auto;
     position: absolute;
     right: -1vw;
}

#teacher strong {
  font-family: "UoqMunThenKhung", serif;
    font-size:2.8em;
    color: #5a4b99;
    line-height: 1.2;
    padding-right: 0.2vw;
    font-weight: 300;

}
#teacher ins {
    padding: 0 1vw;
}
#teacher ul {
    padding: 0 0 0 22px;
    list-style: disc;
    
}
#teacher figcaption  span {
    font-size: 1.25em;
    font-weight: 400;
    color: #5a4b99;
    border-bottom: solid 1px #ffd8e0;
    display: block;
    padding-bottom: 1vh;
    margin-bottom: 2vh;
}
#teacher i {
  font-size:300%;
  color: #f00;
}
#teacher a,#teacher a:hover {
  color: #666;
  text-align: right;
}

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

#teacher>section div {
    width: 100%;

}
#teacher h2 img{
   width:150px;
   
}

#teacher  figcaption {
  padding: 5vh 3vw;
  width: 100%;
}
#teacher>section figure img {
    width:28%;
    height: auto;
     position: absolute;
    left: -5vw;
    top: -3vh;
}
#teacher figcaption p {
  padding-left:28%;
}
#teacher strong {
  font-family: "UoqMunThenKhung", serif;
    font-size:1.8em;
    color: #5a4b99;
    line-height: 1.2;
    font-weight: 300;

}

#teacher figcaption  span {
    font-size: 1em;
}
#teacher i {
  font-size:200%;
  color: #f00;
}

}
#down {
  background:#ffdbc8;
  text-align: center;
   position: relative;
   padding:5vh 8vw;
}
#down section {
        flex-wrap: wrap;
    position: relative;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 3em;
     padding: 3vh 0vw;
}
#down h2 span {
  line-height: 1.2;
  font-weight: 400;
}
.p1 {
    width: 35%;
    padding: 3vh 1vw;
    border-radius: 1em;
}
#down .p1 h3 {
    font-size: 0.9em;
}
.p2 {
  width: 65%;
  padding: 3vh 1vw 3vh 0;
  vertical-align: top;

}
#down h2 span {
  font-size: 1.5em;
}
#down .content {
    padding: 0;
}
@media screen and (max-width: 65em) {

  .p1,.p2{
    width:100%;
    margin:0;
    margin-bottom: 1vh;
  }
}
@media screen and (max-width: 55em) {
    #down {
   padding:0 5vw 5vh 5vw;
   /* #ffc53f */
}
#down section {
    background-color: rgba(255, 255, 255, 0);
}
} 
#socail_icon {
    padding: 0;
  }
  #socail_icon_box a {
    background-color: #1f8bd9;
  }
  #socail_icon a::before {
    content:none;
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      padding-right: 0;
  }
  @media screen and (max-width: 575px) {
    #socail_icon_box {height: 8vh;}
    #socail_icon_box a.bg_line {padding: 0.5em 0.1em 0.4em;}
    #socail_icon {margin-top: 0; background-color: rgba(54, 50, 0, 0)}
    #socail_icon_box a.w100 img {
        pointer-events: none;
        display: block ;
        position: absolute; 
        z-index: 10; 
        width: 40px; 
        height: 40px; 
        top: 18px!important;
        left: 10%!important;
    }
    #socail_icon_box a.bg_line {
        padding: 0.2em 0.15em 0.2em !important;
    }
    #socail_icon_box {
         height: 6.5vh !important;
    }
}

#talk {
    margin: 3vh 0;
    padding: 5vh 5vw;
}
#talk ul {
    display: flex;
    display: -webkit-flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding-bottom:15vh;
    background: url(https://www.easywin.com.tw/AD/114/0206/img/talk.png)no-repeat bottom left;
    background-size:22%;
    color: #0c6252;
}
#talk ul li:nth-child(2) {
    width: 62%;
}
#talk ul li:first-child {
    width: 22%;
    
}
#talk h3 {
    font-size: 1.85em;
    line-height: 1.5;
}
#talk .countySelect, #talk .storeSelect {
    font-size:1.1em;
    color: #666;

}

@media screen and (max-width:65em) {
   #talk ul {
        padding-bottom:18vh;
        background: url(https://www.easywin.com.tw/AD/114/0206/img/talk.png)no-repeat bottom left -3vw;
        background-size:35%;
    }
    #talk ul li:nth-child(2) {
        width: 68%;
    }
    #talk h3 {
        font-size: 2em;
        line-height: 1.5;
    }
}
@media screen and (max-width:40em) {
    #talk ul {
        padding-bottom:6vh;
        background: url(https://www.easywin.com.tw/AD/114/0206/img/talk.png)no-repeat bottom left -5vw;
        background-size:45%;
    }
    #talk ul li:nth-child(2) {
        width: 66%;
    }
    #talk h3 {
        font-size: 1.25em;
        line-height: 1.5;
    }
    #talk h2 {
        font-size:1.35em;
    }
}
.swiper {
    width: 100%;
    height: 100%;
    padding: 5vh 0vw;
    
    
  }
  .swiper-slide {
    padding: 1vh 0vw;
    text-align: center;
  }

  @media screen and (max-width:40em) {
    .swiper {
        width: 100%;
        height: 100%;
        padding: 5vh 0vw;
      }
      .swiper-slide {
        padding: 1vh 2vw;
      }
      .swiper-button-next, .swiper-rtl .swiper-button-prev {
        right: var(--swiper-navigation-sides-offset, -2px) !important;
        /* left: auto; */
    }

    .swiper-button-prev, .swiper-rtl .swiper-button-next {
        left: var(--swiper-navigation-sides-offset, -2px) !important;
        /* right: auto; */
    }
  }

  #student {
    text-align: left;
    
  }
  #student section {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    align-items:stretch;
    justify-content: space-between;
  }
   #student h3{
      text-align: center;
    }
     #student p {
      width: 48%;
     }
  #student p img{
    width: 80px;
    border-radius: 50%;
    border: #ffecf0 1px solid;
    margin: 0 1vw;
  }
  #student p {
    padding:2vh 3vw;
     border-radius: 1em;
     background-color: #fff6f6;
     border: solid 2px #ffe5da;
         margin:1vh 0;
  }
  #student p strong {
    font-weight: 600;
    font-size: 125%;
    color: #8c79d5;
    display: block;
  }
  #student p span::before {content: '/';padding:0 1vw; }
  @media screen and (max-width: 55em) {
      #student p img{
    width: 68px;
    border-radius: 50%;
    border: #ffecf0 1px solid;
    display: block;
    text-align: center;
    margin: auto;
    
  }
      #student p {
        margin: 2vh  auto;
        width:85%;
        padding:2vh 5vw;
        border-radius: 2em;
     
  }
    #student p strong {
    font-weight: 600;
    font-size: 108%;
    color: #8c79d5;
    display: block;
  }
  }
footer {
  background: #1aa696;
  color: #fff;
  padding: 5vh 5vw;

}
footer ul {
   display: flex;
    display: -webkit-flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}
footer ul li {
  width: 20%;
  text-align: center;
    font-size: 1.35em;
}
footer ul li a, footer ul li a:hover {
  color: #fff;
}
  @media screen and (max-width: 55em) {
    footer {
  background: #1aa696;
  color: #fff;
  padding: 5vh 1vw 8vh;

}
    footer ul li {
  width: 32%;
  text-align: center;
    font-size: 1em;
}
  }