


/* 卡片篩選區塊 */
.card-filter-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 40px 20px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.card-filter-section .sec-inner {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.card-filter-section .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

/* 篩選控制區域 */
.filter-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  padding: 32px;
  background: #FFFFFF;
}

.filter-title {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: #333333;
  margin: 0 0 16px 0;
  text-align: center;
}

/* 篩選按鈕區域 */
.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: auto;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.filter-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: #003B90;
  background: #FFFFFF;
  border: 2px solid #003B90;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  gap: 8px;
  min-width: 180px;
  box-shadow: 3px 3px 0px #003B90;
  margin: 10px auto;
}

.filter-button-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.filter-button-text {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  word-break: keep-all;
  font-size: 20px;
  line-height: 1.2;
  color: #003B90;
  text-align: center;
  transition: color 0.3s ease;
  word-break: keep-all;
}

.filter-button:hover {
  border-color: #003B90;
  color: #003B90;
  transform: translateY(-2px);
  box-shadow: none;
  border: 2px solid #003B90;
}

.filter-button:hover .filter-button-text {
  color: #003B90;
}

.filter-button.active {
  border-color: #003B90;
  color: #003B90;
  transform: translateY(-2px);
  box-shadow: none;
  border: 2px solid #003B90;
  background: #ffffff;
  position: relative;
}

.filter-button.active::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #003B90;
  pointer-events: none;
}

.filter-button.active .filter-button-text {
  color: #003B90;
}

/* 篩選提示文字 */
.filter-hint {
  font-family: 'Noto Sans', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4; 
  color: #888888;
  margin: 8px 0 0 0;
}

/* 詳細篩選區域 */
.detailed-filters {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 8px;
  background: transparent;
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

/* 展開收闔式篩選器容器 */
.multi-select-dropdown {
  position: relative;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: 1px solid #003B90;
  border-bottom: none;
  border-radius: 0;
  background: #F5F5F5;
}

.multi-select-dropdown.active {
  background: #FFFFFF;
}

/* 最後一個篩選器加上底邊框 */
.filter-section:last-child .multi-select-dropdown {
  border-bottom: 1px solid #003B90;
}

/* 確保第一個篩選器的上邊框樣式正確 */
.filter-section:first-child .multi-select-dropdown {
  border-top: 1px solid #003B90 !important;
  margin-top: 2px;
}

/* 展開收闔式按鈕 */
.dropdown-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: #003B90;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dropdown-button:hover {
  background: rgba(0, 59, 144, 0.05);
}

/* 篩選器標題文字 */
.dropdown-text {
  flex: 1;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  color: #003B90;
}

.dropdown-text.has-selection {
  color: #003B90;
  font-weight: 600;
}

/* 展開收闔圖示 */
.dropdown-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #003B90;
  transition: all 0.3s ease;
}

.dropdown-arrow::before {
  content: '+';
}

.multi-select-dropdown.active .dropdown-arrow::before {
  content: '−';
}

/* 展開收闔選項容器 */
.dropdown-options {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background: #FFFFFF;
  border-top: 1px solid #003B90;
  transition: all 0.3s ease;
  padding: 0;
}

.dropdown-options.show {
  max-height: 1000px;
  overflow: visible;
  padding: 16px;
}

.dropdown-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  width: 100%;
}

/* 選項項目 */
.dropdown-option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
}

.dropdown-option-item:hover {
  background: transparent;
}

/* 複選框樣式 */
.dropdown-option-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.dropdown-option-item .checkmark {
  position: relative;
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border: 2px solid #D0D0D0;
  border-radius: 3px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.dropdown-option-item input[type="checkbox"]:checked + .checkmark {
  background: #003B90;
  border-color: #003B90;
}

.dropdown-option-item input[type="checkbox"]:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dropdown-option-item .option-text {
  flex: 1;
  font-size: 14px;
  color: #333333;
  line-height: 1.4;
}



.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  flex: 1;
}

.dropdown-item label {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: #333333;
}

.filter-select {
  padding: 12px 16px;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #333333;
  background: #FFFFFF;
  border: 2px solid #E5E5E5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-select:focus {
  outline: none;
  border-color: #00A0E9;
  box-shadow: 0 0 0 3px rgba(0, 160, 233, 0.1);
}

.filter-select:hover {
  border-color: #00A0E9;
}

/* 控制按鈕區域 */
.filter-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid #E5E5E5;
}

.clear-button {
  padding: 12px 24px;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #666666;
  background: #FFFFFF;
  border: 2px solid #5B5B5B;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-button .clear-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.arrow_long_right {
  width: auto;
  height: 12px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.result-info {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  color: #666666;
}

.result-info .count {
  font-weight: 700;
  color: #003B90;
}

/* 卡片網格展示區域 */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  box-sizing: border-box;
}

/* 卡片項目重新定義（用於篩選頁面） */
.cards-grid .card-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px 10px 16px 24px;
  gap: 12px;
  width: 700px;
  height: auto;
  min-height: 140px;
  background: #FFFFFF;
  border: 2px solid #003B90;
  box-shadow: 3px 3px 0px #1F286F;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  overflow: hidden;
  margin: 0 auto;
}

.cards-grid .card-item:hover {
  transform: translateY(-1px);
  box-shadow: 4px 4px 0px #1F286F;
}

/* 卡片圖片區域 */
.card-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 6px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;
} 

/* 橫式卡片圖片 */
.card-image.landscape {
  width: 150px;
  height: 100px;
}

/* 直式卡片圖片 */
.card-image.portrait {
  width: 150px;
  height: 150px;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  box-sizing: border-box;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}


/* 卡片內容區域 */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0px;
  gap: 10px;
  width: 390px;
  min-height: 156px;
  flex: 1;
  min-width: 0; /* 防止內容溢出 */
  overflow: hidden;
}

/* 卡片頭部 */
.card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.bank-name {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.3;
  color: #000000;
  margin-bottom: 4px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card-name {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: #003B90;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* 卡片特色標籤 */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}

.card-line {
  width: 100%;
  height: 0.5px;
  background: #000000;
}

.benefits-list {
  list-style: disc;
  padding-left: 16px;
  margin: 0;
  width: 100%;
  color: #000000;
}

.benefits-list li::marker {
  color: #000000 !important;
}

.benefits-list .card-description::marker {
  color: #000000 !important;
}

.benefits-list .card-description {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: #000000;
  margin: 0 0 4px 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  list-style-type: disc;
  list-style-color: #000000;
}

.benefits-list .card-description:last-child {
  margin-bottom: 0;
}

.tag {
  padding: 4px 8px;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
  color: #003B90;
  background: #E8F4FD;
  border: 2px solid #003B90;
  border-radius: 12px;
  white-space: nowrap;
}

/* 卡片優惠內容 */
.card-benefits {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  min-height: 60px;
  width: 100%;
}

/* 卡片描述 */
.card-description {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  color: #000000;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
  list-style-type: disc;
  list-style-color: #000000;
  padding-left: 16px;
}

.card-description::marker {
  color: #000000 !important;
}

/* 卡片底部 */
.card-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
}

.card-link,
.apply-button {
  /* Auto layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  gap: 6px;
  
  /* 按鈕尺寸 */
  width: 100px;
  height: 39px;
  
  /* brand_color_blue 漸變背景 */
  background: linear-gradient(90deg, #1F286F -0.96%, #006FBB 100.4%);
  
  /* 文字樣式 */
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  color: #FFFFFF;
  
  /* 按鈕樣式 */
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  
  /* Inside auto layout */
  flex: none;
  order: 2;
  flex-grow: 0;
  
  /* 陰影效果 */
  box-shadow: 0 2px 8px rgba(31, 40, 111, 0.3);
}

.card-link:hover,
.apply-button:hover {
  background: linear-gradient(90deg, #0F1A5F -0.96%, #005FAB 100.4%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 40, 111, 0.4);
}

.card-link .arrow-icon {
  width: 8px;
  height: 8px;
  border: 2px solid #FFFFFF;
  border-left: none;
  border-bottom: none;
  transform: rotate(45deg);
  margin-left: 4px;
}

/* 無結果顯示 */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  padding: 60px 40px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-results-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.no-results-content h3 {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #333333;
  margin: 0;
}

.no-results-content p {
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #666666;
  margin: 0;
}

/* 響應式設計 - 卡片篩選 */
@media (max-width: 1200px) {
  .card-filter-section {
    padding: 0 20px 60px 20px;
  }
}

@media (max-width: 834px) {
  .card-filter-section {
    padding: 0 40px 40px 40px;
  }
  
  .card-filter-section .inner {
    gap: 32px;
  }
  
  .filter-controls {
    padding:0px;
    gap: 24px;
  }
  
  .detailed-filters {
    gap: 0;
  }
  
  .filter-actions {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .cards-grid {
    padding: 0 8px;
  }
  
  /* Mobile 卡片佈局 */
  .cards-grid .card-item {
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    gap: 16px;
    box-shadow: 4px 4px 0px #1F286F;
    text-align: center;
    width: 400px;
    margin: 0 auto;
  }
  
  .card-image {
    width: 100%;
    height: 100px;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: 1;
    cursor: pointer;
    user-select: none;
    max-width: 200px;
  }
  
  .card-image.landscape {
    width: 190px;
  }
  
  .card-image.portrait {
    width: 190px;
    margin: 20px;
  }
  
  .card-img {
    max-width: 160px;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: 2;
    user-select: none;
    pointer-events: none;
  }
  
  .card-image:hover .card-img {
    transform: scale(1.02);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  }
  
  .card-image:hover {
    background: rgba(0, 59, 144, 0.05);
  }
  
  .card-content {
    width: 100%;
    gap: 12px;
    align-items: center;
    text-align: center;
  }
  
  .card-header {
    gap: 6px;
    align-items: center;
    text-align: center;
  }
  
  .bank-name {
    font-size: 13px;
  }
  
  .card-name {
    font-size: 16px;
  }
  
  .card-tags {
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tag {
    padding: 3px 8px;
    font-size: 11px;
  }
  
  .card-description {
    font-size: 13px;
  }
  
  .card-footer {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  .apply-button {
    width: 128px;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14px;
    height: 42px;
    margin: 0 auto;
  }
  
  /* 展開收闔式篩選器平板響應式調整 */
  .dropdown-options-grid {
    gap: 6px;
  }
  
  .dropdown-button {
    padding: 15px;
    font-size: 15px;
  }
  
  .dropdown-arrow {
    right: 18px;
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .card-filter-section {
    padding: 0 20px 30px 20px;
  }
  
  .card-filter-section .inner {
    gap: 24px;
  }
  
  .filter-controls {
    padding: 0px;
    gap: 20px;
  }
  
  .filter-title {
    font-size: 16px;
    margin: 0 auto 16px auto;
    text-align: center;
  
  }
  
  .button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    justify-items: center;
  }
  
  /* 當有奇數個項目時，讓最後一個項目置中 */
  .button-group .filter-button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 50%;
  }
  
  .filter-button {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 10px;
    font-size: 13px;
    gap: 8px;
    min-width: auto;
    width: 100%;
    white-space: normal;
    margin: 10px auto;

  }
  
  .filter-button-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  
  .filter-button-text {
    font-size: 15px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .dropdown-item label {
    font-size: 13px;
  }
  
  .filter-select {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .cards-grid {
    padding: 0 4px;
  }
  
  .cards-grid .card-item {
    padding: 16px 12px;
    gap: 12px;
    box-shadow: 3px 3px 0px #1F286F;
    align-items: center;
    text-align: center;
    width: 250px;
    margin: 0 auto;
  }
  
  .card-image {
    height: 80px;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: 1;
    cursor: pointer;
    user-select: none;
    max-width: 180px;
    justify-content: center;
    align-items: center;
  }
  
  .card-image.landscape {
    width: 150px;
  }
  
  .card-image.portrait {
    width: 150px;
    min-width: auto;
  }
  
  .card-img {
    max-width: 140px;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    z-index: 2;
    user-select: none;
    pointer-events: none;
  }
  
  .card-image:hover .card-img {
    transform: scale(1.02);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  }
  
  .card-image:hover {
    background: rgba(0, 59, 144, 0.05);
  }
  
  .card-name {
    font-size: 16px;
  }
  
  .card-content {
    width: 100%;
    gap: 10px;
    align-items: center;
    text-align: center;
  }
  
  .card-header {
    gap: 4px;
    align-items: center;
    text-align: center;
  }
  
  .card-tags {
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .card-benefits {
    justify-content: center;
    text-align: center;
    min-height: 50px;
  }
  
  .card-description {
    font-size: 13px;
  }
  
  .tag {
    padding: 3px 8px;
    font-size: 11px;
  }
  
  .apply-button {
    padding: 10px 14px;
    font-size: 13px;
    width: 128px;
    height: 38px;
    margin: 0 auto;
  }
  
  .card-footer {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  .no-results {
    padding: 40px 24px;
  }
  
  .no-results-content h3 {
    font-size: 18px;
  }
  
  .no-results-content p {
    font-size: 14px;
  }
  
  /* 展開收闔式篩選器響應式調整 */
  .dropdown-options-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .dropdown-button {
    padding: 14px;
    font-size: 15px;
  }
  
  .dropdown-arrow {
    right: 16px;
    font-size: 18px;
  }
  
  .dropdown-option-item {
    padding: 6px 0;
    font-size: 13px;
  }
}

/* 415px以下螢幕寬度的樣式 */
/* @media (max-width: 415px) {
  .button-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    justify-items: center;
  }
  
  .button-group .filter-button:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: auto;
    max-width: none;
  }
  
  .filter-button {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3px 18px;
    font-size: 13px;
    gap: 8px;
    min-width: auto;
    width: 100%;
    white-space: normal;
    margin: 5px auto;
  }

  .filter-hint {
    font-family: 'Noto Sans', sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 11px;
    text-align: center;
    line-height: 1.4;
    color: #888888;
    margin: 8px 0 0 0;
}
} */

/* 滿版Banner樣式 */
.banner-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  position: relative;
  display: block;
}

.banner-img-pc {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-img-sp {
  width: 100%;
  height: auto;
  display: none;
  object-fit: cover;
}

/* 手機版樣式 */
@media print, screen and (max-width: 959px) {
  .banner-img-pc {
    display: none;
  }
  
  .banner-img-sp {
    display: block;
  }
}

/* 平板版樣式 */
@media print, screen and (min-width: 640px) and (max-width: 959px) {
  /* 平板版使用預設的滿版設定 */
}

/* 返回按鈕包裝容器 */
.back_to_prev-wrapper {
  position: relative;
  z-index: 1000;
  margin: 20px auto;
  text-align: center;
}

/* 返回按鈕樣式 */
.back_to_prev {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: #49454F;
  text-decoration: none;
  margin: 0 auto;
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

.back_to_prev_text {
  font-weight: 600;
  color: #49454F;
  text-align: center;
  z-index: 1000; 
}

.arrow_long_back {
  width: auto;
  height: 16px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.back_to_prev:hover {
  transform: translateX(-4px);
  z-index: 1000; 
}

.back_to_prev:hover img {
  transform: translateX(-2px);
  z-index: 1000; 
}

/* 響應式設計 - 返回按鈕 */
@media (max-width: 834px) {
  .back_to_prev {
    padding: 10px 16px;
    font-size: 14px;
    z-index: 1000; 
  }
  
  .arrow_long_back {
    height: 14px;
  }
}

@media (max-width: 480px) {
  .back_to_prev {
    padding: 8px 12px;
    font-size: 13px;
    gap: 6px;
    z-index: 1000; 
  }
  
  .arrow_long_back {
    height: 12px;
  }
}