@charset "utf-8";
/* 簡單流變媒體
   注意: 流變媒體要求您必須移除 HTML 中媒體的高度和寬度屬性
   http://www.alistapart.com/articles/fluid-images/ 
*/

img, object, embed, video {
	max-width: 100%;
}
/* IE 6 不支援最大寬度，因此寬度預設為 100% */
.ie6 img {
	width:100%;
}
* img{ width: 100%; margin: auto 0;}
body, main, footer{ font-family: "微軟正黑體", "Arial", sans-serif;}
input:focus, textarea:focus, select:focus, option:focus{ outline: none;}

form{width: 100%;}

a:active,
a:visited,
a:hover { outline: 0; text-decoration:none;}

.display-style{ display: -webkit-flex; display: flex; flex-wrap: wrap;}

section{ overflow: hidden;}


/* 行動版面: 480px 以下。 */
.pc-img-style{ display: none !important;}
.ph-img-style{ display: inline-block !important;}

.top-bg{ width: 100%; margin: 0; position: relative;}
   .top-text{ position: absolute; top: 2%; left: 12%; width: 76%; margin: 0; z-index: 5;}
      .top-text h1{ width: 80%; margin: 0 10%;}
         .top-text h1 font{ display: none;}
      .top-text h2{ width: 100%; margin: 9% 0 7%;}
      .top-text h3{ width: 92%; margin:0 4%;}

.box01{ width: 100%; margin: 0; position: relative;}
   .box01 span{ position: absolute; top: 1%; right: 6%; width: 15%; margin: 0; z-index: 5;}
   .box01-text{ position: absolute; top: 5%; left: 18%; width: 64%; margin: 0; z-index: 5;}
   .box01-img{ position: absolute; justify-content: space-between; bottom: 1%; left: 18%; width: 64%;}
      .box01-img p{ width: 100%; margin:2px 0;}

.box02{ width: 100%; margin: 0;}

.box03{ width: 100%; margin: 0; position: relative;}
   .box03-content{ position: absolute; top: 2.5%; left: 5%; width: 90%; z-index: 5;}
      .box03-text{ width: 82%; margin: 0 9% 20px;}
         .box03-text h2{ width: 100%; margin: 0 0 15px;}
         .box03-text h3{ width: 100%; margin: 0;}
      .box03-img{ width: 90%; margin: 0 5%; position: relative;}

.box04{ width: 100%; margin: 0; position: relative;}
   .box04 span{ position: absolute; top: 5%; right: 5%; width: 26%; margin: 0; z-index: 5;}
   .box04-text{ position: absolute; top: 10%; left: 20%; width: 70%; margin: 0; z-index: 5;}
   .box04-img{ position: absolute; bottom: 18%; left: 5%; width: 90%; margin: 0; z-index: 5;}

.box05{ width: 100%; margin: 0; padding: 5% 3% 0; box-sizing: border-box; background: url(../images/box05-bg.jpg) repeat;}
   .box05-title{ width: 88%; margin: 0 6% 6%; position: relative;}
      .box05-title p{ position: absolute; top: -2%; left: 0; width: 35%;}
      .box05-title h2{ width: 100%; margin: 0;}
   .box05-item{ align-items: center; position: relative; width: 100%; margin: 18% 0;}
      .box05-item-text{ width: 100%; margin: 0;}
      .box05-item-img{ width: 80%; margin: 16px 10% 0; z-index: 3;}
   .box05-item LEAF{ position: absolute; bottom: 25%; width: 18%; margin: 0; z-index: 5;}
   .box05-item .LI-ir{ bottom: 95%; right: 6%;}
   .box05-item .LI-il{ bottom: 85%; left: 6%;}

.box06{ width: 100%; margin: 0; background: url(../images/box05-bg.jpg) repeat; position: relative;}
   .box06 span{ position: absolute; top: 50%; left: 3%; width: 10%; margin: 0; z-index: 5;}
   .box06-img{ width: 90%; margin: 0 5%;}

.box07{ width: 100%; margin: 0; padding: 15% 0 22%; box-sizing: border-box; background: url(../images/box05-bg.jpg) repeat; position: relative;}
   .box07 span{ position: absolute; top: 2%; right: 1%; width: 40%; margin: 0; z-index: 5;}
   .box07-text{ width: 86%; margin: 0 7%;}
   .box07-img{ width: 100%; margin: 0;}
      .box07-img-runimg{ width: 76%; margin: 45px 12%;}
      .box07-img-time{ width: 100%; margin: 0;}
         .box07-img-time-i{ width: 100%; margin: 0;}
            .box07-img-slide{ width: 100%; margin: 0; overflow-x: scroll; }
               .box07-img-slide::-webkit-scrollbar { display: none; height: 6px;}
               .box07-img-slide img{ min-width: 250%; margin: 0;}
         .box07-img-time-finger{ width: 64%; margin: 10px 18% 0;}
   .box07-bottom-text{ width: 70%; margin: 16% 15% 0;}
   .box07-bottom-img{ position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; z-index: 5;}




.footer-bg{ width: 100%; margin: 0; background: url(../images/box05-bg.jpg) repeat;}
   .footer-top{ width: 100%; margin: 0; position: relative;}
      .footer-top-text{ position: absolute; top: 10%; left: 7%; width: 86%; margin: 0;z-index: 5;}
         .footer-top-text h2, .footer-top-text h4{ width: 70%; margin: 0 15%;}
         .footer-top-text h3{ width: 100%; margin: 15% 0;}
   .footer-form{ width: 100%; margin: 0; position: relative;}
      .footer-form-li1{ position: absolute; top: -8%; left: 80%; width: 15%; margin: 0; z-index: 5;}
      .footer-form form{ width: 86%; margin: 0 7%;}
         .footer-form h3{ width: 160px; margin: 0 calc(50% - 80px) 25px;}
         .footer-form-table{ justify-content: space-between; align-items: center; width: 100%; margin: 0;}
            .footer-form-table-box{ width: 100%; margin: 0 auto; background-color: #FFF;}
               .footer-form-table-item{ align-items: center; width: 100%; margin: 12px 0; border: 1px #AAA solid; box-shadow: 1px 1px 15px #666;}
                  .footer-form-table-item p{ width: 120px; margin: 0 10px 0 0;}
                  .footer-form-table-item input{ width: calc(100% - 130px); margin: 0; padding:0; box-sizing: border-box; border: none; background-color: #FFF;}
            .textarea-style{ height: 100%; margin-top: 20px; padding: 8px; box-sizing: border-box;
               background: 
                  linear-gradient(135deg, transparent 10px, #0e6140 0) top left,
                  linear-gradient(225deg, transparent 10px, #0e6140 0) top right,
                  linear-gradient(315deg, transparent 10px, #0e6140 0) bottom right,
                  linear-gradient(45deg, transparent 10px, #0e6140 0) bottom left;
               background-size: 50% 50%;
               background-repeat: no-repeat;
               overflow: hidden;
            }
               .textarea-style textarea{ width: 101%; height: 30vh; margin: -0.8%; padding: 8px 12px; box-sizing: border-box; 
                  background: 
                     linear-gradient(135deg, transparent 8px, #FFF 0) top left,
                     linear-gradient(225deg, transparent 8px, #FFF 0) top right,
                     linear-gradient(315deg, transparent 8px, #FFF 0) bottom right,
                     linear-gradient(45deg, transparent 8px, #FFF 0) bottom left;
                  background-size: 50% 50%;
                  background-repeat: no-repeat; border: none; border-radius: 8px;
               }
               .footer-form-code{ justify-content: center; align-items: center; width: 100%; margin: 25px 0;}
               .footer-form-button{ justify-content: center; width: 100%; margin: 0 0 50px;}
                  .footer-form-button a{ width: 160px; margin: 0;}
      .footer-form-li2{ position: absolute; bottom: -15%; right: 10%; width: 10%; margin: 0; z-index: 5;}
      .footer-bottom-i{ width: 40%; margin: 0 60% 0 0;}
      .footer-information{ width: 100%; margin: 0; padding: 20px 8%; box-sizing: border-box; background: linear-gradient(to bottom,  rgba(139,178,77,1) 0%,rgba(60,127,66,1) 100%); }

.footer-copyright{ width: 100%; margin: 0 0 40px; padding: 12px calc(50% - 90px); box-sizing: border-box; background-color: #0e6140;}

/* 表格版面: 481px 到 768px。樣式繼承自: 行動版面。 */
@media only screen and (min-width: 481px) {
   .top-text{ top: 3%; left: 15%; width: 70%;}
      .top-text h2{ width: 100%; margin: 12% 0 10%;}

   .box01{ width: 100%; margin: 0;}
      .box01 span{ top: 1%; right: 8%; width: 12%;}
      .box01-text{ top: 5%; left: 18%; width: 64%;}
      .box01-img{ bottom: 1%; left: 18%; width: 64%;}
         .box01-img p{ width: 100%; margin:3px 0;}

   .box03{ width: 100%; margin: 0;}
      .box03-content{ top: 6%; left: 5%; width: 90%;}
         .box03-text{ width: 76%; margin: 0 12% 25px;}
            .box03-text h2{ width: 100%; margin: 0 0 25px;}
         .box03-img{ width: 86%; margin: 0 7%;}

   .box04{ width: 100%; margin: 0;}
      .box04 span{ top: 5%; right: 5%; width: 28%;}
      .box04-text{ top: 12%; left: 20%; width: 70%;}
      .box04-img{ bottom: 15%; left: 5%; width: 90%;}

   .box05{ width: 100%; margin: 0; padding: 6% 0 0;}
      .box05-title{ width: 80%; margin: 0 10% 8%;}
         .box05-title p{ top: -3%; width: 35%;}
      .box05-item{ width: 100%; margin: 16% 0;}
         .box05-item-img{ width: 80%; margin: 25px 10% 0;}
      .box05-item LEAF{ width: 20%;}
      .box05-item .LI-ir{ bottom: 95%; right: 6%;}
      .box05-item .LI-il{ bottom: 85%; left: 6%;}

   .box06{ width: 100%; margin: 0;}
      .box06-img{ width: 88%; margin: 0 6%;}

   .box07{ width: 100%; margin: 0; padding: 18% 0 22%;}
      .box07 span{ top: 2%; right: 7%; width: 36%;}
      .box07-text{ width: 80%; margin: 0 10%;}
         .box07-img-runimg{ width: 70%; margin: 60px 15%;}
                     .box07-img-slide img{ min-width: 180%; margin: 0;}
               .box07-img-time-finger{ width: 50%; margin: 12px 25% 0;}
      .box07-bottom-text{ width: 64%; margin: 16% 18% 0;}

   


   
   .footer-bg{ width: 100%; margin: 0;}
      .footer-top{ width: 100%; margin: 0;}
         .footer-top-text{ top: 10%; left: 10%; width: 80%;}
            .footer-top-text h3{ width: 100%; margin: 18% 0;}
         .footer-form-li1{ top: -5%; left: 75%; width: 15%;}
         .footer-form form{ width: 80%; margin: 0 10%;}
            .footer-form h3{ width: 180px; margin: 0 calc(50% - 90px) 35px;}
               .footer-form-table-box{ width: 100%;}
                  .footer-form-table-item{ width: 100%; margin: 20px 0;}
                     .footer-form-table-item p{ width: 140px; margin: 0 10px 0 0;}
                     .footer-form-table-item input{ width: calc(100% - 150px);}
               .textarea-style{ margin-top: 15px; padding: 8px;}
                  .textarea-style textarea{ width: 101%; height: 220px; margin: -0.8%; padding:8px 12px;}
                  .footer-form-code{ width: 100%; margin: 35px 0;}
                     .footer-form-button a{ width: 180px; margin: 0;}
         .footer-information{ width: 100%; margin: 0; padding: 35px 10%;}

   .footer-copyright{ margin: 0 0 50px; padding: 20px calc(50% - 100px);}
}


/* 桌面版面: 768px 到1024繼承自: 行動版面和表格版面。 */
@media only screen and (min-width: 769px) {
   .pc-img-style{ display: inline-block !important;}
   .ph-img-style{ display: none !important;}

   .top-text{ top: 8%; left: 8%; width: 55%;}
      .top-text h1{ width: 50%; margin: 0 50% 0 0;}
      .top-text h2{ width: 100%; margin: 8% 0 5%;}
      .top-text h3{ width: 42%; margin: 0 58% 0 0;}

   .box01{ width: 100%; margin: 0;}
      .box01 span{ top: 12%; right: 8%; width: 13%;}
      .box01-text{ top: 12%; left: 22%; width: 65%;}
      .box01-img{ bottom: 5%; left: 3%; width: 94%;}
         .box01-img p{ width: 33%; margin: 0;}

   .box03{ width: 100%; margin: 0;}
      .box03-content{ top: 2%; left: 5%; width: 90%;}
         .box03-text{ width: 38%; margin: 30px 2% 0 0;}
            .box03-text h2{ width: 100%; margin: 0 0 35px;}
         .box03-img{ width: 60%; margin: 0;}

   .box04{ width: 100%; margin: 0;}
      .box04 span{ top: 12%; right: 5%; width: 20%;}
      .box04-text{ top: 10%; left: 18%; width: 45%;}
      .box04-img{ bottom: 7%; left: 5%; width: 90%;}

   .box05{ width: 100%; margin: 0; padding: 8% 6% 3%;}
      .box05-title{ width: 100%; margin: 0 0 10%;}
         .box05-title p{ top: 0; width: 25%;}
         .box05-title h2{ width: 70%; margin: 0 0 0 30%;}
      .box05-item{ width: 100%; margin: 10% 0;}
         .box05-item-text{ width: 40%; margin: 0;}
         .box05-item-img{ width: 60%; margin: 0;}
      .pc-row-reverse{ flex-direction: row-reverse;}
      .box05-item LEAF{ width: 10%;}
      .box05-item .LI-ir{ bottom: 16%; right: -4%;}

   .box06{ width: 100%; margin: 0;}
      .box06 span{ top: 50%; left: 2%; width: 10%;}
      .box06-img{ width: 86%; margin: 0 7%;}

   .box07{ width: 100%; margin: 0; padding: 8% 0 3%;}
      .box07 span{ top: 5%; right: 7%; width: 25%;}
      .box07-text{ width: 82%; margin: 0 11% 45px 7%;}
      .box07-bottom-text{ width: 28%; margin: 6% 36% 0;}

   


   
   .footer-bg{ width: 100%; margin: 0;}
      .footer-top{ width: 100%; margin: 0;}
         .footer-top-text{ top: 8%; left: 30%; width: 40%;}
            .footer-top-text h3{ width: 100%; margin: 8% 0;}
         .footer-form-li1{ top: -25%; left: 10%; width: 15%;}
         .footer-form form{ width: 90%; margin: 0 5%;}
            .footer-form h3{ width: 180px; margin: 0 calc(50% - 90px) 50px;}
               .footer-form-table-box{ width: 46%;}
                  .footer-form-table-item{ width: 100%; margin: 25px 0;}
                     .footer-form-table-item p{ width: 130px; margin: 0 10px 0 0;}
                     .footer-form-table-item input{ width: calc(100% - 140px);}
               .textarea-style{ margin-top: 0; padding: 8px;}
                  .textarea-style textarea{ width: 101%; height: 220px; margin: -0.6%; padding:12px;}
                  .footer-form-code{ width: 100%; margin: 50px 0;}
                     .footer-form-button a{ width: 180px; margin: 0;}
         .footer-form-li2{ bottom: -5%; right: 8%; width: 12%;}
         .footer-bottom-i{ width: 45%; margin: 0 55% 0 0;}
         .footer-information{ width: 100%; margin: 0; padding: 50px calc(50% - 260px);}

   .footer-copyright{ margin: 0; padding: 20px calc(50% - 100px);}
}


/* 桌面版面: 1025px 到最大樣式繼承自: 行動版面和表格版面。 */
@media only screen and (min-width: 1025px) {
   .top-text{ top: 10%; left: 12%; width: 45%;}
      .top-text h1{ width: 55%; margin: 0 45% 0 0;}
      .top-text h2{ width: 100%; margin: 8% 0 5%;}

   .box01{ width: 100%; margin: 0;}
      .box01 span{ top: 12%; right: 15%; width: 12%;}
      .box01-text{ top: 15%; left: 20%; width: 55%;}
      .box01-img{ bottom: 8%; left: 5%; width: 90%;}
         .box01-img p{ width: 33%;}

   .box03{ width: 100%; margin: 0;}
      .box03-content{ top: 8%; left: 8%; width: 84%;}
         .box03-text{ width: 35%; margin: 35px 5% 0 0;}
            .box03-text h2{ width: 100%; margin: 0 0 35px;}
         .box03-img{ width: 60%; margin: 0;}

   .box04{ width: 100%; margin: 0;}
      .box04 span{ top: 20%; right: 10%; width: 18%;}
      .box04-text{ top: 16%; left: 20%; width: 40%;}
      .box04-img{ bottom: 8%; left: 10%; width: 80%;}

   .box05{ width: 100%; margin: 0; padding: 8% 10% 5%;}
      .box05-title{ width: 100%; margin: 0 0 10%;}
         .box05-title p{ width: 25%;}
         .box05-title h2{ width: 70%; margin: 0 0 0 30%;}
      .box05-item{ width: 100%; margin: 10% 0;}
         .box05-item-text{ width: 40%; margin: 0;}
         .box05-item-img{ width: 60%; margin: 0;}
      .box05-item LEAF{ width: 10%;}
      .box05-item .LI-ir{ bottom: 25%; right: -6%;}

   .box06{ width: 100%; margin: 0;}
      .box06 span{ left: 3%;}
      .box06-img{ width: 80%; margin: 0 10%;}

   .box07{ width: 100%; margin: 0; padding: 10% 0 5%;}
      .box07 span{ top: 5%; right: 10%; width: 22%;}
      .box07-text{ width: 70%; margin: 0 20% 60px 10%;}
      .box07-bottom-text{ width: 20%; margin: 10% 40% 0;}


   
   .footer-bg{ width: 100%; margin: 0;}
      .footer-top{ width: 100%; margin: 0;}
         .footer-top-text{ top: 18%; left: 35%; width: 30%;}
            .footer-top-text h3{ width: 100%; margin: 15% 0;}
         .footer-form-li1{ top: -40%; left: 20%; width: 10%;}
         .footer-form form{ width: 940px; margin: 0 calc(50% - 470px);}
            .footer-form h3{ width: 220px; margin: 0 calc(50% - 110px) 80px;}
               .footer-form-table-box{ width: 46%;}
                  .footer-form-table-item{ width: 100%; margin: 25px 0;}
                     .footer-form-table-item p{ width: 160px; margin: 0 10px 0 0;}
                     .footer-form-table-item input{ width: calc(100% - 170px);}
               .textarea-style{ padding: 8px;}
                  .textarea-style textarea{ width: 101%; height: 254px; margin: -0.6%; padding:15px;}
                  .footer-form-code{ width: 100%; margin: 50px 0;}
                     .footer-form-button a{ width: 200px; margin: 0;}
         .footer-form-li2{ bottom: -15%; right: 10%; width: 10%;}
         .footer-bottom-i{ width: 40%; margin: 0 60% 0 0;}
         .footer-information{ width: 100%; margin: 0; padding: 50px calc(50% - 280px);}

   .footer-copyright{padding: 20px calc(50% - 120px);}
   
}


@media only screen and (min-width: 1441px) {
   .box03{ width: 100%; margin: 0;}
      .box03-content{ top: 8%; left: 10%; width: 80%;}
         .box03-text{ width: 35%; margin: 35px 5% 0 0;}
            .box03-text h2{ width: 100%; margin: 0 0 35px;}
         .box03-img{ width: 60%; margin: 0;}
}




/* 可放大的圖片 */
.zoomable {
      cursor: zoom-in;
      transition: opacity 0.3s ease;
}

.zoomable:hover {
      opacity: 0.85;
}

/* 放大圖片的背景 */
.image-zoom-overlay {
      position: fixed;
      inset: 0;
      z-index: 9999;

      display: flex;
      align-items: center;
      justify-content: center;

      padding: 20px;
      background: rgba(0, 0, 0, 0.85);

      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
}

.image-zoom-overlay.active {
      opacity: 1;
      visibility: visible;
}

/* 放大後的圖片 */
.image-zoom-overlay img {
      display: block;
      max-width: 100%;
      max-height: 90vh;
      width: auto;
      height: auto;
      object-fit: contain;

      cursor: zoom-out;
}

/* 右上角關閉按鈕 */
.image-zoom-close {
      position: absolute;
      top: 20px;
      right: 25px;

      border: none;
      background: transparent;
      color: #fff;

      font-size: 36px;
      line-height: 1;
      cursor: pointer;
}



/* 浮動按鈕整體 */
.floating-tools {
  position: fixed;
  right: 20px;
  bottom: calc(50% - 120px);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* 三個連結的膠囊容器 */
.floating-links {
  width: 45px;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0 8px;
  background: #7aaa2b;
  border-radius: 999px;
  box-sizing: border-box;
  overflow: hidden;
}

/* 共用按鈕樣式 */
.floating-btn,
.back-to-top {
  width: 45px;
  height: 50px;
  padding: 0;
  display: flex;
   flex-wrap: wrap;
  align-items: center;
  justify-content: center;  
  border: none;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  
}

.floating-btn{color: #fff;font-size: 18px; padding-top: 7px;}
   .floating-btn:not(:last-child){ border-bottom: 1px #EEE solid;}
   .floating-btn p{ width: 100%; text-align: center; font-size: 11px; line-height: 22px;}
.back-to-top{ padding-top: 12px; font-size: 30px; color: #FFF; background-color:  #0e6140;}



/* 滑鼠移入效果 */
.floating-btn,
.back-to-top {
  transition: background-color 0.25s ease,
              opacity 0.25s ease;
}

.floating-btn:hover,
.back-to-top:hover {
   color: #ff9929;
}

/* 獨立圓形回頂部按鈕 */
.back-to-top {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

/* 手機版 */
@media (max-width: 768px) {
  .floating-tools {
    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: 50px;
    padding: 0;

    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    gap: 0;

    background: #0e6140;
    box-sizing: border-box;

    /* 支援 iPhone 底部安全區域 */
    padding-bottom: env(safe-area-inset-bottom);
  }

  .floating-links {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 50px;
    padding: 0;

    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 0;

    border-radius: 0;
  }

  .floating-btn {
    min-width: 0;
    width: 100%;
    height: 50px;
    border-radius: 0;
    font-size: 22px;
    padding-top: 0;
  }
   .floating-btn:not(:last-child){ border-bottom: none;}
   .floating-btn{ border-right: 1px #EEE solid;}
   .floating-btn p{ width: auto; margin: 3px 0 0 8px; font-size: 22px; font-weight: bolder;}

  .back-to-top {
    width: 22%;
    height: 50px;
    padding-top: 15px;
    border-radius: 0;
    font-size: 32px;
    background-color: #7aaa2b;
  }
}

@media (max-width: 480px) {
   .floating-tools, .floating-links, .floating-btn, .back-to-top{ height: 40px;}

   .floating-btn p{ font-size: 18px;}
}

