/* topLogo */
.topLogo {
  width: 100%;
  background-color: #fff;
}
.topLogo_container {
  margin: auto;
  max-width: 1220px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}
.topLogo_img {
  margin: 2px 0;
  width: 70%;
  background-color: #fff;
}

/* navBar */
.navBar {
  width: 100%;
  background-color: #d60620;
}
.navBar_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
  margin: auto;
}
.navBar_item:hover {
  color: white;
  background-color: #b80017;
  border-bottom: 3px solid #fff;
  border-top: 1px solid #b80017;
  font-weight: 700;
}
.navBar_item {
  text-align: center;
  padding: 11px 40px;
  color: white;
  min-width: fit-content;
  border-bottom: 0.1px solid #d60620;
  border-top: 3px solid #d60620;
  font-family: "noto sans TC";
  transition: background-color 0.3s; /* 添加平滑效果 */
}
.navBar_item a {
  text-decoration: none; /* 移除底線 */
  color: inherit; /* 繼承父元素的文字顏色 */
}

@media screen and (max-width: 959px) {
  .navBar_container {
    width: 100%;
    overflow-x: scroll;
	justify-content: start;
  }
  .navBar_item {
    flex-shrink: 0;
    display: inline-block;
    background-color: #b80017;
    margin: 0.1% 3% 0.1% 4%;
    border-radius: 1.5vw;
    padding: 1.3% 4.1%;
  }
  .topLogo_img {
    width: 100%;
  }
}

/* swiper */
.mainSwiper {
  width: 100%;
}
.mainSwiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.mainSwiper-img-pc {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mainSwiper-img-mo {
  display: none;
}
.mainSwiper-button-container {
  position: absolute;
  height: 100%;
  max-width: 1220px;
  width: calc(100% - 20px);
  top: 0;
  right: 50%;
  transform: translate(50%, 0%);
  z-index: 2;
  pointer-events: none;
}
.mainSwiper-button-prev,
.mainSwiper-button-next {
  pointer-events: auto;
  color: #000;
}
.mainSwiper-pagination .swiper-pagination-bullet {
  background-color: #000;
  margin-bottom: 15px !important;
}
@media screen and (max-width: 959px) {
  .mainSwiper {
    height: auto;
  }
  .mainSwiper-img-pc {
    display: none;
  }
  .mainSwiper-img-mo {
    display: block;
    width: 100%;
    height: auto;
  }
}
