img { width: 100%;vertical-align: middle; }

/** ** ** =IE input ** ** */
::-ms-clear, ::-ms-reveal {
  display: none;
}

/** ===================================== 主框和背景 ===================================== **/
main {
	  margin: 0px auto;
	  width: 100%;
	  padding:0;
	  overflow:hidden;
}

main{
  background-image: url('../images/sp240_bg.png'); /* 根據你的路徑調整 */
  background-repeat: repeat;
  background-size: contain;  /* 保持圖片原尺寸重複 */
  background-position: top left;
  background-color: #FFF8EC; /* 建議加上背景底色避免圖片沒載入時太白 */
}
@media (min-width:540px){   
	main {
	  margin: 50px auto;
	  box-sizing: border-box;
	  width: 100%;
	  border: solid #083323 2px;
	  border-radius:16px;
	  overflow:hidden;
	}

}
/** ===================================== 主視覺 ===================================== **/
.slogan {
  width: 100%;
  max-width: 540px; 
  margin: 0 auto;
}
.kv-img {
  width: 100%;
  display: block;
}

/* =========================================功能選項區 ========================================= */
#menu {
  width: 100%;
  max-width: 540px; /* 需與主視覺保持相同最大寬度 */
  margin: 0 auto;   /* 區塊置中 */
  background: linear-gradient(to bottom, #FEF7EC 0%, #FFEFBB 50%,#FFEFBB 100%);
  border-top: 1px solid #083323; 
  border-bottom: 1px solid #083323; 
  display: flex;
  justify-content: space-evenly; /* 讓四個按鈕平均分佈 */
  align-items: center;
  padding: 15px 0; /* 選單上下內距 */
}

#menu a {
  text-decoration: none;
  color: #083323;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 2px;
  
  position: relative !important; 
  display: inline-block !important; 
  padding-bottom: 15px; /* 預留下方空間給倒三角形 */
}

/* 倒三角形箭頭設定 */
#menu a::after {
  content: '';
  position: absolute !important; 
  bottom: 0; 
  left: 50%; 
  transform: translateX(-50%); 
  display: block;
  width: 12px; 
  height: 8px; 
  background: linear-gradient(to bottom, #AAC18C 0%, #203A08 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin: 0;
}


#menu a:hover {
  opacity: 0.8;
}
.button_group{
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    margin: 1.5rem auto 2.5rem auto;
}
.button_group a{
  flex: 0 auto;
  scroll-snap-align: center;
  color: #282828;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: space-around;
  font-size: 16px;
}
/* 在文字下方加箭頭 */
.button_group a::after {
  content: "▼";  /* 或者 "\25BC" 是 Unicode 黑色下三角形 */
  position: absolute;
  top: 2.2rem;/* 調整箭頭與文字距離 */
  font-size: 12px;
  color: #9e928b; /* 可以改成你要的顏色 */
}
@media screen and (min-width: 768px) {
  .button_group a::after {
    top: 2.2rem;
  }
}
@media (max-width: 480px) {
 .button_group a::after {
    top: 1.8rem;
  }
}
.button_group_fixed{
	background: #ffffff;
    width: 100%;
    text-align: center;
    display: flex;
    top: 0;
    position: fixed;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height:40px;
}
.button_group_fixed a{
	display:block;
	width:80px;
  cursor: pointer;
	padding:10px 0;
	color:#333;
} 
.button_group_fixed a:hover{
	border-bottom: 3px solid #007bff;
    padding-bottom: 7px;
	color:#007bff;
}
/* ================================= 版面固定上方MENU ================================= */
#menu_fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 999;
  display: none; 
}
/* 共用樣式 */
.fixed-nav {
  max-width: 540px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #F5EEEB;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.fixed-nav ul {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.fixed-nav ul li {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 10px 0 10px;
}

.fixed-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  display: block;
}

.fixed-nav ul li .arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #8B7B73;
  margin: 6px auto 0;
  display: none;
}

.fixed-nav ul li.active .arrow {
  display: block;
}

/* 桌機版：最大寬度540px、置中 */
@media screen and (min-width: 768px) {
  .fixed-nav {
    display: flex;
    justify-content: center;
  }

  .fixed-nav ul {
    max-width: 540px;
    width: 100%;
  }
}

/* ========================================= 功能選項區 手機版 RWD ========================================= */
@media (max-width: 480px) {
  #menu {
    padding: 10px 0; 
  }
  
  #menu a {
    font-size: 16px;
    padding-bottom: 12px;
  }
  
  #menu a::after {
    width: 10px;
    height: 6px;
  }
}


/* ========================================= 減塑好康 ========================================= */
.benefits_section{
  position: relative;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}
/* =========================減塑好康 RWD ========================= */
@media (max-width: 480px) {
  .benefits_section {
  }
}
/* ========================================= 登錄送 ========================================= */
.eventContent_section_block {
  max-width: 540px; 
  margin: 0 auto; 
  border-radius: 20px;
  overflow: hidden; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
}

.eventContent-main-content {
  width: 100% !important;
  padding: 0 !important;
  position: relative;
}

.eventContent-title-img {
  width: 100%;
}

.eventContent-title-img img {
  width: 100%;
  display: block; 
  height: auto;
}
.eventContent-main-content .eventContent-bebe-img {
  width: 26%;
  position: absolute;
  right: -15px;
  top: -25px;
}

.eventContent-main-content .eventContent-bebe-img img {
  width: 100%;
  display: block; 
  height: auto;
}
.eventContent-main-content-white{
  width: 100%;
  display: block;
  background: #ffffff;
  border-radius: 20px;
}

.eventContent-text {
  font-size: 16px;
  color: #282828;
  line-height: 1.6;
  font-weight: 500;
  padding: 0 25px; 
  margin-bottom: 18px; 
}
.eventContent-text a{
  color: #BF3823;
  text-decoration: underline;
}
.eventContent-text > img {
  width: 20px; 
  height: 20px; 
  margin-right: 1px; 
  margin-top: -2px;
  flex-shrink: 0;
}

.eventContent-reg-btn {
  text-align: center;
}
.eventContent-reg-btn img {
  max-width: 120px;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  margin: 0 auto;
}
.eventContent-reg-btn a:hover img {
  transform: scale(1.05);
}

.eventContent-join-btn {
  text-align: center;
}
.eventContent-join-btn img {
  max-width: 30%;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  margin: 0 auto;
}

.eventContent-join-btn a:hover img {
  transform: scale(1.05);
}
/* ============================================= 手機版 RWD ============================================= */
@media (max-width: 480px) {
  .eventContent-text {
    font-size: 16px; 
    padding: 0 15px; 
  }
  .eventContent-text > img {
    width: 20px;
    height: 20px;
    margin-right: 2px;
    margin-top: -3px;
  }
}
/* ============================================= 循環杯 ============================================= */
.recycle_cup_section {
  width: 100%;
  margin: 0 auto;
  padding: 18px 0 26px;
  box-sizing: border-box;
}
.recycle_cup_title {
  position: relative;
  z-index: 2;
  margin: 0 0 -8px 0;
  text-align: center;
}

.recycle_cup_title img {
  display: inline-block;
  width: min(50%, 420px);
  height: auto;
}
.recycle_cup_block {
  width: 100%;
  background: radial-gradient( circle, #ffffff 0%, #ffffff 50%, rgba(52, 132, 52, 0.05) 100% );
  border-radius: 0 0 24px 24px;
  box-shadow: 3px 3px 10px rgba(52, 132, 52, 0.15);
  box-sizing: border-box;
}
.recycle_cup_content {
  padding: 26px 24px 28px;
  box-sizing: border-box;
}
.recycle_cup_content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.recycle_cup_content ul li {
  position: relative;
  margin: 0 0 18px 0;
  padding-left: 22px;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.recycle_cup_content ul li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5a9b51;
}

/* ========================= 桌機========================= */
@media (min-width: 1200px) {
  .recycle_cup_content {
    padding: 28px 28px 30px;
  }
  .recycle_cup_content ul li {
    font-size: 16px;
    line-height: 1.6;
  }
}
/* ========================= 平板 / 小筆電 ========================= */
@media (max-width: 768px) {
  .recycle_cup_section {
    padding: 16px 0 22px;
  }
  .recycle_cup_content {
    padding: 22px 20px 24px;
  }
  .recycle_cup_content ul li {
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
  }
}
/* ========================= 手機 ========================= */
@media (max-width: 480px) {
  .mainWrap, .campaign-wrapper, .container540 { width: min(540px, calc(100vw - 16px)); }
  .recycle_cup_section {
    padding: 14px 0 20px;
  }

  .recycle_cup_block {
    border-radius: 0 0 20px 20px;
  }

  .recycle_cup_content {
    padding: 18px 16px 22px;
  }

  .recycle_cup_content ul li {
    padding-left: 18px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
  }

  .recycle_cup_content ul li::before {
    top: 9px;
    width: 7px;
    height: 7px;
  }
}
.eventContent-join-btn {
  text-align: center;
  margin-top: 15px; 
}

.eventContent-join-btn img {
  max-width: 120px; 
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.eventContent-join-btn a:hover img {
  transform: scale(1.05);
}

/* ======================================== 手機版 RWD ========================================  */
@media (max-width: 480px) {
  .eventContent-main-content-white {
    padding: 20px 20px 30px 20px;
  }

  .eventContent-text.text-center {
    font-size: 15px;
  }
}
/* ======================================== 自帶杯 ======================================== */
.personal_cup_section {
  width: 100%;
  margin: 0 auto;
  padding: 18px 0 26px;
  box-sizing: border-box;
}

.personal_cup_title {
  position: relative;
  z-index: 2;
  margin: 0 0 -8px 0;
  text-align: center;
}

.personal_cup_title img {
  display: inline-block;
  width: min(50%, 420px);
  height: auto;
}

.personal_cup_block {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 0 24px 24px;
  background: radial-gradient( ellipse at center, #ffffff 0%, #ffffff 58%, rgba(239, 130, 57, 0.03) 100% );
  box-shadow: 3px 3px 10px rgba(232, 139, 52, 0.2);
}

.personal_cup_content {
  padding: 26px 24px 28px;
  box-sizing: border-box;
}

.personal_cup_content ul {
  list-style: none;
  margin: 0;
  padding: 0;
} 
.personal_cup_content ul li {
  position: relative;
  margin: 0 0 18px 0;
  padding-left: 22px;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.personal_cup_content ul li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #EB984B;
}

/* ======================================== 大螢幕 ======================================== */
@media (min-width: 1200px) {
  .personal_cup_content {
    padding: 28px 28px 30px;
  }

  .personal_cup_content ul li {
    font-size: 16px;
    line-height: 1.5;
  }
}
/* ======================================== 平板 / 小筆電 ======================================== */
@media (max-width: 768px) {
  .personal_cup_section {
    padding: 16px 0 22px;
  }

  .personal_cup_title {
    margin-left: 18px;
  }

  .personal_cup_title img {
    max-width: clamp(280px, 76%, 400px);
  }

  .personal_cup_content {
    padding: 22px 20px 24px;
  }

  .personal_cup_content ul li {
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .personal_cup_content ul li::before {
    top: 10px;
    width: 8px;
    height: 8px;
  }
}
/* ======================================== 手機 RWD ======================================== */
@media (max-width: 480px) {
  .personal_cup_section {
    padding: 14px 0 20px;
  }

  .personal_cup_title {
    margin-left: 12px;
  }

  .personal_cup_title img {
    width: min(50%, 420px);
  }

  .personal_cup_block {
    border-radius: 0 0 20px 20px;
  }

  .personal_cup_content {
    padding: 18px 16px 22px;
  }

  .personal_cup_content ul li {
    padding-left: 18px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  .personal_cup_content ul li::before {
    top: 9px;
    width: 7px;
    height: 7px;
  }
}

/* ======================================== 環保袋 ======================================== */
.eco_bag_section {
  width: 100%;
  margin: 0 auto;
  padding: 18px 0 26px;
  box-sizing: border-box;
}

.eco_bag_title {
  position: relative;
  z-index: 2;
  margin: 0 0 -6px 0;
  text-align: center;
}

.eco_bag_title img {
  display: block;
  width: min(50%, 100%);
  height: auto;
  margin: 0 auto;
}

.eco_bag_block {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 0 24px 24px;
  background: radial-gradient( ellipse at center, #ffffff 0%, #ffffff 58%, rgba(68, 141, 177, 0.035) 100% );
  box-shadow: 3px 3px 10px rgba(68, 141, 177, 0.2);
}
.eco_bag_content {
  padding: 26px 24px 28px;
  box-sizing: border-box;
}
.eco_bag_content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.eco_bag_content ul li {
  position: relative;
  margin: 0 0 18px 0;
  padding-left: 22px;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.eco_bag_content ul li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3E99C6;
}

/* ======================================== 大螢幕 ======================================== */
@media (min-width: 1200px) {
  .eco_bag_content {
    padding: 28px 28px 30px;
  }

  .eco_bag_content ul li {
    font-size: 16px;
    line-height: 1.5;
  }
}
/* ======================================== 平板 / 小筆電 ======================================== */
@media (max-width: 768px) {
  .eco_bag_section {
    padding: 16px 0 22px;
  }

  .eco_bag_title img {
    width: min(62%, 100%);
  }

  .eco_bag_content {
    padding: 22px 20px 24px;
  }

  .eco_bag_content ul li {
    padding-left: 20px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.5;
  }

  .eco_bag_content ul li::before {
    top: 10px;
    width: 8px;
    height: 8px;
  }
}
/* ======================================== 手機 RWD ======================================== */
@media (max-width: 480px) {
  .eco_bag_section {
    padding: 14px 0 20px;
  }

  .eco_bag_title img {
    width: min(50%, 420px);
  }

  .eco_bag_block {
    border-radius: 0 0 20px 20px;
  }

  .eco_bag_content {
    padding: 18px 16px 22px;
  }

  .eco_bag_content ul li {
    padding-left: 18px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.5;
  }

  .eco_bag_content ul li::before {
    top: 9px;
    width: 7px;
    height: 7px;
  }
}
/* ======================================== 集集樂回饋 ======================================== */
.reward_section {
  width: 100%;
  margin: 0 auto;
  padding: 18px 0 12px;
  box-sizing: border-box;
}
.reward_title {
  text-align: center;
  margin-bottom: 18px;
}

.reward_title img {
  display: block;
  width: 330px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.reward_block {
  width: 100%;
  box-sizing: border-box;
}

.reward_content {
  padding: 0 18px;
  text-align: left;
  box-sizing: border-box;
}

.reward_content p {
  margin: 0;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ========================= 表格區 ========================= */
.reward-table {
  width: 100%;
  margin: 20px auto 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}
.reward-table thead th {
  background: #C75021;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  padding: 10px 0px;
  border-right: 1px solid rgba(255, 255, 255, 0.9);
}

.reward-table thead th:first-child {
  border-top-left-radius: 18px;
}

.reward-table thead th:last-child {
  border-top-right-radius: 18px;
  border-right: none;
}
.reward-table tbody td {
  color: #282828;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  padding: 10px 0px;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}
.reward-table tbody tr:nth-child(odd) td {
  background: #C750210D ;
}
.reward-table tbody tr:nth-child(even) td {
  background: #ffffff;
}
.reward-table tbody td:last-child {
  border-right: none;
}
.reward-table tbody tr:not(:last-child) td {
  border-bottom: 1px dashed #C750214D;
}
.reward-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 18px;
}
.reward-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 18px;
}
/* ========================= 平板 ========================= */
@media (max-width: 768px) {
  .reward_title img {
    width: 210px;
  }

  .reward_content {
    padding: 0 14px;
  }

  .reward_content p {
    font-size: 16px;
    line-height: 1.6;
  }
}
/* ========================= 手機 ========================= */
@media (max-width: 480px) {
  .reward_section {
    padding: 14px 0 10px;
  }

  .reward_title {
    margin-bottom: 14px;
  }

  .reward_title img {
    width: min(70%, 420px);
  }

  .reward_content {
    padding: 0 10px;
  }

  .reward_content p {
    font-size: 16px;
    line-height: 1.6;
  }
}
/* ========================= 挑戰任務 ========================= */
.monthly_challenge_section {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.monthly_challenge-block {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  box-sizing: border-box;
}
.monthly_challenge_title {
  position: relative;
  z-index: 2;
}
.monthly_challenge_title img {
  display: block;
  width: 100%;
  height: auto;
}
.monthly_challenge-content {
  position: relative;
  padding: 26px 22px 0;
  padding-bottom: 100px;
  box-sizing: border-box;
  background: #ffffff;
}
.monthly_challenge-text {
  position: relative;
  padding-left: 22px;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.2px;
  word-break: break-word;
}
.monthly_challenge-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #282828;
}
.challenge_deco_img {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  margin-top: 0;
  line-height: 0;
}
.challenge_deco_img img {
  display: block;
  width: min(92%, 520px);
  height: auto;
  margin: 0 auto;
}

/* ========================= 平板 ========================= */
@media (max-width: 768px) {
  .monthly_challenge-content {
    padding: 22px 18px 0;
    padding-bottom: 170px;
  }

  .monthly_challenge-text {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 20px;
  }

  .monthly_challenge-text::before {
    width: 9px;
    height: 9px;
  }


}

/* ========================= 手機 ========================= */
@media (max-width: 480px) {
  .monthly_challenge_section {
    padding: 0;
  }

  .monthly_challenge-block {
    border-radius: 18px;
  }

  .monthly_challenge-content {
    padding: 20px 30px 0;
    padding-bottom: 110px;
  }

  .monthly_challenge-text {
    padding-left: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .monthly_challenge-text::before {
    width: 8px;
    height: 8px;
  }

  .challenge_deco_img img {
    width: min(96%, 420px);
  }
}
/* ========================= 減塑攻略 ========================= */
.reduce_plastic_section{
  position: relative;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}
/*活動步驟按鈕*/
.how-to-use-slider-tab-group {
  display: flex;
  justify-content: space-between;
  width: 96%;
  margin: 0 auto;
  gap: 10px;
  position: relative;
}
.tab {
    height: 90px;
    text-align: center;
    display: flex;
    border: 2px solid #282828;
    border-radius: 12px;
    padding: 0px;
    flex: 1;
    background-color: #fff;
    position: relative;
    transition: background-color 0.3s;
    font-weight: 500;
    font-size: 16px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.arrow-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -28px; /* 把箭頭放在 .tab 外面 */
  display: none;
}

.arrow-svg {
  width: 30px;
  height: 18px;
}

.arrow-svg path {
  stroke: #282828;
  stroke-width: 2;
  fill: transparent;
}

/* 顏色變化 */
.tab-red.active { background-color: #FFD3C3; }
.tab-yellow.active { background-color: #FFF0A4; }
.tab-green.active { background-color: #D4FACC; }
.tab-blue.active { background-color: #D2EFFF; }

/* 顯示被選取的箭頭並上色 */
.tab-red.active .arrow-wrap { display: block; }
.tab-red.active .arrow-svg path { fill: #FFD3C3; }
.tab-yellow.active .arrow-wrap { display: block; }
.tab-yellow.active .arrow-svg path { fill: #FFF0A4; }
.tab-green.active .arrow-wrap { display: block; }
.tab-green.active .arrow-svg path { fill: #D4FACC; }
.tab-blue.active .arrow-wrap { display: block; }
.tab-blue.active .arrow-svg path { fill: #D2EFFF; }
.slider-images {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.slider-images img {
  width: 100%;
  flex-shrink: 0;
}

/* =========================減塑好康 RWD ========================= */
@media (max-width: 480px) {
  .reduce_plastic_section {
  
  }
  .how-to-use-slider-tab-btn {
    font-size: 16px;
    padding: 12px;
  }
}

/* ========================= 注意事項收合區塊 ========================= */
.notice_fold_section {
  position: relative;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}
.notice_fold_tag_block {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0 auto -15px;
  text-align: center;
}
.notice_fold_title {
  width: 100%;
  text-align: center;
}
.notice_fold_title img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto;
}
.notice_fold_card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  box-sizing: border-box;
  padding: 40px 0 30px;
}
.notice_fold_inner {
  width: 82%;
  margin: 0 auto;
  box-sizing: border-box;
}

.notice_fold_wrapper {
  width: 100%;
  box-sizing: border-box;
}
.notice_fold_content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.notice_fold_content.is-collapsed {
  max-height: 200px;
}
.notice_fold_content.is-expanded {
  max-height: 4000px;
}
.notice_fold_content.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient( to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 55%, #ffffff 100% );
  pointer-events: none;
}
.notice_fold_list {
  margin: 0;
  padding-left: 1.6em;
  list-style-type: decimal;
  color: #333333;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.notice_fold_list > li {
  margin-bottom: 18px;
}

.notice_fold_list > li:last-child {
  margin-bottom: 0;
}

.notice_fold_list > li::marker {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
}

/* 第二層 ul */
.notice_fold_list > li > ul {
  margin: 8px 0 0 0;
  padding-left: 1.5em;
  list-style-type: decimal;
}

/* 第二層 li */
.notice_fold_list > li > ul > li {
  margin-bottom: 10px;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

/* 第二層改成 (1) (2) (3) */
.notice_fold_list > li > ul > li::marker {
  content: "(" counter(list-item) ") ";
  font-size: 16px;
  font-weight: 500;
  color: #282828;
}

/* 若之後還有第三層 */
.notice_fold_list > li > ul > li > ul {
  margin: 8px 0 0 0;
  padding-left: 1.8em;
  list-style-type: upper-alpha;
}

.notice_fold_list > li > ul > li > ul > li {
  margin-bottom: 8px;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.notice_fold_list > li > ul > li > ul > li::marker {
  font-size: 16px;
  font-weight: 500;
  color: #282828;
}
ul.notice_fold_list li a{
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  text-decoration: underline;
}
.notice_fold_toggle_btn {
  display: block;
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #63BD96;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  cursor: pointer;
}
.notice_fold_toggle_btn:hover {
  opacity: 0.85;
}
/* ========================= 平板 ========================= */
@media (max-width: 768px) {
  .notice_fold_tag_block {
    margin-bottom: -30px;
  }

  .notice_fold_card {
    border-radius: 24px;
    padding: 74px 0 28px;
  }

  .notice_fold_inner {
    width: 86%;
  }

  .notice_fold_content.is-collapsed {
    max-height: 200px;
  }
}
/* ========================= 手機 ========================= */
@media (max-width: 480px) {
  .notice_fold_section {
  }

  .notice_fold_tag_block {
    margin-bottom: -15px;
  }

  .notice_fold_card {
    border-radius: 22px;
    padding: 30px 0 24px;
  }

  .notice_fold_inner {
    width: 90%;
  }

  .notice_fold_content.is-collapsed {
    max-height: 200px;
  }

  .notice_fold_list li {
    padding-left: 0;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.6;
  }

  .notice_fold_list li::before {
    font-size: 15px;
    line-height: 1.6;
  }

  .notice_fold_toggle_btn {
    margin-top: 18px;
    font-size: 15px;
  }
}
/* ========================= FAQ 收合區塊 ========================= */
.faq_fold_section {
  position: relative;
  width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}
.faq_fold_tag_block {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0 auto -15px;
  text-align: center;
}

.faq_fold_title {
  width: 100%;
  text-align: center;
}

.faq_fold_title img {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  margin: 0 auto;
}
.faq_fold_card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #ffffff;
  border-radius: 28px;
  box-sizing: border-box;
  padding: 40px 0 30px;
}
.faq_fold_inner {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.faq_fold_wrapper {
  width: 100%;
  box-sizing: border-box;
}
.faq_fold_content {
  position: relative;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq_fold_content.is-collapsed {
  max-height: 300px;
}
.faq_fold_content.is-expanded {
  max-height: 4000px;
}

.faq_fold_content.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient( to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 55%, #ffffff 100% );
  pointer-events: none;
}
.faq_fold_qa {
  width: 82%;
  margin: 0 auto;
  padding: 0 0 6px;
}
.faq_fold_row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-bottom: 10px;
}
.faq_fold_badge {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}
.faq_fold_badge--q {
  background: #519FEB;
  color: #ffffff;
}

.faq_fold_badge--a {
  background: #9E9E9E;
  color: #ffffff;
}
.faq_fold_text {
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.2px;
  word-break: break-word;
}

.faq_fold_text--q {
  color: #519FEB;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
}

.faq_fold_text--a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
.faq_fold_text--a .plus-text{
  font-size: 16px;
  font-weight: 400;
  color: rgba(40, 40, 40, 0.75);
  line-height: 1.6;
  margin: 1rem 0 0 0;
  display: block;
}
.faq_fold_text--a ul{
  margin: 10px 0 0 0;
  padding-left: 1.6em;
  list-style-type: decimal;
  color: #282828;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}
.faq_fold_text--a a{
  color: #519FEB;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: underline;
}
.faq_fold_toggle_btn {
  display: block;
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #519FEB;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  cursor: pointer;
}

.faq_fold_toggle_btn:hover {
  opacity: 0.85;
}
.dashed-line {
  border-top: 2px dashed rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 0;
  margin: 20px 0 35px 0;
}

.moreFaqContent-btn {
  text-align: center;
  margin: 1rem auto;
}
.moreFaqContent-btn img {
  max-width: 30%;
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  margin: 0 auto;
}

.moreFaqContent-btn a:hover img {
  transform: scale(1.05);
}
/* ========================= 平板 ========================= */
@media (max-width: 768px) {
  .faq_fold_tag_block {
    margin-bottom: -15px;
  }

  .faq_fold_card {
    border-radius: 24px;
    padding: 46px 0 28px;
  }

  .faq_fold_inner {
    width: 100%;
  }

  .faq_fold_content.is-collapsed {
    max-height: 200px;
  }

  .faq_fold_badge {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .faq_fold_text--q {
    font-size: 16px;
  }

  .faq_fold_text--a {
    font-size: 16px;
  }
}

/* ========================= 手機 ========================= */
@media (max-width: 480px) {
  .faq_fold_section {
  }

  .faq_fold_tag_block {
    margin-bottom: -15px;
  }

  .faq_fold_card {
    border-radius: 22px;
    padding: 30px 0 24px;
  }

  .faq_fold_inner {
    width: 100%;
  }

  .faq_fold_content.is-collapsed {
    max-height: 200px;
  }

  .faq_fold_row {
    gap: 5px;
  }

  .faq_fold_badge {
    width: 25px;
    height: 25px;
    font-size: 16px;
  }

  .faq_fold_text {
    font-size: 16px;
  }

  .faq_fold_text--q {
    font-size: 16px;
  }

  .faq_fold_text--a {
    font-size: 16px;
  }

  .faq_fold_toggle_btn {
    font-size: 16px;
  }
}
/* ========================= 活動條款區塊 ========================= */
.terms_section {
  width: 100%;
  background-color: #D1E4C2;
  padding: 15px 0;
}

.terms_content {
  width: 100%;
  text-align: center;
}

.terms_text a {
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  color: #282828;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .terms_section {
    padding: 13px 0;
  }

  .terms_text a {
    font-size: 16px;
    text-underline-offset: 3px;
  }
}
/* =========================FOOTER ========================= */
.footer_section{
  position: relative;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.footer_content {
  position: relative;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

/* 角色圖：置中、貼近底邊 */
.footer_logo {
  position: relative;
  width: 100%;             
  display: flex;
  align-items: flex-end;           
  justify-content: center;
}

.footer_logo img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 auto -1px;             /* ✅ 讓角色更貼近灰色底（微微壓下去） */
}





 .slider-container {
      width: 100%;
      max-width: 495px; 
      margin: auto;
      overflow: hidden;
      border-radius: 16px;
      position: relative;
    }



@media screen and (max-width: 767px) {
  .tab-button {
    height: 80px;
    display: flex;
    align-items: center;
  }
  .slider-container {
      width: 100%;
      max-width: 395px;
      margin: auto;
      overflow: hidden;
      border-radius: 16px;
      position: relative;
    }
  
    
}
/* ======================================= TOP回到頂端按鈕 ======================================= */
#gotop {
  position:fixed;
  display:none;
  z-index:9999;
  right:2%;
  bottom:5%;
  width:50px;
  height:50px;
  transition:all 0.5s;
  text-align: center;
}
#gotop img{
  width: 75%;
  transform: translateY(5px);
}
#gotop :hover{
  background:#10935e;
}