#sec-notice {
  padding-top: 96px;
  padding-bottom: 120px;
}
#sec-notice .sec-container {
  width: 1080px;
}
@media (min-width: 769px) and (max-width: 1150px) {
  #sec-notice .sec-container {
    width: 90%;
  }
}
@media (max-width: 768px) {
  #sec-notice .sec-container {
    width: 90%;
  }
}
#sec-notice .sec-tit {
  display: flex;
  margin-bottom: 16px;
}
#sec-notice .sec-tit p {
  font-size: 14px;
  margin-left: 5px;
}
#sec-notice ul {
  padding-left: 1.3em;
}
#sec-notice ul li {
  list-style: decimal;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 1em;
  text-align: justify;
}
#sec-notice .toggle-wrap {
  position: relative;
}
@media (max-width: 768px) {
  #sec-notice .toggle-wrap {
    height: 300px;
    overflow: hidden;
  }
  #sec-notice .toggle-wrap.-active {
    height: auto;
  }
}
#sec-notice .toggle-btn {
  position: absolute;
  bottom: 0;
  width: 100%;
  transform: translateY(100%);
  display: none;
  left: 0;
}
@media (max-width: 768px) {
  #sec-notice .toggle-btn {
    display: block;
  }
}
#sec-notice .toggle-btn .-btn {
  position: relative;
  width: 36px;
  height: 36px;
  background-color: #c0c0c0;
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}
#sec-notice .toggle-btn .-btn span {
  display: block;
  width: 50%;
  height: 3px;
  background-color: #fff;
  border-radius: 100px;
}
#sec-notice .toggle-btn .-btn span:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#sec-notice .toggle-btn .-btn span:nth-child(2) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}
#sec-notice .toggle-btn:before {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  background-color: #c0c0c0;
}
#sec-notice .toggle-btn.-active .-btn span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(0deg);
}
#sec-notice .twm-content {
  margin-top: 0;
}
.custom_full_table thead td {
  font-weight: normal;
}

.top-promo {
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-bottom: 5rem;
  font-family: "Noto Sans TC", sans-serif;
}
.top-promo h3 {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.7em;
  letter-spacing: 2px;
  background: #0c6fbc;
  background: linear-gradient(
    90deg,
    rgba(12, 111, 188, 1) 20%,
    rgba(123, 178, 227, 1) 80%
  );
  /*background: rgb(255,103,0);
  background: linear-gradient(90deg, rgba(255,143,8,1) 20%, rgba(255,103,0,1) 80%);
  background-color: #007ac4;*/
  border-radius: 16px 16px 0 0;
  padding: 15px 10px;
  line-height: 150%;
  text-align: center;
}

/*.top-promo .txt-primary-orange {
  color: #007ac4 !important;
}*/
.top-promo h4 {
  display: inline;
  font-size: 1.3em;
  line-height: 1.5em;
  font-weight: bold;
}
.top-promo sup {
  font-size: 12px;
}
.num {
  font-size: 72px;
  color: #bdbebd;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  width: 60px;
  text-align: center;
  line-height: 60px;
}
.ex {
  border-radius: 99px;
  border: 1px solid #1b1c1e;
  padding: 10px 5px;
  font-size: 1.4em;
  text-align: center;
  font-weight: bold;
  line-height: 150%;
}
.gift-note {
  border-radius: 12px;
  padding: 2rem;
  background-color: #f8f8f8;
}
.gift-note h5 {
  font-size: 15px;
  color: #1b1c1e;
  margin-bottom: 1rem;
}
.gift-note p {
  font-size: 13px;
  color: #1b1c1e;
  line-height: 150%;
  margin-bottom: 1rem;
}

.catchd-container .banner.full-color {
  width: 100%;
  background: #d3d5dc;
}

/*samsung*/
.samsung-block {
  margin-bottom: 2rem;
}
.samsung-block h3 {
  height: 60px;
  background: rgb(40, 100, 167);
  background: linear-gradient(
    90deg,
    rgba(86, 167, 180, 1) 9%,
    rgba(52, 109, 173, 1) 60%,
    rgba(46, 96, 165, 1) 100%
  );
  background-size: contain;
  color: #ffffff;
  font-size: 21px;
  font-weight: bold;
  line-height: 60px;
  display: inline-block;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 0;
  border-radius: 16px 16px 0 0;
  letter-spacing: 2px;
}
.samsung-block h4 {
  color: #333;
  margin-left: 10px;
  font-size: 18px;
  display: inline-block;
  margin-bottom: 0;
}
.samsung-content {
  margin: 0;
  border: 2px solid transparent;
  border-image: linear-gradient(
    90deg,
    rgba(86, 167, 180, 1) 9%,
    rgba(52, 109, 173, 1) 60%,
    rgba(46, 96, 165, 1) 100%
  );
  border-image-slice: 1;
  /*border-radius: 0 16px 16px 16px;*/
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}
.samsung-content img {
  padding: 1rem;
  width: 100%;
}

@media screen and (min-width: 0px) and (max-width: 640px) {
  .samsung-block h3 {
    background-size: contain;
    font-size: 18px;
    padding-left: 15px;
    letter-spacing: 2px;
    display: block;
    text-align: center;
    height: 42px;
    line-height: 42px;
  }
  .samsung-block h4 {
    margin-left: 5px;
    font-size: 13px;
    display: none;
  }
  .samsung-content img {
    padding: 0.5rem;
    width: 100%;
  }
}

/**/
.kv {
  height: 600px;
}
.kv img {
  text-align: right;
}

.kv h1 {
  text-indent: 101%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}
.intro {
  font-size: 1.5em;
  line-height: 1.8em;
  color: #1b1c1e;
}

.plans-section {
  padding: 0px 0 60px 0;
}

.card-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  /*padding: 20px 0;*/
}

.cards-wrapper {
  display: flex;
  gap: 25px;
  padding: 20px;
}

.card {
  flex: 0 0 248px;
  height: 344px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 25px;
  color: white;
}

.card.last-card {
  margin-right: 10px;
}

.card-content {
  text-align: center;
}

.card-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px; /* 稍微加大，留空間給白線 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative; /* 讓 ::after 可以絕對定位在標題底下 */
}

/* 裝飾白線 */
.card-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px; /* 控制白線與文字的距離，可微調 */
  transform: translateX(-50%);
  width: 70px; /* 固定寬度 70px */
  height: 3px; /* 線的粗細 3px */
  background-color: #fff; /* 白色線條 */
  border-radius: 999px; /* 讓線兩端微圓滑，可選 */
}

.card-duration {
  font-size: 20px;
  font-weight: 600;
}

.card-price {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.card-description {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.95;
}

.card-button {
  background: #218093;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}

.card-button:hover {
  background: #fff;
  color: #218093;
}

/* ========== 區塊二：援助服務 ========== */
.service-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #dce9f0 0%, #e8f4f8 100%);
}

.service-container {
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 42px;
  font-weight: bold;
  color: #218093;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 16px;
  color: #5a8fa8;
}

.services-container {
  background: #ffffff;
  border-radius: 68px;
  padding: 50px 30px;
  backdrop-filter: blur(10px);
  border: 10px solid #edf5f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.service-item {
  text-align: left;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.service-icon {
  width: 50px;
  height: 50px;
  color: #218093;
}

.service-name {
  font-size: 28px;
  font-weight: bold;
  color: #218093;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 16px;
  color: #1b1c1e;
  line-height: 1.8;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #218093;
  font-weight: bold;
}

.service-subsection {
  /*margin-top: 30px;*/
}

/* ========== 區塊三：服務流程 ========== */
.process-section {
  padding: 80px 60px;
}

.process-container-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.process-title {
  text-align: center;
  font-size: 44px;
  font-weight: bold;
  color: #218093;
  margin-bottom: 60px;
}

.process-container {
  /*background: #daebf3;
  border-radius: 68px;*/
  padding: 20px 60px 40px 60px;
  position: relative;
  background: url(../images/dec-bg.png) no-repeat center bottom / contain;
}

.steps-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  position: relative;
}

.step-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.step-image-wrapper {
  width: 136px;
  height: 142px;
  overflow: hidden;
  margin-bottom: 30px;
}

.step-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-number-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  width: 100%;
  justify-content: center;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #218093;
  background-color: #daebf3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: bold;
  color: #218093;
  position: relative;
  z-index: 2;
}

.step-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 40px);
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    #218093 0px,
    #218093 8px,
    transparent 8px,
    transparent 16px
  );
  transform: translateY(-50%);
  z-index: 1;
}

.step-item:last-child .step-line {
  display: none;
}

.step-title {
  font-size: 32px;
  font-weight: bold;
  color: #218093;
  margin-bottom: 10px;
}

.step-description {
  font-size: 16px;
  color: #1b1c1e;
  line-height: 1.8;
}

.step-link {
  color: #218093;
  text-decoration: none;
  font-weight: 600;
}

.step-link:hover {
  text-decoration: underline;
}

.step-highlight {
  font-weight: 600;
  color: #218093;
}

/* ========== 響應式設計 ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .step-image-wrapper {
    width: 150px;
    height: 150px;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .step-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 240px;
    height: 340px;
  }

  .card-title {
    font-size: 30px;
  }

  .card-price {
    font-size: 28px;
  }

  .card.last-card {
    margin-right: 10px;
  }

  /*.card-container {
    margin-right: 20px;
  }*/

  .section-title {
    font-size: 32px;
  }

  .services-container {
    padding: 40px 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-name {
    font-size: 24px;
  }

  .process-title {
    font-size: 36px;
  }

  .process-container {
    padding: 50px 20px;
    background: #daebf3;
    border-radius: 68px;
  }

  .process-section {
    text-align: center; /* 文字預設置中 */
    padding: 60px 20px 0 20px;
  }

  .steps-wrapper {
    flex-direction: column;
    gap: 60px;
    align-items: center; /* 整個步驟區塊水平置中 */
  }

  .step-item {
    align-items: center; /* 每個步驟內部物件置中 */
    text-align: center;
    width: 100%;
  }

  .step-number-wrapper {
    justify-content: center; /* 號碼圓圈置中 */
  }

  .step-image-wrapper {
    margin-left: auto; /* 圖片置中 */
    margin-right: auto;
  }

  .step-title,
  .step-description {
    text-align: center; /* 標題與文字置中 */
  }

  .step-line {
    display: none; /* 行動版原本就關掉虛線可保留 */
  }

  .step-image-wrapper {
    width: 136px;
    height: 142px;
  }

  .step-number {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }

  .step-title {
    font-size: 30px;
  }
  .intro {
    font-size: 1.2em;
    line-height: 1.5em;
    color: #1b1c1e;
  }
}
