/* ㉒ 창업문의 — 왼쪽 어두운 매장 사진 + 글, 오른쪽 초록 판 상담 양식 (시안 y 20616~21514) */
.s22 {
  --s22-gold: #dbc87b;
  --s22-panel: #032e1b;
  --s22-btn: #014127;
  --s22-line: rgba(255, 255, 255, .16);
  --s22-dim: #9ea7a2;
  background: #120b06;
  color: var(--c-white);
}
.s22-photo { background: #120b06 url(../assets/s22/photo.jpg) 0 0 / cover no-repeat; }
/* 사진: 힉스필드 36번(힉스 18 저녁 피크 홀, 10-27 대표님 선택) — 어둡게 덮는 처리는 사진에 구워 둠(전과 같은 밝기). panel.jpg 는 같은 사진의 판 자리를 초록으로 옅게 비친 것.
   AI로 만든 매장 홀이라 사진 오른쪽 아래(PC는 초록 판 바로 왼쪽)에 '연출 이미지' 작은 표기 */
.s22-photo::after { content: "연출 이미지"; position: absolute; z-index: 1; right: 12px; bottom: 10px; font-size: 11px; line-height: 1; font-weight: 400; letter-spacing: 0; color: rgba(255, 255, 255, .6); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); pointer-events: none; }
.s22-eyebrow { color: var(--c-white); font-weight: 700; letter-spacing: -0.07em; }
.s22-title { color: var(--c-white); letter-spacing: -0.04em; text-wrap: initial; }
.s22-title em { font-style: normal; color: var(--s22-gold); }
/* 10-27 대표님 문구: 두 문장, 크게 */
.s22-t1, .s22-t2 { display: block; }
.s22-mbr { display: none; }
.s22-t2 { font-weight: 700; color: rgba(255, 255, 255, .95); letter-spacing: -0.05em; }
.s22-desc { color: var(--c-white); font-weight: 500; letter-spacing: -0.06em; }

/* 초록 판 */
.s22-panel { position: relative; z-index: 1; background: var(--s22-panel) url(../assets/s22/panel.jpg) center / cover no-repeat; }
.s22-row { position: relative; display: flex; align-items: center; border-bottom: 1px solid var(--s22-line); }
.s22-lab { position: relative; flex: none; display: flex; align-items: center; color: var(--c-white); font-weight: 500; }
.s22-spread { display: flex; justify-content: space-between; width: 100%; }
.s22-spread i { font-style: normal; }
.s22-lab--free { letter-spacing: -0.02em; white-space: nowrap; }
.s22-req { position: absolute; color: #0f6a3f; font-weight: 700; }
.s22-field {
  flex: 1; min-width: 0; align-self: stretch; border: 0; background: transparent; color: var(--c-white);
  font: inherit; letter-spacing: -0.02em; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none;
}
.s22-field::placeholder { color: rgba(255, 255, 255, .38); opacity: 1; }
.s22-field:focus-visible, .s22-choice:focus-within { box-shadow: inset 0 -2px 0 var(--s22-gold); }
select.s22-field { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23dbc87b' stroke-width='1.6'/%3E%3C/svg%3E") right 6px center / 12px 8px no-repeat; padding-right: 28px; }
select.s22-field option { color: #111; background: #fff; }
textarea.s22-field { resize: none; line-height: 1.5; }
.s22-choice { display: flex; align-items: center; gap: 22px; }
.s22-choice label { white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; color: rgba(255, 255, 255, .85); }
.s22-agree { display: flex; align-items: center; gap: 6px; color: var(--s22-dim); letter-spacing: -0.04em; cursor: pointer; }
.s22-agree input, .s22-choice input {
  -webkit-appearance: none; appearance: none; flex: none; margin: 0; width: 13px; height: 13px; border: 1.5px solid #a1a7a3; border-radius: 1px; background: transparent; cursor: pointer;
}
.s22-choice input { width: 15px; height: 15px; border-radius: 50%; }
.s22-agree input:checked, .s22-choice input:checked { background: var(--s22-gold); border-color: var(--s22-gold); box-shadow: inset 0 0 0 2px var(--s22-panel); }
.s22-agree input:focus-visible, .s22-choice input:focus-visible { outline: 2px solid var(--s22-gold); outline-offset: 2px; }
.s22-submit {
  display: block; margin-inline: auto; border: 0; cursor: pointer; background: var(--s22-btn); color: var(--s22-gold);
  font-family: var(--f-body); font-weight: 700; letter-spacing: -0.05em; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: filter .2s ease, transform .2s ease;
}
.s22-submit:hover { filter: brightness(1.15); transform: translateY(-2px); }
.s22-submit:focus-visible { outline: 3px solid var(--s22-gold); outline-offset: 3px; }
.s22-status { text-align: center; color: var(--s22-gold); font-weight: 700; min-height: 1.6em; }
.s22-status.is-warn { color: #ffd38a; }
.s22-submit:disabled { cursor: progress; opacity: .75; filter: none; transform: none; }
.s22-status { scroll-margin-bottom: calc(var(--bar-h) + 16px); }
/* 접수 안내: 처리방침 '보기' 링크 · 칸 안내(s22.js 가 틀린 칸 바로 아래에 붙인다) */
.s22-agree a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.s22-agree a:focus-visible { outline: 2px solid var(--s22-gold); outline-offset: 2px; }
.s22-row.is-err { border-bottom-color: #ffd38a; }
.s22-agree.is-err { color: #ffd38a; }
.s22-agree.is-err input { border-color: #ffd38a; }
.s22-ferr { margin: 8px 0 0; color: #ffd38a; font-size: 14px; font-weight: 700; letter-spacing: -0.03em; }
/* 동의 두 칸(수집·이용 · 제3자 제공)과 '동의 내용 보기' — 개인정보 보호법 제15조②·제17조②·제22조① 고지 */
.s22-agree + .s22-agree { margin-top: 8px; }
.s22-notice { margin-top: 8px; padding-left: 19px; color: var(--s22-dim); font-size: 13px; line-height: 1.6; letter-spacing: -0.03em; }
.s22-notice summary { display: inline-block; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.s22-notice summary::-webkit-details-marker { display: none; }
.s22-notice summary::after { content: " ▾"; text-decoration: none; display: inline-block; margin-left: 2px; }
.s22-notice[open] summary::after { content: " ▴"; }
.s22-notice summary:focus-visible { outline: 2px solid var(--s22-gold); outline-offset: 2px; }
.s22-notice-body { margin-top: 8px; padding: 12px 14px; border: 1px solid var(--s22-line); border-radius: 6px; background: rgba(0, 0, 0, .22); }
.s22-notice-h { margin: 0 0 4px; color: #e8ece9; font-weight: 700; }
.s22-notice dl { margin: 0 0 10px; }
.s22-notice dl div { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; }
.s22-notice dl div + div { margin-top: 2px; }
.s22-notice dt { color: #c9cfcb; }
.s22-notice dd { margin: 0; }
.s22-notice-more { margin: 0; }
.s22-notice a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.s22-notice a:focus-visible { outline: 2px solid var(--s22-gold); outline-offset: 2px; }
/* 함정 칸(website): 사람 눈에 안 보임 · aria-hidden 과 tabindex=-1 로 화면 읽기·탭 이동에서도 빠짐 */
.s22-hp { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* ---------- PC(1100px~): 사진 위에 글, 오른쪽에 판 ---------- */
@media (min-width: 1100px) {
  .s22 { min-height: 899px; }
  .s22 .s22-photo { position: absolute; inset: 0; background-position: left top; }
  .s22-photo::after { right: calc(100% - min(50% + 135px, 100% - 520px) + 12px); bottom: 12px; font-size: 12px; }
  .s22-copy { position: absolute; z-index: 1; left: max(var(--gutter), calc(50% - 719px)); top: 50%; transform: translateY(-50%); width: min(820px, calc(min(50% + 135px, 100% - 520px) - max(var(--gutter), calc(50% - 719px)) - 40px)); }
  .s22-eyebrow { font-size: 32px; line-height: 40px; }
  .s22-title { margin-top: 0; font-size: clamp(46px, 3.75vw, 72px); line-height: 1.22; letter-spacing: -0.05em; }
  .s22-t2 { margin-top: 40px; font-size: clamp(28px, 2.3vw, 44px); line-height: 1.42; }
  .s22-desc { margin-top: 65px; font-size: 17px; line-height: 30px; }
  .s22-panel {
    margin-left: min(calc(50% + 135px), calc(100% - 520px)); width: min(767px, calc(50% - 135px - var(--gutter)));
    min-width: 500px; min-height: 899px; padding: 200px clamp(28px, 4.75vw, 91px) 70px clamp(28px, 4.7vw, 90px);
    border-left: 1px solid rgba(255, 220, 160, .22); border-right: 1px solid rgba(255, 220, 160, .25);
  }
  .s22-row { min-height: 76.5px; padding: 6px 0 0 50px; }
  .s22-lab { width: 135px; margin-right: 34px; font-size: 20px; }
  .s22-lab--free { font-size: 18px; }
  .s22-req { left: -20px; top: -2px; font-size: 18px; }
  .s22-field { font-size: 18px; padding: 0 4px; }
  textarea.s22-field { padding-top: 22px; min-height: 66px; }
  .s22-agree { margin-top: 22px; font-size: 15px; }
  .s22-submit { margin-top: 52px; width: 388px; max-width: 100%; height: 80px; font-size: 27px; }
  .s22-status { margin-top: 14px; font-size: 16px; }
}

/* ---------- 태블릿·휴대폰: 사진+글 블록 → 아래에 양식 ---------- */
@media (max-width: 1099px) {
  .s22 .s22-photo { position: absolute; left: 0; right: 0; top: 0; height: var(--s22-copy-h, 420px); background-position: 22% center; }
  .s22-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.15), rgba(0,0,0,.45)); }
  .s22-copy { position: relative; z-index: 1; min-height: var(--s22-copy-h, 420px); display: flex; flex-direction: column; justify-content: center; }
  .s22-row { min-height: 62px; }
  .s22-req { left: -14px; top: -2px; font-size: 16px; }
  textarea.s22-field { padding-top: 18px; min-height: 58px; }
  .s22-submit { width: 100%; max-width: 388px; }
}
@media (min-width: 769px) and (max-width: 1099px) {
  .s22 { --s22-copy-h: 460px; }
  .s22-copy { padding: 60px 48px; }
  .s22-eyebrow { font-size: 26px; line-height: 1.4; }
  .s22-title { margin-top: 0; font-size: clamp(42px, 5.6vw, 56px); line-height: 1.24; }
  .s22-t2 { margin-top: 28px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.45; }
  .s22-desc { margin-top: 30px; font-size: 17px; line-height: 1.75; }
  .s22-panel { padding: 56px 48px 60px; }
  .s22-row { padding-left: 24px; }
  .s22-lab { width: 120px; margin-right: 26px; font-size: 18px; }
  .s22-lab--free { font-size: 17px; }
  .s22-field { font-size: 17px; }
  .s22-agree { margin-top: 18px; font-size: 15px; }
  .s22-submit { margin-top: 36px; height: 72px; font-size: 24px; }
  .s22-status { margin-top: 12px; font-size: 15px; }
}
@media (max-width: 768px) {
  .s22 { --s22-copy-h: 380px; }
  .s22-copy { padding: 48px 16px; }
  .s22-eyebrow { font-size: 19px; line-height: 1.4; letter-spacing: -0.06em; }
  .s22-title { margin-top: 0; font-size: clamp(29px, 8.1vw, 40px); line-height: 1.26; }
  .s22-t2 { margin-top: 20px; font-size: clamp(19px, 5.1vw, 26px); line-height: 1.5; }
  .s22-mbr { display: inline; }
  .s22-desc { margin-top: 20px; font-size: 15px; line-height: 1.7; letter-spacing: -0.04em; }
  .s22-desc br { display: none; }
  .s22-panel { padding: 36px 20px 44px 28px; }
  .s22-row { min-height: 58px; padding-left: 4px; }
  .s22-lab { width: 92px; margin-right: 14px; font-size: 16px; }
  .s22-lab--free { width: auto; min-width: 92px; font-size: 15px; letter-spacing: -0.05em; }
  .s22-field { font-size: 16px; }
  .s22-choice { gap: 18px; }
  .s22-agree { margin-top: 16px; font-size: 14px; }
  .s22-submit { margin-top: 28px; height: 60px; font-size: 20px; }
  .s22-status { margin-top: 10px; font-size: 14px; }
}
