
:root, .im3-light {
  --im3-bg: #f4ede2;
  --im3-bg-alt: #ece2d2;
  --im3-tile-a: #fffcf6;
  --im3-tile-b: #f8f1e6;
  --im3-ink: #23190f;
  --im3-ink-2: #5a4a3a;
  --im3-fill-1: #23190f0a;
  --im3-fill-2: #23190f12;
  --im3-fill-3: #23190f21;
  --im3-line: #23190f17;
  --im3-inset: #23190f0d;
  --im3-acc: #7a581b;
  --im3-acc-tint: #7a581b1f;
  --im3-num-bg: #2a1e15;
  --im3-num-fg: #f3e2bd;
  --im3-shadow-tile: 0 1px 2px #3b2a1a12;
}
.im3-dark {
  --im3-bg: #1d1510;
  --im3-bg-alt: #241a14;
  --im3-tile-a: #3a2c22;
  --im3-tile-b: #2c2119;
  --im3-ink: #f7efe3;
  --im3-ink-2: #d8cab6;
  --im3-fill-1: #fff4df0d;
  --im3-fill-2: #fff4df1a;
  --im3-fill-3: #fff4df2b;
  --im3-line: #fff4df1c;
  --im3-inset: #0e0a0780;
  --im3-acc: #dcb774;
  --im3-acc-tint: #dcb7742b;
  --im3-num-bg: #dcb774;
  --im3-num-fg: #23190f;
  --im3-shadow-tile: 0 8px 24px #00000040;
  color: var(--im3-ink);
  background: var(--im3-bg);
}
:root {
  /* 고정 색 */
  --im3-pt: #9a3b22;
  --im3-pt-hi: #ad4a2c;
  --im3-pt-deep: #6a2412;
  /* 선 = #d06a48 옅은 알파, 광원 = --im3-glow, 유리 테두리 = #e08a66 낮은 알파(모두 테라코타 계열. 다른 매장 색 잔재 0) */
  /* 히어로 천장 간접광 = 테라코타 계열의 옅은 빛. 데스크톱·모바일 같은 변수 */
  --im3-glow: #e08a6638;
  --im3-glow-0: #e08a6600;
  --im3-walnut: #1d1510;
  --im3-walnut-deep: #150f0b;
  --im3-ok: #3f8a4c;
  --im3-font: system-ui, -apple-system, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --im3-fs-xs: 13px; --im3-fs-sm: 15px; --im3-fs-base: 16px; --im3-fs-lg: 20px; --im3-fs-xl: 28px; --im3-fs-2xl: 36px; --im3-fs-3xl: 44px; --im3-fs-4xl: 56px;
  --im3-w-r: 400; --im3-w-s: 600; --im3-w-h: 800;
  --im3-track: -0.02em; --im3-label: 0.14em;
  --im3-r-sm: 4px; --im3-r-lg: 4px; --im3-r-full: 4px; /* E2: 각진 4px(둥근 24·알약 0) */
  --im3-shadow-cta: inset 0 1px 0 #ffffff2e, 0 10px 26px #9a3b224d;
  --im3-shadow-glass: inset 0 1px 0 #fff4df2e, 0 24px 60px #1d151066;
  --im3-touch: 48px;
  --im3-container: 1160px;
  --im3-prose: 36em;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--im3-walnut-deep); }
body { margin: 0; font-family: var(--im3-font); font-size: var(--im3-fs-base); line-height: 1.6; color: var(--im3-ink); background: var(--im3-bg); word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: var(--im3-track); text-wrap: balance; color: var(--im3-ink); }
h2 { font-size: var(--im3-fs-xl); font-weight: var(--im3-w-h); }
h3 { font-size: var(--im3-fs-lg); font-weight: var(--im3-w-s); }
p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--im3-acc); }
:focus-visible { outline: 2px solid var(--im3-acc); outline-offset: 3px; }
.im3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.im3-skip { position: absolute; left: 12px; top: -80px; z-index: 99; padding: 12px 16px; border-radius: var(--im3-r-full); background: var(--im3-walnut); color: #fff; font-weight: var(--im3-w-s); }
.im3-skip:focus { top: 12px; }
.im3-wrap { max-width: var(--im3-container); margin: 0 auto; padding: 0 20px; }
.im3-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 섹션 리듬: 여백 진폭 + 크림·크림2·월넛 명도 교차 */
.im3-sec { padding: 72px 0; background: var(--im3-bg); }
.im3-sec--alt { background: var(--im3-bg-alt); }
.im3-head { max-width: 40em; margin-bottom: 32px; }
.im3-over { display: block; margin-bottom: 12px; font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); letter-spacing: var(--im3-label); color: var(--im3-acc); }
.im3-note { font-size: var(--im3-fs-sm); line-height: 1.7; color: var(--im3-ink-2); }
.im3-head .im3-note { margin-top: 12px; }
.im3-cap { margin: 0 4px 12px; font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); color: var(--im3-ink-2); }

/* 헤더: 크림 불투명 면, 한글 굵은 워드마크, 하단 테라코타 헤어라인(빛 한 줄) */
.im3-top { position: relative; z-index: 20; background: var(--im3-bg); }
.im3-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, #d06a4800, #d06a4866 30%, #d06a4866 70%, #d06a4800); }
.im3-hdr { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 60px; }
.im3-brand { display: inline-flex; align-items: center; gap: 8px; min-height: var(--im3-touch); padding-top: 12px; font-size: 24px; font-weight: var(--im3-w-h); letter-spacing: -0.04em; line-height: 1; color: var(--im3-ink); text-decoration: none; }
.im3-brand small { font-size: 11px; font-weight: var(--im3-w-s); letter-spacing: .16em; color: var(--im3-acc); }
.im3-nav { display: flex; gap: 2px; }
.im3-nav a { display: inline-flex; align-items: center; min-height: var(--im3-touch); padding: 0 9px; border-radius: var(--im3-r-full); font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); color: var(--im3-ink-2); text-decoration: none; white-space: nowrap; }
.im3-nav a:hover { color: var(--im3-ink); background: var(--im3-fill-1); }
.im3-nav .im3-nav-pc { display: none; }
.im3-top .im3-hdr-cta { display: none; }

/* 언어 전환 한 줄(4언어 공통): 현재 언어는 aria-current */
.im3-langbar { display: flex; justify-content: flex-end; }
.im3-lang { display: flex; gap: 2px; }
.im3-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: var(--im3-r-full); font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); letter-spacing: .04em; color: var(--im3-ink-2); text-decoration: none; white-space: nowrap; }
.im3-lang a[aria-current] { color: var(--im3-ink); background: var(--im3-fill-2); }
@media (hover: hover) { .im3-lang a:not([aria-current]):hover { color: var(--im3-ink); background: var(--im3-fill-1); } }
/* 중·일 본문은 글자 사이에서 줄을 바꿀 수 있어야 한다(keep-all은 한글·라틴 단어용) */
html[lang="zh"] body, html[lang="ja"] body { word-break: normal; line-break: strict; }
html[lang="zh"] { --im3-font: system-ui, -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif; }
html[lang="ja"] { --im3-font: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
html:not([lang="ko"]) .im3-over { letter-spacing: .08em; }
@media (max-width: 479px) { html:not([lang="ko"]) .im3-brand small { display: none; } }

/* 버튼: 알약. 주 = 테라코타, 보조 = 흐린 면, 글자형 = 황동 */
.im3-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--im3-r-full); font: inherit; font-size: var(--im3-fs-base); font-weight: var(--im3-w-s); line-height: 1.2; color: #fff; text-decoration: none; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, var(--im3-pt-hi), var(--im3-pt)) var(--im3-pt); box-shadow: var(--im3-shadow-cta); }
.im3-btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.im3-btn-soft { background: var(--im3-fill-2); color: var(--im3-ink); box-shadow: none; }
.im3-btn-text { min-height: var(--im3-touch); padding: 0 16px; background: none; box-shadow: none; color: var(--im3-acc); }
@media (hover: hover) {
  .im3-btn:hover { background: var(--im3-pt-hi); }
  .im3-btn-soft:hover { background: var(--im3-fill-3); }
  .im3-btn-text:hover { background: var(--im3-fill-1); }
}

/* 영업 상태 칩: 켜짐만 초록 점. JS 없으면 숨김 */
.im3-state { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px 4px 12px; border-radius: var(--im3-r-full); background: var(--im3-fill-2); font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); line-height: 1.35; color: var(--im3-ink-2); }
.im3-state::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.im3-state[data-open="1"] { color: var(--im3-ink); }
.im3-state[data-open="1"]::before { background: var(--im3-ok); opacity: 1; box-shadow: 0 0 0 4px #3f8a4c2e; }
html:not(.js) .im3-state { display: none; }

.im3-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); letter-spacing: var(--im3-label); color: var(--im3-acc); }
.im3-h1 { font-size: 40px; font-weight: var(--im3-w-h); line-height: 1.08; letter-spacing: -0.035em; }
.im3-w { white-space: nowrap; }
.im3-h1 .im3-w-name { color: var(--im3-pt); }
.im3-lead { max-width: 30em; font-size: var(--im3-fs-base); line-height: 1.7; color: var(--im3-ink-2); }
.im3-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 420px; margin-top: 4px; }
.im3-cta .im3-btn-lg { padding: 0 12px; font-size: var(--im3-fs-base); }

/* 유리(backdrop-filter) 2장: 히어로 요약(사진 위), 문의 카드(광원 위). 월넛 틴트 */
.im3-glass { position: relative; isolation: isolate; border-radius: var(--im3-r-lg); background: #1d1510eb; box-shadow: var(--im3-shadow-glass); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .im3-glass { background: linear-gradient(#fff4df10, #fff4df10), #1d1510d6; -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
}
.im3-glass::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, #e08a664d 0, #fff4df4d 30%, #fff4df14 62%, #fff4df0a 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* 카드 A: 테두리 없는 톤 타일 / 카드 B: 그룹 리스트 */
.im3-tile { position: relative; border-radius: var(--im3-r-lg); padding: 20px; background: linear-gradient(180deg, var(--im3-tile-a), var(--im3-tile-b)) var(--im3-tile-b); box-shadow: var(--im3-shadow-tile); }
.im3-glist { border-radius: var(--im3-r-lg); padding: 6px 0; background: linear-gradient(180deg, var(--im3-tile-a), var(--im3-tile-b)) var(--im3-tile-b); box-shadow: var(--im3-shadow-tile); }
.im3-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 10px 20px; }
.im3-row + .im3-row::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: 1px; background: var(--im3-line); }
.im3-row dt { display: flex; align-items: center; gap: 12px; font-size: var(--im3-fs-sm); color: var(--im3-ink-2); }
.im3-row dd { text-align: right; font-size: var(--im3-fs-base); font-weight: var(--im3-w-s); color: var(--im3-ink); }
.im3-row dd small { display: block; font-size: var(--im3-fs-xs); font-weight: var(--im3-w-r); color: var(--im3-ink-2); }
.im3-ib { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--im3-r-sm); background: var(--im3-acc-tint); color: var(--im3-acc); }
.im3-ib .im3-ic { width: 18px; height: 18px; }
.im3-basics { display: grid; gap: 32px; }
.im3-basics .im3-head { margin-bottom: 0; }

/* 영업시간(월넛): 요일 7칸 띠 + 큰 시각 타일 */
.im3-hours-sec { position: relative; overflow: hidden; isolation: isolate; }
.im3-hours-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 40% at 85% 0%, var(--im3-glow), var(--im3-glow-0) 70%), radial-gradient(45% 50% at 0% 100%, #9a3b223d, #9a3b2200 70%); }
.im3-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.im3-week li { display: grid; justify-items: center; gap: 2px; padding: 12px 0 10px; border-radius: var(--im3-r-sm); background: var(--im3-fill-1); font-size: 12px; color: var(--im3-ink-2); }
.im3-week li b { font-size: var(--im3-fs-base); font-weight: var(--im3-w-s); color: var(--im3-ink-2); }
.im3-week li.is-on { background: linear-gradient(180deg, #dcb77438, #dcb77412); color: var(--im3-acc); }
.im3-week li.is-on b { color: var(--im3-ink); }
.im3-hours { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.im3-hours > * { grid-column: 1 / -1; min-width: 0; }
.im3-t { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 148px; }
.im3-t-half { grid-column: span 6; }
.im3-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 12px; border-radius: var(--im3-r-full); background: var(--im3-fill-2); font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); color: var(--im3-ink-2); }
.im3-tag .im3-ic { width: 14px; height: 14px; }
.im3-big { font-size: var(--im3-fs-2xl); font-weight: var(--im3-w-h); line-height: 1; letter-spacing: var(--im3-track); color: var(--im3-ink); font-variant-numeric: tabular-nums; }
.im3-to { margin-top: 8px; color: var(--im3-ink-2); font-variant-numeric: tabular-nums; }
.im3-t-main { background: radial-gradient(120% 90% at 100% 0%, var(--im3-glow), var(--im3-glow-0) 55%), linear-gradient(180deg, #47362a, #33261d) #33261d; }
.im3-t-main .im3-big { font-size: 52px; }
.im3-t-off .im3-big, .im3-t-hol .im3-big { font-size: var(--im3-fs-xl); }
.im3-hours-note { margin-top: 20px; }
.im3-kst { margin-top: 8px; }

/* 요금(크림): 통화 준비 리스트 타일 + 월넛 문구 도우미 */
.im3-price { display: grid; gap: 12px; align-items: start; }
.im3-price h3 { margin: 0 0 14px; font-size: var(--im3-fs-lg); font-weight: var(--im3-w-h); }
.im3-checks { display: grid; gap: 2px; }
.im3-checks li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; color: var(--im3-ink); }
.im3-checks li > span:not(.im3-num) { min-width: 0; flex: 1 1 auto; overflow-wrap: anywhere; }
.im3-checks li > span:not(.im3-num):lang(ja), :lang(ja) .im3-checks li > span:not(.im3-num) { word-break: normal; line-break: strict; }
.im3-checks .im3-ic { width: 18px; height: 18px; margin-top: 3px; color: var(--im3-acc); }
.im3-num { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--im3-r-full); background: var(--im3-num-bg); color: var(--im3-num-fg); font-size: var(--im3-fs-xs); font-weight: var(--im3-w-h); }
.im3-split { height: 1px; margin: 16px 0; background: var(--im3-line); }
.im3-tc { margin-top: 16px; padding-top: 16px; box-shadow: inset 0 1px 0 var(--im3-line); font-size: var(--im3-fs-sm); color: var(--im3-ink-2); }
.im3-help { padding: 20px; }
.im3-help .im3-note { margin: -6px 0 18px; }
.im3-help fieldset { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.im3-help legend, .im3-lab { display: block; margin-bottom: 8px; padding: 0; font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); color: var(--im3-ink-2); }
.im3-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.im3-chip { position: relative; display: block; }
.im3-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.im3-chip span { display: grid; place-items: center; min-height: 48px; padding: 0 4px; border-radius: var(--im3-r-full); background: var(--im3-fill-2); font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); color: var(--im3-ink); white-space: nowrap; }
.im3-chip input:checked + span { background: #f7efe3; color: #23190f; }
.im3-chip input:focus-visible + span { outline: 2px solid var(--im3-acc); outline-offset: 2px; }
.im3-sel { width: 100%; min-height: 48px; padding: 0 16px; border: 0; border-radius: var(--im3-r-sm); background: var(--im3-fill-2); color: var(--im3-ink); font: inherit; }
.im3-sel option { color: #111; background: #fff; }
.im3-out { min-height: 78px; margin: 16px 0 12px; padding: 14px 16px; border-radius: var(--im3-r-sm); background: var(--im3-inset); font-size: var(--im3-fs-base); line-height: 1.6; color: var(--im3-ink); }
.im3-out.is-empty { color: var(--im3-ink-2); font-size: var(--im3-fs-sm); }
.im3-help-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.im3-send { flex: 1 1 190px; min-height: 48px; padding: 0 16px; font-size: var(--im3-fs-sm); }
.im3-send[aria-disabled="true"] { opacity: .42; box-shadow: none; cursor: default; }
.im3-copywrap { flex: 0 0 auto; }
.im3-help .im3-help-hint { margin: 12px 0 0; font-size: var(--im3-fs-xs); }
.im3-nojs-only { display: none; }
html:not(.js) .im3-help-live { display: none; }
html:not(.js) .im3-nojs-only { display: block; }

/* 복사 버튼(주소·문구 공통): 두 라벨 겹쳐 폭 고정 */
.im3-ac { display: inline-grid; align-items: center; justify-items: center; min-width: 44px; min-height: 44px; padding: 0 18px; border: 0; border-radius: var(--im3-r-full); background: var(--im3-fill-2); color: var(--im3-ink); font: inherit; font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); cursor: pointer; white-space: nowrap; }
.im3-ac > span { grid-area: 1 / 1; }
.im3-ac .im3-l2 { visibility: hidden; display: inline-flex; align-items: center; gap: 6px; }
.im3-ac .im3-l2::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.im3-ac.is-ok { background: var(--im3-ink); color: var(--im3-bg); }
.im3-ac.is-ok .im3-l1 { visibility: hidden; }
.im3-ac.is-ok .im3-l2 { visibility: visible; }
.im3-ac[disabled] { opacity: .5; cursor: default; }
@media (hover: hover) { .im3-ac:not(.is-ok):not([disabled]):hover { background: var(--im3-fill-3); } }
html:not(.js) .im3-ac { display: none; }

/* 이용 순서: 4칸, 큰 황동 숫자 */
.im3-steps { display: grid; gap: 12px; }
.im3-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 20px; border-radius: var(--im3-r-lg); background: linear-gradient(180deg, var(--im3-tile-a), var(--im3-tile-b)) var(--im3-tile-b); box-shadow: var(--im3-shadow-tile); }
.im3-step-no { grid-row: span 2; font-size: 40px; font-weight: var(--im3-w-h); line-height: 1; letter-spacing: -0.04em; color: var(--im3-acc); font-variant-numeric: tabular-nums; }
.im3-step h3 { font-size: 18px; }
.im3-step p { font-size: var(--im3-fs-sm); line-height: 1.65; color: var(--im3-ink-2); }

/* 소개·공간(월넛): 사진이 어두운 판 위에 뜨게 */
.im3-about { display: grid; gap: 24px; }
.im3-about .im3-head { margin-bottom: 0; }
.im3-prose { max-width: var(--im3-prose); }
.im3-prose p { line-height: 1.8; color: var(--im3-ink-2); }
.im3-prose .im3-lead-p { font-size: 18px; line-height: 1.7; color: var(--im3-ink); }
.im3-prose p + p { margin-top: 1.1em; }
.im3-space { display: grid; gap: 28px; margin-top: 72px; }
.im3-space .im3-head { margin-bottom: 0; }
.im3-facts { border-radius: var(--im3-r-lg); padding: 6px 20px; background: linear-gradient(180deg, var(--im3-tile-a), var(--im3-tile-b)) var(--im3-tile-b); box-shadow: var(--im3-shadow-tile); }
.im3-facts li { position: relative; display: flex; gap: 12px; padding: 14px 0; color: var(--im3-ink); line-height: 1.6; }
.im3-facts li + li::before { content: ""; position: absolute; top: 0; left: 44px; right: 0; height: 1px; background: var(--im3-line); }
.im3-gal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 0 20px 8px; scroll-padding: 0 20px; }
.im3-gal figure { flex: 0 0 74%; scroll-snap-align: start; }
.im3-gal img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--im3-r-lg); background: var(--im3-bg-alt); }
.im3-gal figcaption { margin-top: 8px; font-size: var(--im3-fs-xs); color: var(--im3-ink-2); }

/* 찾아오는 길(크림): 주소 큰 글 + 복사, 방문 전 확인 */
.im3-way { display: grid; gap: 12px; align-items: start; }
.im3-addrbox { padding: 24px 20px; }
.im3-addr-k { display: flex; align-items: center; gap: 10px; font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); color: var(--im3-ink-2); }
.im3-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; }
.im3-addr strong { font-size: 22px; font-weight: var(--im3-w-h); letter-spacing: -0.01em; line-height: 1.3; color: var(--im3-ink); }
.im3-addrbox .im3-note { margin-top: 14px; }
.im3-road { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: var(--im3-fs-base); font-weight: var(--im3-w-s); color: var(--im3-ink); }
.im3-road-k { padding: 1px 10px; border-radius: var(--im3-r-full); background: var(--im3-acc-tint); font-size: var(--im3-fs-xs); color: var(--im3-acc); }
.im3-route { margin-top: 16px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--im3-line); }
.im3-cue h3 { margin-bottom: 8px; font-size: 18px; }
.im3-cue-btn { width: 100%; margin-top: 16px; }

/* FAQ(크림2): 그룹 리스트 1장, 오른쪽 꺾쇠 */
.im3-faqs { display: grid; gap: 32px; }
.im3-faqs .im3-head { margin-bottom: 0; }
.im3-faq { border-radius: var(--im3-r-lg); padding: 4px 0; background: linear-gradient(180deg, var(--im3-tile-a), var(--im3-tile-b)) var(--im3-tile-b); box-shadow: var(--im3-shadow-tile); }
.im3-faq details { position: relative; }
.im3-faq details + details::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--im3-line); }
.im3-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; cursor: pointer; font-weight: var(--im3-w-s); color: var(--im3-ink); }
.im3-faq summary::-webkit-details-marker { display: none; }
.im3-chev { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--im3-r-sm); background: var(--im3-acc-tint); color: var(--im3-acc); transition: transform .2s ease-out; }
.im3-chev .im3-ic { width: 16px; height: 16px; }
.im3-faq details[open] .im3-chev { transform: rotate(180deg); }
.im3-faq .im3-a { padding: 0 20px 20px; color: var(--im3-ink-2); line-height: 1.7; }

/* 문의(월넛 + 테라코타 광원) + 유리 카드 */
.im3-contact { position: relative; overflow: hidden; isolation: isolate; background: var(--im3-walnut-deep); }
.im3-contact::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 55% at 12% 8%, #9a3b2280, #9a3b2200 70%), radial-gradient(40% 50% at 92% 100%, var(--im3-glow), var(--im3-glow-0) 70%), radial-gradient(60% 40% at 50% 50%, #fff4df14, #fff4df00 70%); }
.im3-card-c { max-width: 760px; margin: 0 auto; padding: 44px 22px 32px; text-align: center; }
.im3-card-c h2 { font-size: var(--im3-fs-2xl); }
.im3-card-c .im3-note { max-width: 28em; margin: 14px auto 0; }
.im3-c-act { display: grid; justify-items: center; gap: 8px; margin-top: 20px; }
.im3-c-act .im3-btn-lg { width: 100%; max-width: 360px; }
.im3-c-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; max-width: 360px; }
.im3-c-sub .im3-btn { min-height: 48px; padding: 0 12px; font-size: var(--im3-fs-sm); }
.im3-c-sub .im3-btn:only-child { grid-column: 1 / -1; }
/* 연락처 글자(v2.1): 번호를 글자로 보이게, tel 링크와 같이 */
.im3-telno { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 22px; }
.im3-telno-k { font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); letter-spacing: var(--im3-label); color: var(--im3-acc); }
.im3-telno a { display: inline-flex; align-items: center; min-height: 48px; font-size: 30px; font-weight: var(--im3-w-h); letter-spacing: .01em; color: var(--im3-ink); font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #dcb77480; text-underline-offset: 7px; }


.im3-foot { position: relative; padding: 56px 0 40px; background: var(--im3-walnut-deep); font-size: 14px; line-height: 1.65; }
.im3-foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, #d06a4800, #d06a4873, #d06a4800); }
.im3-foot-cols { display: grid; gap: 28px; }
.im3-foot-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 22px; font-weight: var(--im3-w-h); letter-spacing: -0.04em; color: var(--im3-ink); }
.im3-foot .im3-foot-h { margin-bottom: 8px; font-size: var(--im3-fs-xs); font-weight: var(--im3-w-s); letter-spacing: var(--im3-label); line-height: 1.4; color: var(--im3-acc); }
html:not([lang="ko"]) .im3-foot .im3-foot-h { letter-spacing: .08em; }
.im3-foot address { display: grid; gap: 2px; font-style: normal; color: var(--im3-ink-2); }
.im3-foot address strong { font-weight: var(--im3-w-s); color: var(--im3-ink); }
/* g14-hit(T015, dev mail 7305): 확장 누름 영역을 음수 margin 으로 겹치지 않는다 — 옆 줄에 모서리가 덮였다. margin 0 + 위로 올림 */
.im3-foot-tel { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: 0; position: relative; z-index: 1; font-weight: var(--im3-w-s); color: var(--im3-ink); font-variant-numeric: tabular-nums; text-underline-offset: 4px; text-decoration-color: #dcb77480; }
.im3-foot p { color: var(--im3-ink-2); }
.im3-foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.im3-foot-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-weight: var(--im3-w-s); color: var(--im3-ink); text-underline-offset: 5px; text-decoration-color: #dcb77480; }
.im3-adult { display: flex; align-items: center; gap: 10px; }
.im3-adult + p { margin-top: 8px; }
.im3-adult b { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--im3-pt); color: #fff; font-size: 12px; }
.im3-foot-nav { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 32px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--im3-line); }
.im3-foot-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--im3-ink-2); text-decoration: none; }
@media (hover: hover) { .im3-foot-nav a:hover { color: var(--im3-ink); } }
.im3-foot-legal { display: grid; gap: 6px; margin-top: 12px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--im3-line); font-size: 13px; }
.im3-foot-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 6px; color: var(--im3-ink); }
.im3-foot-proof .im3-ic { width: 18px; height: 18px; flex: none; color: var(--im3-acc); }
.im3-foot-proof > span { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.im3-foot-proof time { font-variant-numeric: tabular-nums; font-weight: var(--im3-w-s); }
.im3-hash { padding: 1px 10px; border-radius: var(--im3-r-full); background: var(--im3-fill-2); font: 600 12px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .03em; color: var(--im3-acc); overflow-wrap: anywhere; }

.im3-hash.im3-hash-long, .im3-dlg-body dd > .im3-hash:first-child:not(:only-child), .im3-src-body dd > .im3-hash:first-child:not(:only-child) {
  display: block; flex: 1 1 100%; max-width: 100%; padding: 6px 10px; border-radius: 8px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.im3-pending { padding: 1px 10px; border-radius: var(--im3-r-full); box-shadow: inset 0 0 0 1px var(--im3-acc); font-size: 13px; font-weight: var(--im3-w-s); color: var(--im3-acc); }
.im3-proofs { display: flex; flex-wrap: wrap; gap: 0 22px; }
.im3-linkbtn { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: var(--im3-fs-sm); font-weight: var(--im3-w-s); color: var(--im3-ink); text-decoration: underline; text-decoration-color: #dcb7748c; text-underline-offset: 5px; cursor: pointer; }
@media (hover: hover) { .im3-linkbtn:hover { text-decoration-color: var(--im3-acc); } }
html:not(.js) .im3-linkbtn { display: none; }
.im3-src { margin-top: 12px; border-radius: var(--im3-r-sm); background: var(--im3-fill-1); }
.im3-src summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; cursor: pointer; font-weight: var(--im3-w-s); color: var(--im3-ink); }
.im3-src-body { padding: 0 16px 16px; font-size: 14px; }
html.js .im3-src { display: none; }
/* 다이얼로그(검증·변경 이력 / 저작권 안내): 윗줄 아이콘·제목·X, 가운데 스크롤, 아래 닫기 */
.im3-proof { width: min(92vw, 600px); max-height: min(86vh, 780px); padding: 0; border: 0; border-radius: var(--im3-r-lg); box-shadow: var(--im3-shadow-glass); overflow: hidden; }
.im3-proof[open] { display: flex; flex-direction: column; }
.im3-proof::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, #dcb77400, #dcb774, #d06a48cc, #dcb77400); }
.im3-proof::backdrop { background: radial-gradient(60% 50% at 20% 15%, #9a3b2233, #9a3b2200 70%), #150f0bcc; }
.im3-dlg-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 14px 14px 22px; box-shadow: inset 0 -1px 0 var(--im3-line); }
.im3-dlg-top > .im3-ic { color: var(--im3-acc); }
.im3-dlg-top h2 { font-size: var(--im3-fs-lg); line-height: 1.3; }
.im3-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--im3-fill-2); color: var(--im3-ink); cursor: pointer; }
.im3-dlg-body { padding: 16px 22px 20px; overflow: auto; font-size: 15px; }
.im3-dlg-body > .im3-note { margin-bottom: 4px; }
.im3-dlg-body h3, .im3-src-body h3 { margin: 18px 0 6px; font-size: 15px; font-weight: var(--im3-w-h); color: var(--im3-ink); }
.im3-dlg-body dl > div, .im3-src-body dl > div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 12px; padding: 9px 0; box-shadow: inset 0 -1px 0 var(--im3-line); }
.im3-dlg-body dt, .im3-src-body dt { font-size: 13px; color: var(--im3-ink-2); }
.im3-dlg-body dd, .im3-src-body dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; color: var(--im3-ink); overflow-wrap: anywhere; }
/* g14-hit(T015, dev mail 7305): 확장 누름 영역을 음수 margin 으로 겹치지 않는다 — 옆 줄에 모서리가 덮였다. margin 0 + 위로 올림 */
.im3-dlg-body dd a, .im3-src-body dd a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; margin-block: 0; position: relative; z-index: 1; color: var(--im3-acc); text-underline-offset: 3px; }
/* 2판: 44px 링크 터치 상자(위아래 -7px)가 다음 줄 해시와 겹치지 않게 dd 줄 간격 8px */
.im3-dlg-body dd, .im3-src-body dd { row-gap: 8px; }
.im3-log { display: grid; margin-left: 6px; box-shadow: inset 1px 0 0 var(--im3-line); }
.im3-log li { position: relative; display: grid; gap: 2px; padding: 2px 0 12px 18px; color: var(--im3-ink-2); }
.im3-log li::before { content: ""; position: absolute; left: -5px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--im3-bg); box-shadow: inset 0 0 0 2px var(--im3-ink-2); }
.im3-log li:first-child::before { box-shadow: inset 0 0 0 2px var(--im3-acc); }
.im3-log li > :first-child { font-size: 13px; font-weight: var(--im3-w-h); color: var(--im3-ink); font-variant-numeric: tabular-nums; }
.im3-law { display: grid; gap: 12px; counter-reset: im3law; }
.im3-law li { counter-increment: im3law; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; color: var(--im3-ink-2); line-height: 1.65; }
.im3-law li::before { content: counter(im3law); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--im3-acc-tint); color: var(--im3-acc); font-size: 13px; font-weight: var(--im3-w-h); }
.im3-src-body .im3-law { margin-top: 4px; }
.im3-dlg-foot { padding: 12px 22px 18px; box-shadow: inset 0 1px 0 var(--im3-line); }
.im3-dlg-foot .im3-btn { width: 100%; min-height: 48px; }

/* 하단 고정 바(모바일 전용, 월넛 불투명) */
.im3-bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 767px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  /* 전화(주, 테라코타) · 문자. 두 칸이 바를 채운다 */
  .im3-bar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .im3-bar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, #d06a4800, #d06a488c, #d06a4800); }
  .im3-bar .im3-btn { flex-direction: column; gap: 2px; min-height: 54px; padding: 4px 6px; font-size: 13px; }
  .im3-bar .im3-btn .im3-ic { width: 18px; height: 18px; }
  /* 3판: 히어로 CTA 두 버튼의 줄바꿈 단위 = 버튼 하나. 두 버튼 글자 폭 합이 글 열보다 넓으면(ja 「電話で問い合わせ」 360·390) 둘째 버튼이 다음 줄로 내려가 각각 한 줄을 채운다.
     들어가면 1fr 1fr과 같은 같은 폭 두 칸. 2판까지는 grid 1fr의 최소 폭(글자 폭)이 글 열을 356px로 밀어 화면 밖으로 넘쳤다 */
  .im3-cta { display: flex; flex-wrap: wrap; }
  .im3-cta > .im3-btn { flex: 1 1 0; }
}
@media (max-width: 359px) {
  .im3-nav a { padding: 0 7px; font-size: 14px; }
  .im3-brand small { display: none; }
  .im3-h1 { font-size: 36px; }
  .im3-chip span { font-size: 14px; }
  .im3-cta { grid-template-columns: 1fr; }
  .im3-cta > .im3-btn { flex-basis: 100%; }
}
@media (min-width: 768px) {
  .im3-wrap { padding: 0 32px; }
  .im3-gal { margin: 0 -32px; padding: 0 32px 8px; }
  .im3-gal figure { flex-basis: 44%; }
  .im3-kv { display: grid; grid-template-columns: 1fr 1fr; }
  .im3-kv .im3-row:nth-child(2)::before { display: none; }
  .im3-kv .im3-row:nth-child(even) { box-shadow: inset 1px 0 0 var(--im3-line); }
  .im3-steps { grid-template-columns: 1fr 1fr; }
  .im3-cta { grid-template-columns: none; grid-auto-flow: column; justify-content: start; width: auto; max-width: none; }
  .im3-cta .im3-btn-lg { padding: 0 32px; font-size: 17px; }
  .im3-foot-cols { grid-template-columns: 1fr 1fr; }
  .im3-foot-cols > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .im3-sec { padding: 112px 0; }
  h2 { font-size: var(--im3-fs-3xl); }
  .im3-head { margin-bottom: 48px; }
  .im3-hdr { min-height: 76px; }
  .im3-brand { font-size: 28px; }
  .im3-nav { margin-left: auto; margin-right: 16px; }
  .im3-nav a { padding: 0 12px; }
  .im3-nav .im3-nav-pc { display: inline-flex; }
  .im3-top .im3-hdr-cta { display: inline-flex; min-height: var(--im3-touch); padding: 0 20px; font-size: var(--im3-fs-sm); }
  .im3-foot-cols { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; }
  .im3-foot-cols > :last-child { grid-column: auto; }
  .im3-h1 { font-size: 64px; line-height: 1.04; }
  .im3-lead { font-size: 18px; }
  .im3-help { padding: 28px; }
  .im3-tile { padding: 28px; }
  .im3-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .im3-step { grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
  .im3-step-no { grid-row: auto; font-size: 48px; }
  .im3-prose .im3-lead-p { font-size: var(--im3-fs-lg); }
  .im3-space { margin-top: 72px; }
  .im3-gal { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; overflow: visible; }
  .im3-gal figure { flex: none; }
  .im3-gal figure:nth-child(2) { margin-top: 56px; }
  .im3-addrbox { padding: 32px 28px; }
  .im3-addr strong { font-size: 28px; }
  .im3-faq .im3-a { padding-right: 72px; }
  .im3-card-c { padding: 64px 64px 48px; }
  .im3-card-c h2 { font-size: var(--im3-fs-4xl); }
  .im3-c-act .im3-btn-lg { width: auto; min-width: 300px; }
  .im3-c-sub { max-width: 300px; }
  .im3-telno a { font-size: 40px; }
}
/* 시간 범위·짧은 낱말을 한 줄로 묶음(4언어 공통) */
.im3-nw { white-space: nowrap; }

/* ===================== v3 골격(A4 B1 C2 D1 E2) ===================== */
/* E2 카드: 각진 4px + 얇은 테두리(테라코타 저알파). 밝은 면 #9a3b22, 어두운 면 #e08a66 */
:root, .im3-light { --im3-edge: #9a3b2238; }
.im3-dark { --im3-edge: #e08a6652; }
.im3-tile, .im3-glist, .im3-step, .im3-facts, .im3-faq, .im3-card-c, .im3-pl-card, .im3-hero-card, .im3-proof { border: 1px solid var(--im3-edge); }
.im3-glass::before { display: none; }
.im3-gal img, .im3-shot img { border-radius: 0; }
.im3-gal img { border-radius: var(--im3-r-lg); }


.im3-brand-t { display: inline-flex; align-items: baseline; gap: 8px; }
.im3-mark { display: block; flex: none; width: 24px; height: 24px; }
.im3-foot-brand .im3-mark { width: 20px; height: 20px; }

.im3-proof-lab { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* D1 내비: 상단 고정 바(불투명 크림, 아래 1px 선). 언어 줄(44px)은 위로 접혀 나가고 상호·구역 줄만 붙는다 */
.im3-top { position: sticky; top: -44px; z-index: 40; }
.im3-top::after { background: var(--im3-edge); }
main [id] { scroll-margin-top: 72px; }
@media (max-width: 389px) { html[lang="en"] .im3-nav a { padding: 0 6px; } }
@media (max-width: 359px) { html[lang="en"] .im3-brand { font-size: 20px; } html[lang="en"] .im3-nav { gap: 0; } html[lang="en"] .im3-nav a { padding: 0 4px; } }
/* inbox #299: 359 이하에서 구역 줄 링크(ko 38x48, zh·ja 42x48)가 44px 미만 -> 최소 폭 44, 글자 가운데, 간격 0·좌우 패딩 6(4언어). 3칸 132px + 상호 = 한 줄 */
@media (max-width: 359px) { .im3-nav { gap: 0; } .im3-nav a { justify-content: center; min-width: 44px; padding: 0 6px; } html[lang="en"] .im3-nav a { padding: 0 4px; } }

/* A4 히어로: 세로 분할. 모바일 = 화면 폭 꽉 찬 사진 위, 그 아래에서 정보 카드가 사진 하단 18%를 덮고 올라온다.
   2차(설 지시): 첫 화면에서 카드 CTA가 하단 연락 바에 가리지 않게 사진 비율 4:5 -> 1:1을 먼저 재 보고(ctagap.py), 그래도 가려서 767 이하는 4:3으로 했다. 겹침은 18% 그대로. 768 이상은 아래 vh 띠 규칙이 덮는다 */
.im3-hero { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 48px; background: linear-gradient(180deg, var(--im3-bg-alt), var(--im3-bg) 55%); }
.im3-shot { position: relative; }
.im3-shot img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 62%; background: var(--im3-bg-alt); }
.im3-shot figcaption { position: absolute; left: 12px; top: 12px; padding: 2px 10px; border-radius: var(--im3-r-full); background: #1d1510b3; font-size: 12px; color: #fff; }
.im3-shot:not(:has(img)) > figcaption, .im3-gal figure:not(:has(img)) > figcaption, figure.is-noimg > figcaption { display: none; }
.im3-hero-in { position: relative; z-index: 2; margin-top: -18vw; } /* 사진 높이 100vw(1:1)의 18% */
/* 1:1에서도 en·ja 390x844, ko·en·zh·ja 360x740 일부가 가려 767 이하는 4:3(설 지시 하한), 겹침 18% 그대로. 카드 안 간격 16 -> 12, 위 패딩 28 -> 24 */
@media (max-width: 767px) {
  .im3-shot img { aspect-ratio: 4 / 3; }
  .im3-hero-in { margin-top: -13.5vw; } /* 사진 높이 75vw(4:3)의 18% */
  .im3-hero-in .im3-hero-card { gap: 12px; padding-top: 24px; }
}
/* 3차(설 작은 화면 규칙): 폭 379 이하, 또는 767 이하이면서 높이 700 이하 -> 사진 16:9(겹침 18% = 10.125vw), h1 40 -> 35px(88%),
   키커(주소 줄) 한 줄 말줄임(전체 주소는 길 구역에 있음), CTA 두 버튼 좌우 패딩·글자 한 단계 낮춤(높이 56 유지) */
@media (max-width: 379px), (max-width: 767px) and (max-height: 700px) {
  .im3-hero .im3-shot img { aspect-ratio: 16 / 9; }
  .im3-hero .im3-hero-in { margin-top: -10.125vw; }
  .im3-hero-in .im3-h1 { font-size: 35px; }
  .im3-hero-in .im3-kicker { display: block; justify-self: stretch; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .im3-hero-in .im3-cta .im3-btn-lg { gap: 6px; padding: 0 10px; font-size: var(--im3-fs-sm); }
  /* 5차(설 판단): 히어로 리드는 2줄 말줄임(같은 사실이 바로 아래 한눈에 구역에 있음). 문장 전체는 DOM에 그대로 남는다(숨김·aria 처리 없음) */
  /* 6차(설): CTA 아래 여유 확보 — 카드 위 패딩 24 -> 20, 카드 안 세로 간격 12 -> 10 */
  .im3-hero-in .im3-hero-card { gap: 10px; padding-top: 20px; }
  .im3-hero-in .im3-lead { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  /* 패딩·글자를 낮춰도 ja는 두 버튼이 2줄로 꺾여(ctagap 실측) 「料金案内を見る」의 화살표 아이콘만 숨긴다(세로로 쌓지 않음) */
  html[lang="ja"] .im3-hero-in .im3-cta .im3-btn-soft .im3-ic { display: none; }
}
.im3-hero-card { position: relative; display: grid; gap: 16px; justify-items: start; padding: 28px 20px 24px; border-radius: var(--im3-r-lg); background: var(--im3-tile-a); box-shadow: 0 18px 40px #3b2a1a24; }
/* 히어로 운석 완전 제거(design M002.P024.T023, google-deploy 동의 mail 7507): .im3-glyph 규칙·마크업 삭제. 이미지 파일은 그대로 */
@media (min-width: 768px) {
  .im3-shot img { aspect-ratio: auto; height: max(52vh, 360px); object-position: 50% 62%; }
  .im3-hero-in { margin-top: calc(-0.2 * max(52vh, 360px)); }
  .im3-hero-card { padding: 36px 40px 32px; }
  .im3-brand .im3-mark { width: 28px; height: 28px; }
}

/* 4차(틀 문구 변주 적용 뒤): en 변주 버튼 글이 길어져(「Phone to reserve or enquire」 등) 320~359에서 연락 카드·길 카드 버튼이 nowrap으로 화면 밖 15px.
   359 이하에서 연락·길 버튼만 줄바꿈 허용(높이 56 안에서 2줄), 좌우 패딩 16 */
@media (max-width: 359px) {
  .im3-c-act .im3-btn, .im3-cue-btn { white-space: normal; text-align: center; }
  .im3-c-act .im3-btn-lg { padding: 0 16px; }
}

/* C2 그리드: 모바일·태블릿은 단일 열(기둥 숨김) */
.im3-pillar { display: none; }
.im3-pl-card { display: grid; gap: 16px; padding: 28px; border-radius: var(--im3-r-lg); background: var(--im3-tile-a); box-shadow: var(--im3-shadow-tile); }
.im3-pl-card .im3-over { margin-bottom: 0; }
.im3-pl-card .im3-state { justify-self: start; }
.im3-pl-dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--im3-line); }
.im3-pl-dl > div:first-child { box-shadow: inset 0 1px 0 var(--im3-line), inset 0 -1px 0 var(--im3-line); }
.im3-pl-dl dt { display: flex; align-items: center; gap: 10px; font-size: var(--im3-fs-sm); color: var(--im3-ink-2); white-space: nowrap; }
.im3-pl-dl dd { text-align: right; font-weight: var(--im3-w-s); color: var(--im3-ink); font-variant-numeric: tabular-nums; }
.im3-pl-more { justify-self: start; gap: 8px; padding: 0; }
.im3-pl-more .im3-ic { width: 18px; height: 18px; }
.im3-pl-tel { display: grid; gap: 2px; }
.im3-pl-tel a { display: inline-flex; align-items: center; min-height: 48px; font-size: 28px; font-weight: var(--im3-w-h); letter-spacing: .01em; color: var(--im3-ink); font-variant-numeric: tabular-nums; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: #9a3b2266; text-underline-offset: 7px; }
.im3-pl-call { width: 100%; }

/* PC(1024 이상): A4 = 위 전폭 사진 띠(48vh) + 그 아래 가운데 정보 카드가 띠 아랫단 20%를 덮고 올라온다. C2 = 왼쪽 7 본문 + 오른쪽 5 붙박이 기둥 */
@media (min-width: 1024px) {
  main [id] { scroll-margin-top: 92px; }
  .im3-shot img { height: max(48vh, 380px); object-position: 50% 64%; }
  .im3-shot figcaption { left: auto; right: 24px; top: 20px; }
  .im3-hero { padding-bottom: 24px; }
  .im3-hero-in { margin-top: calc(-0.2 * max(48vh, 380px)); }
  .im3-hero-card { max-width: 880px; margin: 0 auto; gap: 20px; padding: 44px 56px 40px; }
  .im3-c2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: start; max-width: var(--im3-container); margin: 0 auto; padding: 0 32px; }
  .im3-c2-main { min-width: 0; }
  .im3-c2-main .im3-wrap { max-width: none; padding: 0; }
  .im3-c2-main .im3-sec { padding: 72px 0; background: transparent; }
  .im3-c2-main .im3-sec + .im3-sec { box-shadow: inset 0 1px 0 var(--im3-edge); }
  .im3-c2-main .im3-sec.im3-dark, .im3-c2-main .im3-sec.im3-dark + .im3-sec { box-shadow: none; }
  .im3-c2-main .im3-sec.im3-dark { margin: 24px 0; padding: 48px 40px; border: 1px solid var(--im3-edge); border-radius: var(--im3-r-lg); background: var(--im3-bg); }
  .im3-c2-main .im3-head { margin-bottom: 32px; }
  .im3-c2-main h2 { font-size: 36px; }
  .im3-c2-main .im3-kv { grid-template-columns: 1fr; }
  .im3-c2-main .im3-kv .im3-row:nth-child(2)::before { display: block; }
  .im3-c2-main .im3-kv .im3-row:nth-child(even) { box-shadow: none; }
  .im3-pillar { display: block; position: sticky; top: 100px; margin: 72px 0 72px; }
}

/* ---- 클립 결함 역수정(design M002.P024.T015, dev t140 out-r4c 규칙 C1~C5와 같은 결과).
   사용자 아이폰 지적: 연락 구역 큰 제목이 카드 밖으로 잘림. 원인 = ko 연락 h2의 nowrap span(36px 고정, 18자, 390폭 +196px)이
   section overflow:hidden에 숨음 + ja 연락 버튼 nowrap(360~390폭 +51~81px) + en 한눈에 표 dt가 dd auto 열에 눌림.
   overflow-wrap:anywhere는 쓰지 않는다(body의 break-word로 충분 — nowrap이 없어야 작동하므로 C2가 nowrap을 푼다) ---- */
/* C1: ::before가 inset 0이라 클립이 필요 없다. 넘침이 숨겨지지 않게 */
.im3-contact { overflow: visible; }
@media (max-width: 1023px) {
  /* C2: 큰 제목 안 nowrap 묶음을 푼다 */
  h1 .im3-nw, h2 .im3-nw, h3 .im3-nw { white-space: normal; }
  /* C3: 연락 h2 글자 크기 유동(320폭 26.2px, 390폭 32px, 439폭 이상 36px) */
  .im3-card-c h2 { font-size: clamp(26px, 8.2vw, 36px); }
  /* C4: 연락 버튼 줄 — 열 최소 0, 버튼 최대 폭 100%, 버튼 글 줄바꿈 허용 */
  .im3-c-act > *, .im3-c-sub > * { min-width: 0; max-width: 100%; }
  .im3-c-sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .im3-c-act .im3-btn, .im3-c-sub .im3-btn { white-space: normal; text-align: center; }
  /* C5: 한눈에 표 dt 라벨 열은 내용 폭 이하로 줄지 않게, dd는 0까지 */
  .im3-row { grid-template-columns: minmax(max-content, 1fr) minmax(0, auto); }
  .im3-row dd { min-width: 0; }
}

/* ---- 역반영 r6(design M002.P024, dev t140 out-r6 SUMMARY 맨 위 D1~D3과 같은 값).
   dev 실측: r5는 전화번호 줄 수 2(ko·en·zh·ja의 291·320), en 요일 칩 넘침 2(291) -> r6은 전화번호 24칸 모두 1줄, 칩 넘침 0. ---- */
/* D1: 전화번호 한 줄 + 유동 크기 */
@media (max-width: 1023px) { .im3-telno a { white-space: nowrap; font-size: clamp(22px, 7.4vw, 30px); } }
/* D2: 359 이하 요일 칩 */
@media (max-width: 359px) { .im3-week li { min-width: 0; font-size: 11px; letter-spacing: -.02em; } .im3-week li b { font-size: 14px; } }
/* D3: 일본어 큰 제목 구절 단위 줄바꿈(dev 지표로는 효과 입증 못 함, 눈 확인 필요) */
:lang(ja) h1, :lang(ja) h2 { word-break: auto-phrase; }
/* B2(dev r5·r6 빌드 단계와 같은 값): 사진 자리 배경은 사진 주조색(design 공통 규칙). hero-240.webp 전체 평균색 RGB(118,74,40) */
.im3-shot, .im3-shot img { background-color: #764a28; }

/* ==== 3판 고침 T023 (design ium M002.P024.T023, 2026-10-04) ==== */

:lang(ja) h2, :lang(ja) h3, :lang(ja) li { word-break: auto-phrase; }
.im3-checks li > span:not(.im3-num):lang(ja), :lang(ja) .im3-checks li > span:not(.im3-num) { word-break: auto-phrase; line-break: strict; }
/* 연락 카드 보조 버튼: 좁은 폭에서 반 폭(1fr 1fr)으로 찌그러져 ja 세 줄·zh 두 줄이 됨 → 767 이하에서 한 열로 첫 버튼과 같은 폭 */
@media (max-width: 767px) {
  .im3-c-sub { grid-template-columns: minmax(0, 1fr); }
}

/* im3 r8 build-step changes E2-E3 (not in design source; E1 is now in the design source) */
.im3-c-act .im3-btn, .im3-c-sub .im3-btn { word-break: keep-all; overflow-wrap: normal; }
@media (max-width: 359px) { .im3-c-act .im3-btn, .im3-c-sub .im3-btn { font-size: 13px; padding-left: 8px; padding-right: 8px; } }
@media (max-width: 399px) { html[lang="ja"] .im3-c-sub .im3-btn { font-size: 14px; gap: 6px; padding-left: 8px; padding-right: 8px; } html[lang="ja"] .im3-c-sub .im3-btn .im3-ic { display: none; } }
@media (max-width: 359px) { html[lang="ja"] .im3-c-sub .im3-btn { font-size: 12px; gap: 4px; padding-left: 4px; padding-right: 4px; } }

/* 임팩트 라이트 비텍스트 대비 수정 — design M002.P024.T020 2차 생성물(tools/v3_dark.py).
   im3.css 뒤, 다크 css 앞에 붙인다. v3 버튼은 테두리가 없어 면(fill-2)과 바탕의 대비가 3 미만이다 -> 면 버튼에 1px 안쪽 링(--im3-ctl).
   월넛 면 안 주 버튼(원본 pt)도 월넛 바탕과 3 미만 -> 밝은 브랜드색 1px 링(--im3-pt-line). 크기·배치는 바뀌지 않는다(box-shadow). */
:root, .im3-light { --im3-ctl: #23190f85; }
.im3-dark { --im3-ctl: #f7efe369; --im3-pt-line: #c86040; }
.im3-btn-soft, .im3-ac, .im3-chip span, .im3-sel, .im3-x { box-shadow: inset 0 0 0 1px var(--im3-ctl); }
.im3-dark .im3-btn:not(.im3-btn-soft):not(.im3-btn-text) { box-shadow: inset 0 0 0 1px var(--im3-pt-line), var(--im3-shadow-cta); }

/* 임팩트 「밤의 테라코타」 다크 팔레트 — design M002.P024.T020 2차 생성물(tools/v3_dark.py, 손으로 고치지 말 것).
   im3.css 뒤에 붙인다(dev 빌드). 걸리는 경우: html[data-theme=dark] 또는 시스템 다크에서 html[data-theme=system]·data-theme 없음(JS 끔).
   페이지(크림) 토큰만 다크로 바꾼다. 월넛(.im3-dark) 면은 원본 값 그대로 두고 링 두 개(--im3-ctl 면 버튼, --im3-pt-line 주 버튼)만 얹는다.
   theme-color data-dark = #281e1b */
:root[data-theme="dark"], :root[data-theme="dark"] .im3-light {
  color-scheme: dark;
  --im3-bg: #281e1b;
  --im3-bg-alt: #302420;
  --im3-tile-b: #2d231f;
  --im3-tile-a: #322623;
  --im3-ink: #efe7e4;
  --im3-ink-2: #c9bcb8;
  --im3-acc: #de7a5c;
  --im3-fill-1: #efe7e40d;
  --im3-fill-2: #efe7e41a;
  --im3-fill-3: #efe7e42b;
  --im3-line: #efe7e41f;
  --im3-acc-tint: #de7a5c2b;
  --im3-inset: #0000004d;
  --im3-num-bg: #de7a5c;
  --im3-num-fg: #281e1b;
  --im3-shadow-tile: inset 0 1px 0 #efe7e414, 0 12px 32px #00000059;
  --im3-edge: #de7a5c52;
  --im3-pt: #c05130;
  --im3-pt-hi: #c05130;
  --im3-pt-deep: #974026;
  --im3-ctl: #efe7e469;
}
:root[data-theme="dark"] .im3-dark { --im3-ctl: #f7efe369; --im3-pt-line: #c86040; }
:root[data-theme="dark"] .im3-btn-soft, :root[data-theme="dark"] .im3-ac, :root[data-theme="dark"] .im3-chip span, :root[data-theme="dark"] .im3-sel, :root[data-theme="dark"] .im3-x { box-shadow: inset 0 0 0 1px var(--im3-ctl); }
:root[data-theme="dark"] .im3-dark .im3-btn:not(.im3-btn-soft):not(.im3-btn-text) { box-shadow: inset 0 0 0 1px var(--im3-pt-line), var(--im3-shadow-cta); }
:root[data-theme="dark"] .rt { --rt-acc: #de7a5c; --rt-ink: #efe7e4; --rt-ink2: #c9bcb8; --rt-paper: #322623; --rt-road: #503f3a; --rt-soft: #efe7e414; --rt-line: #de7a5c59; --rt-on: #281e1b; }
:root[data-theme="dark"] .im3-proof { outline: 1px solid #efe7e438; outline-offset: -1px; }
:root[data-theme="dark"] .im3-shot img, :root[data-theme="dark"] .im3-gal img { box-shadow: none; }
:root[data-theme="dark"] .im3-hero-card { box-shadow: 0 18px 40px #00000059; }
:root[data-theme="dark"] .im3-gal img { background-color: var(--im3-bg-alt); }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"], :root:not([data-theme]), :root[data-theme="system"] .im3-light, :root:not([data-theme]) .im3-light {
    color-scheme: dark;
    --im3-bg: #281e1b;
    --im3-bg-alt: #302420;
    --im3-tile-b: #2d231f;
    --im3-tile-a: #322623;
    --im3-ink: #efe7e4;
    --im3-ink-2: #c9bcb8;
    --im3-acc: #de7a5c;
    --im3-fill-1: #efe7e40d;
    --im3-fill-2: #efe7e41a;
    --im3-fill-3: #efe7e42b;
    --im3-line: #efe7e41f;
    --im3-acc-tint: #de7a5c2b;
    --im3-inset: #0000004d;
    --im3-num-bg: #de7a5c;
    --im3-num-fg: #281e1b;
    --im3-shadow-tile: inset 0 1px 0 #efe7e414, 0 12px 32px #00000059;
    --im3-edge: #de7a5c52;
    --im3-pt: #c05130;
    --im3-pt-hi: #c05130;
    --im3-pt-deep: #974026;
    --im3-ctl: #efe7e469;
  }
  :root[data-theme="system"] .im3-dark, :root:not([data-theme]) .im3-dark { --im3-ctl: #f7efe369; --im3-pt-line: #c86040; }
  :root[data-theme="system"] .im3-btn-soft, :root:not([data-theme]) .im3-btn-soft, :root[data-theme="system"] .im3-ac, :root:not([data-theme]) .im3-ac, :root[data-theme="system"] .im3-chip span, :root:not([data-theme]) .im3-chip span, :root[data-theme="system"] .im3-sel, :root:not([data-theme]) .im3-sel, :root[data-theme="system"] .im3-x, :root:not([data-theme]) .im3-x { box-shadow: inset 0 0 0 1px var(--im3-ctl); }
  :root[data-theme="system"] .im3-dark .im3-btn:not(.im3-btn-soft):not(.im3-btn-text), :root:not([data-theme]) .im3-dark .im3-btn:not(.im3-btn-soft):not(.im3-btn-text) { box-shadow: inset 0 0 0 1px var(--im3-pt-line), var(--im3-shadow-cta); }
  :root[data-theme="system"] .rt, :root:not([data-theme]) .rt { --rt-acc: #de7a5c; --rt-ink: #efe7e4; --rt-ink2: #c9bcb8; --rt-paper: #322623; --rt-road: #503f3a; --rt-soft: #efe7e414; --rt-line: #de7a5c59; --rt-on: #281e1b; }
  :root[data-theme="system"] .im3-proof, :root:not([data-theme]) .im3-proof { outline: 1px solid #efe7e438; outline-offset: -1px; }
  :root[data-theme="system"] .im3-shot img, :root:not([data-theme]) .im3-shot img, :root[data-theme="system"] .im3-gal img, :root:not([data-theme]) .im3-gal img { box-shadow: none; }
  :root[data-theme="system"] .im3-hero-card, :root:not([data-theme]) .im3-hero-card { box-shadow: 0 18px 40px #00000059; }
  :root[data-theme="system"] .im3-gal img, :root:not([data-theme]) .im3-gal img { background-color: var(--im3-bg-alt); }
}

/* 공식홈 공통 부품: 라이트/다크 테마 토글 단추 (design M002.P024.T020, spec.md).
   사이트 css 뒤, 사이트 다크 팔레트(sites/*-dark.css) 앞이나 뒤 어디든 된다(서로 다른 속성만 만진다).
   단추 색은 머리말 글색을 물려받는다(color: inherit) — 아이콘 대비는 사이트의 글/바탕 대비와 같다. */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
.theme-btn { display: none; }
.js .theme-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: inherit; font: inherit; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.theme-btn svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.theme-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (hover: hover) { .js .theme-btn:hover { background: rgba(127, 127, 127, .14); } }
/* 아이콘은 aria-pressed가 아니라 data-theme으로 고른다 — theme.js가 돌기 전 첫 그림부터 맞는 아이콘이 나온다.
   라이트에서는 달(다크로), 다크에서는 해(라이트로). */
.theme-sun { display: none !important; }
:root[data-theme="dark"] .theme-sun { display: block !important; }
:root[data-theme="dark"] .theme-moon { display: none !important; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] .theme-sun { display: block !important; }
  :root[data-theme="system"] .theme-moon { display: none !important; }
}
