/* page-association.css */
.page-hero-subtitle {
  letter-spacing: 2px;
}

/* association */
.association-intro {
  padding: 0 0 106px;
  background-image: url(../../images/establish-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

.establish-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  text-align: center;
}
.narrative-itms {
  display: flex;
  align-items: center;
  gap: 38px;
}
.how-container {
  align-self: stretch;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.how-heading {
  color: var(--color-accent);
  align-self: stretch;
  position: relative;
  font-weight: 500;
}
.how-items {
  width: 470px;
  height: 186px;
  background-color: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 18px;
  box-sizing: border-box;
  color: #fff;
}
.how-item {
  width: 128px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.how-head {
  align-self: stretch;
  height: 31px;
  background-color: #0b2f53;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-title {
  position: relative;
  font-weight: 500;
}
.how-inner {
  align-self: stretch;
  height: 103px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #000;
}
.how-icon-01 {
  height: 30px;
  width: 34px;
  position: relative;
}
.how-arrow-icon {
  height: 26px;
  width: 22px;
  right: -14px;
  top: 18px;
  position: relative;
}
.how-icon-02 {
  height: 30px;
  width: 30px;
  position: relative;
}
.benefit-container {
  width: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #0b2f53;
}

.benefit-heading {
  color: var(--color-primary);
}
.benefit-wrap {
  align-self: stretch;
  height: 186px;
  background-color: #fff8dc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #000;
}
.benefit-items {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit-icon {
  width: 20px;
  position: relative;
  max-height: 100%;
}
.benefit-text {
  position: relative;
  line-height: 20px;
}
.flow-container {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.flow-wrap {
  width: 662px;
  height: 1086px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  isolation: isolate;
  gap: 51px;
  color: #0b2f53;
}
.flow-step-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 74px;
  z-index: 0;
}
.flow-inner {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.3s ease;
}
.flow-number-wrap {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flow-number {
  width: 33px;
  position: relative;
  font-size: 28px;
  display: inline-block;
  flex-shrink: 0;
}
.flow-text-wrap {
  height: 42px;
  width: 554px;
  border-radius: 2px;
  background-color: #fff;
  border: 1px solid #0b2f53;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: 0px 20px;
  color: #000;
}
.flow-text {
  position: relative;
  font-size: var(--font-size-xl);
}
.flow-number10 {
  position: relative;
  font-size: 28px;
}
.flow-text-wrap {
  position: relative;
}
.flow-note--blue {
  position: absolute;
  left: 20px;
  top: calc(100% + 12px);
  padding: 4px 10px;
  white-space: nowrap;
  box-sizing: border-box;
  background-color: #cfe2f3;
}
.flow-note--yellow {
  position: absolute;
  left: 20px;
  top: calc(100% + 26px);
  padding: 4px 10px;
  white-space: nowrap;
  box-sizing: border-box;
  background-color: #fff2cc;
}
.flow-inner--grouped .flow-text {
  position: relative;
  z-index: 1;
}
.flow-inner--grouped .flow-note--blue,
.flow-inner--grouped .flow-note--yellow {
  z-index: 1;
}
html.js .flow-group-frame[data-reveal] {
  position: absolute;
  left: -16px;
  top: -17px;
  width: calc(100% + 32px);
  height: calc(100% + 150px);
  overflow: visible;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transform: none;
  transition: none;
}
.flow-group-frame__rect {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 1.2s ease 0.2s;
}
html.js .flow-group-frame.revealed .flow-group-frame__rect {
  stroke-dashoffset: 0;
}
html.js [data-reveal="flow-note"] {
  transform: translateY(-20px);
}
html.js [data-reveal="flow-note"].revealed {
  transform: none;
}
html.js [data-reveal="flow-note"].flow-note--yellow {
  transition-delay: 0.8s;
}
.flow-hr,
.flow-hr2,
.flow-hr3,
.flow-hr4,
.flow-hr5,
.flow-hr6,
.flow-hr7,
.flow-hr8,
.flow-hr9 {
  width: 2px;
  position: absolute;
  margin: 0 !important;
  left: 29px;
  border-right: 2px dashed #0b2f53;
  box-sizing: border-box;
  z-index: 1;
  height: var(--flow-hr-h, 0);
  transition: height 0.15s linear;
}
.flow-hr {
  top: 45px;
}
.flow-hr2 {
  top: 161px;
}
.flow-hr3 {
  top: 277px;
}
.flow-hr4 {
  top: 393px;
}
.flow-hr5 {
  top: 509px;
}
.flow-hr6 {
  top: 625px;
}
.flow-hr7 {
  top: 741px;
}
.flow-hr8 {
  top: 857px;
}
.flow-hr9 {
  top: 973px;
}

/* 無 JS 環境 fallback：直接顯示完整虛線 */
html:not(.js) .flow-hr,
html:not(.js) .flow-hr2,
html:not(.js) .flow-hr3,
html:not(.js) .flow-hr4,
html:not(.js) .flow-hr5,
html:not(.js) .flow-hr6,
html:not(.js) .flow-hr7,
html:not(.js) .flow-hr8,
html:not(.js) .flow-hr9 {
  height: 67px;
}

/* agent consultant */
.agent-consultant-section {
  padding: 60px 0 82px;
  background-color: #d9d9d9;
}
.agent-consultant-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: center;
  margin-top: 46px;
  justify-content: center;
}
.agent-container {
  width: 526px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.agent-heading {
  align-self: stretch;
  height: 68px;
  background-color: #0b2f53;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-title {
  position: relative;
  font-size: var(--font-size-xl);
  color: var(--color-white);
}
.agent-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  width: 100%;
}
.agent-text-wrap {
  width: 100%;
  height: 76px;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0px 14px;
  box-sizing: border-box;
  gap: 60px;
}
.agent-number-wrap {
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  bottom: 33px;
}
.agent-number {
  font-size: 36px;
  align-self: stretch;
  position: relative;
  background: linear-gradient(0deg, #0b2f53, #1969b9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 44px;
}
.agent-icon {
  width: 64px;
  height: 20px;
  border: 1px solid #000;
  border-bottom: none;
  position: relative;
}
.agent-text {
  position: relative;
  font-size: var(--font-size-xl);
  font-weight: 500;
}
.consultant-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  max-width: 734px;
  width: 100%;
}
.consultant-heading {
  align-self: stretch;
  height: 68px;
  background-color: #e2ae3b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.consultant-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 44px;
  font-size: 36px;
  color: var(--color-primary);
  width: 100%;
}
.consultant-wrap {
  width: 100%;
  height: 76px;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0px 14px;
  box-sizing: border-box;
  gap: 60px;
}
.agent-number7 {
  align-self: stretch;
  position: relative;
  background: linear-gradient(180deg, #e2ae3b, #e2753b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 44px;
}
.consultant-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  font-size: var(--font-size-xl);
}
.consultant-title2 {
  align-self: stretch;
  position: relative;
  font-weight: 500;
}
.consultant-text {
  align-self: stretch;
  position: relative;
  font-size: 16px;
  line-height: 20px;
  color: #000;
}

/* international local */
.international-local {
  padding: 106px 0 104px;
  margin-bottom: -24px;
  background-image: url(../../images/international-local-bg.webp);
  background-position: left bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

.international-local .section-title {
  padding-top: 8px;
}
.international-local-container {
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  text-align: center;
  margin-top: 48px;
}

/* 桌機版：compare-scroll-wrap 透明化（display: contents），讓內部 wrap 直接成為 flex 子項 */
.international-local-container > .compare-scroll-wrap {
  display: contents;
}

.international-local-container > .compare-pager {
  display: none;
}
.item-heading {
  height: 660px;
  max-width: 240px;
  flex: 1;
  background-color: #f2f2f2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 24.5px;
  box-sizing: border-box;
  gap: 28px;
  color: #000;
}
.item-name {
  align-self: stretch;
  position: relative;
  line-height: 24px;
}
.item-hr {
  align-self: stretch;
  height: 1px;
  position: relative;
  border-top: 1px solid #686868;
  box-sizing: border-box;
}
.international-wrap {
  height: 730px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: stretch;
  max-width: 306px;
}
.international-heading-wrap {
  height: 60px;
  width: stretch;
  position: relative;
}
.international-heading {
  position: relative;
  background-color: #316eac;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 57px;
  box-sizing: border-box;
}
.il-title {
  position: relative;
  font-size: var(--font-size-xl);
  color: var(--color-white);
}
.international-dec-icon {
  position: absolute;
  top: 36px;
  left: 139.5px;
  width: 27px;
  height: 24px;
  object-fit: contain;
}
.international-items {
  align-self: stretch;
  height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0px 24px;
}
.international-text {
  align-self: stretch;
  position: relative;
  line-height: 20px;
  color: #000;
  white-space: nowrap;
}
.international-hr {
  width: stretch;
  height: 1px;
  position: relative;
  border-top: 1px solid #686868;
  box-sizing: border-box;
}
.local-wrap {
  height: 730px;
  width: stretch;
  max-width: 306px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.local-heading {
  position: relative;
  background-color: #e2ae3b;
  width: 306px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 57px;
  box-sizing: border-box;
}
.local-items {
  align-self: stretch;
  height: 660px;
  background-color: #fff8dc;
  box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0px 24px;
}

/* se ae */
.se-ae-section {
  padding: 109px 0 200px;
  margin-bottom: -121px;
  background-image: url(../../images/se-ae-bg.webp);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.se-ae-heading-wrap {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.se-ae-heading-wrap .section-text-wrap {
  max-width: 468px;
}
.se-ae-desc {
  width: 100%;
  max-width: 635px;
  height: 204px;
  margin-left: -45px;
  color: var(--color-white);
  background-color: var(--color-primary);
  align-content: center;
  justify-content: center;
  padding: 62px 120px;
  z-index: -1;
}
.se-ae-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  margin-top: 54px;
}
.se-wrap {
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.se-head {
  align-self: stretch;
  height: 63px;
  background-color: #0b2f53;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0px;
  box-sizing: border-box;
}
.se-ae-title {
  color: var(--color-white);
  font-size: var(--font-size-xl);
  position: relative;
  flex-shrink: 0;
}
.se-inner {
  align-self: stretch;
  height: 437px;
  background-color: #fff;
  border: 2px solid #0b2f53;
  border-right: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 60px;
  gap: 32px;
}
.se-text {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.se-hr {
  max-width: 285px;
  width: 100%;
  height: 1px;
  position: relative;
  border-top: 1px solid #686868;
  box-sizing: border-box;
  flex-shrink: 0;
}
.comparison-wrap {
  max-width: 248px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  bottom: -1px;
}
.comparison-head {
  align-self: stretch;
  height: 86px;
  background-color: #1969b9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0px;
  box-sizing: border-box;
}
.comparison-inner {
  align-self: stretch;
  height: 437px;
  background-color: #fff;
  border: 2px solid #316eac;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #000;
}
.comparison-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comparison-hr {
  max-width: 192px;
  width: 100%;
  height: 1px;
  position: relative;
  border-top: 1px solid #686868;
  box-sizing: border-box;
}
.ae-head {
  align-self: stretch;
  height: 63px;
  background-color: #e2ae3b;
  border: 1px solid #e2ae3b;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0px;
}
.ae-inner {
  align-self: stretch;
  height: 437px;
  background-color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-left: none;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0px 60px;
  gap: 32px;
}
.ae-text {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

/* ==================== 大螢幕 (max-width: 1440px) ==================== */
@media (max-width: 1440px) {
  .association-intro,
  .agent-consultant-section,
  .international-local,
  .se-ae-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .international-local {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: -16px;
  }

  .establish-container {
    max-width: 100%;
  }
}

/* ==================== 平板 (max-width: 1024px) ==================== */
@media (max-width: 1024px) {
  .association-intro {
    padding: 0 1.5rem 80px;
  }

  .narrative-itms {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  .how-container,
  .benefit-container {
    width: 100%;
  }

  .how-items {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
  }

  .agent-consultant-container {
    flex-direction: column;
    gap: 40px;
  }

  .agent-container,
  .consultant-container {
    width: 100%;
  }

  .agent-inner,
  .consultant-items {
    grid-template-columns: 1fr;
    display: grid;
    gap: 32px;
  }

  /* 左欄比較項目固定 + 右側 scroll-snap 切換 */
  .international-local-container {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0;
    align-items: end;
    margin-top: 32px;
    overflow: hidden;
  }

  .item-heading {
    grid-column: 1;
    height: auto;
    max-width: none;
    /* 上方 70px = 右側 header(60px) + 容器 gap(10px)，與右側起始位對齊 */
    padding: 70px 8px 24px;
    gap: 36px;
    flex: none;
    justify-content: flex-start;
  }

  .item-name {
    font-size: 0.875rem;
    line-height: 20px;
    text-align: center;
    margin: 0;
  }

  /* 右側水平滑動容器（覆寫桌機版的 display: contents） */
  .international-local-container > .compare-scroll-wrap {
    grid-column: 2;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .international-local-container > .compare-pager {
    display: flex;
    max-width: 110px;
    width: 100%;
    justify-self: center;
  }

  .compare-scroll-wrap::-webkit-scrollbar {
    display: none;
  }

  .international-wrap,
  .local-wrap {
    flex: 0 0 100%;
    width: 100%;
    gap: 26px;
    max-width: none;
    height: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    justify-content: flex-start;
  }

  .international-items,
  .local-items {
    height: auto;
    padding: 24px 16px;
    gap: 36px;
    justify-content: flex-start;
  }

  /* 每項固定 2 行高度：左右兩側等高，多行文字換行但不推擠下一項 */
  .international-text {
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 文字超出時用刪節號截斷，避免推擠下一項 */
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }

  /* 左側 item-name 也對齊到 2 行高度 */
  .item-name {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* 進度條：對齊右側拖曳欄位下方 */
  .compare-pager {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    background-color: rgba(11, 47, 83, 0.25);
    gap: 0;
    position: relative;
    height: 4px;
    overflow: visible;
  }

  /* 滑塊（藍色 50px 條）：透過 left 屬性切換位置獲得拖曳動畫 */
  .compare-pager::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 50px;
    height: 4px;
    border-radius: 60px;
    background-color: #316eac;
    transform: translateY(-50%);
    transition: left 0.3s ease;
    pointer-events: none;
  }

  /* dot 仍保留作為點擊熱區，視覺上隱形 */
  .compare-pager__dot {
    flex: 1;
    height: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  /* 第 2 個 dot active 時，滑塊靠右對齊 */
  .compare-pager:has(.compare-pager__dot:nth-child(2).is-active)::before {
    left: calc(100% - 50px);
  }

  .se-ae-container {
    gap: 16px;
  }
}

/* ==================== 768px 以下 ==================== */
@media (max-width: 768px) {
  .association-intro,
  .agent-consultant-section,
  .international-local,
  .se-ae-section {
    padding: 40px 1rem;
  }

  .se-ae-section {
    background-image: url(../../images/se-ae-bg-mobile.webp);
  }

  .establish-container {
    gap: 32px;
    padding-top: 32px;
  }

  .how-items {
    height: auto;
    padding: 24px 16px;
    gap: 16px;
  }
  .how-item {
    width: 100%;
    max-width: 240px;
  }

  .se-ae-container {
    gap: 12px;
  }

  .se-wrap,
  .comparison-wrap {
    width: 100%;
  }
}

/* ==================== 小平板 (max-width: 992px) ==================== */
@media (max-width: 992px) {
}

/* ==================== 手機 (max-width: 480px) ==================== */
@media (max-width: 480px) {
  /* 手機版隱藏標記 */
  .hide-on-mobile {
    display: none;
  }

  /* ===== association intro ===== */
  .association-intro {
    background-image: url(../../images/establish-bg-mobile.webp);
    background-position: center;
    background-size: contain;
    padding: 0 16px 60px;
    box-sizing: border-box;
  }

  .establish-container {
    gap: 32px;
    padding-top: 32px;
  }

  .narrative-itms {
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  /* 如何成立協會 */
  .how-container {
    width: 100%;
    gap: 16px;
  }

  .how-heading {
    font-size: 16px;
    text-align: center;
  }

  .how-items {
    width: 310px;
    height: 186px;
    max-width: 100%;
    padding: 22px 8px 20px;
    gap: 8px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .how-item {
    width: 84px;
    gap: 10px;
  }

  .how-head {
    height: 31px;
  }

  .how-title {
    font-size: 16px;
    line-height: 20px;
  }

  .how-inner {
    height: 103px;
    flex-direction: column;
    gap: 8px;
  }

  .how-inner .how-title {
    font-size: 12px;
    font-weight: 400;
  }

  .how-icon-01 {
    height: 23px;
    width: 26px;
  }

  .how-icon-02 {
    height: 24px;
    width: 24px;
  }
  .how-arrow-icon {
    width: 17px;
    height: 20px;
    right: 0;
    margin-right: -17px;
  }

  /* 成立協會好處 */
  .benefit-container {
    width: 310px;
    max-width: 100%;
    margin: 0 auto;
    gap: 16px;
  }

  .benefit-heading {
    font-size: 16px;
  }

  .benefit-wrap {
    height: 186px;
    padding: 0 32px;
    box-sizing: border-box;
  }

  .benefit-items {
    gap: 19px;
  }

  .benefit-item {
    gap: 16px;
  }

  .benefit-icon {
    width: 20px;
    height: 20px;
  }

  .benefit-text {
    font-size: 12px;
    line-height: normal;
  }

  /* 協會成立流程 */
  .flow-container {
    width: 100%;
    gap: 20px;
  }

  .flow-wrap {
    width: 313px;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    gap: 0;
  }

  .flow-step-wrap {
    gap: 74px;
    width: 100%;
  }

  .flow-inner {
    gap: 16px;
  }

  .flow-number-wrap {
    height: 42px;
    gap: 8px;
  }

  .flow-number-wrap .how-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
  }

  .flow-number,
  .flow-number10 {
    font-size: 20px;
    width: 33px;
  }

  .flow-text-wrap {
    width: 216px;
    height: 42px;
    padding: 0 20px;
    flex: 1;
  }

  .flow-text {
    font-size: 12px;
    line-height: normal;
  }

  .flow-note--blue {
    font-size: 12px;
    line-height: normal;
    padding: 7px 5px;
    left: 50%;
    transform: translateX(-50%) !important;
    top: calc(100% + 8px);
  }

  .flow-note--yellow {
    font-size: 12px;
    line-height: normal;
    padding: 7px 5px;
    left: 50%;
    transform: translateX(-50%) !important;
    top: calc(100% + 14px);
    white-space: normal;
    width: 100%;
    max-width: 203px;
  }

  /* 流程虛線 left 對齊 STEP 文字位置 */
  .flow-hr,
  .flow-hr2,
  .flow-hr3,
  .flow-hr4,
  .flow-hr5,
  .flow-hr6,
  .flow-hr7,
  .flow-hr8,
  .flow-hr9 {
    left: 21px;
  }

  .flow-hr {
    top: 47px;
  }
  .flow-hr2 {
    top: 163px;
  }
  .flow-hr3 {
    top: 279px;
  }
  .flow-hr4 {
    top: 395px;
  }
  .flow-hr5 {
    top: 511px;
  }
  .flow-hr6 {
    top: 627px;
  }
  .flow-hr7 {
    top: 743px;
  }
  .flow-hr8 {
    top: 859px;
  }
  .flow-hr9 {
    top: 975px;
  }

  html:not(.js) .flow-hr,
  html:not(.js) .flow-hr2,
  html:not(.js) .flow-hr3,
  html:not(.js) .flow-hr4,
  html:not(.js) .flow-hr5,
  html:not(.js) .flow-hr6,
  html:not(.js) .flow-hr7,
  html:not(.js) .flow-hr8,
  html:not(.js) .flow-hr9 {
    height: 65px;
  }

  html.js .flow-group-frame[data-reveal] {
    left: -7px;
    top: -7px;
    width: calc(100% + 14px);
    height: calc(100% + 130px);
  }

  /* ===== agent / consultant ===== */
  .agent-consultant-section {
    padding: 28px 0 41px;
    box-sizing: border-box;
  }

  .agent-consultant-container {
    flex-direction: column;
    gap: 40px;
    margin-top: 28px;
  }

  .agent-container,
  .consultant-container {
    width: 306px;
    max-width: 100%;
    margin: 0 auto;
    gap: 26px;
  }

  .agent-heading,
  .consultant-heading {
    height: 42px;
  }

  .agent-title {
    font-size: 16px;
  }

  /* 代辦項目 */
  .agent-text-wrap {
    height: 44px;
    padding: 0 12px 0 7.62px;
    gap: 35px;
    position: relative;
  }
  .agent-number-wrap {
    width: 38px;
    top: -17px;
  }

  .agent-number {
    font-size: 26px;
    line-height: normal;
  }

  .agent-icon {
    width: 38px;
    height: 20px;
  }

  .agent-text {
    font-size: 13px;
    font-weight: 400;
    line-height: 22px;
  }

  /* 託管項目 */
  .consultant-wrap {
    height: 90px;
    padding: 0 28px 0 7.62px;
    gap: 34px;
    position: relative;
  }

  .consultant-wrap .agent-number-wrap {
    width: 38px;
    top: -35px;
  }

  .agent-number7 {
    font-size: 26px;
    line-height: normal;
  }

  .consultant-inner {
    gap: 4px;
    font-size: 13px;
  }

  .consultant-title2 {
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
  }

  .consultant-text {
    font-size: 12px;
    line-height: normal;
  }

  /* ===== 全國性 vs 地方性 ===== */
  .international-local {
    padding: 50px 16px;
    box-sizing: border-box;
  }

  .international-local-container {
    gap: 24px;
    margin-top: 32px;
    justify-content: center;
  }

  .item-heading {
    height: 660px;
    max-width: none;
    padding: 46px 21px;
    gap: 28px;
    box-sizing: border-box;
  }

  .item-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
    white-space: nowrap;
    align-self: center;
  }

  .item-heading h3.item-name:first-of-type {
    margin-top: 0;
  }

  .international-wrap {
    width: 120px;
    max-width: none;
    order: 1;
  }

  .local-wrap {
    width: 120px;
    max-width: none;
    order: 3;
  }

  .international-heading-wrap {
    height: auto;
  }

  .international-heading,
  .local-heading {
    width: 100%;
    height: 47px;
    padding: 0;
  }

  .il-title {
    font-size: 16px;
  }

  .international-dec-icon {
    right: 50%;
    transform: translateX(50%);
    left: auto;
    width: 15px;
    height: 20px;
    object-fit: cover;
  }

  .international-items,
  .local-items {
    height: 660px;
    padding: 46px 5px;
    gap: 28px;
    box-shadow: none;
  }

  .international-text {
    line-height: 19px;
    white-space: normal;
    text-align: center;
  }

  /* ===== 自辦 vs 代辦 ===== */
  .se-ae-section {
    padding: 50px 16px 60px;
    margin-bottom: 54px;
    background-size: cover;
  }

  .se-ae-section .se-ae-heading-wrap {
    flex-direction: column;
    gap: 0px;
    position: relative;
    z-index: 1;
  }

  .se-ae-heading-wrap .section-text-wrap {
    max-width: none;
    width: 274px;
    margin: 0 auto;
  }

  .se-ae-desc {
    width: 314px;
    min-height: 148px;
    max-width: 100%;
    height: auto;
    margin: -22px auto 0;
    padding: 24px 24px;
    font-size: 12px;
    line-height: normal;
    text-align: left;
    z-index: -1;
  }

  .se-ae-container {
    margin-top: 32px;
    justify-content: center;
    gap: 0;
  }

  .se-wrap,
  .comparison-wrap {
    max-width: none;
    width: 128px;
  }

  .comparison-wrap {
    width: 86px;
    bottom: 0;
  }

  .se-head,
  .ae-head,
  .comparison-head {
    height: 34px;
    padding: 0;
  }

  .comparison-head {
    height: 47px;
  }

  .se-ae-title {
    font-size: 16px;
  }

  .se-inner,
  .ae-inner,
  .comparison-inner {
    height: 460px;
    padding: 47px 17px 0;
    gap: 32px;
    justify-content: flex-start;
  }

  .se-inner {
    border-right: none;
  }

  .ae-inner {
    border-left: none;
  }

  .se-text,
  .ae-text,
  .comparison-text {
    font-size: 13px;
    line-height: 22px;
    width: 91px;
    text-align: center;
  }

  .se-hr,
  .comparison-hr {
    max-width: 91px;
  }
}
