@charset "UTF-8";
* {
  box-sizing: border-box;
}

.wrapper {
  background-color: #FFFEF3;
}

.kv {
  background: url(../img/kv_bg.svg) no-repeat center/cover;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  padding-top: 80px;
}
.kv_word {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 20px 0px;
}
.kv_word img {
  display: block;
  width: 100%;
  margin: 0 auto;
}
.kv_dec {
  width: 100%;
  max-width: 350px;
  margin: 50px 0px 0px 50px;
}
@media screen and (max-width: 967px) {
  .kv {
    flex-direction: column;
  }
  .kv_word {
    margin: 0 auto;
  }
  .kv_dec {
    margin: 50px auto 0px;
  }
}
@media screen and (max-width: 540px) {
  .kv {
    padding-top: 70px;
  }
  .kv_word {
    width: 95%;
  }
  .kv_dec {
    width: 50%;
  }
}

.section_style {
  padding: 40px 0px;
  /* 手機版 RWD */
}
.section_style .title {
  color: #00a19b;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto;
}
.section_style .tabs-container {
  max-width: 1000px;
  width: 100%;
  margin: 32px auto;
}
.section_style .tabs-container .tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
.section_style .tabs-container .tabs-nav .tab-item {
  cursor: pointer;
  padding: 10px 0px;
  margin: 0 auto;
  width: 172px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
  font-size: 20px;
  background-color: transparent;
  color: #00A19B;
  border-radius: 12px;
}
.section_style .tabs-container .tabs-nav .tab-item.active {
  background-color: #E1EFEF;
  font-weight: bold;
}
.section_style .tabs-container .tabs-nav .tab-item:hover {
  background-color: #E1EFEF;
  color: #00a19b;
}
.section_style .tabs-container .tabs-content .carousel-wrapper {
  display: none;
}
.section_style .tabs-container .tabs-content .carousel-wrapper.active {
  display: block;
}
.section_style .carousel-container {
  position: relative;
  max-width: 490px;
  margin: 40px auto;
  overflow: hidden;
  /* 新增包裹輪播圖片的區塊 */
}
.section_style .carousel-container .carousel-slide-wrapper {
  width: 285px; /* 顯示區塊寬度 */
  margin: 0 auto; /* 水平置中 */
  overflow: hidden; /* 隱藏超出 */
}
.section_style .carousel-container .carousel-slide-wrapper::before {
  content: "";
  background-color: #FFE369;
  border-radius: 999em;
  display: block;
  position: absolute;
  width: 100%;
  height: 87%;
  max-width: 490px;
  max-height: 490px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.section_style .carousel-container .carousel-slide {
  display: flex;
  justify-content: center;
  transition: transform 0.4s ease;
}
.section_style .carousel-container .carousel-slide img {
  width: 285px; /* 圖片固定寬度 */
  user-select: none;
  pointer-events: none;
  transform: scale(1);
}
.section_style .carousel-container .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 29px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  transition: filter 0.3s;
}
.section_style .carousel-container .arrow:hover, .section_style .carousel-container .arrow:focus {
  filter: brightness(0.75); /* 滑鼠或鍵盤聚焦時箭頭稍微變暗 */
  outline: none;
}
.section_style .carousel-container .arrow.arrow-left {
  left: 12px;
  background-image: url("../img/arrow_left.svg");
}
.section_style .carousel-container .arrow.arrow-right {
  right: 12px;
  background-image: url("../img/arrow_right.svg");
}
.section_style .carousel-container .dots {
  margin-top: 12px;
  text-align: center;
}
.section_style .carousel-container .dots button {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  background-color: #bbb;
  cursor: pointer;
  transition: background-color 0.3s;
}
.section_style .carousel-container .dots button.active {
  background-color: #00a19b;
}
.section_style .btn {
  background: #00a19b;
  color: #ffffff;
  font-size: 24px;
  display: inline-block;
  padding: 10px 50px;
  border-radius: 4px;
  letter-spacing: 1px;
  position: relative;
  cursor: pointer;
}
.section_style .btn-secondary {
  background: #fff;
  color: #00a19b;
  border: 2px solid #00a19b;
}
.section_style .btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  text-align: center;
  flex-wrap: wrap;
}
.section_style .btn:hover {
  box-shadow: none;
  top: 2px;
  color: #fff !important;
  text-decoration: none;
}
.section_style .btn.btn-secondary:hover {
  box-shadow: none;
  top: 2px;
  color: #00a19b !important;
  text-decoration: none;
}
.section_style .section_word {
  max-width: 1000px;
  width: 90%;
  font-size: 24px;
  display: flex;
  flex-direction: row;
  background-color: #FFF7BA;
  padding: 20px 40px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  border-radius: 12px;
}
.section_style .section_word .word {
  margin: 0px 24px 0px 0px;
}
.section_style .section_word .word p {
  margin: 0 auto;
}
.section_style .eventlist {
  width: 100%;
  max-width: 1200px;
  display: flex;
  position: relative;
  margin: 32px auto;
  align-items: flex-start;
  justify-content: center;
  gap: 16px 32px;
  flex-wrap: wrap;
  text-align: center;
}
.section_style .eventlist .event {
  width: 100%;
  max-width: 276px;
  box-sizing: border-box; /* 避免寬度因padding/border超出 */
}
.section_style .eventlist .event .event_img img {
  display: block;
  width: 100%;
}
.section_style .eventlist .event .event_info .event_title {
  font-size: 24px;
  color: #00A19B;
  font-weight: bold;
}
.section_style .eventlist .event .event_info .event_word {
  font-size: 18px;
}
.section_style .notice_word {
  max-width: 1200px;
  width: 90%;
  font-size: 18px;
  margin: 0 auto;
  color: #262626;
  line-height: 1.75;
}
@media (max-width: 600px) {
  .section_style .tabs-container {
    width: 100%;
    margin: 16px auto;
  }
  .section_style .tabs-container .tabs-nav {
    flex-wrap: wrap;
  }
  .section_style .tabs-container .tabs-nav .tab-item {
    padding: 10px 0px;
    margin: 0 auto;
    width: 100px;
    font-size: 16px;
  }
  .section_style .tabs-container .tabs-content .carousel-wrapper {
    display: none;
  }
  .section_style .tabs-container .tabs-content .carousel-wrapper.active {
    display: block;
  }
  .section_style .btn {
    font-size: 18px;
    padding: 10px 20px;
  }
}
@media (max-width: 476px) {
  .section_style {
    padding: 20px 0px;
  }
  .section_style .title {
    font-size: 20px;
  }
  .section_style .carousel-container {
    max-width: 100%;
    margin: 16px auto;
    /* 新增包裹輪播圖片的區塊 */
  }
  .section_style .carousel-container .carousel-slide-wrapper {
    width: 100%; /* 顯示區塊寬度 */
  }
  .section_style .carousel-container .carousel-slide-wrapper .carousel-slide img {
    width: 60%;
    transform: scale(1);
  }
  .section_style .carousel-container .arrow {
    width: 10px;
    height: 16px;
  }
  .section_style .carousel-container .arrow.arrow-left {
    left: 8px;
  }
  .section_style .carousel-container .arrow.arrow-right {
    right: 8px;
  }
  .section_style .section_word {
    font-size: 18px;
    max-width: 1000px;
    display: flex;
    flex-direction: row;
    background-color: #FFF7BA;
    padding: 20px;
  }
  .section_style .section_word .word {
    margin: 0 auto;
  }
  .section_style .eventlist {
    width: 90%;
    margin: 16px auto;
    flex-direction: column;
    align-items: center;
    gap: 16px 0; /* 直排改成垂直間隔 16px，水平間隔為0 */
  }
  .section_style .eventlist .event_img {
    flex: 0 0 auto; /* 固定寬度 */
    width: 100%; /* 佔父容器寬度90%置中 */
  }
  .section_style .eventlist .event_info .event_title {
    font-size: 18px;
  }
  .section_style .eventlist .event_info .event_word {
    font-size: 16px;
  }
  .section_style .notice_word {
    font-size: 16px;
  }
}/*# sourceMappingURL=style.css.map */