:root {
  --Gray100: #282828;
  --Gray90: #3E3F3F;
  --Gray80: #525252;
  --Gray70: #7B7B7B;
  --Gray60: #C7C7C7;
  --Gray40: #DADADA;
  --Gray20: #F6F6F6;
  --White50: #F6F6F6;
  --White25: rgba(255, 255, 255, .25);
  --WebMinWidth: 1300px;
  --PaleBlue70: #E8EFF7;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* link 滑順 */
  scroll-behavior: smooth;
  font-family: "Noto Sans TC", serif;
}

/* scroll bar 樣式 */
::-webkit-scrollbar {
  width: 6px;
  /* 控制寬度 */
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
  /* 背景透明 */
}

:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);

}

/* 防止圖片抓取拖曳 */
img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  /* Safari */
}

a {
  text-decoration: none;
}

.hidden_text_for_seo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* 防止文字換行 */
  border: 0;
}

.container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.box {
  width: 100%;
  max-width: var(--WebMinWidth);
  padding: 120px 0px;
}

.title {
  font-size: 40px;
}

.description {
  font-size: 20px;
}

.oneLineHidden {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  line-clamp: 1;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.computerShow,
.computerShow_480 {
  display: block !important;
}

.computerShowF,
.computerShowF_480 {
  display: flex !important;
}

.mobileShowF,
.mobileShowF_480,
.mobileShow,
.mobileShow_480 {
  display: none !important;
}


@media (max-width:768px) {

  .box {
    padding: 60px 0px;
  }

  .computerShowF,
  .computerShow {
    display: none !important;
  }

  .mobileShowF {
    display: flex !important;
  }

  .mobileShow {
    display: block !important;
  }
}

@media (max-width:480px) {

  .box {
    padding: 60px 0px;
  }

  .computerShowF_480,
  .computerShow_480 {
    display: none !important;
  }

  .mobileShowF_480 {
    display: flex !important;
  }

  .mobileShow_480 {
    display: block !important;
  }
}


#navbar {
  height: 142px;
  position: fixed;
  z-index: 20;
  /* background-color: gray; */
  transition: .5s;
}

#navbar .box {
  padding: unset;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#navbar .box .listContainer a.active {
  color: #eff3aa;
}

#navbar .box .logoBox {
  height: 53px;

}

#navbar .box .logoBox img {
  height: 100%;
}


#navbar .box .listContainer {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

#navbar .box .listContainer a {
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
  text-shadow: 55px 70px 36px rgba(58, 195, 146, 0.01), 31px 39px 30px rgba(58, 195, 146, 0.05), 14px 18px 22px rgba(58, 195, 146, 0.09), 3px 4px 12px rgba(58, 195, 146, 0.1);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  position: relative;
}

#navbar .box .listContainer a::after {
  width: 100%;
  height: 100%;
  content: '';
  position: absolute;
  top: -150%;
  left: 0;
  background-color: #fff;
  z-index: -1;
  transition: .5s;
}







@media (min-width:1024px) {

  #navbar .box .listContainer a:hover {
    color: rgb(55, 55, 55);
  }

  #navbar .box .listContainer a:hover::after {
    top: 0;
  }
}

#navbar .box .btnBox {
  height: 100%;
  display: flex;
  align-items: center;
}

#navbar .box .btnBox .singUp {
  padding: 5px 20px;
  border-radius: 50px;
  color: #fff;
  background-image: linear-gradient(to right, #f60, #ff490a);
}

@media (max-width:768px) {

  .burgerBtn {
    height: 100%;
    display: flex;
    align-items: center;
  }

  #navbar {
    position: flex;
    height: 60px;

  }

  #navbar .box .logoBox {
    height: 24px;
  }

  #navbar .box .logoContainer {
    gap: 20px;
  }

  #listBar {
    position: fixed;
    display: flex;
    flex-direction: column;
    top: -200%;
    left: 0;
    height: 100%;
    background: #000a;
    width: 100%;
    transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-duration: 1s;
    z-index: 19;
    padding-top: 80px;
  }

  #listBar a {
    text-align: center;
    padding: 30px 0;
    color: #fff;
    text-decoration: none;
  }

  #listBar .active {
    color: rgb(55, 55, 55);
    background-color: #fff;
  }
}

@media (max-width:480px) {}


/* footer */
#footer {
  flex-direction: column;
  align-items: center;
}

#footer .box {
  padding: unset;
  max-width: 1149px;
}

#footer .topBox {
  background-color: var(--Gray90);
}

#footer .topBox .box {
  display: flex;
  justify-content: space-between;
  padding: 50px 0;
}

#footer .topBox .left {
  display: flex;
  flex-wrap: wrap;
  column-gap: 56px;
  row-gap: 20px;
}

#footer .topBox .left .other {
  width: 166px;
}

#footer .topBox .left .other img {
  width: 100%;
  max-width: 166px;
}

#footer .topBox .left .logo {
  height: 30px;
}

#footer .topBox .left .logo img {
  height: 100%;
}

#footer .topBox .right {
  display: flex;
  gap: 8px;
}

#footer .topBox .right img {
  width: 19px;
  height: 13px;
  display: block;
  margin-top: 10px;
}

#footer .topBox .right .text {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #FFFFFF;
}

#footer .remark {
  background-color: var(--Gray100);
  padding: 14px 10px;
  font-size: 14px;
  line-height: 150%;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}


@media (max-width:480px) {
  #footer .topBox .box {
    flex-direction: column;
    gap: 20px;
  }

  #footer .topBox .left .other {
    width: 100%;
  }

}

/* form */

.main_form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  column-gap: 46px;
  row-gap: 32px;
}

.main_form .form50 {
  width: calc(50% - 23px);
}

.main_form .form100 {
  width: 100%;
}

.main_form .text {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--Gray60);
  margin-bottom: 12px;
}

.main_form .text span {
  color: red;
}

.main_form .checkbox .flexBox {
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 15px;
  padding-bottom: 10px;
  justify-content: space-between;
  border-bottom: 1px solid #fff;
}

.main_form .checkbox label {
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: var(--Gray60);
}

.main_form .btns {
  display: flex;
  width: 100%;
  gap: 56px;
  justify-content: center;
}

.main_form .btns .btn {
  width: 187px;
  height: 52px;
  display: flex;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  cursor: pointer;
}

.main_form .btns .cancel {
  background-color: rgb(179, 179, 179);
}

.main_form .btns .submit {
  background-color: rgb(240, 229, 166);
}

@media (max-width:480px) {
  .main_form .form50 {
    width: 100%;
  }

  .main_form .checkbox {
    width: 100%;
  }

  .main_form .checkbox .flexBox {
    flex-direction: column;
  }
}


/* 文字輸入 */

input[type="text"],
input[type="email"],
textarea {
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 16px;
  color: var(--Gray80);
  width: 100%;
}

input:focus {
  outline: none;
  /* 移除外框 */
  box-shadow: none;
  /* 移除陰影（部分瀏覽器可能會有預設陰影） */
}

/* 隱藏原本的 Checkbox */
input[type="checkbox"] {
  appearance: none;
  /* 移除瀏覽器預設樣式 */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  /* 外框大小 */
  height: 20px;
  background-color: #fff;
  /* 外框顏色 */
  border-radius: 4px;
  /* 可選，讓外框變圓角 */
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}


/* 點擊選中時的樣式 */
input[type="checkbox"]:checked {
  background-color: rgb(214, 158, 82);
}

/* 使用 before 生成勾選符號 */
input[type="checkbox"]:checked::before {
  content: '';
  /* 新增內容 */
  display: block;
  width: 10px;
  /* 勾選符號大小 */
  height: 10px;
  margin: auto;
  background: white;
  /* 勾選符號顏色 */
  clip-path: polygon(14% 44%, 0% 62%, 38% 100%, 100% 14%, 82% 0%, 38% 70%);
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

textarea {
  min-height: 129px;
}

/* 下拉選單 */
/* 包裹下拉選單的容器 */
.custom-select {
  position: relative;
  display: inline-block;

}

.custom-select:first-child {
  margin-right: 10px;
}

/* 隱藏原本的下拉選單 */
.custom-select select {
  appearance: none;
  /* 移除原本的瀏覽器樣式 */
  -webkit-appearance: none;
  /* 對 Safari 的兼容性 */
  -moz-appearance: none;
  /* 對 Firefox 的兼容性 */
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 10px 80px 10px 15px;
  /* 留空間給倒三角 */
  font-size: 16px;
  line-height: 1;
  border-radius: 5px;
  cursor: pointer;
  min-width: 129px;
  transition: .3s;
  font-weight: 500;
}

/* 自定義的倒三角樣式 */
.custom-select::after {
  content: "▼";
  font-size: 14px;
  color: rgb(111, 159, 203);
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  /* 防止倒三角影響選擇操作 */
  pointer-events: none;
}

/* 對下拉選單的 hover 效果 */
.custom-select select:hover {
  border-color: #888;
}

/* swiper */
.swiper_next,
.swiper_prev {
  position: absolute;
  width: 32px;
  bottom: 0;
  transform: translate(-50%);
  cursor: pointer;

}

.swiper_next img,
.swiper_prev img {
  width: 100%;
  display: block;
}

.swiper_next {
  left: calc(50% + 20px);
}

.swiper_prev img {
  rotate: 180deg;
}

.swiper_prev {
  left: calc(50% - 20px);
}

/* closeBtn */
.close {
  position: relative;
  /* 確保伺服元素正確定位 */
  width: 40px;
  height: 40px;
  /* 背景設為黑色以突出白色 X */
  /* background-color: black; */
}

.close::before,
.close::after {
  content: '';
  /* 必須的，讓伺服元素可見 */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  /* 線條長度 */
  height: 4px;
  /* 線條粗細 */
  background-color: white;
  /* 白色線條 */
  transform-origin: center;
  border-radius: 50px;
  transition: .5s;
}

.close::before {
  transform: translate(-50%, -50%) rotate(45deg);
  /* 旋轉45度 */
}

.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
  /* 旋轉-45度 */
}

.close:hover::before {
  transform: translate(-50%, -50%) rotate(180deg);

}

.close:hover::after {
  transform: translate(-50%, -50%) rotate(0deg);

}


#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
  background-color: #e3e3e3;
}

#loading img {
  width: 100px;
}