/* 原版樣式（Claude Design 拓印，2026-09-24） */
.fx{display:flex}.col{display:flex;flex-direction:column}.grid{display:grid}.ac{align-items:center}.jc{justify-content:center}.jb{justify-content:space-between}.f1{flex:1}.noshrink{flex-shrink:0}.wrap{flex-wrap:wrap}.fw5{font-weight:500}.fw6{font-weight:600}.fw7{font-weight:700}.fw8{font-weight:800}.fs11{font-size:11px}.fs12{font-size:12px}.fs13{font-size:13px}.fs14{font-size:14px}.fs15{font-size:15px}.fs16{font-size:16px}.fs20{font-size:20px}.fs22{font-size:22px}.upper{text-transform:uppercase}.tc{text-align:center}.nowrap{white-space:nowrap}.gap8{gap:8px}.gap10{gap:10px}.gap12{gap:12px}.gap16{gap:16px}.gap24{gap:24px}.m0{margin:0}.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}.mb8{margin-bottom:8px}.mb12{margin-bottom:12px}.mb16{margin-bottom:16px}.posrel{position:relative}.posabs{position:absolute}.round{border-radius:50%}.ohide{overflow:hidden}.bbox{box-sizing:border-box}.pointer{cursor:pointer}.w100{width:100%}.b0{border:none}
body{margin:0}
@keyframes twinkle{0%,100%{opacity:.05;transform:scale(.7)}50%{opacity:.85;transform:scale(1.15)}}@keyframes shootingstar{0%{transform:translate(0,0) rotate(-34deg);opacity:1}5%{transform:translate(-1900px,1280px) rotate(-34deg);opacity:1}5.01%{opacity:0}100%{transform:translate(-1900px,1280px) rotate(-34deg);opacity:0}}@keyframes cuedrop{0%{transform:translateY(-100%)}60%{transform:translateY(0)}100%{transform:translateY(100%)}}@keyframes islandfade{0%,100%{opacity:.35}50%{opacity:1}}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes orbitrev{to{transform:rotate(-360deg)}}@keyframes orbitbreathe{0%{opacity:.35}100%{opacity:1}}@keyframes kenburns{0%{transform:scale(1.02)}100%{transform:scale(1.12)}}@keyframes mkpulse{0%{r:6;opacity:.9}70%{r:22;opacity:0}100%{r:22;opacity:0}}:root{--zh:'Noto Serif TC',serif;--en:'Fahkwang',serif;--hw:400;--lw:300;--ink:#0E0E0E;--void:#0B0B0B;--snow:#FBFAF8;--paper:#F0EEE9;--veil:#EFEDEA;--ink-70:rgba(14,14,14,.7);--ink-25:rgba(14,14,14,.25);--ink-12:rgba(14,14,14,.12);--snow-70:rgba(251,250,248,.7);--snow-25:rgba(251,250,248,.25);--snow-12:rgba(251,250,248,.12)}html{scroll-behavior:smooth}body{margin:0;background:#F0EEE9;font-family:'Noto Sans TC',system-ui,sans-serif}a{color:inherit}a:hover{color:inherit}.dv-turn.dv-full{padding:0!important;border:0!important}.dv-turn.dv-full .dv-opt{gap:0}.dv-turn.dv-full .dv-card{width:100%!important;max-width:none;border:0;box-shadow:none;overflow:visible}.dv-turn{padding:40px 44px 32px;border-bottom:1px solid rgba(0,0,0,.08);scroll-margin-top:16px}.dv-opt{flex:none;display:flex;flex-direction:column;gap:10px;scroll-margin-top:16px}.dv-card{max-width:100%;background:#fff;border:1px solid rgba(0,0,0,.1);;overflow:hidden}.dv-full .dv-turn{padding:0;border:0}.dv-full .dv-opt{gap:0;width:100%}.dv-full .dv-card{width:100%!important;max-width:none;border:0;box-shadow:none}

/* ===== 補充樣式（2026-09-24 起由白晝維護） =====
   原版樣式全部寫在各元素的 style="" 裡、以 1440 寬設計。
   這裡用「屬性包含」選擇器 + !important 在較小螢幕蓋掉，桌機（>1100）完全不動。 */

/* 選單改成真連結後，維持原本外觀 */
a[data-nav], a[data-nav-home], a[data-hubgo] { color: inherit; text-decoration: none; }

/* 原版 style-hover：服務／顧問／機構目錄滑過變淡，展開標題滑過變實 */
/* 只在有滑鼠的裝置：觸控點一下後 :hover 會卡住，目錄項目就一直是淡的（雲端 RWD 檢查 2026-10-01 提出） */
@media (hover: hover) { [data-jump]:hover { opacity: .55 !important; } }
[data-acc]:hover { opacity: 1 !important; }

/* 中／EN 切換：網站還沒有英文內容，按了只會換字，先隱藏（有英文版再打開） */
[data-lang] { display: none !important; }

/* 漢堡按鈕：桌機不顯示 */
[data-menubtn] { display: none; }

:root { --g: 132px; }

/* ───────── iPad 橫式與小筆電（≤1100） ───────── */
@media (max-width: 1100px) {
  :root { --g: 56px; }
  html { overflow-x: hidden; }
  .dv-card { width: 100% !important; }
  /* 左右留白：原版固定 132px */
  [style*="px 132px"] { padding-left: var(--g) !important; padding-right: var(--g) !important; }
  [style*="left: 132px"] { left: var(--g) !important; }
  [style*="right: 132px"] { right: var(--g) !important; }
  /* 滿版區塊原本用 -132px 抵銷留白，跟著新留白走 */
  [style*=" -132px"] { margin-left: calc(-1 * var(--g)) !important; margin-right: calc(-1 * var(--g)) !important; }
  [data-hdrnav] { gap: 16px !important; }
  /* 四欄以上的格線改兩欄 */
  [style*="grid-template-columns: repeat(4"],
  [style*="grid-template-columns: 1.5fr 1fr 1.3fr 1fr"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [style*="grid-template-columns: 1fr 680px 1fr"] { grid-template-columns: 1fr minmax(0, 680px) 1fr !important; }
  [style*="grid-template-columns: 240px minmax(0px, 760px)"] { grid-template-columns: 200px minmax(0, 1fr) !important; }
  /* 大標題縮一點 */
  [style*="font-size: 148px"], [style*=" 148px/"], [style*=" 148px "] { font-size: 104px !important; }
}

/* ───────── iPad 直式（≤900）：漢堡選單、兩欄為主 ───────── */
@media (max-width: 900px) {
  :root { --g: 40px; }
  [data-hdr] { padding-top: 18px !important; padding-bottom: 18px !important; }
  [data-menubtn] { display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 10px; border: 0; background: none;
    color: inherit; cursor: pointer; position: relative; z-index: 3; }
  [data-menubtn] span { display: block; height: 1px; background: currentColor; transition: transform .35s, opacity .35s; }
  [data-hdrnav] { display: none !important; }
  /* 頁首的毛玻璃（backdrop-filter）會把 fixed 選單框在頁首裡，白底只蓋到頁首、內文透出來 → 打開時關掉 */
  [data-hdr].iv-open { color: #0E0E0E !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  [data-hdr].iv-open [data-logo-white] { opacity: 0 !important; }
  [data-hdr].iv-open [data-logo-black] { opacity: 1 !important; }
  [data-hdr].iv-open [data-menubtn] span:first-child { transform: translateY(4px) rotate(45deg); }
  [data-hdr].iv-open [data-menubtn] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  [data-hdr].iv-open [data-hdrnav] { display: flex !important; flex-direction: column; gap: 28px !important;
    position: fixed; inset: 0; z-index: 2; padding: 120px var(--g) 40px; background: #FBFAF8;
    font-size: 22px !important; color: #0E0E0E !important; }
  [data-hdr].iv-open [data-hdrnav] a { color: #0E0E0E !important; border-bottom-color: rgba(14,14,14,.25) !important;
    align-self: flex-start; }
  [data-hdr].iv-open > * { position: relative; z-index: 3; }
  [data-hdr].iv-open > div > [data-hdrnav] { z-index: 2; }
  html.iv-lock { overflow: hidden; }

  /* 三欄改兩欄、兩欄不對稱版面改單欄 */
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [style*="grid-template-columns: minmax(0px, 1fr) minmax(0px, 1.1fr)"],
  [style*="grid-template-columns: minmax(0px, 1.15fr) minmax(0px, 1fr)"],
  [style*="grid-template-columns: minmax(0px, 1fr) minmax(0px, 1.35fr)"],
  [style*="grid-template-columns: 1fr 1.15fr"], [style*="grid-template-columns: 1.15fr 1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"], [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 1.05fr"], [style*="grid-template-columns: 1fr 1.25fr"],
  [style*="grid-template-columns: 1.25fr 1fr"], [style*="grid-template-columns: 1fr 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 680px 1fr"], [style*="grid-template-columns: 1fr auto 1fr"],
  [style*="grid-template-columns: 240px minmax(0px, 760px)"],
  [style*="grid-template-columns: minmax(0px, 168px) minmax(0px, 1fr)"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="grid-template-columns: 120px 140px 1fr 120px"] { grid-template-columns: 90px 1fr !important; }
  [style*="grid-template-columns: 40px 220px 1fr"] { grid-template-columns: 40px 1fr !important; }
  [style*="grid-template-columns: 40px 1fr 1fr"] { grid-template-columns: 40px 1fr !important; }
  /* 欄數減少後，第三欄以後的內容一律放進寬的那欄，不要掉進窄的編號欄 */
  [style*="grid-template-columns: 40px 220px 1fr"] > :nth-child(n+3),
  [style*="grid-template-columns: 40px 1fr 1fr"] > :nth-child(n+3),
  [style*="grid-template-columns: 120px 140px 1fr 120px"] > :nth-child(n+3) { grid-column: 2 !important; }
  /* 可展開標題列：標題＋加號一行，說明文字換到下一行、靠左 */
  [data-acc-head] { flex-wrap: wrap; row-gap: 6px !important; }
  [data-acc-head] > span:first-child { flex: 1 1 0; white-space: normal !important; }
  [data-acc-head] > [data-acc-icon] { order: 2; }
  [data-acc-head] > span:nth-child(2):not([data-acc-icon]) { order: 3; flex: 1 1 100% !important; text-align: left !important; line-height: 1.7; }
  /* 側欄（文章關聯服務、法律頁目錄）電腦上跟著捲動；改單欄後會蓋住內文，改回一般排列 */
  [style*="position: sticky"]:not([data-hdr]):not([data-stickybar]) { position: static !important; }
  /* 聯絡表單「我是」選項：兩個一排 */
  div:has(> [data-radio]) { flex-wrap: wrap !important; gap: 14px 20px !important; height: auto !important; padding: 12px 0 !important; }
  div:has(> [data-radio]) > [data-radio] { flex: 1 1 40%; white-space: nowrap !important; }
  /* 服務頁固定目錄列：改一行、左右滑 */
  [data-stickyinner] { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none;
    padding-top: 14px !important; padding-bottom: 14px !important; gap: 28px !important; }
  [data-stickyinner]::-webkit-scrollbar { display: none; }
  [data-stickyinner] > * { flex: 0 0 auto; }
  /* 大字 */
  [style*="font-size: 148px"], [style*=" 148px/"], [style*=" 148px "] { font-size: 76px !important; }
  [style*="font-size: 54px"], [style*=" 54px/"], [style*=" 54px "] { font-size: 44px !important; }
  [style*="font-size: 46px"], [style*=" 46px/"], [style*=" 46px "] { font-size: 38px !important; }
  [style*="height: 760px"] { height: min(760px, 88svh) !important; }
}

/* ───────── 手機（≤640）：全部單欄 ───────── */
@media (max-width: 640px) {
  :root { --g: 22px; }
  [data-hdr] { padding-top: 14px !important; padding-bottom: 14px !important; }
  /* logo 手機也維持 200px（曾縮到 150px，用戶：「logo 太小」） */
  /* 所有多欄格線改單欄（編號＋文字這類小格線保留） */
  [style*="grid-template-columns: repeat("],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.5fr 1fr 1.3fr 1fr"],
  [style*="grid-template-columns: 90px 1fr"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="grid-template-columns: 120px 140px 1fr 120px"] { grid-template-columns: minmax(0, 1fr) !important; }
  [style*="grid-template-columns: 120px 140px 1fr 120px"] > * { grid-column: auto !important; }
  [style*="grid-template-columns: minmax(88px, 150px) 28px"] { grid-template-columns: minmax(0, 1fr) !important; }
  /* 間距縮小 */
  [style*="gap: 56px"], [style*="gap: 64px"], [style*="gap: 48px"], [style*="gap: 56px 64px"] { gap: 32px !important; }
  [style*="padding: 72px"], [style*="padding: 80px"], [style*="padding: 96px"], [style*="padding: 104px"] {
    padding-top: 56px !important; }
  /* 字級 */
  [style*="font-size: 148px"], [style*=" 148px/"], [style*=" 148px "] { font-size: 56px !important; }
  [style*="font-size: 54px"], [style*=" 54px/"], [style*=" 54px "] { font-size: 36px !important; }
  [style*="font-size: 46px"], [style*=" 46px/"], [style*=" 46px "] { font-size: 30px !important; }
  [style*="font-size: 44px"], [style*=" 44px/"], [style*=" 44px "]:not([style*="/ 44px "]) { font-size: 30px !important; } /* 排除行高 44px（聯絡表單輸入框曾被誤放大成 30px） */
  [style*="font-size: 34px"], [style*=" 34px/"], [style*=" 34px "] { font-size: 25px !important; }
  [style*="white-space: nowrap"] { white-space: normal !important; }
  /* 觀點頁分類標籤：一行放不下就換行 */
  [style*="gap: 28px; align-items: baseline"] { flex-wrap: wrap; gap: 10px 20px !important; }
  [data-hdr] [style*="white-space: nowrap"], [data-marquee] [style*="white-space: nowrap"],
  [data-marquee-track], [data-marquee-track] * { white-space: nowrap !important; }
  [style*="height: 760px"] { height: 86svh !important; }
  [style*="bottom: 140px"] { bottom: 96px !important; }
  /* 只抓「width:」本身，不要誤中 max-width／min-width */
  [style^="width: 560px"], [style*="; width: 560px"], [style^="width: 640px"], [style*="; width: 640px"],
  [style^="width: 420px"], [style*="; width: 420px"] { width: 100% !important; max-width: 100% !important; }
  img, svg, video { max-width: 100%; }
}

/* 世界地圖：原版外框固定 500 高，窄螢幕地圖只剩約 200 高、上下大片空白 → 外框改照地圖比例（viewBox 1627×754） */
@media (max-width: 900px) {
  div:has(> [data-worldmap]) { height: auto !important; aspect-ratio: 1627 / 754; }
  /* 地圖下緣漸淡，不要被切成一條硬邊 */
  [data-worldmap] { -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
}

/* ===== 2026-09-30 手機／iPad 驗證修正 ===== */
@media (max-width: 1280px) and (min-width: 641px) {
  /* 5 個數字的格線：原本 4 欄＋最後一個單獨掉一行 → 上 3 下 2 */
  [style*="grid-template-columns: repeat(auto-fit"]:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  [style*="grid-template-columns: repeat(auto-fit"]:has(> :nth-child(5):last-child) > :nth-child(-n+3) { grid-column: span 2 !important; }
  [style*="grid-template-columns: repeat(auto-fit"]:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3 !important; }
  /* 服務據點清單：欄太窄，座標與（BVI）被拆行 → 每欄放寬 */
  [style*="minmax(190px, 1fr)); gap: 0px 32px"] { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important; }
}
@media (max-width: 1100px) and (min-width: 641px) {
  /* 4 張卡的格線：原本 3 欄＋最後一張單獨一行 → 2×2 */
  [style*="grid-template-columns: repeat(auto-fit"]:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 900px) {
  /* 標題最後一行不要只剩一兩個字 */
  /* 平均換行避免尾行只剩一兩字；keep-all 讓中文只在詞界換行（不把「協助」切成兩行） */
  h1, h2 { text-wrap: balance !important; word-break: keep-all; overflow-wrap: anywhere; } /* 只在 site.js 放的詞界（<wbr>）或標點換行；超長詞才會被迫從中間斷 */
  /* 觀點清單：編號＋分類一行，標題、閱讀各佔一整行（原本把標題推到不存在的第二欄，字疊在一起） */
  a[style*="grid-template-columns: 120px 140px 1fr 120px"] { grid-template-columns: auto minmax(0, 1fr) !important; gap: 10px 20px !important; }
  a[style*="grid-template-columns: 120px 140px 1fr 120px"] > :nth-child(n) { grid-column: auto !important; }
  a[style*="grid-template-columns: 120px 140px 1fr 120px"] > :nth-child(n+3) { grid-column: 1 / -1 !important; text-align: left !important; }
  a[style*="grid-template-columns: 120px 140px 1fr 120px"] > :first-child { white-space: nowrap; }
  /* 觀點清單上方：「全部觀點」和分類按鈕改上下排，按鈕不要被擠到每兩個字換行 */
  div:has(> [style*="gap: 28px; align-items: baseline"]) { flex-direction: column; align-items: flex-start !important; gap: 22px; }
  [style*="gap: 28px; align-items: baseline"] { flex-wrap: wrap; gap: 10px 22px !important; }
  [style*="gap: 28px; align-items: baseline"] > * { white-space: nowrap; }
  /* 服務頁固定目錄列：右邊漸淡，看得出還能往右滑 */
  [data-stickyinner] { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
}
@media (max-width: 640px) {
  /* 數字卡、說明卡：單欄時拿掉左邊直線與縮排（原本一張比一張往右、像階梯），改上下細線分隔 */
  [style*="grid-template-columns: repeat(auto-fit"]:has(> [style*="border-left"]) > * { border-left: 0 !important; padding: 26px 0 !important;
    border-bottom: 1px solid rgba(14,14,14,.12); }
  /* 服務頁黑框：「了解更多…」連結原本不能縮、超出框外 */
  [style*="background: rgb(14, 14, 14)"][style*="flex-wrap: wrap"] { padding: 30px 24px !important; }
  [style*="background: rgb(14, 14, 14)"][style*="flex-wrap: wrap"] > a { flex: 1 1 100% !important; min-width: 0; text-wrap: balance; }
  /* 頁面大標題 36px 一行只放 7 字，「以家族的整體格局，」會斷成「格局，」一行 → 縮到 32px */
  h1[style*="54px"] { font-size: 32px !important; }
}

/* iPad 橫式（901–1280）：標題也照詞界平均換行（電腦 1440 維持原稿） */
@media (min-width: 901px) and (max-width: 1280px) {
  h1, h2 { text-wrap: balance !important; word-break: keep-all; overflow-wrap: anywhere; }
}

/* 座標（25°N 121°E）不從中間換行；放在最後，蓋過手機版「nowrap 一律改可換行」那條 */
[data-nw] { white-space: nowrap !important; }

/* 服務頁最上面的四個數字（7 專業領域／1 單一窗口／3 顧問編制層級／4 階段）：手機、iPad 直式也排成一排四欄（用戶 2026-09-30：「這裡可以變成一排嗎」） */
@media (max-width: 900px) {
  [data-statrow][data-statrow][data-statrow] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  [data-statrow][data-statrow][data-statrow] > * { grid-column: auto !important; padding: 26px 0 24px 12px !important;
    border-left: 1px solid rgba(14,14,14,.12) !important; border-bottom: 0 !important; }
  [data-statrow][data-statrow][data-statrow] > :first-child { padding-left: 0 !important; border-left: 0 !important; }
  [data-statrow] > * > :nth-child(1) { font-size: 28px !important; }
  [data-statrow] > * > :nth-child(2) { font-size: clamp(12px, 3.1vw, 12.5px) !important; line-height: 1.6 !important; letter-spacing: 0; }
  [data-statrow] > * > :nth-child(3) { font-size: 12px !important; line-height: 1.6 !important; }
  [data-statrow] > * > * { text-wrap: balance; }
}
/* 360 寬四欄每欄只剩約 70px，6 個字 12px＝72px 會掉 1 字到第二行；左內距縮小，讓「顧問編制層級」「對接所有專業」維持一行 */
@media (max-width: 400px) {
  [data-statrow][data-statrow][data-statrow] > * { padding-left: 5px !important; }
  [data-statrow][data-statrow][data-statrow] > :first-child { padding-left: 0 !important; }
}
@media (min-width: 641px) and (max-width: 900px) {
  [data-statrow] > * > :nth-child(1) { font-size: 40px !important; }
  [data-statrow] > * > :nth-child(2) { font-size: 15px !important; }
  [data-statrow] > * > :nth-child(3) { font-size: 13px !important; }
  [data-statrow][data-statrow][data-statrow] > * { padding-left: 20px !important; }
}

/* 據點分類：桌面維持一排文字；手機、iPad 直式改下拉選單（字級 16px 以上，iPhone 才不會自動放大畫面） */
[data-regselect] { display: none; }
@media (max-width: 900px) {
  [data-regtabs] { display: none !important; }
  [data-regselect] { display: block; width: 100%; height: 48px; padding: 0 36px 0 0; margin: 0; border: 0; border-bottom: 1px solid #0E0E0E; border-radius: 0;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230E0E0E' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 4px center;
    -webkit-appearance: none; appearance: none; font: 400 16px "Noto Sans TC", sans-serif; letter-spacing: .08em; color: #0E0E0E; cursor: pointer; }
  /* 黑底結尾區（「我們能如何協助您的家族？」＋聯絡我們）：標題置中，跟下面按鈕對齊（用戶 2026-09-30：「置中」） */
  [style*="background: rgb(11, 11, 11)"]:has(> h2 + a) > h2 { text-align: center; }
}
/* 手機、iPad 直立：不放世界地圖，改成只在點據點時展開放大的小地圖（用戶 2026-09-30：「地圖手機改成更簡單的」；2026-10-01 iPad 直立同一套：「同為觸控裝置，操作邏輯一致」） */
@media (max-width: 900px) {
  div:has(> [data-worldmap]) { display: none !important; }
}

/* 「調整前 → 財務重塑 → 調整後」：手機、iPad 直式改成上下疊，中間箭頭跟著朝下（用戶 2026-09-30：「手機版本是否箭頭朝下」） */
@media (max-width: 900px) {
  [style*="grid-template-columns: 1fr auto 1fr"] span[style*="font: var(--hw) 20px var(--en)"] { display: inline-block; transform: rotate(90deg); margin: 8px 0 4px; }
}

/* 頁尾「導覽」「法律」的連結：手機、iPad 直式改橫排、放不下就換行（用戶 2026-09-30：「變成橫的」）；聯絡欄（信箱、地址、時間）維持直的 */
@media (max-width: 900px) {
  div[style*="flex-direction: column; gap: 11px"]:has(> a) { flex-direction: row !important; flex-wrap: wrap; gap: 10px 26px !important; align-items: baseline; }
  div[style*="flex-direction: column; gap: 11px"]:has(> a) > span:first-child { flex: 0 0 100%; margin-bottom: 0; }
}

/* 「四個階段」上方那條橫線＋四個圓點＋箭頭的流程圖：手機、iPad 直式階段改成 1～2 欄，圓點對不到欄位，而且下面每段已經有 01～04 編號，拿掉（用戶 2026-09-30：「手機版橫線流程圖好像沒有必要」） */
@media (max-width: 900px) {
  div[style*="position: relative; height: 30px;"]:has(> div[style*="border-radius: 50%"]) { display: none !important; }
}
/* 聯絡頁黑底區標題上方那條短橫線（原稿裝飾線）：用戶要求「多了一條橫線」「刪除橫線」→ 已直接從 contact.html 拿掉（電腦、手機都沒有） */

/* 手機：據點列的類別標籤（服務據點／帳戶建置／控股架構設立）放到右邊，跟國名同一行，每一格上下更短（用戶 2026-09-30：「服務據點是放在右邊，讓一格排版上下更短」） */
@media (max-width: 900px) {
  [data-region][data-code] { grid-template-columns: 30px minmax(0, 1fr) auto !important; padding: 15px 0 14px !important; }
  [data-region][data-code] > :nth-child(3) { grid-column: 3 !important; grid-row: 1 !important; align-self: start; margin-top: 4px !important; white-space: nowrap; }
}

/* 內文段落尾行不要只剩一個字（「全／貌。」） */
@media (max-width: 900px) { p { text-wrap: pretty; } }

/* 手機：下拉選單下面多一條線（選單自己的底線＋第一列的上緣線）→ 拿掉第一列上緣線、縮小間距（用戶：「是否拿掉一條線」） */
@media (max-width: 900px) {
  [data-region][data-first] { border-top-width: 0 !important; }
  div:has(> [data-region][data-code]) { margin-top: 6px !important; }
}
@media (max-width: 640px) {
  /* 「02」旁邊的英文小標換行後，最後一行（FINANCING）的下緣對齊 02 的底線（用戶：「Financing 對齊 02 下緣」）；不支援的瀏覽器維持第一行對齊 */
  div[style*="display: flex; align-items: baseline; gap: 18px;"] { align-items: last baseline !important; }
}

/* 首頁 hero 做成整個畫面高的感覺（用戶 2026-09-30：「首頁 hero 要變成全螢幕的感覺」）；svh＝手機網址列收起前的可見高度，不會被網址列切掉 */
/* 頁首用 margin-bottom:-104px 疊在 hero 上，hero 實際上緣比畫面高一點；--hero-extra 由 site.js 依頁首高度補回，下緣才會剛好貼齊畫面底 */
[data-herocover] { height: calc(100svh + var(--hero-extra, 32px)) !important; min-height: 560px; }

/* hero 裡放影片的外框原本固定 760px，hero 拉高後下半段沒有影片 → 外框跟著 hero 一樣高 */
[data-herocover] > [style*="height: 760px"] { height: 100% !important; }

/* 觸控目標（RWD 檢查 2026-10-01）：手機／iPad 的連結高度多在 18–34px，低於 44px。
   用透明偽元素把可點範圍往上下撐大，畫面與排版完全不變；絕對／固定定位的連結（logo 疊圖等）不動；左右不外擴，避免產生橫向捲動 */
@media (hover: none), (max-width: 900px) {
  a:not([style*="position: absolute"]):not([style*="position: fixed"]):not([data-logo-white]):not([data-logo-black]) { position: relative; }
  a:not([style*="position: absolute"]):not([style*="position: fixed"]):not([data-logo-white]):not([data-logo-black])::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(100%, 44px); transform: translateY(-50%); }
}

/* 手機、iPad 正文 15px → 16px（RWD 審查 2026-10-01：手機正文最低舒適線；客群年紀偏長）；iPad 直立一行約 49 字太長，限寬約 36 字 */
@media (max-width: 900px) { p[style*="15px / 1.9"] { font-size: 16px !important; } }
@media (min-width: 641px) and (max-width: 900px) { p[style*="15px / 1.9"] { max-width: 36em; } }
