

.wrapper2 {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2vh;
  margin: 4px auto 0;
  padding: 20px 10px;
  max-width: 1140px;
  box-sizing: border-box;
}

.wrapper2 > * {
  flex: 1 1 calc((100% - 40px) / 3);
  min-width: 300px;  /* 防止列太窄 */
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
}

.center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding-top: 60px;
}

/* 新增内容容器样式 */
.content-container {
  width: 80%; /* 使用百分比控制宽度 */
  max-width: 1200px; /* 最大宽度限制，避免过宽 */
  min-width: auto; /* 最小宽度限制，避免过窄 */
}

.middle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  padding-top: 80px;
  padding-bottom: 0px;
  padding-left: 0vw;
  padding-right: 0vw;
}

.content {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2vh 6vw;
  border-radius: 10px;
  text-align: center;
  width: 65%;
  max-width: 880px;
  font-size: 2.2vw;
  line-height: 1.8;
  overflow-wrap: break-word; 
}






.sentence{
  font-size: 15px;
  text-align: left;
  /* font-family: "DFKai-SB"; */
}

.sentence_center{
  font-size: 18px;
  text-align: center;
  /* font-family: "DFKai-SB"; */
}



.sp_contact {
  font-size: 20px;
  /* font-family: "DFKai-SB"; */
}

a {
  color: #EAECEE;
  text-decoration: none;
}

.slider {
  display: flex;
  animation: slide 10s linear infinite;
}

.slider img {
  width: 100vw;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}


/* 毛玻璃背景容器 */
.center-box {
  display: flex;
  justify-content: center;   /* 水平置中 */
  /* 也可以加 align-items: center; 若希望垂直也置中 */
}


.scrolling-glass-panel {
  max-width: 880px;
  padding: 2vh 2vw;
  text-align: center;
  max-width: 800px;   /* 想多寬自己改，也可以不要這行 */
  width: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.65); /* 半透明黑色 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  margin: 0 0;
  border-radius: 10px;
}

/* 滾動圖片區域 */
.scrolling-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.scrolling-track {
  display: inline-flex;
  animation: scroll 150s linear infinite;
}

.scrolling-track img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  margin-right: 20px;
  border-radius: 10px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
  .background-slideshow img {
    height: 100vh;
  }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 30px;
  cursor: pointer;
  padding: 0px;
}

.menu-toggle span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #B6282C;
  border-radius: 0px;
  margin: 2px 0;  /* 设置上下间距 */
  justify-content: center;
}

  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    display: none;
    width: 100%;
  }

  .navbar.active {
    display: flex;
  }

  .navbar > li {
    width: 100%;
    text-align: center;
  }

  .navbar a {
    padding: 12px 15px;
  }

  .navbar-container {
  display: flex;
  justify-content: center; /* 水平居中容器内的内容 */
  align-items: center;     /* 垂直居中（如果需要） */
  padding: 10px;
  position: relative;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    width: 100%;
  }

  .dropdown a {
    padding: 12px 15px;
    text-align: center;
  }

  .content {
      width: 95%;
      font-size: 16px;
      padding: 20px;
    }

  .ps {
    font-size: 16px;
  }

}

img {
  padding-top: 0px;
  max-width: 100%;
  height: auto;
}





