
/* //////////////////////////////////// sec01 最新公告 //////////////////////////////////// */


/*** 獨立頁 X sec_content ***/
#section01.single,
#section01.single2{  
  height: auto;
}
#section01.single2{  
  background: url(../images/sec_news/single_bg.webp)no-repeat;
  background-position:center 0%;
  background-size:100% auto;
}



/*** 獨立頁 X sec_content ***/
#section01.single .sec_content,
#section01.single2 .sec_content{
  justify-content: flex-start;
  padding: 3% 10px 4% 10px;
}


/*** 獨立頁 X title ***/
#section01.single .title,
#section01.single2 .title{
  position: relative;
  top: unset;
  left: unset;
}



#section01 .news_block{
  /* border: 1px solid #000; */
  position: relative;
  background: url(../images/sec_news/form_pattern.webp) no-repeat top center;
  background-size: cover;
  border: 3px solid #d9c07f;
  box-shadow:
    0 0 0 2px #b5904a,       /* 內黑框 */
    0 8px 16px rgb(79 65 26) ;  /* 陰影 */
  border-radius: 50px 15px 50px 15px;/*左上 右上 右下 左下 */
  width: 75vw;
  max-width: 1300px;
  aspect-ratio: 1300 / 571;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: .5%;
  padding: 3.5rem 3rem;
  margin-right: 6.5rem;
}


/*** 獨立頁 ***/
.single .single_block,
.single2 .single_block{
  border: 1px solid #000;
  position: relative;
  background: url(../images/sec_news/form_pattern.webp) no-repeat top center;
  background-size: cover;
  border: 3px solid #d9c07f;
  box-shadow:
    0 0 0 2px #b5904a,
    0 8px 16px rgb(79 65 26) ; 
  border-radius: 50px 15px 50px 15px;/*左上 右上 右下 左下 */
  width: 75vw;
  max-width: 1000px;
  min-height: 90vh;
  aspect-ratio: 1000 / 700;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: .5%;
  padding: 3.5rem 3rem;
  margin-right: 6.5rem;
  word-wrap: break-word;
}
.single2 .single_block{
  aspect-ratio: unset;
}


#section01 .news_block::before,
.single .single_block::before,
.single2 .single_block::before{
  content: "";
  background: url(../images/sec_news/form_decorate_1.png) no-repeat;
  background-size: 100% auto;
  width: 6.5vw;
  aspect-ratio: 99 / 99;
  filter: drop-shadow(0 0 3px #b3853fc4);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 98;
}
#section01 .news_block::after,
.single .single_block::after,
.single2 .single_block::after{
  content: "";
  background: url(../images/sec_news/form_decorate_2.png) no-repeat;
  background-size: 100% auto;
  width: 3.5vw;
  aspect-ratio: 62 / 44;
  filter: drop-shadow(0 0 10px #abfcff);
  position: absolute;
  bottom: -1.7rem;
  z-index: 98;
}



.news_txtcon,
.single_txtcon{
  /* border: 1px solid #000; */
  position: relative;
  z-index: 999;
  width: 45%;
  padding: 0% 1%;
}

.single_txtcon{
  width: 95%;
  margin: auto;
  margin-top: 0;
}






/*分類標題*/
.classify {
  /* border: 1px solid #000; */
  overflow: hidden;
  z-index: 990;
  display: flex;
  display: -ms-flexbox;
  justify-content: space-between;
  margin-top: 0rem;
  margin-bottom: 0;
  padding-inline-start: 0 !important;
}

/***** 獨立頁 X 分類標題 *****/
.single_txtcon .classify {
  justify-content:center;
}


.classify li {
  /* border: 1px solid #000; */
  width: 70px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center center;
  image-rendering: -webkit-optimize-contrast;
  flex-direction: row;
  -ms-flex-direction: row;
  justify-content: flex-end;
  -ms-flex-pack: end;
  position: relative;
}

/***** 獨立頁 X 分類標題 *****/
.single_txtcon .classify li {
  width: 85px;
  margin: 0 1rem;
}


.classify li img {
  opacity: 0.01;
}
.classify li:nth-of-type(1) {
  background-image: url(../images/sec_news/classify1.png);
}
.classify li:nth-of-type(2) {
  background-image: url(../images/sec_news/classify2.png);
}
.classify li:nth-of-type(3) {
  background-image: url(../images/sec_news/classify3.png);
}
.classify li:nth-of-type(4) {
  background-image: url(../images/sec_news/classify4.png);
}

.classify li:nth-of-type(1):hover,
.classify li:nth-of-type(1):active,
.classify li:nth-of-type(1).active {
  background-image: url(../images/sec_news/classify1_ov.png);
}
.classify li:nth-of-type(2):hover,
.classify li:nth-of-type(2):active,
.classify li:nth-of-type(2).active {
  background-image: url(../images/sec_news/classify2_ov.png);
}
.classify li:nth-of-type(3):hover,
.classify li:nth-of-type(3):active,
.classify li:nth-of-type(3).active {
  background-image: url(../images/sec_news/classify3_ov.png);
}
.classify li:nth-of-type(4):hover,
.classify li:nth-of-type(4):active,
.classify li:nth-of-type(4).active {
  background-image: url(../images/sec_news/classify4_ov.png);
}

.classify li:hover .btn_ov,
.classify li:active .btn_ov,
.classify li.active .btn_ov{
  opacity: 1;
}





/* //////////////// 列表 //////////////// */
/****** NEWS框 X 列表 ******/

.news_txtcon .list,
.single_txtcon .list{
  text-align: left;
  padding-left: .5rem !important;
  padding-right: .5rem;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.news_txtcon .list li,
.single_txtcon .list li{
  border-bottom: 1.5px solid #8c7457;
  margin: 5px 0;
}


.news_txtcon .list li a,
.single_txtcon .list li a{
  text-decoration: none;
  color: #8c7457;
  font-size: 1.15rem;
  padding: 12px 0;
  display: flex;
  flex-direction: row;
  flex-wrap:nowrap;
  align-items: center;
}


/***** 獨立頁 X 列表 *****/
.single_txtcon .list li a{
  justify-content: center;
}

.news_txtcon .list li a:hover,
.news_txtcon .list li a:active,
.news_txtcon .list li a.active,
.single_txtcon .list li a:hover,
.single_txtcon .list li a:active,
.single_txtcon .list li a.active{
  color: #a65e3c;
  font-weight: 700;
}


.news_txtcon .list li a span.dot,
.single_txtcon .list li a span.dot{
  width: 5%;
  max-width: 13px;
  margin-right: 3px;
}

.news_txtcon .list li a span.txt,
.single_txtcon .list li a span.txt{
  width: 80%;
  font-size: 15.5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/***** 獨立頁 X 列表 *****/
.single_txtcon .list li a span.txt{
  width: 90%;
}

.news_txtcon .list li a span.date,
.single_txtcon .list li a span.date{
  max-width: 85px;
  font-size: 14px;
}

.news_txtcon .btn,
.single .single_txtcon .btn,
.single2 .single_txtcon .btn{
  /* border: 1px solid #000; */
  width: 200px;
  margin: 1rem auto .5rem auto;
}
.single2 .single_txtcon .btn{
  margin: 2rem auto .5rem auto;
}



/* //////////////// 內文 //////////////// */
/****** 獨立頁 X 內文 ******/
.single_txtcon .txt_title{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #5a4536;
}
.single_txtcon .txt_title span{
  max-width: 300px;
  margin-bottom: 1rem;
  
}
.single_txtcon .txt_area{
  /* text-align: justify; */
  line-height: 33px;
  font-size: 1.1rem;
  color: #8b7356;
  margin: .5rem auto;
  text-align: justify;
}
.single_txtcon .txt_date{
  font-weight: 600;
  color: #8b7356;
  text-align-last:right;
}
.single_txtcon .txt_area img{
  width: 100%;
  height: auto;
  margin: .5rem 0;
}

  .single_txtcon .txt_area iframe{
    width: 100%;
    height: auto;
    aspect-ratio:360 / 220;
  }




/* //////////////// 輪播 //////////////// */
/****** Banner X 輪播 ******/
.news_imgcon{
  /* border: 1px solid #000; */
  position: relative;
  width: 100%;
  height: auto;
  max-width: 680px;
  margin: auto 0;
}

#section01 .swiper {
    width: 100%;
    }

  #section01 .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #444;
      display: flex;
      justify-content: center;
      align-items: center;
    }

  #section01 .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

  #section01 .swiper.mySwiper3 {
      width: 100%;
      /* height: 100%; */
      padding: 0;
    }

  #section01 .mySwiper3 .swiper-slide {
      text-align: center;
      font-size: 18px;
      background-color: #ffffff00;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #000;
      background-size: cover;
      background-position: center;
    }
  #section01 .swiper-pagination-bullets.swiper-pagination-horizontal {
  /* border: 1px solid #000; */
    position: relative;
    bottom: unset;
    padding-top: .5rem;
  }
  .swiper3-pagination .swiper-pagination-bullet {
      background: url(../images/sec_news/dot.png) no-repeat !important;
      background-size: cover !important;
      filter: sepia(100%) !important;
      width: 15px !important;
      height: 15px !important;
      opacity: 1 !important;
      margin: 0 4px !important;
      padding: 10px;
    }
  .swiper3-pagination .swiper-pagination-bullet:hover,
  .swiper3-pagination .swiper-pagination-bullet-active {
    filter: sepia(0%) !important;
    transform: scale(1.3);
    opacity: 1 !important;
  }





/***** 獨立頁 X 頁數 *****/
.page{
  display: block;
}
.page ul{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  padding-inline-start: 0 !important;
}

.page ul li {
  width: 45px;
  height: 40px;
}

.page ul li a{
  text-decoration: none;
  color: #8b7356a1;
  width: 100%;
  height: 100%;
  font-size: larger;
  font-weight: 800;
  padding: .5rem 0;
  margin: 0 5px;
}
.page ul li a:hover,
.page ul li a:active,
.page ul li a.active{
  color: #c98331;
  /* filter: hue-rotate(342deg) saturate(150%); */
}
.page ul li a img:hover,
.page ul li a img:active,
.page ul li a.active img{
  filter: hue-rotate(342deg) saturate(300%);
}




/***** 角色 *****/
  #section01 .sec1_ch_r,
  .single .sec1_ch_r{
    position: absolute;
    right: -31.2rem;
    z-index: 999;
    width: 100%;
    max-width: 700px;
  }
  #section01 .sec1_ch_r{
      top: -20vh;
    right: -35.2rem;
  }
  #section01 .sec1_ch_l,
  .single .sec1_ch_l{
    position: absolute;
    left: -6rem;
    bottom: -6rem;
    z-index: 99;
    width: 100%;
    max-width: 335px;
  }

  /***** 獨立頁 X 角色 *****/
  #section01.single .sec1_ch_r{
    right: -38.2rem;
    bottom: -15.2rem;
  }
  #section01.single .sec1_ch_l{
    left: -10.5rem;
    bottom: -3rem;
    max-width: 385px;
  }
  #section01.single2 .sec1_ch_r{
    right: -38.2rem;
    bottom: -10.2rem;
  }
  #section01.single2 .sec1_ch_l{
    left: -11rem;
    max-width: 455px;
  }



  /***** 雲層 *****/
.sec1_cloud_l{
    width: 100%;
    max-width: 1200px;
    position: absolute;
    left: -30.8rem;
    top: 170vh;
    /* z-index: 998; */
  }
  .sec1_cloud_r{
    width: 100%;
    max-width: 1200px;
    position: absolute;
    right: -24.8rem;
    top: 179vh;
    z-index: 998;
    
  }










/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */
/* /////////////////////////////////////// RWD設定 /////////////////////////////////////// */



@media screen and (max-width: 1921px) {

}

@media screen and (max-width: 1600px) {
  .single .single_block::before,
  .single2 .single_block::before{
    width: 8vw;
  }
  .single .single_block::after, 
  .single2 .single_block::after{
    bottom: -1.5rem;
  }
}





@media screen and (max-width: 1441px) {
  #section01 .news_block{
    margin-right: 7rem;
  }
  .news_txtcon{
    width: 40%;
    padding: 0;
  }
  .news_txtcon .list li a{
    padding: 7px 0;
  }
  .news_imgcon{
    max-width: 580px;
  }
  #section01 .sec1_ch_r{
    top: -20vh;
    right: -30.25rem;
    max-width: 600px;
  }
  #section01 .sec1_ch_l{
    left: -5rem;
    bottom: -4rem;
    max-width: 280px;
  }

  /****** 獨立頁 ******/
  .single .single_block{
    max-width: 850px;
    padding: 2.5rem 2rem 2rem 2rem;
    aspect-ratio:unset;
  }
  #section01.single .sec1_ch_r{
    right: -32.8rem;
    bottom: -6.2rem;
  }
  #section01.single .sec1_ch_l{
    bottom: -5rem;
  }
  #section01.single2 .sec1_ch_r{
    max-width: 600px;
    right: -32.8rem;
    bottom: -3.2rem;
  }


}






@media screen and (max-width: 1200px) {

  /* ////////////////// sec01 ////////////////// */
  #section01 .sec1_ch_r,
  #section01 .sec1_ch_l,
  .sec1_cloud_r,
  .sec1_cloud_l{
    display: none;
  }

}


@media screen and (max-width: 1025px) {

  /* ////////////////// 01_ //////////////////  */


  #section01 .news_block{
    flex-direction: column;
    /* justify-content: space-evenly; */
    aspect-ratio:730/995;
    margin: auto;
    margin-top: 2%;
    padding: 1.5rem;
  }

  .news_txtcon{
    width: 100%;
  }
  #section01 .news_block::before{
    width: 12.5vw;
    bottom: -1.9rem;
  }
  #section01 .news_block::after{
    width: 7.5vw;
    left: 43%;
  }
  .classify{
    justify-content: space-evenly;
  }
  .news_txtcon .btn{
    width: 250px;
  }
  .news_txtcon .list li a{
    padding: 12px 0;
  }
  .news_imgcon{
    max-width: unset;
  }
  #section01 .sec1_ch_r, 
  #section01 .sec1_ch_l{
    display: block;
  }
  #section01 .sec1_ch_r{
    display: none;
  }
  #section01 .sec1_ch_l{
    max-width: 370px;
  }



  /* ////////////////// 獨立頁 //////////////////  */
  #section01.single .sec_content, 
  #section01.single2 .sec_content{
    align-items: center;
  }
  .single .single_block::before, 
  .single2 .single_block::before{
    width: 12.5vw;
  }
  .single .single_block::after, 
  .single2 .single_block::after{
    width: 6.5vw;
  }


  .single .single_block,
  .single2 .single_block{
    margin-right: unset;
  }
  .single .single_block::after, 
  .single2 .single_block::after{
    bottom: -1.5rem;
  }
  #section01.single .sec1_ch_l,
  #section01.single2 .sec1_ch_l{
    max-width: 400px;
  }
}





@media screen and (max-width: 992px) {

  /* ////////////////// sec01 ////////////////// */
  /* #section01 .sec1_ch_r{
    display: block;
    max-width: 450px;
    right: -16.9rem;
    bottom: -13rem;
  } */
  
  #section01 .sec1_ch_l{
    left: -10rem;
    bottom: -7rem;
  }



  /* ////////////////// 獨立頁 //////////////////  */
  #section01.single .sec_content, 
  #section01.single2 .sec_content{
    padding: 10% 10px 8% 10px;
  }
  .single .single_block::before, 
  .single2 .single_block::before{
    width: 14.5vw;
  }

  #section01.single .sec1_ch_r,
  #section01.single2 .sec1_ch_r{
    display: none;
  }


}




@media screen and (max-width: 769px) {


  /* ////////////////// 01_ //////////////////  */
  #section01 .sec_content{
    padding: 3% 10px 4% 10px;
  }
  #section01 .news_block{
    padding: 1rem 3.5rem;
    margin: 0 auto auto auto; 
  }
  .news_txtcon{
    margin-bottom: 1rem;
  }
  .news_txtcon .btn{
    width: 180px;
  }
  #section01 .sec1_ch_r{
    top: 23rem;
    right: -16.4rem;
  }
  #section01 .sec1_ch_l{
    left: -12rem;
    bottom: -5rem;
    transform: rotate(329deg);
  }



  /* ////////////////// 獨立頁 //////////////////  */
  #section01.single .sec1_ch_l, 
  #section01.single2 .sec1_ch_l{
    max-width: 350px;
    transform:rotate(349deg);
  }

}


@media screen and (max-width: 640px) {

  /* ////////////////// sec01 ////////////////// */
  #section01 .sec1_ch_l,
  #section01 .sec1_ch_r{
    display: none;
  }

  #section01 .sec_content{
    align-items: center;
    /* padding: 8% 10px 4% 10px; */
  }
  #section01 .news_block{
    width: 85vw;
    aspect-ratio:358/640;
    padding: 1.5rem;
    border-radius:30px 15px 30px 15px;
  }
  #section01 .news_block::before{
    width: 19.5vw;
    height: fit-content;
  }
  #section01 .news_block::after{
    width: 14.5vw;
  }
  .news_txtcon .list li a{
    padding: 8px 0;
  }

  /* ////////////////// 獨立頁 ////////////////// */
  .single .single_block,
  .single2 .single_block{
    border-radius:30px 15px 30px 15px;
  }
  .single .single_block::before,
  .single2 .single_block::before{
    width: 19.5vw;
  }

}

@media screen and (max-width: 576px) {

}


@media screen and (max-width: 431px) {
  #section01 .news_block{
    aspect-ratio:358/580;
  }
  .news_txtcon{
    margin-bottom: 0;
  }
  .news_txtcon .list{
    margin-bottom: 0;
  }
  .news_txtcon .list li a{
    padding: 6px 0;
    font-size: 14px;
  }
  .news_txtcon .btn{
    width: 120px;
  }


  /* ////////////////// 獨立頁 //////////////////  */
    #section01.single .sec_content, 
    #section01.single2 .sec_content{
    padding: 14% 10px 8% 10px;
    }

  .single .single_block, 
  .single2 .single_block{
    width: 95%;
    padding: 2.5rem .7rem 2rem .7rem;
  }
  /* .single .single_block::before, 
  .single2 .single_block::before{
    width: 27.5vw;
  } */
  .single .single_block::after, 
  .single2 .single_block::after{
    width: 13.5vw;
    bottom: -1.5rem;
  }
  .single_txtcon .classify li{
    margin: 0;
  }
  .single_txtcon .list li a{
    padding: 7px 0;
  }
  .single_txtcon .txt_title{
    font-size: 1.2rem;
  }
  .single_txtcon .txt_area{
    font-size: 14px;
    line-height: 27px;
  }
}



@media screen and (max-width: 390px) {
}


@media screen and (max-width: 376px) {
  /* ////////////////// sec01 ////////////////// */
  #section01 .sec_content{
    padding: 3% 10px 4% 10px;
  }
  #section01 .news_block{
    width: 76vw;
    padding: 1rem 1.5rem;
  }
  .news_txtcon .list{
    margin-top: 0;
    margin-bottom: 0;
  }
  .news_txtcon .list li{
    margin: 0;
  }
  .news_txtcon .list li a span.txt{
    font-size: 14px;
  }
  #section01 .swiper-pagination-bullets.swiper-pagination-horizontal{
    margin-top: .5rem;
  }
  .swiper3-pagination .swiper-pagination-bullet{
    width: 10px !important;
    height: 10px !important;
  }
}
