/*
Theme Name: 健美先生搬家 南屯店
Theme URI: https://0800567890.com/
Author: 小店軍師
Description: 健美先生搬家 南屯店官網主題。取代 Astra＋Elementor，版面參考台中排名前段搬家公司網站的常見做法，照片全部用健美先生自己的車隊與作業現場。
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: jm-nantun
*/

/* ---------- 色彩與基本設定（取自 DESIGN.md） ---------- */
:root {
	--red: #d13f3f;
	--red-l: #ed5b5b;
	--red-d: #990909;
	--yellow: #f5c014;
	--ink: #1b1a1a;
	--text: #3a3a3a;
	--mute: #6b6363;
	--line: #e6e1e1;
	--bg2: #f5f5f5;
	--tint: #fdf1f1;
	--green: #00843b;
	--wrap: 1200px;
	--radius: 8px;
	--font: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-d); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--post { max-width: 840px; }
.ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; }

/* ---------- 按鈕 ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 20px; border-radius: 6px; border: 2px solid transparent;
	font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none;
	transition: background .15s, color .15s, border-color .15s;
}
.btn .ico { width: 26px; height: 26px; }
.btn span { display: flex; flex-direction: column; }
.btn small { font-size: 12px; font-weight: 600; opacity: .9; letter-spacing: .05em; }
.btn-tel { background: var(--red); color: #fff; }
.btn-tel:hover { background: var(--red-d); color: #fff; }
.btn-line { background: var(--green); color: #fff; }
.btn-line:hover { background: #006a2f; color: #fff; }
.btn-ghost { background: #fff; color: var(--red); border-color: var(--red); }
.btn-ghost:hover { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 15px; gap: 6px; }
.btn-sm .ico { width: 20px; height: 20px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-btns--light .btn-tel { background: #fff; color: var(--red); }
.cta-btns--light .btn-tel:hover { background: var(--yellow); color: var(--ink); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.link-more .ico { width: 18px; height: 18px; transition: transform .15s; }
.link-more:hover .ico { transform: translateX(3px); }

/* ---------- 頂部資訊列與頁首 ---------- */
.topbar { background: var(--ink); color: #d9d4d4; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; color: var(--yellow); }
.topbar a { color: var(--yellow); font-weight: 700; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: 0 0 auto; display: block; }
.brand__logo { height: 54px; width: auto; }
.brand__text { font-weight: 900; font-size: 20px; color: var(--ink); }
.site-nav { flex: 1 1 auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__item > a { display: block; padding: 26px 12px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 16px; white-space: nowrap; }
.menu__item > a:hover, .menu__item.is-active > a { color: var(--red); }
.menu__item.is-active > a { box-shadow: inset 0 -3px 0 var(--red); }
.sub-toggle { display: none; }
.submenu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 8px 20px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 8px 18px; color: var(--text); text-decoration: none; font-size: 15px; }
.submenu a:hover, .submenu a[aria-current] { background: var(--tint); color: var(--red); }
.header__cta { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header__tel { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.header__tel > .ico { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--red); color: #fff; }
.header__tel span { display: flex; flex-direction: column; line-height: 1.15; }
.header__tel strong { font-size: 22px; font-weight: 900; letter-spacing: .02em; }
.header__tel small { font-size: 12px; color: var(--mute); }
.nav-toggle { display: none; }

/* ---------- 首頁：主視覺 ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); background: var(--ink); min-height: 520px; }
.hero__panel { order: 1; display: flex; align-items: center; justify-content: flex-end; padding: 56px 48px 96px 20px; color: #fff; }
.hero__text { max-width: 520px; width: 100%; }
.hero__media { order: 2; position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.hero__kicker { display: inline-block; color: var(--ink); background: var(--yellow); font-weight: 800; font-size: 14px; padding: 4px 10px; border-radius: 3px; margin-bottom: 18px; }
.hero__title { color: #fff; font-size: 54px; font-weight: 900; letter-spacing: .06em; margin: 0 0 14px; line-height: 1.2; }
.hero__sub { margin: 0 0 22px; display: flex; flex-direction: column; gap: 2px; }
.hero__sub span { font-size: 22px; font-weight: 700; padding-left: 14px; border-left: 4px solid var(--red-l); }
.hero__chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; padding: 6px 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; }
.hero__chips .ico { color: var(--yellow); width: 18px; height: 18px; }

/* 服務快速入口卡 */
.quick { position: relative; z-index: 2; margin-top: -64px; }
.quick__card { background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 22px 24px 18px; }
.quick__title { font-size: 18px; margin: 0 0 12px; padding-left: 10px; border-left: 4px solid var(--red); }
.quick__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.quick__grid a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; text-align: center; transition: background .15s; }
.quick__grid a:hover { background: var(--tint); color: var(--red); }
.quick__grid .ico { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--tint); color: var(--red); stroke-width: 1.6; }
.quick__grid--page { grid-template-columns: repeat(4, 1fr); margin: 24px 0; }

/* 保障列 */
.trust { padding: 28px 0 8px; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 12px; padding: 8px 18px; border-left: 1px solid var(--line); }
.trust__item:first-child { border-left: 0; }
.trust__item .ico { width: 42px; height: 42px; color: var(--red); }
.trust__item p { margin: 0; font-size: 14px; color: var(--mute); line-height: 1.5; }
.trust__item strong { display: block; color: var(--ink); font-size: 17px; }

/* ---------- 區塊共用 ---------- */
.sec { padding: 72px 0; }
.sec--gray { background: var(--bg2); }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: #e9e4e4; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec h2 { font-size: 34px; font-weight: 900; letter-spacing: .02em; }
.sec__lead { max-width: 760px; color: var(--mute); }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.sec__head h2 { margin: 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 800; font-size: 15px; letter-spacing: .12em; margin: 0 0 6px; }
.kicker::before { content: ""; width: 22px; height: 3px; background: currentColor; }
.kicker--light { color: var(--yellow); }

/* 關於 */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.about__lead { color: var(--red); font-size: 22px; font-weight: 800; }
.about__call { margin: 24px 0 18px; padding: 16px 20px; background: var(--tint); border-left: 6px solid var(--red); border-radius: 0 8px 8px 0; }
.about__call-label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; color: var(--red); font-size: 20px; }
.about__call-num { display: block; font-size: 42px; font-weight: 900; color: var(--ink); text-decoration: none; line-height: 1.2; letter-spacing: .03em; }
.about__call-sub { margin: 4px 0 0; font-size: 15px; }
.about__photo { position: relative; margin: 0; }
.about__photo > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.about__mascot { position: absolute; left: -36px; bottom: -28px; width: 170px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }

/* 現場實拍 */
.photos__grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.photos__grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 8px; }
.photos__grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.photos__grid figure:hover img { transform: scale(1.04); }
.photos__grid figcaption { position: absolute; left: 0; bottom: 0; background: rgba(27,26,26,.86); color: var(--yellow); font-size: 14px; font-weight: 700; padding: 4px 10px; border-top-right-radius: 6px; }

/* 精緻搬家 */
.fine__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.fine__photo { margin: 0; position: sticky; top: 100px; }
.fine__photo img { border-radius: 10px; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 22px 0; }
.point { display: flex; gap: 12px; }
.point > .ico { width: 44px; height: 44px; padding: 9px; background: #fff; border-radius: 50%; color: var(--red); box-shadow: 0 2px 6px rgba(209,63,63,.15); }
.point h3 { font-size: 19px; margin: 4px 0 4px; }
.point p { margin: 0; font-size: 15px; }
.safe { background: #fff; border-radius: 10px; padding: 20px 22px; margin-bottom: 20px; border: 1px solid #f1d6d6; }
.safe h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; }
.safe h3 .ico { color: var(--red); }
.safe dl { margin: 0; display: grid; gap: 8px; }
.safe dl div { display: grid; grid-template-columns: 6em 1fr; gap: 6px; }
.safe dt { font-weight: 800; color: var(--ink); }
.safe dd { margin: 0; }

/* 服務卡 */
.services__grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.svc:hover { box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.svc__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc__body { padding: 16px 18px 18px; }
.svc h3 { font-size: 20px; margin: 0 0 6px; }
.svc h3 a { color: var(--ink); text-decoration: none; }
.svc h3 a::after { content: " ›"; color: var(--red); }
.svc h3 a:hover { color: var(--red); }
.svc p { margin: 0; font-size: 15px; color: var(--mute); }
.services__grid--compact { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.services__grid--compact .svc__img img { aspect-ratio: 16 / 10; }
.services__grid--compact h3 { font-size: 17px; margin: 0; }

/* 跨縣市＋倉儲 */
.duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.duo__card figure { margin: 0; }
.duo__card figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.duo__body { padding: 22px 24px 24px; }
.duo__body h2 { font-size: 28px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--red); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks strong { display: block; color: var(--ink); font-size: 17px; }

/* 費用 */
.price__grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price__grid li { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; background: #fff; }
.price__grid .ico { width: 40px; height: 40px; color: var(--red); margin-bottom: 8px; }
.price__grid h3 { font-size: 19px; margin: 0 0 4px; }
.price__grid p { margin: 0; color: var(--mute); font-size: 15px; }
.price__more { margin: 24px 0 0; }

/* 流程 */
.steps__list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps__list li { border-top: 3px solid var(--yellow); padding-top: 14px; }
.steps__no { display: block; font-size: 40px; font-weight: 900; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.steps__list h3 { font-size: 20px; margin: 0 0 4px; }
.steps__list p { margin: 0; color: #cfc9c9; font-size: 15px; }

/* 文章卡 */
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-post { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card-post__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-post__ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; background: var(--tint); color: var(--red); }
.card-post__ph .ico { width: 48px; height: 48px; }
.card-post__body { padding: 14px 16px 16px; }
.card-post__title { font-size: 17px; line-height: 1.5; margin: 8px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-post__title a { color: var(--ink); text-decoration: none; }
.card-post__title a:hover { color: var(--red); }
.card-post__meta { margin: 0; font-size: 13px; color: var(--mute); }
.tag { display: inline-block; background: var(--tint); color: var(--red); font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-decoration: none; }

/* 聯絡 */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact__list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact__list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 17px; }
.contact__list .ico { color: var(--red); margin-top: 4px; }
.contact__list a { color: var(--ink); font-weight: 700; }
.contact__google { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-weight: 700; color: var(--ink); }
.stars { display: inline-flex; color: var(--yellow); }
.stars .ico { width: 20px; height: 20px; }
.contact__branch { font-size: 15px; color: var(--mute); }
.contact__map { min-height: 320px; border-radius: 10px; overflow: hidden; background: var(--bg2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.contact__info .cta-btns { margin: 18px 0; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.contact-card .ico { width: 34px; height: 34px; flex: 0 0 auto; color: var(--red); }
.contact-card__label { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--mute); }
.contact-card a { font-size: 18px; font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red); }
.map-load { width: 100%; height: 100%; min-height: 320px; border: 0; background: var(--bg2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font: inherit; color: var(--ink); font-weight: 800; }
.map-load .ico { width: 44px; height: 44px; color: var(--red); }
.map-load small { font-weight: 400; color: var(--mute); }
.map-load:hover { background: #ece9e9; }

/* ---------- 頁尾 ---------- */
.prefooter { background: var(--red); color: #fff; }
.prefooter__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.prefooter__text { display: flex; align-items: center; gap: 18px; }
.prefooter__mascot { width: 120px; margin: -46px 0 -26px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.prefooter__title { font-size: 28px; font-weight: 900; margin: 0; color: #fff; }
.prefooter__sub { margin: 2px 0 0; color: #ffe9e9; }
.site-footer { background: var(--ink); color: #c9c3c3; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer__name { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.footer__nap { list-style: none; padding: 0; margin: 0 0 14px; }
.footer__nap li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 6px; }
.footer__nap .ico { color: var(--yellow); margin-top: 5px; width: 16px; height: 16px; }
.site-footer a { color: #e9e4e4; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer__h { color: var(--yellow); font-weight: 800; font-size: 16px; margin: 0 0 10px; }
.footer__h--sp { margin-top: 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 6px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: #2c2a2a; align-items: center; justify-content: center; }
.footer__social a:hover { background: var(--red); color: #fff; }
.ico-youtube .yt-play { fill: #2c2a2a; }
.footer__social a:hover .yt-play { fill: var(--red); }
.footer__bottom { border-top: 1px solid #2f2c2c; font-size: 13px; }
.footer__bottom p { margin: 0; padding: 14px 0; color: #9d9696; }

.float-cta { position: fixed; right: 18px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.float-cta a { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.float-cta a .ico { width: 30px; height: 30px; }
.float-cta__line { background: var(--green); }
.float-cta__tel { background: var(--red); }
.float-cta a:hover { color: #fff; transform: scale(1.06); }
.mobile-bar { display: none; }

/* ---------- 內頁共用 ---------- */
.page-head, .post-head { background: var(--bg2); padding: 22px 0 28px; border-bottom: 1px solid var(--line); }
.page-head__title, .post-head__title { font-size: 34px; font-weight: 900; margin: 8px 0 6px; color: var(--ink); line-height: 1.35; }
.page-head__sub { color: var(--mute); margin: 0 0 14px; }
.page-head--service { background: var(--ink); border-bottom: 4px solid var(--red); color: #e9e4e4; }
.page-head--service .page-head__title { color: #fff; }
.page-head--service .page-head__sub { color: var(--yellow); font-weight: 700; }
.page-head--service .crumbs, .page-head--service .crumbs a { color: #bdb6b6; }
.post-head__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 14px; color: var(--mute); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--mute); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.page-body { padding-top: 32px; padding-bottom: 56px; }
.page-body--service .entry-content { max-width: 900px; margin: 0 auto; }
.list-body { padding-top: 28px; padding-bottom: 56px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; }
.cat-tabs a { flex: 0 0 auto; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 15px; background: #fff; }
.cat-tabs a[aria-current], .cat-tabs a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; justify-content: center; }
.pagination .page-numbers { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--text); }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }
.empty { font-size: 17px; }
.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.search-submit { padding: 10px 16px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }

/* ---------- 文章內文 ---------- */
.entry { padding: 28px 0 8px; }
.entry-cover { margin: 0 0 24px; }
.entry-cover img { width: 100%; border-radius: 10px; }
.entry-content { font-size: 17px; line-height: 1.9; color: #333; overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 26px; font-weight: 900; margin: 2.2em 0 .8em; padding: 4px 0 4px 14px; border-left: 6px solid var(--red); scroll-margin-top: 96px; }
.entry-content h3 { font-size: 21px; margin: 1.8em 0 .6em; scroll-margin-top: 96px; }
.entry-content h4 { font-size: 18px; margin: 1.5em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li > ul, .entry-content li > ol { margin-top: .45em; }
.entry-content strong, .entry-content b { color: var(--ink); }
.entry-content img { border-radius: 8px; margin: 1.4em auto; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figure img { margin: 0 auto; }
.entry-content figcaption { text-align: center; font-size: 14px; color: var(--mute); margin-top: 6px; }
.entry-content blockquote { margin: 1.6em 0; padding: 14px 18px; background: #fff8e1; border-left: 5px solid var(--yellow); border-radius: 0 8px 8px 0; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; line-height: 1.6; }
.entry-content caption { caption-side: top; text-align: left; font-weight: 800; color: var(--ink); padding-bottom: 6px; }
.entry-content th { background: var(--ink); color: #fff; font-weight: 700; text-align: left; padding: 10px 12px; border: 1px solid #333; }
.entry-content td { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.entry-content tbody tr:nth-child(even) td { background: #faf7f7; }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px; }
.entry-content .wp-caption { max-width: 100%; }
.page-body .entry-content h1 { font-size: 32px; font-weight: 900; margin: 0 0 .6em; }
.entry-content p:empty { display: none; }
.entry-content .img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 1.4em 0; }
.entry-content .img-row img { margin: 0; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry-content .faq-q { position: relative; margin: 1.8em 0 .6em; padding: 11px 14px 11px 16px; background: var(--tint); border-left: 4px solid var(--red); border-radius: 0 8px 8px 0; color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1.6; }
.entry-content .faq-q.is-q { padding-left: 52px; border-left: 0; border-radius: 8px; }
.entry-content .faq-q.is-q::before { content: "Q"; position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 15px; font-weight: 900; line-height: 28px; text-align: center; }
.entry-content .inline-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; margin: 1.4em 0 2em; }
.entry-content .inline-cards img { margin: 0; border-radius: 0; }
.entry-content .inline-cards .card-post__title { font-size: 16px; font-weight: 800; margin: 6px 0 4px; }
.entry-content .inline-cards .tag { font-size: 12px; }
.entry-content .inline-cards:has(> .card-post:only-child) { grid-template-columns: 1fr; position: relative; padding-top: 28px; }
.entry-content .inline-cards:has(> .card-post:only-child)::before { content: "延伸閱讀"; position: absolute; top: 0; left: 0; font-size: 14px; font-weight: 800; color: var(--red); letter-spacing: .08em; }
.entry-content .inline-cards > .card-post:only-child { flex-direction: row; }
.entry-content .inline-cards > .card-post:only-child .card-post__img { flex: 0 0 36%; }
.entry-content .inline-cards > .card-post:only-child .card-post__img img { height: 100%; }
@media (min-width: 601px) {
	.entry-content .inline-cards:has(> .card-post:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.entry-content .inline-cards > .card-post:only-child { flex-direction: column; }
}

.toc { margin: 1.4em 0 2em; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 20px; }
.toc summary { cursor: pointer; font-weight: 900; color: var(--ink); font-size: 18px; }
.toc ol { margin: 10px 0 4px; padding-left: 1.4em; font-size: 16px; line-height: 1.7; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--red); text-decoration: underline; }

.entry-box { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; margin: 24px 0 56px; padding: 22px 24px; background: var(--tint); border: 2px solid #f3c4c4; border-radius: 12px; }
.entry-box__mascot { width: 150px; }
.entry-box__title { font-size: 23px; font-weight: 900; color: var(--ink); margin: 0 0 4px; }
.entry-box__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 14px; }
.entry-box__links a { display: inline-flex; align-items: center; font-weight: 800; text-decoration: none; }
.entry-box__links .ico { width: 18px; height: 18px; }
.related h2 { font-size: 28px; }

/* ---------- 響應式 ---------- */
@media (max-width: 1180px) {
	.menu__item > a { padding: 26px 8px; font-size: 15px; }
	.header__tel small { display: none; }
	.header__tel strong { font-size: 19px; }
}
@media (max-width: 1024px) {
	.header__cta .btn-line { display: none; }
	.quick__grid { grid-template-columns: repeat(4, 1fr); }
	.hero__title { font-size: 44px; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.services__grid--compact { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	body { padding-bottom: 58px; }
	.topbar .topbar__note { display: none; }
	.topbar .topbar__addr { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
	.topbar .topbar__addr .ico { display: inline-block; vertical-align: -2px; margin-right: 4px; }
	.header__in { min-height: 64px; gap: 12px; }
	.brand__logo { height: 44px; }
	.header__cta { margin-left: auto; }
	.header__tel > .ico { display: none; }
	.nav-toggle { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 6px 10px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
	.nav-toggle .ico { width: 22px; height: 22px; }
	.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav-toggle { order: 3; }
	.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.12); max-height: calc(100vh - 120px); overflow-y: auto; }
	.nav-open .site-nav { display: block; }
	.menu { flex-direction: column; gap: 0; }
	.menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.menu__item > a { flex: 1; padding: 14px 20px; }
	.menu__item.is-active > a { box-shadow: none; }
	.sub-toggle { display: inline-flex; border: 0; background: none; padding: 14px 18px; cursor: pointer; color: var(--ink); }
	.sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
	.submenu { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; border: 0; box-shadow: none; background: var(--bg2); padding: 4px 0; }
	.sub-open .submenu { display: block; }
	.has-sub:hover .submenu { display: none; }
	.sub-open:hover .submenu { display: block; }
	.submenu a { padding: 10px 32px; }

	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero__media { order: 1; aspect-ratio: 16 / 9; }
	.hero__panel { order: 2; padding: 26px 20px 84px; justify-content: flex-start; }
	.hero__title { font-size: 38px; }
	.hero__sub span { font-size: 19px; }
	.quick { margin-top: -56px; }
	.quick__card { padding: 16px 12px 10px; }
	.quick__grid a { font-size: 14px; padding: 10px 2px; }
	.quick__grid .ico { width: 48px; height: 48px; padding: 11px; }
	.trust__grid { grid-template-columns: 1fr 1fr; gap: 12px 0; }
	.trust__item:nth-child(3) { border-left: 0; }
	.sec { padding: 52px 0; }
	.sec h2 { font-size: 27px; }
	.about__grid, .fine__grid, .duo__grid, .contact__grid { grid-template-columns: 1fr; gap: 32px; }
	.about__photo { max-width: 420px; margin: 0 auto 20px; }
	.about__mascot { left: -10px; width: 130px; }
	.fine__photo { position: static; max-width: 420px; }
	.photos__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.services__grid, .posts__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.price__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.steps__list { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
	.prefooter__in { flex-direction: column; align-items: flex-start; }
	.prefooter__mascot { width: 92px; margin: -36px 0 -10px; }
	.prefooter__title { font-size: 23px; }
	.float-cta { display: none; }
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -2px 10px rgba(0,0,0,.15); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; }
	.mobile-bar .ico { width: 24px; height: 24px; }
	.mobile-bar__tel { background: var(--red); }
	.mobile-bar__line { background: var(--green); }
	.page-head__title, .post-head__title { font-size: 27px; }
	.entry-content { font-size: 17px; }
	.entry-content h2 { font-size: 23px; }
	.entry-content h3 { font-size: 20px; }
	.entry-content table { display: block; overflow-x: auto; white-space: normal; }
	.entry-box { grid-template-columns: 1fr; text-align: left; }
	.entry-box__mascot { width: 110px; }
	.services__grid--compact { grid-template-columns: 1fr 1fr; }
	.sec__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
	.brand__logo { height: 38px; }
	.header__tel strong { font-size: 16px; }
	.hero__title { font-size: 34px; letter-spacing: .04em; }
	.hero__chips li { font-size: 13px; }
	.cta-btns .btn { flex: 1 1 100%; justify-content: center; }
	.services__grid, .posts__grid { grid-template-columns: 1fr; }
	.points { grid-template-columns: 1fr; }
	.price__grid { grid-template-columns: 1fr; }
	.about__call-num { font-size: 34px; }
	.footer__grid { grid-template-columns: 1fr; }
	.quick__grid--page { grid-template-columns: repeat(2, 1fr); }
	.safe dl div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* 合法證照（關於我們、聯絡我們） */
.license__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
@media (max-width: 900px) { .license__grid { grid-template-columns: 1fr; gap: 28px; } }
.license__list { margin: 18px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.license__list > div { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); border-top: 1px solid var(--line); }
.license__list > div:first-child { border-top: 0; }
.license__list dt { margin: 0; padding: 10px 14px; background: var(--bg2); font-weight: 700; color: var(--ink); }
.license__list dd { margin: 0; padding: 10px 14px; overflow-wrap: anywhere; }
@media (max-width: 480px) { .license__list > div { grid-template-columns: 1fr; } .license__list dt { padding-bottom: 4px; } .license__list dd { padding-top: 4px; } }
.license__check { font-size: 15px; color: var(--mute); }
.license__img { margin: 0; }
.license__img img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.license__img figcaption { margin-top: 8px; font-size: 14px; color: var(--mute); text-align: center; }
.contact-card__text { margin: 0; font-size: 18px; font-weight: 800; color: var(--ink); }
.footer__bottom .footer__legal { border-bottom: 1px solid #2f2c2c; }
.entry-box__lic { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--mute); }
.entry-box__lic .ico { width: 18px; height: 18px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }