
:root {
  --bg: #fbf8f3;
  --pane: #ffffff;
  --ink: #241318;
  --ink2: #5b4249;
  --ac: #7b1a33;
  --ac2: #5f1226;
  --ac-l: #f3e2e2;
  --on: #ffffff;
  --btn: #7b1a33;
  --btn2: #5f1226;
  --on-ac: #ffffff;
  --gold: #e9c4a0;
  --gold-t: #7d5426;
  --gold-line: #9c6b3a;
  --plaque: #ffffff;
  --mark: #1c1214;
  --mark-edge: #b08446;
  --plaque-frame: 3px double #9c6b3a;
  --line: rgba(36, 19, 24, .16);
  --gr: #1a0b10;
  --foot: #f6ebe6;
  --foot2: #d9c3bf;
  --foot-a: #e9c4a0;
  --hash-bg: #3a1820;
  --glow: none;
  --barh: 64px;
}
/* 다크(깊은 검정 + 은은한 네온 골드, 분홍 0 — 강조 글 샴페인 골드, 채운 버튼 버건디 면 + 흰 글자): 같은 토큰 블록을 [data-theme=dark] 와 시스템 다크(system·JS 끔) 두 곳에 건다 */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d0a0b; --pane: #171214; --ink: #f3ebe7; --ink2: #c4b3b0; --ac: #ecc9a3; --ac2: #f6dcc0; --ac-l: #2a1d14; --on: #ffffff; --btn: #8e1f3f; --btn2: #a3264a; --on-ac: #1a0e05;
  --gold: #ecc9a3; --gold-t: #ecc9a3; --gold-line: #b88a5a; --plaque: #160a0e; --mark: #ecc9a3; --mark-edge: #ecc9a3;
  --plaque-frame: 3px double #b88a5a; --line: rgba(243, 235, 231, .16);
  --gr: #050304; --foot: #f3e8e4; --foot2: #cdb9b5; --foot-a: #ecc9a3; --hash-bg: #2a1218;
  --glow: drop-shadow(0 0 2px rgba(236, 201, 163, .75)) drop-shadow(0 0 10px rgba(236, 201, 163, .35));
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"], :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0d0a0b; --pane: #171214; --ink: #f3ebe7; --ink2: #c4b3b0; --ac: #ecc9a3; --ac2: #f6dcc0; --ac-l: #2a1d14; --on: #ffffff; --btn: #8e1f3f; --btn2: #a3264a; --on-ac: #1a0e05;
    --gold: #ecc9a3; --gold-t: #ecc9a3; --gold-line: #b88a5a; --plaque: #160a0e; --mark: #ecc9a3; --mark-edge: #ecc9a3;
  --plaque-frame: 3px double #b88a5a; --line: rgba(243, 235, 231, .16);
    --gr: #050304; --foot: #f3e8e4; --foot2: #cdb9b5; --foot-a: #ecc9a3; --hash-bg: #2a1218;
    --glow: drop-shadow(0 0 2px rgba(236, 201, 163, .75)) drop-shadow(0 0 10px rgba(236, 201, 163, .35));
  }
}
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
  scroll-padding-bottom: calc(var(--barh) + 16px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  background: var(--bg);
}
html:lang(ja) { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif; }
html:lang(zh) { font-family: system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* ko·ja keep-all 은 반드시 overflow-wrap anywhere 와 함께 */
html:lang(ko) body, html:lang(ja) body { word-break: keep-all; overflow-wrap: anywhere; }
/* ja 본문은 구 단위 줄바꿈(Chrome 계열 auto-phrase, 모르는 브라우저는 무시) + 가타카나 낱말 nowrap 묶음(.nb, 12자 이하) */
html:lang(ja) :is(p, li, dd) { word-break: auto-phrase; overflow-wrap: anywhere; }
.nb { white-space: nowrap; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--barh) + env(safe-area-inset-bottom, 0px));
}
[hidden] { display: none !important; }
a { color: var(--ac); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
html:lang(ko) :is(h1, h2, h3), html:lang(ja) :is(h1, h2, h3) { word-break: keep-all; overflow-wrap: anywhere; }
.pn9-h1, .pn9-h2, .pn9-h3, .pn9-brand, .pn9-rate-v, .pn9-foot-name {
  font-family: "Noto Serif KR", "AppleMyungjo", "Nanum Myeongjo", "Hiragino Mincho ProN", "Songti SC", "Yu Mincho", Georgia, serif; }
.pn9-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pn9-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pn9-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 4px; text-decoration: none; }
.pn9-skip:focus { top: 8px; }
.pn9-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 18px; }

/* ---------- D3: 위 최소 줄(고정 아님) ---------- */
.pn9-head { border-bottom: 1px solid var(--line); }
.pn9-head-in { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; max-width: 1160px; margin: 0 auto; padding: 2px 8px 2px 18px; }
.pn9-brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; margin-right: auto; color: var(--ac); font-size: 17px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.pn9-topnav { display: none; }
.pn9-lang { display: flex; flex-wrap: wrap; }
.pn9-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 6px; color: var(--ink2); font-size: 12.5px; letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.pn9-lang a[aria-current] { color: var(--gold-t); font-weight: 700; }
.pn9-head-tel { display: none !important; }

/* ---------- 첫 화면(A5): 골드 필기체 P9 명판 + 상호·업종·지역·연락 ---------- */
.pn9-hero { padding: 14px 0 0; }
.pn9-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; }
/* 명판(mail 7127 + 설 보정): 라이트 = 흰 패널 + 짙은 잉크 붓펜 필기체, 다크 = 깊은 검정 + 골드 네온 필기체. 테는 두 판 모두 골드 가는 이중선. path 하나, 색은 토큰 */
.pn9-plaque { width: min(62vw, 230px); margin: 0 auto; padding: 4px 6px; border-radius: 4px; background: var(--plaque);
  border: var(--plaque-frame); box-shadow: 0 0 0 4px var(--plaque); }
.pn9-logo { display: block; width: 100%; height: auto; color: var(--mark); }
/* 붓펜 필기체(채운 면, path 하나): 라이트 짙은 잉크 + 아주 얇은 골드 외곽, 다크 골드 채움 + 네온 발광 */
.pn9-logo-fill { fill: currentColor; stroke: var(--mark-edge); stroke-width: .7; stroke-linejoin: round; paint-order: stroke; filter: var(--glow); }
.pn9-hero-txt { display: grid; gap: 8px; justify-items: center; text-align: center; min-width: 0; }
.pn9-kicker { margin: 0; color: var(--gold-t); font-size: 13.5px; font-weight: 600; letter-spacing: .14em; }
.pn9-h1 { margin: 0; max-width: 100%; font-size: clamp(48px, 15vw, 104px); font-weight: 700; line-height: 1.05; letter-spacing: .04em; color: var(--ac); }
.pn9-lead { margin: 0; max-width: 30em; font-size: clamp(16px, 4.2vw, 19px); line-height: 1.7; color: var(--ink2); }
.pn9-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; min-width: 0; max-width: 100%; }
.pn9-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; max-width: 100%; padding: 8px 22px;
  border: 1px solid var(--btn); border-radius: 4px; background: var(--btn); color: var(--on); font: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.3;
  text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.pn9-btn:hover { background: var(--btn2); border-color: var(--btn2); }
.pn9-btn-line { background: var(--pane); color: var(--ac); border-color: var(--ac); }
.pn9-btn-line:hover { background: var(--ac-l); color: var(--ac); }

.pn9-rule { height: 0; margin-top: 22px; border-top: 3px double var(--gold-line); }

/* ---------- 절: C2 7:5(1024+) · E2 모서리 4 + 얇은 테 ---------- */
.pn9-sec { padding: 34px 0 6px; }
.pn9-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 40px; align-items: start; }
.pn9-h2 { margin: 0 0 2px; font-size: clamp(25px, 6.6vw, 38px); line-height: 1.3; color: var(--ac); }
.pn9-h3 { margin: 10px 0 0; font-size: clamp(17px, 4.6vw, 20px); line-height: 1.4; color: var(--gold-t); }
.pn9-main, .pn9-side { min-width: 0; }
.pn9-side { display: grid; gap: 12px; align-content: start; }
.pn9-sec p { margin: 0; }
.pn9-rows { display: grid; gap: 12px; align-content: start; }
.pn9-big { font-size: clamp(16.5px, 4.4vw, 19px); line-height: 1.8; }
.pn9-big p { font-size: inherit; }
.pn9-card { min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--pane); }
.pn9-card .pn9-h3 { margin-top: 0; }
.pn9-card-call { display: flex; flex-wrap: wrap; gap: 10px; }
.pn9-flow { margin: 0; padding: 0; list-style: none; counter-reset: pn9f; display: grid; gap: 10px; }
.pn9-flow li { counter-increment: pn9f; position: relative; padding: 10px 12px 10px 48px; border: 1px solid var(--line); border-radius: 4px; background: var(--pane); }
.pn9-flow li::before { content: counter(pn9f); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--btn); color: var(--on);
  font-size: 14px; font-weight: 700; line-height: 26px; text-align: center; }
.pn9-line { padding: 12px 0 12px 16px; border-left: 3px solid var(--gold-line); font-size: clamp(17px, 4.6vw, 21px); font-weight: 600; line-height: 1.5; }
.pn9-note { color: var(--ink2); }
.pn9-upd-line { color: var(--ink2); font-size: 14px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.pn9-way .pn9-btn { justify-self: start; }
.pn9-vals { margin: 0 0 10px; padding: 0; list-style: none; font-size: 18px; font-weight: 600; }
.pn9-vals li { padding: 6px 0; border-bottom: 1px solid var(--line); }

.pn9-rate-cap { color: var(--ink2); font-size: 14px; letter-spacing: .04em; }
.pn9-rates { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pn9-rate { display: grid; gap: 2px; justify-items: center; padding: 14px 8px 12px; border: 1px solid var(--line); border-top: 3px solid var(--gold-line); border-radius: 4px; background: var(--pane); text-align: center; }
.pn9-rate-n { color: var(--ink2); font-size: 14px; font-weight: 600; letter-spacing: .06em; }
.pn9-rate-v { color: var(--ac); font-size: clamp(20px, 5.6vw, 26px); font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
/* FAQ */
.pn9-faq { display: grid; gap: 8px; margin-top: 8px; }
.pn9-qa { border: 1px solid var(--line); border-radius: 4px; background: var(--pane); padding: 0 16px; }
.pn9-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; font-weight: 600; line-height: 1.5; cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.pn9-qa summary::-webkit-details-marker { display: none; }
.pn9-qa summary::after { content: "+"; flex: none; width: 26px; height: 26px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--ac); font-size: 18px; line-height: 24px; text-align: center; }
.pn9-qa[open] summary::after { content: "\2212"; }
.pn9-qa p { margin: 0 0 14px !important; color: var(--ink2); }
/* 주소 줄(4언어 표기) + 찾아오는 길 부품(common/route C·noart): 색은 사이트 토큰 */
.pn9-addr { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--line); border-left: 3px solid var(--ac); border-radius: 4px; background: var(--pane); }
.pn9-addr-k { color: var(--ink2); font-size: 13px; }
.pn9-addr-v { font-weight: 700; }
.pn9-sec .rt { --rt-acc: var(--ac); --rt-ink: var(--ink); --rt-ink2: var(--ink2); --rt-paper: var(--pane); --rt-road: var(--ac-l); --rt-soft: var(--line); --rt-line: var(--line); --rt-on: var(--on-ac); }
.pn9-sec .rt-card { border-radius: 4px; }
/* 연락 */
.pn9-contact { display: grid; gap: 12px; align-content: start; }
.pn9-contact .pn9-cta { justify-content: flex-start; }
.pn9-telno { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 14px; color: var(--ink2); }
.pn9-telno a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(21px, 5.6vw, 26px); font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pn9-tgnote { color: var(--ink2); }

/* ---------- 푸터(깊은 버건디 검정) ---------- */
.pn9-foot { margin-top: 40px; background: var(--gr); color: var(--foot); padding: 34px 0 28px; font-size: 14px; line-height: 1.65; border-top: 3px double var(--gold-line); }
.pn9-foot a { color: var(--foot-a); }
.pn9-foot address { font-style: normal; display: grid; gap: 2px; color: var(--foot2); }
.pn9-foot-name { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .08em; }
/* g14-hit(dev mail 7283): 푸터 전화·문자 링크 누름 영역이 옆 줄 span 에 덮이지 않게 margin 0 + 위로 올림 */
.pn9-foot-tel { display: inline-block; padding: 11px 2px; margin: 0; position: relative; z-index: 1; }
.pn9-foot-nav { display: flex; flex-wrap: wrap; margin: 16px 0 12px -10px; }
.pn9-foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #fff; text-decoration: none; }
.pn9-foot-legal p { margin: 0 0 8px; color: var(--foot2); }
.pn9-foot-legal .pn9-adult { color: #fff; }
/* 해시 줄: 아이콘+라벨을 감싼 바깥 묶음만 nowrap(변주 자리 안에는 nowrap 없음) */
.pn9-proof-lab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; vertical-align: middle; }
.pn9-proof-lab .pn9-ic { width: 16px; height: 16px; color: var(--foot-a); }
.pn9-hash { display: inline-block; padding: 1px 8px; border-radius: 4px; background: var(--hash-bg); color: #f0f2f5; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; white-space: nowrap; vertical-align: middle; }
.pn9-hash-long { display: block; max-width: 100%; margin-top: 4px; padding: 6px 10px; white-space: normal; overflow-wrap: anywhere; word-break: break-all; line-height: 1.5; }
.pn9-proofs { display: none; }
.js .pn9-proofs { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 4px 0 0 -4px; }
.pn9-linkbtn { display: none; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--foot-a); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.js .pn9-linkbtn { display: inline-flex; }
.pn9-src { margin-top: 10px; }
.js .pn9-src { display: none; }
.js .pn9-src.pn9-src-open { display: block; }
.pn9-src summary { display: flex; align-items: center; min-height: 44px; font-weight: 600; cursor: pointer; }
.pn9-src h3, .pn9-dlg h3 { margin: 16px 0 6px; font-size: 15px; }
.pn9-src dl, .pn9-dlg dl { margin: 0; }
.pn9-src dl > div, .pn9-dlg dl > div { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.pn9-src dd, .pn9-dlg dd { margin: 0; min-width: 0; }
/* g14-hit(dev mail 7283): 누름 영역 padding 11 을 음수 margin 으로 겹치지 않는다 — 1440 에서 다음 행에 아래 모서리가 덮였다 */
.pn9-src dd a, .pn9-dlg dd a { display: inline-block; padding: 11px 0; margin: 0; position: relative; z-index: 1; }
.pn9-log { list-style: none; margin: 0; padding: 0; }
.pn9-log li { display: grid; grid-template-columns: minmax(0, 9.5em) minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.pn9-law { margin: 0; padding-left: 1.3em; }
.pn9-law li { margin: 0 0 6px; }

/* ---------- 다이얼로그(면, 모서리 4) ---------- */
.pn9-dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--pane); color: var(--ink); }
.pn9-dlg[open] { display: flex; flex-direction: column; }
.pn9-dlg::backdrop { background: rgba(12, 6, 8, .6); }
.pn9-dlg a { color: var(--ac); }
.pn9-dlg dt { color: var(--ink2); }
.pn9-dlg dl > div, .pn9-dlg .pn9-log li { border-top-color: var(--line); }
.pn9-dlg .pn9-hash { background: var(--ac-l); color: var(--ink); }
.pn9-dlg-top { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 20px; border-bottom: 1px solid var(--line); }
.pn9-dlg-top .pn9-ic { color: var(--ac); }
.pn9-dlg-top h2 { flex: 1; min-width: 0; margin: 0; font-size: 17px; }
.pn9-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 4px; background: none; color: var(--ink); cursor: pointer; }
.pn9-dlg-body { overflow: auto; padding: 4px 20px 14px; font-size: 14px; line-height: 1.6; }
.pn9-dlg-body > p { margin: 10px 0 0; color: var(--ink2); }
.pn9-dlg-foot { padding: 10px 20px 14px; border-top: 1px solid var(--line); }
.pn9-dlg-foot .pn9-btn { min-height: 44px; }

/* ---------- D3 하단 탭 = 연락 바(1023px 이하): 질문·문자 + 강조 「전화」 칸 ---------- */
.pn9-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.6fr); gap: 6px;
  min-height: var(--barh); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--pane); border-top: 1px solid var(--line); }
.pn9-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 52px; border-radius: 4px;
  color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; overflow-wrap: anywhere; }
.pn9-tab .pn9-ic { width: 20px; height: 20px; }
.pn9-tab-tel { flex-direction: row; gap: 8px; background: var(--btn); color: var(--on); font-size: 15.5px; font-weight: 700; }
.pn9-tab-tel:hover { background: var(--btn2); }

@media (min-width: 768px) {
  .pn9-rates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  html { scroll-padding-bottom: 16px; }
  body { padding-bottom: 0; }
  .pn9-bar { display: none; }
  .pn9-head-in { padding: 4px 32px 4px 40px; gap: 0 6px; }
  .pn9-brand { margin-right: 18px; }
  .pn9-topnav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
  .pn9-tl { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--ink); font-size: 14.5px; letter-spacing: .04em; text-decoration: none; }
  .pn9-tl:hover { color: var(--ac); }
  .pn9-head-tel { display: inline-flex !important; min-height: 44px; padding: 0 18px; font-size: 14.5px; }
  .pn9-wrap { padding: 0 40px; }
  .pn9-hero { padding: 20px 0 0; }
  .pn9-hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .pn9-plaque { order: 2; width: 100%; max-width: 320px; }
  .pn9-hero-txt { order: 1; justify-items: start; text-align: left; }
  .pn9-cta { justify-content: flex-start; }
  .pn9-sec { padding: 52px 0 8px; }
  .pn9-two { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .pn9-h2 { grid-column: 1 / -1; }
  .pn9-side { position: sticky; top: 16px; }
  .pn9-sec p { font-size: 17px; }
  .pn9-big, .pn9-big p { font-size: 19px; }
}
