@charset "utf-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: normal
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

body {
  line-height: 1;
  position: relative;
  background: #fff;
  font-family: "Heebo", "Arial", sans-serif;
  font-size: 14px
}


html[lang=zh-tw] body {
    font-family: "微軟正黑體", "Microsoft JhengHei", "Arial", "Helvetica", sans-serif;
}

blockquote, q {
  quotes: none
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none
}
div, p, a, li, td {
  -webkit-text-size-adjust: none;
  line-height: 1.5em;
}
br {
  height: 1px;
  font-size: 1px
}
a {
  color: #004280;
  text-decoration: none;
  outline: 0
}
a:hover, a:active, a:focus {
  color: #004280;
  text-decoration: underline
}
:focus {
  outline-color: transparent;
  outline-style: none
}
a img {
  border: 0
}
.clear {
  background: none;
  border: 0;
  clear: both;
  display: block;
  float: none;
  font-size: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0
}
.clearfix:after {
  clear: both;
  content: '.';
  display: block;
  visibility: hidden;
  height: 0
}
#container {
  width: 100%
}
#advan-content {
  background: #fff;
}
#advan-header {
  padding-bottom: 20px
}
.row-fluid {
  width: 100%;
  clear: both
}
.row-fluid:after {
  clear: both
}
.row-maxwidth-80pct {
  width: 43.09%;
  min-width: 820px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: content-box;
}
.row-maxwidth-95pct {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: content-box;
}
.row-maxwidth-98pct {
  width: 98%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: content-box;
}
.row-maxwidth-100pct {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1%;
  box-sizing: content-box;
}
/*----------------------------------
 justfont Setting
-----------------------------------*/
.jf-loading body { /*載入中不顯示*/
      opacity: 0;
      visibility: hidden;
}
.jf-active body { /*如果處理成功，直接顯示*/
      opacity: 1;
      visibility: visible;
}
.jf-inactive body {/*如果處理失敗，直接顯示*/
      opacity: 1;
      visibility: visible;
}
/*----------------------------------
 Base Setting
-----------------------------------*/
h1 {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
}
h2 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
}
h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  padding-bottom: 10px;
  margin-bottom: 0;
  max-width: 820px;
}
.page-intro{
    font-size: 18px;
    margin-top: 15px;
}

h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0;
}
html[lang=zh-tw] h3,html[lang=zh-tw] h4 {
  font-weight: bold;
}
p, li {
  font-size: 14px;
}
#career-KV .bannerWrapper {
  width: 100%;
  height: auto;
  min-height: 450px;
  background-image: url("./images/KV-Banner-bg.jpg");
  background-repeat: no-repeat;
  background-position: top;
  background-color: #797878;
  background-size: cover;
  position: relative;
}
.section-intro {
  font-size: 14px;
  line-height: 1.5em;
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 50px;
}
.section-intro a{
    color: #336899;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #336899;
    text-decoration-thickness: 3px;
    cursor: pointer;
}
.section-intro a:hover{
    color: #004280;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #004280;
    text-decoration-thickness: 3px;
}
.center-txt{
    margin: 0 auto;
    text-align: center;
}
.center-block {
  margin: 0 auto;
  padding: 70px 0 50px 0;
  text-align: center;
}
.center-block-sm{
  margin: 0 auto;
  padding: 30px 0 30px 0;
  text-align: center;
}
.divider{
    width: 200px;
    height: 3px;
    margin-bottom: 10px;
    display: inline-block;
    background: #F39800;
}
.pt-0{padding-top: 0!important;}
.pt-5{padding-top: 5px;}
.pt-10{padding-top: 10px;}
.pt-20{padding-top: 20px;}
.pt-30{padding-top: 30px;}
.pt-50{padding-top: 50px;}

.pb-0{padding-bottom: 0!important;}
.pb-5{padding-bottom: 5px;}
.pb-10{padding-bottom: 10px;}
.pb-20{padding-bottom: 20px;}
.pb-30{padding-bottom: 30px;}
.pb-50{padding-bottom: 50px;}

.mt-0{margin-top: 0!important;}
.mt-5{margin-top: 5px;}
.mt-10{margin-top: 10px;}
.mt-20{margin-top: 20px;}
.mt-30{margin-top: 30px;}
.mt-50{margin-top: 50px;}

.mb-0{margin-bottom: 0!important;}
.mb-5{margin-bottom: 5px;}
.mb-10{margin-bottom: 10px;}
.mb-20{margin-bottom: 20px;}
.mb-30{margin-bottom: 30px;}
.mb-50{margin-bottom: 50px;}


.btn {
  border: 1px solid #F39800;
  margin: 10px 10px 10px 0;
  font-size: 16px;
  padding: 8px 22px;
  line-height: 1.5;
  cursor: pointer;
}
.btn.btn-primary {
  color: #fff;
  background-color: #F39800;
  margin-right: 10px;
  display: inline-block;
}
.btn.btn-primary:hover {
  background-color: #e57b03;
  text-decoration: none;
}
@media screen and (max-width:1440px) {
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
  }

}
@media screen and (max-width:768px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 26px;
  }
}



.list-group ul,ul{
    list-style: none;
}

.list-group ul li{
    margin-bottom: 10px;
    padding:0 0 10px 20px;
    border-bottom: #ccc 1px solid;
    position: relative;

}
.list-group ul li h4{
    margin-bottom: 5px;
}

.list-group ul li::before{
    content: '●';
    color: #F39800;
    display: inline-block;
    position: absolute;
    left: 0;
    top: -2px;
}

.list-group.narrow-list li{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    
}
/*----------------------------------
  W 1600px
-----------------------------------*/
@media screen and (min-width: 1200px) {
  .row-maxwidth-98pct, .row-maxwidth-100pct, ul.header-nav .cols4, ul.header-nav .cols3 {
    max-width: 1600px
  }
  .footer-contact .card-item {
    max-width: 400px
  }
}
@media screen and (max-width: 1600px) {
  .row-maxwidth-98pct {
    width: 94%
  }
}
@media screen and (max-width: 1440px) {
  .row-maxwidth-98pct {
    width: 93.4%
  }
}
@media screen and (max-width: 1366px) {
  .row-maxwidth-98pct {
    width: 93%
  }
}
/*----------------------------------
  Logo
-----------------------------------*/
#foundation-header .header-logo a {
  width: 280px;
  height: 80px;
  display: inline-block;
  text-indent: -9999px;
  background-image: url("../images/foundation-logo.svg");
  background-image: url("../images/foundation-logo.png") \9;
  background-repeat: no-repeat;
  background-position: left top;
}
@media screen and (max-width: 1200px) {
  #foundation-header .header-logo a {
    width: 210px;
    height: 65px;
  }
}
/*----------------------------------
  header-wrapper
-----------------------------------*/
#foundation-header {
  border-bottom: #F39800 4px solid;
}
#foundation-header .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}
#main-nav ul {
  display: flex;
}
#main-nav .nav-item {
  list-style: none;
    font-size: 16px;
}
#main-nav .nav-item a::after {
  content: '|';
  color: #ccc;
  margin: 0 15px;
}
#main-nav .nav-item:last-child a::after {
  display: none;
}

/*hidden for now*/
#main-nav .nav-item:nth-child(5),
#main-nav .nav-item:nth-child(6){
    display: none;
}
#main-nav .nav-item:nth-child(4) a::after {
  display: none;
}
/**/

.main-nav-mobile-btn {
  display: none;
  position: absolute;
  right: 2.5%;
}
.main-nav-mobile-btn i {
  color: #004280;
  font-size: 24px;
}
/*---language---*/
.btn-language i {
  margin-right: 5px;
}
.btn-language-mobile {
  display: none;
}
@media screen and (max-width: 1024px) {
  .main-nav-mobile-btn {
    display: block;
    cursor: pointer;
  }
  #main-nav {
    position: absolute;
    top: 79px;
    z-index: -2;
    left: 0;
    right: 0;
    width: 100%;
    background: #f2f2f2;
  }
  #main-nav.panel-open {
    z-index: 2 !important;
  }
  #main-nav ul {
    padding: 20px;
    flex-direction: column;
    gap: 10px;
  }
  #main-nav .nav-item a::after {
    display: none;
  }
  .btn-language-mobile {
    /*display: block;*/
    margin-right: 30px;
  }
  .btn-language-pc {
    display: none;
  }
}
/*-----------------------------
   KV Banner
-------------------------------*/
#main-banner .main-bannerWrapper {
  background: url("../images/kv-bg.png") no-repeat bottom right / cover;
}
#main-banner .main-bannerInner {
  display: flex;
  justify-content: space-between;
  height: auto;
  aspect-ratio: 1600 / 950;
  max-height: 950px;
  background: url("../images/kv-banner-01.png") no-repeat bottom right / cover;
}
#main-banner .banner-txt {
  padding-top: 15vw;
  width: 40%;
}
#main-banner .site-name {
  font-size: 44px;
  color: #e18e03;
  margin-bottom: 10px;
}
@media screen and (max-width: 1440px) {
  #main-banner .site-name {
    font-size: 36px;
  }
}
@media screen and (max-width: 768px) {
  #main-banner .site-name {
    font-size: 26px;
  }
}
@media screen and (max-width: 580px) {
  #main-banner .main-bannerWrapper {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url("../images/kv-bg.png") no-repeat bottom right / cover;
  }
  #main-banner .main-bannerInner {
    background: none;
  }
  #main-banner .banner-txt {
    text-align: center;
    width: 100%;
  }
}

/*---------------
   inside page Title
----------------*/


.pageTitle-01{background: url("../css/css-img/inside-page-title-01.png") no-repeat bottom right;}
.pageTitle-02{background: url("../css/css-img/inside-page-title-02.png") no-repeat bottom right;}
.pageTitle-03{background: url("../css/css-img/inside-page-title-03.png") no-repeat bottom right;}
.pageTitle-04{background: url("../css/css-img/inside-page-title-04.png") no-repeat bottom right;}
.inside-pageTitle{
    width: 100%;
    height: auto;
    min-height: 210px;
    max-height: 300px;
    padding-top: 80px;
    padding-bottom: 30px;
    box-sizing: border-box;
    aspect-ratio: 830 / 300;
    background-size: auto;
}

.inside-pageTitle .banner-txt{
   max-width: 50%;
}

@media screen and (max-width: 1366px) {
    .inside-pageTitle{
        padding-top: 50px;
        background-position: bottom 0 right -170px;
    }
}
@media screen and (max-width: 1024px) {
    .inside-pageTitle{
       min-height: auto; 
    }
    .inside-pageTitle{
        background-size: 70%;
    }
}
@media screen and (max-width: 768px) {
   .inside-pageTitle .banner-txt{
   max-width: 55%;
}
}

@media screen and (max-width: 580px) {
    .inside-pageTitle{
        background: none;
        aspect-ratio:auto;
    }
    .inside-pageTitle .banner-txt{
    max-width:100%;
}
}
/*---------------
   Slogan
----------------*/


#slogan {
  padding: 30px 0 50px 0;
}
.slogan-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.slogan-txt {
  /*flex: 0 0 80%;*/
  display: flex;
  font-family: "pentouch-regular";
  font-weight: 600;
}
.slogan-txt p {
  font-size: 36px;
  text-align: center;
  line-height: 1.5em;
  padding: 0 15px;
  font-family: "pentouch-regular";
  font-weight: 600;
}
.slogan-img {
  flex: 0 0 20%;
}
.slogan-img img {
  width: 100%;
  height: auto;
}
.point-right {
  display: flex;
  flex-direction: column;
  margin-bottom: -30px;
}
.point-right img {
  margin-top: auto;
}
.point-left img, .point-right img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
}
@media screen and (max-width:1440px) {
  .slogan-txt p {
    font-size: 26px;
  }
}
@media screen and (max-width:1200px) {
  .slogan-txt p br {
    display: none;
  }
}
@media screen and (max-width:768px) {
  .slogan-txt p {
    font-size: 18px;
  }
}
@media screen and (max-width:580px) {
  .slogan-inner {
    flex-direction: column;
  }
  .slogan-img {
    width: 40%;
  }
}
/*----------------------------------------
 Main Action ( Homepage & Inside pages )
------------------------------------------*/

#main-action .main-actionWrapper {
  display: flex;
  justify-content: center;
  background: 
      url("../css/css-img/watercolor-bg-bottom.jpg") repeat-x center bottom, 
      url("../css/css-img/watercolor-home-top.jpg") repeat-x center top,
      #fdeacc;
    
  background-size: auto;
  width: 100%;
  min-height: 700px;
  padding: 150px 0 70px 0;
  box-sizing: border-box;
}

#main-action .inside-actionWrapper {
  width: 100%;
  height:auto;
  min-height: 600px;
  padding: 100px 0 100px 0;
  box-sizing: border-box;
  background: 
    url("../css/css-img/watercolor-bg-bottom.jpg") repeat-x center bottom, 
    url("../css/css-img/watercolor-bg-top.jpg") repeat-x center top,  
    #fdeacc;
    
  background-size: auto;
    /*#faf3e6; *//* 背景底色 */
}

#main-action .action-list {
  padding: 50px 0;
}
#main-action .action-list ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
#main-action .action-list li {
  width: 220px;
  height: 220px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  position: relative;
  vertical-align: bottom;
}
#main-action .action-list li:nth-child(1) {
  background: #fff url("../css/css-img/action-num-01.png") no-repeat center top 30px;
}
#main-action .action-list li:nth-child(2) {
  background: #fff url("../css/css-img/action-num-02.png") no-repeat center top 30px;
}
#main-action .action-list li:nth-child(3) {
  background: #fff url("../css/css-img/action-num-03.png") no-repeat center top 30px;
}
#main-action .action-list li:nth-child(4) {
  background: #fff url("../css/css-img/action-num-04.png") no-repeat center top 30px;
}
#main-action .action-list li:nth-child(5) {
  background: #fff url("../css/css-img/action-num-05.png") no-repeat center top 30px;
}
#main-action .action-list li:nth-child(2), #main-action .action-list li:nth-child(4) {
  position: relative;
  top: 50px;
}
#main-action .action-list li:nth-child(1), #main-action .action-list li:nth-child(2), #main-action .action-list li:nth-child(3), #main-action .action-list li:nth-child(4), #main-action .action-list li:nth-child(5) {
    background-size: 60px;
  }
#main-action .action-list li p {
  /*font-size: 22px;*/
  font-size: 28px;
  color: #e18e03;
  padding: 55px 20px 0 20px;
  text-align: center;
  line-height: 1.3em;
  font-family: "pentouch-regular";
  font-weight: 600;
}
#main-action .action-list li::after {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  border: 3px solid #F39800;
  border-radius: 50%;
}
#main-action .action-list li:nth-child(2)::after, #main-action .action-list li:nth-child(4)::after {
  top: 0;
  left: 0;
  right: -12px;
  bottom: -12px;
}
@media (max-width: 1280px) {
 #main-action .action-list li {
  width: 200px;
  height: 200px;
    }
}
@media (max-width: 1200px) {
  #main-action .action-list {
    justify-content: space-between; /* 改用左右分佈 */
    width: 80%;
    margin: 0 auto;
  }

  #main-action .action-list li {
    flex: 0 0 calc(33.33% - 30px); /* 每行三個，扣除間距 */
    height: auto;
    aspect-ratio: 1 / 1; /* 保持正圓比例 */
  }
  #main-action .action-list li:nth-child(2), #main-action .action-list li:nth-child(4) {
    top: 0px;
  }
  #main-action .action-list li:nth-child(4), #main-action .action-list li:nth-child(5) {
    margin-top: 20px; /* 第二排與第一排之間的間距 */
  }
  #main-action .action-list li:nth-child(1), #main-action .action-list li:nth-child(2), #main-action .action-list li:nth-child(3), #main-action .action-list li:nth-child(4), #main-action .action-list li:nth-child(5) {
    background-size: 55px;
  }
}
@media (max-width: 768px) {
  #main-action .main-actionWrapper {
    padding-top: 100px;
  }
  #main-action .action-list {
    width: 100%;
    padding: 20px 0;
  }
  #main-action .action-list li p {
    font-size: 20px;
  }
  #main-action .action-list li:nth-child(1), #main-action .action-list li:nth-child(2), #main-action .action-list li:nth-child(3), #main-action .action-list li:nth-child(4), #main-action .action-list li:nth-child(5) {
    background-size: 65px;
    background-position: center top 23%;
  }
  #main-action .center-block {
    padding: 30px 0 20px 0;
  }
}
@media (max-width: 580px) {
  #main-action .action-list {
    width: 100%;
  }
  #main-action .action-list ul {
    gap: 20px;
  }
    
  #main-action .action-list li {
    flex: 100%;
    aspect-ratio: auto;
    height: auto;
    border-radius: 15px;
    border: #F39800 1px solid;
    justify-content: start;
    padding-left: 50px;
  }
    #main-action .action-list li p {
    font-size: 22px;
  }
  #main-action .action-list li:nth-child(1), #main-action .action-list li:nth-child(2), #main-action .action-list li:nth-child(3), #main-action .action-list li:nth-child(4), #main-action .action-list li:nth-child(5) {
    margin-top: 0;
    background-size: 30px;
    background-position: left 15px center;
  }
  #main-action .action-list li::after {
    display: none;
  }
  #main-action .action-list li p {
    padding: 20px 0;
  }
}

/*---------------------------
 focus
----------------------------*/

.focus-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:4%;
    padding: 120px 0 50px 0;
}
.focus-subtitle{
    flex: 0 0 44%;
    
}
.focus-subtitle img{
    width: 100%;
    height: auto;
    aspect-ratio: 752 / 230;
}
.focus-list{
    flex: 0 0 52%;
}
.focus-list.list-group ul li {
    margin-bottom: 20px;
    padding: 0 0 20px 20px;
}
@media (max-width: 768px) {
    .focus-inner{
        flex-direction: column;
    }
    .focus-list{
        margin-top: 20px;
    }

}


/*---------------------------
 history
----------------------------*/
#history{
    background: #faf3e6;
    padding: 50px 0;
    position: relative;
}

#history::after{
    content: '';
    position: absolute;
    right: 0;
    bottom: -150px;
    width: 100%;
    max-width: 560px;
    max-height: 410px;
    height:auto;
    display: block;
    background: url("../css/css-img/history-bg.png") no-repeat center right / cover;
    aspect-ratio: 560 / 410;
}
@media (max-width: 1600px) {
    #history::after{
    width: 35vw;
    bottom: -10vw;
    }
}
#history .tabs-menu{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap:1%;
    border-bottom: #F39800 3px solid;
    padding: 20px 0 10px 0;
    list-style: none;
}
#history .tabs-menu li{
    margin-bottom: 10px;
}
#history .tabs-menu li a{
    padding: 5px 20px;
    background: #f9e9cb;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    display: inline-block;
    text-decoration: none;
}
#history .tabs-menu li a:hover{
    text-decoration: none;
    background: #F39800;
    color: #fff;
}
#history .tab-content-txt{
    padding: 25px;
    display: flex;
    justify-content: space-between;
}

#history .tab-content-txt .list-group{
  width: 100%;
  display: flex;
  flex-wrap: wrap; 
  gap: 20px; 
    
}
#history .tab-content-txt .list-group ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap:5px 50px;
}
#history .tab-content-txt .list-group li{
    flex: 0 0 calc(50% - 50px);
}



/*------------
 History - TAB setting
-------------*/

#tab1, #tab2, #tab3, #tab4, #tab5, #tab6, #tab7 {
  display: none;
}
#tab1:target, #tab2:target, #tab3:target, #tab4:target, #tab5:target, #tab6:target, #tab7:target {
  border: solid 1px red;
}
.history-inner {
  position: relative;
  width: 100%;
  min-height: 500px;
}

.history-inner > div.tab-content-7{
 position: relative;
}
.history-inner > div.tab-content-1,
.history-inner > div.tab-content-2,
.history-inner > div.tab-content-3,
.history-inner > div.tab-content-4,
.history-inner > div.tab-content-5,
.history-inner > div.tab-content-6{
  position: absolute;
  z-index: 1;
  opacity: 0;
}
/*first one bg */
span:target ~ .history-inner > ul li:last-child a {
  background: none;
  color: #fff;
}
span:target ~ .history-inner > div:last-of-type {
	opacity: 0;
}
#history .tabs-menu li a.active {
  background: #F39800;
  color: #fff;
}

#history:not(:has(:target)) .history-inner > ul li:last-child a {
  background: #F39800;
  color: #fff;
}

/*Tab btn change & first btn */
span ~ .history-inner > ul li:last-child a,
#tab1:target ~ .history-inner > ul li a[href$="#tab1"],
#tab2:target ~ .history-inner > ul li a[href$="#tab2"],
#tab3:target ~ .history-inner > ul li a[href$="#tab3"],
#tab4:target ~ .history-inner > ul li a[href$="#tab4"],
#tab5:target ~ .history-inner > ul li a[href$="#tab5"],
#tab6:target ~ .history-inner > ul li a[href$="#tab6"],
#tab7:target ~ .history-inner > ul li a[href$="#tab7"]{
  background: #F39800;
  color: #fff;
}
/*tab content*/
#tab1:target ~ .history-inner > div.tab-content-1,
#tab2:target ~ .history-inner > div.tab-content-2,
#tab3:target ~ .history-inner > div.tab-content-3,
#tab4:target ~ .history-inner > div.tab-content-4,
#tab5:target ~ .history-inner > div.tab-content-5,
#tab6:target ~ .history-inner > div.tab-content-6,
#tab7:target ~ .history-inner > div.tab-content-7{
  width: 100%;
  opacity: 1;
  position: relative;
  z-index: 2;
  -webkit-transition: all .5s linear;
  -moz-transition: all .5s linear;
  -ms-transition: all .5s linear;
  -o-transition: all .5s linear;
  transition: all .5s linear;
	
}
/*When the second or third clicked, the changes of first item*/
#tab1:target ~ .history-inner > div.tab-content-7,
#tab2:target ~ .history-inner > div.tab-content-7,
#tab3:target ~ .history-inner > div.tab-content-7,
#tab4:target ~ .history-inner > div.tab-content-7,
#tab5:target ~ .history-inner > div.tab-content-7,
#tab6:target ~ .history-inner > div.tab-content-7{
  position: absolute;
	
}
/*-------  頁籤內容 ---------*/


@media screen and (max-width: 768px) {
    #history .tab-content-txt{
        flex-direction: column;
    }
    #history .tab-content-txt .list-group li{
        flex:0 0 100%;
    }
    .history-inner{
        min-height: auto;
    }

}




/*---------------------------
main-menu
----------------------------*/
#foundation-header #main-menu {
  background: #eee;
  border-bottom: #F39800 4px solid;
  padding: 10px 0;
}
#foundation-header #main-menu .header-nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#foundation-header #main-menu .header-nav-inner {
  list-style: none;
  display: flex;
}
#foundation-header #main-menu .header-nav-inner li {
  margin-right: 30px;
}
#main-menu .search-box {
  width: 30%;
  position: relative;
  font-size: 0;
}
#main-menu .search-box input[type="text"] {
  outline: 0;
  padding: 0px 0px;
  width: calc(100% - 100px);
  padding-inline-start: 42px;
  display: inline-block;
  font-size: 16px;
  height: 38px;
  color: #333;
  border: 1px #336899 solid;
  border-right: none;
  box-sizing: border-box;
  font-family: "Heebo", "Arial", sans-serif;
}
span.search-icon {
  position: absolute;
  left: 12px;
  bottom: 8px;
  font-size: 20px;
  color: #004280;
}
span.close-icon {
  cursor: pointer;
  position: absolute;
  right: calc(12% + 11px);
  bottom: 20px;
}
#main-menu .search-box button.search-btn {
  background-color: #336899;
  color: #fff;
  border: 1px #336899 solid;
  border-left: none;
  outline: 0;
  display: inline-block;
  cursor: pointer;
  float: right;
  height: 38px;
  font-size: 16px;
  width: 100px;
}
/*----------------------------------
  Card Group
-----------------------------------*/

.card-group {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}
.card-group .card-item {
  border: #F39800 1px solid;
  border-radius: 15px;
  background: #fff;
  position: relative;
  flex: 1;
  box-sizing: border-box;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.card-group .card-item .card-text{
  display: -webkit-box;          
  -webkit-line-clamp: 2;       
  -webkit-box-orient: vertical; 
  overflow: hidden;             
  text-overflow: ellipsis;      
}
.card-group .card-item h4 {
  margin-top: 20px;
  font-size: 14px;
}
.card-group .card-item a {
  padding: 25px;
  color: #000;
  display: block;
}
.card-group .card-item a:hover {
  text-decoration: none;
}
.card-group .card-item:hover {
  -moz-transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
  -o-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
 

  .card-group .card-item a {
    padding: 20px;
  }
}
@media (max-width: 768px) {

  .card-group {
    flex-direction: column;
    margin-top: 20px;
  }
  .card-group .card-item a {}
  .main-case .section-intro {
    margin-bottom: 20px;
  }
}


/*----------------------------------
  Main Case (Home)
-----------------------------------*/
.bg-lightOrange {
  background: #fbf1e0;
}
/*------------------------*/
.main-case {
  padding: 70px 0;
}
.main-case h2, .main-case h3, .main-case .section-intro {
  text-align: left;
}
.main-case .section-intro {
  margin-bottom: 2vw;
}
.main-case .case-inner {
  display: flex;
  justify-content: space-between;
  gap: 2%;
}
.main-case .card-group{
    margin-top: -3.2vw;
}
.main-case .case-txt {
  margin-top: 4vw;
  flex: 0 0 38%;
  /*width: 38%;*/
  box-sizing: border-box;
}
.main-case .case-img {
  flex: 0 0 60%;
}
.main-case .case-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}

.main-caseWrapper-03 {
  margin-bottom: -50px;
}
@media (max-width: 1024px) {
    .main-case .card-group {
    margin-top: 20px;
  }
  .main-case .case-txt {
    flex: 0 0 50%;
    margin-top: 0;
  }
  .main-case .case-img {
    flex: 0 0 48%;
  }

}
@media (max-width: 768px) {
  .main-case .case-inner {
    flex-direction: column;
  }
  .main-case .main-caseWrapper-02 .case-inner {
    flex-direction: column-reverse;
  }
  .main-case .case-txt {
    width: 100%;
  }
}



/*----------------------------------
  Founder 
-----------------------------------*/
.founder-talk {
  padding: 20px 0 50px 0;
}
.founder-talk h2, .founder-talk h3, .founder-talk .section-intro {
  text-align: left;
}
.founder-talk .section-intro {
  margin-bottom: 2vw;
    margin-left: 0;
}
.founder-talk .section-intro p{
    margin-bottom: 15px;
}
.founder-talk .founder-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
}
.founder-talk .founder-txt {
  margin-top: 3vw;
  flex: 0 0 52%;
  box-sizing: border-box;
}
.founder-talk .founder-img {
  flex: 0 0 44%;
}
.founder-talk .founder-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 500;
}
@media (max-width: 768px) {
.founder-talk .founder-inner {
        flex-direction: column;
}

}
/*-------------------------------------------
  Content area (for ACT、Internet 、Art)
--------------------------------------------*/
.content-area {
  padding: 20px 0 50px 0;
}
.content-area h3{
    margin: 0 auto;
    text-align: center;
}
.content-area .section-intro h3{
    text-align: left;
}
.content-area .section-intro {
  margin-bottom: 2vw;
    margin-left: 0;
    text-align: left;
}
.content-area .section-intro p{
    margin-bottom: 15px;
}
.content-area .content-area-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
}
.content-area .content-area-txt {
  margin-top: 3vw;
  flex: 0 0 52%;
  box-sizing: border-box;
}
.content-area .content-area-img {
  flex: 0 0 44%;
}
.content-area .content-area-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 760 / 500;
}
@media (max-width: 768px) {
.content-area .content-area-inner {
        flex-direction:column-reverse;
}

}

/*-------------------------------------------
  Learning Points
--------------------------------------------*/
.learning-points {
  padding: 0px 0 50px 0;
}

.learning-points h4{
    margin-bottom: 0;
}

.learning-points .learning-points-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6%;
}
.learning-points .learning-txt {
  margin-top: 3vw;
  flex: 0 0 43%;
  box-sizing: border-box;
}
.learning-points .learning-img {
  flex: 0 0 51%;
}
.learning-points .learning-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 820 / 500;
}
.learning-points .list-group li{
    border: none;
    padding-bottom: 0;
    
}
@media (max-width: 768px) {
.learning-points .learning-points-inner {
        flex-direction: column;
}

}

/*-------------------------------------------
  Promotion
--------------------------------------------*/
#promotion{
    padding: 80px 0 100px 0;
    background: url(../css/css-img/promotion-right.png) no-repeat center right, url(../css/css-img/promotion-bg.png) repeat;
    background-size: contain, auto;
    color: #fff;
}
#promotion h2{
    text-align: left;
    font-family: "pentouch-regular";
    font-weight: 600;
    font-size: 46px;
}
#promotion .promo-num{
    font-size: 80px;
    font-weight: bold;
    margin: 0 15px;
}

#promotion .promotion-txt{
    font-size: 22px;
}
#promotion .promotion-txt i{
    margin: 0 10px;
}
#promotion .promotion-txt a{
    color: #fff;
}
#promotion .promotion-txt span{
    margin-right: 15px;
}

#promotion #open-modal{
    cursor: pointer; 
}
#promotion #modal-box{
    color: #000;
}

@media (max-width: 1024px) {
#promotion{
    padding: 50px 0 70px 0;
    background-position: center right -200px;

}
}
@media (max-width: 768px) {
     #promotion h2{
        font-size: 36px;
    }
    #promotion .promo-num{
        font-size: 54px;
    }
    #promotion .promotion-txt{
    font-size: 16px;
}
}

@media (max-width: 580px) {
#promotion{
    background-position: center right -500px;
    background-size: cover, auto;
}
.promotion-txt span{
    display: block;
}
.promotion-txt span:nth-child(2){
    display: none;
}
}




/*----------------------------------
  News
-----------------------------------*/
#News{
    padding: 50px 0;
    background: #faf3e6;
}

/*----------------------------------
  sharing
-----------------------------------*/
#sharing{
    padding: 50px 0 0 0;
}
#sharing .card-group{
    justify-content: center;
    
}
#sharing .card-group .card-item{

}
#sharing .card-group h3{
    padding-bottom: 0;
}
#sharing .card-group .card-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:20px;

}
#sharing .card-group .card-header i{
    color: #F39800;
    font-size: 34px;
}
#sharing .card-group .card-text i{
    margin: 0 5px;
}
@media (max-width: 1024px) {
    #sharing .card-group{
        flex-wrap: wrap;
    }
    #sharing .card-group .card-item{
        flex: 0 0 40%;
}
}




/*----------------------------------
  fluence
-----------------------------------*/
#fluence{
    padding-top: 50px;
}
#fluence .row-maxwidth-98pct{
    max-width: 1200px;
}

#fluence .card-group{
    flex-wrap: wrap;
    margin-top: 50px;
    align-items: stretch;
}
#fluence .card-group .card-item{
    flex: 1 1 calc(50% - 15px); 
    padding: 25px 25px 0 25px;
    min-height: 262px;
}
#fluence .card-group .card-info-title{
    border-radius: 15px 15px 0px 0px;
}

#fluence .card-group .list-group{
    border-top: #f39800 3px solid;
    padding-top: 20px;
    
}
#fluence .card-group .list-group li:last-child{
    border-bottom: none;
}
#fluence .card-group .card-item:hover{
    transform:none;
}

@media (max-width: 768px) {
#fluence .card-group .card-item{
        min-height: auto;
}

}

/*----------------------------------
  Art-Salon
-----------------------------------*/
#art-salon{
    padding: 50px 0;
}
#art-salon h3{
    margin: 0 auto;
    text-align: center;
}
.art-salon-txt{
    margin: 0 auto;
    text-align: center;
    max-width: 820px;
}


/*----------------------------------
  Footer
-----------------------------------*/
#footer .footer-img {
  width: 100%;
  display: block;
  height: 160px;
  background-image: url('../css/css-img/footer-bg-all.png');
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 100%;
}
#footer .footer-img.orange-img {
  background-image: url('../css/css-img/footer-bg-all.png');
  background-color: #faf3e6;
}
#footer .footer-inner {
  background: #faecd4;
  padding: 25px 0;
  font-size: 14px;
  color: #000;
  border-top: #fecf7e 1px solid;
}

#footer .footer-txt span::after{
    content: '|';
    display: inline-block;
    margin: 0 10px;
    color: #999;
}
#footer .footer-txt span:last-child::after{
    display: none;
}
.footer-logo a {
  width: 200px;
  height: 50px;
  display: inline-block;
  text-indent: -9999px;
  background-image: url("../images/foundation-logo.svg");
  background-image: url("../images/foundation-logo.png") \9;
  background-repeat: no-repeat;
  background-position: left top;
}
.footer-inner .row-maxwidth-98pct {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1200px) {
  #footer .footer-img {
    height: 10vw;
  }
}
@media (max-width: 768px) {
  #footer .footer-img {
    background-size: 140%;
    height: 12vw;
  }
  .footer-inner .row-maxwidth-98pct {
    flex-direction: column-reverse;
  }
  .footer-logo {
    margin-bottom: 20px;
  }
}