@charset "utf-8";
/* ==========================================================
   슬림웨이다이어트 메인 리뉴얼 (index.php) - 독립 스타일
   - 1000px 기준 디자인(/new_img)을 % 좌표로 올려 반응형 처리
   - 글자/폼 크기 : #renewal 의 font-size 1단위 = 컨테이너 너비의 1%
     (cqw 지원 브라우저는 cqw, 미지원 시 vw/px 폴백)
   ========================================================== */

/* ---------- reset ---------- */
*, *::before, *::after {box-sizing: border-box;}
html {-webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hd);}
:root {--hd: 56px; --wb: 36px;}   /* 상단바 / 하단 롤링바 높이 (PC 는 아래 미디어쿼리에서 63 / 40) */
body {margin: 0; padding-top: var(--hd); background: #fff; color: #222; font-family: 'Pretendard', 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; font-weight: 400; -webkit-font-smoothing: antialiased; word-break: keep-all;}
img {border: 0; vertical-align: top;}
a {color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent;}
button {border: 0; background: none; padding: 0; margin: 0; cursor: pointer; font: inherit; color: inherit;}
dl, dt, dd, p {margin: 0;}

/* 상단바(#hd) / 모바일 메뉴(.mo_nav) 스타일은 서브페이지와 공용인 /css/renewal_hd.css 로 옮김 (2026-10-21, /renewal_hd.php 가 link 를 출력) */

/* ---------- 하단 고민 롤링바 (PC 1920x40 : 왼쪽 고정 문구 + 오른쪽으로 흐르는 문구. 모바일 36px) ---------- */
#worry_bar {position: fixed; left: 0; right: 0; bottom: 0; height: var(--wb); z-index: 95; display: flex; background: #d9000f; color: #fff; overflow: hidden; transition: transform .4s ease;}   /* 2026-11-05 : 보이고 숨을 때 아래서 스르륵 미끄러짐 (icletime.com PC 티커 transform .4s ease 와 동일) */
#worry_bar.hide {transform: translateY(100%);}   /* 처음엔 숨김(index.php 에 class="hide") → 로드 2초 뒤 보임. 스크롤이 시작되고 .2초 뒤 숨기고, 멈춘 뒤 2초가 지나면 다시 보임 (JS). 아이클타임(icletime.com) 티커와 같은 타이밍 (2026-11-02, 전환 2026-11-05) */
#worry_bar.hide .wb_track {animation-play-state: paused;}
#worry_bar .wb_label {display: flex; align-items: center; flex: 0 0 auto; padding: 0 14px; background: #b2000c; font-size: 13px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap;}
#worry_bar .wb_marquee {flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; margin-left: 14px;}   /* 라벨과 흐르는 글자 사이 간격은 띠가 아니라 창에 둔다 (띠에 여백을 주면 한 바퀴 길이가 어긋나 끊겨 보임) */
#worry_bar .wb_track {display: flex; width: max-content; will-change: transform; animation: rn-marquee-l 40s linear infinite;}   /* 문구를 두 번 출력하고 -50% 만큼 이동해 끊김 없이 돈다(띠 자체엔 여백 없음 → 앞뒤 절반이 정확히 같은 길이). 속도는 JS 가 글자 크기 기준으로 조절 (2026-11-02 icletime 과 동일 체감) */
#worry_bar .wb_track span {flex: 0 0 auto; margin-right: 40px; font-size: 13px; letter-spacing: -0.03em; white-space: nowrap;}

/* ---------- 우측 고정 패널 (PC 전용, 기본 숨김) : 제목 33px / 배너 457x180 / DB창 457x500 ---------- */
#side, #side_bg {display: none;}
.side_tit {margin: 0 0 10px; font-size: 33px; font-weight: 500; line-height: 1.1; color: #111; letter-spacing: -0.075em; white-space: nowrap;}
.side_tit em {font-style: normal; font-weight: 800; color: #e60014;}
.side_bn {height: 180px; margin-bottom: 18px; border-radius: 4px; overflow: hidden; background: #eee;}
.side_bn a {display: block; height: 100%;}
.side_bn img {display: block; width: 100%; height: 100%; object-fit: cover;}
.side_form {display: block; letter-spacing: -0.03em;}
.side_form .sf_q {margin: 0 0 13px; padding-top: 15px; letter-spacing: -.07em; font-size: 30px; font-weight: 700; line-height: 1; color: #111;}
.side_form .sf_kg {display: flex; gap: 6px;}
.side_form .sf_kg label {flex: 1; min-width: 0; cursor: pointer;}
.side_form .sf_kg input {position: absolute; opacity: 0; width: 0; height: 0; margin: 0;}
.side_form .sf_kg span {display: flex; align-items: center; justify-content: center; height: 45px; border: 1.5px solid #e60014; border-radius: 4px; background: #fff; color: #e60014; font-size: 16px; font-weight: 500; white-space: nowrap; transition: background .15s, color .15s;}
.side_form .sf_kg input:checked + span {background: #e60014; color: #fff;}
.side_form .sf_kg input:focus-visible + span {box-shadow: 0 0 0 3px rgba(230, 0, 20, .25);}
.side_form .sf_row {position: relative; display: flex; align-items: center; height: 52px; margin-top: 10px; border: 1px solid #d8d8d8; border-radius: 4px; background: #fff; cursor: text;}
.side_form .sf_row:focus-within {border-color: #e60014;}
.side_form .sf_lb {flex: 0 0 auto; width: 84px; padding-left: 24px; font-size: 16px; font-weight: 500; color: #333;}
.side_form .sf_row input {flex: 1; min-width: 0; height: 100%; padding: 0 12px 0 0; border: 0; background: none; font: inherit; font-size: 15px; color: #222; outline: none; -webkit-appearance: none; appearance: none;}
.side_form .sf_row input::placeholder {color: #b5b5b5; font-weight: 300;}
.side_form .sf_sex {display: flex; height: 51px; margin-top: 10px; border: 1px solid #d8d8d8; border-radius: 4px; background: #fff; overflow: hidden;}
.side_form .sf_sex button {flex: 1; font-size: 16px; color: #666; transition: background .15s, color .15s;}
.side_form .sf_sex button.on {background: #222; color: #fff;}
.side_form .tel-error-tooltip {display: none; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: rgba(255, 255, 255, .95); color: #e60014; font-size: 12px; pointer-events: none;}
.side_form .tel-error-tooltip.show {display: flex;}
.side_form .tel-error-tooltip i {display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px; border-radius: 50%; background: #e60014; color: #fff; font-size: 10px; font-style: normal; font-weight: 700;}
.side_form .sf_agree {display: flex; justify-content: space-between; margin-top: 14px; padding: 0 2px;}
.side_form .sf_agree label {display: flex; align-items: center; gap: 4px; font-size: 11px; color: #666; letter-spacing: -0.04em; white-space: nowrap; cursor: pointer;}
.side_form .sf_agree input {-webkit-appearance: none; appearance: none; width: 12px; height: 12px; margin: 0; border: 1px solid #c9c9c9; border-radius: 2px; background: #fff; cursor: pointer;}
.side_form .sf_agree input:checked {border-color: #e60014; background: #e60014 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 90% no-repeat;}
.side_form .sf_agree a {color: inherit;}
.side_form .sf_agree a:hover {text-decoration: underline;}
.side_form .sf_btns {display: flex; gap: 7px; margin-top: 14px; padding-bottom: 31px;}
.side_form .sf_btns button {flex: 1; height: 58px; border-radius: 4px; color: #fff; font-size: 21px; font-weight: 700; letter-spacing: -0.03em; transition: filter .15s, transform .15s;}
.side_form .sf_btns button:hover {filter: brightness(1.08); transform: translateY(-1px);}
.side_form .sf_btns button:disabled {opacity: .6;}
.side_form .sf_btns i {margin-left: 6px; font-style: normal; font-weight: 800;}
.side_form .sf_consult {background: #e60014;}
.side_form .sf_price {background: #4f5de8;}

/* ---------- 페이지 컨테이너 ---------- */
#renewal {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden; overflow: clip;   /* 2026-11-11 : clip 지원 브라우저는 clip (02번 고정 sticky 가 동작하려면 스크롤 컨테이너가 되는 hidden 이면 안 됨. 그리는 모양은 hidden 과 같음) */
    line-height: 1;
    font-size: 10px;               /* 1000px 이상 : 1단위 = 10px */
    container-type: inline-size;
}
@media screen and (max-width: 1000px) {
    #renewal {font-size: 1vw;}    /* 1000px 이하 : 1단위 = 1vw */
}
@supports (font-size: 1cqw) {
    #renewal > .sec, #renewal > .sec02_pin > .sec {font-size: 1cqw;}   /* 컨테이너 쿼리 지원 시 정확히 1% (#renewal 자신에 cqw 를 주면 뷰포트 기준이 되어 1000px 초과 화면에서 글자가 커짐) */
}

#renewal img {display: block; width: 100%; height: auto;}
#renewal .sec {position: relative; scroll-margin-top: var(--hd);}
#renewal button img, #renewal a img {pointer-events: none;}

/* 01. 인트로 : 첫 화면은 상단바~하단 롤링바 사이 높이를 채우고 내용(.sec01_in, 1000x1326 비율)을 위아래 가운데에 둔다. 남는 위아래는 긴 바탕(img01_base.jpg 1000x3120)의 위아래 부분으로 채우고, 그것도 넘으면 #140001.
   화면이 내용보다 낮으면 그냥 위에서부터 보인다(줄이지 않음). 안쪽 요소(.num, .scroll_effect 등)의 % 좌표는 .sec01_in 기준 */
#renewal .sec01 {display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--hd) - var(--wb)); min-height: calc(100dvh - var(--hd) - var(--wb)); background: #140001; overflow: hidden;}
#renewal .sec01 .sec01_in {position: relative; width: 100%; flex: 0 0 auto;}
#renewal .sec01 .sec01_in .sp {width: 100%; padding-top: 132.6%;}                                    /* 내용 상자 높이 = 옛 디자인 1326/1000 */
#renewal .sec01 .sec01_in .bg {position: absolute; left: 0; top: -67.7em; width: 100%; max-width: none; z-index: 0;}   /* 2026-11-02 긴 바탕(1000x3120) : 내용은 바탕의 677px 아래부터. 바깥 .sec01 이 화면 높이만큼만 보여 줌 */
/* 01. 인트로 : 숫자 롤링 (2026-11-02, 디자이너 분할 숫자 PNG img01_n0~9.png 94x127 오도미터)
   바탕 이미지의 빈 자리마다 칸(.d, 9.4x12.7em, 좌표는 index.php 인라인)을 두고 그 안에 0~9+0 열한 장을 세로로 세운 띠(.strip)를 JS 가 translateY 로 굴린다.
   칸 위아래는 마스크로 흐려져 숫자가 잘려 들어오는 선이 부드럽다. 바탕에 그려진 숫자(",1" / "1 , 0")는 움직이지 않는다 */
#renewal .sec01 .num .d {position: absolute; width: 9.4em; height: 12.7em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 14%, #000 86%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, #000 14%, #000 86%, rgba(0, 0, 0, 0) 100%);}
#renewal .sec01 .comma {position: absolute; max-width: none; z-index: 1;}   /* 2026-11-04 : 쉼표 2개 (좌표는 index.php 인라인, .num 과 같은 층) */
#renewal .sec01 .num .strip {display: block; will-change: transform;}
#renewal .sec01 .num .strip img {display: block; width: 100%; height: 12.7em;}
#renewal .sec01 .scroll_effect {position: absolute; left: 50%; transform: translateX(-50%); top: 79.86%; width: 8.6%; transition: opacity .25s linear; z-index: 2;} /* 원본 마우스(471,1061)/SCROLL(458,1175) 위에 정확히 겹침, 스크롤 시 JS 가 opacity 조절 */

/* 배경 영상 (02/03/06/07) : .vbase(포스터 jpg)가 높이를 잡고 영상이 그 위를 덮는다 (index.php rn_video) */
#renewal .bg_video {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none;}

/* 02. 배경 영상 + 고정 모델 + 카피 전환 + 숫자 (2026-11-02)
   카피 전환 : 카피1 → 카피2 가 같은 자리에서 흐려지며 교체 (kbl.or.kr/intro/font 참고). 스크롤에 따라 .swap 토글(JS onScroll)
   숫자 : 배경의 +3 / -1 … 이 한꺼번에 나타났다가 하나씩 올라가며 사라짐 (choseonmara.com con04 참고). 위치/크기는 index.php 인라인 */
#renewal .sec02 .model {position: absolute; max-width: none; z-index: 2;}
#renewal .sec02 .copy {position: absolute; z-index: 3; transition: opacity .7s ease, filter .7s ease, transform .7s ease; will-change: opacity, filter, transform;}
/* 글씨 채움 효과 (2026-11-13, Apple Style Text Reveal - codepen jh3y/MWzQvKK 참고) : 카피가 흐리게(--dim) 깔려 있다가 스크롤에 따라 왼쪽 -> 오른쪽, 윗줄 -> 아랫줄 순으로 밝게 채워진다.
   이미지 카피라 글자색 대신 mask 로 처리 : 윗줄 띠 / 아랫줄 띠 / 전체 흐림 3겹. --f1(윗줄), --f2(아랫줄) 는 0 ~ 1 로 renewal.js onScroll 이 고정 구간 진행률에 맞춰 넣는다 (FILL02_A, FILL02_B).
   - --dim : 채워지기 전 글씨 농도 (0 이면 안 보이다가 나타남)   - --split : 윗줄과 아랫줄을 나누는 높이 (이미지 높이 기준)   - 12% : 밝아지는 경계의 번짐 폭
   JS 가 값을 넣지 않는 환경(고정 미지원, 동작 줄이기)은 기본값 1 이라 처음부터 전부 밝게 보임 */
#renewal .sec02 .copy {--f1: 1; --f2: 1; --dim: .22; --split: 57%;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--f1) * 112% - 12%), transparent calc(var(--f1) * 112%)), linear-gradient(90deg, #000 calc(var(--f2) * 112% - 12%), transparent calc(var(--f2) * 112%)), linear-gradient(rgba(0,0,0,var(--dim)), rgba(0,0,0,var(--dim)));
    mask-image: linear-gradient(90deg, #000 calc(var(--f1) * 112% - 12%), transparent calc(var(--f1) * 112%)), linear-gradient(90deg, #000 calc(var(--f2) * 112% - 12%), transparent calc(var(--f2) * 112%)), linear-gradient(rgba(0,0,0,var(--dim)), rgba(0,0,0,var(--dim)));
    -webkit-mask-size: 100% var(--split), 100% calc(100% - var(--split)), 100% 100%; mask-size: 100% var(--split), 100% calc(100% - var(--split)), 100% 100%;
    -webkit-mask-position: 0 0, 0 100%, 0 0; mask-position: 0 0, 0 100%, 0 0;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;}
#renewal .sec02 .copy2 {--split: 38%;}   /* 카피2 는 윗줄(답은 바로)이 짧아 경계가 위쪽 */
#renewal .sec02 .copy1 {opacity: 0; transform: translateY(2em);}                  /* 메인 카피 : 섹션이 화면 55% 지점에 들어오면(.in) 살짝 떠오르며 등장 (choseonmara.com con04 head fadeUp) */
#renewal .sec02.in .copy1 {opacity: 1; transform: none; transition-duration: .8s; transition-timing-function: cubic-bezier(.22,.61,.36,1);}
#renewal .sec02 .copy2 {opacity: 0; filter: blur(.8em); transform: scale(.96);}
#renewal .sec02.swap .copy1, #renewal .sec02.in.swap .copy1 {opacity: 0; filter: blur(.8em); transform: scale(1.04); transition-duration: .7s; transition-timing-function: ease;}
#renewal .sec02.swap .copy2 {opacity: 1; filter: blur(0); transform: scale(1);}
#renewal .sec02 .nums b {position: absolute; z-index: 4; transform: translate(-50%, -50%); font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: #c4c4c4;}   /* 2026-11-02 지시 : 숫자가 카피(.copy z-index 3) 뒤에 가려지지 않고 글자 위로 나오게 z-index 4 (choseonmara 도 숫자가 맨 앞). 모델(109.6em~)과는 겹치지 않음 */   /* 좌표(em)는 b 에, 글자 크기/움직임은 안쪽 i 에 (em 좌표가 자기 글자 크기를 따라가지 않도록). 회전 없음 */
#renewal .sec02 .nums b i {display: block; font-style: normal; opacity: 0; will-change: transform, opacity;}
#renewal .sec02 .nums {--rise: -20px; --num-op: .6;}                                            /* 숫자가 올라가는 거리 20px. i 의 em 은 자기 글자 크기(9~14.5em)를 따라가므로 em 으로 쓰면 안 됨 */
@supports (font-size: 1cqw) {#renewal .sec02 .nums {--rise: -2cqw;}}              /* 컨테이너 쿼리 지원 시 폭에 비례 (1000px 에서 20px) */
/* 숫자 동작 (choseonmara.com con04__price 의 gsap.to{y:-3rem, autoAlpha:0, duration:1.6, ease:power1.out, repeat:-1, stagger:0.35} 를 옮김)
   섹션이 화면 55% 지점에 들어와 .in 이 붙으면 메인 카피가 먼저 떠오르고(0.8초), 0.9초 뒤 다섯 숫자가 한꺼번에 짙게 확 나타난 다음
   0 / 0.35 / 0.7 / 1.05 / 1.4초부터 하나씩 20px(2em) 올라가며 1.6초에 걸쳐 사라진다(power1.out). 다 사라진 뒤 1초 쉬고 4초 주기로 반복.
   (2026-11-02 사용자 지시 : 진입 직후엔 숨기고 카피부터, 나타나는 건 동시에, 사라지는 건 차례로. 한 번만 보이게 하려면 infinite → 1) */
/* 2026-11-11 수정 요청(슬라이드 3) : 숫자 5개가 한꺼번에 나오지 않고 1.0초 간격으로 하나씩 나타난다.
   한 숫자가 보이는 시간은 약 1.8초(나타남 .5 + 유지 .3 + 위로 사라짐 1.0)라 화면에는 동시에 최대 1~2개만 보임. 한 바퀴 6초, 순서는 HTML 순서(+3 -> -1 -> -4 -> +2 -> -1).
   투명도는 --num-op (위 .nums 변수), 굵기는 위 .nums b 의 font-weight, 간격은 아래 animation-delay(0.9초 + 1.0초 x 순번) 에서 조절 */
#renewal .sec02.in .nums b i {animation: rn-drift 5s linear .9s infinite;}
#renewal .sec02.in .nums b:nth-child(2) i {animation-delay: 1.75s;}
#renewal .sec02.in .nums b:nth-child(3) i {animation-delay: 2.6s;}
#renewal .sec02.in .nums b:nth-child(4) i {animation-delay: 3.45s;}
#renewal .sec02.in .nums b:nth-child(5) i {animation-delay: 4.3s;}
@keyframes rn-drift {
    0%   {opacity: 0; transform: translateY(0); animation-timing-function: ease-out;}
    8%   {opacity: var(--num-op, .6); transform: translateY(0);}
    13%  {opacity: var(--num-op, .6); transform: translateY(0); animation-timing-function: cubic-bezier(.25,.46,.45,.94);}
    30%, 100% {opacity: 0; transform: translateY(var(--rise, -20px));}
}

/* 02. 고정(핀) 구간 (2026-11-11 수정 요청 슬라이드 4) : 02 섹션 전체(.sec02)를 틀(.sec02_pin) 안에 넣고 틀 아래에 빈 스크롤 길이(::after)를 만든다.
   스크롤하면 섹션이 화면 가운데에 멈춰 있고(sticky) 그동안 JS(onScroll)가 카피1 -> 카피2 로 바꾼다. 멈춘 구간이 끝나면 섹션이 이어서 올라간다. 영상/좌표는 그대로.
   - 고정 구간 길이 : --pin-len (화면 높이의 80%). 늘리면 더 오래 멈춤
   - 카피 전환 시점 : renewal.js 의 PIN_SWAP (고정 구간 진행률 0.4 = 40%)
   - 위치 : top 값의 36em 은 카피(02 섹션 위에서 약 36em)가 화면 가운데 오도록 맞춘 값. 크게 하면 카피가 위로, 작게 하면 아래로 감
   - 틀 바탕색 #0c0000 은 영상 맨 위 색. 섹션이 멈춰 있는 동안 섹션 위쪽에 보이는 빈 곳을 메움
   - overflow: clip 을 지원하지 않는 옛 브라우저는 @supports 밖이라 이 규칙이 적용되지 않고 예전처럼 그냥 스크롤됨 */
@supports (overflow: clip) {
    #renewal .sec02_pin {position: relative; background: #0c0000; --pin-len: 100vh; --pin-len: 100dvh;}
    #renewal .sec02_pin::after {content: ''; display: block; height: var(--pin-len);}
    #renewal .sec02_pin > .sec02 {position: sticky; top: calc(var(--hd) + (100vh - var(--hd) - var(--wb)) / 2 - 36em); top: calc(var(--hd) + (100dvh - var(--hd) - var(--wb)) / 2 - 36em);}
}

/* 03. CF 영역 (1000 기준 43,811 / 914x475) */
#renewal .sec03 .cf_video {position: absolute; left: 4.3%; top: 53.32%; width: 91.4%; height: 31.03%; overflow: hidden; background: #000; z-index: 2;}   /* 2026-11-02 영상과 아래 빨간 띠 사이 틈 : 디자인 좌표 52.97% 에서 5px(0.35%) 내림 (10px 내렸다가 5px 되올림) */
#renewal .sec03 .slimcf, #renewal .sec03 .note, #renewal .sec07 .note, #renewal .sec06 .data, #renewal .sec07 .data {position: absolute; z-index: 1; pointer-events: none;}   /* 2026-11-02 : 영상 위 고정 카피(img03_slimcf) / 심의 각주(img03_note, img07_note), 등장 효과 없음. 2026-11-05 : 07 인체적용시험 결과(img07_data) 도 고정. 2026-11-06 : 06 인체적용시험 결과(img06_data) 도 07 과 동일하게 고정 */
#renewal .sec03 .cf_video iframe {position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 16 / 9; min-height: 100%; transform: translate(-50%, -50%); border: 0;}

/* 05. 체지방 감소 기능성 원료 2중 배합 (2026-11-02) : 위 흰 바탕(1000x1533) + 아래 img05-1_base.png(1000x4000). 카피/원 조각은 .tx (index.php 인라인 좌표) */
#renewal .sec05_top {position: relative; height: 153.3em; background: #fff;}
#renewal .sec05_btm {position: relative; background: #fbdada;}   /* 바탕 PNG 맨 아래 둥근 모서리가 투명 → 06번 영상 첫 색(#fbdada)을 깔아 섹션 사이 흰 틈이 없게 */
@supports (overflow: clip) {
    #renewal .sec05_pin {position: relative; background: #fff; --pin05-len: 60vh; --pin05-len: 60dvh;}
    #renewal .sec05_pin::after {content: ''; display: block; height: var(--pin05-len);}
    #renewal .sec05_pin > .sec05_top {position: sticky; top: calc(var(--hd) + (100vh - var(--hd) - var(--wb)) / 2 - 87em); top: calc(var(--hd) + (100dvh - var(--hd) - var(--wb)) / 2 - 87em);}
}

/* 04. 리얼후기 더보기 */
#renewal .sec04 .btn_review {position: absolute; left: 29.8%; top: 88.11%; width: 40.4%; transition: transform .2s ease;}
#renewal .sec04 .btn_review:hover {transform: scale(1.04);}
/* 04. 리얼후기 카드 슬라이드 : 고정 이미지의 카드 자리(y 54~151.5em)를 바탕색으로 덮고 그 위에 후기 게시판 카드를 올린다. 치수는 img04.jpg 의 카드(678x880, 사진 441, 간격 50)를 그대로 잰 값 */
#renewal .sec04 {overflow: hidden;}
#renewal .sec04 .rv_cover {position: absolute; left: 0; top: 54em; width: 100%; height: 97.5em; background: #ededed; z-index: 1;}
#renewal .sec04 .rv_swiper {position: absolute; left: 7.7em; top: 55.3em; width: 67.8em; height: 88em; margin: 0; overflow: visible; z-index: 2;}
#renewal .sec04 .rv_swiper::before {content: ''; position: absolute; left: -7.7em; top: -2em; width: 7.7em; height: 92em; background: #ededed; z-index: 3;}   /* 왼쪽으로 지나간 카드의 끝이 보이지 않게(디자인은 오른쪽만 살짝 보임) */
#renewal .sec04 .rv_swiper .swiper-slide {width: 67.8em; height: 88em; display: block; text-decoration: none; color: #222; opacity: .35; transition: opacity .5s;}
#renewal .sec04 .rv_swiper .swiper-slide-active {opacity: 1;}
#renewal .sec04 .rv_card {position: relative; width: 100%; height: 100%; background: #fff; border-radius: 1.6em; overflow: hidden; box-shadow: 0 .3em 1.4em rgba(0, 0, 0, .05);}
#renewal .sec04 .rv_photo {display: flex; gap: .4em; height: 44.1em; background: #f2f2f2;}
#renewal .sec04 .rv_photo img {display: block; flex: 1 1 0; min-width: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top;}
#renewal .sec04 .rv_body {position: absolute; left: 6.1em; right: 4.5em; top: 48.4em; bottom: 0;}
#renewal .sec04 .rv_body p {margin: 0; font-size: 3.1em; line-height: 1.95; font-weight: 400; color: #222; word-break: keep-all; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;}
#renewal .sec04 .rv_name {position: absolute; right: 0; bottom: 1.6em; font-size: 2.6em; line-height: 1; color: #aaa;}
#renewal .sec04 .rv_dots {position: absolute; left: 42.3em; top: 93.3em; bottom: auto; width: auto; transform: translateX(-50%); white-space: nowrap; line-height: 1; z-index: 3;}
#renewal .sec04 .rv_dots .swiper-pagination-bullet {width: 1em; height: 1em; margin: 0 .6em; background: #c9c9c9; opacity: 1; vertical-align: top;}
#renewal .sec04 .rv_dots .swiper-pagination-bullet-active {background: #e60014;}
/* 04. 디자이너 분할 카드 PNG(img04_rolling_img1~5, 698x900 = 카드 678 + 그림자 여백 10) 슬라이드 (2026-11-02). 카드 자리는 디자인 (69,545) */
#renewal .sec04 .rv_swiper.png {left: 6.9em; top: 54.5em; width: 69.8em; height: 90em;}
#renewal .sec04 .rv_swiper.png::before {left: -6.9em; width: 6.9em;}
#renewal .sec04 .rv_swiper.png .swiper-slide {width: 69.8em; height: 90em;}
#renewal .sec04 .rv_swiper.png .swiper-slide img {display: block; width: 100%; height: auto;}
#renewal .sec04 .rv_swiper.png .rv_dots {left: 43.1em; top: 94.1em;}

/* 06 / 07. 더 알아보기 → 그래프 펼침 */
#renewal .sec_main {position: relative;}
#renewal .btn_more {position: absolute; left: 50%; width: 63.2%; transform: translateX(-50%); transition: transform .2s ease;}
#renewal .btn_more:hover {transform: translateX(-50%) scale(1.03);}
#renewal .sec06 .btn_more {top: 92.52%;}
#renewal .sec07 .btn_more {top: 94.31%;}   /* 2026-11-02 새 배경(img07_base.mp4 3920px) 기준 버튼 자리 y 3697, 가운데 정렬 */
#renewal .detail {display: none; position: relative;}
#renewal .detail .btn_close {position: absolute; left: 29.2%; width: 41.5%;}
#renewal .sec06 .detail .btn_close {top: 97.74%;}
#renewal .sec07 .detail .btn_close {top: 97.30%;}

/* 08. 17중 복합 기능성 카드 롤링 (2026-11-02 : 디자이너 분할 PNG. 옅은 카드 img08_rolling_N_off 392px, 가운데 붉은 카드 img08_rolling_N 419px, 카드 피치 391)
   모델(img08_model.png)은 별도 레이어라 카드 줄 바탕을 칠하지 않는다 → 고현정 머리가 가려지지 않음. 줄 위치/높이는 바탕 이미지(1000x2699)의 카드 자리 */
#renewal .sec08 .model {position: absolute; z-index: 2; pointer-events: none;}   /* 2026-11-02 시안대로 머리가 위쪽 카드 줄(row1) 위에 얹히고, 아래쪽 카드 줄(row2)은 몸 위에 오도록 : row1(1) < 모델(2) < row2(3).
   바탕 img08_base.jpg 에 모델이 이미 그려져 있으므로 .model 은 바탕과 같은 크기의 캔버스에 머리 윗부분만 담은 img08_head.png 를 바탕과 같은 좌표에 올린 것 (index.php 참고) */
#renewal .func_row {position: absolute; left: 0; width: 100%; height: 14.1%; overflow: hidden; z-index: 2;}
#renewal .func_row.row1 {top: 33.16%; z-index: 1;}
#renewal .func_row.row2 {top: 83.55%; z-index: 3;}
#renewal .func_swiper {width: 100%; height: 100%; overflow: visible;}
#renewal .func_swiper .swiper-slide {width: 39.1%; height: 100%;}
#renewal .func_row .card {position: relative; width: 100%; height: 100%; cursor: grab;}
#renewal .func_row .card img {
  padding: 0 10px;
  position: absolute; left: 50%; top: 50%; width: 39.2em;
  height: auto; transform: translate(-50%, -50%); transition: opacity .5s ease; will-change: opacity;
}
#renewal .func_row .card .on {width: 41.9em; opacity: 0;}
#renewal .func_row .swiper-slide-active .card .off {opacity: 0;}
#renewal .func_row .swiper-slide-active .card .on {opacity: 1;}

/* 10. 성공 스토리 슬라이드 (카드 30,808 / 935x659, 버튼 113px) */
#renewal .sec10 .swiper.story_swiper {position: absolute; left: 3%; top: 45.42%; width: 93.5%; margin: 0; overflow: hidden;}
#renewal .sec10 .swiper-slide img {width: 100%;}
#renewal .sec10 .nav {position: absolute; top: 89.15%; width: 11.3%; z-index: 2; transition: transform .2s ease;}
#renewal .sec10 .nav:hover {transform: scale(1.08);}
#renewal .sec10 .nav.prev {left: 37.2%;}
#renewal .sec10 .nav.next {left: 51.9%;}

/* 11. 롤링 스트립 + 플로팅 */
#renewal .sec11 .strip {position: absolute; left: 0; width: 100%; overflow: hidden; z-index: 1;}
#renewal .sec11 .strip.top {top: 35.05%;}
#renewal .sec11 .strip.bottom {top: 63.57%;}
#renewal .sec11 .strip .track {display: flex; width: 309.2%; will-change: transform; animation: rn-marquee-l 45s linear infinite;}
#renewal .sec11 .strip.bottom .track {animation-name: rn-marquee-r;}
#renewal .sec11 .strip .track img {width: 50%; flex: 0 0 50%;}
/* 관리자에서 올린 사진으로 만든 띠 : 사진 289x321 + 간격 25 (1em = 컨테이너 너비 1%). 길이는 사진 수에 따라 달라지므로 max-content, 속도는 index.php 가 animation-duration 으로 맞춘다 */
#renewal .sec11 .strip .track.db {width: max-content;}
#renewal .sec11 .strip .track.db img {width: 28.9em; height: 32.1em; flex: 0 0 auto; margin-right: 2.5em; object-fit: cover; background: #fff;}
#renewal .sec11 .float_box {position: absolute; left: 7%; top: 14.83%; width: 86%; z-index: 3; transform-origin: center; animation: rn-wobble 1.4s ease-in-out infinite;}   /* saladyopen.com 메인 스티커(main_04.png, @keyframes ddm4) 와 동일한 움직임 */
#renewal .sec11 .bubble1 {position: absolute; left: 71%; top: 32.03%; width: 26.7%; z-index: 3; animation: rn-float 2.6s ease-in-out .4s infinite;}
#renewal .sec11 .bubble2 {position: absolute; left: 7%; top: 58.27%; width: 26.5%; z-index: 3; animation: rn-float 2.6s ease-in-out 1.1s infinite;}

/* 12. 누적 판매량 카운트 + 제품 */
#renewal .sec12 .counter {
    position: absolute; right: 18.7%; top: 44.9%;   /* 2026-11-05 : 글자가 작아진 만큼(높이 162 → 142px) 10px 내려 "포" 와 세로 중심 유지 */
    font-size: 11.8em; font-weight: 900; line-height: 1; letter-spacing: -0.04em;   /* 2026-10-20 800 → 900 (Pretendard Black) 조금 더 굵게. 2026-11-05 13.5 → 11.8em : 45,000,000(10자리) 가 왼쪽 월계수(x 135) 를 넘지 않게 - Pretendard Black 폭 기준 667px, 왼쪽 끝 x 146 */
    color: #e60012; font-variant-numeric: tabular-nums; white-space: nowrap;
    transform: scaleY(1.2); transform-origin: right center;   /* 시안의 장체 숫자 느낌 (폭 700 / 높이 125) */
}
#renewal .sec12 .product {display: block; width: 100%; height: auto; aspect-ratio: 1000 / 814; object-fit: cover; pointer-events: none;}   /* 2026-11-04 : 제품 gif → 바탕 아래에 이어 붙는 영상(img12-1.mp4). 영상 메타 로딩 전에도 aspect-ratio 로 높이를 잡아 숫자 위치가 튀지 않게 */

/* 13. 브랜드 대상 : 수상내역 2줄 역방향 롤링(천천히) + 트로피 둥둥 */
#renewal .sec13 .award {position: absolute; left: 0; width: 100%; overflow: hidden; z-index: 1;}
#renewal .sec13 .award.top {top: 33.58%;}
#renewal .sec13 .award.bottom {top: 56.99%;}
#renewal .sec13 .award .track {display: flex; width: 515.8%; will-change: transform; animation: rn-marquee-l 120s linear infinite;}
#renewal .sec13 .award.bottom .track {animation-name: rn-marquee-r;}
#renewal .sec13 .award .track img {width: 50%; flex: 0 0 50%;}
#renewal .sec13 .trophy {position: absolute; left: .4%; top: 28%; width: 97%; z-index: 2; animation: rn-trophy 3.4s ease-in-out infinite;}   /* 2026-11-02 디자인(img13 세팅참고)대로 확대 : 좌 4 / 상 463 / 970px */

/* 14. 회전 뱃지 (섹션 상단 경계에 걸침) */
#renewal .sec14 .rotate_badge {position: absolute; left: 83%; top: -9.3%; width: 34%; z-index: 3; animation: rn-rotate 20s linear infinite;}   /* 2026-11-02 지시 : 340px 로 키우고 중심을 오른쪽 가장자리(x 100%) / 13-14 경계선에 두어 왼쪽 반만 보이게 (#renewal overflow hidden 이 바깥을 자름) */

/* 14-2. 인플루언서 배너 (2026-11-11) : 사진 3장 x 두 줄(여백 없이 한 장처럼) + 아래 이벤트 배너. 서브페이지 /bottom_dbform.php 왼쪽 배너와 같은 소재 */
#renewal .sec_influ {background: #fff;}
#renewal .sec_influ .influ_list {display: flex; margin: 0; padding: 0; list-style: none;}
#renewal .sec_influ .influ_list li {flex: 1; min-width: 0;}
#renewal .sec_influ .influ_list img {aspect-ratio: 1 / 1; object-fit: cover;}
#renewal .sec_influ .event_bn a {display: block;}

/* 15. DB 폼 (1000 기준: 패널 58~941 / 입력 264~871 x 93h / 행 피치 168) */
#renewal .sec15 {background: #e50014;}
#renewal .db_area {padding: 0 5.8% 8.4%;}
#renewal .db_panel {background: #fff; border-radius: 2em; padding: 1.95em 7em 1.95em 6.8em;}
#renewal .db_panel dl {display: flex; align-items: center; padding: 3.75em 0; border-bottom: 1px solid #ddd;}
#renewal .db_panel dl:last-child {border-bottom: 0;}
#renewal .db_panel dt {flex: 0 0 auto; width: 3.833em; font-size: 3.6em; font-weight: 500; color: #222; letter-spacing: -0.03em;} /* 13.8 / 3.6 */
#renewal .db_panel dt label {cursor: pointer;}
#renewal .db_panel dd {flex: 1; position: relative; min-width: 0;}
#renewal .db_panel dd input {
    display: block; width: 100%; height: 2.735em;                         /* 9.3 / 3.4 */
    padding: 0 1.03em; border: 0; border-radius: 0; background: #e5e5e5;  /* 3.5 / 3.4 */
    font-family: inherit; font-size: 3.4em; font-weight: 400; color: #222; outline: none;
    -webkit-appearance: none; appearance: none;
}
#renewal .db_panel dd input:focus {background: #ededed; box-shadow: inset 0 0 0 2px #e50014;}
#renewal .db_panel dd input::placeholder {color: #aaa; font-weight: 300;}
#renewal .db_panel .s_btn {display: flex; height: 9.3em;}
#renewal .db_panel .s_btn > button {flex: 1; display: flex; align-items: center; justify-content: center; background: #e5e5e5; color: #888; font-size: 3.4em; transition: background .2s ease, color .2s ease;}
#renewal .db_panel .s_btn > button.on {background: #333; color: #fff;}

#renewal .tel-error-tooltip {display: none; position: absolute; right: 1.5em; top: 50%; transform: translateY(-50%); align-items: center; gap: .6em; color: #e50014; font-size: max(1.8em, 11px); pointer-events: none; background: rgba(255,255,255,.9); padding: .3em .6em; border-radius: .4em;}
#renewal .tel-error-tooltip.show {display: flex;}
#renewal .tel-error-tooltip i {display: inline-flex; align-items: center; justify-content: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: #e50014; color: #fff; font-style: normal; font-weight: 700;}

#renewal .db_btns {display: flex; justify-content: space-between; margin-top: 4em;}
#renewal .db_btns button {width: 49.45%; transition: transform .15s ease;}
#renewal .db_btns button:hover {transform: translateY(-2px);}
#renewal .db_btns button:active {transform: translateY(0);}

#renewal .pv_wrap {display: flex; justify-content: space-between; flex-wrap: wrap; margin-top: 4em; padding: 0 3% 0 3.5%;}
#renewal .pv_wrap .checkbox {display: flex; align-items: center; gap: .7em; white-space: nowrap; cursor: pointer;}
#renewal .pv_wrap .checkbox input {
    -webkit-appearance: none; appearance: none; flex: 0 0 auto; margin: 0; cursor: pointer; font: inherit;
    width: max(2em, 15px); height: max(2em, 15px); border-radius: .3em; background: #fff;   /* PC 20px, 모바일 최소 15px */
}
#renewal .pv_wrap .checkbox input:checked {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23e50014' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 85% no-repeat;
}
#renewal .pv_wrap .checkbox a {color: #fff; font-size: max(1.75em, 11px); letter-spacing: -0.04em;}   /* 모바일 최소 11px */
#renewal .pv_wrap .checkbox a:hover {text-decoration: underline;}

#renewal .db_call {display: block; width: 110%; max-width: none; margin: 4.5em 0 0 -5%; transition: transform .2s ease;}
#renewal .db_call:hover {transform: scale(1.02);}
#renewal .db_call video {display: block; width: 100%; height: auto; aspect-ratio: 918 / 228; pointer-events: none;}   /* 2026-11-04 : 버튼 gif → mp4 */

/* ---------- 푸터 ---------- */
#footer {background: #333; color: #bbb; padding: 40px 16px calc(120px + var(--wb)); text-align: center; font-size: 12px; line-height: 1.9; letter-spacing: -0.02em;}
#footer .inner {max-width: 1000px; margin: 0 auto;}
#footer p {word-break: keep-all;}
#footer .bar {margin: 0 .6em; color: #666;}
#footer .copy {margin-top: 10px; color: #999;}
#footer .copy a {margin-left: 1em; color: #ddd; text-decoration: underline;}
#footer .notice {margin-top: 4px; color: #888;}

/* ---------- 플로팅 상담 이미지 / TOP : 서브페이지의 .float_banner(img/main/float_bn2.png 159x159, 위아래 10px 둥실) 와 같은 모양. 하단 롤링바 위 ---------- */
.float_consult {
    position: fixed; right: 16px; bottom: calc(20px + var(--wb)); z-index: 90;
    display: block; width: 120px;
    animation: rn-float-bn 1s ease-in-out infinite alternate;
    transition: opacity .3s ease, visibility .3s ease;
}
.float_consult img {display: block; width: 100%; height: auto; filter: drop-shadow(2px 10px 10px rgba(0, 0, 0, .1));}
.float_consult.hide {opacity: 0; visibility: hidden;}
.top_btn {
    position: fixed; right: 20px; bottom: calc(152px + var(--wb)); z-index: 90;   /* 플로팅 이미지(120px + 20px) 위 */
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; color: #333; font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.top_btn.show {opacity: 1; visibility: visible;}
@media screen and (max-width: 480px) {
    .float_consult {right: 10px; bottom: calc(16px + var(--wb)); width: 100px;}   /* 서브페이지 모바일과 같은 100px */
    .top_btn {right: 12px; bottom: calc(128px + var(--wb)); width: 40px; height: 40px;}
    #footer {font-size: 11px; padding-bottom: calc(100px + var(--wb));}
    #footer .bar {display: none;}
    #footer span {display: inline-block; margin: 0 6px;}
    #renewal .pv_wrap {justify-content: center; gap: 1.2em 3em;}
}

/* ---------- 개인정보 안내 모달 (이전 메인 레이어팝업 : 800x500, 제목바 #1c2637) ---------- */
.rn_modal {position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; pointer-events: none; transition: visibility 0s .25s;}
.rn_modal_bg {position: absolute; left: 0; top: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .25s ease;}
.rn_modal_box {position: relative; display: flex; flex-direction: column; width: 800px; max-width: 100%; max-height: min(600px, 100%); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease;}
.rn_modal.open {visibility: visible; pointer-events: auto; transition-delay: 0s;}
.rn_modal.open .rn_modal_bg {opacity: 1;}
.rn_modal.open .rn_modal_box {opacity: 1; transform: none;}
html.modal_open, html.modal_open body {overflow: hidden;}
.rn_modal_hd {position: relative; flex: 0 0 auto; height: 60px; padding: 0 60px 0 24px; background: #1c2637; color: #fff; display: flex; align-items: center;}
.rn_modal_hd h2 {margin: 0; font-size: 20px; font-weight: 400; line-height: 1.2;}
.rn_modal_close {position: absolute; right: 0; top: 0; width: 60px; height: 60px; color: #fff; font-size: 34px; line-height: 1; font-weight: 300;}
.rn_modal_body {flex: 1 1 auto; min-height: 0; padding: 26px 30px; overflow-y: auto; -webkit-overflow-scrolling: touch;}
.rn_modal_body .priv_doc {display: none;}
.rn_modal_body .priv_doc.on {display: block;}
/* 본문 스타일 (css/custom.css 의 .privacy-wrap 과 같은 모양) */
.priv_doc .privacy-wrap {font-size: 14px; line-height: 1.7; color: #333; letter-spacing: -0.5px; word-break: keep-all; font-weight: 400;}
.priv_doc .priv_msg {margin-bottom: 20px; padding: 15px; background: #f9f9f9; line-height: 2; text-align: justify;}
.priv_doc .privacy {margin-bottom: 20px;}
.priv_doc .privacy:last-child {margin-bottom: 0;}
.priv_doc .privacy h3 {margin: 0 0 10px; font-size: 17px; font-weight: 600; color: #111;}
.priv_doc .privacy h4 {margin: 0; font-size: 14px; font-weight: 500; line-height: 1.7;}
.priv_doc .privacy ul, .priv_doc .privacy ol {margin: 10px 0 0; padding: 0; list-style: none;}
.priv_doc .privacy ul > li {position: relative; padding-left: 9px; line-height: 2;}
.priv_doc .privacy ul > li::before {content: '-'; position: absolute; left: 0; top: 0;}
.priv_doc .privacy ul > li p {padding-left: 2px; line-height: 1.8; color: #555;}
.priv_doc .privacy ol {margin-top: 5px;}
.priv_doc .privacy ol > li {position: relative; padding-left: 9px; font-size: 13px; line-height: 1.8; letter-spacing: -0.7px;}
.priv_doc .privacy ol > li::before {content: '\00b7'; position: absolute; left: 1px; top: 0; font-weight: 700;}
@media screen and (max-width: 480px) {
    .rn_modal {padding: 12px;}
    .rn_modal_hd {height: 50px; padding-left: 16px;}
    .rn_modal_hd h2 {font-size: 16px;}
    .rn_modal_close {width: 50px; height: 50px; font-size: 30px;}
    .rn_modal_body {padding: 16px;}
    .priv_doc .privacy-wrap {font-size: 13px;}
}

/* ---------- PC 레이아웃 (전체레이아웃.png, 1920 기준) : 가운데 묶음 1190px = 컨텐츠 650 + 간격 83 + 우측 패널 457. 상단바 63, 하단 롤링바 40.
   컨텐츠 오른쪽(50%+55px)부터 화면 끝까지 연한 회색 바탕(#side_bg). 패널은 화면이 낮으면 JS 가 scale 로 줄여 상단바~롤링바 사이에 맞춘다 ---------- */
@media screen and (min-width: 1240px) {
    :root {--hd: 63px; --wb: 40px;}
    #renewal .sec_influ .influ_list {display: none;}   /* 2026-11-11 : PC 는 14-2 의 인플루언서 사진 두 줄을 숨기고 이벤트 배너만 상담신청(15) 위에 노출. 모바일형(1240px 미만)은 사진 두 줄 + 배너 */
    body {background: #f8f8f8;}   /* 2026-11-06: 컨텐츠 왼쪽 여백(흰색)과 오른쪽 #side_bg(#f8f8f8) 색이 달라 #f8f8f8 로 통일 */
    #layout {position: relative; z-index: 1; width: 1190px; margin: 0 auto;}
    #content {width: 650px;}
    #renewal {max-width: 650px; margin: 0; font-size: 6.5px;}   /* cqw 미지원 브라우저 폴백 (1단위 = 6.5px) */
    /* 상단바 PC 규칙은 /css/renewal_hd.css */
    #side_bg {display: block; position: fixed; left: calc(50% + 55px); right: 0; top: var(--hd); bottom: 0; background: #f8f8f8; z-index: 0;}   /* 롤링바 아래까지 : 바가 숨을 때 흰 띠가 안 보이게 */
    /* 패널은 상단바~롤링바 사이 전체 높이. 내용(.side_in)이 그보다 작으면 margin-top:auto 로 아래쪽에 붙고(2026-10-21),
       내용이 더 크면 auto 마진이 0 이 되어 위에서부터 놓이며 JS(fit)가 패널을 scale 로 줄인다 */
    #side {display: flex; flex-direction: column; position: fixed; left: calc(50% + 138px); top: var(--hd); bottom: var(--wb); width: 457px; z-index: 2; transform-origin: 50% 0;}
    #side .side_in {margin-top: auto; padding: 38px 0 30px;}
    #worry_bar .wb_label {padding: 0 24px; font-size: 17px;}
    #worry_bar .wb_marquee {margin-left: 30px;}
    #worry_bar .wb_track span {margin-right: 110px; font-size: 16px;}
    .float_consult {display: none;}   /* 우측 패널에 DB창이 항상 보이므로 */
    .top_btn {bottom: calc(20px + var(--wb));}
    #footer {padding: 30px 14px calc(40px + var(--wb)); font-size: 11px;}
}

/* ---------- 애니메이션 ---------- */
@keyframes rn-marquee-l {from {transform: translateX(0);} to {transform: translateX(-50%);}}
@keyframes rn-marquee-r {from {transform: translateX(-50%);} to {transform: translateX(0);}}
@keyframes rn-float {0%, 100% {transform: translateY(0);} 50% {transform: translateY(-1em);}}
@keyframes rn-wobble {0% {transform: scale(1);} 25% {transform: rotate(-2deg);} 50% {transform: scale(1.05);} 75% {transform: rotate(2deg);} 100% {transform: scale(1);}}   /* saladyopen.com ddm4 : 좌우로 살짝 기울며 커졌다 돌아오는 흔들림 */
@keyframes rn-trophy {0%, 100% {transform: translateY(0);} 50% {transform: translateY(-1.2em);}}
@keyframes rn-float-bn {from {transform: translateY(0);} to {transform: translateY(10px);}}   /* custom.css 의 ani 와 동일 */
@keyframes rn-rotate {from {transform: rotate(0deg);} to {transform: rotate(360deg);}}
@keyframes rn-pop {from {opacity: 0; transform: translateY(.8em) scale(.94);} to {opacity: 1; transform: translateY(0) scale(1);}}
@keyframes rn-stamp {0% {opacity: 0; transform: scale(1.7);} 70% {opacity: 1; transform: scale(.96);} 100% {opacity: 1; transform: scale(1);}}

/* ---------- 카피 액션 (심의 문구/크기 유지) ----------
   원본 이미지는 손대지 않고, 카피 영역만 잘라낸 조각(.tx)을 같은 자리에 겹쳐 등장 동작을 준다.
   .cv 는 조각이 나타나기 전까지 원본 카피를 가리는 덮개(단색 또는 배경을 메운 이미지). 좌표는 em (1em = 컨테이너 너비 1%).
   .rise : 아래서 떠오름 / .pop : 살짝 커졌다 자리잡음 / .stamp : 도장처럼 찍힘 / .glow : (어두운 배경) 숨쉬듯 빛남 */
#renewal .cv {position: absolute; display: block; z-index: 1; pointer-events: none;}
#renewal .tx {position: absolute; z-index: 2; opacity: 0; pointer-events: none; will-change: transform, opacity;}
#renewal .tx.on {animation: rn-rise .42s cubic-bezier(.1, .9, .2, 1) var(--d, 0s) forwards;}   /* 휙 : 짧고 빠르게 들어와서 바로 멈춤 */
#renewal .tx.pop.on {animation-name: rn-pop2; animation-duration: .5s; animation-timing-function: cubic-bezier(.15, 1.1, .3, 1);}
#renewal .tx.stamp.on {animation-name: rn-stamp; animation-duration: .38s; animation-timing-function: cubic-bezier(.2, .9, .3, 1.2);}
#renewal .tx.glow {opacity: 0; mix-blend-mode: screen;}
#renewal .tx.glow.on {animation: rn-glow 3s ease-in-out .6s infinite;}
/* .shine : 덮개 없이, 글자 모양 알파 마스크(imgNN_mkK.png) 안에서 흰 빛이 왼쪽→오른쪽으로 쓸고 지나감 (10. 성공 스토리 : 그라데이션 배경) */
#renewal .tx.shine {background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, 0) 70%) no-repeat; background-size: 50% 100%; background-position: -100% 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;}
#renewal .tx.shine.on {opacity: 1; animation: rn-shine 4.5s ease-in-out var(--d, 0s) infinite;}
@supports not ((-webkit-mask-image: url("")) or (mask-image: url(""))) {#renewal .tx.shine {display: none;}}
@keyframes rn-shine {0% {background-position: -100% 0;} 40%, 100% {background-position: 200% 0;}}
@keyframes rn-rise {0% {opacity: 0; transform: translateY(4em) skewY(2deg);} 60% {opacity: 1; transform: translateY(-.35em) skewY(-.5deg);} 100% {opacity: 1; transform: translateY(0) skewY(0);}}
@keyframes rn-pop2 {0% {opacity: 0; transform: translateY(1.6em) scale(.7);} 55% {opacity: 1; transform: translateY(-.2em) scale(1.06);} 100% {opacity: 1; transform: translateY(0) scale(1);}}
@keyframes rn-glow {0%, 100% {opacity: 0;} 50% {opacity: .7;}}
/* 2026-11-02 추가 효과 (.tx 와 같은 IntersectionObserver 로 .on)
   .rsb  : 조각을 감싼 창(overflow hidden) 안에서 아래 → 위로 올라오며 나타남 (recruit.kakaobank.com 참고). <span class="tx rsb"><img></span>
   .wipe : 위 → 아래로 닦이듯 드러남 (greencar-gcar.co.kr 메인 비주얼 clip-path 참고). <span class="tx wipe"><img></span>
   .drop : 위에서 내려오며 나타남 (해국추출물 원), 아래에서 올라오는 쪽은 기존 .rise */
#renewal .tx.rsb {opacity: 1; overflow: hidden;}
#renewal .tx.rsb.on {animation: none;}
/* #renewal .tx.rsb img {display: block; width: 100%; transform: translateY(104%); will-change: transform;} */
/* #renewal .tx.rsb.on img {animation: rn-rise2 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s) forwards;} */
#renewal .tx.rsb.on img {animation: rn-fadein-img var(--rsb-dur, 1.4s) ease-out var(--d, 0s) forwards;}   /* 시간은 --rsb-dur (기본 1.4초. 느리다 싶은 카피는 요소 style 에 --rsb-dur:.7s) */
#renewal .tx.rsb img {display: block; width: 100%; opacity: 0; transform: scale(.95); will-change: transform, opacity;}
#renewal .tx.wipe {opacity: 1; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0);}
#renewal .tx.wipe img {display: block; width: 100%;}   /* 2026-11-05 : 드러나는 동안 이미지가 1.5em 내려오던 움직임(rn-wipe-in) 제거 - 아래로 내려가는 느낌 없이 제자리에서 닦이듯 드러나기만 */
#renewal .tx.wipe.on {animation: rn-wipe .9s cubic-bezier(.45, 0, .55, 1) var(--d, 0s) forwards;}
#renewal .tx.drop.on {animation-name: rn-drop;}
/* .fall / .lift : 05-1 해국추출물 원은 위에서 아래로, 체지방감소균 원은 아래에서 위로 멀리서(14em = 140px) 1초 동안 미끄러져 들어온다 (2026-11-02 지시 : 기존 .drop/.rise 는 4em·0.42초라 어디서 오는지 느껴지지 않음) */
#renewal .tx.fall.on {animation: rn-fall 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s) forwards;}
#renewal .tx.lift.on {animation: rn-lift 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0s) forwards;}
@keyframes rn-fall {0% {opacity: 0; transform: translateY(-14em);} 40% {opacity: 1;} 100% {opacity: 1; transform: translateY(0);}}
@keyframes rn-lift {0% {opacity: 0; transform: translateY(14em);} 40% {opacity: 1;} 100% {opacity: 1; transform: translateY(0);}}
/* .fadein : 제자리에서 투명도 0 -> 1 + 크기 95% -> 100% 로 부드럽게 나타남 (위치는 그대로). 2026-11-11 슬라이드 5 요청(02 하단 캘리 카피 img02_copy3).
   시간은 1.4s, 완급은 ease-out, 시작 크기는 --fade-scale (1 이면 크기 변화 없이 투명도만, 값이 작을수록 더 작게 시작) 에서 조절
   <span class="tx fadein"><img></span> 처럼 .tx 조각의 클래스만 rsb 대신 fadein 으로 바꾸면 다른 카피에도 같은 효과를 쓸 수 있음 */
#renewal .tx.fadein {--fade-scale: .95;}
#renewal .tx.fadein.on {animation: rn-fadein var(--fade-dur, 1s) ease-out var(--d, 0s) forwards;}   /* 시간은 --fade-dur (기본 1초. "+" 처럼 따로 주려면 요소 style 에 --fade-dur:.8s) */
@keyframes rn-fadein {from {opacity: 0; transform: scale(var(--fade-scale, .95));} to {opacity: 1; transform: scale(1);}}
#renewal .tx.softrise {--sr-y: 2em;}
#renewal .tx.softrise.on {animation: rn-softrise 1.2s cubic-bezier(.4, 0, .2, 1) var(--d, 0s) forwards;}
@keyframes rn-softrise {from {opacity: 0; transform: translateY(var(--sr-y, 2em));} to {opacity: 1; transform: translateY(0);}}
#renewal .tx.outup, #renewal .tx.outdown {--out-d: 6em;}
#renewal .tx.outup.on {animation: rn-outup 1.5s cubic-bezier(.25, .6, .3, 1) var(--d, 0s) forwards;}
#renewal .tx.outdown.on {animation: rn-outdown 1.5s cubic-bezier(.25, .6, .3, 1) var(--d, 0s) forwards;}
@keyframes rn-outup {from {opacity: 0; transform: translateY(var(--out-d, 6em));} 60% {opacity: 1;} to {opacity: 1; transform: translateY(0);}}
@keyframes rn-outdown {from {opacity: 0; transform: translateY(calc(var(--out-d, 6em) * -1));} 60% {opacity: 1;} to {opacity: 1; transform: translateY(0);}}
/* .gci : 검정 글자(왼쪽 조각)와 빨간 글자(오른쪽 조각)가 3배 크기로 좌/우 바깥에서 가운데로 모이며 선명해짐
   (greencar-gcar.co.kr 인트로 첫 글씨 .full-logo-svg .left/.right : opacity 0→1, scale(3)→1, 바깥→제자리, transition .6s ease .1s 를 그대로 옮김)
   <span class="tx gci"><i class="l"><img></i><i class="r"><img></i></span> — 같은 PNG 두 장을 clip-path 로 47.6% 지점(글자 사이 빈 칸)에서 나눔. 2026-11-02 05번 카피 */
#renewal .tx.gci {opacity: 1;}
#renewal .tx.gci.on {animation: none;}
#renewal .tx.gci i {display: block; width: 100%; opacity: 0; will-change: transform, opacity; transition: opacity .6s ease calc(var(--d, 0s) + .1s), transform .6s ease calc(var(--d, 0s) + .1s);}
#renewal .tx.gci i.l {-webkit-clip-path: inset(0 52.4% 0 0); clip-path: inset(0 52.4% 0 0); transform-origin: 23.8% 50%; transform: translateX(-45%) scale(3);}
#renewal .tx.gci i.r {position: absolute; left: 0; top: 0; -webkit-clip-path: inset(0 0 0 47.6%); clip-path: inset(0 0 0 47.6%); transform-origin: 73.8% 50%; transform: translateX(45%) scale(3);}
#renewal .tx.gci i img {display: block; width: 100%;}
#renewal .tx.gci.on i {opacity: 1; transform: translateX(0) scale(1);}
/* .gci.one : 분할 없이 통으로 - 이미지 전체가 가운데 기준 3배 크기에서 제자리로 줄어들며 선명해짐. 시간/완급은 위 .gci 와 동일 (2026-11-05 05-1 "쉽게 빠지지 않는 체지방 / 이제 2중으로 공략하세요!" img05-1_copy.png). <span class="tx gci one"><i class="l"><img></i></span> */
#renewal .tx.gci.one i.l {-webkit-clip-path: none; clip-path: none; transform-origin: 50% 50%; transform: scale(3);}
#renewal .tx.gci.one.on i.l {transform: scale(1);}   /* 위 규칙이 .gci.on i 보다 우선순위가 높아 되돌림을 따로 둔다 */
@keyframes rn-fadein-img {to {opacity: 1; transform: scale(1);}}
@keyframes rn-rise2 {from {transform: translateY(104%);} to {transform: translateY(0);}}
@keyframes rn-wipe {from {-webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0);} to {-webkit-clip-path: inset(0 0 -5% 0); clip-path: inset(0 0 -5% 0);}}
@keyframes rn-drop {0% {opacity: 0; transform: translateY(-4em) skewY(-2deg);} 60% {opacity: 1; transform: translateY(.35em) skewY(.5deg);} 100% {opacity: 1; transform: translateY(0) skewY(0);}}
@media (prefers-reduced-motion: reduce) {
    #renewal .strip .track, #renewal .award .track, #renewal .float_box, #renewal .bubble1, #renewal .bubble2, #renewal .trophy, #renewal .rotate_badge, .float_consult {animation: none;}
    #renewal .tx.rsb img, #renewal .tx.wipe img {opacity: 1; transform: none; animation: none !important;}
    #renewal .tx.rsb img, #renewal .tx.wipe img {transform: none; animation: none !important;}
    #renewal .tx.wipe {-webkit-clip-path: none; clip-path: none;}
    #renewal .tx.gci i {opacity: 1; transform: none; transition: none;}
    #renewal .sec02 .nums b i {animation: none !important; opacity: .6;}
    #renewal .sec02 .copy1 {opacity: 1; transform: none;}
    #renewal .bg_video {display: none;}
    #renewal .tx.glow, #renewal .tx.shine {display: none;}
    #renewal .sec02 .copy {transition: none;}
}