@charset "UTF-8";
body {
  font-family: "Noto Sans CJK TC", Arial, sans-serif;
}

.topBar {
  width: 100%;
  height: 45px;
  background: black;
  position: fixed;
  top: 0;
  z-index: 9999999;
}
.topBar p {
  font-size: 1rem;
  color: white;
  font-weight: 200;
  letter-spacing: 3px;
  line-height: 45px;
  text-align: center;
}

.content {
  width: 85%;
  height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  position: relative;
}

main {
  width: 60%;
  height: 100vh;
  position: fixed;
  left: 0;
}
main .pic {
  width: 80%;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.caption {
  width: 31%;
  height: 100vh;
  background: #eaf5f4;
  position: fixed;
  left: 60%;
}
.caption .text {
  width: 90%;
  height: auto;
  max-height: 60vh;
  padding: 0 5%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* 設置滾動 */
  overflow-y: auto;
  /* 滾動內容的內部留白 */
  padding-top: 0;
  padding-bottom: 10vh;
  /* === 隱藏滾動條 (Chrome/Safari) === */
  /* === 隱藏滾動條 (Firefox) === */
  scrollbar-width: none;
  /*----定義文字淡入前的狀態----*/
}
.caption .text::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}
.caption .text .scroll-fade-item {
  opacity: 0;
  /* 確保淡入/淡出過程是平滑的 */
  transition: opacity 0.5s ease-in-out;
  /* 確保初始位置不會被覆蓋 */
  will-change: opacity, transform;
}
.caption .text .item-01, .caption .text .item-02 {
  font-size: 1rem;
  color: #889b99;
  padding: 0 0 30px 40px;
}
.caption .text .item-01 li, .caption .text .item-02 li {
  line-height: 2rem;
}
.caption .text .item-01 {
  list-style: disc;
}
.caption .text .item-02 {
  display: inline-block;
  list-style: decimal;
}
.caption .text h1 {
  display: inline-block;
  font-size: 2.5vw;
  font-weight: bold;
  color: #777777;
}
.caption .text div {
  display: inline-block;
  background: #82b7b2;
  border-radius: 999em;
  margin: 50px 0 10px 0;
}
.caption .text div h3 {
  font-size: 1.2vw;
  font-weight: bold;
  padding: 15px 30px;
  color: #FFFFFF;
}
.caption .btn_buy {
  font-size: 1.2rem;
  font-weight: 500;
  background: black;
  color: #FFFFFF;
  padding: 10px 30px;
  border-radius: 999em;
  border: none;
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  z-index: 999;
  transition: 0.3s ease-in-out;
}
.caption .btn_buy:hover {
  background: #82b7b2;
}

footer {
  width: 100%;
  height: 60px;
  background: rgb(36, 36, 36);
  position: fixed;
  bottom: 0;
  z-index: 99999;
}
footer p {
  font-size: small;
  letter-spacing: 1px;
  color: white;
  text-align: center;
  line-height: 60px;
}

/*============================= 平版設定 ================================= */
@media screen and (max-width: 1280px) {
  .topBar {
    height: 45px;
  }
  .topBar p {
    font-size: 1rem;
    letter-spacing: 1px;
    line-height: 25px;
    padding: 10px 5%;
  }
  .content {
    width: 100%;
    height: auto;
    margin: 45px auto 0 auto;
    display: flex;
    flex-direction: column;
    position: static;
  }
  main {
    width: 100%;
    height: auto;
    position: static;
    left: 0;
    margin: 0 auto;
  }
  main .pic {
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    transform: translate(0, 0);
  }
  .caption {
    width: 100%;
    height: auto;
    position: relative;
    left: 0;
    display: flex; /* 新增：使用 flex 讓內容垂直排列 */
    flex-direction: column;
    align-items: center; /* 讓按鈕水平置中 */
  }
  .caption .text {
    width: 90%;
    height: auto;
    max-height: none;
    padding: 30px 5% 0 5%; /* 修改：底部留白縮小，靠 margin 控制間距 */
    position: static;
    top: 0;
    transform: translateY(0);
    opacity: 1 !important; /* 手機版建議強制顯示，避免滾動監聽失效 */
  }
  .caption .text .scroll-fade-item {
    opacity: 1 !important; /* 手機版通常不建議做太複雜的滾動淡入，維持顯示較穩定 */
  }
  .caption .text .item-01, .caption .text .item-02 {
    padding: 0 0 0 40px;
  }
  .caption .text h1 {
    display: block;
    font-size: 2rem;
  }
  .caption .text div {
    display: inline-block;
    margin: 50px 0 10px 0;
  }
  .caption .text div h3 {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 30px;
  }
  .caption .btn_buy {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 30px;
    position: relative; /* 取消絕對定位，讓它回到文件流 */
    left: auto; /* 重置左邊距 */
    bottom: auto; /* 重置底部邊距 */
    transform: none; /* 取消置中的偏移 */
    margin-top: 50px; /* 距離上方 .text 底部 50px */
    margin-bottom: 50px; /* 距離下方 footer 也有點間距，避免太擠 */
    display: inline-block;
    width: -moz-fit-content;
    width: fit-content; /* 寬度隨文字調整 */
  }
  .caption .btn_buy:hover {
    background: #82b7b2;
  }
  footer {
    height: 45px;
    margin-top: 70px;
    position: static; /* 手機版建議 footer 跟隨內容，不要固定在底部 */
    margin-top: 0;
  }
  footer p {
    font-size: 0.8rem;
    letter-spacing: 0;
    line-height: 20px;
    padding: 10px 5%;
  }
}
/*============================= 手機版設定 ================================= */
@media screen and (max-width: 768px) {
  .topBar {
    height: 70px;
  }
  .topBar p {
    font-size: 0.85rem;
    letter-spacing: 0;
    line-height: 25px;
    padding: 10px 5%;
  }
  .content {
    width: 100%;
    height: auto;
    margin: 70px auto 0 auto;
    display: flex;
    flex-direction: column;
    position: static;
  }
  main {
    width: 100%;
    height: auto;
    position: static;
    left: 0;
    margin: 0 auto;
  }
  main .pic {
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    transform: translate(0, 0);
  }
  .caption {
    width: 100%;
    height: auto;
    position: relative;
    left: 0;
    display: flex; /* 新增：使用 flex 讓內容垂直排列 */
    flex-direction: column;
    align-items: center; /* 讓按鈕水平置中 */
  }
  .caption .text {
    width: 90%;
    height: auto;
    max-height: none;
    padding: 30px 5% 0 5%; /* 修改：底部留白縮小，靠 margin 控制間距 */
    position: static;
    top: 0;
    transform: translateY(0);
    opacity: 1 !important; /* 手機版建議強制顯示，避免滾動監聽失效 */
  }
  .caption .text .scroll-fade-item {
    opacity: 1 !important; /* 手機版通常不建議做太複雜的滾動淡入，維持顯示較穩定 */
  }
  .caption .text .item-01, .caption .text .item-02 {
    padding: 0 0 0 40px;
  }
  .caption .text h1 {
    display: inline-block;
    font-size: 2rem;
  }
  .caption .text div {
    display: inline-block;
    margin: 50px 0 10px 0;
  }
  .caption .text div h3 {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 20px;
    line-height: 1.4rem;
  }
  .caption .btn_buy {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 30px;
    position: relative; /* 取消絕對定位，讓它回到文件流 */
    left: auto; /* 重置左邊距 */
    bottom: auto; /* 重置底部邊距 */
    transform: none; /* 取消置中的偏移 */
    margin-top: 50px; /* 距離上方 .text 底部 50px */
    margin-bottom: 50px; /* 距離下方 footer 也有點間距，避免太擠 */
    display: inline-block;
    width: -moz-fit-content;
    width: fit-content; /* 寬度隨文字調整 */
  }
  .caption .btn_buy:hover {
    background: #82b7b2;
  }
  footer {
    height: 60px;
    margin-top: 70px;
    position: static; /* 手機版建議 footer 跟隨內容，不要固定在底部 */
    margin-top: 0;
  }
  footer p {
    font-size: 0.8rem;
    letter-spacing: 0;
    line-height: 20px;
    padding: 10px 5%;
  }
}/*# sourceMappingURL=page.css.map */