* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 嵌入字型設定 */
@font-face {
  font-family: '思源黑體';
  src: url(../font/NotoSansTC-Light.ttf) format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: '思源黑體';
  src: url(../font/NotoSansTC-Regular.ttf) format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: '思源黑體';
  src: url(../font/NotoSansTC-Medium.ttf) format('truetype');
  font-weight: 500;
}
@font-face {
  font-family: '思源黑體';
  src: url(../font/NotoSansTC-Bold.ttf) format('truetype');
  font-weight: bold;
}
@font-face {
  font-family: '思源黑體';
  src: url(../font/NotoSansTC-Black.ttf) format('truetype');
  font-weight: 900;
}

html,body {
  /*height: 100%;*/
  font-size: 100%;
}

body {
  color: #2c2c2c;
  font-family: Helvetica, Arial, 思源黑體, "Microsoft JhengHei", 微軟正黑體, sans-serif;
  letter-spacing: 1px;
  background-image: url(../img/bg-02.png), linear-gradient(#ffffff, #ffffff);
}

/* ==================================================================================
-                                  基礎、共用區域 
================================================================================== */
img { max-width: 100%; }
a { color: #2c2c2c; }
a, .btn { border-radius: 0.8rem; text-decoration: none; }
.btn { background-color: #ff7703; border-color: rgba(255, 71, 90, 0); }
.btn:hover { opacity: 0.8; }
.bg-orange { background-color: #ff7703; }
.jobsList .bg-danger { background-color: #ed0064!important; }
.jobsList .bg-success { background-color: #00c18d!important; }
.jobsList .bg-warning { background-color: #ed4900!important; }
.text-orange { color: #ff7703; }
/*  大分類區塊 aBlock  */
.aBlock, .companyAblock { padding-top: 3rem; padding-bottom: 3rem; }
.aBlock:nth-of-type(odd) { background-image: url(../img/bg-02.png), linear-gradient(#fff5e4, #fff5e4); }
.aBlock:nth-of-type(even) { background-image: url(../img/bg-02.png), linear-gradient(#fde095, #fde095); }
/*  回到頁面最上方  */
.gototop { width: 3.5rem; right: 2rem; bottom: 5rem; z-index: 9; display: none; }

/* ==================================================================================
-      BANNER 
================================================================================== */
.topbanner { margin-top: 4rem; }

/* ==================================================================================
-      首頁-徵才企業產業類別篩選器與篩選效果
================================================================================== */
.select-btn>a{ display: inline-block; padding: 0.5rem 0.8rem; margin: 0.5rem 0; background-color: #fff; }
.ds { -lifekit-transform: scale(0); transform: scale(0); -lifekit-transition: all 350ms ease; transition: all 350ms ease; }
.scale { transform: scale(1); }

/* ==================================================================================
-      首頁-徵才企業小卡
================================================================================== */
.jobLinkBtn { color: #fff; font-size: 1.25rem; }
.jobLinkBtn:hover {background-color: #ff2c41; color: #fff; }
.card { border-radius: 0.8rem !important; overflow: hidden; border: none; }
.card .jobLogo { max-height: 100px; }
.card .jobsList a { display: block; border-top: 1px dashed #dee2e6; text-decoration: none; }
.card .jobsList a .jobName { font-size: 1.25rem; margin: 0.3rem 0; }
.jobName.jobPs:after { content: ""; color: #fff; font-size: 1rem; display: inline-block; border-radius: 0.3rem; padding: 0.1rem 0.5rem; margin-left: 1rem; animation: jobPsAni 0.5s steps(2,end) infinite; }
.jobName.exp0:after { content: "無經驗可"; background-color: #ed0064; }
.jobName.pay40kUp:after { content: "起薪四萬"; background-color: #ed4900; }
.jobName.newJob:after { content: "本週新職缺"; background-color: #00c18d; }
/*  職缺後方備註閃爍動畫  */
@keyframes jobPsAni{
  0%{
    opacity: 1;
  }

  100%{
    opacity: 0.5;
  }
}

/* ==================================================================================
-      公司頁面樣式
================================================================================== */
.comLogo { margin-bottom: 0.8rem; }
.comName { font-size: calc(1.375rem + 1.5vw); font-weight: bold; margin-bottom: 0.8rem; }
.comSlogan { font-size: 1.2rem; margin-bottom: 0.8rem; }
.comSlogan:before, .comSlogan:after { content: "｜"; }
.comBEN { font-size: 1.25rem; }
.comAblockTitle { /*max-width: 300px;*/ display: block; margin: 0.5rem auto; }
@media (min-width: 1200px) {
  .comName { font-size: 2.5rem; }
}
/*  輪播樣式  */
.owl-carousel img { height: 12rem; object-fit: cover; width: 100%; }
.owl-dots { text-align: center; margin-top: 1rem; }
.owl-dots .owl-dot span { width: 1rem; height: 1rem; background: #ccc; border-radius: 50%; display: inline-block; margin: 0 5px; transition: background 0.3s; }
.owl-dots .owl-dot.active span { background: #f7941d; }
/* 表格樣式 */
table.custom-table { border-collapse: separate; border-spacing: 0; border-radius: 0.8rem; overflow: hidden; }
table.custom-table th, table.custom-table td { padding: 1rem 0.8rem; border: 1px solid #dee2e6; vertical-align: middle; }
table.custom-table th { font-weight: bold; }
table.custom-table thead th { color: #fff; background-color: #f7941d; font-weight: bold; }
/* 表格圓角修飾 */
table.custom-table thead tr:first-child th:first-child { border-top-left-radius: 0.8rem; }
table.custom-table thead tr:first-child th:last-child { border-top-right-radius: 0.8rem; }
table.custom-table tbody tr:last-child td:first-child { border-bottom-left-radius: 0.8rem; }
table.custom-table tbody tr:last-child td:last-child { border-bottom-right-radius: 0.8rem; }
/* 工作內容欄顯示樣式 */
.multiline-truncate {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3; /* 顯示最多 2 行，可調整為 3 或更多 */
}
/* 薪資欄紅色 */
.salary-column { color: #d9534f; font-weight: bold; }
/* 卡片樣式加強(手機版) */
.jobsList .card.custom-card { /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/ border: 1px solid #777; }
.jobsList .card-body p { margin-bottom: 1rem; font-weight: bold; }
.jobsList .card.custom-card .salary { color: #d9534f; font-weight: bold; }
.jobsList .card.custom-card .card-body a.btn { display: block; width: fit-content; margin: 1rem auto 0; }


