/* 隱藏區域 */
.hidden {
  display: none;
}

.link {
  color: #4c4c4c;
  text-decoration: underline;
}

/*hero區*/
.logo {
  display: block;
}

.carousel-item {
  height: 100vh;
}
.carousel-content {
  height: 100%;
}

.carousel-control-prev {
  width: 5% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-next {
  width: 5% !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero01 {
  background-image: url("images/hero_bg01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero02 {
  background-image: url("images/hero_bg02-n.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero03 {
  background-image: url("images/hero_bg03.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .hero01 {
    background-image: url("images/hero_bg01_sm.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero02 {
    background-image: url("images/hero_bg02-n_sm.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }

  .hero03 {
    background-image: url("images/hero_bg03_sm.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

/*點點樣式設定*/
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #dbdbdb;
  margin: 0 6px;
  opacity: 1;
  transition: background-color 0.3s;
  border: none;
}

.carousel-indicators .active {
  background-color: #4719a2; /* 這是選中的顏色 */
}

/* 按鈕樣式 */
.hero_capsule-button {
  width: auto;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  text-align: center;
  font-family: "Noto Sans TC", sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  background-color: #270089; /* 設定背景顏色 */
  color: white; /* 設定文字顏色 */
  text-decoration: none; /* 去除文字裝飾 */
  border: none;
  border-radius: 50px; /* 設定圓角 */
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* 加入過渡效果 */
}
@media (max-width: 768px) {
  .hero_capsule-button {
    width: 100%;
    display: flex; /* 使用 flex 排版 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
  }
}

/* 按鈕內文字間距 */
.hero_capsule-button span {
  margin-right: 10px;
}

/* 滑鼠懸停時的效果 */
.hero_capsule-button:hover {
  background-color: #4111b8; /* 改變背景顏色 */
  color: #fff; /* 改變文字顏色 */
}

/* SVG 圖標 */
.hero_capsule-button img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease; /* 加入過渡效果 */
}

/* 滑鼠懸停時圖標的位移效果 */
.hero_capsule-button:hover img {
  transform: translateX(5px); /* 右移5px */
}

/* 基本設定 */
* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #2c283d;
}

section {
  min-height: auto;
}

/* 啟用平滑滾動 */
html {
  scroll-behavior: smooth;
}

/* 容器設定 */
.container {
  position: relative;
  max-width: 1200px; /* 設定最大寬度為1200px */
  margin: 0 auto; /* 自動水平居中 */
  padding: 0 20px; /* 設定左右內邊距 */
  z-index: 1;
}

/* 標題上方圖片樣式 */
.title-pattern-image {
  width: 5rem;
  height: auto;
}

@media (max-width: 768px) {
  .title-pattern-image {
    height: 3rem;
  }
}

/* 標題下方圖片線條樣式 */
.title-pattern-image-line {
  width: 20rem;
  height: auto;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .title-pattern-image-line {
    height: 0.3rem;
  }
}

.s02_title_img {
  width: auto;
  margin: 24px 0;
}

@media (max-width: 768px) {
  .s02_title_img {
    width: 100%;
  }
}

/* 標題圖片樣式 */
.title-image {
  width: auto;
  height: 3rem;
  margin: 15px 0;
}
@media (max-width: 768px) {
  .title-image {
    height: 2rem;
    margin: 5px 0;
  }
}

/* 副標題圖片 */
.subtitle-image {
  width: auto;
  height: 1.5rem;
}
@media (max-width: 768px) {
  .subtitle-image {
    height: 1.3rem;
  }
}

h4,
h5 {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
}

h5 {
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  h4,
  h5 {
    font-size: 1.1rem !important;
  }

  .s01_abstract h4,
  .s02_abstract h4,
  .s03_abstract h4,
  .s04_abstract h4 {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin: 0 0 8px 0 !important;
  }
}

p {
  padding: 0;
  margin: 0;
  color: #4c4c4c;
}

/* 段落文字 */
.p-text {
  font-family: "Noto Sans TC", sans-serif;
  color: #4c4c4c;
  font-size: 1.12rem;
  line-height: 1.5;
  text-align: justify;
}
@media (max-width: 768px) {
  .p-text {
    font-size: 1rem;
  }
}

/* 自定義滾動條 */
div::-webkit-scrollbar {
  width: 6px;
}
/* 滾動條軌道 */
div::-webkit-scrollbar-track {
  background: #d1d1d1;
  border-radius: 2px;
}
/* 滾動條滑塊 */
div::-webkit-scrollbar-thumb {
  background: #6f42c1;
  width: 18px;
  border-radius: 10px;
}
div::-webkit-scrollbar-thumb:hover {
  background: #4719a2;
}

/* 胶囊按鈕樣式 */
.capsule-button {
  font-family: "Noto Sans TC", sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #4719a2; /* 設定背景顏色 */
  color: white; /* 設定文字顏色 */
  text-decoration: none; /* 去除文字裝飾 */
  border: none;
  border-radius: 50px; /* 設定圓角 */
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* 加入過渡效果 */
}
@media (max-width: 768px) {
  .capsule-button {
    width: 100%;
    display: flex; /* 使用 flex 排版 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
  }
}

/* 按鈕內文字間距 */
.capsule-button span {
  margin-right: 10px;
}

/* 滑鼠懸停時的效果 */
.capsule-button:hover {
  background-color: #6f42c1; /* 改變背景顏色 */
  color: #fff; /* 改變文字顏色 */
}

/* SVG 圖標 */
.capsule-button img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease; /* 加入過渡效果 */
}

/* 滑鼠懸停時圖標的位移效果 */
.capsule-button:hover img {
  transform: translateX(5px); /* 右移5px */
}

/* 自定義導航欄 */
.custom-navbar {
  background-color: #ffffff;
  padding: 10px 0;
  display: flex;
  align-items: flex-end;
}

/*nav bar設定*/
.nav-large {
  padding: 16px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.nav-s {
  padding: 16px 0 16px 0px;
  display: none;
}

.navbar .container {
  display: flex;
  align-items: flex-end; /* 這樣左右兩側底部對齊 */
  justify-content: space-between;
}

.nav_link {
  display: flex;
  gap: 5px;
  align-items: center;
}

.navbar-brand {
  padding: 0;
}

.nav_link img {
  height: 15px;
  display: block;
}

.nav_link a {
  line-height: 1;
}

.nav_link a:hover {
  color: #9157a4;
}

.navbar-logo {
  height: 24px;
  width: auto;
  display: block;
}

@media (max-width: 1200px) {
  .nav-large {
    display: none;
  }

  .nav-s {
    display: block;
  }
}

.navbar-nav .nav-link {
  color: #251f3f;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

/* 漢堡菜單設定 */

.navbar-toggler {
  border: 0px;
}

.custom-toggler {
  padding: 0 !important;
}

.navbar-toggler:focus {
  outline: none; /* 移除焦點邊框 */
  color: #4719a2;
}

/* 固定位置的導航菜單 */
.navbar-collapse {
  position: fixed; /* 設置為固定位置 */
  top: 0;
  right: 0;
  height: 100%; /* 高度為100% */
  background-color: #fff; /* 設置背景顏色 */
  z-index: 1050; /* 設置層級 */
  width: 100%; /* 設置寬度 */
  padding: 30px;
  transform: translateX(100%); /* 初始隱藏 */
  transition: transform 0.3s ease-out; /*  加入過渡效果 */
}

.navbar-collapse.show {
  transform: translateX(0); /* 顯示菜單 */
}

@media (min-width: 768px) {
  .navbar-collapse {
    width: 50%; /* 設置寬度50% */
  }
}

/* 垂直排列的導航列 */
.navbar-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* 左對齊 */
  padding: 20px;
  height: 100%; /* 高度 */
}

/* 單個導航鏈接 */
.nav-link {
  color: #fff;
  font-size: 18px;
  padding: 10px 0;
  text-align: right; /* 右對齊 */
}

/* 關閉按鈕 */
.close-btn {
  position: absolute;
  top: 20px;
  right: 15px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1060;
}

.close-icon {
  width: 30px;
  height: 30px;
}

/* 動畫效果 */
@keyframes slideInRight {
  from {
    transform: translateX(100%); /* 初始位置 */
  }
  to {
    transform: translateX(0); /* 移動到最終位置 */
  }
}

.decor-left-nav {
  position: absolute;
  width: 40%;
  top: 0;
  left: 0;
}

.decor-right-nav {
  position: absolute;
  width: 40%;
  bottom: 0;
  right: 0;
}

/* 事件背景 */
#event-20th {
  margin-top: -50vh;
  background-color: transparent;
}
@media (max-width: 768px) {
  #event-20th {
    margin-top: 0px;
    padding-top: 100px;
    padding-bottom: 50px;
  }
}

/* 背景裝飾 */
.decor-left {
  position: absolute;
  top: 20%;
  left: 0;
  width: 20%;
  height: auto;
  z-index: 0;
}

.decor-right {
  position: absolute;
  top: 20%;
  right: 0;
  width: 20%;
  height: auto;
  z-index: 0;
}

.decor-right-end {
  position: absolute;
  bottom: 0%;
  right: 0;
  width: 10%;
  height: auto;
  z-index: 0;
}

@media (max-width: 768px) {
  .decor-left {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30%;
    height: auto;
  }
  .decor-right {
    position: absolute;
    top: 0%;
    right: 0;
    width: 30%;
    height: auto;
    z-index: 0;
  }
  .decor-right-end {
    position: absolute;
    bottom: 0%;
    right: 0;
    width: 15%;
    height: auto;
  }
}

/* 主頁區域 */
.top-section {
  z-index: 1;
}

/* 中間區域 */
.middle-section {
  margin-top: 0;
}
@media (max-width: 768px) {
  .middle-section {
    gap: 20px;
  }
}

/* Tab樣式 */
.nav-tabs .nav-link {
  border-radius: 50px; /* 圓角 */
  background-color: #fff; /* 背景色 */
  color: #4719a2; /* 文字顏色 */
  border: 2px solid #4719a2; /* 邊框顏色 */
  padding: 10px 20px; /* 內邊距 */
  transition: background-color 0.3s, color 0.3s; /* 變化效果 */
}

/* �訾葉 */
.nav-tabs .nav-link.active {
  background-color: #4719a2; /* �劐葉�𠶖�����峕艶憸𡏭𠧧 */
  color: #fff; /* �劐葉�𠶖��������烾�𡏭𠧧 */
  border-color: #4719a2; /* �劐葉�𠶖��銝讠�颲寞�憸𡏭𠧧 */
}

/* 活躍Tab */
.nav-tabs .nav-link:hover {
  background-color: #4719a2; /* 背景色 */
  color: #fff; /* 白色文字 */
  border-color: #4719a2; /* 邊框色 */
}

.nav-tabs {
  display: flex;
  gap: 15px; /* 間隔15px */
  border-bottom: none !important; /* 取消底部邊框 */
}

/* 右側裝飾 - 行動版 */

@media (max-width: 768px) {
  .bank-point-section-d {
    gap: 30px;
  }
}

.cover-image {
  width: 100%;
  height: auto;
}

.logo-image {
  max-width: 100%;
  height: auto;
}

/* 設定 col-md-2.5 的寬度 */
.col-md-2-5 {
  flex: 0 0 20%; /* 設定寬度 */
  max-width: 20%;
}

/* s01_快樂永續行動設定 開始*/
.s01 {
  background-color: #efefef;
}

.s01 h5 {
  color: #326131;
}

.s01_abstract h4,
.s02_abstract h4,
.s03_abstract h4,
.s04_abstract h4 {
  line-height: 1 !important;
  margin: 0 0 13px 0 !important;
}

/* 手機版設定 */
@media (max-width: 768px) {
  .s01_abstract h4,
  .s02_abstract h4,
  .s03_abstract h4,
  .s04_abstract h4 {
    line-height: 1.5 !important; /* 手機版使用 1.5 */
    margin: 0 0 8px 0 !important;
    font-size: 1rem !important;
  }
}

.s01-div {
  padding-top: 50px;
  padding-bottom: 80px;
}

.s01_title {
  padding-top: 80px;
}

@media (max-width: 768px) {
  .s01_title {
    padding: 40px 0px;
  }
}

.s01_abstract {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.s01_abstract_bg {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url("images/s01_abstract_bg.png");
  background-repeat: repeat-x;
  background-size: auto;
}

.s01_abstract-l {
  height: 100%;
}

.s01-bg-title {
  position: relative;
  width: 100%;
}

.s01-bg-title-tree01 {
  position: absolute;
  top: 0;
  left: 2%;
  height: 80%;
}

.s01-bg-title-tree02 {
  position: absolute;
  bottom: 40%;
  right: 2%;
  height: 80%;
}

@media (max-width: 768px) {
  .s01-bg-title-tree01 {
    position: absolute;
    height: 200%;
    top: 0;
    left: 2%;
  }

  .s01-bg-title-tree02 {
    position: absolute;
    height: 200%;
    bottom: 20%;
    right: 2%;
  }
}

/* 按鈕樣式 */
.s01_capsule-button {
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  text-align: center;
  font-family: "Noto Sans TC", sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #38a934; /* 設定背景顏色 */
  color: white; /* 設定文字顏色 */
  text-decoration: none; /* 去除文字裝飾 */
  border: none;
  border-radius: 50px; /* 設定圓角 */
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* 加入過渡效果 */
}
@media (max-width: 768px) {
  .s01_capsule-button {
    width: 100%;
    display: flex; /* 使用 flex 排版 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
  }
}

/* 按鈕內文字間距 */
.s01_capsule-button span {
  margin-right: 10px;
}

/* 滑鼠懸停時的效果 */
.s01_capsule-button:hover {
  background-color: #21741e; /* 改變背景顏色 */
  color: #fff; /* 改變文字顏色 */
}

/* SVG 圖標 */
.s01_capsule-button img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease; /* 加入過渡效果 */
}

/* 滑鼠懸停時圖標的位移效果 */
.s01_capsule-button:hover img {
  transform: translateX(5px); /* 右移5px */
}

/*快樂永續行動 三欄式卡片設定*/
.card {
  border: 1px solid #d4d4d4;
  border-radius: 32px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/*快樂永續行動 禮物資訊區*/
.s01_part2 {
  color: #326131;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.s01_part2 img {
  width: 20%;
  height: auto;
}

@media (max-width: 768px) {
  .s01_part2 img {
    width: 40%;
    height: auto;
  }
}

/*快樂永續行動 福森號*/
.s01_part3 {
  background-color: #fff;
  display: flex;
  flex-wrap: wrap; /* 在小螢幕上允許換行 */
  border-radius: 32px;
}

.image-column {
  flex: 4; /* 設定比例為 4 */
  min-width: 300px; /* 設定最小寬度，避免太窄 */
}

.text-column {
  flex: 6; /* 設定比例為 6 */
  min-width: 300px; /* 設定最小寬度，避免太窄 */
  padding: 20px;
}

.image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 5px;
  border-radius: 32px 0 0 32px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 確保圖片填滿容器且不變形 */
  display: block;
}

.text-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s01_part3 {
    flex-direction: column;
  }

  .image-column,
  .text-column {
    flex: 1 0 100%; /* 在小螢幕上佔滿整行 */
    text-align: center;
  }

  .image-container {
    height: 300px; /* 設定固定高度在手機版上 */
    border-radius: 32px 32px 0 0;
  }
}

/*------------母親節特別活動-------------*/

.s02_decot-center {
  position: absolute;
  right: 0;
  bottom: 50%;
  z-index: -2;
  height: 16%;
}

.s02_decot-bottom {
  position: absolute;
  bottom: 0;
  left: 10%;
  z-index: -2;
}

.s02_title {
  position: relative;
  padding: 80px 0 0 0;
}

.s02_decot-r {
  position: absolute;
  right: 0;
  bottom: 10rem;
  height: 70%;
}

.s02_decot-l {
  position: absolute;
  top: 280px;
  left: 2rem;
  height: 70%;
  z-index: -2;
}

@media (max-width: 768px) {
  .s02_decot-r {
    position: absolute;
    right: 0;
    bottom: 10rem;
    height: 60%;
  }

  .s02_decot-l {
    display: none;
  }

  .s02_decot-center {
    display: none;
  }

  .s02_decot-bottom {
    display: none;
  }
}

.s02 {
  padding: 40px 0 0px;
  position: relative;
}

.s02_content {
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 768px) {
  .s02_content {
    padding: 20px;
  }
}

.s02_abstract {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.s02_abstract_bg {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url("images/s02_abstract_bg.png");
  background-repeat: repeat-x;
  background-size: auto;
}

.s02_abstract-l {
  height: 100%;
}

.s02_part1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #af3b75;
  gap: 20px;
}

.s02_part1 img {
  width: 30%;
}

@media (max-width: 768px) {
  .s02_part1 img {
    width: 50%;
  }
}

/* 母親節特別計畫 part2-------------------*/
.s02_part2 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  color: #af3b75;
  align-items: flex-start;
  gap: 20px;
}

.s02_part2 .image-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.s02_part2 .image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 使用contain保持圖片比例並完整顯示 */
}

.s02_part2 .text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s02_part2 .text-content {
  flex: 1;
  justify-content: center;
}

.s02_part2 .bottom-image-container {
  width: 100%;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s02_part2 .bottom-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 同樣保持圖片比例並完整顯示 */
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s02_part2 {
    flex-direction: column;
    text-align: center;
  }

  .s02_part3 {
    text-align: center;
  }

  .s02_part2 image-section,
  .text-section {
    flex: 100%;
  }

  .s02_part2 image-section {
    min-height: 300px;
  }

  .s02_part2 bottom-image-container {
    height: 150px;
  }

  .s02_part2 .text-section {
    flex-direction: column;
  }
}

/* 母親節特別計畫 part3-------------------*/
.s02_part3 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  color: #af3b75;
  align-items: flex-start;
  gap: 20px;
  flex-direction: row-reverse;
}

.s02_part3 .image-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.s02_part3 .image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 使用contain保持圖片比例並完整顯示 */
}

.s02_part3 .text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s02_part3 .text-content {
  flex: 1;
  justify-content: center;
}

.s02_part3 .bottom-image-container {
  width: 100%;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s02_part3 .bottom-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 同樣保持圖片比例並完整顯示 */
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s02_part3 {
    flex-direction: column;
  }

  .s02_part3 image-section,
  .text-section {
    flex: 100%;
  }

  .s02_part3 image-section {
    min-height: 300px;
  }

  .s02_part3 bottom-image-container {
    height: 150px;
  }

  .s02_part3 .text-section {
    flex-direction: column;
  }
}

/* 母親節特別計畫 part4-------------------*/
.s02_part4 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  color: #af3b75;
  align-items: center;
  gap: 20px;
}

.s02_part4 .image-section {
  flex: 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s02_part4 .image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 使用contain保持圖片比例並完整顯示 */
}

.s02_part4 .text-section {
  flex: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.s02_part4 img {
  width: 50%;
}

.s02_part4 .text-content {
  flex: 1;
  justify-content: center;
}

.s02_part4 .bottom-image-container {
  width: 100%;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s02_part4 .bottom-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 同樣保持圖片比例並完整顯示 */
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s02_part4 {
    flex-direction: column;
  }

  .s02_part4 image-section,
  .text-section {
    flex: 100%;
  }

  .s02_part4 image-section {
    min-height: 300px;
  }

  .s02_part4 bottom-image-container {
    height: 150px;
  }

  .s02_part4 .text-section {
    flex-direction: column;
  }
}

/* 按鈕樣式 */
.s02_capsule-button {
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  text-align: center;
  font-family: "Noto Sans TC", sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #ef449a; /* 設定背景顏色 */
  color: white; /* 設定文字顏色 */
  text-decoration: none; /* 去除文字裝飾 */
  border: none;
  border-radius: 50px; /* 設定圓角 */
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* 加入過渡效果 */
}
@media (max-width: 768px) {
  .s02_capsule-button {
    width: 100%;
    display: flex; /* 使用 flex 排版 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
  }
}

/* 按鈕內文字間距 */
.s02_capsule-button span {
  margin-right: 10px;
}

/* 滑鼠懸停時的效果 */
.s02_capsule-button:hover {
  background-color: #981255; /* 改變背景顏色 */
  color: #fff; /* 改變文字顏色 */
}

/* SVG 圖標 */
.s02_capsule-button img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease; /* 加入過渡效果 */
}

/* 滑鼠懸停時圖標的位移效果 */
.s02_capsule-button:hover img {
  transform: translateX(5px); /* 右移5px */
}

/*--------------心動小故事--------------*/
.s03_decot-center {
  position: absolute;
  right: 0;
  bottom: 50%;
  z-index: -2;
  height: 10%;
}

.s03_decot-bottom {
  position: absolute;
  bottom: 20px;
  left: 5%;
  z-index: -2;
  height: 10%;
}

.s03_title {
  position: relative;
  padding: 80px 0 0 0;
}

.s03_decot-r {
  position: absolute;
  right: 0;
  bottom: 10rem;
  height: 70%;
}

.s03_decot-l {
  position: absolute;
  top: 280px;
  left: 2rem;
  height: 50%;
  z-index: -2;
}

@media (max-width: 768px) {
  .s03_decot-r {
    position: absolute;
    right: 0;
    bottom: 10rem;
    height: 60%;
  }

  .s03_decot-l {
    display: none;
  }

  .s03_decot-center {
    display: none;
  }

  .s03_decot-bottom {
    display: none;
  }
}

.s03 {
  padding: 80px 0;
  position: relative;
}

.s03_content {
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 768px) {
  .s03_content {
    padding: 20px;
  }
}

.s03_part1_img {
  overflow: hidden;
  border-radius: 24px;
}

.s03_part1_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.s03_part3_text {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.s03_abstract {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.s03_abstract_bg {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-image: url("images/s03_abstract_bg.png");
  background-repeat: repeat-x;
  background-size: auto;
}

.s03_abstract-l {
  height: 100%;
}

.s03_part1 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.s03_part1 h5 {
  color: #7d4a89;
  text-align: center;
}

.s03_part1_area1 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.s03_part1_area1 .image {
  flex: 1;
  overflow: hidden;
  min-width: 300px;
  border-radius: 24px;
}

.s03_part1_area1 .text {
  object-fit: contain;
  flex: 1;
}

.s03_part1_area1 .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s03_part1_area1 {
    flex-direction: column;
  }

  .s03_part1_area1 .image .text {
    flex: 100%;
  }

  .s03_part1_area1 .text {
    padding: 0;
  }
}

.s03_part1_area2 {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 20px;
}

.s03_part1_area2 .image {
  flex: 1;
  overflow: hidden;
  min-width: 300px;
  border-radius: 24px;
}

.s03_part1_area2 .text {
  object-fit: contain;
  flex: 1;
}

.s03_part1_area2 .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s03_part1 .s03_part1_l {
  display: block;
}

.s03_part1 .s03_part1_s {
  display: none !important;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s03_part1_area2 {
    flex-direction: column;
  }

  .s03_part1_area2 .image .text {
    flex: 100%;
  }

  .s03_part1_l {
    display: none;
  }

  .s03_part1_s {
    display: block;
  }
}

/* 心動小故事 part2-------------------*/
.s03_part2 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  color: #7d4a89;
  align-items: center;
  gap: 20px;
}

.s03_part2 .image-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.s03_part2 .image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 使用contain保持圖片比例並完整顯示 */
}

.s03_part2 .text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s03_part2 .text-content {
  flex: 1;
  justify-content: center;
}

.s03_part2 .bottom-image-container {
  width: 100%;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s03_part2 .bottom-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 同樣保持圖片比例並完整顯示 */
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s03_part2 {
    flex-direction: column;
  }

  .s03_part2 image-section,
  .text-section {
    flex: 100%;
  }

  .s03_part2 image-section {
    min-height: 300px;
  }

  .s03_part2 bottom-image-container {
    height: 150px;
  }

  .s03_part2 .text-section {
    flex-direction: column;
  }
}

/* 心動小故事 part3-------------------*/
.s03_part3 {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  color: #7d4a89;
  align-items: center;
  gap: 20px;
  flex-direction: row-reverse;
}

.s03_part3 .image-section {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
}

.s03_part3 .image-section img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 使用contain保持圖片比例並完整顯示 */
}

.s03_part3 .text-section {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s03_part3 .text-content {
  flex: 1;
  justify-content: center;
}

.s03_part3 .bottom-image-container {
  width: 100%;
  height: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s03_part3 .bottom-image-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 同樣保持圖片比例並完整顯示 */
}

/* 響應式設計 */
@media (max-width: 768px) {
  .s03_part3 {
    flex-direction: column;
  }

  .s03_part3 image-section,
  .text-section {
    flex: 100%;
  }

  .s03_part3 image-section {
    min-height: 300px;
  }

  .s03_part3 bottom-image-container {
    height: 150px;
  }

  .s03_part3 .text-section {
    flex-direction: column;
  }
}

/* 按鈕樣式 */
.s03_capsule-button {
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  text-align: center;
  font-family: "Noto Sans TC", sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #b75ccc; /* 設定背景顏色 */
  color: white; /* 設定文字顏色 */
  text-decoration: none; /* 去除文字裝飾 */
  border: none;
  border-radius: 50px; /* 設定圓角 */
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease; /* 加入過渡效果 */
}
@media (max-width: 768px) {
  .s03_capsule-button {
    width: 100%;
    display: flex; /* 使用 flex 排版 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    text-align: center;
  }
}

/* 按鈕內文字間距 */
.s03_capsule-button span {
  margin-right: 10px;
}

/* 滑鼠懸停時的效果 */
.s03_capsule-button:hover {
  background-color: #723480; /* 改變背景顏色 */
  color: #fff; /* 改變文字顏色 */
}

/* SVG 圖標 */
.s03_capsule-button img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease; /* 加入過渡效果 */
}

/* 滑鼠懸停時圖標的位移效果 */
.s03_capsule-button:hover img {
  transform: translateX(5px); /* 右移5px */
}

/*活動辦法開始*/
.s04_title {
  position: relative;
  padding: 80px;
}

.s04_decot-r {
  position: absolute;
  right: 0;
  bottom: -80px;
  height: 60%;
}

.s04_decot-l {
  position: absolute;
  bottom: -80px;
  left: 0;
  height: 60%;
}

@media (max-width: 768px) {
  .s04_title {
    position: relative;
    padding: 40px 0 40px 0;
  }

  .s04_decot-r {
    right: 0;
    bottom: -30px;
    height: 40%;
  }

  .s04_decot-l {
    right: 0;
    bottom: -30px;
    height: 40%;
  }

  .s04_decot-center {
    display: none;
  }

  .s04_decot-bottom {
    display: none;
  }
}

.s04 {
  background-color: #ecf9fe;
  padding: 80px 0 80px 0;
}
.s04 h5 {
  color: #250d61;
}

.s04-div {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/*s04副標*/
.s04_sub {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.s04_sub .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.s04_sub img {
  width: 30%;
}

.s04_sub p {
  text-align: left;
}

.s04_part1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.s04_part1 .image {
  flex: 5;
  overflow: hidden;
  min-width: 300px;
}

.s04_part1 .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s04_part1 .text {
  flex: 5;
  object-fit: contain;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .s04_part1 {
    flex-direction: column;
  }

  .s04_part1 .text .image {
    flex: 100%;
  }
}

/*第二部分*/
.s04_part2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: row-reverse;
}

.s04_part2 .image {
  flex: 5;
  overflow: hidden;
  min-width: 300px;
}

.s04_part2 .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.s04_part2 .text {
  flex: 5;
  object-fit: contain;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .s04_part2 {
    flex-direction: column;
  }

  .s04_part2 .text .image {
    flex: 100%;
  }
}

/* 注意事項背景圖 */
.note-bg {
  background: #333;
  background-image: url(images/00-06_note-bg.jpg);
  background-size: cover; /* 背景圖覆蓋 */
  background-repeat: no-repeat; /* 不重複 */
  background-position: center; /* 置中 */
}

.note-div {
  padding-top: 100px;
  padding-bottom: 100px;
}

.note p {
  color: #fff;
}

.noto-title {
  height: 2.1rem;
  width: auto;
}
@media (max-width: 768px) {
  .noto-title {
    height: 1.6rem;
  }
}

.note-main {
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.9;
  height: 20rem;
  overflow-y: scroll;
  padding-right: 15px;
}

footer {
  width: 100%;
  background-color: #251f3f;
}

/* ========================================
   TOGETHER PAGE STYLES
   ======================================== */

/* CSS Variables */
:root {
  --textColor: #483d3d;
  --titleColor: #250d61;
  --titleColor2: #015dae;
}

/* ========================================
   COMMON STYLES
   ======================================== */

body {
  background-color: #fff;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

.together_page {
  font-family: "Noto Sans TC", sans-serif;
  background-color: #fff;
  max-width: 100vw;
  overflow-x: hidden;
}

.w-350 {
  width: 350px;
}

.flex-1 {
  flex: 1;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rounded-30 {
  border-radius: 30px;
  overflow: hidden;
}

.section {
  padding-top: 80px;
  width: 100%;
  position: relative;
  background-color: #fff;
}

.section.plan {
  padding-bottom: 160px;
}

/* ========================================
   BANNER STYLES
   ======================================== */

/* Banner Responsive Images */
.pc_kv_img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mb_kv_img {
  width: 100%;
  display: none;
}

.mb_kv_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner Text Box */
.kv_text_box {
  position: absolute;
  width: 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* Banner Button */
.kv_button {
  justify-content: center;
  align-items: center;
  text-align: center;
  display: inline-flex;
  align-items: center;
  padding: 16px 0px;
  background-color: #ffc73c;
  color: #1c1b1a;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.kv_button_text {
  font-size: 1.5rem;
  font-weight: bold;
}

.kv_button:hover {
  background-color: #e9b532;
  color: #1c1b1a;
}

.kv_button img {
  width: 32px;
  height: auto;
  transition: transform 0.3s ease;
}

.kv_button:hover img {
  transform: translateX(5px);
}

.kv_text {
  width: 100%;
  height: auto;
}

.kv_text_bottom {
  width: 25%;
}

@media (max-width: 768px) {
  .kv_text_bottom {
    width: 20%;
    height: auto;
  }
  .kv_text {
    width: 90%;
    height: auto;
  }
  .kv_text_box {
    transform: translateY(10%);
  }
  .kv_button {
    padding: 12px 0px;
  }

  .kv_button img {
    width: 18px;
  }
}

/* Mobile Banner */
.mb_banner {
  position: relative;
  display: none;
  width: 100%;
}

/* ========================================
   PLAN SECTION STYLES
   ======================================== */

.plan_content {
  position: relative;
  z-index: 10;
  padding: 60px 40px;
  border-radius: 0 0 30px 30px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.plan_content_item {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.plan_content_item:nth-child(even) {
  flex-direction: row;
}

.plan_content_item_text p {
  font-size: 18px;
  color: var(--textColor);
  line-height: 1.6;
}

.plan_content_item_title {
  color: var(--titleColor);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 20px;
}

.img_box {
  overflow: hidden;
  border-radius: 30px;
}

.img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Plan Decorative Elements */
.plan_union {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
}

.mb_plan_union {
  display: none;
}

.plan_bg {
  display: block;
  position: absolute;
  bottom: 84px;
  left: -70px;
  z-index: -100;
  max-width: 100%;
  overflow: hidden;
}

.plan_tape {
  position: absolute;
  top: -90px;
  left: -70px;
  z-index: 100;
  max-width: 100%;
  overflow: hidden;
}

.together_video {
  width: 520px;
  height: 278px;
}

@media (max-width: 768px) {
  .together_video {
    width: 100%;
    height: 295px;
  }
}

/* ========================================
   VOTE SECTION STYLES
   ======================================== */

.vote_bg {
  position: relative;
  margin-top: 132px;
  width: 100%;
  padding-bottom: 140px;
  background: linear-gradient(
    180deg,
    #e5f1fe 0%,
    rgba(229, 241, 254, 0.25) 100%
  );
}

.vote_bg_border {
  position: absolute;
  top: -92px;
  left: 0;
  width: 100%;
}

.vote_title {
  margin-top: 80px;
  margin-bottom: 70px;
  width: 100%;
  text-align: center;
}

.vote_title h3,
.vote_item_title {
  font-size: 30px;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--titleColor2);
}

.vote_title p {
  font-size: 18px;
  text-align: left;
  color: var(--textColor);
}

.vote_content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px 24px;
}

.vote_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Vote Content Specific Styles */
.vote_content .vote_item .item_img_box {
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide .vote_item {
  width: 100%;
}

/* Vote Button Styles */
.vote_button {
  justify-content: center;
  align-items: center;
  text-align: center;
  display: inline-flex;
  align-items: center;
  padding: 16px 0px;
  font-size: 18px;
  background-color: #f21c65;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.vote_button:hover {
  background-color: #af1a4c;
  color: #fff;
}

.vote_button img {
  width: 20px;
  height: auto;
  transition: transform 0.3s ease;
}

.vote_button:hover img {
  transform: translateX(5px);
}

/* Vote Item Image Box */
.item_img_box {
  --box-width: 588;
  --box-height: 460;
  --box-padding-x: 32px;
  --box-padding-y: 32px;
  width: 100%;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(images/together/vote_card_board.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: var(--box-padding-y) var(--box-padding-x);
}

.box_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* Vote Item Images */
.together_vote_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* Vote Decorative Elements */
.vote_deco_plate {
  position: absolute;
  top: 150px;
  right: -20px;
  z-index: 100;
  max-width: 100%;
  overflow: hidden;
}

.vote_deco_car {
  position: absolute;
  bottom: -70px;
  left: 55px;
  z-index: 100;
  max-width: 100%;
  overflow: hidden;
}

.mb_line {
  display: none;
}

/* ========================================
   RULE SECTION STYLES
   ======================================== */

.rule_content {
  position: relative;
  z-index: 10;
  padding: 80px 40px;
  border-radius: 30px;
  box-shadow: 0px 0px 4px 0px #00000040;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
  color: var(--textColor);
  margin-top: 48px;
}

.rule_deco_center {
  display: block;
  position: absolute;
  top: 80px;
  right: -220px;
  z-index: 20;
  max-width: 100%;
  overflow: hidden;
}

.rule_deco_reverse {
  display: block;
  position: absolute;
  bottom: -270px;
  left: -65px;
  z-index: 20;
  transform: scaleX(-1);
  max-width: 100%;
  overflow: hidden;
}

.rule_list {
  font-size: 20px;
}

.rule_img_box {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.rule_img_box .img_box {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  aspect-ratio: 360/300;
}
.rule_img_box .img_box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.box_border {
  border: 1px solid #dbdbdb;
}

.rule_decor {
  width: 50%;
}

/* Custom List Styles */
.rule_list li {
  list-style-type: none;
  position: relative;
  padding-left: 1em;
}

.rule_list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--textColor);
  border-radius: 50%;
}

/* ========================================
   UNIVERSITY SECTION STYLES
   ======================================== */

.university {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
}

.university_text {
  text-align: center;
  margin-top: 24px;
  margin-bottom: 40px;
}

/* Swiper Styles */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  font-size: 18px;
  display: flex;
  flex-direction: column;
  padding: 80px 0;
}

.university_swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper_title {
  font-size: 30px;
  color: var(--textColor);
  margin-bottom: 4px;
}

.swiper_author {
  font-size: 18px;
  color: var(--textColor);
  margin-bottom: 16px;
}

.swiper_text {
  font-size: 18px;
  color: var(--textColor);
}

.swiper-pagination-bullet {
  width: 16px;
  height: 16px;
}

.swiper-pagination-bullet-active {
  background-color: #7373eb;
}

/* University Swiper Navigation Styles */
.university-swiper-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.university-swiper-nav::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
  transition: all 0.3s ease;
}

.university-swiper-nav.swiper-button-prev::after {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.university-swiper-nav.swiper-button-next::after {
  transform: rotate(45deg);
  margin-right: 3px;
}

.university-swiper-nav:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.university-swiper-nav.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.university-swiper-nav.swiper-button-disabled:hover {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* MB Work Swiper Navigation Styles - 與 university-swiper-nav 相同樣式 */
.mb-work-swiper-nav {
  position: absolute;
  top: 30%;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mb-work-swiper-nav.swiper-button-prev {
  left: 0px;
}

.mb-work-swiper-nav.swiper-button-next {
  right: 0px;
}
.university-swiper-nav.swiper-button-prev {
  left: 20px;
}

.university-swiper-nav.swiper-button-next {
  right: 20px;
}

.mb-work-swiper-nav::after {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid #000000;
  border-right: 2px solid #000000;
  transition: all 0.3s ease;
}

.mb-work-swiper-nav.swiper-button-prev::after {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.mb-work-swiper-nav.swiper-button-next::after {
  transform: rotate(45deg);
  margin-right: 3px;
}

.mb-work-swiper-nav:hover {
  background-color: #f8f8f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mb-work-swiper-nav.swiper-button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mb-work-swiper-nav.swiper-button-disabled:hover {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ========================================
   WORK SECTION STYLES
   ======================================== */

.work {
  font-family: "Noto Sans TC", sans-serif;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Mobile Work Swiper */
.mb_work_swiper {
  display: none;
  width: 100%;
  overflow: hidden;
}

.mb_work_swiper .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
}

.mb_work_swiper .swiper-wrapper {
  display: flex;
  width: 100%;
}

.work_01 {
  padding-bottom: 160px;
}

/* Work Title Styles */
.md_work_title {
  width: 100%;
  display: flex;
  position: fixed;
  top: 55px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background-color: #ffffff;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
}
.title_inner_box {
  padding: 40px 0px 20px;
  border-bottom: 2px dashed #88c7ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

.md_work_title h1 {
  font-weight: 800;
  font-size: 38px;
  color: var(--titleColor2);
}

.work_title {
  display: none;
  width: 100%;
  padding: 20px 0;
  border-bottom: 2px dashed #88c7ff;
  margin-bottom: 36px;
}

.work_title h1 {
  font-weight: 800;
  font-size: 24px;
  color: var(--titleColor2);
  margin-bottom: 0;
}

.work_btn_box {
  display: none;
}

/* Work Content Styles */
.part1 {
  padding-bottom: 60px;
  border-bottom: 2px dashed #c8c8c8;
  margin-bottom: 60px;
  margin-top: 180px;
}

.part_title {
  font-size: 20px;
  font-weight: 700;
  color: #4c4c4c;
  margin-bottom: 10px;
}

.part_text {
  font-size: 18px;
  color: #4c4c4c;
  margin-bottom: 30px;
}

.work_content_img {
  width: 100%;
  background-color: #f1f1f1cc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: visible;
}

.work_content_img img {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.work_content_img.portrait img {
  max-width: 60%;
}

/* Work Decorative Elements */
.deco_bird {
  position: absolute;
  width: auto;
  top: -140px;
  right: 0;
}

/* Other Work Styles */
.other {
  background-color: #e5f1fe;
  position: relative;
  padding-bottom: 80px;
}

.other_title {
  font-size: 30px;
  font-weight: 700;
  color: var(--titleColor2);
  text-align: center;
}

/* Work Swiper Styles */
.work_swiper_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work_swiper .item_img_box {
  height: 480px;
}

/* Work Image Aspect Ratios */
.vertical {
  aspect-ratio: calc(330 / 410);
}

.horizontal {
  aspect-ratio: calc(520 / 410);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1280px) {
  .vote_deco_plate {
    width: 350px;
  }
  .vote_deco_car {
    width: 200px;
  }
}

@media (max-width: 768px) {
  /* Banner Mobile */
  .pc_kv_img {
    display: none;
  }

  .mb_kv_img {
    display: block;
  }

  .kv_text_box {
    width: 65%;
  }

  .kv_button_text {
    font-size: 12px;
  }

  /* Section Mobile */
  .section {
    padding-top: 40px;
    padding-bottom: 0px;
  }

  .section.plan {
    padding-bottom: 80px;
  }

  /* Plan Mobile */
  .plan_content_item {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .plan_content_item:nth-child(even) {
    flex-direction: column-reverse;
  }

  .plan_content {
    padding: 60px 20px;
    gap: 40px;
  }

  .plan_content_item_title {
    text-align: center;
    margin-bottom: 10px;
  }

  .img_box {
    border-radius: 15px;
  }

  .plan_content_item_text p {
    font-size: 16px;
  }

  /* Plan Decorative Elements Mobile */
  .plan_bg {
    display: none;
  }

  .plan_tape {
    top: -20px;
    left: -20px;
    width: 80px;
    height: 70px;
  }

  .plan_union {
    display: none;
  }

  .mb_plan_union {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
  }

  /* Vote Mobile */
  .vote_bg {
    margin-top: 40px;
    padding-bottom: 80px;
  }

  .vote_bg_border {
    top: -20px;
  }

  .vote_deco_plate {
    width: 150px;
    height: 140px;
    top: 120px;
    right: 0px;
  }

  .vote_deco_car {
    width: 100px;
    height: 90px;
    bottom: -30px;
    left: 20px;
  }

  .vote_content {
    display: none;
  }

  .vote_title {
    margin-top: 60px;
    margin-bottom: 40px;
  }

  .vote_title h3 {
    font-size: 18px;
    line-height: 1.5;
  }

  .vote_title p {
    font-size: 16px;
  }

  .mb_line {
    display: block;
  }

  /* Vote Item Image Box Mobile */
  .item_img_box {
    --box-width: 335;
    --box-height: 280;
    --box-padding-x: 20px;
    --box-padding-y: 32px;
    height: 280px;
  }

  .vote_content .vote_item .item_img_box {
    height: 280px;
  }

  /* Vote Button Mobile */
  .vote_button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* Rule Mobile */
  .rule_deco_center {
    display: none;
  }

  .rule_deco_reverse {
    display: none;
  }

  .rule_decor {
    width: 80%;
  }

  .rule_content {
    padding: 40px 20px;
    margin-top: 40px;
  }

  .rule_list {
    font-size: 16px;
  }

  .rule_img_box {
    flex-direction: column;
    gap: 20px;
  }

  /* University Mobile */
  .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }

  /* University Swiper Navigation Mobile */
  .university-swiper-nav {
    width: 40px;
    height: 40px;
  }

  .university-swiper-nav::after {
    width: 10px;
    height: 10px;
  }
  .university-swiper-nav {
    top: 27%;
  }

  /* MB Work Swiper Navigation Mobile */
  .mb-work-swiper-nav {
    width: 40px;
    height: 40px;
  }

  .mb-work-swiper-nav::after {
    width: 10px;
    height: 10px;
  }
  .swiper_title {
    font-size: 24px;
  }

  .university_text {
    margin-top: 0px;
    padding: 0 20px;
  }

  .university {
    padding-bottom: 40px;
  }

  /* Swiper Mobile */
  .swiper-slide {
    padding: 40px 0;
  }

  /* Work Mobile */
  .work_01 {
    padding-bottom: 80px;
    padding-top: 60px;
  }

  .md_work_title {
    display: none;
  }

  .work_title {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: white;
    padding: 20px;
    border-bottom: 2px dashed #88c7ff;
    margin-bottom: 0;
  }

  .work_btn_box {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    justify-content: center;
  }

  .work .scroll_box {
    flex: 1;
    overflow-y: auto;
    padding-top: 120px;
    padding-bottom: 100px;
  }

  /* Work Content Mobile */
  .part1 {
    margin-top: 0px;
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .work_content_img {
    min-height: 200px;
  }

  .work_content_img img {
    max-width: 100%;
    max-height: none;
    width: auto;
    height: auto;
  }

  .work_content_img.portrait img {
    max-width: 80%;
  }

  .work_swiper_img {
    width: 100%;
    object-fit: contain;
  }

  .work_swiper .item_img_box {
    height: 280px;
  }

  .swiper {
    padding: 0 20px;
  }

  /* Mobile Work Swiper */
  .mb_work_swiper {
    display: block;
    padding: 0;
  }

  .mb_work_swiper .swiper-slide {
    padding-top: 20px;
    padding-bottom: 80px;
  }

  .other_title {
    font-size: 24px;
  }

  .vote_item_title {
    font-size: 24px;
  }

  .other {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* Decorative Elements Mobile */
  .deco_bird {
    position: absolute;
    width: 130px;
    height: 105px;
    top: -60px;
    right: 0;
  }

  /* Work Image Aspect Ratios Mobile */
  .vertical {
    width: 188px;
    height: 235px;
  }

  .horizontal {
    width: 296px;
    height: 235px;
  }
}
