@charset "utf-8";
/* CSS Document */
*{box-sizing:border-box;}
html{
	-webkit-text-size-adjust:none;
  font-family:Verdana, 'Noto Sans TC','Microsoft JhengHei', sans-serif;
  font-size: 16px;
  text-align: center;
  margin: 0;
}
a{ text-decoration: none;}
img{
  display: block;
  width: 100%;
  image-rendering: -webkit-optimize-contrast;
}
.wrapper,.wrapper2{
  width: 90%;
  max-width: 945px;
  margin: 0 auto;
}
.wrapper2{ max-width: 1200px; }
.menuArea{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1% 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.logo{ width: 80px;}
/* .menu:before{
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  background: url(../images/icon.png) no-repeat;
  background-size: cover;
  left: 8%;
  top: 50%;
  transform: translate(0%, -50%);
} */
.smileIcon{
  width: 1.2em;
  display: inline-block;
  vertical-align: middle;
  margin-right: 2%;
}
.menu{
  border-radius: 30px;
  filter: drop-shadow(0px 5px 0px #aeaeaf);
}
.happiness{ background-color: #f97f41;}
.life{ background-color: #ff43a1;}
.learn{ background-color: #fcb412;}
.travel{ background-color: #4665d9;}
.art{ background-color: #774bef;}
.memory{ background-color: #36a895;}
.hiddenS{ display: block;}
#nav{ width: 90%;}

  #nav > a,.hiddenXL
  {
    display: none;
  }

  #nav li
  {
    position: relative;
  }
    #nav li a
    {
      color: #fff;
      display: block;
    }
    #nav li a:active
    {
      background-color: #c00 !important;
    }

  #nav span:after
  {
    width: 0;
    height: 0;
    border: 0.313em solid transparent; /* 5 */
    border-bottom: none;
    border-top-color: #ffffff;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: -0.313em; /* 5 */
  }

  /* first level */

  #nav > ul
  {
    height: 3.75em; /* 60 */
    /* background-color: #e15a1f; */
  }
    #nav > ul > li {
      width: calc(100% / 6 - 1%);
      height: 100%;
      float: left;
      margin-right: 1%;
    }
      #nav > ul > li > a
      {
        height: 100%;
        font-size: 1.5em; /* 24 */
        line-height: 2.5em; /* 60 (24) */
        text-align: center;
      }
        #nav > ul > li:not( :last-child ) > a
        {
          /* border-right: 1px solid #cc470d; */
        }
        #nav > ul > li:hover > a,
        #nav > ul:not( :hover ) > li.active > a
        {
          background-color: #4b4872;
        }


    /* second level */

    #nav li ul
    {
      background-color: #4b4872;
      display: none;
      position: absolute;
      top: 100%;
    }
      #nav li:hover ul
      {
        display: block;
        left: 0;
        right: 0;
      }
        #nav li:not( :first-child ):hover ul
        {
          left: -1px;
        }
        #nav li ul a
        {
          font-size: 1.25em; /* 20 */
          border-top: 1px solid #4b4872;
          padding: 0.75em; /* 15 (20) */
        }
          #nav li ul li:hover a{ color: #fff53e;}
          #nav li ul li a:hover,
          #nav li ul:not( :hover ) li.active a
          {
            background-color: #4b4872;            
          }

.indexConArea{
  background: url(../images/indexBg.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 0;
  width: 100%;
  height: 550px;
}
.indexTitle{
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 5%;
}
.indexCon{
  font-size: 1.1875rem;
  line-height: 1.4;
  letter-spacing: 1px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.indexCon p { margin: 1% 0;}
.indexB{ 
  position: relative;
  z-index: -1;
}
.contentPic{
  width: 60%;
  margin: 2% auto;
}

/*teacher*/
.bgColor{
  background: linear-gradient(#ffffff,#92e5ff);
  padding-bottom: 2%;
}
.content p {
  text-align: left;
  line-height: 1.4;
  font-size: 1.25rem;
  letter-spacing: 1px;
}
.float-item {
  /* background: #ccc;
  width: 100px;
  height: 100px; */
  margin: 10px;
  float: left;
  width: 250px;
}
.floatRight{ float: right; }
.content {
  padding: 10px;
  // 1. 如果下面把溢出部份hidden掉了，就繞不了囉！
  // overflow: hidden; 
  // 2. 在這裡清除浮動(下兩種都不行)，文繞圖也是會失敗！
  // clear: both; 
  // @extend %clearfix;
}
.contentPoem,.contentS,.contentPoemB,.contentPoemB2{
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.contentPoemB{ max-width: 500px;}
.contentPoemB2{ max-width: 370px;}
.contentS{max-width: 700px;}
.container {
  width: 300px;
  margin: 0 auto;
  @extend %clearfix;
}

%clearfix {
	*zoom: 1;
	&:before, &:after {
		display: table;
		line-height: 0;
		content: "";
	}
	&:after {
		clear: both;
	}
}

.p2{
  text-indent: 2em;
}
/*teacher end*/

/*life*/
.bgColor_life{
  background: linear-gradient(to right,#36a895,#c8efd0,#c8efd0,#36a895);
  position: relative;
  padding-bottom: 10%;
}
.bgColor_life2{
  background: linear-gradient(to right,#36a8de,#8effff,#8effff,#36a8de);
  position: relative;
  padding-bottom: 10%;
}
.bgColor_life3{
  background: linear-gradient(to right,#f78e8e,#ffcfc5,#ffcfc5,#f78e8e);
  position: relative;
  padding-bottom: 10%;
}
.bgLeft,.bgRight{
  position: absolute;
  width: 11em;
  top: 12%;
}
.bgRight{ right: 0;}
.lifeTop{
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 2%;
}
.lifeInfo,.lifeInfo2,.lifeInfo3,.drawbookInfo,.societyInfo{
  background-color: #ff43a1;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5% auto;
  font-size: 1.5rem;
}
.lifeInfo2,.societyInfo{ background-color: #ff6e26; }
.lifeInfo3{ background-color: #2a9741; }
.drawbookInfo{
  font-size: 1.75rem;
  border-radius: 30px;
}
.societyInfo{ margin: 0;}
.life_articleTitle{
  width: 40%;
}
.linkLeft,.linkLeft2{
  display: flex;
  justify-content: flex-start;
  width: 50%;
}
.linkLeft2{ 
  width: 40%;
  display: block; 
}
.linkArea,.artLinkArea{
  display: flex;
  justify-content: space-between;
  margin: 2% 0;
}
.artLinkArea{ justify-content: center;}
.linkRight,.artLinkRight{
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
.artLinkRight{ justify-content: center;}
.linkBtn,.linkBtn2,.linkBtn3,.linkBtn4{
  border-radius: 30px;
  background-color: #ff43a1;
  padding: 10px 20px;
  color: #ffffff;
  filter: drop-shadow(0 5px 0px #464549);
  margin-right: 2%;
  font-size: 1.375rem;
}
.linkBtn2{
  display: block;
  margin: 3% 0;
}
.linkBtn3{ background-color: #ff6e26; }
.linkBtn4{ background-color: #2a9741; }
a.linkBtn { color: #ffffff;}
a:hover.linkBtn,a:hover.linkBtn2 { color:#f9d76b;}
.conName{ text-align: right!important;}
.conPic{
  width: 90%;
  max-width: 700px;
  margin: 2% auto;
}
.conPicS,.conPicS2{
  width: 90%;
  max-width: 300px;
  margin: 0 auto;
}
.conPicS2{ max-width: 350px;}
/*life end*/

/*learn*/
.learnBgLeft,.learnBgRight{
  position: absolute;
  width: 18%;
}
.learnBgLeft{ left: 0;}
.learnBgRight{ right: 0;}
.bgColor_learn{ 
  background-color: #bcedc2;
  padding-bottom: 2%;
}
.bgColor_learn2,.bgColor_learn3{ 
  background: #bcedc2 url(../images/learn/learnBg3.png) no-repeat;
  width: 100%;
  height: auto;
  background-size: contain;
  background-position: 50% 0;
  padding-bottom: 25em;
  z-index: -1;
}
.bgColor_learn3{ 
  background: #bcedc2 url(../images/learn/learnBg4.png) no-repeat;
  background-size: contain;
  background-position: 50% 0;
}
.leranTitle,.artTitle{ 
  width: 40%;
  margin: 0 auto;
  padding: 4% 0 2% 0;
}
.artTitle{
  width: 28%;
  padding: 2% 0 0 0; 
}
.artTitle2{
  width: 25%;
  margin: 0 auto;
  padding: 2% 0 0% 0;
}
.learnInfoBox{ display: inline-block;}
.learnInfoBox2,.learnInfoBox3{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 3% 0;
}
.learnInfoBox3{ margin: 0;}
.learnInfoBox2 div{ 
  margin: 2%;
  line-height: 1.4;
}
.learnCon{ 
  padding-bottom: 2%;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.learnArticleTitle,.learnArticleTitle2,.learnArticleTitle3{
  color: #ff6e26;
  font-size: 2rem;
  margin: 3% auto 2% auto;
  font-weight: 800;
  text-decoration: underline;
  line-height: 1.4;
}
.learnArticleTitle2{
  color: #f92356;
  font-size: 1.5rem;
  text-decoration:none;
  margin: 3% auto 0 auto;
}
.learnArticleTitle3{ color: #ffffff;}
.learnLongTitle br{ display: none;}
/*learn end*/

/*travel*/
.bg_travel{
  background: url(../images/travelBg1.png) no-repeat;
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: 50% 0;
  padding-bottom: 6%;
}
.travelInfoBox{ position: relative;}
.travelCon{
  width: 80%;
  background: url(../images/travelBg2.jpg) no-repeat;
  background-size: cover;
  margin: 0 auto;
  padding: 30px;
  background-position: center;
  filter: drop-shadow(2px 4px 6px #2b2b2b);
}
.travelCon img{
  width: 90%;
  max-width: 450px;
  margin: 1% auto;
}
.artPicS{
  width: 90%;
  max-width: 300px!important;
  margin: 0 auto;
}
.artPicS2{
  width: 90%;
  max-width: 400px!important;
  margin: 0 auto;
}
.artPicS3{
  width: 90%;
  max-width: 150px!important;
  margin: 0 auto;
}
.travelArticleTitle,.travelArticleTitle2{
  color: #2e52b7;
  font-size: 2rem!important;
  margin: 3% auto 2% auto;
  font-weight: 800;
  text-decoration: underline;
  line-height: 1.4;
}
.travelArticleTitle2{ color: #6946f0;}
/*travel end*/

/*art*/
.bg_art,.bg_art2{
  background: url(../images/art/artBg.png) no-repeat;
  width: 100%;
  height: 1200px;
  background-size: cover;
  background-position: 50% 0;
  padding-bottom: 6%;
  /* position: relative; */
  z-index: -1;
}
.bg_art2{ height: auto;}
.artCon,.artCon2,.artCon3{
  width: 80%;
  background: url(../images/art/artBg2.png) no-repeat;
  background-size: 100%;
  margin: 0 auto;
  padding: 30px;
  background-position: top;
  width: 100%;
  height: 800px;
}
.artCon2{ height: 600px;}
.artCon3{ 
  display: flex;
  align-items: center;
  padding: 0 30px 40px 30px;
}
.artConTop{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.artConTop2{
  display: block;
  width: 50%;
}
.artConTop2 div:first-child{
  width: 100%;
}
.artConTop2 div:nth-child(2){
  width: 100%;
  padding: 20px 60px 0 100px;
}
.artConTop2 div:first-child .lifeInfo{ width: 80%;}
.artConTop2 div:first-child img{ 
  width: 60%;
  margin: 2% auto 0 auto;
}
.artSubject{ 
  width: 40%;
  padding: 0 80px;
}
.artInfo{
  width: 50%;
  padding: 20px 80px;
}
.artPic,.artPic2,.artPic970,.artPic650{
  width: 90%;
  margin: 2% auto;
  max-width: 770px;
}
.artPic2{max-width: 450px;}
.artPic970{max-width: 970px;}
.artPic650{max-width: 650px;}
.artLR{ width: 12em;}

/*owl*/
.artOwlArea{ 
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
/* .artCarouselBox{
  position: absolute;
  width: 50%;
  top: 60%;
  left: 50%;
  transform: translate(-50%,0);
  z-index: 1;
} */
.carouselNav,.carouselNav2 {
  position: absolute;
  top: 50%;
  margin-top: -30px;
  width: 100%;
}
button{ border:0;}
.carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev{ left: 45px;}
.carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next{ right: 55px;}
.carouselNav .carouselNav_prev:focus,.carouselNav2 .carouselNav_prev:focus,
.carouselNav .carouselNav_next:focus,.carouselNav2 .carouselNav_next:focus { outline: none;}
.carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev,
.carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next{
width: 50px;
height: 50px;
border-radius: 50%;
background: rgba(255,67,161,1);
z-index: 1;  
}
.carouselNav .carouselNav_prev:before,.carouselNav2 .carouselNav_prev:before,
.carouselNav .carouselNav_next:before,.carouselNav2 .carouselNav_next:before{
position: absolute;
content: '';
display: inline-block;
width: 0;
height: 0;
border: 12px solid transparent;  
top: 25%;  
}
.carouselNav .carouselNav_prev:before,.carouselNav2 .carouselNav_prev:before{border-right-color: #fff!important;left: 10%;}
.carouselNav .carouselNav_next:before,.carouselNav2 .carouselNav_next:before{border-left-color: #fff!important;left: 40%;}
.carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev,
.carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next {
  position: absolute;
  color: #000;
  font-size: 26px;
  margin: 0px;
  padding: 4px 10px 8px 10px;
  background: rgba(255,67,161,1);
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  border: none;
}
.carouselNav2 .carouselNav_prev,.carouselNav2 .carouselNav_next {background: rgba(247,144,43,1);}
/*owl end*/

.artArticleCon{ position: relative;}
.artArticle,.artArticle2{
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%,-50%);
  color: #ffffff;
  width: 65%;
}
.artConC{
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.artConVerticle{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.artConVerticle .artConTop2{ padding-bottom: 5em;}
.artConVerticle img.artPic2{ 
  max-width: 400px;
  margin-bottom: 5em;
  margin-right: 7em;
}
/*art end*/

/*memory*/
.bg_memory,.bg_memory2{
  background: url(../images/memory/memoryBg.jpg) no-repeat;
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: 50% 0;
  padding-bottom: 6%;
  /* position: relative; */
  z-index: -1;
}
.bg_memory2{
  background: url(../images/memory/memoryBg2.jpg) no-repeat;
  background-size: cover;
  background-position: 50% 0;
}
.wrapperM{ max-width: 600px;}
.memoryTop{ margin-bottom: 4em;}
.memoryTop2{ margin-bottom: 9em;}
/*iframe youtube-------------------------------------------------*/
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 100%;
}

  .video-container iframe, .video-container object, .video-container embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
/*iframe youtube-------------------------------------------------*/
/*memory end*/

footer{ 
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.875rem;
  background-color: #321dc6;
  width: 100%;
  height: 100px;
  color: #ffffff;
  flex-direction: column;
}
footer a{
  text-decoration: underline;
  color: #ffffff;
  font-size: 1.125rem;
  display: block;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

@media only screen and ( max-width: 1200px ) {
  .artConVerticle{
    height: 650px;
    align-items: flex-start;
    padding-top: 3em;
  }
  .artConVerticle img.artPic2 {
    max-width: 290px;
  }
  .artConTop2 div:first-child .lifeInfo {
    width: 100%;
  }
  .artLinkRight { width: 80%;}
  .bgLeft, .bgRight { width: 8em;}
}


@media only screen and ( max-width: 1000px ) /* 1000 */
{
  #nav
  {
    width: 100%;
    position: static;
    margin: 0;
  }

  html
  {
    font-size: 75%; /* 12 */
  }

  #nav
  {
    position: relative;
    top: auto;
    left: auto;
  }
    #nav > a
    {
      width: 3.125em; /* 50 */
      height: 3.125em; /* 50 */
      text-align: left;
      text-indent: -9999px;
      background-color: #321dc6;
      position: relative;
      margin: 0 0 0 auto;
    }
      #nav > a:before,
      #nav > a:after
      {
        position: absolute;
        border: 2px solid #fff;
        top: 35%;
        left: 25%;
        right: 25%;
        content: '';
      }
      #nav > a:after
      {
        top: 60%;
      }

    #nav:not( :target ) > a:first-of-type,
    #nav:target > a:last-of-type,.linkArea,.learnLongTitle br
    {
      display: block;
    }


  /* first level */

  #nav > ul
  {
    height: auto;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
  }
    #nav:target > ul
    {
      display: block;
      width: 80%;
      margin: 0 0 0 auto;
      z-index: 1;
    }
    #nav > ul > li
    {
      width: 100%;
      float: none;
    }
      #nav > ul > li > a
      {
        height: auto;
        text-align: left;
        padding: 0 0.833em; /* 20 (24) */
      }
        #nav > ul > li:not( :last-child ) > a
        {
          border-right: none;
          border-bottom: 1px solid #cc470d;
        }
        #nav li ul a
        {
          font-size: 1.5rem; /* 20 */
        }
    /* second level */

    #nav li ul
    {
      position: static;
      padding: 1.25em; /* 20 */
      padding-top: 0;
    }
    .indexCon { font-size: 1.5rem;}
    .indexCon br{ display: none;}
    footer{
      line-height: 1.4;
      letter-spacing: 2px;
      padding: 0 10px;
      /* bottom: 0;
      position: fixed; */
    }    
    .artSubject{ width: 100%;}
    .wrapper { width: 70%;}
    .artConTop{ display: block;}
    .artCon{
      width: 80%;
      background: url(../images/art/artBg2_mb.png) no-repeat;
      background-size: 100%;
      margin: 0 auto;
      padding: 30px;
      background-position: center;
      width: 100%;
      height: 850px;
    }
    .leranTitle { width: 80%;}
    .artInfo{ 
      margin: 2% auto 5% auto;
      width: 100%;
      padding: 0;
    }
    .linkLeft,.linkRight{ 
      margin: 0 auto 4% auto;
      width: 70%;
      justify-content: center;
    }
    .linkLeft2 {
      width: 100%;
      margin: 0 auto;
    }
    .carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next { right: -35px;}
    .carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev { left: -35px; }
    .artTitle{ width: 50%;}
    .memoryTop2{
      width: 60%;
      margin: 0 auto 9em auto;
    }
    .bgColor_learn2, .bgColor_learn3{ background-size: cover;}
    .artConVerticle{ display: block; }
    .artConVerticle .artConTop2{
      width: 80%;
      margin: 0 auto;
    }
    .artConVerticle img.artPic2{ margin: 0 auto;}
    .artConVerticle img.artPic2 .artSubject,.artConTop2 div:nth-child(2){ padding: 0;}
    .artConTop2 div:first-child { padding: 10px;}
}

@media only screen and ( max-width: 480px ){
  .hiddenXL,.lifeTop,.learnInfoBox2,.artLinkRight a{ display: block;}
  .hiddenS,.bgLeft,.bgRight{ display: none;}
  .indexCon{ margin: 10% auto;}
  .indexConArea{
    height: 650px;
    padding-bottom: 10%;
  }
  .float-item {
    margin: 0 auto;
    float: none;
  }
  .content p{ font-size: 1.5rem;}
  .wrapper { 
    width: 96%;
    padding: 20px 0;
  }
  .life_articleTitle,.lifeInfoBox {
    width: 70%;
    margin: 0 auto;
  } 
  .travelCon,.artPic,.linkLeft, .linkRight{ width: 100%;}
  .artCon{ 
    padding: 30px 30px 0 30px;
    height: 700px;
    background-size: 100% 100%;
  }
  .artSubject{ padding: 0;}
  .carouselNav .carouselNav_next,.carouselNav2 .carouselNav_next { right: -5px;}
  .carouselNav .carouselNav_prev,.carouselNav2 .carouselNav_prev { left: -5px; }
  .artInfoWord{ font-size: 1.375rem!important;}
  .artLinkRight a{ margin: 3% 0;}
  .artSubject img{
    height: 2em;
    width: auto!important;
    margin: 0 auto;
  }
  .artArticle2{
    position: absolute;
    left: 50%;
    top: 55em;
    transform: translate(-50%,-50%);
    color: #ffffff;
    width: 85%;
  }
  .linkBtn{
    padding: 6px 10px;
    line-height: 1.4;
  }
  .bgColor_learn2,.bgColor_learn3{ 
    background: #bcedc2 url(../images/learn/learnBg6.png) no-repeat;
    background-size: cover;
    background-position: 50% 0;
  }
  .bgColor_learn3{ 
    background: #bcedc2 url(../images/learn/learnBg5.png) no-repeat;
    background-size: cover;
    background-position: 50% 0;
  }
  .learnArticleTitle3{
    font-size: 1.375rem;
    width: 80%;
  }
  .societyCon{ width: 80%;}
  .artConVerticle .artConTop2 { padding-bottom: 0em;}
  .bg_art{ height: 950px;}
}

