/*====================================
# 主色調
==================================== */

:root {
  --main: #ff7828;
  --C1: #007b37;
  --C2: #5286d6;
  --C3: #ffb400;
  --black: #3a3a3a;
  scroll-padding-top: 3rem;
  scroll-behavior: smooth;
}

/*====================================
# 共同設定
==================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--black);
  background-color: #f7f7f7;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

section {
  position: relative;
  padding: 3rem 1rem;
  overflow: hidden;
}

::selection {
  color: #212121;
  background-color: #9be6ff;
}

strong {
  font-weight: 800;
}

a {
  color: var(--C2);
}

a:hover {
  color: var(--main);
  text-decoration: none;
}

.top-title {
  padding: 1rem 0;
  color: var(--main);
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width:576px) {
  .top-title {
    font-size: 2rem;
  }
}

.title,
.title-w {
  position: relative;
  text-align: center;
  margin: 2rem -0.2rem 2rem 0;
  letter-spacing: 0.2rem;
}

.title-w {
  color: #f7f7f7;
}

.a-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.second-title {
  font-size: 2rem;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.m-btn {
  position: relative;
  display: block;
  margin: 1rem auto;
  padding: 1em;
  width: 280px;
  font-size: 25px;
  text-align: center;
  background-color: var(--main);
  background: linear-gradient(119deg, var(--C3) 50%, var(--main) 50.1%);
  background-size: 300%;
  color: var(--black);
  border: 2px solid var(--black);
  font-weight: bold;
  border-radius: 50px;
  letter-spacing: 0.1rem;
  transition: all .25s ease-in-out;
}

.m-btn:hover {
  color: #fff;
  background-position: 100%;
}

.m-btn:active {
  transform: scale(0.95);
}

.btn-content {
  color: #fff;
  display: inline-block;
  background-color: var(--Color2);
  text-align: center;
  text-decoration: none;
  border-radius: 500px;
  padding: 10px 24px;
  font-size: 22px;
  transition: all .3s ease;
}

.btn-content i {
  transition: all .3s ease-in-out;
}

.btn-content:hover {
  color: #fff;
  background-color: var(--Color4);
}

.btn-content:hover i {
  transform: rotate(90deg);
}

.go-back {
  position: absolute;
  font-size: 28px;
  z-index: 10;
  transform: translate(-200%, -20%);
}

.go-back a {
  color: #121212;
  transition: all 0.2s ease-in-out;
}

.go-back a:hover {
  color: var(--main-color);
}

@media (max-width:576px) {
  .go-back {
    display: none;
  }
}

/* =======================================
 # 裝飾
========================================= */
.deco {
  position: relative;
}

.deco::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.white-box {
  background-color: #fff;
  box-shadow: 0 3px 8px #b3b3b350;
  padding: 1.5rem;
  border-radius: 10px 10px 0 0;
  position: relative;
}

/*====================================
# sec-foreword
==================================== */
.sec-foreword {
  margin-top: -10rem;
}

.foreword {
  font-size: 20px;
  line-height: 1.6;
  margin: 1.5rem 0;
}

.foreword-box {
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  height: 100%;
}

.foreword-box h3 {
  color: var(--black);
}

.foreword-box p {
  margin-top: 1.5rem;
  text-align: justify;
}

@media (max-width:1600px) {
  .sec-foreword {
    margin-top: -5rem;
  }
}


/*====================================
# 企業徵才
==================================== */
.sec-job {
  background-color: var(--black);
  /* background-image: url(../img/bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; */
  border-radius: 30px 30px 0 0;
}

.sec-job .btn-more {
  margin-top: 80px;
}

.job-box {
  background-color: #fff;
  border-bottom: 1px solid var(--C1);
  border-top: 1px solid var(--C1);
  padding: 1rem 3rem;
}


.carousel-job .carousel-indicators {
  bottom: -3.5rem;
}

.carousel-job .carousel-indicators {
  margin: 0;
  right: 2rem;
  left: auto;
}

.carousel-job .carousel-indicators li {
  width: 20px;
  height: 20px;
  background-color: #fff;
  margin-right: 5px;
  margin-left: 5px;
  border-radius: 100%;
}

.job-list {
  list-style: none;
  padding-left: 20px;
  margin: 0;
}

.job-list li {
  position: relative;
  color: #45446E;
}

.job-list li::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 10px;
  background-color: var(--main);
  left: -15px;
  top: 13px;
}



/*====================================
# sec-traffic
==================================== */
.sec-traffic {
  background-color: var(--C3);
  position: relative;
  border-radius: 0 0 30px 30px;
}

.sec-traffic .img-box {
  border-radius: 10px 10px 0 0;
  border: 2px solid var(--C2);
}

.sec-traffic .trf-box {
  position: relative;
  color: #fff;
  background-color: var(--C2);
  padding: 30px;
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sec-traffic .trfc-box {
  color: #fff;
  border: 2px solid var(--black);
  background-color: var(--main);
  border-radius: 10px 10px 0 0;
  margin: 0;
}

.sec-traffic .img-box-sm {
  padding-right: 0;
  padding-left: 0;
}

.sec-traffic .btn-map {
  color: #fff;
  text-decoration: underline;
}

.sec-traffic .btn-map:hover {
  color: #ffffff90;
}


.sec-traffic .m-btn {
  width: 200px;
  margin: 1rem 0;
  padding: 0.5rem;
}

.sec-traffic h3 {
  font-weight: 600;
  line-height: 1.5;
  font-size: 30px;
}

.sec-traffic h4 {
  margin-top: 15px;
  margin-left: 27px;
}

.sec-traffic span {
  font-size: 22px;
}

.metro,
.bus {
  position: relative;

}

.metro h4::before,
.bus h4::before {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: auto;
  text-align: center;
  vertical-align: bottom;
  margin-left: 10px;
  margin-top: 12px;
}

.metro h4::before {
  content: url(../img/icon/metro.svg);
}


.bus h4::before {
  content: url(../img/icon/bus.svg);
}

@media (max-width:992px) {
  .sec-traffic .img-box-sm {
    border-radius: 0.5em;
  }

  .sec-traffic .trf-box {
    margin: 10px 0;
    text-align: center;
  }

  .sec-traffic .m-btn {
    margin: 1rem auto;
  }

}

/*******************
    合作夥伴
 *******************/


.sec-partner .partner-area {
  padding: 15px 0;
}

.sec-partner .partner-area {
  padding: 15px 0;
}

.sec-partner .level-title {
  text-align: center;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.3rem;
  padding: 30px 0 10px;
}

.partner-img {
  position: relative;
  display: block;
  transition: all .3s ease;
}

.partner-img img {
  transition: .3s ease;
}

.partner-img:hover img {
  opacity: 0.8;
}

.partner-img a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
#topBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 1.3rem;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: 2px solid var(--black);
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: #fff;
  color: var(--black);
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 13px;
  border-radius: 50%;
  font-size: 27px;
  transition: 0.2s;
  line-height: 0;
}

#topBtn:hover {
  opacity: 0.8;
  background-color: #f3f3f3;
}

@media (max-width:768px) {
  #topBtn {
    bottom: 7rem;
  }
}

@media (max-width:576px) {
  #topBtn {
    padding: 9px;
    font-size: 25px;
  }
}