/* 字型設定 ======================= 
font-family: 'Roboto', sans-serif;
font-family: 'Noto Sans TC', sans-serif;
font-family: 'Noto Sans TC', 'Roboto', sans-serif;
*/
* { margin: 0; padding: 0; }
/* 通用設定========================= */
body { font-family: Helvetica, Arial, STHeiti, "Microsoft JhengHei", 微軟正黑體, sans-serif; color: #3C3C3C; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-family: 'Noto Sans TC', 'Roboto', sans-serif; }
h1 { font-style: 22px;}
h3 { color: #00ADC3; font-size: 46px;  margin: 110px 0 25px; }
h4 { font-size: 32px; position: relative; }
ul,ol,li { list-style: none; }
a { text-decoration: none;}
.clearboth { clear: both;}
.line{ border-left: 1px solid #fff; padding-left: 10px;}
/*.space{ padding-left: 5px; font-weight: lighter;}*/
/* .fontlight{ font-family: "GenSenMaruGothic Light";} */

h4 span{ color: #00ADC3; font-size: 28px; background: #fff; display: inline; padding: 0 30px; position: relative; z-index: 1; }
h4::after{ content: ""; width: 100%; height: 2px; background: #00ADC3; 
  position: absolute; left: 0; bottom: 50%;         
}
p { line-height: 2em; color: #3C3C3C; font-size: 20px; text-align: justify; }

.container{  max-width: 1200px; margin: 0 auto; padding: 0; }
.containerL{  max-width: 1600px; margin: 0 auto;padding: 0; }

/* medium以下尺寸 */
@media (max-width: 992px) {
  .container{ width: 90%;}
  h3 { font-size: 30px; margin: 56px 0 15px;}
  h4 { font-size: 20px;}
  h4 span { font-size: 20px;}
}
/* small 以下尺寸 */
@media (max-width: 601px) {
  /* .container{ width: 90%;} */
  .container{ width: 84%;}
  h3 { margin: 50px 0 15px;}

}
/* header========================= */
header{ height: 100px; width: 100%; position: fixed; z-index: 10000;
  background-color: white; }
/* medium以下尺寸 */
@media (max-width: 992px) {
  header{ height: 80px;  }
}
header.headershadow { box-shadow: 0 3px 6px rgba(0,0,0,.3); }

.container_nav{ height: 100%; margin: 0 5.2%;  position: relative;}     
/* 5.2% = 1920網頁寛:100左右邊界 */
.logo{ width: 310px; height: 37px; }
nav{ z-index: 999;}
nav a { font-size: 22px; margin: 0 14px; display: inline-block; position: relative; 
  font-family: 'Noto Sans TC', 'Roboto', sans-serif; }
/*
nav a:hover:after{ content: ''; display: block;
position: absolute; left: 5%; bottom: 10px; width: 90%; transform: translateY(3px);
border-bottom: 1px solid rgba(0, 0, 0, 0.6); }
*/
nav .active{ color: #00ADC3; }
.navIcon:hover{ background: none;}
.navIcon.w3-button:hover {  background-color: transparent !important;  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.664)); }
.navIcon.w3-button:active {  background-color: transparent !important;  transform: translate(1px,1px); }

.navMobile a{ display: block; width: 100%; text-align: center; }

/* 關於傳揚  svg 文字問題 */
.aboutWord img{  width: 83%; margin-top: -2px;  }
.aboutWord{position: relative;}
/*.aboutWord:hover::after{ content: ""; width: 75%; height: 1px; border:1px solid rgb(60, 60, 60); position: absolute; bottom: 10px ; left: 10px; }*/


/* medium以下尺寸 */
@media (max-width: 992px) {
  .container_nav{ margin:0; }
  .logo { width: 190px; height: 24px; position: absolute; left: 15px; top: 30px;}
  #navClick {position: relative;}
  #navClick{ top: 80px; width: 100%;  height: 100%; bottom: 0; right: 0; background:rgba(0, 0, 0, 0.6);}
  #navClick>div{ background:#fff; margin-bottom: 30px; overflow: hidden; border-bottom: 8px solid #00ADC3;}
  #navClick a{ font-size: 20px; text-align: center; display: block; width: 100%; height: 65px; line-height: 65px; transition: all .3s; margin: 0; }
  #navClick a:hover{background: #00ADC3 !important; color: #fff !important;}
  #navClick .more{margin: 30px auto 30px; padding: 0;}  
  #navClick .more::after{ display: none;}
  #navClick .more a{height: auto; line-height: inherit;  }
  .w3-display-right{ top: 0;}
  .navIcon{ position: absolute; top: 10px; right: 0;}
}

/* banner (除了index.php 其餘頁面共用 ============================= */
.bannerHeader{ text-align: center; color: #fff; height: 100%; position: relative;  font-family: 'Noto Sans TC', 'Roboto', sans-serif; }
.bannerHeader::after { content: ""; height: 100%; width: 100%; position: absolute; top: 0; left: 0; background: rgba(0, 0, 0, 0.34); z-index: 1;}
.bannerHeader img{ width: 100%; height: auto; }
.bannerHeader h2 { font-size: 51px; text-shadow: 4px 4px 10px #000; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; }
.bannerHeader h2 span { font-size: 38px; display: block; font-weight: bold; }
/* medium以下尺寸 */
@media (max-width: 992px) {
  .bannerHeader h2 { font-size: 30px; text-shadow: 4px 4px 10px #000; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; }
  .bannerHeader h2 span { font-size: 28px; display: block; font-weight: bold; }
}
/* small以下尺寸 */
@media (max-width: 601px) {
  .bannerHeader{ display: none;}
}

#banner { padding-top: 100px; }
@media (max-width: 992px) {
  #banner{ padding-top: 80px;  }
}
/* #main ==================================== */
#main { }
/* #main section ========= */
section h3{ text-align: center; }
section h4{ text-align: center;}


/* ServiceItems (標題：精彩案例 共用頁面：index.php、service.php) ========= */
/* Index 不同所使用 */
@media (max-width: 601px) {
  /* .container{ width: 90%;} */
  .serviceItemBlock{ width: 100%; background: #FAFAFA; position: relative; }
  .serviceItemBlock section{ width: 84%; }
  .serviceItemBlock::before{ content: ""; width: 100%; height: 50px;position: absolute; top: -50px;background: #FAFAFA; }
  .serviceItemBlock h4 span{  background: #FAFAFA;}
}

/* 其他頁面共用 */
.Servicefigs { position: relative;}
.ServiceItem{ position: relative; margin-top: 100px; padding: 0;margin-bottom : 150px;}
.ServiceItem::after{
  content: ""; width: 90%; height: 100%; background: rgba(0,0,0,.06);
  position: absolute; top: 50px; left: 0; z-index: -1;
}
.ServiceItem:nth-child(2n) .ServiceNote {float: right; padding:0 50px 0 50px;}
.ServiceItem:nth-child(2n+1) .ServiceNote {padding:0 50px 0 50px;}
.ServiceItem:nth-child(2n) .Servicefigs {float: left;}
.ServiceItem:nth-child(2n):after { right:  0; left: inherit; }
.ServiceItem:last-child { margin-bottom : 110px;}


.ServiceNote .title { color: #00ADC3; font-size: 32px; margin-top: 25px; }
.ServiceSec { line-height: 2em; margin-bottom: 50px; margin-top: 20px;}
.company{ color: #fff; background: #F08D1D; font-size: 20px; padding: 5px 15px; margin-right: 20px; }
.title2 { color: #F08D1D; font-size: 22px;}
.ServiceNote p { line-height: 2em; color: #3C3C3C; font-size: 20px; text-align: justify; }
.Servicefigs img{ width: 100%;}
.slick-prev { left: -17px; z-index: 99; width: 35px;  height: 35px;}
.slick-next { right: -17px; z-index: 99; width: 35px;  height: 35px; }
.slick-prev:before {  content: url(../img/icon_fig_left.svg);}
.slick-next:before {  content: url(../img/icon_fig_right.svg);}

.slick-prev:before, .slick-next:before { filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.16)); }
.slick-slider {  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.16); }
.figsCount{position: absolute; bottom: 1%; right: 1%; z-index: 99; color: #fff; text-shadow: 1px 1px 2px #000;}


/* medium以下尺寸 */
@media (max-width: 992px) {
  .ServiceItem{ margin:  0;}
  /*  .ServiceItem:nth-child(2) {display: none;}*/
  .ServiceNote .title { font-size: 26px; margin-top: 25px;}
  .company{font-size: 14px; padding: 5px 10px; margin-right: 14px; }
  .title2 { font-size: 16px;}
  .ServiceNote p { line-height: 1.8em; font-size: 16px;}
  .ServiceItem:last-child { margin-bottom : 100px;}
  .slick-prev:before {  content:"";background:url(../img/icon_fig_left.svg);background-size: contain;  width: 26px; height: 26px; display: block; }
  .slick-next:before {  content:"";background:url(../img/icon_fig_right.svg);background-size: contain;  width: 26px; height: 26px; display: block; }


  /* 讓圖/文字區塊 左右切齊 */
  .ServiceItem:nth-child(2n) .ServiceNote {padding:0;}
  .ServiceItem:nth-child(2n+1) .ServiceNote {padding:0 0 30px 0;}
  .ServiceSec { margin-bottom: 19px; margin-top: 5px;}
  /* 讓圖/文字區塊 位置對調 */
  .ServiceItem{ display: flex; flex-direction: column; margin-top: 35px;}
  .ServiceItem:last-child { margin-bottom : 0;}
  .ServiceNote{ order:2; }
  .Servicefigs{ order:1; }
  .ServiceItem::after{ display: none;}
}
/* small 以下尺寸 */
@media (max-width: 601px) {
  .ServiceItem:last-child .ServiceNote {padding:0;}
}

/* more ======== */
.more{
  width: 228px; height: 65px; margin: 56px auto 0; position: relative; /*transition: all .3s;*/
  background: #F8B500; color: #fff; font-size: 20px; line-height: 65px; padding-left: 23px; border-radius: 2px;
}
.more a { display: block;}
.more:hover { background: #00AEC4;}
.more:active { background: #266466; box-shadow:  15% 2px 2px 5px inset; transform: translate(1px,1px); }
.more:disabled { background: #BFBFBF;}
.more::after{
  content: ""; width: 26px; height: 9px; 
  background: url(../img/icon_btn_arrow_white.png);
  background-size: contain;
  position: absolute; top: 47%; right: 23px; transform: translateY(-50%);
  animation:  moreAn infinite 1.5s linear alternate-reverse; transition: all .3s;
}
@keyframes moreAn{
  /*
  0%{ right: 46px; }
  100%{ right: 23px; }
  */
  50% { transform: translate(-20px,-50%) }
}
@media (max-width: 992px) {
  .more{width: 150px; height: 45px; line-height: 45px; 
    padding-left: 15px; margin-top: 30px; font-size: 15px; }
  .more2::after{ right: 10px; }
}
/* newsCard (標題：最新訊息 共用頁面：index.php、news.php) ======= */
.card { box-shadow: none; }
.card img { box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16); }

.newsImg{ box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6); 
  width: 100%; margin: 0 auto; max-width: 1200px; }
.newsImg img { width: 100%; height: auto; }

.ActivityMonth { color: #F08D1D; font-size: 22px; margin-top: 40px; }
.ActivityMonth2 { color: #F08D1D; font-size: 22px; margin-top: 10px; }
.card .title { color: #00ADC3; font-size: 32px; margin-top: 10px; margin-bottom: 34px; transition: all .5s;}

.ActivityDate,.ActivityPlace{ font-size: 18px; }
.ActivityDate span:nth-child(2),.ActivityPlace span:nth-child(2) { color: #F08D1D; font-size: 22px; margin-left: 20px; }
.ActivityInfo { padding: 40px 0 50px; white-space: nowrap;}
.ActivityInfo>div { float: left; margin-right: 3em; }
/* medium以下尺寸 */
@media (max-width: 992px) {
  .ActivityMonth, .ActivityMonth2 { font-size: 16px; margin-top: 23px; }
  .card .title { font-size: 26px; margin-top: 6px; }
  .card p { font-size: 16px; line-height: 30px; }
  /* 活動時間 flex 在medium下換行*/
  .ActivityDate,.ActivityPlace{ font-size: 14px; display: flex; line-height: 28px; }
  .ActivityDate span:nth-child(1),.ActivityPlace span:nth-child(1)  { width: 56px; white-space:nowrap;}                            
  .ActivityDate span:nth-child(2),.ActivityPlace span:nth-child(2) { font-size: 16px; }
  .ActivityInfo { padding: 20px 0 30px;}

}
/* medium以下尺寸 */
@media (max-width: 992px) {
  .card {  margin-bottom: 36px;}
}
/* small 以下尺寸 */
@media (max-width: 601px) {
  /* card 在手機時加 bottom 加底線 */
  .newsCard { border-bottom: 1px solid rgba(185, 185, 185, 0.74); padding-bottom: 36px; margin-bottom: 60px;}
  .newsCard:last-of-type { border-bottom: none ; padding-bottom: 0; margin-bottom: 0;}
  .card .title { margin-bottom: 22px;}
  .ActivityInfo { white-space:inherit;}
  .newsImg{ background-position: center center; background-size: cover;  }

}

.n_img_m { display: none; }
.n_img_d { display: block; }
@media ( max-width: 601px ) {
  .n_img_d { display: none; }
  .n_img_m { display: block; }
}


/* footer ==============================  */
footer{
  min-height: 515px ; background: #00ADC3; border-top: 15px solid #F8B500; color: #fff;
  margin-top: 50px; padding: 100px 0 30px ; font-size: 20px; overflow: hidden;
}
.footer_logo{text-align: center;}
.footerNav { max-width: 700px; margin: 40px auto 70px; text-align: center; }
.footerNav a{ display: inline-block; width: 24%; font-size: 28px; }

.footerInfo{ display: flex; justify-content: space-between; 
  max-width: 1400px; margin: 0 auto 80px; line-height: 1.8em; }
.footerInfo>div { display: flex; flex-direction: column; text-align: center; }
.spaceTel { display: flex; }
.spaceTel span { margin: 0 3px; }
.spaceTel li span:nth-of-type(3) { padding: 0 10px; opacity: .5; }

.SeparationLine{ border: .8px solid #fff; margin: 0 5.2%; opacity: .4;}
.copyright{ text-align: center; font-size: 18px; padding-top: 30px;}

@media(max-width:1320px){
  .spaceTel li { display: flex; flex-direction: column; margin: 0 20px; line-height: 1em; }
  .spaceTel li span:nth-of-type(3) { display: none; }
}

@media(max-width:1200px){
  .spaceTel { flex-direction: column; }
  .spaceTel li { display: flex; flex-direction: row; margin: 0 20px; line-height: 1em; }
  .spaceTel li span:nth-of-type(3) { display: none; }
}

@media(max-width:820px){
  footer { padding-top: 60px; border-top-width: 10px; }
  .footer_logo img { max-width: 180px; width: 90%; height: auto; }
  .footerNav { max-width: 300px; margin: 30px auto 50px; overflow: hidden; }
  .footerNav::before, .footerNav::after { display: none; }
  .footerNav>a{ display: block; float: left; width: 50%; padding: 10px 0; 
    font-size: 18px; box-sizing: border-box; }

  .footerInfo { flex-direction: column; font-size: 14px; margin-bottom: 0; }
  .footerInfo>div { margin-bottom: 40px; }
  .spaceTel { flex-direction: row; justify-content: center; }
  .spaceTel li { display: flex; flex-direction: column; margin: 0; padding: 0 10px;
    line-height: 1.2em; border-right: 0.5px solid rgba(255, 255, 255, 0.5); }
  .spaceTel li:last-child { border: none; }
  .spaceTel li span { flex-grow: 1; }
  .spaceTel li span:nth-of-type(3) { display: none; }
  .copyright { font-size: 14px; }
}
