
:root {
  --bg: #ffffff;
  --pane: #f3f3f3;
  --ink: #0b0b0b;
  --ink2: #474747;
  --ac: #d1101a;
  --ac2: #a80d15;
  --ac-l: #fde8e9;
  --on: #ffffff;
  --brass: #0b0b0b;
  --line: rgba(11, 11, 11, .16);
  --gr: #0b0b0b;
  --foot: #f2f2f2;
  --foot2: #c8c8c8;
  --foot-a: #ff7a7a;
  --hash-bg: #1c1c1c;
  --plate: #0b0b0b;
  --plate-ink: #ffffff;
  --plate-ac: #ff4b4b;
  --bulb: #fff7e0;
  --scrim: rgba(11, 11, 11, .84);
  --barh: 64px;
  --toph: 56px;
}
/* 다크(검정 간판의 밤): 같은 토큰 블록을 [data-theme=dark] 와 시스템 다크(system·JS 끔) 두 곳에 건다 */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0b; --pane: #171717; --ink: #f5f5f5; --ink2: #bdbdbd; --ac: #ff4b4b; --ac2: #ff7373; --ac-l: #3a1214; --on: #0b0b0b;
  --brass: #f5f5f5; --line: rgba(245, 245, 245, .18); --gr: #000000; --foot: #f2f2f2; --foot2: #c4c4c4; --foot-a: #ff8a8a; --hash-bg: #1c1c1c;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"], :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0b0b0b; --pane: #171717; --ink: #f5f5f5; --ink2: #bdbdbd; --ac: #ff4b4b; --ac2: #ff7373; --ac-l: #3a1214; --on: #0b0b0b;
    --brass: #f5f5f5; --line: rgba(245, 245, 245, .18); --gr: #000000; --foot: #f2f2f2; --foot2: #c4c4c4; --foot-a: #ff8a8a; --hash-bg: #1c1c1c;
  }
}
/* 전구 점(흰 점, 지름 약 4px, 14px 간격): 명판 테두리와 구역 구분 장식. 비텍스트 대비 = 점 #fff7e0 / 명판 #0b0b0b 18.4, 바탕 위 구분선은 점 대신 글자색 점 */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--toph) + 12px);
  scroll-padding-bottom: calc(var(--barh) + 16px);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  background: var(--bg);
}
html:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif; }
html:lang(zh) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, 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; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  padding-bottom: calc(var(--barh) + env(safe-area-inset-bottom, 0px));
}
[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: var(--ac); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
h1, h2, h3 { font-weight: 800; 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; }
.sj1-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sj1-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sj1-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; text-decoration: none; }
.sj1-skip:focus { top: 8px; }
.sj1-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- D1: 위 고정 바 ---------- */
.sj1-top { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.sj1-top-in { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 1200px; min-height: var(--toph); margin: 0 auto; padding: 4px 12px 4px 20px; }
.sj1-brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.sj1-topnav { display: none; }
.sj1-topr { display: flex; align-items: center; gap: 4px; min-width: 0; }
.sj1-top-tel { display: none !important; }

/* ---------- A3: 지역·업종 + 큰 상호 타이포 + 실내 한 줄 + 연락 버튼 + 가는 사진 띠 (T020: 줄넘기 줄 그림 0) ---------- */
.sj1-hero { padding: 8px 0 0; }  /* 머리 아래 빈 띠: 8px + 언어 링크 44px 칸 안 글 위 여백(약 14px) = 약 22px(24px 이하). clipcheck 1회차 26px WARN 반영 */
.sj1-hero-in { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.sj1-lang { display: flex; flex-wrap: wrap; margin: 0 0 0 -8px; }
.sj1-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; color: var(--ink2); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sj1-lang a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 3px; text-underline-offset: 6px; }
/* 상호 명판(간판 결): 검정 판 + 흰 굵은 고딕 상호 + 빨강 지역·업종 줄 + 흰 전구 점 테두리(::before, 장식이라 글 0) */
.sj1-plate { position: relative; display: grid; gap: 6px; justify-items: start; min-width: 0; max-width: 100%; padding: 22px 24px 24px; background: var(--plate); color: var(--plate-ink); }
.sj1-plate::before { content: ""; position: absolute; inset: 5px; pointer-events: none;
  background-image: radial-gradient(circle, var(--bulb) 0 2px, transparent 2.6px), radial-gradient(circle, var(--bulb) 0 2px, transparent 2.6px),
    radial-gradient(circle, var(--bulb) 0 2px, transparent 2.6px), radial-gradient(circle, var(--bulb) 0 2px, transparent 2.6px);
  background-size: 14px 8px, 14px 8px, 8px 14px, 8px 14px; background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
  background-position: 0 0, 0 100%, 0 0, 100% 0; }
.sj1-kicker { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .06em; color: var(--plate-ac); }
.sj1-h1 { margin: 0; max-width: 100%; font-size: clamp(64px, 24vw, 200px); font-weight: 900; line-height: .95; letter-spacing: -.02em; color: var(--plate-ink); }
html:not(:lang(ko)) .sj1-h1 { font-size: clamp(42px, 13vw, 160px); letter-spacing: -.01em; }
.sj1-lead { margin: 0; max-width: 36em; font-size: clamp(16px, 4.4vw, 20px); line-height: 1.6; color: var(--ink2); }
.sj1-when { margin: 0; padding: 6px 0 4px; border-top: 1px solid var(--brass); font-size: clamp(17px, 4.8vw, 22px); font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
/* T020 요금표(인원 | 금액): 카드 판 0(E3), 1px 구분선, 금액은 오른쪽 맞춤 숫자 고정폭 */
.sj1-price { width: 100%; min-width: 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sj1-price caption { caption-side: top; padding: 0 0 6px; text-align: left; font-size: 14px; font-weight: 700; color: var(--ink2); overflow-wrap: anywhere; }
.sj1-price th, .sj1-price td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: baseline; overflow-wrap: anywhere; }
.sj1-price thead th { padding-top: 6px; border-top: 2px solid var(--brass); font-size: 13px; font-weight: 700; color: var(--ink2); }
.sj1-price thead th + th, .sj1-price td { text-align: right; }
.sj1-price tbody th { font-size: 16px; font-weight: 600; }
.sj1-price td { font-size: clamp(18px, 4.8vw, 22px); font-weight: 800; color: var(--ink); }
.sj1-cta { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; max-width: 100%; }
.sj1-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 48px; max-width: 100%; padding: 8px 20px;
  border: 1.5px solid var(--ac); border-radius: 0; background: var(--ac); color: var(--on); font: inherit; font-size: 16px; font-weight: 700; line-height: 1.25;
  text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.sj1-btn:hover { background: var(--ac2); border-color: var(--ac2); }
.sj1-btn-line { background: transparent; color: var(--ac); }
.sj1-btn-line:hover { background: var(--ac-l); color: var(--ac); }
/* 가는 사진 띠: overflow hidden 상자 — 안의 캡션은 반드시 줄바꿈. 배경 = hero 주조색 */
.sj1-band { position: relative; margin: 18px 0 0; aspect-ratio: 2 / 1; overflow: hidden; }
.sj1-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 60%; }
.sj1-cap { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 2px 8px; background: var(--scrim); color: #fff; font-size: 12px; line-height: 1.5;
  white-space: normal; overflow-wrap: anywhere; }
.sj1-ph-hero { background: #2a2721; }
.sj1-ph-a { background: #2a251e; }
.sj1-ph-b { background: #312c25; }
.sj1-ph-c { background: #27201a; }

/* ---------- 구역: C3 모자이크(1024+ 12칸) · E3 구분선형 ---------- */
.sj1-sec { padding: 36px 0 4px; }
/* 구역 구분 장식: 전구 점 한 줄(글자색 점, 바탕과 비텍스트 대비 = 글자/바탕) */
.sj1-sec::before { content: ""; display: block; max-width: 1160px; height: 8px; margin: 0 auto 28px; padding: 0 20px;
  background: radial-gradient(circle, var(--ink) 0 2px, transparent 2.6px) 20px 50% / 14px 8px repeat-x; background-clip: content-box; }
.sj1-mos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.sj1-h2 { margin: 0 0 6px; font-size: clamp(24px, 6.4vw, 38px); line-height: 1.25; letter-spacing: -.01em; }
.sj1-blk { margin: 0; min-width: 0; padding: 16px 0; border-top: 1px solid var(--line); }
.sj1-sec p { margin: 0; }
.sj1-rows { display: grid; gap: 10px; align-content: start; }
.sj1-big { font-size: clamp(17px, 4.6vw, 21px); line-height: 1.6; font-weight: 600; }
.sj1-big p { font-size: inherit; }
.sj1-note { color: var(--ink2); }
.sj1-upd-line { color: var(--ink2); font-size: 14px; font-variant-numeric: tabular-nums; }  /* mail 7217: 요금표 갱신일 */
.sj1-hours { font-size: clamp(24px, 7vw, 42px); font-weight: 800; line-height: 1.3; border-top: 3px solid var(--brass); font-variant-numeric: tabular-nums; }
.sj1-gal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sj1-ph { position: relative; overflow: hidden; margin: 0; min-width: 0; }
.sj1-ph img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* FAQ */
.sj1-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; overflow-wrap: anywhere; }
.sj1-qa summary::-webkit-details-marker { display: none; }
.sj1-qa summary::after { content: "+"; flex: none; width: 28px; height: 28px; border: 1px solid var(--brass); text-align: center; font-size: 20px; font-weight: 500; line-height: 26px; color: var(--ac); }
.sj1-qa[open] summary::after { content: "\2212"; }
.sj1-qa p { margin: 8px 0 4px !important; color: var(--ink2); }
/* 찾아오는 길 부품(common/route, C·noart): 색은 사이트 토큰, E3 이라 카드 판 0 */
.sj1-sec .rt { --rt-acc: var(--ac); --rt-ink: var(--ink); --rt-ink2: var(--ink2); --rt-paper: var(--bg); --rt-road: var(--ac-l); --rt-soft: var(--line); --rt-line: var(--line); --rt-on: var(--on); }
.sj1-sec .rt-card { padding: 0; border: 0; background: transparent; }
/* 연락 */
.sj1-contact { display: grid; gap: 10px; align-content: start; }
.sj1-telno { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 15px; color: var(--ink2); }
.sj1-telno a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(22px, 6vw, 28px); font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: .02em; font-variant-numeric: tabular-nums; }

/* ---------- 푸터(검정 간판 면) ---------- */
.sj1-foot { margin-top: 40px; background: var(--gr); color: var(--foot); padding: 36px 0 30px; font-size: 14px; line-height: 1.6; }
.sj1-foot a { color: var(--foot-a); }
.sj1-foot address { font-style: normal; display: grid; gap: 2px; color: var(--foot2); }
.sj1-foot-name { color: #fff; font-size: 17px; font-weight: 800; }
/* T022: 피나인과 같은 푸터 링크 꼴이라 같은 처방(margin 0 + 위로 올림) */
.sj1-foot-tel { display: inline-block; padding: 11px 2px; margin: 0; position: relative; z-index: 1; }
.sj1-foot-nav { display: flex; flex-wrap: wrap; margin: 16px 0 12px -10px; }
.sj1-foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: #fff; text-decoration: none; }
.sj1-foot-legal p { margin: 0 0 8px; color: var(--foot2); }
.sj1-foot-legal .sj1-adult { color: #fff; }
/* 해시 줄: 아이콘+라벨을 감싼 바깥 묶음만 nowrap(변주 자리 안에는 nowrap 없음) */
.sj1-proof-lab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; vertical-align: middle; }
.sj1-proof-lab .sj1-ic { width: 16px; height: 16px; color: var(--foot-a); }
.sj1-hash { display: inline-block; padding: 1px 8px; 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; }
.sj1-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; }
.sj1-proofs { display: none; }
.js .sj1-proofs { display: flex; flex-wrap: wrap; gap: 0 14px; margin: 4px 0 0 -4px; }
.sj1-linkbtn { display: none; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--foot-a); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.js .sj1-linkbtn { display: inline-flex; }
.sj1-src { margin-top: 10px; }
.js .sj1-src { display: none; }
.sj1-src summary { display: flex; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; }
.sj1-src h3, .sj1-dlg h3 { margin: 16px 0 6px; font-size: 15px; }
.sj1-src dl, .sj1-dlg dl { margin: 0; }
.sj1-src dl > div, .sj1-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, .18); }
.sj1-src dd, .sj1-dlg dd { margin: 0; min-width: 0; }
/* T022 g14-hit(dev mail 7279): 1440 에서 증명 링크 아래 모서리가 다음 행에 덮였다 -> 음수 margin 을 없애 누름 영역이 제 행 안에 들어오게 한다(390 의 z-index 처방은 유지) */
.sj1-src dd a, .sj1-dlg dd a { display: inline-block; padding: 11px 0; margin: 0; }

.sj1-dlg dd a { position: relative; z-index: 1; }
.sj1-log { list-style: none; margin: 0; padding: 0; }
.sj1-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, .18); }
.sj1-law { margin: 0; padding-left: 1.3em; }
.sj1-law li { margin: 0 0 6px; }

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

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

@media (min-width: 768px) {
  .sj1-band { aspect-ratio: 3 / 1; }
  .sj1-mos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sj1-h2, .sj1-s12, .sj1-s7, .sj1-s6, .sj1-s5 { grid-column: 1 / -1; }
  .sj1-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  html { scroll-padding-bottom: 16px; }
  body { padding-bottom: 0; }
  .sj1-bar { display: none; }
  .sj1-top-in { padding: 4px 32px 4px 40px; }
  .sj1-topnav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  .sj1-tl { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; text-align: center; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
  .sj1-top-tel { display: inline-flex !important; min-height: 44px; padding: 0 18px; font-size: 15px; }
  .sj1-wrap { padding: 0 40px; }
  .sj1-hero { padding: 8px 0 0; }
  .sj1-band { aspect-ratio: 4 / 1; margin-top: 24px; }
  .sj1-sec { padding: 56px 0 8px; }
  .sj1-mos { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sj1-h2, .sj1-s12 { grid-column: span 12; }
  .sj1-s7 { grid-column: span 7; }
  .sj1-s6 { grid-column: span 6; }
  .sj1-s5 { grid-column: span 5; }
  .sj1-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .sj1-sec p { font-size: 17px; }
  .sj1-big, .sj1-big p { font-size: 20px; }
}
