

.wrapper {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1vh;
  margin: 10px auto 0;
  max-width: 1140px;
  box-sizing: border-box;
  padding-bottom: 0;
  padding-top: 0;

}

.wrapper > * {
  flex: 1 1 calc((100% - 40px) / 3);
  min-width: 300px;  /* 防止列太窄 */
  box-sizing: border-box;
  background: rgba(255,255,255,0.1);
}

.middle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  padding-top: 10px;
  padding-bottom: 0px;
  padding-left: 0vw;
  padding-right: 0vw;
}


.content {
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5vh 4vw;
  border-radius: 10px;
  text-align: center;
  width: 45%;
  max-width: 800px;
  font-size: 2.2vw;
  line-height: 1.8;
  box-sizing:border-box;
  display: flex;
  flex-direction: column; /* 垂直排列圖片和文字 */
  align-items: center;
  text-align: center;
  margin: 2px;
  overflow: hidden;
}

.content img {
  max-width: 100%;
  height: auto;
}



.title1 {
  font-size: 13px;
  /* font-family: "DFKai-SB"; */
}





.arrow {
  display: inline-block;
  margin-left: 6px;
  font-size: 1em;
  color: #f1f0f0;
  transition: transform 0.3s ease;
}

.arrow:hover {
  transform: translateY(-3px);   /* 輕微上浮 */
  color: #B6282C;
}

/* 展开时箭头旋转 */
.job-card.expanded .arrow {
  transform: rotate(180deg);
}

.hidden {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.job-card.expanded .hidden {
  max-height: 1000px; /* 足够大的高度 */
}



.mail {
  font-size: 28px;
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  text-decoration: underline;
}


a {
  color: #EAECEE;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

 .container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 5%;
    }
    
 .flat-button {
    display: flex;
      padding: 14px 28px;
      background-color: #B6282C;
      color: white;
      border: none;
      border-radius: 6px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

.flat-button:hover {
      background-color: rgba(0, 0, 0, 0.654);
      transform: translateY(-1px);
    }



.close {
  color: #B6282C;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}



.job-card {
  cursor: pointer;
}

.title4 {
  font-size: 30px;
  font-weight: bold;
}

/* Mobile optimization */
@media (max-width: 768px) {

  .middle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 100vh; */
  padding-top: 10px;
  padding-bottom: 0px;
  padding-left: 0vw;
  padding-right: 0vw;
}


  .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-container {
  display: flex;
  justify-content: center; /* 水平居中容器内的内容 */
  align-items: center;     /* 垂直居中（如果需要） */
  padding: 10px;
  position: relative;
  }

  .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;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    width: 100%;
  }

  .dropdown a {
    padding: 12px 15px;
    text-align: center;
  }

  .content {
    padding: 60px 20px;
    max-width: 90%;
    font-size: 22px;
  }

  .ps {
    font-size: 16px;
  }

  .sp {
    font-size: 12px;
  }

  .title4 {
    font-size: 20px;
    font-weight: bold;
  }
}





