@charset "utf-8";
/* CSS Document */
/* ---reset.css--- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
/* ---reset.css--- */
html, body {
  font-family: Verdana, Helvetica, sans-serif;
  -webkit-text-size-adjust: none;
  scroll-behavior: smooth;
}
@media screen and (max-width: 768px) {
  html, body {
    min-width: 320px;
    max-width: 768px;
    overflow: auto;
    overflow-x: hidden;
    width: 100%;
    padding-bottom: 8%;
  }
}
* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  line-height: 1;
}
:focus {
  outline: 0;
}
h1 {
  text-indent: -9999px;
  position: absolute;
}
li {
  list-style: none;
}
/*手機物件off*/
.item_m3, .item_m2, .item_m, .header_m {
  display: none;
}
header {
  width: 100%;
  position: relative;
  z-index: 999;
  display: block;
  background-color: #000000;
}
@media screen and (max-width: 768px) {
  header .top {
    display: none;
  }
  .header_m {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    padding: 5px 0;
    background-color: #000000;
  }
  .header_m img {
    width: 120%;
    height: auto;
    display: block;
  }
  #tob {
    width: 50%;
    font-size: 70%
  }
}
footer {
  width: 100%;
  position: relative;
  z-index: 990;
  background-color: #4ca279;
}
.container {
  width: 100%;
  margin: 0 auto;
  min-width: 1200px;
  max-width: 1920px;
}
.container a {
  text-decoration: none;
  color: #444444;
  font-size: 18px;
}
.container span {
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .container {
    min-width: 100%;
  }
  .container a {
    font-size: 13px;
  }
}
.s3, .s4, .s5, .s6, .s7, .s7-1, .s8, .s9 {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.content {
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .s3, .s4, .s5, .s6, .s7, .s7-1, .s8 {
    padding: 1%;
    height: auto;
  }
  .content {
    max-width: 100%;
  }
}
/*主視覺*/
.s1 {
  width: 100%;
  background: url("../images/kv.jpg") top center no-repeat;
  display: block;
}
.s1_content {}
.title {
  position: absolute;
  top: 57px;
  left: 48px;
}
.kv_pc {
  background: url("../images/kv.jpg") center;
  min-height: 680px;
  display: block;
}
.kv_m {
  display: none;
}
.kv_m img {
  display: block;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .kv_pc {
    display: none;
  }
  .kv_m {
    display: block;
  }
}
/*-----------------------------------common-----------------------------------*/
.Title {
  width: 1200px;
  padding: 10px 0 30px 0;
  margin: 0px auto;
}
.Title img {
  margin: 0 auto;
}
.Title2 {
  width: 1200px;
  padding: 40px 0 0px 0;
  margin: 0px auto;
}
.Title2 img {
  margin: 0 auto;
}
.subTitle1-1 {
  position: absolute;
  top: -65px;
  left: 15px;
}
.subTitle1 {
  position: absolute;
  top: 195px;
  left: 15px;
}
.subTitle2 {
  position: absolute;
  top: 195px;
  left: 610px;
}
.subTitle3 {
  position: absolute;
  top: -50px;
  left: 15px;
}
.subTitle4 {
  position: absolute;
  top: 1015px;
  left: 15px;
}
.subTitle5 {
  position: absolute;
  top: 1015px;
  left: 610px;
}
/*product layout*/
.box {
  padding: 0;
  margin: 54px auto 90px auto;
  display: flex;
  justify-content: center;
  text-align: center;
  background: none;
}
.box ul {
  width: 100%;
  list-style: none;
  padding: 15px 0 15px 0;
}
.box ul li {
  width: 47%;
  display: inline-block;
  text-align: left;
  margin: 10px 2px;
  vertical-align: top;
  overflow: hidden;
}
.box ul li img {
  height: 287px;
  width: 250px;
  object-fit: contain;
  display: block;
  transition: all 0.3s;
  margin: 0 auto;
  padding: 2%;
}
.box ul li img:hover {
  transform: scale(0.95);
}
.box1_left, .box1_right {
  width: 590px;
  margin: 5px;
  background: #ffffff;
  position: relative;
  border-radius: 2px;
}
.box2 {
  width: 1190px;
  margin: 65px 5px 90px 5px;
  background: #ffffff;
  position: relative;
  border-radius: 2px;
}
.box2 ul li {
  width: 24%;
}
/*product content*/
div.productContentImg {
  position: relative;
  width: auto;
  height: 250px;
  margin: 0 auto;
}
div.productContentImg img {
  max-height: 90%;
  max-width: 90%;
  width: auto;
  height: auto;
  position: absolute;
  top: 5%;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
div.productContentImg span {
  position: absolute;
  bottom: 0;
  padding: 1.5% 6% 1.5% 3%;
  color: #ffffff;
  background: #d7898a;
  border-top-right-radius: 25px;
  z-index: 10;
  font-size: 0.77em;
}
span.priceR {
  color: #DB4B4C;
  font-size: 1.5em;
  font-weight: bold;
}
span.priceB {
  color: #333333;
  font-size: 1em;
  font-weight: bold;
}
@media screen and (max-width: 768px) {
  .item_m {
    display: block;
    margin-top: 4%;
    margin-bottom: 0;
  }
  .item_m img {
    max-width: 98%;
  }
  .item_m2 {
    display: block;
    margin-top: 2%;
    margin-bottom: 0;
  }
  .item_m2 img {
    max-width: 98%;
  }
  .item_m3 {
    display: block;
    margin-top: 0;
    margin-bottom: 10%;
  }
  .item_m3 img {
    max-width: 98%;
  }
  .item_m4 {
    display: block;
    margin-top: 10%;
    margin-bottom: -10%;
  }
  .item_m4 img {
    max-width: 98%;
  }
  .item_pc {
    display: none;
  }
  .subTitle img {
    max-width: 80%;
    margin-top: 1%;
    position: relative;
    z-index: 2;
  }
  .box {
    padding: 0;
    margin: -8% auto 0 auto;
    display: inline-block;
    background: none;
  }
  .box ul {
    padding: 2% 0 4% 0;
    margin-top: -7%;
    margin-bottom: 10%;
    background: #ffffff;
  }
  .box ul li img {
    width: auto;
  }
  .box1_left, .box1_right {
    width: 100%;
    background: #ffffff;
    margin: 0 auto;
    position: initial;
  }
  .box2 {
    width: 100%;
    margin: 3% auto 0;
  }
  .box2 ul li {
    width: 47%;
  }
  div.productContentImg {
    padding-bottom: 2%;
    height: 280px;
  }
  div.productContentImg span {
    padding: 1.5% 7% 1.5% 3%;
  }
}
@media screen and (max-width: 600px) {
  div.productContentImg {
    width: auto;
    height: 215px;
  }
}
@media screen and (max-width: 450px) {
  div.productContentImg {
    width: auto;
    height: 175px;
  }
}
@media screen and (max-width: 360px) {
  div.productContentImg {
    width: auto;
    height: 155px;
  }
  div.productContentImgL {
    padding-bottom: 10%;
    height: 275px;
  }
}
/*-----------------------------------common-----------------------------------*/
/*獨家優惠*/
.s2 {
  width: 100%;
  height: 1870px;
  background: url("../images/bg01.gif") top center repeat;
}
.s2_content {
  padding-top: 30px;
}
.s2 .box {
  margin: 60px auto 0 auto;
}
@media screen and (max-width: 768px) {
  .s2 {
    height: auto;
    padding: 2% 1% 2% 1%;
    background: url("../images/bg01.gif") top center repeat;
  }
  .s2 .box {
	  width: 100%;
    margin: 0 auto;
  }
}
.s3 {
  width: 100%;
  padding: 3% 0 0 0;
  margin: 0 auto;
}
.s3 .box {
  width: 1190px;
  position: relative;
  background: #ffffff;
  margin: 20px auto 0 auto;
}
@media screen and (max-width: 768px) {
  .s3 {
    width: 100%;
    padding: 2% 1% 4% 1%;
    height: auto;
  }
  .s3 .box {
    width: 100%;
    margin: -6% auto 0 auto;
    background: none;
  }
}
/*搶眼新書*/
.s4 {
  height: 920px;
  background: url("../images/bg02.gif") top center repeat;
}
.s4_content {
  padding-top: 30px;
}
.s4 .box {
  margin: 0 auto 0 auto;
}
.s4 .box5 ul {
  padding: 0;
}
.s4 .box5 ul li {
  transition: all 0.3s;
  width: 19.2%;
  text-align: center;
  margin: 10px 2px;
  background-color: #ffffff;
  border-radius: 10px;
  padding-bottom: 10px;
  min-height: 320px;
}
.s4 .box5 ul li:hover {
  transform: scale(0.98);
}
.s4 div.productContentImg {
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.s4 div.productContentImg span {
  position: absolute;
  top: -2px;
  left: -2px;
  border-radius: 10px 0px 10px 0px;
  font-size: 2em;
  width: auto;
  height: 18%;
  padding: 1% 3%;
}
.s4 .top5Product1-1 {
  background: url("../images/pic2.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-2 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637309172288922500.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-3 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637315227007011250.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-4 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637314355046542500.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-5 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637314354877323750.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-6 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637309172466110000.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-7 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637315227054667500.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-8 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637314355132948750.jpg");
  background-size: 80% !important;
}
.s4 .top5Product1-9 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637309172345328750.jpg");
  background-size: 70% !important;
}
.s4 .top5Product1-10 {
  background: url("http://pic.eslite.com/Upload/Product/202007/m/637293622267506250.jpg");
  background-size: 70% !important;
}
@media screen and (max-width: 768px) {
  .s4 {
    height: auto;
    background: url("../images/bg02.gif") top center repeat;
  }
  .s4 .box {
    margin: 8% auto 2% auto;
  }
  .s-1 .box span {
    font-size: 1.2em;
  }
  /*small*/
  .s4 .box5 ul {
    padding: 1%;
    background-color: transparent;
  }
  .s4 .box5 ul li {
    width: 48%;
    margin: 4px 2px;
    min-height: 210px;
  }
  .s4 div.productContentImg {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
  .s4 div.productContentImg span {
    font-size: 1.7em;
    border-radius: 8px;
    height: 20%;
  }
  .s4 .top5Product1-1 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-2 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-3 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-4 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-5 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-6 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-7 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-8 {
    background-size: 80% !important;
  }
  .s4 .top5Product1-9 {
    background-size: 70% !important;
  }
  .s4 .top5Product1-10 {
    background-size: 70% !important;
  }
  /*big
  .s4 .box5 ul li:nth-child(1), .s4 .box5 ul li:nth-child(6) {
    width: 97%;
  }
  .s4 div.top5Product1-1, .s4 div.top5Product2-1 {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }
  .s4 div.top5Product1-1 span, .s4 div.top5Product2-1 span {
    font-size: 3.5em;
  }*/
}
@media screen and (max-width: 540px) {
  /*small*/
  .s4 div.productContentImg {
    width: 165px;
    height: 165px;
    margin: 0 auto;
  }
  /*big
  .s4 div.top5Product1-1 img {
    width: 92%;
    height: auto;
    margin: 0 auto;
  }
  .s4 div.top5Product2-1 img {
    width: 88%;
    height: auto;
    margin: 0 auto;
  }
  .s4 div.top5Product1-1, .s4 div.top5Product2-1 {
    width: 320px;
    height: 320px;
  }
  .s4 div.top5Product1-1 span, .s4 div.top5Product2-1 span {
    font-size: 3.2em;
  }*/
}
@media screen and (max-width: 320px) {
  /*small*/
  .s4 .box5 ul li {
    width: 47%;
	  min-height: 180px;
  }
  .s4 div.productContentImg {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .s4 div.productContentImg span {
    font-size: 1.4em;
  }
  /*big
  .s4 div.top5Product1-1, .s4 div.top5Product2-1 {
    width: 255px;
    height: 255px;
  }
  .s4 div.top5Product1-1 span, .s4 div.top5Product2-1 span {
    font-size: 2.5em;
  }*/
}
/*分齡閱讀*/
.s5 {
  width: 100%;
  height: 2580px;
  background: url("../images/bg03.gif") top center;
}
.s5_content {}
.s5 .box {
  margin: 90px auto 30px auto;
}
.s5 .box ul {
  margin: 0 auto 0 auto;
}
@media screen and (max-width: 768px) {
  .s5 {
    height: auto;
    padding: 5% 1% 10% 1%;
    background: url("../images/bg03.gif") top center repeat;
  }
  .s5 .box {
    margin: 10px auto 20px auto;
  }
  .s5 .box ul {
    margin: -6% auto 0 auto;
  }
}
/*開學收心操‧跨領域素養小學堂*/
.s6 {
  height: 620px;
  background: url("../images/bg04.jpg") top center repeat;
}
.s6_content {
  padding-top: 30px;
}
.s6 .box {
  margin: 0 auto 0 auto;
}
.s6 .box5 ul {
  padding: 0;
  background-color: transparent;
}
.s6 .box5 ul li {
  transition: all 0.3s;
  width: 19.2%;
  text-align: center;
  margin: 10px 2px;
  background-color: #ffffff;
  border-radius: 10px;
  padding-bottom: 10px;
	min-height: 350px;
}
.s6 .box5 ul li:hover {
  transform: scale(0.98);
}
.s6 div.productContentImg {
  background-repeat: no-repeat;
  background-position: 50% 50%;
}
.s6 div.productContentImg span {
  position: absolute;
  top: -2px;
  left: -2px;
  padding: 0;
  border-radius: 10px 0px 10px 0px;
  font-size: 2em;
  width: auto;
  height: 18%;
  padding: 1% 3%;
}
.s6 .top5Product1-1 {
  background: url("http://pic.eslite.com/Upload/Product/201808/m/636700051821931250.jpg");
  background-size: 70% !important;
} /* 手動調整填滿尺寸 建議範圍：90-140 */
.s6 .top5Product1-2 {
  background: url("http://pic.eslite.com/Upload/Product/202003/m/637188211649173750.jpg");
  background-size: 70% !important;
}
.s6 .top5Product1-3 {
  background: url("http://pic.eslite.com/Upload/Product/202006/m/637284980429121250.jpg");
  background-size: 80% !important;
}
.s6 .top5Product1-4 {
  background: url("http://pic.eslite.com/Upload/Product/201801/m/636522934612723750.jpg");
  background-size: 60% !important;
}
.s6 .top5Product1-5 {
  background: url("http://pic.eslite.com/Upload/Product/202006/m/637265977075341250.jpg");
  background-size: 96% !important;
}
@media screen and (max-width: 768px) {
  .s6 {
    height: auto;
    background: url("../images/bg04.jpg") top center repeat;
  }
  .s6 .box {
    margin: 8% auto 2% auto;
  }
  .s-1 .box span {
    font-size: 1.2em;
  }
  /*small*/
  .s6 .box5 ul {
    padding: 1%;
  }
  .s6 .box5 ul li {
    width: 48%;
    margin: 4px 2px;
	  min-height: 240px;
  }
  .s6 div.productContentImg {
    width: 250px;
    height: 250px;
    margin: 0 auto;
  }
  .s6 div.productContentImg span {
    font-size: 1.7em;
    border-radius: 8px;
    height: 20%;
  }
  /*big*/
  .s6 .box5 ul li:nth-child(1), .s6 .box5 ul li:nth-child(6) {
    width: 97%;
  }
  .s6 div.top5Product1-1, .s6 div.top5Product2-1 {
    width: 320px;
    height: 320px;
    margin: 0 auto;
  }
  .s6 div.top5Product1-1 span, .s6 div.top5Product2-1 span {
    font-size: 3.5em;
  }
  .s6 .top5Product1-1 {
    background-size: 66% !important;
  } /* 手動調整填滿尺寸 建議範圍：90-140 */
  .s6 .top5Product1-2 {
    background-size: 70% !important;
  }
  .s6 .top5Product1-3 {
    background-size: 80% !important;
  }
  .s6 .top5Product1-4 {
    background-size: 60% !important;
  }
  .s6 .top5Product1-5 {
    background-size: 96% !important;
  }
}
@media screen and (max-width: 540px) {
  /*small*/
  .s6 div.productContentImg {
    width: 165px;
    height: 165px;
    margin: 0 auto;
  }
  /*big*/
  .s6 div.top5Product1-1 img {
    width: 92%;
    height: auto;
    margin: 0 auto;
  }
  .s6 div.top5Product2-1 img {
    width: 88%;
    height: auto;
    margin: 0 auto;
  }
  .s6 div.top5Product1-1, .s6 div.top5Product2-1 {
    width: 320px;
    height: 320px;
  }
  .s6 div.top5Product1-1 span, .s6 div.top5Product2-1 span {
    font-size: 3.2em;
  }
}
@media screen and (max-width: 320px) {
  /*small*/
  .s6 .box5 ul li {
    width: 47%;
	   min-height: 180px;
  }
  .s6 div.productContentImg {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .s6 div.productContentImg span {
    font-size: 1.4em;
	 
  }
  /*big*/
  .s6 div.top5Product1-1, .s6 div.top5Product2-1 {
    width: 255px;
    height: 255px;
  }
  .s6 div.top5Product1-1 span, .s6 div.top5Product2-1 span {
    font-size: 2.5em;
  }
}
/*banner640*/
.s8 {
  width: 100%;
  height: 660px;
  padding: 0;
  background: url("../images/bg05.jpg") top center no-repeat;
}
.s8_content {}
.s8 .box ul {
  padding: 15px 0 5px 0;
}
.banner640 {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  padding: 3% 0 0 0;
  border-radius: 8px;
}
.banner640 li {
  display: inline-block;
  width: 47%;
  margin: 0% 0.7% 1.4% 0.7%;
  vertical-align: middle;
}
.banner li img {
  width: 100%;
  transition: all 0.2s;
}
.banner li img:hover {
  transform: scale(0.98);
}
@media screen and (max-width: 768px) {
  .s8 {
    padding: 4% 1% 1% 1%;
    height: auto;
    background: url("../images/bg05.jpg") top center repeat;
  }
  .banner {
    padding: 0;
  }
  .banner li {
    width: 91%;
    margin: 0% 2% 3% 2%;
  }
}
/*back to top*/
.end {
  width: 100%;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
  display: block;
  text-align: center;
  background-color: #2f3a51;
}
.end_content {
  padding: 0.5% 0;
}
.end_content img {
  max-width: 100%;
  margin: 0.8%;
}
@media screen and (max-width: 768px) {
  .end_content img {
    max-width: 45%;
    margin: 0 auto;
    display: block;
    padding: 2% 0;
  }
}
#myBtn {
  display: none;
  position: fixed;
  z-index: 999;
  right: 2%;
  bottom: 2%;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.5s;
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  cursor: pointer; /* Add a mouse pointer on hover */
}
#myBtn:hover {
  background: rgba(0, 0, 0, 1); /* Add a dark-grey background on hover */
}
.fas {
  color: #fff;
  font-size: 1.5em;
}
@media screen and (max-width: 768px) {
  #myBtn {
    right: 3%;
    bottom: 8%;
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  .fas {
    font-size: 1em;
  }
}
/*navigation bar for pc*/
/* Style the navbar */
#navbar {
  overflow: hidden;
  background-color: #2f3a51;
  max-width: 1920px;
  height: 42px;
  z-index: 999;
}
@media screen and (max-width: 768px) {
  #navbar {
    display: none;
  }
  .sticky + .page_content {
    padding-top: 0px !important;
  }
}
.nav_content {
  width: 1200px;
  margin: 0 auto;
}
/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #fffbe4;
  text-align: center;
  text-decoration: none;
  width: 20%;
  font-size: 24px;
  font-weight: bold;
}
/* Page content */
.page_content {
  padding: 0px;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}
/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .page_content {
  padding-top: 42px;
}
menu {
  display: none;
}
@media screen and (max-width: 768px) {
  menu {
    display: block;
  }
}
menu ul {
  position: fixed;
  bottom: 0;
  left: 0;
  margin: 0;
  width: 100%;
  display: flex;
  list-style: none;
  background-color: #2f3a51;
  z-index: 1000;
  padding: 2px 0;
}
menu ul li {
  border-right: 1px solid #141414;
  padding: 2% 1.2%;
  width: 20%;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  letter-spacing: -1px;
}
menu ul li:nth-last-child(1) {
  border-right: none;
}
menu a {
  color: #efe5af !important;
  text-decoration: none;
}