@charset "utf-8";
/* =====================================================================
   行珩全人均衡系統 BAHI — 財金官網主題 2026-11-01
   載入順序：放在 common.css 之後，統一覆蓋全站視覺。
   色彩：以 logo 藍（#00557D 深藍、#0078AE 亮藍）為主色 ＋ 低彩度金點綴 ＋ 冷灰中性色
   ===================================================================== */

:root {
	--fx-navy-900: #002b40;
	--fx-navy: #00557d;    /* logo 深藍 */
	--fx-navy-700: #006a9b;
	--fx-blue: #0078ae;    /* logo 亮藍 */
	--fx-blue-50: #e8f3f9;
	/* 20261101 參考單一品牌色做法：原本的金色點綴改為 logo 藍系（變數名稱保留，避免大量改動） */
	--fx-gold: #0078ae;
	--fx-gold-600: #00689a;
	--fx-gold-50: #e8f3f9;
	--fx-gold-ink: #00557d;
	--fx-ink: #10293a;
	--fx-text: #384a57;
	--fx-muted: #586a78;
	--fx-line: #dde6ed;
	--fx-bg: #f3f7fa;
	--fx-surface: #ffffff;
	--fx-danger: #c0392b;

	--fx-radius: 12px;
	--fx-radius-sm: 8px;
	--fx-shadow-sm: 0 1px 2px rgba(0, 63, 94, .06), 0 1px 3px rgba(0, 63, 94, .06);
	--fx-shadow: 0 8px 24px rgba(0, 63, 94, .08);
	--fx-shadow-lg: 0 18px 48px rgba(0, 63, 94, .14);
	--fx-wrap: 1200px;
	--fx-font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
	--fx-serif: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif; /* 20261101 標題改無襯線，與國泰類金融站一致 */

	/* 舊變數對齊新色系，讓舊元件一起換色 */
	--main-color: var(--fx-navy-700);
	--sub-color: var(--fx-navy);
	--sub1-color: var(--fx-blue);
	--sub6-color: var(--fx-blue);
	--sub7-color: var(--fx-navy);
	--header-color: var(--fx-blue);
	--footertop-color: var(--fx-ink);
	--fonts-color: var(--fx-text);
	--fonts1-color: var(--fx-text);
	--header-mobile-menu: var(--fx-navy);
	--header-height: 72px;
}

/* ---------- 基礎 ---------- */
html, body {
	font-family: var(--fx-font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--fx-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body {
	background: var(--fx-bg);
	background-image: none;
}
a, a:link, a:visited, a:active { color: var(--fx-blue); }
a:hover { color: var(--fx-navy); }
h1, h2, h3, h4, h5 { color: var(--fx-ink); font-family: var(--fx-font); }
::selection { background: var(--fx-gold-50); color: var(--fx-ink); }
:focus-visible { outline: 2px solid var(--fx-gold); outline-offset: 2px; }

.skip_link {
	position: absolute; left: -9999px; top: 8px; z-index: 2000;
	background: var(--fx-navy); color: #fff !important; padding: 8px 14px; border-radius: 6px;
}
.skip_link:focus { left: 8px; }

.site_main { display: block; min-height: 40vh; }

/* ---------- 頁首 ---------- */
.site_header {
	position: -webkit-sticky;
	position: sticky;
	top: -38px;            /* 頂部功能列捲走，主選單固定 */
	z-index: 900;
}
.hd_topbar {
	height: 38px;
	background: #fff;
	border-bottom: 1px solid #eef1f5;
	color: var(--fx-muted);
	font-size: 13px;
	letter-spacing: .5px;
}
.hd_wrap {
	max-width: var(--fx-wrap);
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.hd_tagline { white-space: nowrap; }
.hd_tagline i { color: var(--fx-gold); margin-right: 6px; position: relative; top: 1px; }
.hd_util { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.hd_util li { position: relative; padding: 0 12px; line-height: 1; }
.hd_util li + li:before {
	content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 11px;
	margin-top: -5px; background: var(--fx-line);
}
.hd_util a, .hd_util a:link, .hd_util a:visited { color: var(--fx-muted); transition: color .15s; }
.hd_util a:hover { color: var(--fx-navy); }
.hd_util .hd_util_hl a { color: var(--fx-gold-ink); font-weight: 500; }
.hd_util .hd_util_member a { color: var(--fx-navy); font-weight: 500; }
.hd_util .hd_util_member i { margin-right: 5px; color: var(--fx-gold); }

.myBoxHeader_top,
.myBoxHeader_top.header--fixed {
	position: relative !important;
	top: auto;
	padding: 0;
	min-height: var(--header-height);
	background: rgba(255,255,255,.97);
	-webkit-backdrop-filter: saturate(160%) blur(8px);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid var(--fx-line);
	box-shadow: 0 2px 12px rgba(0, 63, 94,.05);
	-webkit-animation: none;
	animation: none;
	white-space: normal;
}
.nav_right {
	max-width: var(--fx-wrap);
	margin: 0 auto;
	padding: 0 24px;
	min-height: var(--header-height);
	align-items: center;
	flex-wrap: nowrap;
	gap: 12px;
}
.header_logo {
	width: auto;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}
.header_logo img { max-height: 46px; width: auto; }

.nav.nav_main { flex: 1 1 auto; width: auto !important; }
.nav.nav_main > ul { justify-content: center; flex-wrap: nowrap; }
.nav_main .nav_item {
	height: var(--header-height);
	padding: 0 13px;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 1px;
	color: var(--fx-ink);
	white-space: nowrap;
	flex-wrap: nowrap;
	transition: color .15s;
}
.nav_main .nav_item:after {
	content: ''; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px;
	background: var(--fx-gold); transform: scaleX(0); transition: transform .2s ease;
}
.nav_main .nav_item:hover { color: var(--fx-blue); }
.nav_main .nav_item:hover:after { transform: scaleX(1); }
.nav_main i.nav_icon { font-size: 12px; margin-left: 4px; color: var(--fx-muted); }

.nav_item ul.sub_nav {
	top: calc(var(--header-height) - 6px);
	left: 0;
	width: 220px;
	padding: 8px;
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius-sm);
	box-shadow: var(--fx-shadow);
	background: #fff;
	letter-spacing: .5px;
}
.nav_item ul.sub_nav > li {
	padding: 9px 12px;
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 400;
	color: var(--fx-text);
	white-space: normal;
	transition: background .15s, color .15s;
}
.nav_item ul.sub_nav > li:hover { background: var(--fx-blue-50); color: var(--fx-navy); }

.hd_actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.hd_btn, .hd_btn:link, .hd_btn:visited {
	display: inline-flex; align-items: center; gap: 6px;
	height: 40px; padding: 0 18px;
	border-radius: 999px;
	font-size: 14px; font-weight: 500; letter-spacing: 1px;
	white-space: nowrap;
	transition: all .18s ease;
}
.hd_btn_ghost, .hd_btn_ghost:link, .hd_btn_ghost:visited { color: var(--fx-navy); border: 1px solid #c9d3e0; background: #fff; }
.hd_btn_ghost:hover { border-color: var(--fx-navy); color: var(--fx-navy); }
.hd_btn_solid, .hd_btn_solid:link, .hd_btn_solid:visited { color: #fff; background: var(--fx-navy); border: 1px solid var(--fx-navy); }
.hd_btn_solid:hover { background: var(--fx-navy-700); color: #fff; box-shadow: 0 6px 16px rgba(0, 63, 94,.25); }
.hd_btn i { font-size: 14px; }

@media (max-width: 1240px) {
	.nav_main .nav_item { padding: 0 9px; font-size: 14px; letter-spacing: .5px; }
	.nav_main .nav_item:after { left: 9px; right: 9px; }
	.header_logo img { max-height: 40px; }
	.hd_btn { padding: 0 14px; }
}
@media (max-width: 1060px) {
	.hd_tagline { display: none; }
	.hd_wrap { justify-content: flex-end; }
	.hd_btn_ghost { display: none !important; }
	.nav_main .nav_item { padding: 0 7px; font-size: 13.5px; }
}
@media (max-width: 900px) and (min-width: 768px) {
	.nav_main i.nav_icon { display: none; }
	.hd_util li { padding: 0 8px; }
}

/* 手機版頁首 */
@media (max-width: 767px) {
	.site_header { top: 0; }
	.myBoxHeader_top { min-height: 60px; }
	.nav_left {
		min-height: 60px;
		padding: 0 16px;
		justify-content: flex-start !important;
	}
	.nav_left img { max-height: 36px; cursor: pointer; }
	.mob_barbox { height: 60px; right: 8px; }
}
.navbar-toggle_modify .icon-bar { background-color: var(--fx-navy); width: 22px; height: 2px; border-radius: 2px; }
.mobile_menu {
	width: 290px;
	background: var(--fx-navy);
	box-shadow: 8px 0 32px rgba(0,0,0,.25);
}
.mm_title { padding: 22px 20px 14px; background: var(--fx-navy-900); border-bottom: 1px solid rgba(255,255,255,.08); }
.mm_tsfonts { text-align: left; font-size: 17px; font-weight: 700; letter-spacing: 1px; line-height: 1.5; }
.mm_ticon { padding-top: 6px; }
.mm_tsbtn { color: rgba(255,255,255,.7); margin: 0 12px 0 0; }
.mm_body { font-size: 15px; padding: 8px 0 24px; }
.mm_mainMenu li.mm_mainlist { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.06); letter-spacing: 1px; }
.mm_onelifonts { margin-bottom: 0; }
.mm_mainMenu li.mm_mainlist.active .mm_onelifonts { margin-bottom: 8px; }
.mm_subMenu li.mm_sublist { font-size: 14px; background-image: none; background: rgba(255,255,255,.04); padding: 10px 20px 10px 34px; }
.mm_subMenu li.mm_sublist:hover { background: rgba(255,255,255,.1); }
.mm_mainMenu li.mm_mainlist a, .mm_subMenu li.mm_sublist a { color: rgba(255,255,255,.92); }
.mobilemenu_mask { background: #002b40; opacity: .55; }

/* ---------- 共用：版心、區塊標題、按鈕 ---------- */
.hm_wrap { max-width: var(--fx-wrap); margin: 0 auto; padding: 0 24px; }
.hm_sec { padding: 88px 0; }
.sec_head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec_eyebrow {
	display: inline-block;
	font-size: 15px; font-weight: 500; letter-spacing: 2px;
	color: var(--fx-blue);
	margin-bottom: 8px;
}
.sec_title {
	margin: 0;
	font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: 1.5px;
	color: var(--fx-ink);
}
.sec_desc { margin: 14px 0 0; color: var(--fx-muted); font-size: 16px; }

.hm_btn, .hm_btn:link, .hm_btn:visited {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 52px; padding: 0 28px;
	border-radius: 999px;
	font-size: 16px; font-weight: 500; letter-spacing: 1.5px;
	border: 1px solid transparent;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
	white-space: nowrap;
}
.hm_btn:hover { transform: translateY(-1px); }
.hm_btn_gold, .hm_btn_gold:link, .hm_btn_gold:visited { background: var(--fx-navy); color: #fff; font-weight: 700; }
.hm_btn_gold:hover { background: var(--fx-navy-700); color: #fff; box-shadow: 0 10px 24px rgba(0,85,125,.28); }
.hm_btn_line, .hm_btn_line:link, .hm_btn_line:visited { color: var(--fx-navy); border-color: #c9d8e3; background: #fff; }
.hm_btn_line:hover { color: var(--fx-navy); border-color: var(--fx-navy); background: #fff; }
.hm_btn_navy, .hm_btn_navy:link, .hm_btn_navy:visited { background: var(--fx-navy); color: #fff; }
.hm_btn_navy:hover { background: var(--fx-navy-700); color: #fff; box-shadow: 0 10px 24px rgba(0, 63, 94,.25); }
.hm_btn_block { display: flex; width: 100%; }

/* ---------- 首頁 Hero（淺色漸層＋快速入口） ---------- */
.hm_hero {
	position: relative;
	overflow: hidden;
	color: var(--fx-ink);
	background:
		radial-gradient(720px 420px at 12% 0%, rgba(0,120,174,.16), transparent 62%),
		radial-gradient(640px 420px at 92% 18%, rgba(62,178,196,.16), transparent 60%),
		linear-gradient(180deg, #eef6fb 0%, #f7fbfd 70%, #fff 100%);
}
.hm_hero_in {
	position: relative; z-index: 1;
	text-align: center;
	padding-top: 72px; padding-bottom: 64px;
}
.hm_eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; letter-spacing: 2px; color: var(--fx-navy); font-weight: 500;
	padding: 6px 16px; background: rgba(255,255,255,.75); border: 1px solid #cfe3ef; border-radius: 999px;
	margin-bottom: 22px;
}
.hm_eyebrow i { color: var(--fx-blue); }
.hm_hero_title {
	margin: 0 0 18px;
	font-family: var(--fx-serif);
	font-size: 50px; line-height: 1.3; font-weight: 700; letter-spacing: 3px;
	color: var(--fx-ink);
}
.hm_hero_title span { color: var(--fx-navy); }
.hm_hero_lead { max-width: 720px; margin: 0 auto 30px; font-size: 17px; line-height: 1.9; color: var(--fx-text); letter-spacing: .5px; }
.hm_hero_cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 44px; }

.hm_quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; max-width: 1040px; margin: 0 auto 34px; }
.hm_quick a, .hm_quick a:link, .hm_quick a:visited {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	padding: 22px 10px 18px;
	background: rgba(255,255,255,.72);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,.9);
	border-radius: 14px;
	box-shadow: 0 6px 20px rgba(0,85,125,.08);
	color: var(--fx-ink); font-size: 15px; font-weight: 500; letter-spacing: 1px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hm_quick a:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,85,125,.14); border-color: #cfe3ef; color: var(--fx-navy); }
.hq_icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--fx-blue-50); color: var(--fx-blue); font-size: 22px; }
.hm_quick a:hover .hq_icon { background: var(--fx-navy); color: #fff; }

.hm_hero_trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; font-size: 14px; color: var(--fx-muted); }
.hm_hero_trust i { color: var(--fx-blue); margin-right: 6px; position: relative; top: 1px; }

/* ---------- 服務對象 ---------- */
.hm_audience { background: var(--fx-surface); }
.hm_aud_grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm_aud, .hm_aud:link, .hm_aud:visited {
	position: relative;
	display: flex; flex-direction: column;
	padding: 30px 26px 26px;
	background: #fff;
	border: 1px solid var(--fx-line);
	border-radius: var(--fx-radius);
	color: var(--fx-text);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hm_aud:hover { transform: translateY(-4px); box-shadow: var(--fx-shadow); border-color: #cfd8e4; color: var(--fx-text); }
.hm_aud_icon {
	width: 52px; height: 52px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	background: var(--fx-blue-50); color: var(--fx-navy); font-size: 24px;
	margin-bottom: 20px;
}
.hm_aud h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.hm_aud p { margin: 0 0 22px; font-size: 15px; color: var(--fx-muted); line-height: 1.75; flex: 1; }
.hm_aud_more { font-size: 14px; font-weight: 500; color: var(--fx-blue); display: inline-flex; align-items: center; gap: 6px; }
.hm_aud_more i { transition: transform .2s; }
.hm_aud:hover .hm_aud_more i { transform: translateX(4px); }
.hm_aud_contact { margin-top: 36px; text-align: center; font-size: 15px; color: var(--fx-muted); }
.hm_aud_contact a { font-weight: 500; }

/* ---------- 網路課程 ---------- */
.hm_course { background: var(--fx-bg); }
.hm_course_in { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; }
.hm_course_text .sec_title { margin-bottom: 22px; }
.hm_course_text p { font-size: 16px; line-height: 1.95; margin: 0 0 14px; letter-spacing: .3px; }
.hm_course_text b { color: var(--fx-ink); }
.hm_course_points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hm_course_points li { font-size: 14px; padding: 7px 14px; background: #fff; border: 1px solid var(--fx-line); border-radius: 999px; color: var(--fx-ink); }
.hm_course_points i { color: var(--fx-gold-ink); margin-right: 6px; }
.hm_price_card {
	position: relative;
	background: #fff;
	border: 1px solid var(--fx-line);
	border-radius: 16px;
	padding: 34px 32px 26px;
	box-shadow: var(--fx-shadow);
	text-align: center;
}
.hm_price_card:before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 16px 16px 0 0; background: linear-gradient(90deg, var(--fx-navy), var(--fx-gold)); }
.hpc_tag { display: inline-block; font-size: 13px; letter-spacing: 2px; color: var(--fx-gold-ink); background: var(--fx-gold-50); padding: 4px 12px; border-radius: 999px; }
.hpc_price { margin: 16px 0 24px; font-size: 52px; font-weight: 700; color: var(--fx-ink); line-height: 1; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.hpc_cur { font-size: 18px; font-weight: 500; color: var(--fx-muted); margin-right: 6px; vertical-align: 18px; }
.hpc_unit { font-size: 16px; font-weight: 500; color: var(--fx-muted); margin-left: 4px; }
.hpc_note { margin-top: 18px; text-align: left; font-size: 13px; line-height: 1.7; color: var(--fx-muted); background: var(--fx-bg); border-radius: 8px; padding: 12px 14px; }
.hpc_note i { color: var(--fx-gold-ink); margin-right: 4px; }
.hpc_note a { font-weight: 500; }
.hpc_secure { margin-top: 14px; font-size: 13px; color: var(--fx-muted); }
.hpc_secure i { margin-right: 4px; }

/* ---------- 書籍 ---------- */
.hm_book { background: var(--fx-surface); padding: 72px 0; }
.hm_book_in {
	display: grid; grid-template-columns: 200px 1fr 150px; gap: 52px; align-items: center;
	padding: 44px 52px;
	border-radius: 20px;
	background: linear-gradient(120deg, var(--fx-gold-50), #f5fafd 60%, #fff);
	border: 1px solid #d6e7f1;
	max-width: calc(var(--fx-wrap) - 48px);
}
.hm_book_img img { width: 100%; filter: drop-shadow(0 16px 24px rgba(0, 63, 94,.18)); }
.hm_book_text blockquote {
	margin: 0 0 16px; padding: 0; border: 0;
	font-family: var(--fx-serif);
	font-size: 24px; line-height: 1.7; font-weight: 600; color: var(--fx-ink); letter-spacing: 1.5px;
}
.hm_book_meta { font-size: 15px; font-weight: 500; color: var(--fx-gold-ink); margin-bottom: 8px; }
.hm_book_tip { font-size: 15px; color: var(--fx-muted); margin: 0 0 22px; }
.hm_book_qr { text-align: center; font-size: 13px; color: var(--fx-muted); }
.hm_book_qr img { width: 100%; background: #fff; padding: 10px; border-radius: 12px; border: 1px solid #d6e7f1; margin-bottom: 8px; }

/* ---------- 首頁列表（消息／文章／影音） ---------- */
.hm_list { padding: 80px 0; }
.hm_list_news { background: var(--fx-bg); }
.hm_list_article { background: var(--fx-surface); }
.hm_list_video { background: var(--fx-bg); }
.news_bbtnblock { text-align: center; margin-top: 36px; }
.news_bbtnblock .sendv2_btn {
	background: transparent; color: var(--fx-navy); border: 1px solid #c9d3e0; box-shadow: none;
	border-radius: 999px; padding: 11px 28px; font-size: 15px;
}
.news_bbtnblock .sendv2_btn:hover { background: var(--fx-navy); border-color: var(--fx-navy); color: #fff; }
.news_bbtnblock .sendv2_btn i { margin-left: 6px; }

/* 卡片化舊列表 */
ul.news_main_231127 > li,
ul.article_indexmain_231127 > li,
ul.article_indexmain > li {
	background: #fff;
	border: 1px solid var(--fx-line) !important;
	border-radius: var(--fx-radius);
	overflow: hidden;
	box-shadow: none;
	transition: transform .2s ease, box-shadow .2s ease;
}
ul.news_main_231127 > li:hover,
ul.article_indexmain_231127 > li:hover,
ul.article_indexmain > li:hover { transform: translateY(-3px); box-shadow: var(--fx-shadow); }
.nmain_btitle_231127, .aindexmain_btitle { color: var(--fx-ink); font-weight: 700; letter-spacing: .5px; }
.nmain_classtag_231127, .aindexmain_classtag { color: var(--fx-gold-ink); font-weight: 500; }
.nmain_desc_231127, .aindexmain_desc { color: var(--fx-muted); }
.aindexmain_more { color: var(--fx-blue); }
.class_group .class_item { border-radius: 999px; }
.class_group .class_item.active { background: var(--fx-navy); color: #fff; }

/* ---------- 內頁：標題帶、麵包屑、內容 ---------- */
.site_main > .html_title,
.site_main > h2.html_title {
	margin: 0;
	padding: 56px 24px 8px;
	font-size: 32px; font-weight: 700; letter-spacing: 2px; color: #fff;
	background: linear-gradient(135deg, var(--fx-navy-900), var(--fx-navy) 60%, var(--fx-navy-700));
}
.site_main > .html_title + .breadcrumb {
	padding: 0 24px 40px;
	margin-bottom: 40px;
	background: linear-gradient(135deg, var(--fx-navy-900), var(--fx-navy) 60%, var(--fx-navy-700));
	color: rgba(255,255,255,.6);
	border-radius: 0;
	margin-top: -1px;
}
.site_main > .html_title + .breadcrumb a,
.site_main > .html_title + .breadcrumb > li { color: rgba(255,255,255,.75); }
.site_main > .html_title + .breadcrumb a:hover { color: #fff; }
.breadcrumb > li + li:before { color: rgba(127,140,160,.7); }
.html_title { color: var(--fx-ink); font-weight: 700; }
.html_con { letter-spacing: .5px; line-height: 1.9; }

/* ---------- 按鈕、表單、面板、表格、分頁 ---------- */
.sendv2_btn {
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 15px;
	background-color: var(--fx-navy);
	box-shadow: none;
	letter-spacing: 1px;
}
.sendv2_btn:hover { background-color: var(--fx-navy-700); box-shadow: 0 6px 16px rgba(0, 63, 94,.2); }
.sendv2_btn.hover_btn { background: #fff; color: var(--fx-navy); border: 1px solid #c9d3e0; }
.SendBtn, .SendBtn_out {
	letter-spacing: 2px; border-radius: 8px; padding: 9px 22px; box-shadow: none; font-size: 15px;
}
.SendBtn { background-color: var(--fx-navy); }
.SendBtn:hover { background-color: var(--fx-navy-700); }
.SendBtn_out { background-color: #fff; color: var(--fx-navy); border: 1px solid #c9d3e0; }
.SendBtn_out:hover { background-color: var(--fx-bg); color: var(--fx-navy); }
.btn-primary { background-color: var(--fx-navy); border-color: var(--fx-navy); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--fx-navy-700); border-color: var(--fx-navy-700); }

.form-control, .form_input_v1, input[type=text], input[type=password], input[type=email], input[type=tel], input[type=number], select, textarea {
	border-radius: 8px;
	border-color: #d3dbe6;
}
.form-control { height: 42px; box-shadow: none; font-size: 15px; }
textarea.form-control { height: auto; }
.form-control:focus, .form_input_v1:focus, input:focus, select:focus, textarea:focus {
	border-color: var(--fx-blue);
	box-shadow: 0 0 0 3px rgba(0, 120, 174,.15);
	outline: 0;
}

.panel { border-radius: var(--fx-radius); border-color: var(--fx-line); box-shadow: var(--fx-shadow-sm); }
.panel-default > .panel-heading { background: var(--fx-bg); border-color: var(--fx-line); color: var(--fx-ink); font-weight: 500; border-radius: var(--fx-radius) var(--fx-radius) 0 0; }

.modal-content { border: 0; border-radius: 14px; box-shadow: var(--fx-shadow-lg); overflow: hidden; }
.modal-new-header { background: var(--fx-navy) !important; }
.modal-new-headerFonts { color: #fff; letter-spacing: 1px; }

.table > thead > tr > th { background: var(--fx-bg); color: var(--fx-ink); border-bottom: 1px solid var(--fx-line); font-weight: 500; }
.table > tbody > tr > td { border-color: var(--fx-line); }

.pagination > li > a, .pagination > li > span { color: var(--fx-navy); border-color: var(--fx-line); }
.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:hover, .pagination > .active > span:hover { background: var(--fx-navy); border-color: var(--fx-navy); }

.show_msg { background: var(--fx-navy); border-radius: 10px; }

/* ---------- 頁尾 ---------- */
.site_footer {
	position: relative;
	background:
		radial-gradient(640px 360px at 100% 0%, rgba(62,178,196,.22), transparent 60%),
		linear-gradient(135deg, var(--fx-navy) 0%, #004a6e 100%);
	color: rgba(255,255,255,.82);
	font-size: 15px;
}
.site_footer .ft_wrap {
	max-width: var(--fx-wrap); margin: 0 auto; padding: 64px 24px 48px;
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px;
}
.site_footer a, .site_footer a:link, .site_footer a:visited { color: rgba(255,255,255,.86); transition: color .15s; }
.site_footer a:hover { color: #fff; }
.ft_name { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 2px; }
.ft_ename { font-size: 12px; letter-spacing: 1px; color: rgba(255,255,255,.72); margin-top: 2px; }
.ft_quote { margin: 18px 0 20px; font-size: 14px; line-height: 1.85; color: rgba(255,255,255,.8); max-width: 360px; }
.ft_social { display: flex; gap: 10px; }
.ft_social a {
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(255,255,255,.35); font-size: 17px;
}
.ft_social a .icon-youtube2 { font-size: 13px; }
.ft_social a:hover { background: #fff; border-color: #fff; color: var(--fx-navy); }
.ft_title { color: #fff; font-weight: 500; letter-spacing: 2px; margin-bottom: 16px; font-size: 15px; }
.ft_col ul { list-style: none; margin: 0; padding: 0; }
.ft_col li { margin-bottom: 10px; line-height: 1.6; }
.ft_contact i { color: #9fd6ee; margin-right: 8px; }
.ft_bottom { border-top: 1px solid rgba(255,255,255,.16); background: rgba(0,30,46,.18); }
.site_footer .ft_bottom_in { display: block; padding: 20px 24px 24px; font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.8; }
.ft_disclaimer { color: rgba(255,255,255,.78); font-size: 12px; margin-top: 2px; }

/* ---------- 響應式 ---------- */
@media (max-width: 1100px) {
	.hm_aud_grid { grid-template-columns: repeat(2, 1fr); }
	.hm_hero_title { font-size: 46px; }
	.site_footer .ft_wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.hm_hero_in { padding-top: 56px; padding-bottom: 52px; }
	.hm_quick { grid-template-columns: repeat(3, 1fr); }
	.hm_course_in { grid-template-columns: 1fr; gap: 36px; }
	.hm_price_card { max-width: 440px; width: 100%; margin: 0 auto; }
	.hm_book_in { grid-template-columns: 150px 1fr; padding: 36px; gap: 32px; }
	.hm_book_qr { display: none; }
}
@media (max-width: 600px) {
	.hm_wrap, .hd_wrap { padding: 0 16px; }
	.hm_sec, .hm_list { padding: 56px 0; }
	.sec_head { margin-bottom: 30px; }
	.sec_title { font-size: 26px; }
	.hm_hero_in { padding-top: 44px; padding-bottom: 56px; }
	.hm_hero_title { font-size: 30px; letter-spacing: 1.5px; }
	.hm_hero_lead { font-size: 15.5px; }
	.hm_hero_cta { flex-direction: column; }
	.hm_hero_cta .hm_btn { width: 100%; }
	.hm_quick { gap: 10px; margin-bottom: 26px; }
	.hm_quick a, .hm_quick a:link, .hm_quick a:visited { padding: 16px 6px 14px; gap: 8px; font-size: 14px; letter-spacing: 0; }
	.hq_icon { width: 40px; height: 40px; font-size: 19px; }
	.hm_hero_trust { font-size: 13px; gap: 8px 16px; }
	.hm_aud_grid { grid-template-columns: 1fr; gap: 14px; }
	.hm_aud { padding: 24px 22px 22px; }
	.hpc_price { font-size: 44px; }
	.hm_price_card { padding: 30px 22px 22px; }
	.hm_book { padding: 48px 0; }
	.hm_book_in { grid-template-columns: 1fr; text-align: center; padding: 28px 20px; margin: 0 16px; }
	.hm_book_img img { max-width: 150px; }
	.hm_book_text blockquote { font-size: 19px; }
	.site_footer .ft_wrap { grid-template-columns: 1fr; gap: 28px; padding: 48px 20px 32px; }
	.site_main > .html_title { padding: 36px 16px 6px; font-size: 25px; }
	.site_main > .html_title + .breadcrumb { padding: 0 16px 26px; margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

/* 中文斷行平均，避免最後一行只剩一兩個字 */
.sec_desc, .hf_desc, .hm_hero_title, .hm_hero_lead, .auth_brand_title, .auth_brand_lead { text-wrap: balance; }

/* ---------- 首頁：思維邏輯（三步驟流程） ---------- */
.hm_logic { background: var(--fx-surface); }
.hm_flow { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.hm_flow:before {
	content: ''; position: absolute; top: 40px; left: 16.66%; right: 16.66%;
	border-top: 2px dashed #cfe3ef; z-index: 0;
}
.hf_item { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.hf_icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 80px; height: 80px; border-radius: 50%;
	background: var(--fx-blue-50); color: var(--fx-navy); font-size: 32px;
	box-shadow: 0 0 0 10px #fff;
	margin-bottom: 22px;
}
.hf_no { display: block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--fx-blue); margin-bottom: 6px; }
.hf_title { margin: 0 0 8px; font-size: 21px; font-weight: 700; letter-spacing: 1px; color: var(--fx-ink); }
.hf_desc { margin: 0 auto; max-width: 290px; font-size: 15px; line-height: 1.8; color: var(--fx-muted); }
.hf_tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.hf_tags li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; border: 1px solid #cfe3ef; font-size: 13.5px; color: var(--fx-navy); }
.hf_tags i { font-size: 13px; color: var(--fx-blue); }
.hm_flow_cta { text-align: center; margin-top: 44px; }
.hm_course_slogan { font-size: 19px !important; font-weight: 500; color: var(--fx-gold-ink); margin: -12px 0 18px !important; letter-spacing: 1px; }
@media (max-width: 760px) {
	.hm_flow { grid-template-columns: 1fr; gap: 36px; }
	.hm_flow:before { top: 40px; bottom: 40px; left: 50%; right: auto; border-top: 0; border-left: 2px dashed #cfe3ef; }
	.hf_item { background: #fff; }
}

/* =====================================================================
   載入中、提示訊息、對話視窗（20261101）
   ===================================================================== */
/* ---------- 載入中 ---------- */
#loadingMask {
	position: fixed; inset: 0; width: auto; height: auto;
	z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	background: rgba(0, 38, 58, .55);
	-webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
	opacity: 0;
	transition: opacity .2s ease, visibility 0s linear .2s;
}
#loadingMask[style*="visible"] { opacity: 1; transition: opacity .2s ease; }
.fx_loader {
	width: 280px; max-width: calc(100vw - 48px);
	padding: 32px 28px 26px;
	background: #fff; border-radius: 20px;
	box-shadow: 0 24px 60px rgba(0, 38, 58,.35);
	text-align: center;
}
.fx_loader_ring { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; }
.fx_loader_ring span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.fx_loader_ring span:first-child { border-color: var(--fx-blue-50); }
.fx_loader_ring span:last-child { border-top-color: var(--fx-navy); border-right-color: var(--fx-gold); animation: fx_spin .9s cubic-bezier(.5,.15,.5,.85) infinite; }
.fx_loader_ring i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--fx-navy); }
.fx_loader_text { font-size: 15px; font-weight: 500; color: var(--fx-ink); letter-spacing: 1px; }
.fx_loader_bar { height: 3px; margin-top: 18px; border-radius: 3px; background: var(--fx-blue-50); overflow: hidden; }
.fx_loader_bar span { display: block; width: 40%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--fx-navy), var(--fx-gold)); animation: fx_bar 1.2s ease-in-out infinite; }
@keyframes fx_spin { to { transform: rotate(360deg); } }
@keyframes fx_bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(250%); } }

/* ---------- 提示訊息（show_msg / show_error_msg） ---------- */
.show_msg,
.show_error_msg {
	top: 24px; left: 50%; transform: translateX(-50%);
	z-index: 10000;
	min-width: 260px; max-width: calc(100vw - 32px);
	padding: 14px 20px 14px 50px;
	border-radius: 14px;
	font-size: 15px; font-weight: 500; letter-spacing: .5px; line-height: 1.6;
	box-shadow: 0 16px 40px rgba(0, 38, 58,.22);
}
.show_msg { background: var(--fx-navy); border: 0; color: #fff; }
.show_error_msg { background: #fff; border: 1px solid #f3c6c0; border-left: 4px solid var(--fx-danger); color: #8f2a1f; }
.show_msg:before,
.show_error_msg:before {
	font-family: 'icomoon' !important;
	position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 24px; height: 24px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.show_msg:before { content: "\e92b"; background: var(--fx-gold); color: #fff; }
.show_error_msg:before { content: "\ea5f"; background: #fdecea; color: var(--fx-danger); }

/* 對話視窗（fx_dialog.js）樣式獨立在 css/fx_dialog.css，讓不套用全站版型的頁面也能使用 */

/* ---------- 既有 Bootstrap 視窗（訊息、身分切換…） ---------- */
.modal-backdrop.in { opacity: .5; background: #002b40; }
/* 彈出視窗寬度：桌機固定寬，不要整排撐滿（舊樣式為 98%） */
.modal-dialog { width: calc(100% - 32px) !important; max-width: 720px; margin: 10vh auto 30px !important; }
.modal-dialog.modal-sm { max-width: 480px; }
.modal-dialog.modal-lg { max-width: 880px; }
.modal-content { border-radius: 20px; }
.modal-new-header,
.modal-header.modal-new-header {
	position: relative;
	background: #fff !important;
	border-bottom: 1px solid var(--fx-line);
	padding: 20px 56px 18px 24px !important;
}
.modal-new-headerFonts { color: var(--fx-ink); font-size: 18px; font-weight: 700; letter-spacing: 1px; text-align: left; padding: 0; }
.modal-new-header .pull-right {
	position: absolute; right: 14px; top: 14px; margin: 0 !important;
	width: 34px; height: 34px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	color: var(--fx-muted) !important; cursor: pointer; transition: background .15s;
}
.modal-new-header .pull-right:hover { background: var(--fx-bg); color: var(--fx-ink) !important; }
.modal-show-con-1, .del_msg_block { padding: 24px; font-size: 15.5px; color: var(--fx-text); line-height: 1.8; }
.modal-new-footer { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 24px 22px; border-top: 1px solid var(--fx-line); }
.modal-new-footer .SendBtn, .modal-new-footer .SendBtn_out { height: 44px; padding: 0 22px; }
.modal-body { padding: 24px; }
.modal-footer { border-top-color: var(--fx-line); padding: 16px 24px; }
