@font-face {
  font-family: jf-openhuninn;
  src: url(../fonts/jf-openhuninn-2.0.ttf);
}
.welcome {
  font-family: "jf-openhuninn", "Noto Sans TC", "微軟正黑體", "Microsoft JhengHei", "蘋果儷中黑", "Apple LiGothic Medium", sans-serif;
  background-color: #f4f4f6;
}
.welcome button {
  font-family: "jf-openhuninn", "Noto Sans TC", "微軟正黑體", "Microsoft JhengHei", "蘋果儷中黑", "Apple LiGothic Medium", sans-serif;
}
.welcome main .infoBox .info .titleS,
.welcome main .infoBox .info .title {
  font-size: clamp(26px, 3.7vw, 48px);
  color: #3f3e36;
}
.welcome main .infoBox .info .zhTitle {
  color: #e05305;
  font-family: "Noto Serif TC", "Zen Antique", "微軟正黑體", "Microsoft JhengHei", "蘋果儷中黑", "Apple LiGothic Medium", sans-serif;
  letter-spacing: 5px;
}
.welcome main .infoBox .info .zhTitle::before {
  background: #e05305;
}
.welcome main .infoBox .info .zhTitle span::after {
  background: #e05305;
}
.welcome header .menuBox ul {
  background-color: #2f73b4;
}

.welcome main .infoBox .info .formBox {
  background-color: #fff;
}

.welcome main .infoBox .info p {
  margin-left: 0;
}
.welcome main .scrollPicBox #scrollImgs button {
  z-index: 1;
  position: relative;
}
.welcome main .infoBox .info .formBox {
  border-radius: 10px;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.25);
}
.welcome main .infoBox .info .formBox button {
  background-color: #2f73b4;
  width: unset;
  height: unset;
  padding: 12px 30px;
  border-radius: 10px;
}

.welcome header .menuBox ul li a:hover {
  background: #265c90;
}

.welcome main .infoBox .info .formBox button:hover {
  background: #265c90;
}

.welcome .scrollPicBox .item.content1 {
  background: #ffebee;
}

.welcome .scrollPicBox .contentBox .inBox {
  width: 85%;
}
.welcome .scrollPicBox .contentBox .outerBox {
  justify-content: center;
}

.welcome .scrollPicBox .contentBox .content {
  width: 100%;
}
.welcome .scrollPicBox .contentBox .contentInfoBox .info p {
  line-height: 1.3;
  letter-spacing: 3px;
}

.welcome .scrollPicBox .contentBox .contentInfoBox .info.start {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.welcome .scrollPicBox .contentBox .contentPicBox {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 65%;
  z-index: -1;
}

.welcome .contentFancyBox .contentBox .outerBox {
  justify-content: center;
}

.welcome .contentFancyBox .contentBox .content {
  width: 100%;
}
.welcome .contentFancyBox .outerBox {
  position: relative;
  height: 90vh;
  padding: 40px 60px;
}
@media (max-width: 768px) {
  .welcome .contentFancyBox .outerBox {
    height: 100vh;
    padding: 20px 30px;
  }
}
.welcome .contentFancyBox .box .contentInfoBox {
  flex-grow: 0;
  z-index: 2;
  width: 50%;
}
@media (max-width: 460px) {
  .welcome .contentFancyBox .box .contentInfoBox {
    max-height: calc(100vh - 270px);
    overflow: scroll;
  }
}

.welcome .contentFancyBox .inBox {
  justify-content: flex-start;
  gap: 20px;
}

.welcome .contentFancyBox .box .contentPicBox {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 50%;
}

.welcome .contentFancyBox .outerBox {
  align-items: start;
}

.welcome .contentFancyBox .title {
  font-size: clamp(18px, 3vw, 60px);
  color: #e05305;
  white-space: nowrap;
  font-weight: bold;
  letter-spacing: 5px;
}

.welcome .contentFancyBox .box .contentInfoBox .btnBox {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 0 !important;
}
.welcome .contentFancyBox .box .contentInfoBox .list-item {
  min-width: 50%;
  padding-right: 15px;
}
.welcome .contentFancyBox .box .contentInfoBox .list-button {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  padding: 14px 52px 14px 24px;
  text-align: center;
  box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.25);
  font-size: 1.5em;
  letter-spacing: 3px;
  color: #215f91;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease;
  position: relative;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button:hover {
  background-color: #f28111;
  color: #fff;
}
.welcome .contentFancyBox .box .contentInfoBox .list-button:hover img {
  filter: brightness(0) invert(1);
}

.welcome .contentFancyBox .box .contentInfoBox .list-button.slim {
  padding: 8px 52px 8px 24px;
  font-size: 2em;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button.fat {
  padding: 25px 52px 25px 24px;
  font-size: 2em;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button .list-icon {
  display: flex;
  align-items: center;
  margin-right: 15px;
  min-width: 20px;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button .list-title {
  text-align: left;
  line-height: 1;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button .list-icon img {
  width: 20px;
  height: 20px;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button .enter-icon-block {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.welcome .contentFancyBox .box .contentInfoBox .list-button .enter-icon-block img {
  width: 20px;
  height: 20px;
}

.welcome .contentFancyBox .box .contentInfoBox .info .counter p {
  font-size: clamp(16px, 1.5vw, 32px);
  color: #003e6d;
  font-weight: 500;
}

.welcome .contentFancyBox .box .contentInfoBox .info .counter .counter-box {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  max-width: 400px;
}

.time-box-break {
  font-size: clamp(18px, 3em, 7vw);
  font-weight: bold;
  margin: 0 10px;
}

.digit-group {
  display: flex;
  gap: 5px;
}

.digit {
  background-color: #fff;
  border: 1px solid #215f91;
  padding: 10px;
  border-radius: 4px;
  min-width: 30px;
  text-align: center;
  font-size: clamp(18px, 3em, 2vw);
  font-weight: bold;
}

.time-box {
  text-align: center;
}

.label {
  font-size: clamp(12px, 1vw, 24px);
  color: #003e6d;
  font-weight: 500;
}

.welcome .contentFancyBox .box.center {
  justify-content: center;
}
.bg-yellow {
  background: #f7f0d0 !important;
}
.bg-pink {
  background: #fff0fd !important;
}
.bg-blue {
  background: #c9ecf4 !important;
}

.mr-1 {
  margin-right: 0.5rem;
}

.mr-2 {
  margin-right: 1rem;
}

.ml-1 {
  margin-left: 0.5rem;
}

.ml-2 {
  margin-left: 1rem;
}

.w-1\/10 {
  width: 10% !important;
}

.w-2\/10 {
  width: 20% !important;
}

.w-3\/10 {
  width: 30% !important;
}

.w-4\/10 {
  width: 40% !important;
}

.w-5\/10 {
  width: 50% !important;
}

.w-6\/10 {
  width: 60% !important;
}

.w-7\/10 {
  width: 70% !important;
}

.w-8\/10 {
  width: 80% !important;
}

.w-9\/10 {
  width: 90% !important;
}

.w-10\/10 {
  width: 100% !important;
}

.w-full {
  width: 100% !important;
}

@media (min-width: 768px) {
  .md\:w-1\/10 {
    width: 10% !important;
  }

  .md\:w-2\/10 {
    width: 20% !important;
  }

  .md\:w-3\/10 {
    width: 30% !important;
  }

  .md\:w-4\/10 {
    width: 40% !important;
  }

  .md\:w-5\/10 {
    width: 50% !important;
  }

  .md\:w-6\/10 {
    width: 60% !important;
  }

  .md\:w-7\/10 {
    width: 70% !important;
  }

  .md\:w-8\/10 {
    width: 80% !important;
  }

  .md\:w-9\/10 {
    width: 90% !important;
  }

  .md\:w-10\/10 {
    width: 100% !important;
  }

  .md\:w-full {
    width: 100% !important;
  }
}

/* text size setting */
.welcome .info p.title {
  font-size: clamp(18px, 3vw, 60px) !important;
  color: #e05305 !important;
  white-space: nowrap !important;
  font-weight: bold !important;
  margin-bottom: 14px !important;
  letter-spacing: 5px !important;
}
.welcome .info p .subtitle {
  font-size: clamp(14px, 2vw, 30px) !important;
}
.welcome .info p.description {
  font-size: clamp(14px, 1.5vw, 32px) !important;
  color: #003e6d !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin-bottom: 14px !important;
  letter-spacing: 1px !important;
}
.welcome .info p.font-sm {
  font-size: clamp(12px, 1.2vw, 24px) !important;
  color: #003e6d !important;
  font-weight: 400 !important;
}
.welcome .info p.font-xl {
  font-size: clamp(18px, 3vw, 60px) !important;
  color: #003e6d !important;
  font-weight: 400 !important;
}

.welcome header .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.welcome header .container .logo h1{
  margin: 0;
}
.is-compact .fancybox__content>.f-button.is-close-btn{
  color: black;
}
.welcome main .infoBox .info .formBox button{
  min-width: 100px;
}
.welcome main .infoBox .info .formBox button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media screen and (max-width: 1001px) {
  .welcome main .infoBox {
    order: 2;
  }
  .welcome main .out {
    order: 1;
  }
}
@media screen and (max-width: 376px) {
  .welcome main .infoBox .info .formBox {
    padding: 15px 20px;
  }
  .welcome main .infoBox .info .formBox button{
    padding: 10px 25px;
  }
}

.welcome-autoplay-toggle {
  position: absolute;
  min-width: 40px;
  bottom: 20px;
  right: 0;
  z-index: 10;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.7) !important;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  border-radius: 5px;
}

.welcome .welcome-autoplay-toggle:focus {
  outline: 3px solid red !important;
}