/*====================================
# 主色調
==================================== */

:root {
  --main: #00a0f1;
  --Color2: #ff3662;
  --Color3: #1dc91a;
  --Color4: #ff7a00;
  --Color5: #ffddae;
  --bgLightGradient: linear-gradient(to bottom, #f6e5cc 0%, #dcb887 100%);
  /* 漸層 */
  scroll-padding-top: 3rem;
  /* 錨點位移 */
}

/*====================================
# 共同設定
==================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

strong {
  font-weight: 800;
}

section {
  padding: 3em 0 2em;
  overflow: hidden;
}

::selection {
  color: #212121;
  background-color: #9be6ff;
}

a:hover {
  text-decoration: none;
}

.main-title,
.main-title-w {
  display: inline-block;
  position: relative;
  font-size: 2rem;
  margin: 1rem auto 1rem;
  color: var(--main);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding-bottom: 4px;
  font-size: 40px;
}

.main-title-w {
  color: #fff;
}

.speaker-second-title {
  font-size: 1.2rem;
  color: #434a45;
  margin-top: -15px;
  font-weight: 400;
}

.line::after {
  content: '';
  width: 76px;
  height: 3px;
  display: block;
  background: #66e563;
  border-radius: 30px;
  margin: auto;
  left: 0;
  bottom: -10px;
}

.second-title {
  font-size: 2rem;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* .more {
  color: #fff;
  background-color: #ff9d00;
  transition: all 0.2s;
}

.more:hover {
  background-color: #009fe8;
  color: #fff;
} */


.btn-main {
  text-align: center;
}

.btn-main a {
  position: relative;
  display: inline-block;
  padding: 8px 60px 9px 120px;
  border-radius: 6em;
  background: var(--Color2);
  border: 2px solid var(--Color2);
  text-align: center;
  font-weight: 500;
  font-size: 1.8rem;
  margin: 4rem auto;
  letter-spacing: .05em;
  color: #fff;
  transition: background-color 0.4s, padding 0.4s, color 0.4s;
}

.btn-main a::before {
  content: '';
  position: absolute;
  left: 2px;
  top: calc(50% - 30px);
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 100px;
  transition: left 0.4s, background-color 0.4s;
}

.btn-main a::after {
  content: '＞';
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 2px;
  top: calc(50% - 30px);
  width: 60px;
  height: 60px;
  font-size: 30px;
  font-weight: 700;
  color: var(--Color2);
  transform: scale(0.5, 1);
  transition: left 0.4s, color 0.4s;
}

.btn-main a:hover,
.btn-main a:focus {
  padding: 8px 120px 9px 60px;
  background: #fff;
  color: var(--Color2);
}

.btn-main a:hover::before {
  left: calc(100% - 64px);
  background-color: var(--Color2);
}

.btn-main a:hover::after {
  left: calc(100% - 64px);
  color: #fff;
}



.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);
}


/*
.btnsm-more {
  display: block;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border-radius: 500px;
  padding: 5px 15px;
  font-size: 17px;
  float: right;
  transition: all 0.2s;
}

.btnsm-more:hover {
  color: #fff;
  background-color: #0068cf;
} 

@media (max-width:576px) {
  .btnsm-more {
    margin-bottom: 25px;
  }
}*/

.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;
  }
}

/* =======================================
# 標籤
========================================= */
.fusen {
  display: inline-block;
  position: relative;
  padding: 1rem;
  border-right: 27px solid #7277D3;
  background-color: #f5f5f5;
  color: #333333;
  margin-bottom: 2rem;
}

.fusen::before {
  position: absolute;
  bottom: 2px;
  right: -20px;
  z-index: -1;
  transform: rotate(5deg);
  width: 100%;
  height: 50%;
  background-color: #d0d0d0;
  content: "";
  filter: blur(4px);
}

/*====================================
# sec-foreword
==================================== */
.sec-foreword {
  padding: 0 0 2em;
  margin-top: -200px;
  background-image: linear-gradient(190deg, #fff 60%, #ebf9ff 90%);
}

@media (max-width:1199px) {
  .sec-foreword {
    margin-top: -50px;
  }
}

@media (max-width:991px) {
  .sec-foreword {
    margin-top: -50px;
  }
}

.sec_foreword h2 {
  text-align: center;
  margin: 1rem 0 2rem;
}

.sec-foreword span {
  font-weight: 700;
  font-size: 27px;
  color: #009fe8;
}

.sec-foreword h4 {
  display: inline-block;
  font-size: 2rem;
  margin: 1rem 0 1rem;
  line-height: 2;
  font-weight: 600;
  letter-spacing: 0.3rem;
  padding-bottom: 4px;
}

.sec-foreword .area-foreword {
  background-color: #fff;
  background: url(../img/bg-1.png) no-repeat center 0% fixed;
  border-radius: 30px;
  box-sizing: border-box;
  transform: translate(-5px, -5px);
  margin: 30px auto;
}

.sec-foreword .colorA {
  box-shadow: 5px 10px 0 #eb3c70;
  border: 1px solid #eb3c70;
  transition: all .4s ease-in-out;
}

.sec-foreword .colorB {
  box-shadow: 5px 10px 0 #be41c2;
  border: 1px solid #be41c2;
  transition: all .4s ease-in-out;
}

.sec-foreword .colorC {
  box-shadow: 5px 10px 0 #ac5dda;
  border: 1px solid #ac5dda;
  transition: all .4s ease-in-out;
}

.sec-foreword .colorA:hover {
  box-shadow: 5px 10px 0 #ebaec0;
}

.sec-foreword .colorB:hover {
  box-shadow: 5px 10px 0 #e3b6e4;
}

.sec-foreword .colorC:hover {
  box-shadow: 5px 10px 0 #d6b9e7;
}

@media (max-width:991px) {
  .sec-foreword .colorA {
    box-shadow: 3px 7px 0 #eb3c70;
    border: 1px solid #eb3c70;
  }

  .sec-foreword .colorB {
    box-shadow: 3px 7px 0 #be41c2;
    border: 1px solid #be41c2;
  }

  .sec-foreword .colorC {
    box-shadow: 3px 7px 0 #ac5dda;
    border: 1px solid #ac5dda;
  }
}

.sec-foreword .area-foreword-title {
  border-radius: 30px 30px 0 0;
  padding: 20px 15px 10px 30px;
  line-height: 1.6;
}

.area-foreword-title h2 {
  color: var(--Color2);
  font-weight: bolder;
  font-size: 1.5rem;
  text-align: center;
  padding-bottom: 10px;
}

.area-foreword-title h5 {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 20px;
}

.area-foreword-title h5 span {
  display: inline-block;
  color: #0074f9;
  padding-bottom: 4px;
  font-size: 2rem;
  border-bottom: 4px solid #0074f9;
}

.sec-foreword .tag {
  border: 1px solid #000;
  padding: 3px 10px;
}

.sec-foreword .area-foreword-content {
  font-size: 20px;
  padding: 15px 32px;
}



@media (max-width: 1200px) {
  .sec-foreword .area-foreword {
    margin: 0 10px 40px 10px;
  }
}



/*====================================
# sec_speaker
==================================== */
.sec-speaker {
  background-color: #ebf9ff;
  background: url(../img/bg-2.png) no-repeat center 100% fixed;
  border-radius: 70px;
}
.speaker-page .main-title-w,
.sec-speaker .main-title-w {
  font-size: 36px;
  margin-top: 50px;
  margin-bottom: 20px;
}
.speaker-page .speaker-second-title,
.sec-speaker .speaker-second-title {
  font-size: 22px;
  color: #fdffad;
  margin-bottom: 2rem;
}

.speaker-item {
  padding: 15px;
}

.speaker-inner {
  position: relative;
  padding: 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 5px #0242b950;
  transition: all .2s ease-in-out;
}

.speaker-inner:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 10px #0242b950;
}

.speaker-inner .imgbox img {
  border-radius: 10px;
  box-shadow: 0 5px 0 #eee;
}

.imgbox img {
  width: 100%;
}

.keynote .imgbox::after {
  content: 'KEYNOTE';
  position: absolute;
  left: -25px;
  top: -4px;
  background-color: var(--Color2);
  border-radius: 0 10px 10px 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  line-height: 1;
}

.speaker-txtbox h5 {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 18px;
  padding: 20px 0 10px 0;
  color: #1f37a3;
  border-bottom: 2px solid #f0f0f0;
}

.speaker-txtbox p {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 15px;
  color: #575861;
  padding: 0 5px;
  margin-bottom: 0;
}

.speaker-inner a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (max-width: 991px) {
  .sec-speaker {
    border-radius: 40px;
  }
}

@media (max-width: 767px) {
  .sec-speaker {
    border-radius: 20px;
  }
}

@media (max-width: 567px) {
  .sec-speaker {
    border-radius: 0;
  }
}

/* inner */
.speaker-page {
  background-color: #c6edff;
}

/* inner-end */


/*====================================
# sec-traffic
==================================== */
.sec-traffic {
  background-color: #fff;
  padding: 40px 20px;
}

.sec-traffic .imgbox {
  border-radius: 20px;
  border: 2px solid #eee;
  box-shadow: 5px 10px 0 #eee;
}

.sec-traffic h3 {
  color: var(--Color4);
  font-weight: 600;
  font-size: 24px;
}

.sec-traffic h4 {
  margin-top: 15px;
  margin-left: 27px;
}

.sec-traffic h5 {
  color: #212121;
}

.metro,
.bus {
  position: relative;
}

.metro h4::before {
  content: url(../img/metro.svg);
  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;
}


.bus h4::before {
  content: url(../img/bus.svg);
  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;
}


/*====================================
# 企業徵才
==================================== */
.sec-job {
  background-image: url(../img/bg-3.png);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-radius: 70px 70px 0 0;
}

.sec-job .btn-more {
  margin-top: 80px;
}

.job-box {
  background-color: #fff;
  border-bottom: 1px solid var(--Color2);
  border-top: 1px solid var(--Color2);
  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: var(--Color2);
  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-job .btn-main {
  margin-top: 4.5rem;
}

.sec-job .btn-main p {
  padding: 15px 50px;
  font-size: 22px;
}




/*******************
    合作夥伴
 *******************/

.sec-partner {
  background-color: #f7f7f7;
}

.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
--------------------------------------------------------------*/
#gotopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: var(--Color2);
  color: var(--Color5);
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 12px 20px;
  border-radius: 500px;
  font-size: 18px;
  border: 2px solid var(--Color5);
  transition-duration: .3s;
}

#gotopBtn:hover {
  background-color: var(--Color4);
}