﻿@charset "UTF-8";
/* CSS Document */


/* 郵局課程 CTA 容器 */
.post-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 5%;
}

/* 按鈕共用設定 */
.post-cta .post-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 190px;
  min-height: 52px;
  margin: 0;
  padding: 14px 24px;

  border: 1px solid #16833d;
  border-radius: 12px;
  background: #16833d;
  color: #fff;

  font-family: "Noto Sans TC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 4px 12px rgba(22, 131, 61, .16);
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

/* 右側箭頭 */
.post-cta .post-cta__btn span {
  font-size: 20px;
  transition: transform .25s ease;
}

/* 橘色諮詢按鈕 */
.post-cta .post-cta__btn--contact {
  background: #f47721;
  border-color: #f47721;
  box-shadow: 0 4px 12px rgba(244, 119, 33, .20);
}

/* Hover / Focus */
.post-cta .post-cta__btn:hover,
.post-cta .post-cta__btn:focus-visible {
  background: #0f642e;
  border-color: #0f642e;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(22, 131, 61, .24);
}

.post-cta .post-cta__btn--contact:hover,
.post-cta .post-cta__btn--contact:focus-visible {
  background: #df5e0b;
  border-color: #df5e0b;
  box-shadow: 0 8px 20px rgba(244, 119, 33, .25);
}

.post-cta .post-cta__btn:hover span {
  transform: translate(2px, -2px);
}

.post-cta .post-cta__btn:focus-visible {
  outline: 3px solid #ffca67;
  outline-offset: 3px;
}

/* 手機版 */
@media (max-width: 767px) {
  .post-cta {
    gap: 10px;
    padding: 18px 5%;
  }

  .post-cta .post-cta__btn {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 16px;
  }
}

/* 尊重減少動畫偏好 */
@media (prefers-reduced-motion: reduce) {
  .post-cta .post-cta__btn,
  .post-cta .post-cta__btn span {
    transition: none;
  }
}



/* ===== Table 容器 ===== */
.post-table-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 5%;
  box-sizing: border-box;
  font-family: "Noto Sans TC", sans-serif;
}

/* ===== 桌機版 ===== */
.post-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  background: #fff;
  border: 1px solid #dbe8de;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(20, 90, 45, .08);
}

.post-compare th,
.post-compare td {
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.7;
  vertical-align: middle;
  overflow-wrap: anywhere;
  border: 0;
  border-bottom: 1px solid #e5eee7;
}

/* 表頭 */
.post-compare thead th {
  background: #177d43;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.post-compare thead th:first-child {
  width: 22%;
}

/* 左側項目 */
.post-compare tbody th {
  background: #edf7ef;
  color: #176b3b;
  font-weight: 700;
  text-align: left;
}

/* 內容欄 */
.post-compare tbody td {
  color: #333;
  background: #fff;
}

.post-compare tbody tr:nth-child(even) td {
  background: #fafdf9;
}

.post-compare tbody tr:hover td {
  background: #f2f9f2;
}

.post-compare p {
  margin: 4px 0 0;
  line-height: 1.7;
}

.post-compare strong {
  color: #d65b20;
  font-weight: 700;
}

/* 移除最後一列分隔線 */
.post-compare tbody tr:last-child th,
.post-compare tbody tr:last-child td {
  border-bottom: 0;
}

/* ===== CTA ===== */
.post-compare .post-cta-row td {
  text-align: center;
}

.post-compare .post-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 26px;
  border-radius: 10px;
  background: #f47721;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background .25s ease,
    transform .25s ease;
}

.post-compare .post-buy-btn:hover {
  background: #d95c0c;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.post-compare .post-buy-btn:focus-visible {
  outline: 3px solid #176b3b;
  outline-offset: 3px;
}

/* ===== 手機版 ===== */
@media (max-width: 767px) {
  .post-table-wrap {
    padding: 0 5%;
    margin: 20px auto;
  }

  .post-compare,
  .post-compare tbody,
  .post-compare tr,
  .post-compare th,
  .post-compare td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .post-compare {
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .post-compare thead {
    display: none;
  }

  .post-compare tbody tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid #dbe8de;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
    background: #fff;
  }

  .post-compare tbody th {
    padding: 12px 16px;
    background: #177d43;
    color: #fff;
    font-size: 17px;
    text-align: left;
  }

  .post-compare tbody td {
    padding: 14px 16px;
    background: #fff !important;
    font-size: 15px;
    text-align: left;
    border-bottom: 1px solid #e5eee7;
  }

  .post-compare tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: #17834a;
    font-size: 13px;
    font-weight: 700;
  }

  .post-compare tbody tr td:last-child {
    border-bottom: 0;
  }

  .post-compare .post-cta-row td {
    text-align: left;
  }

  .post-compare .post-buy-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-compare .post-buy-btn {
    transition: none;
  }
}



/* CTA 容器 */
.post-consult-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 5%;
}

/* 諮詢按鈕 */
.post-consult-wrap .post-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 12px;

  min-width: 200px;
  min-height: 52px;
  padding: 13px 30px;
  box-sizing: border-box;

  background: #fff;
  border: 2px solid #16834a;
  border-radius: 50px;

  color: #16834a;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 5px 16px rgba(22, 131, 74, .12);

  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

/* 文字 */
.post-consult-btn .sec-btn-content {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 0;
  margin: 0;
  color: inherit;
}

.post-consult-btn .sec-btn-content strong {
  font-size: inherit;
  font-weight: 700;
  color: inherit;
}

/* Font Awesome 圖示 */
.post-consult-btn .fa {
  display: inline-block;
  font-size: 21px;
  line-height: 1;
  color: inherit;
  transition: transform .25s ease;
}

/* Hover */
.post-consult-wrap .post-consult-btn:hover {
  background: #16834a;
  border-color: #16834a;
  color: #fff;
  text-decoration: none;

  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(22, 131, 74, .24);
}

.post-consult-btn:hover .fa {
  transform: translateX(3px);
}

/* 鍵盤操作 */
.post-consult-btn:focus-visible {
  outline: 3px solid #f47721;
  outline-offset: 4px;
}

/* 手機版 */
@media (max-width: 767px) {
  .post-consult-wrap {
    padding: 18px 5%;
  }

  .post-consult-wrap .post-consult-btn {
    width: 100%;
    max-width: 360px;
    min-height: 50px;
    padding: 12px 22px;
    font-size: 16px;
  }
}

/* 減少動畫 */
@media (prefers-reduced-motion: reduce) {
  .post-consult-btn,
  .post-consult-btn .fa {
    transition: none;
  }
}



/* ===== CTA 按鈕容器 ===== */
.post-course-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
  padding: 24px 5%;
  box-sizing: border-box;
}

/* ===== 按鈕共用樣式 ===== */
.post-course-cta .post-course-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 190px;
  min-height: 54px;
  padding: 14px 28px;
  box-sizing: border-box;

  border: 2px solid transparent;
  border-radius: 12px;

  font-family: "Noto Sans TC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;

  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

/* 圖示 */
.post-course-btn i {
  font-size: 19px;
  line-height: 1;
}

/* ===== 立即報名：橘色實心 ===== */
.post-course-cta .post-course-btn--primary {
  background: #f47721;
  border-color: #f47721;
  color: #fff;
  box-shadow: 0 5px 15px rgba(244, 119, 33, .20);
}

.post-course-cta .post-course-btn--primary:hover {
  background: #db5c0c;
  border-color: #db5c0c;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(244, 119, 33, .28);
}

/* ===== 諮詢課程：綠色描邊 ===== */
.post-course-cta .post-course-btn--secondary {
  background: #fff;
  border-color: #16834a;
  color: #16834a;
  box-shadow: 0 5px 15px rgba(22, 131, 74, .08);
}

.post-course-cta .post-course-btn--secondary:hover {
  background: #16834a;
  border-color: #16834a;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 9px 22px rgba(22, 131, 74, .20);
}

/* 鍵盤聚焦 */
.post-course-cta .post-course-btn:focus-visible {
  outline: 3px solid #ffca67;
  outline-offset: 4px;
}

/* ===== 手機 RWD ===== */
@media (max-width: 767px) {
  .post-course-cta {
    gap: 12px;
    padding: 20px 5%;
  }

  .post-course-cta .post-course-btn {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    min-height: 50px;
    padding: 12px 20px;
    font-size: 16px;
  }
}

/* 減少動畫 */
@media (prefers-reduced-motion: reduce) {
  .post-course-cta .post-course-btn {
    transition: none;
  }

  .post-course-cta .post-course-btn:hover {
    transform: none;
  }
}


.post-compare .post-buy-btn {
  border-radius: var(--post-btn-radius);
}

/* 統一主要 CTA 的高度及字級 */
.post-cta .post-cta__btn,
.post-consult-wrap .post-consult-btn,
.post-course-cta .post-course-btn {
  min-height: 54px;
  font-size: 1.2em;
}

/* 手機版 */
@media (max-width: 767px) {
  .post-cta .post-cta__btn,
  .post-consult-wrap .post-consult-btn,
  .post-course-cta .post-course-btn {
    min-height: 50px;
    font-size: 16px;
  }
}



/* ===== 郵局上榜生推薦區 ===== */

#sec5.post-testimonials {
  padding: 60px 0;
  background: #f5faf7;
}

#sec5 .post-testimonial-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

#sec5 .post-testimonial-list > div {
  display: flex;
  margin-bottom: 24px;
}

/* 上榜心得卡片 */
#sec5 .post-testimonial-card {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfebe3;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(20, 90, 45, .08);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

#sec5 .post-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 90, 45, .14);
}

/* 上榜生照片 */
#sec5 .post-testimonial-img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* 姓名標題 */
#sec5 .testimonial-name {
  margin: 0;
  padding: 18px 20px 14px;
  background: #edf7ef;
  border-bottom: 1px solid #e0ebe3;
  text-align: center;
}

#sec5 .testimonial-name h4 {
  margin: 0 0 8px;
  color: #146b3b;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

#sec5 .testimonial-name h5 {
  margin: 0;
  color: #444;
  font-size: 16px;
  font-weight: 600;
}

/* 心得內文 */
#sec5 .post-testimonial-card > p {
  margin: 0;
  padding: 20px 22px 26px;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
  text-align: left;
  overflow-wrap: anywhere;
}

/* CTA 與卡片間距 */
#sec5 .post-testimonial-actions {
  margin-top: 12px;
}

/* 舊 CTA 按鈕圓角統一 */
#sec5 .price.wrap .btn {
  border-radius: 12px;
}

/* 平板 */
@media (min-width: 768px) and (max-width: 991px) {
  #sec5 .post-testimonial-img {
    height: 220px;
  }
}

/* 手機 */
@media (max-width: 767px) {
  #sec5.post-testimonials {
    padding: 36px 0;
  }

  #sec5 .post-testimonial-list {
    display: block;
  }

  #sec5 .post-testimonial-list > div {
    display: block;
    margin-bottom: 18px;
  }

  #sec5 .post-testimonial-img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  #sec5 .testimonial-name {
    padding: 16px;
  }

  #sec5 .testimonial-name h4 {
    font-size: 18px;
  }

  #sec5 .post-testimonial-card > p {
    padding: 18px;
    font-size: 15px;
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  #sec5 .post-testimonial-card {
    transition: none;
  }

  #sec5 .post-testimonial-card:hover {
    transform: none;
  }
}



/* ===== 郵局 FAQ 區塊 ===== */
.post-faq-section {
  padding: 65px 0;
  /* background:
    linear-gradient(180deg, #f4fbf6 0%, #fff 100%); */
  /* font-family: "Noto Sans TC", sans-serif; */
}

.post-faq-section .container {
  max-width: 1100px;
}

/* FAQ 標題 */
.post-faq-section .heading {
  text-align: center;
  margin-bottom: 32px;
}

.heading h2 {
  color: #174e32;
  font-weight: 700;
  line-height: 1.5;
}

/* FAQ 列表 */
.post-faq-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

/* 每一題卡片 */
.post-faq-item {
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid #dcece1;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(20, 90, 45, .05);
  overflow: hidden;
  transition:
    border-color .25s ease,
    box-shadow .25s ease;
}

.post-faq-item[open] {
  border-color: #16834a;
  box-shadow: 0 7px 22px rgba(22, 131, 74, .10);
}

/* 問題列 */
.post-faq-item summary {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 17px 22px;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  background: #fff;
}

.post-faq-item summary::-webkit-details-marker {
  display: none;
}

.post-faq-item summary::marker {
  content: "";
}

/* Hover */
.post-faq-item summary:hover {
  background: #f2faf4;
}

/* Q1 Q2 Q3 Q4 */
.post-faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: #e8f6ec;
  color: #16834a;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

/* 問題文字 */
.post-faq-question {
  flex: 1;
  min-width: 0;
  color: #194c32;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

/* + / - 切換圖示 */
.post-faq-toggle {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #edf7ef;
}

.post-faq-toggle::before,
.post-faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #16834a;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.post-faq-toggle::before {
  width: 12px;
  height: 2px;
}

.post-faq-toggle::after {
  width: 2px;
  height: 12px;
  transition: transform .2s ease;
}

.post-faq-item[open] .post-faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* 答案內容 */
.post-faq-answer {
  padding: 18px 24px 22px 79px;
  background: #f7fcf8;
  border-top: 1px solid #e5eee7;
}

.post-faq-answer p {
  margin: 0;
  color: #404c44;
  font-size: 16px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

/* 鍵盤無障礙 */
.post-faq-item summary:focus-visible {
  outline: 3px solid #f5b942;
  outline-offset: -4px;
}

/* FAQ 內 CTA 間距 */
.post-faq-section .post-course-cta {
  margin-top: 22px;
}

/* 手機版 */
@media (max-width: 767px) {
  .post-faq-section {
    padding: 38px 0;
  }

  .post-faq-section .heading {
    margin-bottom: 22px;
  }

  .post-faq-list {
    padding: 0 5%;
  }

  .post-faq-item {
    margin-bottom: 12px;
  }

  .post-faq-item summary {
    min-height: 64px;
    padding: 14px;
    gap: 10px;
  }

  .post-faq-number {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .post-faq-question {
    font-size: 16px;
    line-height: 1.5;
  }

  .post-faq-answer {
    padding: 16px 18px;
  }

  .post-faq-answer p {
    font-size: 15px;
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-faq-item,
  .post-faq-toggle::after {
    transition: none;
  }
}


.navbar-inverse {
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    background-color: #1b2129;
    border-color: #333;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 3px 5px rgba(0,0,0,.4);
    -ms-box-shadow: 0 3px 5px rgba(0,0,0,.4);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .4);
    position: absolute;
}

.heading p {
    color: #333;
    font-size: 21px;
    line-height: 30px;
    margin: 2% auto;
    text-align: left;
    max-width: 85%;
}

.mark {
    color: orange !important;
}

.post-form-section{
  background: linear-gradient(180deg, #f4fbf6 0%, #fff 100%);

    }