/* ㉓ 검정 바닥글 + 화면 아래 고정 줄 (시안 y 21515~22057) */
.s23 {
  --s23-gold: #cdbb71;
  --s23-bar-gold: #dbc87b;
  --s23-info: #979797;
  --s23-copy: #555;
  background: var(--c-footer);
  color: var(--s23-info);
}
.s23-in { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding: 0 var(--gutter); }
.s23-tel { display: inline-block; color: var(--s23-gold); font-style: italic; text-decoration: none; letter-spacing: -0.02em; }
.s23-tel:focus-visible, .s23-privacy:focus-visible { outline: 2px solid var(--s23-gold); outline-offset: 3px; }
.s23-line { height: 1px; background: #202020; }
.s23-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.s23-info p { letter-spacing: -0.03em; }
.s23-info p span { display: inline-block; }
.s23-info p span + span { margin-left: 16px; }
.s23-info .s23-copy { color: var(--s23-copy); }
.s23-info .s23-copy span { margin-left: 0; }
.s23-privacy { flex: none; color: #e2e2e2; text-decoration: underline; text-underline-offset: 3px; letter-spacing: -0.03em; }

/* ---------- 고정 줄 ---------- */
.s23-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: var(--bar-h); background: var(--c-bar); padding-bottom: env(safe-area-inset-bottom, 0px); box-sizing: content-box; }
.s23-quick { position: relative; height: 100%; display: flex; align-items: center; margin-inline: auto; }
.s23 .s23-pot { position: absolute; left: 0; bottom: 0; line-height: 0; pointer-events: none; }
.s23 .s23-pot img { width: 100%; height: auto; }
.s23-q-agree { display: inline-flex; align-items: center; gap: 6px; color: #e8ece9; letter-spacing: -0.04em; cursor: pointer; white-space: nowrap; }
.s23-q-agree input { -webkit-appearance: none; appearance: none; flex: none; margin: 0; width: 12px; height: 12px; border: 1.5px solid #fff; border-radius: 2px; background: transparent; cursor: pointer; }
.s23-q-agree input:checked { background: var(--s23-bar-gold); border-color: var(--s23-bar-gold); box-shadow: inset 0 0 0 2px var(--c-bar); }
.s23-q-agree input:focus-visible { outline: 2px solid var(--s23-bar-gold); outline-offset: 2px; }
.s23-q-row { display: flex; align-items: center; }
.s23-q-wrap { display: block; }
.s23-q-in {
  display: block; width: 100%; border: 0; border-radius: 4px; background: var(--c-white); color: #111; text-align: center;
  font: inherit; letter-spacing: -0.04em; -webkit-appearance: none; appearance: none;
}
.s23-q-in::placeholder { color: #737373; opacity: 1; }
.s23-q-in:focus-visible { outline: 2px solid var(--s23-bar-gold); outline-offset: 1px; }
.s23-q-btn { border: 0; border-radius: 4px; background: #000; color: var(--c-white); font-family: var(--f-body); font-weight: 700; letter-spacing: -0.04em; cursor: pointer; }
.s23-q-btn:hover { background: #1e1e1e; }
.s23-q-btn:disabled { cursor: progress; opacity: .75; }
/* 접수 안내: 처리방침 링크 · 틀린 칸 표시(s23.js 가 aria-invalid 를 붙인다) */
.s23-q-agree a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.s23-q-agree a:focus-visible { outline: 2px solid var(--s23-bar-gold); outline-offset: 2px; }
.s23-q-in[aria-invalid="true"], .s23-q-agree input[aria-invalid="true"] { outline: 2px solid #ffd38a; outline-offset: 1px; }
/* 동의 두 칸(수집·이용 · 제3자 제공) + '내용 보기'(고정 줄 위로 뜨는 고지) — 개인정보 보호법 제15조②·제17조②·제22조① */
.s23-q-agrees { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.s23-q-notice summary { display: inline-block; color: #e8ece9; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 2px; letter-spacing: -0.04em; }
.s23-q-notice summary::-webkit-details-marker { display: none; }
.s23-q-notice summary:focus-visible { outline: 2px solid var(--s23-bar-gold); outline-offset: 2px; }
.s23-q-pop {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); z-index: 2;
  width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - var(--bar-h) - 40px); overflow: auto;
  padding: 14px 18px; border-radius: 8px; background: #111; color: #d9dedb; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  font-size: 13px; line-height: 1.6; letter-spacing: -0.03em; white-space: normal; text-align: left;
}
.s23-q-pop-h { margin: 0 0 4px; color: var(--s23-bar-gold); font-weight: 700; }
.s23-q-pop dl { margin: 0 0 10px; }
.s23-q-pop dl div { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; }
.s23-q-pop dl div + div { margin-top: 2px; }
.s23-q-pop dt { color: #a9b0ac; }
.s23-q-pop dd { margin: 0; }
.s23-q-pop-more { margin: 0; }
.s23-q-pop a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.s23-q-pop a:focus-visible { outline: 2px solid var(--s23-bar-gold); outline-offset: 2px; }
/* 함정 칸(website): 사람 눈에 안 보임 · aria-hidden 과 tabindex=-1 로 화면 읽기·탭 이동에서도 빠짐 */
.s23-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.s23-q-btn:focus-visible { outline: 2px solid var(--s23-bar-gold); outline-offset: 2px; }
.s23-q-tel { display: inline-flex; align-items: center; gap: 4px; color: var(--s23-bar-gold); text-decoration: none; white-space: nowrap; letter-spacing: -0.03em; }
.s23-q-tel svg { flex: none; }
.js .s23-q-tel { animation: s23-glow 3.2s ease-in-out 1.5s infinite; }
@keyframes s23-glow { 0%, 80%, 100% { text-shadow: none; } 88% { text-shadow: 0 0 14px rgba(255, 236, 160, .75); } }
.s23-q-status { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 8px; background: #111; color: var(--s23-bar-gold); font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.s23-q-status:empty { display: none; }
.s23-top {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center;
  background: var(--s23-bar-gold); color: #000; border-radius: 18px; text-decoration: none; font-weight: 900; letter-spacing: -0.02em;
}
.s23-top span { border-bottom: 2px solid #000; line-height: 1.05; }
.s23-top:focus-visible { outline: 3px solid var(--c-white); outline-offset: 2px; }
.s23-mbar { display: none; }
/* 뚝배기 위 김(10-27 힉스필드 55번): 검정 바탕 흰 김 영상을 screen 으로 겹쳐 검정은 사라지고 김만 보인다.
   고정 줄(z-index 90) 안에 넣으면 그 안에서만 섞여 검은 네모가 생기므로, 고정 줄 밖에서 같은 자리에 맞춰 띄운다.
   자리 = .s23-quick 왼쪽 끝(가로 1197px · 화면-140px 중 작은 값, 가운데 정렬), 뚝배기와 같은 폭 182px · 아래 맞춤. */
.s23 > .loopv { display: none; }

/* ---------- PC(769px~): 바닥글 시안 좌표 ---------- */
@media (min-width: 769px) {
  .s23 { height: 462px; }
  .s23-in:first-child { padding-top: 88px; padding-bottom: 41px; }
  .s23-tel { font-size: 37px; line-height: 48px; font-weight: 900; }
  .s23-body { padding-top: 43px; }
  .s23-info p { font-size: 15px; line-height: 25px; }
  .s23-info .s23-copy { margin-top: 31px; }
  .s23-privacy { margin-top: 1px; font-size: 16px; line-height: 25px; }

  .s23-quick { width: 1197px; max-width: calc(100% - 140px); }
  .s23 .s23-pot { width: 182px; }
  .s23-q-fields { margin-left: 221px; display: flex; flex-direction: column; gap: 3px; flex: 0 1 731px; min-width: 0; }
  .s23-q-agree, .s23-q-agrees { font-size: 12px; line-height: 16px; }
  .s23-q-row { gap: 11px; }
  .s23-q-row > * { flex: 1 1 176px; min-width: 0; }
  .s23-q-in { height: 31px; font-size: 15px; }
  .s23-q-btn { height: 31px; font-size: 15px; }
  .s23-q-tel { margin-left: 12px; margin-top: 4px; font-size: 40px; font-weight: 900; line-height: 1; }
  .s23-q-tel svg { width: 34px; height: 34px; }
  .s23-top { width: 52px; height: 52px; font-size: 16px; }
}
@media (min-width: 1280px) {
  .s23 > .loopv {
    display: block; position: fixed; z-index: 91; left: calc((100% - min(1197px, 100% - 140px)) / 2); bottom: env(safe-area-inset-bottom, 0px);
    width: 182px; height: calc(182px * 288 / 426); max-width: none; object-fit: fill; mix-blend-mode: screen; pointer-events: none;
  }
}
@supports not (mix-blend-mode: screen) { .s23 > .loopv { display: none !important; } }
@media (min-width: 769px) and (max-width: 1279px) {
  .s23 .s23-pot { display: none; }
  .s23-q-fields { margin-left: 0; }
  .s23-quick { max-width: calc(100% - 100px); margin-left: 24px; }
  .s23-q-tel { font-size: 30px; }
  .s23-q-tel svg { width: 26px; height: 26px; }
}

/* ---------- 휴대폰: 바닥글 한 줄씩, 고정 줄은 버튼 3칸 ---------- */
@media (max-width: 768px) {
  .s23 { padding-bottom: 28px; }
  .s23-in:first-child { padding-top: 40px; padding-bottom: 24px; }
  .s23-tel { font-size: 32px; line-height: 1.2; font-weight: 900; }
  .s23-body { flex-direction: column; padding-top: 24px; gap: 18px; }
  .s23-info p { font-size: 14px; line-height: 1.7; }
  .s23-info p span + span { margin-left: 0; display: block; }
  .s23-info .s23-copy { margin-top: 18px; }
  .s23-info .s23-copy span { display: inline; }
  .s23-privacy { font-size: 14px; }

  .s23-quick { display: none; }
  .s23-top { display: none; }
  .s23-mbar { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 100%; }
  .s23-m { display: flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: -0.04em; white-space: nowrap; }
  .s23-m:focus-visible { outline: 3px solid var(--c-white); outline-offset: -4px; }
  .s23-m--tel { color: var(--s23-bar-gold); }
  .s23-m--form { background: var(--s23-bar-gold); color: #10331f; }
  .s23-m--kakao { background: #fee500; color: #191600; }
}
@media (max-width: 360px) {
  .s23-m { font-size: 14px; gap: 4px; }
  .s23-m svg { width: 15px; height: 15px; }
}
