#navbar {
  height: 60px;
  position: fixed;
  z-index: 20;
  padding: 0 20px;
  top: 0;
  left: 0;
  background: linear-gradient(90deg, #013E94 0%, #0094D4 100%);
}

/* scroll 超過200px 的 navbar 背景色 */
#navbar.hasBg {
  background: linear-gradient(90deg, #013E94 0%, #0094D4 100%);
}


#navbar .box {
  padding: unset;
  height: 100%;
  width: 100%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  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;
  padding-bottom: 100px;
  background: linear-gradient(to top, white 0%, transparent 10%);
}

#kv .textBox {
  padding-top: 80px;
  width: 100%;
  max-width: 1220px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  z-index: 1;
  align-items: center;
  justify-content: start;
}

#kv .kvSlogan {
  display: block;
  position: relative;
  width: 100%;
  max-width: 592px;
  opacity: 0;
}

#kv .des {
  color: #fff;
  opacity: 0;
  display: inline-block;
  background-color: #E24134;
  box-sizing: border-box;
  font-size: 20px;
  padding: 5px 10px;
}

#kv .kvSlogan2 {
  position: absolute;
  width: 100%;
  max-width: 664px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

#kv .alert {
  position: absolute;
  width: 183px;
  top: 30px;
  right: 15px;
  display: block;
}

@media (max-width:1439px) {
  #kv .alert {
    top: unset;
    bottom: 30px;
  }
}

@media (max-width:640px) {
  #kv {
    height: auto;
    padding-top: 100px;
    padding-bottom: 160px;
  }

  #kv .kvSlogan2 {
    width: 95%;
  }
}

@media (max-width:480px) {
  #kv .alert {
    width: 140px;
  }
}


/* 動畫共用設定 */
@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: fadeUp 2s ease forwards;
  animation-delay: 0s;
}

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

@media (max-width:860px) {
  #kv .des {
    color: #fff;
    opacity: 0;
    display: inline-block;
    background-color: #E24134;
    box-sizing: border-box;
    font-size: 16px;
    padding: 5px 10px;
    text-align: center;
  }
}

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

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

/* agenda */

#agenda {
  margin-top: 100px;
  scroll-margin-top: 100px;
}

.agenda_table_wrap {
  /* display: inline-block; */
  width: 100%;
  margin-top: 60px;
}

.tables .agenda_table_wrap:first-child {
  margin-top: unset;
}


.ag_th {
  float: left;
  width: 100%;
  line-height: 2;
  text-align: center;
  font-size: 20px;
  color: #B81C25;
  font-weight: 700;
  margin-bottom: 10px;
  background: #DFEBB9;
}

.ag_th.orange_bg {
  background: #FB826A;
}

.agenda_table_box {
  width: 100%;
  border-radius: 16px;
  box-sizing: border-box;
}

.agenda {
  width: 100%;
}

.signupPrecautions {
  padding: 20px 30px;
  border-radius: 0 0 20px 20px;
  display: flex;
  align-items: center;
  color: #fff;
  gap: 30px;
  min-height: 204px;
  background: linear-gradient(91.84deg, #1E59A5 0%, #53BFCF 51.86%, #1951A1 98.95%);
}

.signupPrecautions .left {
  flex: 0 0 130px;
  align-self: stretch;
  text-align: center;
  padding-right: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.signupPrecautions .right {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.signupPrecautions .precautionRow {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 8px;
}

.signupPrecautions .precautionRow+.precautionRow {
  margin-top: 8px;
}

table {
  border-collapse: collapse;
  background-color: #ffffff94;
  border-radius: 20px 20px 0 0;
}


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


.agenda tr td {
  font-size: 20px;
  color: #000;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 0;
  line-height: 1.5;
  font-weight: 700;
  border-bottom: 1px solid #000;
}

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

.agenda tr td:last-child {
  text-align: right;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .agenda {
    display: block;
    width: 100%;
  }

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

  .agenda tr {
    /* margin-bottom: 20px; */
    border-bottom: 1px solid #000;
  }

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

  .agenda tr td:first-child {
    width: 200px;
  }

  .agenda tr td:last-child {
    text-align: left;
  }

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

  .agenda tr td p {
    margin: 0;
  }

  .signupPrecautions {
    flex-direction: column;
    align-items: stretch;
    min-height: unset;
    padding: 24px 20px;
    gap: 18px;
  }

  .signupPrecautions .left {
    flex: unset;
    align-self: unset;
    border-right: none;
    border-bottom: 1px solid #fff;
    padding: 0 0 14px;
    justify-content: center;
  }

  .signupPrecautions .right {
    font-size: 17px;
  }
}

@media (max-width:480px) {
  .signupPrecautions .precautionRow {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }
}

@media (max-width:480px) {
  #agenda .agenda_remark .remark_t {
    font-size: 18px;
  }

  #agenda .agenda_remark .remark_des {
    font-size: 16px;
  }
}

/* signup */

#signup {
  background-color: rgba(255, 255, 255, .96);
  scroll-margin-top: 100px;
}

#signup .lineBox {
  border: 1px solid #000;
  margin: 110px 0;
}

.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 .show {
  display: block;
}



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

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

#form .remark {
  font-weight: 400;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
  color: #000;
  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: 184px;
  height: 56px;
  border-radius: 56px;
  background-color: #E15100;
  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;
}

input[type=text] {
  border: 1px solid #000;
  padding: 10px;
  border-radius: 0px;
  width: 100%;
}

input[type=checkbox] {
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  border-radius: 6px;
}

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

select {
  padding: 8px 12px;
  border: 1px solid #000;
  border-radius: 0px;
  /* 圓角 */
  background-color: #fff;
  font-size: 16px;
  color: #333;
  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;
}

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

label {
  color: #000;
}

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

#familyCountField,
.familyFields {
  display: none;
}

#familyCountField.show,
.familyFields.show {
  display: block;
}

.familyFields {
  width: 100%;
}

/* traffic */
#traffic {
  background: transparent;
  scroll-margin-top: 100px;
}

#traffic .lineBox {
  margin: 100px 0;
}

#traffic .lineBox .map {
  width: 100%;
  border-radius: 20px;
  padding: 20px;
  background-color: #ffffffb9;
}

#traffic .map_t {
  font-weight: 700;
  font-size: 26px;
  line-height: 1.4;
  color: #1D446B;
  margin-bottom: 32px;
}

#traffic .map img {
  width: 100%;
  display: block;
  margin-bottom: 32px;
}

#traffic .map_des {
  font-weight: 700;
  font-size: 20px;
  line-height: 170%;
  color: #1D446B;
}


/* footer */
#footer {
  background-color: #E4ECF3;
}

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

#footer .remark {
  font-weight: 400;
  font-size: 14px;
  width: 100%;
  line-height: 23px;
  text-align: center;
  color: #0D216D;
}
