#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: .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: 100%;
}

#speaker .card {
  width: calc(100% / 7);
  aspect-ratio: 1 / 1;
  /* 強制正方形 */
  position: relative;
  color: #fff;
  cursor: pointer;
  user-select: none;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 63%,
      rgba(0, 0, 0, 0.5) 75.81%,
      rgba(0, 0, 0, 0.5) 100%);
}

#speaker .card .photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#speaker .card .front {
  position: absolute;
  text-align: left;
  bottom: 20px;
  left: 20px;
}

#speaker .card .front .name {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

#speaker .card .front .card_t {
  line-height: 1.2;
  letter-spacing: 0px;
  width: 170px;
}

#speaker .card .remark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  z-index: 1;
  opacity: 0;
  transition: .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: .5s;
  height: var(--SpeakerCardRemarkMoreHeight);
}

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

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

@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: .3;
  background-color: #C6E9FF;
  border-radius: 10px;
  transition: .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;
}

@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;
  }
}


/* 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;
  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: .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;
  }
}