:root {
	--bg: #f2eee4;
	--paper: #fbf8f0;
	--paper-2: #eee6d5;
	--ink: #221f1a;
	--muted: #746c60;
	--brand: #9c5c2f;
	--brand-dark: #63381f;
	--gold: #bd8a38;
	--line: #d8ceba;
	--shadow: 0 14px 38px rgba(60, 42, 22, .08);
	--radius: 6px;
	--container: 1360px;
	--serif: Georgia, "Times New Roman", "Noto Serif TC", serif;
	--sans: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

	--primary: var(--brand);
	--secondary: var(--gold);
	--info: var(--ink);
	--g_900: var(--ink);
	--g_100: var(--line);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
button, input { font: inherit; }

.txt_clamp { overflow: hidden; height: 1.3em; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.d_inblock.txt_clamp { display: -webkit-inline-box; }

.container { max-width: inherit; width: min(calc(100% - 40px), var(--container)); margin-inline: auto; padding: 0; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; color: var(--brand); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-title, .page-title, .article-title { font-family: var(--serif); font-weight: 600; letter-spacing: -.03em; line-height: 1.18; }
.section-title { font-size: clamp(2rem, 4vw, 3.6rem); margin: 12px 0 18px; }
.page-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin: 16px 0 22px; }
.article-title { font-size: clamp(2.4rem, 5vw, 3.5rem); margin: 16px 0 20px; }
.lead { color: #5d554a; font-size: 1.08rem; max-width: 760px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: .92rem; font-weight: 700; transition: .2s ease; }
.btn:hover { transform: translateY(-2px); background: var(--ink); color: #fff; }
.btn--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.btn--light { border-color: #f4ede2; color: #f4ede2; }
.btn--light:hover { background: #f4ede2; border-color: #f4ede2; color: #26221d; }
.meta { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: .88rem; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--brand-dark); background: rgba(255, 255, 255, .38); font-size: .78rem; font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(80, 63, 40, .12); background: rgba(242, 238, 228, .92); backdrop-filter: blur(14px); }
.header-row { min-height: 76px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-weight: 700; }
.brand-copy strong { display: block; font-family: var(--serif); font-size: 1.04rem; }
.brand-copy small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; }
.site-nav { justify-self: center; display: flex; gap: 6px; }
.site-nav a { padding: .5em .3em; border-radius: 999px; color: #4f493f; font-size: .9rem; }
.site-nav a:hover, .site-nav a.is-active { background: #e6ddcc; color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; cursor: pointer; }
.menu-toggle__icon { width: 18px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-toggle__icon span { display: block; width: 100%; height: 1px; background: var(--ink); border-radius: 999px; transform-origin: center; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }
.header-cta { font-size: .84rem; color: var(--brand-dark); font-weight: 800; }

.site-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-nav__item { position: relative; margin: 0; }
.site-nav__item > a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--text); font-size: .92rem; font-weight: 600; line-height: 1.4; text-decoration: none; border-radius: 8px; transition: color .18s ease, background-color .18s ease; }
.site-nav__item > a:hover, .site-nav__item > a.is-active { color: var(--accent); background: rgba(140, 103, 57, .07); }

.site-nav__item:has(> .subnav) > a, .site-nav__item:has(> .subOption) > a { padding-right: 31px; }
.site-nav__item:has(> .subnav) > a::after, .site-nav__item:has(> .subOption) > a::after { content: ""; position: absolute; top: 50%; right: 14px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; opacity: .55; transform: translateY(-65%) rotate(45deg); transition: transform .18s ease; }
.site-nav__item:has(> .subnav):hover > a::after, .site-nav__item:has(> .subnav):focus-within > a::after, .site-nav__item:has(> .subOption):hover > a::after, .site-nav__item:has(> .subOption):focus-within > a::after { transform: translateY(-30%) rotate(225deg); }

.subnav, .sub2nav, .sub3nav { margin: 0; padding: 9px; list-style: none; background: rgba(249, 246, 239, .98); border: 1px solid rgba(49, 40, 30, .12); border-radius: 12px; box-shadow: 0 18px 45px rgba(35, 28, 21, .12); }
.subnav { position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(7px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; z-index: 1000; }
.subnav::before { content: ""; position: absolute; top: -11px; left: 0; width: 100%; height: 11px; }
.site-nav__item:hover > .subnav, .site-nav__item:focus-within > .subnav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.subnav > li, .sub2nav > li, .sub3nav > li { position: relative; margin: 0; }
.subnav > li + li, .sub2nav > li + li, .sub3nav > li + li { margin-top: 2px; }
.subnav a, .sub2nav a, .sub3nav a { position: relative; display: flex; align-items: center; width: 100%; padding: 10px 31px 10px 13px; color: var(--text); font-size: .875rem; font-weight: 500; line-height: 1.5; text-decoration: none; border-radius: 7px; transition: color .18s ease, background-color .18s ease, padding-left .18s ease; }
.subnav a:hover, .sub2nav a:hover, .sub3nav a:hover, .subnav a:focus-visible, .sub2nav a:focus-visible, .sub3nav a:focus-visible { padding-left: 17px; color: var(--accent); background: rgba(140, 103, 57, .08); outline: none; }
.sub2nav, .sub3nav { position: absolute; top: -9px; left: calc(100% + 7px); min-width: 235px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(7px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; z-index: 1010; }
.sub2nav::before, .sub3nav::before { content: ""; position: absolute; top: 0; left: -8px; width: 8px; height: 100%; }
.subnav > li:hover > .sub2nav, .subnav > li:focus-within > .sub2nav, .sub2nav > li:hover > .sub3nav, .sub2nav > li:focus-within > .sub3nav { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0); }
.subnav > li:has(> .sub2nav) > a::after, .sub2nav > li:has(> .sub3nav) > a::after { content: ""; position: absolute; top: 50%; right: 14px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; opacity: .55; transform: translateY(-50%) rotate(45deg); }

.subOption, .sub2Option, .sub3Option { margin: 0; padding: 0; list-style: none; }
.subOption { position: absolute; top: calc(100% + 10px); left: 0; min-width: 310px; padding: 9px; background: rgba(249, 246, 239, .98); border: 1px solid rgba(49, 40, 30, .12); border-radius: 12px; box-shadow: 0 18px 45px rgba(35, 28, 21, .12); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(7px); transition: opacity .18s ease, visibility .18s ease, transform .18s ease; z-index: 1000; }
.subOption::before { content: ""; position: absolute; top: -11px; left: 0; width: 100%; height: 11px; }
.site-nav__item:hover > .subOption, .site-nav__item:focus-within > .subOption { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.subOption > li { position: relative; }
.subOption > li + li { margin-top: 2px; }
.sub2Title, .sub3Title { position: relative; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 6px; border-radius: 7px; transition: background-color .18s ease; }
.sub2Title.bo, .sub3Title.bo { padding-right: 42px; }
.sub2Title:hover, .sub3Title:hover, .sub2Title.is-open, .sub3Title.is-open { background: rgba(140, 103, 57, .07); }
.sub2Title p, .sub3Title p, .sub3Option p { flex: 1; min-width: 0; margin: 0; }
.sub2Title p > a, .sub3Title p > a, .sub3Option a { display: block; padding: 10px 8px; color: var(--text); font-size: .875rem; font-weight: 500; line-height: 1.5; text-decoration: none; transition: color .18s ease; }
.sub2Title p > a:hover, .sub3Title p > a:hover, .sub3Option a:hover { color: var(--accent); }

.sub2Title.bo > :last-child:not(p), .sub3Title.bo > :last-child:not(p) { position: absolute; top: 0; right: 0; z-index: 5; width: 42px; height: 100%; margin: 0; opacity: 0; cursor: pointer; }

.sub2Title.bo::before, .sub2Title.bo::after, .sub3Title.bo::before, .sub3Title.bo::after { content: ""; position: absolute; top: 50%; right: 16px; z-index: 3; width: 10px; height: 1px; background: currentColor; pointer-events: none; transform: translateY(-50%); transition: opacity .18s ease, transform .18s ease; }
.sub2Title.bo::after, .sub3Title.bo::after { transform: translateY(-50%) rotate(90deg); }
.sub2Title.bo.is-open::after, .sub3Title.bo.is-open::after { opacity: 0; transform: translateY(-50%); }

.sub2Option, .sub3Option { display: none; }
.sub2Option.is-open, .sub3Option.is-open { display: block; }
.sub2Option { margin: 2px 5px 6px 14px; padding-left: 11px; border-left: 1px solid rgba(49, 40, 30, .12); }
.sub3Option { margin: 2px 5px 6px 13px; padding-left: 10px; border-left: 1px solid rgba(49, 40, 30, .1); }
.sub2Option > li, .sub3Option > li { position: relative; }
.sub3Option > li > div { border-radius: 6px; transition: background-color .18s ease; }
.sub3Option > li > div:hover { background: rgba(140, 103, 57, .06); }
.sub3Option a { padding: 8px 9px; color: var(--muted); font-size: .84rem; }

.nav-sub-toggle, .flyout-sub-toggle { position: absolute; top: 0; right: 0; z-index: 10; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.nav-sub-toggle::before, .nav-sub-toggle::after, .flyout-sub-toggle::before, .flyout-sub-toggle::after { content: ""; position: absolute; width: 10px; height: 1px; background: currentColor; transition: opacity .18s ease, transform .18s ease; }
.nav-sub-toggle::after, .flyout-sub-toggle::after { transform: rotate(90deg); }
.nav-sub-toggle[aria-expanded="true"]::after, .flyout-sub-toggle[aria-expanded="true"]::after { opacity: 0; transform: rotate(0); }

.page-hero { padding: 82px 0 54px; border-bottom: 1px solid var(--line); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 64px; align-items: end; }
.page-hero__note { border-top: 1px solid var(--ink); padding-top: 18px; color: var(--muted); }
.breadcrumb { background-color: transparent !important; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .82rem; margin-bottom: 14px; padding: 0; }
.breadcrumb a:hover { color: var(--brand); }

.site-footer { margin-top: 100px; border-top: 1px solid var(--line); background: #e9e1d2; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding: 54px 0 34px; }
.footer-brand h2 { font-family: var(--serif); font-size: 2rem; margin: 0 0 12px; }
.footer-brand p { color: var(--muted); max-width: 550px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; align-content: start; }
.footer-nav a { padding: 6px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; border-top: 1px solid rgba(80, 63, 40, .14); color: var(--muted); font-size: .8rem; }

.line-float { position: fixed; right: 22px; bottom: 22px; z-index: 1000; display: inline-flex; align-items: center; gap: 10px; padding: 10px 15px 10px 10px; border-radius: 999px; background: #06c755; color: #fff; box-shadow: 0 12px 28px rgba(0, 0, 0, .18); font-weight: 800; transition: .2s ease; }
.line-float:hover { transform: translateY(-2px); }
.line-float-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #06c755; font-weight: 900; }
.line-float-label { white-space: nowrap; }

@media (max-width: 900px) {
	.header-row { grid-template-columns: 1fr auto; }
	.header-cta { display: none; }
	.menu-toggle { display: inline-grid; place-items: center; }
	.site-nav { position: absolute; width: 100vw; top: 76px; left: 0; right: 0; display: none; flex-direction: column; padding: 14px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
	.site-nav.is-open { display: flex; }
	.page-hero__grid { grid-template-columns: 1fr; gap: 30px; }
	.footer-main { grid-template-columns: 1fr; gap: 30px; }
	.site-header { position: relative; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; max-height: calc(100vh - 80px); padding: 12px 20px 18px; overflow-y: auto; background: var(--bg); border-top: 1px solid rgba(49, 40, 30, .1); box-shadow: 0 15px 30px rgba(35, 28, 21, .08); z-index: 990; }
	.site-nav.is-open { display: block; }
	.site-nav__list { display: block; }
	.site-nav__item { position: relative; width: 100%; border-bottom: 1px solid rgba(49, 40, 30, .08); }
	.site-nav__item > a { width: 100%; min-height: 48px; padding: 0 48px 0 4px; border-radius: 0; }
	.site-nav__item:has(> .subnav) > a::after, .site-nav__item:has(> .subOption) > a::after { display: none; }
	.header-cta { display: none; }
	.nav-sub-toggle, .flyout-sub-toggle { display: flex; }
	.subnav, .sub2nav, .sub3nav { display: none; position: static; min-width: 0; width: 100%; margin: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
	.subnav.is-open, .sub2nav.is-open, .sub3nav.is-open { display: block; }
	.subnav { padding: 3px 0 9px 12px; }
	.sub2nav { padding: 2px 0 7px 13px; }
	.sub3nav { padding: 2px 0 6px 13px; }
	.subnav::before, .sub2nav::before, .sub3nav::before { display: none; }
	.subnav > li, .sub2nav > li { position: relative; }
	.subnav a, .sub2nav a, .sub3nav a { min-height: 42px; padding: 9px 46px 9px 10px; }
	.subnav a:hover, .sub2nav a:hover, .sub3nav a:hover { padding-left: 14px; }
	.subnav > li:has(> .sub2nav) > a::after, .sub2nav > li:has(> .sub3nav) > a::after { display: none; }
	.subOption { display: none; position: static; min-width: 0; width: 100%; padding: 3px 0 9px 12px; background: transparent; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
	.subOption.is-open { display: block; }
	.subOption::before { display: none; }
	.sub2Option, .sub3Option { display: none; }
	.sub2Option.is-open, .sub3Option.is-open { display: block; }
	.sub2Title, .sub3Title { min-height: 44px; }
	.sub2Title.bo, .sub3Title.bo { padding-right: 46px; }
	.sub2Title.bo > :last-child:not(p), .sub3Title.bo > :last-child:not(p) { width: 46px; }
}
@media (max-width: 768px) {
	.container { width: min(calc(100% - 28px), var(--container)); }
	.brand-copy small { display: none; }
	.line-float { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); padding: 8px; }
	.line-float-label { display: none; }
	.footer-bottom { flex-direction: column; }
}
@media (max-width: 480px) {
	.site-nav { padding-inline: 16px; }
	.subnav, .subOption { padding-left: 8px; }
	.sub2nav, .sub2Option { margin-left: 8px; }
	.sub3nav, .sub3Option { margin-left: 8px; }
	.subnav a, .sub2nav a, .sub3nav a, .sub2Title p > a, .sub3Title p > a { font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
	.subnav, .sub2nav, .sub3nav, .subOption, .site-nav a, .sub2Title, .sub3Title, .nav-sub-toggle, .flyout-sub-toggle { transition: none; }
}