@charset "utf-8";
/* ==========================================================================
   스마일라인치과 사이트 공통 레이아웃 (헤더 / 푸터 / 디자인 토큰)
   - headHtml.jsp 에서 전 페이지 로드 → 헤더·푸터가 모든 페이지에서 동일하게 렌더
   - 페이지별 섹션 스타일은 www/css/{모듈}.css 로 분리 (publish.md 3.4)
   - 공유 CSS(basic/board/layout/content) 는 수정하지 않는다
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 디자인 토큰
   -------------------------------------------------------------------------- */
:root {
	--sl-orange: #e8622c;          /* Flamingo      - 메인 포인트 */
	--sl-orange-dark: #b84a1e;     /* Orange Roughy - 서브 라벨 */
	--sl-dark: #2b2b28;            /* Tuatara       - 본문/푸터 */
	--sl-cream: #faf7f2;           /* Merino        - 섹션 배경 */
	--sl-brown: #b6826c;           /* 상담 박스 배경 */
	--sl-header-h: 83px;

	/* ── 콘텐츠 폭 기준 ────────────────────────────────────────────
	   헤더/푸터는 (--sl-shell 폭 + 좌우 --sl-gutter) 구조이고, 그 안쪽 콘텐츠 폭이
	   1680 - 120*2 = 1440px 이다. 페이지 섹션의 컨테이너는 이 --sl-container 를 써서
	   넓은 화면에서 헤더와 같은 좌우 라인에 서게 한다.
	   (섹션 자체의 좌우 padding 은 페이지마다 다르지만, 그보다 컨테이너가 좁으면
	    margin:0 auto 로 중앙에 서므로 라인이 일치한다) */
	--sl-shell: 1680px;
	--sl-gutter: 120px;
	--sl-container: 1440px;

	/* ── 타이포 기준 ──────────────────────────────────────────────
	   본문(길게 읽는 문단) 크기 = PC 16px / 모바일 14px.
	   이 사이트의 모든 글자 크기는 이 값을 기준으로 상대적으로 정한다.
	     0.75x = 12px (날짜·태그 등 메타)   0.875x = 14px (버튼·링크)
	     1x    = 16px (본문)                1.5x   = 24px (카드 제목)
	     2.25x = 36px (섹션 제목)           2.75x  = 44px (대제목)
	   본문에는 반드시 var(--sl-text) 를 쓴다. 모바일 축소는 아래 미디어쿼리에서
	   이 토큰 하나만 바꿔 전 페이지에 한 번에 반영한다. */
	--sl-text: 16px;
}

/* 모바일에서는 본문을 14px 로 줄인다 (var(--sl-text) 를 쓰는 모든 문단이 함께 작아진다) */
@media (max-width: 640px) {
	:root { --sl-text: 14px; }
}

/* --------------------------------------------------------------------------
   2. 공통 베이스
   -------------------------------------------------------------------------- */
.sl-body {
	font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
	color: var(--sl-dark);
	letter-spacing: -0.02em;
}
.sl-body img { max-width: 100%; }

/* 헤더가 fixed 이므로 본문을 헤더 높이만큼 내린다 (히어로가 있는 메인은 sl-body--hero 로 해제) */
.sl-body { padding-top: var(--sl-header-h); }
.sl-body--hero { padding-top: 0; }

/* 전 페이지 공통 콘텐츠 컨테이너 — 헤더/푸터와 같은 라인.
   box-sizing:border-box 라 max-width 안에 padding 이 포함된다 → 좌우 20px 씩 더 줘야
   안쪽 콘텐츠가 정확히 --sl-container(=헤더 콘텐츠 폭) 가 된다. */
.sl-inner {
	width: 100%;
	max-width: calc(var(--sl-container) + 40px);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* 섹션 라벨 (Why Smileline / Director / Patient Review …)
   ※ 전 페이지 섹션 헤드의 기준값 — PC 13px / 1024 이하 12px.
     페이지 전용 라벨 클래스(.sl-dt-team__label 등)도 이 값에 맞춘다. */
.sl-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2.6px;
	text-transform: uppercase;
	color: var(--sl-orange-dark);
	margin: 0;
}
/* 섹션 제목
   ※ 전 페이지 섹션 헤드의 기준값 — PC 36px / 1024 이하 26px / 640 이하 22px.
     페이지 전용 제목 클래스(.sl-wt__title, .sl-lc__title 등)도 이 값에 맞춘다. */
.sl-title {
	font-size: 36px;
	font-weight: 700;
	color: var(--sl-dark);
	margin: 16px 0 0;
	line-height: 1.3;
}
.sl-head-center { text-align: center; }

/* 주황 버튼
   ※ basic.css 17행의 `a:link{color:inherit}` 는 특이도가 (0,0,1,1) 이라
     클래스 하나짜리 `.sl-btn`(0,0,1,0) 을 이겨 글자색이 부모색(검정)으로 상속된다.
     :link/:visited 를 함께 지정해 특이도를 (0,0,2,0) 으로 올려 흰색을 확정한다. */
.sl-btn,
.sl-btn:link,
.sl-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sl-orange);
	color: #fff;
	font-weight: 700;
	border-radius: 8px;
	padding: 12px 26px;
	text-decoration: none;
	transition: background .2s ease;
	box-sizing: border-box;
}
.sl-btn:hover,
.sl-btn:focus,
.sl-btn:active { background: var(--sl-orange-dark); color: #fff; text-decoration: none; }

/* --------------------------------------------------------------------------
   2-1. 스크롤 리빌 애니메이션 (아래에서 위로 떠오르며 등장)
        - .sl-reveal        : 개별 요소
        - .sl-reveal-group  : 자식들을 순차(stagger) 등장시킬 컨테이너
        - is-in 클래스는 /js/site_common.js 의 IntersectionObserver 가 부여
   -------------------------------------------------------------------------- */
/* 숨김 상태는 .js-reveal 스코프 안에서만 적용된다.
   이 클래스는 site_common.js 가 <html> 에 즉시 부여하므로,
   JS 차단·스크립트 오류 시에는 콘텐츠가 그대로 보인다(콘텐츠 실종 방지). */
.js-reveal .sl-reveal,
.js-reveal .sl-reveal-group > * {
	opacity: 0;
	transform: translateY(60px);
	transition: opacity .9s cubic-bezier(.22,.61,.36,1),
	            transform .9s cubic-bezier(.22,.61,.36,1);
	will-change: opacity, transform;
}
.js-reveal .sl-reveal.is-in,
.js-reveal .sl-reveal-group > *.is-in {
	opacity: 1;
	transform: translateY(0);
	will-change: auto;
}

/* 모션 최소화 설정을 켠 사용자는 애니메이션 없이 즉시 표시 */
@media (prefers-reduced-motion: reduce) {
	.js-reveal .sl-reveal,
	.js-reveal .sl-reveal-group > * {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* 모바일은 전 페이지 리빌 애니메이션 없이 처음부터 그대로 보여 준다.
   (PC·태블릿은 위 기본 규칙 그대로 유지) */
@media (max-width: 640px) {
	.js-reveal .sl-reveal,
	.js-reveal .sl-reveal-group > * {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* 화면 폭에 따라 살리고 죽이는 줄바꿈 (전 페이지 공통 유틸)
   같은 문장이라도 PC 와 모바일에서 끊어야 할 자리가 다를 때 <br> 두 개를 나눠 쓴다 */
.sl-br-mo { display: none; }
.sl-br-pc { display: inline; }
@media (max-width: 640px) {
	.sl-br-mo { display: inline; }
	.sl-br-pc { display: none; }
}

/* --------------------------------------------------------------------------
   3. 헤더 (include/header.jsp)
   -------------------------------------------------------------------------- */
#sl-header {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: var(--sl-header-h);
	background: #fff;
	z-index: 1000;
	box-sizing: border-box;
	transition: box-shadow .25s ease;
}
#sl-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.08); }

#sl-header .sl-header-inner {
	max-width: var(--sl-shell);
	height: 100%;
	margin: 0 auto;
	padding: 0 var(--sl-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}

/* 로고 */
.sl-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
/* 가로형 로고 → 높이 기준으로 키우고 가로는 비율대로 */
.sl-logo__img { height: 54px; width: auto; max-width: none; object-fit: contain; display: block; }

/* GNB */
.sl-gnb { display: flex; align-items: center; gap: 100px; margin: 0; padding: 0; list-style: none; }
.sl-gnb > li > a {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
	padding: 4px 0;
}
.sl-gnb > li > a::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 2px;
	background: var(--sl-orange);
	transition: width .25s ease;
}
.sl-gnb > li > a:hover { color: var(--sl-orange); text-decoration: none; }
.sl-gnb > li > a:hover::after { width: 100%; }

/* 현재 위치 메뉴 */
.sl-gnb > li.is-active > a { color: var(--sl-orange-dark); }

/* GNB 2depth (스마일라인소개 등)
   li 를 헤더 높이만큼 늘려 1depth ↔ 드롭다운 사이에 마우스가 빠지지 않게 한다 */
.sl-gnb > li {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--sl-header-h);
}
.sl-gnb__sub {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 200px;
	margin: 0;
	padding: 8px 0 14px;
	list-style: none;
	background: #fff;
	border-top: 1px solid rgba(43,43,40,.08);
	box-shadow: 0 12px 24px rgba(0,0,0,.06);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	max-height: 0;
	transition: opacity .22s ease, max-height .28s ease;
}
.sl-gnb > li.has-sub:hover .sl-gnb__sub,
.sl-gnb > li.has-sub:focus-within .sl-gnb__sub {
	opacity: 1;
	visibility: visible;
	max-height: 360px;
}
.sl-gnb__sub > li > a,
.sl-gnb__sub > li > a:link,
.sl-gnb__sub > li > a:visited {
	display: block;
	padding: 11px 26px;
	font-size: 15px;
	font-weight: 500;
	color: rgba(43,43,40,.75);
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	transition: color .2s ease;
}
.sl-gnb__sub > li > a:hover,
.sl-gnb__sub > li > a.is-active { color: var(--sl-orange); text-decoration: none; }

/* 헤더 우측 유틸 묶음 : 로그인/회원가입 + 상담예약.
   .sl-header-inner 가 space-between 이라 버튼을 형제로 두면 로고/GNB 사이 간격까지
   같이 벌어진다 → 두 버튼을 한 묶음으로 감싸 오른쪽 끝에 붙여 둔다 */
.sl-header-util {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.sl-header-cta { font-size: 14px; }

/* 상담예약(주황 채움) 옆의 보조 버튼이므로 테두리형으로 위계를 낮춘다.
   .sl-btn 의 padding(12px 26px)에서 테두리 1px 만큼 뺀 11px 로 두 버튼 높이를 맞춘다 */
.sl-header-login,
.sl-header-login:link,
.sl-header-login:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border: 1px solid rgba(43, 43, 40, .22);
	border-radius: 8px;
	background: #fff;
	color: var(--sl-dark);
	font-size: 14px;   /* 상담예약(.sl-header-cta)과 같은 크기 */
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color .2s ease, color .2s ease;
}
.sl-header-login:hover,
.sl-header-login:focus,
.sl-header-login:active {
	border-color: var(--sl-orange);
	color: var(--sl-orange-dark);
	text-decoration: none;
}

/* 모바일 햄버거 */
.sl-m-btn { display: none; width: 30px; height: 22px; position: relative; cursor: pointer; border: 0; background: none; padding: 0; }
.sl-m-btn i { display: block; position: absolute; left: 0; width: 100%; height: 2px; background: var(--sl-dark); transition: all .25s ease; }
.sl-m-btn i:nth-child(1) { top: 0; }
.sl-m-btn i:nth-child(2) { top: 10px; }
.sl-m-btn i:nth-child(3) { top: 20px; }

/* --------------------------------------------------------------------------
   4. 모바일 메뉴
   -------------------------------------------------------------------------- */
.sl-m-bg {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.5);
	z-index: 1090;
}
#sl-m-menu {
	position: fixed;
	top: 0; right: -300px;
	width: 280px;
	height: 100%;
	background: #fff;
	z-index: 1100;
	transition: right .3s ease;
	overflow-y: auto;
	box-sizing: border-box;
}
#sl-m-menu.on { right: 0; }
#sl-m-menu .sl-m-top { display: flex; justify-content: flex-end; padding: 20px; }
#sl-m-menu .sl-m-close { width: 24px; height: 24px; position: relative; cursor: pointer; border: 0; background: none; padding: 0; }
#sl-m-menu .sl-m-close i { position: absolute; left: 0; top: 11px; width: 100%; height: 2px; background: var(--sl-dark); }
#sl-m-menu .sl-m-close i:nth-child(1) { transform: rotate(45deg); }
#sl-m-menu .sl-m-close i:nth-child(2) { transform: rotate(-45deg); }
#sl-m-menu > ul { list-style: none; margin: 0; padding: 0 20px; }
#sl-m-menu > ul > li { position: relative; }
#sl-m-menu > ul > li > a {
	display: block;
	padding: 16px 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--sl-dark);
	border-bottom: 1px solid rgba(43,43,40,.08);
	text-decoration: none;
}

/* 모바일 2depth 아코디언 */
#sl-m-menu .sl-m-toggle {
	position: absolute;
	top: 12px; right: 0;
	width: 32px; height: 32px;
	border: 0;
	background: none;
	cursor: pointer;
	padding: 0;
}
#sl-m-menu .sl-m-toggle::before,
#sl-m-menu .sl-m-toggle::after {
	content: '';
	position: absolute;
	left: 50%; top: 50%;
	width: 12px; height: 2px;
	margin: -1px 0 0 -6px;
	background: var(--sl-dark);
	transition: transform .25s ease;
}
#sl-m-menu .sl-m-toggle::after { transform: rotate(90deg); }
#sl-m-menu > ul > li.on .sl-m-toggle::after { transform: rotate(0deg); }

#sl-m-menu .sl-m-sub {
	display: none;
	list-style: none;
	margin: 0;
	padding: 6px 0 10px;
	background: var(--sl-cream);
}
#sl-m-menu .sl-m-sub > li > a {
	display: block;
	padding: 11px 16px;
	font-size: 15px;
	font-weight: 500;
	color: rgba(43,43,40,.75);
	text-decoration: none;
}
#sl-m-menu .sl-m-cta { margin: 24px 20px 0; }
#sl-m-menu .sl-m-cta .sl-btn { width: 100%; }

/* --------------------------------------------------------------------------
   4-1. 서브페이지 히어로 밴드 (이미지 + 왼쪽 카피)
        마크업:
          <section class="sl-subhero">
            <img class="sl-subhero__bg" ... />
            <div class="sl-subhero__inner"> …페이지별 카피… </div>
          </section>
        사진은 오른쪽에 두고 카피는 왼쪽 밝은 면 위에 얹는다. 그래서 어둡게 덮는 딤 대신
        왼쪽에서 오른쪽으로 옅어지는 흰 그라데이션을 깔아 글자가 읽히게 한다.
   -------------------------------------------------------------------------- */
/* 배경 사진이 세로형(3:4) 이라 480px 밴드를 폭까지 꽉 채우면 크게 확대된다 */
.sl-subhero {
	position: relative;
	width: 100%;
	height: 480px;
	overflow: hidden;
}
.sl-subhero__bg {
	position: absolute;
	/* 밴드 전체를 사진으로 채운다 (폭을 줄이면 왼쪽에 빈 자리가 생겨 경계가 드러난다) */
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 세로 사진이라 밴드에는 가운데 띠만 남는다.
	   center 로 두면 사인월 로고가 위로 잘려 나가므로 기준을 위쪽으로 올린다 */
	object-position: right 32%;
	display: block;
}
.sl-subhero::after {
	content: '';
	position: absolute;
	inset: 0;
	/* 하얀 딤드 효과 아주 살짝 미세 보강 */
	background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, .96) 30%, rgba(255, 255, 255, .72) 50%, rgba(255, 255, 255, .25) 70%, rgba(255, 255, 255, 0) 85%);
	pointer-events: none;
}
/* 카피는 가운데가 아니라 헤더 콘텐츠 폭의 왼쪽 끝에 맞춘다 */
.sl-subhero__inner {
	position: absolute;
	z-index: 1;
	top: 0; bottom: 0; left: 0; right: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 14px;
	max-width: calc(var(--sl-container) + 40px);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	text-align: left;
}
/* 밴드 안 기본 카피 (영문 라벨 + 메뉴명 + 한 줄 설명) */
.sl-subhero__eyebrow {
	font-family: 'Noto Serif KR', serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--sl-orange);
	letter-spacing: .6px;
	margin: 0;
}
.sl-subhero__title {
	font-family: 'Noto Serif KR', serif;
	font-size: 44px;
	font-weight: 600;
	color: var(--sl-dark);
	line-height: 1.3;
	letter-spacing: -.88px;
	margin: 0;
	word-break: keep-all;
}
.sl-subhero__title em {
	font-style: normal;
	color: var(--sl-orange-dark);
}
.sl-subhero__desc {
	font-size: var(--sl-text);   /* 본문 문단은 16px 기준 */
	line-height: 1.7;
	color: rgba(43, 43, 40, .62);
	margin: 0;
	word-break: keep-all;
	text-wrap: pretty;
}

@media (max-width: 1024px) {
	.sl-subhero { height: 360px; }
	.sl-subhero__inner { gap: 10px; }
	.sl-subhero__title { font-size: 30px; }
	/* 사진이 좁아지면 글자 뒤가 어두워질 수 있어 흰 면을 더 넓게 깐다 */
	.sl-subhero::after {
		background: linear-gradient(to right, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .3) 70%, rgba(255, 255, 255, 0) 88%);
	}
}

/* --------------------------------------------------------------------------
   4-2. 우하단 고정 바로가기 (include/footer.jsp)
        전 페이지에 항상 떠 있다 — 메인 전용이 아니므로 공통 CSS 에서 잡는다.
   -------------------------------------------------------------------------- */
/* 세로 위치는 화면을 4:6 으로 나눈 지점 — 가운데보다 살짝 위에 오게 둔다 */
.sl-sns {
	position: fixed;
	right: 20px;
	top: 40%;
	transform: translateY(-50%);
	background: rgba(232, 98, 44, .85);
	border-radius: 30px;
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	z-index: 900;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
}
.sl-sns a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	background: #fff;
	border-radius: 26px;
	transition: transform .2s ease;
}
.sl-sns a:hover { transform: scale(1.08); }
.sl-sns img { display: block; }
.sl-sns .ico-naver   { width: 21px; height: 21px; }
.sl-sns .ico-youtube { width: 27px; height: 27px; }
.sl-sns .ico-kakao   { width: 24px; height: 24px; }
.sl-sns .ico-blog    { width: 24px; height: 24px; }

@media (max-width: 1024px) {
	.sl-sns { right: 12px; gap: 10px; padding: 11px 8px; border-radius: 24px; }
	.sl-sns a { width: 42px; height: 42px; border-radius: 21px; }
	.sl-sns .ico-naver { width: 17px; height: 17px; }
	.sl-sns .ico-youtube { width: 22px; height: 22px; }
	.sl-sns .ico-kakao, .sl-sns .ico-blog { width: 19px; height: 19px; }
}
@media (max-width: 640px) {
	.sl-subhero__title { font-size: 26px; }
	.sl-subhero__eyebrow { font-size: 14px; }
	/* 좁은 화면에서는 카피가 밴드 전체 폭을 쓰므로 왼쪽만 짙게 깐 그라데이션이 맞지 않는다.
	   (왼쪽은 사진이 거의 안 보이고 오른쪽 글자는 배경에 묻힌다)
	   → 전체를 같은 농도로 덮되, 사진이 비치도록 지금보다 옅게 깐다 */
	.sl-subhero::after { background: rgba(255, 255, 255, .5); }
	/* 히어로 밴드 사진을 로고(사인월)가 지워진 모바일용 파일로 교체한다.
	   각 서브페이지 JSP 의 <img> 를 그대로 두고 배경으로 갈아 끼우는 방식이라
	   페이지를 한 곳도 수정하지 않는다. 원본 <img> 와 같은 cover / right center 로 깔아
	   보이는 범위는 그대로 유지한다 (두 파일의 비율 차이는 0.3% 로 눈에 띄지 않는다) */
	.sl-subhero { background: url("/img/herobg_m.png") no-repeat right center / cover; }
	.sl-subhero__bg { display: none; }

	/* 딤이 옅어진 만큼 사진 위 작은 글씨는 대비가 떨어진다 → 한 단계 진하게 */
	.sl-subhero__desc { color: rgba(43, 43, 40, .85); }
	.sl-subhero__eyebrow { color: var(--sl-orange-dark); }
}

/* --------------------------------------------------------------------------
   5. 푸터 (include/footer.jsp)
   -------------------------------------------------------------------------- */
/* 좌우 여백은 헤더와 똑같이 inner 가 담당한다 (섹션에는 좌우 padding 을 두지 않는다) */
#sl-footer {
	background: var(--sl-dark);
	padding: 50px 0;
	box-sizing: border-box;
}
#sl-footer .sl-footer-inner {
	max-width: var(--sl-shell);
	margin: 0 auto;
	padding: 0 var(--sl-gutter);
	box-sizing: border-box;
}
.sl-footer-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
	padding-bottom: 49px;
	border-bottom: 1px solid rgba(255,255,255,.12);
}
/* 상호 자리에 헤더와 같은 로고를 넣는다 (다크 배경용 흰색 판) */
.sl-footer-name { margin: 0 0 19px; line-height: 0; }
/* 헤더 로고와 같은 이미지·같은 높이 → 로고 안 글자 크기도 헤더와 똑같이 보인다 */
.sl-footer-logo { height: 54px; width: auto; max-width: none; object-fit: contain; display: block; }
.sl-footer-info { margin: 0; padding: 0; }
.sl-footer-info li {
	list-style: none;
	font-size: 14px;
	line-height: 23.8px;
	color: rgba(255,255,255,.6);
	margin-bottom: 7px;
}
.sl-footer-info li:last-child { margin-bottom: 0; }
.sl-footer-links { display: flex; gap: 48px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.sl-footer-links a,
.sl-footer-links a:link,
.sl-footer-links a:visited {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	opacity: .85;
	text-decoration: none;
	transition: opacity .2s ease;
}
.sl-footer-links a:hover { opacity: 1; text-decoration: underline; }
/* 오른쪽 열 : 바로가기(위) + 약관 링크(아래).
   왼쪽 회사정보와 같은 높이로 늘려서, 약관 줄이 마지막 정보 줄(TEL·사업자등록번호)과 같은 행에 놓이게 한다 */
.sl-footer-side { display: flex; flex-direction: column; align-self: stretch; flex-shrink: 0; }
.sl-footer-policy {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
}
.sl-footer-policy a,
.sl-footer-policy a:link,
.sl-footer-policy a:visited {
	font-size: 14px;
	line-height: 23.8px;
	color: rgba(255,255,255,.6);
	text-decoration: none;
	transition: color .2s ease;
}
.sl-footer-policy a:hover { color: #fff; text-decoration: underline; }
.sl-footer-copy {
	padding-top: 24px;
	font-size: 13px;
	color: rgba(255,255,255,.4);
	margin: 0;
}

/* --------------------------------------------------------------------------
   6. 반응형
   -------------------------------------------------------------------------- */
/* 좌우 여백은 --sl-gutter 하나만 바꾸면 헤더·푸터·전 페이지 컨테이너가 함께 따라온다 */
@media (max-width: 1680px) {
	:root { --sl-gutter: 40px; }
	.sl-gnb { gap: 46px; }
}

@media (max-width: 1200px) {
	.sl-gnb { gap: 28px; }
	.sl-gnb > li > a { font-size: 15px; }
}

@media (max-width: 1024px) {
	:root { --sl-header-h: 68px; --sl-gutter: 20px; }
	.sl-gnb { display: none; }
	/* 헤더의 상담예약 버튼은 숨기고 상담예약은 햄버거 메뉴 안의 버튼만 쓴다.
	   :link / :visited 까지 함께 지정해야 한다 — .sl-btn:link (0,0,2,0) 가
	   .sl-header-cta (0,0,1,0) 를 이겨 display:inline-flex 로 되살아나기 때문 */
	.sl-header-cta,
	.sl-header-cta:link,
	.sl-header-cta:visited { display: none; }
	/* 로그인/회원가입도 같이 숨긴다 (햄버거 메뉴 안의 버튼만 쓴다) */
	.sl-header-util { display: none; }
	.sl-m-btn { display: block; }
	.sl-logo__img { height: 42px; }
	/* 메뉴 안의 상담예약 버튼 글자 크기 */
	#sl-m-menu .sl-m-cta .sl-btn { font-size: 14px; }
	/* 햄버거 메뉴 안에서는 상담예약과 같은 폭으로 위에 쌓는다 */
	#sl-m-menu .sl-m-cta .sl-m-login { display: flex; width: 100%; margin-bottom: 10px; font-size: 14px; }

	#sl-footer { padding: 50px 0 30px; }
	.sl-footer-top { flex-direction: column; gap: 28px; padding-bottom: 28px; }
	.sl-footer-links { gap: 24px; }
	/* 세로로 쌓이는 폭이라 같은 행 정렬이 의미 없다 → 바로가기 아래에 왼쪽 정렬로 둔다 */
	.sl-footer-side { gap: 16px; }
	.sl-footer-policy { justify-content: flex-start; gap: 16px; margin: 0; }

	/* 섹션 헤드 공통 축소 (라벨/제목) */
	.sl-eyebrow { font-size: 12px; letter-spacing: 2.2px; }
	.sl-title { font-size: 26px; }
}

/* 섹션 제목 최종 축소 단계.
   위 @1024 블록보다 뒤에 두어야 한다 — 같은 특이도라 순서가 앞서면 26px 에 덮인다 */
@media (max-width: 640px) {
	.sl-title { font-size: 22px; }
}