@charset "UTF-8";
/*
 * 스마트올 웹캠페인 반응형 (smartall.css 다음에 불러옴)
 * - 1023px 이하 : 모바일 레이아웃
 * - 1024 ~ 1919px : PC 좁은 화면 보정
 * - 사이트 공통 헤더·푸터는 layout.css 를 그대로 따름
 */

/* 사이트 하단 고정 메뉴 숨김 (체험 신청 버튼 사용) */
@media (max-width: 1024px) { body.sa-body .fixedBottomnavi.onlyMO { display: none !important; } }

/* 공통 (모바일) */
@media (max-width: 1023px) {
    .sa-wrap { min-width: 0; }

    /* LNB */
    .sa-lnb { height: 40px; }
    .sa-lnb__list {
        justify-content: safe center; gap: 8px; margin: 0; padding: 6px 12px; overflow-x: auto; overflow-y: hidden; /* 화면보다 길면 왼쪽부터 (가운데 정렬 시 첫 메뉴가 왼쪽 밖으로 잘림) */
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .sa-lnb__list::-webkit-scrollbar { display: none; }
    .sa-lnb__item { flex: 0 0 auto; }
    .sa-lnb__link { width: auto; min-width: 0; height: 26px; padding: 4px 12px; font-size: 12px; line-height: 18px; letter-spacing: -0.24px; white-space: nowrap; }

    /* 섹션 타이틀 */
    .sa-wrap .sa-tit { gap: 17px; }
    .sa-tit__sub { font-size: 16px; letter-spacing: -0.32px; }
    .sa-tit__main { gap: 14px; font-size: 32px; letter-spacing: -0.64px; line-height: 38px; }
    .sa-tit__main--stack { flex-direction: column; align-items: center; gap: 9px; }
    .sa-tit__row { gap: 14px; }
    /* 선택박스 */
    .sa-tit__main > .sa-tit__frame:last-child { margin-right: 10px; }
    .sa-tit__main--stack > .sa-tit__frame:last-child { margin-right: 0; }   /* 두 줄일 때 가운데 */
    .sa-tit__frame::before { left: -7px; right: -7px; top: -1px; height: 39px; }
    .sa-tit__frame::after { left: -10px; right: -10px; top: -5px; height: 46.8px; background-size: 7.8px 7.8px; }

    /* 버튼 */
    .sa-btn-video,
    .sa-btn-line { height: 56px; }

    /* 체험 신청 플로팅 버튼 */
    .sa-floating { right: 16px; bottom: 16px; scale: 0.6; transform-origin: right bottom; }
    .sa-wrap .sa-gotop { right: 40px; bottom: 134px; width: 48px; height: 48px; } /* 체험 신청 버튼(60%) 위, 버튼이 위아래로 움직여도 겹치지 않게 */
    .sa-wrap .sa-gotop svg { width: 20px; height: 20px; }

    /* 후기 영상 팝업 */
    .sa-video-dialog { width: min(calc(100vw - 32px), calc((100vh - 32px) * 16 / 9)); border-radius: 16px; }
    .sa-video-dialog__close { top: 8px; right: 8px; width: 40px; height: 40px; }
    .sa-video-dialog__close::before,
    .sa-video-dialog__close::after { width: 20px; height: 2.5px; margin: -1.25px 0 0 -10px; }
}


/* 스마트올 캠페인 */

/* [스마트올 캠페인] 모바일 */
@media (max-width: 1023px) {
    /* 키비주얼 */
    .sa-wrap .sa-cam-main__img { aspect-ratio: 1 / 1; } /* 가운데 정사각형만 보이게 */

    /* 영상 닫기 버튼 */
    .sa-cam-kv__down { bottom: 24px; gap: 8px; }
    .sa-body--mo .sa-cam-kv__down { bottom: 84px; }
    .sa-cam-kv__down-txt { font-size: 14px; }
    .sa-cam-kv__down-icon { width: 44px; height: 44px; }
    .sa-wrap .sa-cam-kv__down-icon img { width: 15px; height: 15px; }

    /* 공부밀도 키워드 시퀀스 */
    .sa-cam-density,
    .sa-cam-density__stage { height: 100vh; height: 100dvh; }
    .sa-cam-density__stage { display: flex; align-items: center; justify-content: center; background: linear-gradient(var(--sa-seq-top, #242424) 50%, var(--sa-seq-bottom, #242424) 50%); }
    .sa-cam-density__canvas { flex: none; width: min(max(100vw, 177.78svh), 282.35vw); height: auto; aspect-ratio: 16 / 9; object-fit: fill; }

    /* 혜택 */
    .sa-cam-benefit .sa-serif-word { font-size: 81.25px; line-height: 70px; letter-spacing: -1.625px; }
    .sa-cam-benefit__word--1 { left: calc(50% - 275px); top: 12.5px; }
    .sa-cam-benefit__word--2 { left: calc(50% - 75px); top: 82.5px; }
    .sa-cam-benefit__inner { width: auto; max-width: 320px; padding: 64px 0 0; } /* 유의사항 아래 여백 없음 (시안) */
    .sa-cam-benefit__tit { margin: 0 -12px 31px; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.8px; word-break: keep-all; }
    .sa-cam-benefit__tit-main { font-size: 32px; line-height: 38px; letter-spacing: -0.64px; }
    .sa-cam-benefit__tit-brk { display: block; }
    .sa-cam-benefit__circle { zoom: 0.53; }
    .sa-cam-benefit__list { flex-direction: column; flex-wrap: nowrap; gap: 20px; }
    .sa-benefit { width: auto; padding: 16px; border-radius: 12px; }
    .sa-benefit__bg { border-radius: 12px; }
    .sa-benefit__label-txt,
    .sa-benefit__label-num,
    .sa-benefit__target { height: 24px; font-size: 12px; letter-spacing: -0.24px; }
    .sa-benefit__label-txt { width: 40px; margin-right: -8px; }
    .sa-benefit__label-num { width: 24px; }
    .sa-benefit__target { padding: 0 10px; }
    .sa-benefit__body { position: absolute; left: 24px; right: 24px; bottom: 28px; justify-content: flex-end; gap: 8px; padding: 0; }
    .sa-benefit__tit { font-size: 20px; line-height: 1.6; letter-spacing: -0.4px; }
    .sa-benefit__face { display: none; }
    .sa-benefit__line { white-space: nowrap; }
    .sa-benefit__line > span:not(.sa-benefit__face) + .sa-benefit__face + span { margin-left: 0.25em; }
    .sa-benefit--1 .sa-benefit__line:nth-child(2) > .sa-benefit__face + span { margin-left: 0; }
    .sa-benefit__desc,
    .sa-benefit--1 .sa-benefit__desc { width: auto; font-size: 12px; line-height: 1.6; letter-spacing: -0.36px; word-break: keep-all; }
    /* 혜택 1 */
    .sa-benefit--1 { height: 320px; }
    /* 혜택 1 모바일 : 시안 배경 이미지 1장으로 (PC 장식·제품·설명 숨김) */
    .sa-wrap .sa-benefit__mo-bg { display: block; position: absolute; left: 0; top: 0; width: 100%; height: 208px; object-fit: cover; border-radius: 12px 12px 0 0; }
    .sa-benefit--1 .sa-benefit__bg,
    .sa-benefit--1 .sa-benefit__product,
    .sa-benefit--1 .sa-benefit__caption,
    .sa-benefit--1 .sa-benefit__desc,
    .sa-benefit__badge .sa-pc-only { display: none; }
    .sa-benefit--1 .sa-benefit__body { bottom: 24px; }
    .sa-benefit--1 .sa-benefit__union,
    .sa-benefit--1 .sa-benefit__sparkle--1,
    .sa-benefit--1 .sa-benefit__sparkle--2,
    .sa-benefit--1 .sa-benefit__product,
    .sa-benefit--1 .sa-benefit__caption,
    .sa-benefit--1 .sa-benefit__badge { zoom: 0.5; }
    .sa-benefit--1 .sa-benefit__union { left: -608px; top: -172px; }
    .sa-benefit--1 .sa-benefit__sparkle--1 { left: 496px; top: 24px; }
    .sa-benefit--1 .sa-benefit__sparkle--2 { left: 204px; top: 178px; }
    .sa-benefit--1 .sa-benefit__product { left: 144px; top: -80px; }
    .sa-benefit--1 .sa-benefit__caption { left: 32px; top: 342px; }
    .sa-benefit--1 .sa-benefit__badge { left: 376px; top: 232px; } /* 시안 188, 116 */
    .sa-benefit--1 .sa-benefit__badge .sa-pc-only { display: inline; }
    .sa-benefit--1 .sa-benefit__badge-sub { font-family: var(--sa-font-display); font-weight: 800; }
    /* 혜택 2 */
    .sa-benefit--2 { height: 480px; }
    .sa-benefit--2 .sa-benefit__bg { bottom: auto; height: 300px; border-radius: 12px 12px 0 0; }
    .sa-benefit--2 .sa-benefit__bg > * { zoom: 0.5; }
    .sa-benefit--2 .sa-benefit__shape--1 { left: 359px; top: -41px; }
    .sa-benefit--2 .sa-benefit__shape--2 { left: -110px; top: 325px; }
    .sa-benefit--2 .sa-benefit__shape--3 { left: -102px; top: -334px; }
    .sa-benefit--2 .sa-benefit__note--coupon { left: 118px; top: 152px; }
    .sa-benefit--2 .sa-benefit__note--card { left: 390px; top: 478px; }
    .sa-benefit--2 .sa-benefit__gs25 { left: 310px; top: 106px; }
    .sa-benefit--2 .sa-benefit__cards { left: 8px; top: 300px; }
    /* 혜택 3 */
    .sa-benefit--discount { height: 320px; }
    .sa-benefit-offer { height: 320px; }
    /* 혜택 번호 */
    .sa-benefit--1 > .sa-benefit__label,
    .sa-benefit-offer > .sa-benefit__label,
    .sa-benefit--discount > .sa-benefit__head { position: absolute; left: 8px; top: 8px; }
    .sa-benefit-offer .sa-benefit-offer__art { height: 208px; object-fit: cover; object-position: center; border-radius: 12px 12px 0 0; } /* 혜택 2·3 모바일 배경 */
    .sa-benefit-offer--gs25 { --offer-bg: #c3e2fd; }
    .sa-benefit-offer .sa-benefit__body { bottom: 24px; }
    .sa-benefit-offer .sa-benefit__tit { line-height: 1.6; }
    .sa-benefit-offer .sa-benefit__desc { display: none; } /* 설명 문구는 PC 만 */
    .sa-benefit-offer__badge { width: 88px; height: 88px; top: 8px; right: 8px; bottom: auto; font-size: 9px; }
    .sa-benefit-offer__badge span { font-size: 10px; line-height: 1.2; letter-spacing: -0.2px; }
    .sa-benefit-offer__badge strong { font-size: 26px; }
    .sa-benefit--discount .sa-benefit__bg { bottom: auto; height: 208px; border-radius: 12px 12px 0 0; }
    /* 봉투 유리 효과 */
    .sa-benefit--discount .sa-benefit__frost--side { clip-path: path("M 57.72 148.2 H 44 V 243.09 H 57.64 C 59.82 243.09 61.99 242.67 64 241.84 L 140.3 210.92 C 154.47 205.18 154.38 185.07 140.15 179.46 L 63.94 149.38 C 61.96 148.6 59.85 148.2 57.72 148.2 Z M 274.3 148.2 H 288.02 V 243.09 H 274.38 C 272.2 243.09 270.04 242.67 268.02 241.84 L 191.73 210.92 C 177.56 205.18 177.64 185.07 191.88 179.46 L 268.09 149.38 C 270.07 148.6 272.17 148.2 274.3 148.2 Z"); }
    .sa-benefit--discount .sa-benefit__frost--bottom { clip-path: path("M 44 246.49 L 44 244.72 C 44 238.5 47.4 232.78 52.88 229.82 L 149.86 177.29 C 159.93 171.83 172.07 171.83 182.14 177.29 L 279.13 229.82 C 284.6 232.78 288 238.5 288 244.72 V 246.49 C 288 255.85 280.41 263.44 271.05 263.44 H 60.94 C 51.58 263.44 44 255.85 44 246.49 Z"); }
    .sa-benefit--discount .sa-benefit__frost-in { filter: blur(5px); }
    .sa-benefit--discount .sa-benefit__env-scene > *,
    .sa-benefit--discount .sa-benefit__glass,
    .sa-benefit--discount .sa-benefit__bg > img { zoom: 0.5; }
    .sa-benefit--discount .sa-benefit__burst { left: -243px; top: -172px; }
    .sa-benefit--discount .sa-benefit__env-back { left: 88px; top: 119.6px; }
    .sa-benefit--discount .sa-benefit__env { left: 118px; top: 150px; }
    .sa-benefit--discount .sa-benefit__env-shadow { left: 133.8px; top: 160.9px; }
    .sa-benefit--discount .sa-benefit__env-sub { left: 332.5px; top: 190px; }
    .sa-benefit--discount .sa-benefit__env-main { left: 160px; top: 232px; }
    .sa-benefit--discount .sa-benefit__env-left { left: 88px; top: 296.4px; }
    .sa-benefit--discount .sa-benefit__env-right { left: 362.3px; top: 296.4px; }
    .sa-benefit--discount .sa-benefit__env-bottom { left: 88px; top: 346.4px; }
    .sa-benefit--discount .sa-benefit__star--l { display: block; left: 17px; top: 111px; }
    .sa-benefit--discount .sa-benefit__star--s { left: 16.5px; top: 324.5px; }
    .sa-benefit--discount .sa-benefit__dot { left: 564px; top: 368px; }
    .sa-benefit--discount .sa-benefit__sparkle { left: 582.6px; top: 130.2px; }
    .sa-benefit--discount .sa-benefit__desc { font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: -0.36px; }

    /* 스마트올 안내 */
    .sa-cam-grade { justify-content: flex-start; gap: 26px; height: auto; padding: 60px 0 56px; }
    .sa-cam-grade__tit { font-size: 28px; letter-spacing: -0.56px; }
    .sa-cam-grade__head { gap: 4px; }
    .sa-cam-grade__sub { font-size: 16px; letter-spacing: -0.32px; }
    .sa-cam-grade__list { flex-direction: column; align-items: center; gap: 7px; }
    .sa-cam-grade__item { zoom: 0.46; }
    .sa-cam-grade__face { display: none; } /* 모바일은 유튜버 얼굴 숨김 */

    /* 키즈 · 초등 · 중학 서류철 */
    .sa-cam-detail.is-folder-ready { box-sizing: border-box; height: 100vh; height: 100dvh; height: var(--sa-folder-vh, 100dvh); padding: 56px 0 0; overflow: hidden; margin-bottom: 56px; } /* 마지막 서류 아래 여백 */
    .is-folder-ready .sa-cam-detail__stage { width: auto; height: 100%; }
    .is-folder-ready .sa-cam-detail__folders { width: 100%; height: 100%; transform: none; overflow: visible; }
    .sa-cam-folder-sheet { width: 100%; height: auto; }
    .sa-cam-folder-sheet[data-folder-grade='kids'] { --handle-center: 24.444%; }
    .sa-cam-folder-sheet[data-folder-grade='elem'] { --handle-center: 50%; }
    .sa-cam-folder-sheet[data-folder-grade='mid'] { --handle-center: 75.556%; }
    .sa-cam-folder-sheet[data-rank='0'] { position: relative; padding-top: 56px; --paper-x: 0px; }
    .sa-cam-folder-sheet[data-rank='1'] { --paper-x: 0px; transform: translateY(-20px); } /* 뒤 서류 띠 높이 20 */
    .sa-cam-folder-sheet[data-rank='2'] { --paper-x: 0px; transform: translateY(-40px); }
    .is-folder-ready .sa-cam-folder-sheet .sa-cam-folder-sheet__paper { top: 56px; height: 80px; border-radius: 12px; }
    .sa-wrap .sa-cam-folder-tab { left: calc(var(--handle-center) - 64px); top: 24px; width: 128px; height: 32px; }
    /* 탭 위치 : 키즈 왼쪽 끝 · 중학 오른쪽 끝을 좌우 10px 에 맞춤 (시안) */
    .sa-cam-folder-sheet[data-folder-grade='kids'] .sa-cam-folder-tab { left: calc(50% - min(170px, 50% - 10px)); }
    .sa-cam-folder-sheet[data-folder-grade='mid'] .sa-cam-folder-tab { left: calc(50% + min(170px, 50% - 10px) - 128px); }
    .sa-cam-folder-sheet__glass { width: 100%; height: 136px; }
    .is-folder-ready .sa-cam-folder-tab__shape { left: 0.9px; width: 126.2px; height: auto; }
    .is-folder-ready .sa-cam-folder-sheet[data-rank='1'] .sa-cam-folder-sheet__glass { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
    .sa-cam-folder-tab span,
    .sa-cam-folder-tab[aria-selected='true'] span { top: 5px; left: 0; width: 100%; font-size: 16px; font-weight: 700; line-height: 21px; letter-spacing: -0.32px; }
    .is-folder-ready .sa-cam-panel { inset: 56px 0 auto; height: auto; }
    .is-folder-ready .sa-cam-panel.is-folder-active { position: relative; inset: auto; }
    .is-folder-ready .sa-cam-folder-sheet[data-rank='0'] { box-sizing: border-box; height: 100%; }
    .is-folder-ready .sa-cam-panel.is-folder-active { height: 100%; }
    .is-folder-ready .sa-cam-panel.is-folder-active .sa-cam-panel__content { box-sizing: border-box; height: 100%; padding-bottom: 0; overflow: hidden; }
    /* 서류 안쪽 스크롤 영역 */
    .is-folder-ready .sa-cam-panel__scroll { display: flex; flex-direction: column; gap: 20px; flex: 1 1 auto; min-height: 0; overflow: hidden; padding-bottom: 20px; }
    .is-folder-ready .sa-cam-panel.is-folder-active .sa-cam-panel__scroll { height: 100%; box-sizing: border-box; }
    .sa-body--mo .is-folder-ready .sa-cam-panel__scroll { padding-bottom: 79px; } /* 하단 고정 메뉴만큼 여백 */
    .is-folder-ready .sa-cam-panel__content { flex-direction: column; gap: 20px; width: auto; height: auto; padding: 20px; border-radius: 12px; }
    .is-folder-ready .sa-cam-panel--kids .sa-cam-panel__content { background: #8ccd32; }
    .is-folder-ready .sa-cam-panel--elem .sa-cam-panel__content { background: var(--sa-elem); }
    .is-folder-ready .sa-cam-panel--mid .sa-cam-panel__content { background: #8a3dde; }
    .is-folder-ready .sa-cam-panel__bg { display: none; }
    .is-folder-ready .sa-cam-panel__info { flex: none; gap: 16px; width: 100%; max-width: 320px; margin: 0 auto; padding: 0; } /* 글 왼쪽 선 = 카드 이미지 왼쪽 선 */
    .sa-cam-panel__headline { font-size: 24px; line-height: 1.4; letter-spacing: -0.48px; }
    .sa-cam-panel__desc { font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -0.28px; word-break: keep-all; }
    /* 형광 밑줄 */
    .sa-cam-panel__tags { gap: 6px; width: 240px; }
    .sa-cam-panel__tags li { height: 24px; padding: 0 9.6px; border-width: 0.6px; font-size: 10px; letter-spacing: -0.2px; }
    .is-folder-ready .sa-cam-panel__list { flex: none; align-items: center; gap: 20px; width: auto; height: auto; padding: 0; overflow: visible; }
    .is-folder-ready .sa-cam-panel__list .sa-card { transform: none; }
    .sa-card { width: 100%; max-width: 320px; filter: drop-shadow(0 9.8px 14.8px rgba(0, 0, 0, 0.04)); }
    .sa-card__img { zoom: 0.6154; height: 312px; }
    .sa-card__txt { gap: 8px; padding: 16px; border-radius: 16px; }
    .sa-card__num { zoom: 0.6; }
    .sa-card__tit { font-size: 16px; letter-spacing: -0.32px; }
    .sa-card__desc { font-size: 12px; letter-spacing: -0.24px; word-break: keep-all; }
    /* 이벤트 기간 · 대상 · 발표 */
    .sa-cam-benefit__info { gap: 12px; margin-bottom: 20px; padding: 16px; border-radius: 16px; }
    .sa-cam-benefit__info-row { gap: 8px; }
    .sa-cam-benefit__info dt { width: 39px; padding: 3px 0; text-align: center; font-size: 12px; line-height: 1.5; letter-spacing: -0.24px; }
    .sa-cam-benefit__info dd { font-size: 12px; line-height: 1.5; letter-spacing: -0.24px; word-break: keep-all; }

    /* 혜택 4 */
    .sa-benefit-plus { height: auto; padding: 12px 12px 24px; }
    .sa-wrap .sa-benefit-plus__bg { display: none; }
    .sa-benefit-plus .sa-benefit__head { align-self: flex-start; }
    .sa-benefit-plus__target { height: 24px; padding: 0 10px; font-size: 12px; line-height: 1.4; letter-spacing: -0.24px; }
    .sa-benefit-plus__tit { padding: 16px 0; font-size: 20px; line-height: 1.6; letter-spacing: -0.4px; }
    .sa-benefit-plus__list { flex-direction: column; gap: 56px; }
    .sa-benefit-plus__item { display: flex; flex-direction: column; width: auto; height: auto; }
    .sa-wrap .sa-benefit-plus__img { position: static; display: block; width: 100%; height: 140px; object-fit: contain; }
    .sa-benefit-plus__box { position: static; gap: 4px; padding: 12px 16px; border-radius: 12px; }
    .sa-benefit-plus__main { font-size: 16px; letter-spacing: -0.32px; }
    .sa-benefit-plus__sub { font-size: 12px; letter-spacing: -0.24px; }
    .sa-benefit-plus__item:first-child::after { left: 50%; right: auto; top: calc(100% + 8px); width: 40px; height: 40px; margin-left: -20px; }

    /* 이벤트 유의사항 */
    .sa-cam-notice { margin-top: 20px; padding: 28px 0 0; }
    .sa-cam-notice__tit { margin-bottom: 16px; font-size: 14px; letter-spacing: -0.28px; }
    .sa-cam-notice__item { border-top-width: 0.7px; }
    .sa-cam-notice__item:last-child { border-bottom-width: 0.7px; }
    .sa-cam-notice__btn { gap: 12px; padding: 12px 0; font-size: 12px; line-height: 1.5; letter-spacing: -0.24px; }
    .sa-cam-notice__btn::after { width: 24px; height: 24px; }
    .sa-cam-notice__body { margin-top: -6px; padding: 0 24px 15px 0; word-break: normal; font-size: 11.2px; letter-spacing: -0.224px; } /* 시안 : 제목과 6px, 글자 단위 줄바꿈 */
    .sa-cam-notice__dots { padding-left: 16.8px; }
    .sa-cam-notice__rows dt { width: 29.4px; margin-right: 8.6px; }
    .sa-cam-notice__rows dt::after { left: 32.2px; }

    /* 학습 방식 */
    .sa-cam-way { height: auto; padding: 56px 20px; }
    .sa-cam-way__head { gap: 6px; padding-top: 0; }
    .sa-cam-way__sub { font-size: 16px; letter-spacing: -0.32px; }
    .sa-cam-way__tit { font-size: 28px; letter-spacing: 0; word-break: keep-all; }
    .sa-cam-way__brk { display: block; }
    .sa-cam-way__list { grid-template-columns: 1fr; gap: 12px; width: auto; max-width: 320px; margin-top: 28px; }
    .sa-cam-way__item { gap: 12px; height: auto; padding: 20px; border-radius: 16px; }
    .sa-cam-way__txt { flex: 1; gap: 10px; width: auto; min-width: 0; }
    .sa-cam-way__num { width: 28px; height: 28px; font-size: 13px; letter-spacing: -0.26px; }
    .sa-cam-way__name { font-size: 18px; letter-spacing: -0.36px; }
    .sa-cam-way__desc { margin-top: -4px; font-size: 13px; letter-spacing: -0.26px; word-break: keep-all; }
    .sa-cam-way__desc br { display: none; }
    .sa-wrap .sa-cam-way__img { width: 96px; height: 96px; }
}
/* [스마트올 캠페인] 768 ~ 1023 : 서류철을 다른 영역처럼 360 폭 가운데 (768 미만은 화면 꽉 채움) */
@media (min-width: 768px) and (max-width: 1023px) {
    .is-folder-ready .sa-cam-detail__stage { max-width: 360px; margin: 0 auto; }
}


/* 공통 - 체험 상담 신청 모달 */
@media (max-width: 1024px) {
    .sa-wrap .sa-cam-db .layerService { padding: 0; }
    .sa-wrap .sa-cam-db .layerService { background: #fff; }
    /* 모바일 : 전체 화면. iPhone Safari 하단 도구막대에 신청완료가 가리지 않게 화면 높이는 svh(도구막대 제외) 기준 */
    .sa-wrap .sa-cam-db .layerService .popupBasic { width: 100%; height: 100%; height: 100svh; max-height: none; margin: 0; border-radius: 0; }
    .sa-wrap .sa-cam-db .popupBasic_body { height: auto; }
    /* 신청완료 영역 : PC 처럼 흰 영역 안에 버튼 (사이트 공통 모바일 팝업 하단 높이 44 고정 해제) */
    .sa-wrap .sa-cam-db .popupBasic_foot.popupBasic_foot.flxBox {
        height: auto; margin: 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid var(--gr150, #dee2e6); background: #fff;
    }
    .sa-wrap .sa-cam-db--inline .popupBasic_foot.popupBasic_foot.flxBox { border-top: 0; padding: 16px 20px 24px; }
    .sa-wrap .sa-cam-db .conTabBtn.btn3 { height: 50px; font-size: 1rem; }
    .sa-wrap .sa-cam-db .popupBasic_head .hd5 { font-size: 1.25rem; font-weight: 600; }
    .sa-wrap .sa-cam-db .popupBasic_foot.popupBasic_foot .btnSytle01 { width: 100%; height: 48px; padding: 0 10px; border-radius: 8px; font-size: 16px; } /* PC 와 같은 높이·글자 */
    .sa-wrap .sa-cam-db .inputBoxItem:not(.hasNumber_item) .inputBoxLabel > input { display: block; width: 100%; } /* 입력칸은 항목명 아래 줄 */
    .sa-wrap .sa-cam-db--inline .layerService { padding: 0; }
    .sa-wrap .sa-cam-db--inline .layerService .popupBasic { height: auto; }
}
@media (max-width: 820px) {
    .sa-wrap .sa-cam-db .largePopup .popupInnerWrap { padding: 20px; }
}
@media (max-width: 1023px) {
    .sa-body--mo .sa-cam-db--inline { padding-bottom: 59px; } /* 하단 고정 메뉴 */
}

/* 성장 스토리 */

/* [성장 스토리] 모바일 (상단 배너는 smartall-story-hero.css) */
@media (max-width: 1023px) {
    .sa-wrap .sa-mo-br { display: inline; }
    .sa-wrap .sa-pc-br { display: none; }

    /* 숫자로 보는 스마트올 */
    /* 타이틀 + 패널(593)이 화면 높이를 채우도록 타이틀 위아래 여백을 늘림 (상단 메뉴 40) */
    .sa-story-num__head { display: flex; flex-direction: column; justify-content: center; height: 160px; } /* 시안 높이 고정 */
    .sa-story-num__head::before {
        top: -60px; height: 500px; background-size: 40px 40px; background-position: 50% 21px;
        -webkit-mask-image: radial-gradient(300px 230px at 50% 230px, #000 0%, transparent 96.6%);
        mask-image: radial-gradient(300px 230px at 50% 230px, #000 0%, transparent 96.6%);
    }
    .sa-story-num__head .sa-tit { padding-top: 0; gap: 12px; }
    /* 고정 타이틀은 등장 중에도 그래프 위 160px 안에서 표시 */
    .sa-story-num__head .sa-tit > .is-rise-reveal { translate: none; }
    /* 패널 높이 593 (시안), 그래프 카드는 화면 폭에 맞춰 줄임 : --sa-s12 · --sa-s3 (smartall.js fitNumCards) */
    .sa-num-panel { height: var(--sa-p1); border-radius: 24px 24px 0 0; }
    /* 제목 + 그래프 카드 세로 가운데 정렬, 남는 높이만큼 카드 흰 배경 확장 */
    .sa-story-num__list { --sa-p1: 593px; --sa-p3: var(--sa-p1); --sa-ch12: calc(640px * var(--sa-s12, 0.4242)); --sa-ch3: calc(640px * var(--sa-s3, 0.5714)); }
    .sa-num-panel--01 { --sa-th: 126px; --sa-free: calc(var(--sa-p1) - 126px - 32px - var(--sa-ch12)); }
    .sa-num-panel--02 { --sa-th: 126px; --sa-free: calc(var(--sa-p1) - 126px - 32px - var(--sa-ch12)); }
    .sa-num-panel--03 { --sa-th: 120px; --sa-free: calc(var(--sa-p3) - 120px - 32px - var(--sa-ch3)); }
    .sa-num-panel {
        --sa-x: clamp(0px, calc(var(--sa-free) / 2 - 48px), 32px);
        --sa-tt: calc((var(--sa-free) - var(--sa-x) * 2) / 2);
        --sa-ct: calc(var(--sa-tt) + var(--sa-th) + 32px + var(--sa-x));
    }
    .sa-num-panel .sa-chart {
        isolation: isolate; overflow: visible; clip-path: inset(calc(var(--sa-ext, 0px) * -1) -100px calc(var(--sa-ext, 0px) * -1 - 160px) -100px);
        background: transparent; box-shadow: none; filter: drop-shadow(0 56px 35px rgba(213, 214, 222, 0.2));
    }
    .sa-num-panel .sa-chart::before {
        content: ''; position: absolute; left: 0; right: 0; top: calc(var(--sa-ext, 0px) * -1); bottom: calc(var(--sa-ext, 0px) * -1);
        z-index: -1; border-radius: inherit; background: #fff; pointer-events: none;
    }
    .sa-num-panel--01 .sa-chart, .sa-num-panel--02 .sa-chart { --sa-ext: calc(var(--sa-x) / var(--sa-s12, 0.4242)); }
    .sa-num-panel--03 .sa-chart--time { --sa-ext: calc(var(--sa-x) / var(--sa-s3, 0.5714)); }
    .sa-num-panel--01 .sa-chart, .sa-num-panel--02 .sa-chart, .sa-num-panel--03 .sa-num-panel__charts { top: var(--sa-ct); }
    .sa-num-panel + .sa-num-panel { margin-top: 0; }
    .sa-num-panel__no,
    .sa-num-panel--01 .sa-num-panel__no,
    .sa-num-panel--02 .sa-num-panel__no { left: -11px; top: -10px; font-size: 78.44px; line-height: 45.41px; }
    .sa-num-panel--03 .sa-num-panel__no { left: -14px; top: -10px; font-size: 78.44px; line-height: 45.41px; }
    /* 패널 제목 + 흰 밑줄 */
    .sa-num-panel__tit { top: var(--sa-tt); padding: 0 12px; font-size: 32px; line-height: 40px; letter-spacing: -0.64px; white-space: normal; word-break: keep-all; }
    .sa-num-panel__bar,
    .sa-num-panel--01 .sa-num-panel__bar,
    .sa-num-panel--02 .sa-num-panel__bar,
    .sa-num-panel--03 .sa-num-panel__bar {
        left: 0; right: 0; top: calc(var(--sa-tt) + 64px); width: auto; height: 56px; background-color: transparent;
        background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff); background-repeat: no-repeat;
        background-position: 50% 0, 50% 100%; background-size: var(--sa-bar1, 294px) 16px, var(--sa-bar2, 235px) 16px;
    }
    .sa-num-panel--02 .sa-num-panel__bar { top: calc(var(--sa-tt) + 19px); height: 12px; --sa-bar1: 180px; --sa-bar2: 0px; background-size: var(--sa-bar1) 12px, 0 0; }
    /* 패널 제목 : 03 시안 기준 24px (01·02 같게), 밑줄도 같은 비율 */
    .sa-num-panel__tit { font-size: 24px; line-height: 32px; letter-spacing: -0.48px; }
    .sa-num-panel--01 .sa-num-panel__bar { top: calc(var(--sa-tt) + 51px); height: 43px; --sa-bar1: 220px; --sa-bar2: 176px; background-size: var(--sa-bar1) 12px, var(--sa-bar2) 12px; }
    .sa-num-panel--01 .sa-num-panel__note { top: calc(var(--sa-tt) + 104px); }
    .sa-num-panel--03 .sa-num-panel__bar { top: calc(var(--sa-tt) + 51px); height: 43px; --sa-bar1: 172px; --sa-bar2: 200px; background-size: var(--sa-bar1) 12px, var(--sa-bar2) 12px; }
    .sa-num-panel__note { left: 0; right: 0; top: calc(var(--sa-tt) + 128px); font-size: 14px; line-height: 22px; letter-spacing: -0.28px; text-align: center; }
    /* 01·02 그래프 카드 */
    .sa-chart--gauge,
    .sa-chart--bar,
    .sa-chart--curve,
    .sa-chart--shelf { left: calc(50% - 396px * var(--sa-s12, 0.4242)); top: 210px; scale: var(--sa-s12, 0.4242); transform-origin: 0 0; box-shadow: 0 56px 70px rgba(213, 214, 222, 0.2); }
    .sa-chart--curve .sa-chart__curve-val { font-size: 61px; }
    .sa-chart--curve .sa-chart__curve-val small { font-size: 40.6px; }
    .sa-chart__curve-axis { font-size: 30.5px; }
    .sa-chart__curve-axis small { font-size: 25.4px; }
    .sa-chart--curve .sa-chart__label { font-size: 30.5px; }
    .sa-chart__shelf-tit { font-size: 40.6px; }
    .sa-chart__shelf-tit strong { font-size: 61px; }
    .sa-chart--curve .sa-chart__caption,
    .sa-chart--shelf .sa-chart__caption { font-size: 33px; }
    .sa-chart__gauge-val { font-size: 140px; }
    .sa-chart__gauge-val small { font-size: 84px; }
    .sa-chart--bar .sa-chart__val { font-size: 61px; }
    .sa-chart--bar .sa-chart__label { font-size: 30.5px; }
    /* 03 시간대 그래프 카드 */
    /* 카드 1장씩 가로 스크롤 (패널 폭 전체, 카드는 가운데 맞춤) : 크기는 scale 로 줄이므로 폭·여백은 1/s3 로 계산 */
    .sa-num-panel__charts,
    .sa-num-panel--03 .sa-num-panel__charts {
        left: 0; top: calc(var(--sa-tt) + 135px); width: calc(100% / var(--sa-s3, 0.5306)); height: 760px;
        padding: 0 calc((100% / var(--sa-s3, 0.5306) - 588px) / 2); gap: calc(16px / var(--sa-s3, 0.5306));
        overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
        transform: none; scale: var(--sa-s3, 0.5306); transform-origin: 0 0;
    }
    .sa-num-panel__charts::-webkit-scrollbar { display: none; }
    .sa-num-panel__charts.is-free { scroll-snap-type: none; }   /* 바를 끄는 동안 */
    .sa-num-panel__charts .sa-chart--time { flex: 0 0 588px; scroll-snap-align: center; scroll-snap-stop: always; }
    /* 지금 보는 카드만 그래프 모션 (옆 카드는 모션 대기) */
    .is-num-ready .sa-num-panel--03.is-seq .sa-chart--time:not(.is-cur) :is(.sa-fade, .sa-rise, .sa-grow, .sa-reveal) { animation: none; opacity: 0; }
    /* 하단 바 */
    .sa-num-panel__range {
        position: absolute; left: 34px; right: 34px; top: calc(var(--sa-tt) + 135px + var(--sa-ch3) + 20px); z-index: 2;
        display: block; height: 32px;
    }
    .sa-num-panel__range-input {
        --p: 0%;
        display: block; width: 100%; height: 32px; margin: 0; padding: 0; background: transparent; cursor: pointer;
        -webkit-appearance: none; appearance: none; touch-action: none;
    }
    .sa-num-panel__range-input:focus { outline: none; }
    .sa-num-panel__range-input::-webkit-slider-runnable-track {
        height: 6px; border-radius: 3px;
        background: linear-gradient(#6b7ff7, #6b7ff7) 0 0 / var(--p) 100% no-repeat, #c3cbec;
    }
    .sa-num-panel__range-input::-webkit-slider-thumb {
        -webkit-appearance: none; appearance: none; width: 32px; height: 32px; margin-top: -13px; box-sizing: border-box;
        border: 6px solid #6b7ff7; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(70, 90, 200, 0.25);
    }
    .sa-num-panel__range-input::-moz-range-track { height: 6px; border-radius: 3px; background: #c3cbec; }
    .sa-num-panel__range-input::-moz-range-progress { height: 6px; border-radius: 3px; background: #6b7ff7; }
    .sa-num-panel__range-input::-moz-range-thumb { width: 32px; height: 32px; box-sizing: border-box; border: 6px solid #6b7ff7; border-radius: 50%; background: #fff; }
    .sa-num-panel__range-input:focus-visible::-webkit-slider-thumb { outline: 2px solid #212529; outline-offset: 2px; }
    /* 좌우 화살표 */
    .sa-story-num__arrow { top: calc(50% - 24px); width: 48px; height: 48px; }
    .sa-story-num__arrow img { width: 30px; height: 30px; }
    .sa-story-num__arrow--prev { left: 8px; }
    .sa-story-num__arrow--next { right: 8px; }
    .is-num-ready .sa-num-panel--03.is-in .sa-chart--time.is-cur { animation-delay: 0s; }
    .sa-num-panel__charts .sa-chart--time.is-cur { z-index: 1; }
    .sa-chart--time .sa-chart__axis-label { font-size: 22.6px; }
    .sa-chart--time .sa-chart__axis-label span { width: 48px; }
    .sa-chart--time .sa-chart__axis-label { left: 39px; width: 510px; }
    /* x축 선 */
    .sa-chart--time .sa-chart__axis { top: 494px; height: 1.75px; border-radius: 1px; background: #c8c8c8; }
    .sa-chart--time .sa-chart__caption { font-size: 24.5px; }
    .sa-chart--time .sa-chart__val { font-size: 60px; }
    .sa-chart--time .sa-chart__val small { font-size: 37.7px; }
    .sa-chart--kids .sa-chart__val--am { font-size: 45px; }
    .sa-chart--kids .sa-chart__val--am small { font-size: 30px; }

    /* GROW / LEARN 띠 */
    .sa-story-band__row { height: 67.5px; }
    .sa-story-band__group { gap: 12.5px; padding-right: 12.5px; }
    .sa-story-band__word { font-size: 45px; }
    .sa-story-band__icon--grow1,
    .sa-story-band__icon--learn2 { width: 50px; height: 50px; }
    .sa-story-band__icon--star { width: 27px; height: 30px; }
    .sa-story-band__icon--grow2 { width: 62px; height: 45.6px; }
    .sa-story-band__icon--learn1 { width: 60px; height: 60px; }

    /* 우수 후기 */
    .sa-story-best { height: auto; padding-bottom: 42px; }
    .sa-story-best__deco { display: none; }
    .sa-story-best .sa-tit { padding-top: 64px; gap: 12px; }
    .sa-story-best .sa-tit__main { flex-direction: column; align-items: center; gap: 8px; }
    .sa-story-best .sa-tit__main > .sa-tit__frame:last-child { margin-right: 0; }
    .sa-story-best__list {
        position: relative; left: auto; top: auto; display: flex; align-items: flex-start; gap: 0;
        width: auto; margin: 20px 0 0; padding: 0 0 30px;
        overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .sa-story-best__list::-webkit-scrollbar { display: none; }
    .sa-best { flex: 0 0 100%; box-sizing: border-box; padding: 0 calc(50% - 168px); scroll-snap-align: center; scroll-snap-stop: always; }
    .sa-best__visual { zoom: 0.5714; }
    /* Pre-render SVG blur at 3x to avoid clipped filter surfaces in iOS Safari. */
    .sa-best--02 .sa-best__fill { content: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_glow_02.png); }
    .sa-best--04 .sa-best__fill { content: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_glow_04.png); }
    .sa-best--05 .sa-best__fill { content: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_glow_05.png); }
    .sa-best--02 .sa-best__mask { -webkit-mask-image: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_clip_02.png); mask-image: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_clip_02.png); }
    .sa-best--04 .sa-best__mask { -webkit-mask-image: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_clip_04.png); mask-image: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_clip_04.png); }
    .sa-best--05 .sa-best__mask { -webkit-mask-image: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_clip_05.png); mask-image: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/story/story_best_clip_05.png); }
    .sa-best__txt { gap: 16px; width: 336px; margin-bottom: 24px; }
    .sa-best__quote { font-size: 24px; line-height: 32px; letter-spacing: -0.48px; word-break: keep-all; }
    .sa-best__person { gap: 4.85px; font-size: 16px; letter-spacing: -0.32px; }
    .sa-best__btns { flex-direction: column; gap: 12px; width: 336px; }
    .sa-best__btns > button { width: 100%; }
    .sa-story-best__dots { display: none; }
    /* 스크롤할 때마다 한 명씩 넘김 */
    .sa-story-best.is-seq { position: sticky; z-index: 1; }
    .sa-story-best.is-seq .sa-story-best__list { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; scroll-snap-type: none; }
    .sa-story-best.is-seq .sa-best { grid-area: 1 / 1; width: 100%; min-width: 0; opacity: 0; transform: translateY(40px); pointer-events: none; transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
    .sa-story-best.is-seq .sa-best.is-past { transform: translateY(-40px); }
    .sa-story-best.is-seq .sa-best.is-cur { opacity: 1; transform: none; pointer-events: auto; }
    .sa-story-best__dots button { width: 6px; height: 6px; padding: 0; border-radius: 999px; background: #c8c8c8; transition: width 0.25s ease, background-color 0.25s ease; }
    .sa-story-best__dots button.is-active { width: 18px; background: #0a0a0a; }

    /* 생생 리얼 후기 */
    .sa-story-real .sa-tit { padding-top: 64px; gap: 17px; }
    .sa-story-real__grid { top: 216px; transform: translateX(calc(-50% + 68px)) scale(0.4193); transform-origin: 50% 0; }
    /* 생생 리얼 후기 하얀색 그라데이션 효과 */
    .sa-wrap .sa-story-real__veil { --sa-veil-w: 2495px; left: 504px; top: -120px; width: 2495px; height: 753px; }
    /* 넓은 모바일 화면 그라데이션 보정 */
    .sa-wrap .sa-story-real__veil {
        --sa-veil-x: max(0px, calc(50vw - 300px));
        left: calc(504px - var(--sa-veil-x)); width: calc(2495px + var(--sa-veil-x)); transform-origin: calc(1247.5px + var(--sa-veil-x)) 50%;
    }
    .sa-story-real.is-real-ready::before { display: none; }
    .sa-story-real__fade { top: 595px; height: 472px; width: 2443px; }
    /* 카드 두 열 세로 흐름 */
    .sa-story-real { height: auto; padding-bottom: 48px; }
    .sa-story-real__grid,
    .sa-wrap .sa-story-real__veil,
    .sa-story-real__fade { display: none; }
    .sa-story-real__rows {
        position: relative; z-index: 1; display: flex; justify-content: center; gap: 12px; width: 100%; height: 560px; margin-top: 32px; overflow: hidden;
    }
    /* 위아래 흐림 : mask-image 대신 흰색 그라디언트 덮개 (iOS 에서 mask 는 움직이는 카드와 함께 매 프레임 다시 그려 스크롤이 버벅임) */
    .sa-story-real__rows::before,
    .sa-story-real__rows::after { content: ''; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
    .sa-story-real__rows::before { top: 0; height: 64px; background: linear-gradient(#fff, rgba(255, 255, 255, 0)); }
    .sa-story-real__rows::after { bottom: 0; height: 96px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
    .sa-story-real__row { display: flex; flex-direction: column; gap: 12px; width: calc((100% - 12px) / 2); height: max-content; animation: sa-real-row var(--sa-row-duration, 50s) linear infinite; will-change: transform; backface-visibility: hidden; }
    .sa-story-real:not(.is-real-running) .sa-story-real__row { animation-play-state: paused; } /* 화면 밖에서는 멈춤 */
    .sa-story-real__rows .sa-real-card { transition: none; }
    .sa-story-real__row--2 { margin-top: 48px; animation-direction: reverse; }
    .sa-story-real__rowset { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
    .sa-story-real__rowset > li { flex: none; }
    .sa-story-real.is-real-wait .sa-story-real__rows .sa-real-card { opacity: 1; }
    .sa-story-real__rows .sa-real-card { width: 100%; height: auto; aspect-ratio: 1; border-radius: 20px; }
    .sa-story-real__rows .sa-real-card__copy { gap: 12px; padding: 22px 16px; }
    .sa-story-real__rows .sa-real-card__tit { font-size: 15px; line-height: 22px; letter-spacing: -0.3px; }
    .sa-story-real__rows .sa-real-card__name { font-size: 12px; line-height: 16px; letter-spacing: -0.24px; }
    @keyframes sa-real-row { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, calc(-50% - 6px), 0); } }

    /* 우수 후기 팝업 */
    .sa-best-dialog { width: min(calc(100vw - 32px), 560px); height: min(calc(100svh - 48px), 760px); border-radius: 24px; }
    .sa-best-dialog__head { height: 56px; }
    .sa-best-dialog__head p { font-size: 16px; line-height: 24px; }
    .sa-best-dialog .sa-best-dialog__close { width: 56px; height: 56px; }
    .sa-best-dialog__close img { width: 28px; height: 28px; }
    .sa-best-dialog__body {
        left: 0; right: 0; top: 56px; bottom: 56px; flex-direction: column; align-items: stretch; gap: 20px;
        width: auto; height: auto; padding: 20px 20px 24px; overflow-y: auto; overscroll-behavior: contain; box-sizing: border-box; border-bottom: 1px solid #eee;
    }
    .sa-best-dialog__photo { flex: none; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
    .sa-best-dialog__txt { gap: 16px; width: auto; height: auto; justify-content: flex-start; }
    .sa-best-dialog__txt header { gap: 10px; }
    .sa-best-dialog__quote { font-size: 20px; line-height: 28px; letter-spacing: -0.4px; word-break: keep-all; }
    .sa-best-dialog__person { gap: 6px; font-size: 14px; letter-spacing: -0.28px; }
    .sa-best-dialog__story { max-height: none; overflow: visible; font-size: 14px; line-height: 22px; letter-spacing: -0.42px; word-break: keep-all; }
    .sa-best-dialog .sa-best-dialog__nav { top: auto; bottom: 8px; width: 40px; height: 40px; margin: 0; }
    .sa-best-dialog .sa-best-dialog__nav--prev { left: 12px; }
    .sa-best-dialog .sa-best-dialog__nav--next { right: 12px; }
    .sa-best-dialog__nav img { width: 28px; height: 28px; }
    /* 쪽수 */
    .sa-best-dialog__page { left: 64px; right: 64px; top: auto; bottom: 20px; font-size: 14px; letter-spacing: 4px; pointer-events: none; }
    .sa-best-dialog .sa-best-dialog__nav { z-index: 1; }
}

/* PC 좁은 화면 우수 후기 팝업 축소 */
@media (min-width: 1024px) and (max-width: 1279px) { .sa-best-dialog { zoom: 0.85; } }
@media (min-width: 1024px) and (max-width: 1099px) { .sa-best-dialog { zoom: 0.78; } }


/* 커리큘럼 */

/* [커리큘럼] 모바일 */
@media (max-width: 1023px) {
    /* 상단 */
    .sa-cur-hero { height: 134px; }
    .sa-cur-hero__composition { top: 0; width: 360px; height: 134px; }
    .sa-cur-hero__title-art { display: none; }
    .sa-cur-hero__mo-tit {
        position: absolute; left: 1px; right: 0; top: 17px; display: block;
        color: #fff; font-family: var(--sa-font-display); font-size: 18px; font-weight: 700; line-height: 29px; letter-spacing: 0; text-align: center; white-space: nowrap;
        animation: sa-cur-type 1.05s steps(14) .18s both;
    }
    .sa-cur-hero__mo-tit em { color: #d8f400; font-style: normal; }
    .sa-cur-hero__mo-sel { display: inline-block; }
    /* 둘째 줄 선택박스 */
    .sa-cur-hero__selection { left: var(--sa-sel-l, 112px); top: var(--sa-sel-t, 48px); width: var(--sa-sel-w, 137px); height: var(--sa-sel-h, 26px); border-width: 0.75px; animation-name: sa-cur-selection-mo; }
    .sa-cur-hero__selection i { width: 5px; height: 5px; border-width: 0.75px; }
    .sa-cur-hero__selection i:nth-child(1) { left: -2.75px; top: -2.75px; }
    .sa-cur-hero__selection i:nth-child(2) { right: -2.75px; top: -2.75px; }
    .sa-cur-hero__selection i:nth-child(3) { right: -2.75px; bottom: -2.75px; }
    .sa-cur-hero__selection i:nth-child(4) { left: -2.75px; bottom: -2.75px; }
    /* 커서 */
    .sa-cur-hero__cursor { left: var(--sa-cur-l, 248px); top: var(--sa-cur-t, 73px); scale: 0.5; transform-origin: 0 0; }
    .sa-cur-hero__cursor > span {
        left: 14px; top: 14px; width: 98px; height: 28px; box-sizing: border-box;
        justify-content: center; gap: 4px; padding: 6px; border-radius: 6px;
        font-size: 13px; line-height: 1.3; letter-spacing: 0.13px; white-space: nowrap;
    }
    .sa-cur-hero__cursor > span img { flex-shrink: 0; }

    /* 학년/과목 탭 */
    .sa-cur-tabs { top: 40px; margin-top: -44px; padding-top: 12px; }
    .sa-cur-tabs.is-stuck { background: linear-gradient(var(--sa-dark), var(--sa-dark)) no-repeat 0 0 / 100% 44px; }
    /* 학년 탭 */
    .sa-cur-tabs__grade { width: 352px; height: 33px; }
    .sa-cur-tabs__grade-btn { width: 128px; height: 33px; }
    .sa-cur-tabs__grade-btn--kids { left: 0; }
    .sa-cur-tabs__grade-btn--elem { left: 112px; }
    .sa-cur-tabs__grade-btn--mid { left: 224px; }
    .sa-cur-tabs__grade-btn .is-off { left: 4px; width: 120px; height: 29px; }
    .sa-cur-tabs__grade-btn .is-on { left: 3.7px; width: 120.6px; height: 33px; }
    .sa-cur-tabs__grade-btn span,
    .sa-cur-tabs__grade-btn.is-active span { left: 13px; top: 7.5px; width: 102px; font-size: 13px; letter-spacing: -0.26px; transform: none; }
    /* 과목 띠 */
    .sa-cur-tabs__subject { justify-content: space-between; gap: 0; height: 41px; padding: 6px max(16px, calc(50% - 200px)) 0; }
    .sa-cur-tabs__subject::before { height: 42px; }
    .sa-cur-tabs__subject.is-collapsed { height: 20px; }
    .sa-cur-tabs__subject.is-collapsed::before { transform: scaleY(0.5); }
    .sa-cur-tabs__subject-btn,
    .sa-cur-tabs__subject-btn.is-active { padding: 6px 16px; font-size: 12px; line-height: 1.4; letter-spacing: -0.24px; }
    .sa-cur-tabs__subject-btn.is-active { color: var(--sa-cur-color); }

    /* 학습 영역 */
    .sa-cur-learn { position: relative; top: auto; gap: 24px; padding: 20px 0 32px; }
    .sa-cur-learn > .sa-canvas { left: 0; width: 100%; margin-left: 0; background: url(https://cache.wjthinkbig.com/WEB_RESOURCE/WJBOOKCLUB/images/OPENPAGE/202611/SALLCAMPAIGN/curriculum/bg_cur_learn_mo.svg) no-repeat 50% 0 / 100% auto; }
    .sa-cur-learn__bg { display: none; }
    /* 화면이 낮을 때 문구 숨김 */
    .sa-cur-learn.is-head-off { padding-top: 4px; }
    .sa-cur-learn.is-head-off .sa-cur-learn__head { display: none; }
    .sa-cur-learn__head { gap: 5px; width: 100%; padding: 0 16px; box-sizing: border-box; }
    .sa-cur-learn__std { gap: 2px; margin-bottom: 3px; color: #51575c; font-size: 11px; line-height: 1.5; letter-spacing: -0.22px; }
    .sa-cur-learn__std .sa-tooltip__btn img { width: 12px; height: 12px; }
    .sa-cur-learn__tit { font-size: 22px; line-height: 36.8px; letter-spacing: -0.44px; white-space: normal; word-break: keep-all; }
    .sa-cur-learn__tit mark { margin: 0; padding: 1px 4px; }
    .sa-cur-learn__tit-sep { display: block; height: 0; overflow: hidden; font-size: 0; }
    .sa-cur-learn__desc { font-size: 12px; line-height: 1.5; letter-spacing: -0.24px; word-break: keep-all; }
    /* 안내 툴팁 */
    .sa-tooltip__arrow { width: 14px; height: 6.7px; margin-top: 2px; }
    .sa-tooltip__txt { width: max-content; max-width: 220px; padding: 8px 12px; border-radius: 8px; font-size: 12px; letter-spacing: -0.24px; white-space: normal; word-break: keep-all; text-align: center; }

    /* 단계 탭 */
    .sa-cur-learn__body { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .sa-cur-steps {
        flex: none; flex-direction: row; align-self: stretch; gap: 20px; padding: 0 max(16px, calc(50% - 320px));
        overflow-x: auto; overflow-y: hidden; contain: none; scrollbar-width: none; -webkit-overflow-scrolling: touch;
        /* iOS Safari 는 가로 스크롤 영역 밖으로 나간 항목 버튼(absolute)을 그리지 않음 → 스크롤 영역을 버튼 줄까지 늘리고 밑줄은 배경으로 */
        padding-bottom: 49px; border-bottom: 0;
        background: linear-gradient(rgba(200, 200, 200, 0.44), rgba(200, 200, 200, 0.44)) left 0 bottom 48px / 100% 1px no-repeat;
    }
    .sa-cur-steps::-webkit-scrollbar { display: none; }
    .sa-cur-step,
    .sa-cur-step:first-child,
    .sa-cur-step:last-child { flex: 0 0 auto; padding: 0; border: 0; }
    .sa-cur-step__head {
        width: auto; padding: 12px 2px; border-bottom: 2px solid transparent;
        color: #a9abab; font-size: 14px; font-weight: 600; letter-spacing: -0.28px; white-space: nowrap;
    }
    .sa-cur-step.is-active .sa-cur-step__head,
    .sa-cur-step.is-open .sa-cur-step__head { border-bottom-color: #212529; color: #212529; font-weight: 700; }
    .sa-cur-step__toggle { display: none; }
    /* 항목 버튼 */
    .sa-cur-step__panel { position: absolute; left: 0; right: 0; top: 59px; display: block; transition: none; }
    .sa-cur-step:not(.is-open) .sa-cur-step__panel { display: none; }
    .sa-cur-step__clip { padding: 0 max(16px, calc(50% - 320px)); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
    .sa-cur-step__clip::-webkit-scrollbar { display: none; }
    .sa-cur-step__items { flex-direction: row; align-items: center; gap: 8px; width: max-content; padding-top: 0; }
    .sa-cur-step__item {
        width: auto; gap: 0; padding: 8px 10px; border: 1px solid #e4e4e4; border-radius: 6px; background: #fff;
        color: #787878; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: -0.24px; white-space: nowrap;
    }
    .sa-cur-step__item img,
    .sa-cur-step__items li + li .sa-cur-step__item::before { display: none; }
    .sa-cur-step__item.is-current { border-color: #2d3134; background: #2d3134; color: #fff; font-weight: 500; }

    /* 이미지 */
    .sa-cur-screen { width: calc(100% - 32px); max-width: 640px; margin: 13px auto 0; padding: 0; gap: 10px; overflow: visible; border-radius: 0; background: none; }
    .sa-cur-screen::after { display: none; }
    .sa-cur-screen__img { height: auto; aspect-ratio: 1060 / 668; border: 4px solid #141414; border-radius: 18px; background: #141414; touch-action: pan-y; }
    .sa-cur-scene img { left: 0; top: 0; width: 100%; height: 100%; }
    /* 장면 전환 : 좌우로 밀어 넘김 : 들어오는 장면과 나가는 장면만 움직이고, 나머지는 화면 밖에서 대기 */
    .sa-cur-scene { opacity: 1; transform: translate3d(100%, 0, 0); visibility: hidden; transition: none; }
    .sa-cur-scene.is-prev { transform: translate3d(-100%, 0, 0); }
    .sa-cur-scene.is-active,
    .sa-cur-scene.is-leave { visibility: visible; transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
    .sa-cur-scene.is-active { transform: none; }
    @media (prefers-reduced-motion: reduce) {
        .sa-cur-scene.is-active, .sa-cur-scene.is-leave { transition: none; }
    }
    /* 임시 이미지 자리 */
    .sa-cur-prev__bar { padding: 8px 12px; font-size: 9px; }
    .sa-cur-prev__copy { top: 28%; width: 60%; }
    .sa-cur-prev__ai { width: 30px; height: 22px; margin-bottom: 6px; border-radius: 6px; font-size: 12px; }
    .sa-cur-prev__copy p { font-size: 10px; }
    .sa-cur-prev__copy h3 { font-size: 20px; letter-spacing: -0.4px; }
    .sa-cur-prev__copy small,
    .sa-cur-prev__board { display: none; }
    .sa-cur-prev::before { width: 200px; }
    .sa-cur-prev::after { width: 140px; }
    /* 문구 */
    .sa-cur-screen__txt { gap: 2px; padding: 0 8px; }
    .sa-cur-screen__tit { color: #212529; font-size: 14px; font-weight: 800; letter-spacing: -0.28px; }
    .sa-cur-screen__desc { color: #51575c; font-size: 12px; line-height: 1.6; letter-spacing: -0.24px; word-break: keep-all; }
    /* 페이지 점 */
    .sa-cur-pager { position: static; flex-direction: row; justify-content: center; gap: 8px; margin-top: 20px; transform: none; }
    .sa-cur-pager__btn { width: 5px; height: 5px; transition: width 0.25s ease; }
    .sa-cur-pager__btn::before,
    .sa-cur-pager__btn.is-active::before { left: 0; top: 0; width: 100%; height: 5px; border: 0; border-radius: 30px; background: #a1a1a1; }
    .sa-cur-pager__btn.is-active { width: 17px; }
    .sa-cur-pager__btn.is-active::before { background: #181818; }
    .sa-cur-pager__btn:only-child { visibility: hidden; }
}
@keyframes sa-cur-selection-mo { from { width: 0; height: 0; opacity: 0; } 1% { opacity: 1; } to { width: var(--sa-sel-w, 137px); height: var(--sa-sel-h, 26px); opacity: 1; } }


/* FAQ */

/* [FAQ] 모바일 */
@media (max-width: 1023px) {
    .sa-qna { padding-bottom: 80px; }

    /* 상단 배경 */
    .sa-qna-search {
        height: auto; margin-top: 0; padding: 0 16px 22px;
        background-color: #f4f4f4;
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
        background-size: 43.6px 43.6px; background-position: 27px 21.4px;
    }
    .sa-qna-search .sa-canvas { display: none; }
    .sa-qna-search__inner { padding-top: 26px; }
    /* 제목 */
    .sa-qna-search__tit { gap: 0.534722em; font-size: 18px; font-weight: 700; line-height: 25px; letter-spacing: 0; transform: none; }
    .sa-qna-search__tit-brand { width: 3.555556em; }
    .sa-qna-search__tit-frame { width: 2.222222em; }
    /* FAQ 선택박스 */
    .sa-qna-search__tit-frame img { left: -0.486111em; top: 0.041667em; width: 3.166667em; height: 1.375em; }
    /* 설명 */
    .sa-qna-search__desc { max-width: none; margin-top: 13px; font-size: 12px; line-height: 18px; letter-spacing: -0.24px; }
    /* 검색 */
    .sa-qna-search__form { width: 100%; max-width: 640px; height: 48px; margin-top: 20px; padding: 0 52px 0 20px; }
    .sa-qna-search__input { font-size: 13px; line-height: 21px; letter-spacing: -0.52px; }
    .sa-qna-search__submit { top: 12px; right: 16px; width: 24px; height: 24px; }
    .sa-qna-search__submit img { width: 24px; }
    /* 분류 필터 */
    .sa-qna-cate {
        align-self: stretch; justify-content: flex-start; gap: 6px; width: auto; margin: 16px -16px 0; padding: 0 16px;
        overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .sa-qna-cate::-webkit-scrollbar { display: none; }
    .sa-qna-cate__btn { flex: 0 0 auto; height: 34px; padding: 0 14px; line-height: 22px; }

    /* 목록 */
    .sa-qna-board { width: auto; padding: 0 20px; }
    .sa-qna-board__total { font-size: 13px; letter-spacing: -0.26px; }
    .sa-qna-item__q { position: relative; flex-direction: column; align-items: flex-start; gap: 3px; padding: 16px 32px 18px 0; }
    .sa-qna-item__subject { order: 1; display: block; margin: 0; padding: 0; color: var(--sa-gr900); font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: -0.32px; }
    .sa-qna-item.is-open .sa-qna-item__subject { font-size: 16px; letter-spacing: -0.32px; }
    .sa-qna-item__subject .sa-qna-item__mark { display: none; }
    .sa-qna-item__cate { order: 2; flex: none; font-size: 13px; line-height: 18px; letter-spacing: -0.26px; text-align: left; }
    .sa-qna-item__arrow { position: absolute; top: 50%; right: 0; flex: none; margin-top: -10px; }
    .sa-qna-item__arrow img { width: 20px; height: 20px; }
    /* 답변 */
    .sa-qna-item__a { gap: 8px; margin: 0 -20px; padding: 16px 20px; font-size: 14px; line-height: 1.6; letter-spacing: -0.28px; }
    .sa-qna-item__a .sa-qna-item__mark { font-size: 16px; line-height: 1.4; }
    .sa-qna-empty { padding: 60px 0; font-size: 14px; }
    .sa-qna-pagination { margin-top: 32px; }
}

/* [FAQ] 태블릿 (768 ~ 1023px) - 상단 영역을 화면 폭에 맞춰 축소 */
@media (min-width: 768px) and (max-width: 1023px) {
    .sa-qna-search { padding-bottom: calc(22px + 10 * (100vw - 768px) / 256); }
    .sa-qna-search__inner { padding-top: calc(26px + 14 * (100vw - 768px) / 256); }
    .sa-qna-search__tit {
        gap: 0.6em;
        font-size: calc(18px + 30 * (100vw - 768px) / 256); font-weight: 800;
        line-height: 1.396; letter-spacing: -0.02em;
    }
    .sa-qna-search__desc .sa-mo-br { display: none; }
    .sa-qna-search__desc { max-width: none; font-size: calc(12px + 4 * (100vw - 768px) / 256); line-height: 1.6; }
    .sa-qna-search__form {
        max-width: calc(640px + 160 * (100vw - 768px) / 256);
        height: calc(48px + 32 * (100vw - 768px) / 256);
        margin-top: calc(20px + 26 * (100vw - 768px) / 256);
        padding: 0 calc(52px + 48 * (100vw - 768px) / 256) 0 calc(20px + 20 * (100vw - 768px) / 256);
    }
    .sa-qna-search__input { font-size: calc(13px + 10.333 * (100vw - 768px) / 256); line-height: 1.3; }
    .sa-qna-search__submit,
    .sa-qna-search__submit img { width: calc(24px + 16 * (100vw - 768px) / 256); height: calc(24px + 16 * (100vw - 768px) / 256); }
    .sa-qna-search__submit { top: 50%; right: calc(16px + 24 * (100vw - 768px) / 256); transform: translateY(-50%); }
    .sa-qna-cate {
        align-self: center; justify-content: center; width: auto; margin: calc(16px + 24 * (100vw - 768px) / 256) 0 0; padding: 0;
        gap: calc(6px + 6 * (100vw - 768px) / 256);
    }
    .sa-qna-cate__btn { height: calc(34px + 6 * (100vw - 768px) / 256); padding: 0 calc(14px + 2 * (100vw - 768px) / 256); }
}

/* PC 좁은 화면 (1024 ~ 1919px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .sa-wrap { min-width: 0; }
    .sa-qna-board { width: calc(100% - 80px); }
    .sa-cam-way__list { zoom: 0.8; }
}
/* 커리큘럼 학습 영역 폭 맞춤 */
@media (min-width: 1024px) and (max-width: 1381px) {
    .sa-cur-learn__body { width: calc(100% - 162px); }
    .sa-cur-screen { flex: 1 1 0; width: auto; min-width: 0; }
    .sa-cur-screen__img { height: auto; aspect-ratio: 862 / 538; }
    .sa-cur-scene img { left: -0.812%; top: -0.186%; width: 100.812%; height: 101.115%; }
    .sa-cur-pager { left: calc(100% + 42px); }
}
