#navbar {
  height: 60px;
  position: fixed;
  z-index: 20;
  padding: 0 20px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #192154 0%, #02a3cc 50%, #1c1d49 100%);
}

/* scroll 超過200px 的 navbar 背景色 */
#navbar.hasBg {
  background-color: #fff;
}

#navbar .box {
  padding: unset;
  height: 100%;
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

#navbar .box .icon,
#navbar .box .icon img {
  height: 100%;
  display: block;
}

#navbar .box .icon {
  padding: 15px 0;
}

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

#navbar .box .listContainer a {
  text-decoration: none;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  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);
  display: block;
}

#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) {
  #navbar .box {
    justify-content: space-between;
  }

  #navbar {
    position: flex;
    z-index: 2;
  }

  #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: 10;
    padding-top: 80px;
  }

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

/* fixedBox */
#fixedBox {
  position: fixed;
  z-index: 2;
  bottom: 200px;
  right: 30px;
  display: flex;
  flex-direction: column;
  width: 55px;
  transition: 0.5s;
  gap: 10px;
}

#fixedBox.corner {
  bottom: 30px;
}

#fixedBox a {
  display: block;
  text-decoration: none;
  width: 100%;
}

#fixedBox img {
  display: block;
  width: 100%;
}

#fixedBox a:active img {
  filter: hue-rotate(45deg);
}

@media (max-width: 768px) {
  #fixedBox {
    opacity: 0;
    bottom: 30px;
  }
}

@media (max-width: 480px) {
  #fixedBox {
    width: 35px;
  }
}

/* kv */

#kv {
  position: relative;
  overflow: hidden;
  margin-top: 58px;
  background-image: url(../imgs/kv_bg.png);
  background-size: cover;
  background-position: top center;
  display: flex;
  flex-direction: column;
  padding: unset;
}

#kv .textBox {
  padding-top: 80px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex;
  gap: 10px;
  z-index: 1;
  position: relative;
  align-self: flex-start;
  padding: 80px 10px 0;
}

#kv .kvSlogan {
  display: block;
  position: relative;
  transform: translateX(-50%);
  left: 50%;
  width: 100%;
  max-width: 1230px;
  opacity: 0;
}

@media (max-width: 1024px) {
  #kv .kvSlogan {
    margin-top: 100px;
  }
}

@media (max-width: 768px) {
  #kv .kvSlogan {
    margin-top: 160px;
  }
}

@media (max-width: 480px) {
  #kv .kvSlogan {
    margin-top: 0px;
  }
}

/* 動畫共用設定 */
@keyframes fadeUpSlogan {
  from {
    opacity: 0;
    transform: translate(-50%, 300px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(300px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(300px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-300px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 出現 */
@keyframes emerge {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 淡入浮現動畫 */
.kvSlogan.animate {
  animation: fadeUpSlogan 2s ease forwards;
  animation-delay: 0s;
}

#kv .des.animate {
  animation: emerge 2s ease forwards;
  animation-delay: 2s;
}

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

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

/* about */

#about {
  margin-top: 126px;
  padding: 179px 10px 129px;
  display: flex;
  z-index: 1;
  flex-direction: column;
  align-items: center;
}

#about .title {
  font-size: 30px;
  font-size: 500;
  text-shadow: 0 0 5px #000;
}

#about .des {
  width: 100%;
  max-width: 960px;
  font-family: Noto Sans HK;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0px;
  color: #fff;
  text-shadow: 0 0 5px #222;
}

@media (max-width: 768px) {
  #about {
    margin-top: unset;
  }
}

@media (max-width: 480px) {
  #about .title {
    font-size: 20px;
  }
  #about .des {
    font-size: 15px;
  }
}

/* speaker */
#speaker {
  position: relative;
  background-color: #fff;
  padding: unset;
}

#speaker .title {
  color: #0c5297;
  margin-bottom: 20px;
}

#speaker .box {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#speaker .remark {
  text-align: center;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 3px;
  color: #0c5297;
  margin-bottom: 52px;
}

#speaker .cards {
  display: flex;
  flex-wrap: wrap;
  width: 1350px;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#speaker .card {
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#speaker .card .photo {
  width: 100%;
}

#speaker .card .front {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

#speaker .card .front .name {
  font-size: 18px;
  line-height: 1.2;
}

#speaker .card .front .card_t {
  line-height: 1.2;
  letter-spacing: 0px;
  font-size: 20px;
  font-weight: bold;
  width: 100%;
}

#speaker .card .remark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  z-index: 1;
  opacity: 0;
  transition: 0.5s;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

#speaker .card .remark.click {
  opacity: 1;
}

:root {
  --SpeakerCardRemarkMoreHeight: 40px;
}

#speaker .card .remark .des {
  height: calc(100% - var(--SpeakerCardRemarkMoreHeight));
  /* 彈性盒模型 */
  display: -webkit-box;
  /* 限制顯示 7 行 */
  -webkit-line-clamp: 7;
  /* 垂直排列 */
  -webkit-box-orient: vertical;
  line-clamp: 7;
  overflow: hidden;
  /* 超出用 ... 表示 */
  text-overflow: ellipsis;
  line-height: 30px;
}

#speaker .card .remark .more {
  font-size: 16px;
  line-height: 100%;
  display: flex;
  align-items: center;
  transition: 0.5s;
  height: var(--SpeakerCardRemarkMoreHeight);
}

#speaker .card .remark .more:hover {
  color: #faf;
}

@media (max-width: 1500px) {
  /* #speaker .card {
    width: calc(100% / 5);
  } */
  #speaker .cards {
    width: 100%;
  }
}

@media (max-width: 1024px) {
  /* #speaker .card {
    width: calc(100% / 4);
  }

  #speaker .titleBox {
    padding: 0 10px;
  } */
}

@media (max-width: 790px) {
  /* #speaker .card {
    width: calc(100% / 3);
  } */
}

@media (max-width: 600px) {
  /* #speaker .card {
    width: calc(100% / 2);
  } */
}

@media (max-width: 480px) {
  #speaker .remark {
    font-size: 14px;
  }

  #speaker .titleBox .remark {
    font-size: 18px;
    padding-top: 20px;
  }
}

@media (max-width: 430px) {
  /* #speaker .card {
    width: calc(100%);
  } */
}

/* popup 在 all.css */

/* agenda */
#agenda {
  background-image: url(../imgs/agenda_bg.png);
  background-size: cover;
  background-position: top center;
}

#agenda .title {
  color: #fff;
}

#agenda .btns {
  gap: 20px;
  margin-bottom: 42px;
}

#agenda .btn {
  width: 188px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.3;
  background-color: #c6e9ff;
  border-radius: 10px;
  transition: 0.5s;
  position: relative;
  user-select: none;
}

#agenda .btn.checked {
  opacity: 1;
}

#agenda .btn::after {
  content: "";
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  width: 15px;
  height: 10px;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c6e9ff;
}

#agenda .tableTitles {
  display: flex;
  gap: 14px;
}

#agenda .tableTitles .t_title {
  border-radius: 50px;
  background-color: #c6e9ff;
  font-weight: 500;
  font-size: 20px;
  line-height: 130%;
  padding: 10px 20px;
  text-align: center;
}

#agenda .tableTitles .t_title:first-child {
  width: 186px;
}

#agenda .tableTitles .t_title:last-child {
  flex: 1;
}

#agenda table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
  display: none;
}

#agenda .box:has(.day1.checked) > div table.day1 {
  display: table;
}
#agenda .box:has(.day2.checked) > div table.day2 {
  display: table;
}

#agenda table tbody tr.noborder td {
  border-bottom: none;
}

#agenda table tr td {
  font-size: 20px;
  color: #fff;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 0;
  line-height: 1.5;
  /* font-weight: 500; */
  border-bottom: 1px solid #fff;
}

/* 時間區塊 */
#agenda table tr td:first-child {
  width: 200px;
  padding-left: 20px;
  /* font-weight: 400; */
  color: #fff;
}

#agenda table tr td p {
  display: inline-block;
  padding: 0 20px;
  background-color: #a0b517;
  border-radius: 10px;
}
#agenda table tr td span {
  font-weight: bold;
  white-space: nowrap;
}

.agenda_title_wrap {
  padding-left: 0px !important;
}

.agenda_title {
  background: linear-gradient(90deg, #c6e9ff 0%, #95d4e1 100%);
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 20;
  color: #143440;
  padding: 10px 20px;
}

@media (max-width: 768px) {
  #agenda table {
    width: 100%;
  }

  #agenda table tbody,
  #agenda table tr,
  #agenda table td {
    display: block;
    width: 100%;
  }

  #agenda table tr {
    margin-bottom: 20px;
    border-bottom: 1px solid #fff;
  }

  #agenda table tr.noborder {
    border-bottom: unset;
  }

  #agenda table tr td {
    text-align: left;
    padding: 10px 20px;
    border-bottom: none;
    position: relative;
  }

  #agenda table tr td p {
    margin: 0;
  }
}

#agenda .remark {
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0px;
  color: #fff;
}

@media (max-width: 480px) {
  #agenda .btns {
    gap: 10px;
  }
  /* 時間區塊 */
  #agenda table tr td:first-child {
    width: 100%;
  }
  .agenda_title_wrap {
    padding-left: 20px !important;
  }
}

/*exhibition*/
#exhibition .title {
  color: #0c5297;
}
.exhibition_contain {
  width: 100%;
  max-width: 1016px;
}
.exhibition_des {
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: #0c5297;
  line-height: 1.7;
}
.exhibition_des .gold {
  color: #c89211;
}
.exhibition_company_wrap {
  display: block;
  margin-top: 20px;
}
.exhibition_company {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  border-bottom: 1px solid #000000;
  padding: 20px 0px;
}

.exhibition_company:nth-child(2n) {
  flex-direction: row-reverse;
}

.exhibition_company .cover {
  width: 200px;
  height: 200px;
}
.exhibition_company .des {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.exhibition_company .des .name {
  font-size: 24px;
  color: #c89211;
  font-weight: bold;
  line-height: 1.7;
}
.exhibition_company .des .des {
  font-size: 20px;
  color: #000000;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .exhibition_company {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    border-bottom: 1px solid #000000;
    padding: 20px 0px;
  }

  .exhibition_company:nth-child(2n) {
    flex-direction: column;
  }

  .exhibition_company .cover {
    width: 100px;
    height: 100px;
  }
  .exhibition_company .des .name {
    font-size: 20px;
    color: #c89211;
    font-weight: bold;
    line-height: 1.7;
  }
  .exhibition_company .des .des {
    font-size: 16px;
    color: #000000;
    line-height: 1.7;
  }
}

/* signup */

:root {
  --SignupMainColor: #143440;
}

#signup {
  background-color: #fff;
}

#signup .title {
  color: #0c5297;
}

.form_title {
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: #a91c21;
  font-weight: bold;
  margin-top: 30px;
}

#form {
  display: none;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 20px;
  row-gap: 40px;
}

#form.show {
  display: flex;
}

#form p {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 20px;
  color: var(--SignupMainColor);
}

#form p span {
  font-weight: 400;
  font-size: 12px;
  color: #ff5c00;
  padding-left: 10px;
}

#form .remark {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  color: var(--SignupMainColor);
}

#form label[for="agree"] .remark {
  margin-top: 20px;
  margin-bottom: 40px;
}

#form .remark a {
  font-size: 16px;
  margin-top: 10px;
  color: #f72828;
}

#form ul,
#form ol {
  padding-left: 15px;
}

#form .submit {
  width: 156px;
  height: 56px;
  border-radius: 56px;
  background-color: #0c4a75;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

#form .submit:active {
  background-color: #a8000e;
}

#form label[for="agree"] {
  color: var(--SignupMainColor);
  font-size: 18px;
}

input[type="text"] {
  padding: 10px;
  border-radius: 0px;
  width: 100%;
  background-color: var(--SignupMainColor);
  color: #fff;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  color: #fff;
  border-radius: 2px;
  border: 2px solid #666;
}

input[type="radio"] {
  margin-right: 5px;
}

/* 隱藏預設 radio 樣式 */
input.square {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 2px solid var(--SignupMainColor);
  width: 18px;
  height: 18px;
  background-color: var(--SignupMainColor);
  border-radius: 2px;
  /* 方形 */
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  margin-right: 4px;
}

/* 選中後內部的小方塊 */
input.square:checked::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 1px;
}

select {
  padding: 8px 12px;
  border-radius: 0px;
  /* 圓角 */
  font-size: 16px;
  color: #fff;
  width: 100%;
  appearance: none;
  /* 移除預設樣式（部分瀏覽器有效） */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../imgs/form_arrow.png");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px 24px;
  background-color: var(--SignupMainColor);
}

select:focus {
  outline: none;
  border-color: #66afe9;
  box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

label {
  color: #000;
}

.radioBox {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* traffic */
#traffic {
  background-image: url(../imgs/agenda_bg.png);
  background-position: top center;
  background-size: cover;
}

#traffic .title {
  color: #fff;
}

#traffic .time {
  width: 100%;
  margin-bottom: 30px;
  max-width: 773px;
}

#traffic .map {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

#traffic .lists {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#traffic .list {
  display: flex;
  color: #fff;
}

#traffic .list_l {
  width: 40px;
}

#traffic .list_l img {
  display: block;
  width: 100%;
}

#traffic .list_r {
  width: calc(100% - 40px);
  padding-left: 32px;
}

#traffic .list_t {
  font-weight: 700;
  font-size: 26px;
  line-height: 100%;
  margin-bottom: 10px;
  letter-spacing: 0%;
}

#traffic .list_des {
  font-weight: 700;
  font-size: 20px;
}

@media (max-width: 480px) {
  #traffic .list_l {
    width: 30px;
  }
  #traffic .list_r {
    width: calc(100% - 30px);
    padding-left: 20px;
  }
  #traffic .list_t {
    font-size: 18px;
  }

  #traffic .list_des {
    font-size: 16px;
  }
}

/* footer */
#footer {
  background-color: #0a4f78;
}

#footer .box {
  max-width: 1400px;
}

#footer .items {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 32px;
}

#footer .item {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

#footer .item_t {
  font-weight: 500;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

#footer .logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

#footer .logo {
  height: 50px;
  display: block;
}

#footer .logo.h35 {
  height: 35px;
}

#footer .logo.h30 {
  height: 30px;
}

#footer .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

#footer .remark {
  padding-top: 32px;
  border-top: 0.5px solid #969696;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  width: 100%;
  line-height: 23px;
  text-align: center;
  color: #fff;
}

@media (max-width: 768px) {
  #footer .logo {
    height: 35px;
  }
}
