* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 嵌入字型設定 */
@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-01.png), linear-gradient(#733e3a, #733e3a);*/
  background-color: #733e3a;
}

/* ==================================================================================
-                                  基礎、共用區域 
================================================================================== */
img { max-width: 100%; }
/*a { color: #2c2c2c; }*/
a:hover { filter: opacity(0.8); }
header { background-color: #0dbde6; }
footer { background-color: #562423; color: #fff; }
.bg-orange { background-color: #3e1f00; }
.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: 8.5rem; }
.aBlock { background-image: url(../img/bg-02.png); background-repeat: repeat-x; background-position: left bottom; }
.aBlock.bg-dark-brown { background-image: url(../img/bg-03.png); }
.bg-dark-brown { background-color: #562422; }
.shadow { box-shadow: 0px 10px #000000c2, 5px 5px #0000009e, -5px 5px #0000009e, inset 0px 5px #ffffff36!important; }
/*  回到頁面最上方  */
.gototop { width: 3.5rem; right: 2rem; bottom: 5rem; z-index: 9; display: none; }


/*  像素風按鈕  */
.pixel-button {
  color: #3e1f00;
  background-color: #ffb300;
  padding: 0.5rem 1.2rem 0.5rem 1.2rem;
  margin: 14px;
  border: 0;
  box-shadow: 0px 4px #3e1f00, 0px -4px #3e1f00, 4px 0px #3e1f00, -4px 0px #3e1f00, 0px 6px #3e1f00, 4px 4px #ffb300, -4px 4px #ffb300, inset 0px 4px #ffffff36;
  /*box-shadow: 0px 4px #ffb300, 0px -4px #ffb300, 4px 0px #ffb300, -4px 0px #ffb300, 0px 10px #d26800, 4px 4px #d26800, -4px 4px #d26800, inset 0px 4px #ffffff36;*/
  font-weight: bold; font-size: 1.2rem; text-decoration: none;
}
.pixel-button:hover { color: #fff; }
.pixel-button:active {
  transform: translateY(5px);
  background-color: #5d2f00;
  box-shadow: 0px 5px #ffb300, 0px -5px #ffb300, 5px 0px #ffb300, -5px 0px #ffb300,inset 0px 5px #3e1f00;
}


/* ==================================================================================
-      首頁-徵才企業產業類別篩選器與篩選效果
================================================================================== */
/*.select-btn>a{ display: inline-block; padding: 0.5rem 0.8rem; margin: 0.5rem 0; background-color: #fff; }*/
/*  像素風按鈕  */
.tabsBtn.pixel-button {
  color: #4a4a4a;
  background-color: #c6c6c4;
  padding: 0.5rem 1.2rem 0.5rem 1.2rem;
  margin: 14px;
  border: 0;
  box-shadow: 0px 4px #606060, 0px -4px #606060, 4px 0px #606060, -4px 0px #606060, 0px 6px #606060, 4px 4px #c6c6c4, -4px 4px #c6c6c4, inset 0px 4px #ffffff36;
  font-weight: bold; font-size: 1.2rem; text-decoration: none;
}
.tabsBtn.pixel-button:active {
  transform: translateY(5px);
  background-color: #262626;
  box-shadow: 0px 5px #c6c6c4, 0px -5px #c6c6c4, 5px 0px #c6c6c4, -5px 0px #c6c6c4,inset 0px 5px #191919;
}
.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: 0rem !important; overflow: hidden; border: none; }
.card a, .jobStrategy a { color: #2c2c2c; text-decoration-line: none; }
/*
.card:before, .card:after { content: ""; width: 100%; background-repeat: repeat-x; left: 0px; position: absolute; }
.card:after { height: 30px; background-image: url("../img/bg-04_2.svg"); bottom: 0px; background-position: left bottom; }
*/
.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.jobPs:after { content: ""; color: #fff; font-size: 1rem; display: inline-block; border-radius: 0.3rem; padding: 0.1rem 0.5rem; margin-left: 1rem; box-shadow: 0px 2px #3e1f00, 0px -2px #3e1f00, 2px 0px #3e1f00, -2px 0px #3e1f00, 0px 3px #3e1f00, inset 0px 2px #ffffff36; animation: jobPsAni 0.9s 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.6;
  }
}

/* ==================================================================================
-      公司頁面樣式
================================================================================== */
/*.companyPageTopBN { margin-top: 3.5rem; }*/
.comLogo { margin-bottom: 0.8rem; display: flex; justify-content: center; }
.comLogo::before { content: url(../img/company/LOGO/comLogoBefore_1.png); }
.comLogo::after { content: url(../img/company/LOGO/comLogoBefore_1.png); transform:scaleX(-1); }
.comLogo img { background-color: #fff; border-top: solid 6px #ffb300; border-bottom: solid 6px #ffb300; max-height: 112px; }
.comName { font-size: calc(1.375rem + 1.5vw); color: #db953f; font-weight: bold; margin-bottom: 0.8rem; }
.comSlogan { font-size: 1.2rem; margin-bottom: 0.8rem; }
.comSlogan:before, .comSlogan:after { content: "｜"; }
.comAblockTitle { /*max-width: 300px;*/ display: block; margin: 0.5rem auto; }
@media (max-width: 767px) {
  .topbanner { margin-top: 3.5rem; }
}
@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; 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 { overflow: inherit; }
/*.jobsList .card.custom-card { 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; }


