/* ================================================================
   SEC X  news / 學園公佈欄
/* ================================================================ */

#news_body{ background: #c1a09c; }

#sec3.news_list,
#sec3.news_con_page{
  padding-top: 9rem;
}

#sec3.news_con_page{
  background: url("../img/sec3/news_con_page.png") no-repeat top center;
  background-size: cover; 
}



/* 黑板 X 角色 X 左 */
.sec3_blackboard::after{
  content:"";
  background: url("../img/sec3/sec3_ch2.png") no-repeat top center;
  background-size: cover; 
  position: absolute;
  left: -5.3rem;
  top: 10rem;
  z-index: 99;
  aspect-ratio:310/280;
  width: 180px;
}


/* 黑板 X 中段 X 塗鴉 */
#sec3 .bb_m::before,
#sec3 .bb_m::after{
  content:"";
  aspect-ratio:224/760;
  width: 9rem;
  position: absolute;
  top: -2rem;
}


/* 黑板 X 中段 X 搜尋 */
#sec3 .search_block{
  width: 100%;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #fff; */
}
#sec3 .search_block input{
  width: 71.5%;
  border-radius: 50px;
  border:1px solid #df7dd6;
  padding: 5px 1rem;
  color: #394f40;
  opacity: .6;
}
#sec3 .search_block button{
  background: #c472bc;
  border: 2px solid #6a3e7e;
  color: #fff;
  width: 35px;
  height: 35px;
  padding: 3px;
  margin-left: 7px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#sec3 .search_block button svg{
  width: 20px;
  height: 20px;
  color: #fff;

}






/* 黑板 X 中段 X 分頁 */
#sec3 .page ul{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 7px 0;
  width: 100%;
}

#sec3 .page ul li{
  width: 43px;
  height: 40px;
}

#sec3 .page ul li a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}
#sec3 .page ul li a img{
  display: block;
  max-width: 100%;
  max-height: 31px;
  width: auto;
  height: auto;
}
#sec3 .page ul li a:hover{
  color: #cdddd0;
}
#sec3 .page ul li a:hover::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background: url(../img/sec3/sec3_page_hover.png)no-repeat top center;
  background-size:cover;
  width: 43px;
  height: 40px;
}



/***************** 內頁 *****************/

:root{ --bb_con_pd:.5rem 1.5rem .5rem; }

#sec3 .news_con_block {
  position: relative;
  width: 100%;
  min-height: 57vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 8rem;
}

#sec3 .news_con_block .headline{
  position: relative;
  font-size: 22px;
  padding: var(--bb_con_pd);
}
#sec3 .news_con_block .headline::before{
  content: "";
  background: url(../img/sec3/sec3_line.png)no-repeat top center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

#sec3 .news_con_block .dateline{
  padding: var(--bb_con_pd);
  text-align: end;
}

#sec3 .news_con_block .content{
  padding: var(--bb_con_pd);
}
#sec3 .news_con_block .content img{
  width: 100%;
  padding:.7rem 0;
}

#sec3 .news_con_block .content a{
  color: #e7d19c;
  text-decoration: underline;
}
#sec3 .news_con_block .content a:hover{
  color: #de8380;
  transform: scale(1.2);
}

#sec3 .news_con_block .content iframe{
    aspect-ratio:360 / 220;
    width: 100%;
    height: auto;
    display: block;
  }



@media (max-width:1025px) {
  #sec3 .bb_m::before, #sec3 .bb_m::after{
    top: 0;
  }
}

/* 小PAD */
  @media (max-width: 992px){
    #sec3 .news_con_block{
      padding:2rem 3rem;
    }
  }

  @media (max-width: 768px){
    .sec3_blackboard::after{
      display: none;
    }
  }

  @media (max-width: 540px){
    #sec3 .news_con_block{
      padding: 2rem 2rem;
    }
    #sec3 .news_con_block .headline{
      font-size: 18px;
    }
    #sec3 .news_con_block .content{
      font-size: 14px;
    }
  }

  @media (max-width: 431px){
    #sec3 .news_con_block{
      padding: 1rem 2rem;
    }
  }

  @media (max-width: 361px){
    :root{
      --bb_con_pd:.5rem .3rem .5rem;
    }
    #sec3 .news_con_block .headline{
      font-size: 16px;
    }
  }



