@font-face { font-family: SGKai; src: url(assets/kai.woff2) format("woff2"); font-display: swap; }
:root { --ink: #33291f; --soft: #6d5f4e; --paper: #fbf5e6; --card: #fffdf6; --line: #e6d9bb; --red: #b8452f; --gold: #e0a92f; --night: #24305e; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: SGKai, "Kaiti TC", "BiauKai", "DFKai-SB", serif; font-size: 18px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
.zc { display: inline-flex; align-items: center; white-space: nowrap; line-height: 1.2; vertical-align: middle; }
.bp { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 1.9em; padding-right: .9em; margin-left: .04em; margin-right: .08em; font: 400 max(.5em, 12px)/1.08 "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif; letter-spacing: 0; }
.bp span { display: block; }
.bp .tone { position: absolute; right: 0; top: 50%; width: .9em; text-align: center; font-size: 1.3em; font-weight: 700; font-style: normal; line-height: 1; transform: translateY(-50%); }
.bp .qing { display: block; font-size: 1.35em; font-weight: 700; font-style: normal; line-height: .55; }
h1 .bp { font-size: 15px; }
h2 .bp, .c-t h3 .bp, .btn .bp { font-size: 12px; }
.hero { position: relative; overflow: hidden; background: var(--night); }
.hero picture img { width: 100%; height: 100svh; min-height: 560px; max-height: 960px; object-fit: cover; }
.hero-t { position: absolute; inset: 0 0 auto 0; padding: 7vh 16px 0; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(20,20,60,.75); }
.kick { margin: 0; font-size: 18px; }
h1 { margin: 2px 0; white-space: nowrap; font-size: clamp(40px, 12vw, 76px); line-height: 1.15; letter-spacing: .04em; }
.sub { margin: 0 0 16px; font-size: 20px; }
.hero-b { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn { display: inline-block; padding: 12px 24px; min-height: 48px; border-radius: 999px; background: var(--red); color: #fff; font-size: 20px; text-decoration: none; text-shadow: none; box-shadow: 0 3px 0 #7d2c1c; }
.btn.alt { background: #fffdf6; color: var(--ink); box-shadow: 0 3px 0 #bda877; }
.hero-l { position: absolute; left: 4%; bottom: 2%; width: clamp(110px, 30vw, 220px); }
main { max-width: 1040px; margin: auto; padding: 0 16px; }
section { padding: 36px 0 8px; }
h2 { margin: 0 0 6px; font-size: 30px; }
.lead { margin: 0 0 14px; color: var(--soft); }
.map { position: relative; max-width: 480px; margin: auto; border-radius: 16px; overflow: hidden; }
.pin { position: absolute; left: var(--mx); top: var(--my); width: 16%; aspect-ratio: 1; min-width: 56px; transform: translate(-50%, -50%); text-decoration: none; transition: transform .15s; }
.pin:hover, .pin:focus-visible { transform: translate(-50%, -50%) scale(1.12); }
.pin b { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font: bold 16px/26px sans-serif; text-align: center; }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 12px; }
.card { display: block; background: var(--card); border: 2px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card:hover, .card:focus-visible { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(80,60,20,.2); }
.pic { position: relative; aspect-ratio: 16/9; }
.pic > img:first-child { width: 100%; height: 100%; object-fit: cover; }
.bdg { position: absolute; right: 10px; bottom: -22px; width: 64px; }
.c-t { padding: 12px 14px 14px; }
.c-t small { color: var(--red); font-size: 16px; }
.c-t h3 { margin: 0; font-size: 25px; line-height: 1.5; }
.c-t p { margin: 0 0 8px; color: var(--soft); font-size: 17px; }
.bar { height: 8px; border-radius: 4px; background: #eee3c8; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); }
.st { font-size: 15px; color: var(--soft); }
.fam h2 { display: flex; align-items: center; gap: 8px; }
.fam h2 img { width: 56px; }
.tbl { overflow-x: auto; }
table { width: 100%; min-width: 480px; border-collapse: collapse; background: var(--card); font-size: 16px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
th { background: #f3e8cd; }
.note { color: var(--soft); font-size: 15px; }
footer { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 28px 16px; color: var(--soft); font-size: 15px; }
footer img { width: 72px; }
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) {
  .hero picture img { height: 72vh; min-height: 480px; }
  .hero-t { padding-top: 6vh; left: 40%; }
  .map { max-width: none; }
  .pin { left: var(--wx); top: var(--wy); width: 8.5%; }
}
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card, .pin { transition: none; } }
