/* 서산할매 버전2 — 어화락 골격 위에 우리 자료 비율 맞춤 (덮어쓰기 전용) */
:root {
  --ss-logo-ratio: 832 / 109;      /* hd_logo.png: 텍스트 로고(캐릭터 없음) */
  --ss-title-ratio: 427 / 233;     /* con01_02.png: 서산할매/묵은지김치찜 */
  --ss-emblem-ratio: 333 / 372;    /* con01_03.png: emblem_r */
  --ss-line-ratio: 832 / 109;      /* con01_14.png: logo_1line_w */
}

/* 헤더 */
.header_logo { width: calc(var(--px) * 380); aspect-ratio: var(--ss-logo-ratio); }
.header_lang { display: none; }
.header_menu { margin-left: 7%; }   /* 로고를 키운 만큼 */
.header .header_call_num { font-size: calc(var(--px) * 33); }   /* 「전화상담하기」 — 칸(16.96%) 안에 들어가게 */
@media (max-width: 599px) { .header .header_call_num { font-size: 4vw; } }   /* 위 규칙이 모바일 4vw(header.css)까지 덮어 6.8px 로 찌부됐던 것 — 레퍼 모바일 15.6px = 4vw */

/* 히어로 */
.con01_logo_img { width: calc(var(--px) * 360); aspect-ratio: var(--ss-title-ratio); }   /* 한 줄 시도 → 재이님 「두 줄이 낫다」 10-16 */
.con01_stamp { width: calc(var(--px) * 58); aspect-ratio: var(--ss-emblem-ratio); align-self: flex-end; margin-left: .4vw; }
.con01_plate_img { width: calc(var(--px) * 360); aspect-ratio: 1320 / 1023; }   /* 측면 일회용기 → 테두리 타원 누끼 */
.con01_marquee_logo { width: calc(var(--px) * 250); aspect-ratio: var(--ss-line-ratio); margin-left: calc(var(--px) * 14); }
/* 문구+로고가 원래 칸(422)보다 길어 겹침 → 칸·트랙 늘림 */
.con01_marquee_unit { width: calc(var(--px) * 580); }
.con01_marquee_track, .con01_marquee_copy { width: calc(var(--px) * 2900); }

@media (max-width: 599px) {
  .header_logo { width: 40vw; aspect-ratio: var(--ss-logo-ratio); }
  .con01_logo_img { width: 52vw; }
  .con01_stamp { width: 9vw; }
  /* 10-20 재이님 「메뉴누끼 마퀴로 떠다니는거 레퍼랑 같은거야? 웃긴데」: 칸 60vw 에 그릇 33vw → 27vw 빈틈으로 그릇이 뚝뚝 떨어져 둥둥 떠 보였음.
     레퍼 = 칸 60·접시 56(빈틈 4). 메인 그릇을 레퍼의 70%(61.6vw)로 줄였으니 같은 70% → 칸 42·그릇 39, 들썩임(simmer)은 레퍼에 없어 모바일에선 끔 */
  .con01_plates .swiper-slide { width: 42vw; }
  .con01_plate_img { width: 39vw; }
  .con01_plate_img img { animation: none; }
  .con01_marquee_logo { width: 34vw; }
  .con01_marquee_unit { width: 82vw; }
  .con01_marquee_track, .con01_marquee_copy { width: 410vw; }
}

/* 히어로 불길 → 김치찜 김(자료/스톡_김/mixkit12349 가공, 무료 상업 라이선스). 같은 plus-lighter 합성 */
/* 전면 김 영상은 과하다(재이님 10-16) → 끔. 대신 가운데 연기 그림 + 좌우 그릇 위 작은 연기(C안) */
.con01_fire { display: none; }
.con01_smoke_side { position: absolute; z-index: 4; pointer-events: none; width: calc(var(--px) * 680); aspect-ratio: 1045 / 1020; top: 15vw; }
.con01_smoke_l { left: -2%; }
.con01_smoke_r { right: -2%; transform: scaleX(-1); }
.con01_smoke_l .smoke { animation-delay: -1.4s; animation-duration: 4.6s; }
.con01_smoke_r .smoke { animation-delay: -2.9s; animation-duration: 5.2s; }
@media (max-width: 599px) { .con01_smoke_side { width: 56vw; top: 88vw; } .con01_smoke_l { left: -14%; } .con01_smoke_r { right: -14%; } }

/* 가운데 김치찜 회전: 10-15 비스듬한 뚝배기 땐 껐음 → 10-19 위에서 본 둥근 냄비 원형 누끼로 바꾸며 레퍼처럼 다시 돌림(common.css .rotate_img_r 10초 반시계) */
@media (prefers-reduced-motion: reduce) { .con01_dish .rotate_img_r { animation: none; } }
.con01_dish { width: calc(var(--px) * 588); aspect-ratio: 1 / 1; }   /* 10-19 재이님 「그릇 보이는 걸로, 30% 축소(840→588), 냄비 한가운데부터 보이게」 → 냄비 중심 = 마퀴 띠 윗선 */   /* 10-19 재이님 새 사진(위에서 본 둥근 냄비) 원형 누끼 con01_11_pot.webp — 옛 비스듬한 뚝배기 con01_11.png 은 1000/777 */
/* 그릇 띠가 설명 둘째 줄 아래에 닿았음(재이님 10-16) → 조금 줄이고 1.8vw 내림 */
@media (min-width: 600px) { .con01_plates { top: 34.9vw; } .con01_dish { top: 37.95vw; } }   /* 재이님 「좀만 더 내리자」 10-16 (+1.8vw) */
@media (max-width: 599px) { .con01_plates { top: 104vw; } .con01_dish { top: 125.6vw; width: 61.6vw; } }   /* 10-19 모바일: 레퍼 88vw × 0.7 (PC 처럼 --px 로 두면 120px), 냄비 중심 = 마퀴 윗선 */

/* ── 매장안내: 자체 SVG 지도 ── */
.con26_map { background: #f7f2e7; }
.con26_map .ss_map_svg { width: 100%; height: 100%; }
.con26_map .ss_pin { cursor: pointer; transition: r .25s; }
.con26_store { cursor: pointer; min-height: calc(var(--px) * 86); padding-bottom: calc(var(--px) * 14); }
.con26_store:last-child { min-height: calc(var(--px) * 86); }
.con26_store.is-on { background-color: #EAEFD6; }
.con26_store.is-on .con26_store_name { color: var(--color-point); }

/* ── 본사 대화(con22) 영상 자리 → POS 화면 사진 ── */
.con22_video_img { cursor: default; }

/* ── 창업비용(con24): 실제 비용표를 가리지 않게 원형은 왼쪽, 표는 오른쪽 ── */
@media (min-width: 600px) {
  .con24_table { margin-left: calc(var(--px) * 800); }
  .con24_medallion { left: calc(var(--px) * 120); }
}

/* 전화번호가 1688.3259(8자) → 010.3335.1994(11자)로 길어져 원 안에 맞춤 */
.con24_phone { font-size: calc(var(--px) * 62); }
@media (min-width: 600px) {
  .con28_call_num { font-size: calc(var(--px) * 54); }
}
/* 모바일: 실제 비용표를 가리지 않게 원형을 표 위로 빼서 세로로 쌓는다 */
@media (max-width: 599px) {
  .con24 { flex-direction: column; }
  .con24_medallion { position: relative; order: -1; left: auto; top: auto; }
  .con24_table { margin-top: 6vw; padding: 0 4vw; box-sizing: border-box; }
  .con24_phone { font-size: 6.2vw; }
}

/* 양념장 사진 위 불길 자리 → 김 (어둡게 비침) */
.con03_fire { opacity: .55; }

/* 손익계산서 카드 01~04 — 밝은 문서·카톡 사진 위 글씨 가독성 */
:root{
  --pl-shadow: 0 0 .5em rgba(0,0,0,.95), 0 .08em .25em rgba(0,0,0,.9), 0 0 1.4em rgba(0,0,0,.7);
  --pl-scrim: radial-gradient(closest-side, rgba(10,22,15,.88), rgba(10,22,15,.7) 45%, rgba(10,22,15,0));
}
.con09_card_title,.con09_card_desc,
.con10_title,.con10_body,
.con11_card_title,.con11_card_desc,
.con12_title,.con12_desc{ text-shadow: var(--pl-shadow); }
.con10_content,.con11_card{ isolation:isolate; }
.con10_content::before{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  left:50%; top:50%; width:240%; height:230%; transform:translate(-50%,-50%);
  background: var(--pl-scrim);
}
.con11_card_title::before{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  left:50%; top:80%; width:170%; height:330%; transform:translate(-50%,-50%);
  background: var(--pl-scrim);
}
.con09_card_title::before{
  content:""; position:absolute; z-index:-1; pointer-events:none;
  left:50%; top:90%; width:150%; height:420%; transform:translate(-50%,-50%);
  background: radial-gradient(closest-side, rgba(244,241,232,.92), rgba(244,241,232,.7) 50%, rgba(244,241,232,0));
}
.con09_card_title,.con09_card_desc{ text-shadow:none; }
.con09_card{ isolation:isolate; }
/* 히어로: 김치찜 옆 할매 로고 빼기(재이님 10-15) */
.con01_stamp { display: none; }
.con01_logo { margin-right: 0; }
/* 배지: 붓터치용 절대배치 → 둥근 박스 정중앙 */
.con01_label { margin-right: 0; }
/* 좌우 그릇 들썩(S1) — 끓는 뚝배기, 재이님 채택 10-16 */
@keyframes simmer { 0%,62%,100% { transform: translateY(0); } 68% { transform: translateY(calc(var(--px) * -4)); } 74% { transform: translateY(0); } 80% { transform: translateY(calc(var(--px) * -2.5)); } 86% { transform: translateY(0); } }
.con01_plate_img img { animation: simmer 2.6s infinite ease-in-out; }
.con01_plates .swiper-slide:nth-child(3n+1) .con01_plate_img img { animation-duration: 2.9s; animation-delay: -.7s; }
.con01_plates .swiper-slide:nth-child(3n+2) .con01_plate_img img { animation-duration: 2.3s; animation-delay: -1.6s; }
@media (prefers-reduced-motion: reduce) { .con01_plate_img img { animation: none; } }
/* 첫 줄 배경: 갈필 붓띠(로고 적갈) — _build/label_v3.py, 재이님 채택 10-16 */
.con01_label { background-image: url('/images/con01_01_galpil.png'); }
.con01_label_txt { color: #fff; text-shadow: 0 1px 2px rgba(60,10,0,.4); }
.con01_label_txt { position: relative; left: auto; top: auto; line-height: 1; letter-spacing: -0.1vw; }
@media (max-width: 599px) { .con01_label_txt { top: auto; letter-spacing: -0.4vw; } }

/* 양념장 사진(나노): 주인공 항아리가 오른쪽이라 모바일 보이는 창을 오른쪽으로 옮김 */
.con03_grill { top: 0; aspect-ratio: 1933 / 1127; }   /* 섹션 맨 위부터 = 제목 뒤까지 사진 */
@media (max-width: 599px) {
  /* 모바일은 설명 글 아래~다음 카드 위 빈자리에만(재이님: 이쪽이 나음) */
  .con03_grill { left: 0; transform: none; top: 52vw; width: 100vw; height: 49.5vw; aspect-ratio: auto; }
  .con03_grill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
}

