/* ==========================================================================
   首頁主題色／樣式覆寫（後台 color-setting2 編輯目標）
   主題代號：arch02（建築）
   用途：定義首頁色票與字型 token，並覆寫各 template 區塊的輪播、按鈕與裝飾色
   ========================================================================== */

/* https://fonts.google.com/  字型網址 */
@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap");
:root {
  /* 主色 */
  --home-color-main: #004f4f;
  /* 主色半透明 */
  --home-color-main-o: rgba(0, 79, 79, .3);
  /* 輔色 */
  --home-color-second: #668f95;
  /* 白色 */
  --home-color-white: #000;
  /* 白色半透明 */
  --home-color-white-o: hsla(0, 0%, 100%, .3);
  /* 黑色 */
  --home-color-black: #000;
  /* 黑色半透明 */
  --home-color-black-o: rgba(0, 0, 0, .3);
  /* 中性深色／分隔線常用色 */
  --home-color-origin: #757575;
  /* 透明 */
  --home-color-tr: transparent;
  /* 英文字型 */
  --home-font-en: "Roboto", sans-serif;
  /* 繁中字型 */
  --home-font-tw: "Noto Sans TC", sans-serif
}

/* 01 */
/* -------------------------------------------------- */

/* 背景色 */
.arch02-template-01-progress .bar div:after,
.arch02-template-01-progress .bar div:before {
  background-color: var(--home-color-white)
}
/* 背景色 */
.arch02-template-01-progress.dark .bar div:after,
.arch02-template-01-progress.dark .bar div:before,
.arch02-template-01-progress.dark .bar:after,
.arch02-template-01-progress.dark .bar:before {
  background-color: var(--home-color-origin)
}
/* 文字色 */
.arch02-template-01-progress {
  color: var(--home-color-white)
}
/* 文字色 */
.arch02-template-01-progress.dark {
  color: var(--home-color-origin)
}

/* 02 */
/* -------------------------------------------------- */

/* 背景色 */
.arch02-template-02 .text_box .memo:before {
  background-color: var(--home-color-white)
}
/* 邊框／陰影 */
.arch02-template-02.show .playvideo {
  border: 1px solid var(--home-color-white)
}
/* 邊框／陰影 */
.arch02-template-02 .playvideo:after {
  border-color: transparent transparent transparent var(--home-color-white)
}
/* 背景色 */
.arch02-template-02 .playvideo:hover {
  background-color: var(--home-color-main);
  border-color: var(--home-color-main)
}
/* 滾動指示線／背景 */
.arch02-template-02 .scroll:after {
  border-bottom: 1px solid var(--home-color-white);
  border-right: 1px solid var(--home-color-white)
}

/* 04 */
/* -------------------------------------------------- */

/* 文字色 */
.arch02-template-04 .arch02-template-04__swiper-slide .text {
  color: var(--home-color-main)
}
/* 背景色 */
.arch02-template-04 .arch02-template-04__swiper-slide:after {
  background-color: var(--home-color-origin)
}
/* 背景色 */
.arch02-template-04 .arch02-template-04__swiper-slide.active:after {
  background-color: var(--home-color-main)
}
/* 文字色 */
.arch02-template-04__swiper-bottom {
  color: var(--home-color-main)
}

/* 06 */
/* -------------------------------------------------- */

/* 邊框／陰影 */
.arch02-template-06 .info_box .text_box {
  border-bottom: 1px solid var(--home-color-origin)
}

/* 07 */
/* -------------------------------------------------- */

/* 輪播點點（啟用） */
.arch02-template-07__swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: var(--home-color-white);
  border-color: var(--home-color-white)
}
/* 文字色 */
.arch02-template-07__swiper-bottom .icon {
  color: var(--home-color-white)
}
/* 輪播點點 */
.arch02-template-07__swiper-pagination .swiper-pagination-bullet {
  background-color: var(--home-color-white)
}

/* 08 */
/* -------------------------------------------------- */

/* 背景色 */
.arch02-template-08 .text_box:after {
  background-color: var(--home-color-second) !important
}
/* 文字色 */
.arch02-template-08__swiper-bottom .icon {
  color: var(--home-color-white)
}
/* 輪播點點 */
.arch02-template-08 .arch02-template-08__swiper-pagination .swiper-pagination-bullet,
.arch02-template-09 .arch02-template-09__swiper-pagination .swiper-pagination-bullet {
  background-color: var(--home-color-white)
}

/* 10 */
/* -------------------------------------------------- */

/* 輪播進度條 */
.arch02-template-10 .swiper-pagination-progressbar {
  background-color: var(--home-color-white-o)
}
/* 輪播進度條 */
.arch02-template-10 .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background-color: var(--home-color-white)
}

/* 11 */
/* -------------------------------------------------- */

/* 背景色 */
.arch02-template-11 .text_box div:last-child:after {
  background-color: var(--home-color-origin)
}

/* 12 */
/* -------------------------------------------------- */

/* 播放按鈕邊框色 */
.arch02-template-12 .play {
  border: 1px solid var(--home-color-main)
}
/* 播放按鈕 hover 背景與邊框 */
.arch02-template-12 .play:hover {
  background-color: var(--home-color-white);
  border: 1px solid var(--home-color-white)
}
/* 播放按鈕三角形色 */
.arch02-template-12 .play:after {
  border-color: transparent transparent transparent var(--home-color-main)
}
/* 播放按鈕圖示色 */
.arch02-template-12 .play:before {
  color: var(--home-color-main)
}

/* 首頁選單（寬螢幕） */
@media (min-width:1100px) {

	/* Header11 水平主選單文字改白字 */
  .header-v11 .header-bar>.main_nav.nav-horizontal>.dropmenu>.has_dropmenu>a,
  .header-v11 .header-bar>.main_nav.nav-horizontal>.dropmenu>.has_dropmenu>a *,
  .header-v11 .header-bar>.main_nav.nav-horizontal>.m_area>a,
  .header-v11 .header-bar>.main_nav.nav-horizontal>a,
  .header-v11 .header-bar>.main_nav.nav-horizontal>a * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important
  }
}
/* 首頁選單下拉箭頭顏色 */
.header-v11 .header-bar .main_nav .has_dropmenu .more:before {
  background-color: #000
}
.arch02-template-02 .text_box .title {
    font-size: 40px;
    display: block;
    position: relative;
    margin-bottom: 20px;
    line-height: 60px;
    letter-spacing: 8px;
    opacity: 0;
    /* transform: translateY(20px) scale(1.05); */
    transform: translateY(20px);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}


.arch02-template-02 .text_box .memo {
    font-size: 24px;
    line-height: 40px;
    font-weight: bold;
    position: relative;
    display: block;
    letter-spacing: 2px;
    padding-left: 30px;
    opacity: 0;
    /* transform: translateY(20px) scale(1.05); */
    transform: translateY(20px);
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.arch02-template-06 .info_box .memo {
    color: #3f3e3e;
    font-size: 18px;
    letter-spacing: 1px;
    -webkit-line-clamp: 5;
    line-height: 32px;
}

.arch02-template-02.show {
    background: rgb(130, 219, 181);
}


.template-faq .faq-q-mark {
    flex: 0 0 auto;
    color: #47997f;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.template-faq .faq-toggle:before, .template-faq .faq-toggle:after {
    content: "";
    position: absolute;
    background: #47997f;
}

.arch02-template-02.show {
    background: rgb(130, 219, 181);
}

.arch02-template-01-progress {
    color: #000!important ;
    font-size: 18px;
    left: 3%;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s ease;
    z-index: 20;
}

.arch02-template-01-progress .bar div:after, .arch02-template-01-progress .bar div:before {
    background-color:#000!important ;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 0;
    transition: all .5s ease;
}





@media (max-width: 1200px) {

  /* 增加文字區塊寬度 */
  .arch02-template-02 .text_box {
    width: 58%;
    max-width: 650px;
  }

  /* 標題優化 */
  .arch02-template-02 .text_box .title {
    font-size: 40px;
    line-height: 1.4;
    letter-spacing: 2px;

    /* 讓文字完整顯示 */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    display: block;

    overflow-wrap: break-word;
  }

}



@media (max-width: 600px) {

  /* 手機版文字區塊 */
  .arch02-template-02 .text_box {
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* 主標題 */
  .arch02-template-02 .text_box .title {
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: 1px;
    font-weight: 500;

    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    display: block;
  }

  /* 內文說明 */
  .arch02-template-02 .text_box .memo {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 1px;
    font-weight: 400;

    padding-left: 20px;
    margin-top: 25px;

    /* 取消文字截斷 */
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
    overflow: visible;
    text-overflow: clip;

    /* 讓文字正常顯示 */
    opacity: 1;
    transform: none;
    white-space: normal;
  }

}






@media (max-width: 600px) {

  /* 整體文字區塊 */
  .arch02-template-02 .text_box {
    translate: 0 -120px;
  }

  /* 主標題 */
  .arch02-template-02 .text_box .title {
    font-size: 26px;
    line-height: 1.45;
    letter-spacing: 1px;
    font-weight: 500;
    white-space: normal;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  /* 內文 */
  .arch02-template-02 .text_box .memo {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    font-weight: 400;

    padding-left: 20px;
    padding-right: 12px;
    max-width: calc(100vw - 88px);
    box-sizing: border-box;

    margin-top: 15px;

    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

}



@media (max-width: 600px) {

  /* 整體文字區塊 */
  .arch02-template-02 .text_box {
    translate: 0 -120px;
  }

  /* 主標題 */
  .arch02-template-02 .text_box .title {
    font-size: 26px;
    line-height: 1.45;
    letter-spacing: 1px;
    font-weight: 500;
    white-space: normal;
    overflow: visible;
    -webkit-line-clamp: unset;
  }

  /* 內文 */
  .arch02-template-02 .text_box .memo {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    font-weight: 400;

    padding-left: 20px;
    padding-right: 12px;
    max-width: calc(100vw - 88px);
    box-sizing: border-box;

    margin-top: 15px;

    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

}

@media (max-width: 600px) {
  .arch02-template-02 .text_box .title {
    padding-left: 0;
    width: calc(100vw - 88px);
    max-width: calc(100vw - 88px);
    box-sizing: border-box;
  }
}


@media (max-width: 600px) {

  /* 標題 */
  .arch02-template-05 .text .title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 15px;

    width: calc(100vw - 68px);
    max-width: none;
    box-sizing: border-box;
    white-space: normal;
  }

  /* 敘述 */
  .arch02-template-05 .text .memo,
  .arch02-template-04 .arch02-template-04__swiper-slide .memo {
    display: block;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;

    width: calc(100vw - 68px);
    max-width: none;
    box-sizing: border-box;
    padding-right: 0;
    white-space: normal;
  }

}



@media (max-width: 600px) {

  .arch02-template-05 .text .sign {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    color: #3f3e3e;
    font-size: 14px;

    width: calc(100vw - 68px);
    max-width: none;
    box-sizing: border-box;
    padding-right: 0;
  }

}

