/* include 공통 CSS */

/************************* 공통 시작*************************/
.inner {width: 100%; max-width:1600px; margin: 0 auto; }
.inner--fill {max-width:none; padding-right: calc((100% - 1600px) / 2); padding-left: calc((100% - 1600px) / 2);}
@media(max-width:1640px){
	.inner {padding: 0 4%;}
}
.inner-1200 {width:100%; max-width:1200px; margin:0 auto;}
@media(max-width:1240px){
	.inner-1200 {padding:0 4%;}
}
.inner-1760 {width:100%; max-width:1760px; margin:0 auto;}
@media(max-width:1800px){
	.inner-1760 {padding:0 4%;}
}

/* .sub-container: 템플릿 min-height 5rem(=500px) 제거 — 짧은 게시판 하단 빈공간. 하단 여백은 푸터 160이 담당 */

/* 서브 공통 비주얼 — Figma ABOUT Visual (장식 배경 + 160 타이틀) */
/* 장식 배경은 #wrap-sub에 — Figma처럼 블러 그라데이션이 비주얼(945) 아래 800px까지 번져 본문으로 이어짐 */
/* body에 깔아야 콘텐츠가 짧아도 번짐이 푸터 여백까지 이어져 끊김선이 안 생김 (푸터 배경 투명) */
body:has(#wrap-sub):not(:has(.sub-visual--brand)):not(:has(.svc-view)) {background:var(--white) url('img/sub_visual_bg_full.jpg') no-repeat center top / max(1920px, 100%) auto;}
@media(max-width:768px){
	body:has(#wrap-sub):not(:has(.sub-visual--brand)) {background-size:1200px auto;}
}
@media(max-width:500px){
	body:has(#wrap-sub):not(:has(.sub-visual--brand)) {background-size:900px auto;}
}
.sub-visual__body {padding:393px 0 392px;}
/* 서브 탭 이동 도착 시 — 스크롤 자리 잡기 전 본문 숨김 → 페이드인 (head.sub.php가 클래스 부여, js/common.js가 해제) */
#wrap-sub {transition:opacity .3s ease;}
.is-subtab-restore #wrap-sub {opacity:0; transition:none;}
.sub-visual__title {font-size:160px; font-weight:800; line-height:1; letter-spacing:-8px; text-align:center;}
/* 서브 제목 그라데이션 채움 — 메인 .main-visual__title과 같은 색·방식 (js/common.js fillTitle)
   기본 = 그라데이션(진남 --secondary → 보라 --third → 주황갈 --fifth), 채우기 전(.is-filling) = 원래 검정 --gray01
   좌우 여유 = |letter-spacing|(가운데 정렬 유지 위해 양쪽 같게), 아래 = 글자 크기 20%(아래꼬리) + 같은 값 음수 margin */
.sub-visual__line {display:grid; justify-content:center;}
.sub-visual__line > * {grid-area:1/1;}
.sub-visual__text {display:block; padding:0 8px 32px; margin-bottom:-32px; background:linear-gradient(100deg, var(--secondary) 0%, var(--third) 50%, var(--fifth) 100%) no-repeat; -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;}
.sub-visual__title.is-filling .sub-visual__line > .sub-visual__text {background:none; color:var(--gray01); -webkit-text-fill-color:var(--gray01);}
.sub-visual__fill {overflow-x:clip;} /* JS 생성 — 가로만 잘라 채움 */

/* brand 글보기 비주얼 — 어두운 배경 + 썸네일 로고 흰색 반전 (Figma 2714:1256) */
.sub-visual--brand {background:var(--gray01) url('img/brand_view_bg.jpg') no-repeat center / cover;}
.sub-visual__body.sub-visual__body--brand {display:flex; justify-content:center; align-items:center; min-height:945px; padding:0;} /* 이중 클래스 — 공통 .sub-visual__body 반응형 padding이 덮지 않도록 */
.sub-visual__body--brand .sub-visual__title {color:var(--white);}
.sub-visual__logo {width:314px; max-width:60%; height:auto; max-height:200px; object-fit:contain; filter:brightness(0) invert(1);} /* 시안: 로고 폭 314, 높이 비율(최대 200) */
/* 어두운 비주얼 위 헤더(스크롤 전·메뉴 미오픈)만 흰색 — 시안 EXCLUSION 반전 표현 */
body:has(.sub-visual--brand) .header__fix:not(.enter):not(.on) .header-navi__m-btn {color:var(--white);}
body:has(.sub-visual--brand) .header__fix:not(.enter):not(.on) .header-home__logo {filter:brightness(0) invert(1);}
body:has(.sub-visual--brand) .header__fix:not(.enter):not(.on) .header-drawer__line {background-color:var(--white);}
@media(max-width:1320px){
	.sub-visual__body.sub-visual__body--brand {min-height:760px;}
}
@media(max-width:1080px){
	.sub-visual__body.sub-visual__body--brand {min-height:600px;}
}
@media(max-width:768px){
	.sub-visual__body.sub-visual__body--brand {min-height:420px;}
	.sub-visual__logo {max-width:50%; max-height:140px;}
}

/* 서브 공통 — 라벨 / 섹션 제목 */
.sub-label {display:inline-flex; align-items:center; font-size:16px; font-weight:500; line-height:22px; letter-spacing:-0.5px;}
.sub-label__icon {width:12px; margin-right:8px;}
.sub-title {margin-top:20px; font-size:68px; font-weight:700; line-height:88px; letter-spacing:-2px;} /* Figma 88.4 텍스트박스 88 기준 */
.sub-title__point {color:var(--gray06);}
@media(max-width:1320px){
	.sub-visual__body {padding:320px 0 300px;} /* 비주얼 905→~740: 제목 아래 빈공간 축소 */
	.sub-visual__title {font-size:120px; letter-spacing:-6px;}
	.sub-visual__text {padding:0 6px 24px; margin-bottom:-24px;}
	.sub-title {font-size:56px; line-height:1.3;}
}
@media(max-width:1080px){
	.sub-visual__body {padding:280px 0 240px;}
	.sub-visual__title {font-size:96px; letter-spacing:-4px;}
	.sub-visual__text {padding:0 4px 19px; margin-bottom:-19px;}
	.sub-title {font-size:48px; letter-spacing:-1.5px;}
}
@media(max-width:768px){
	.sub-visual__body {padding:200px 0 140px;}
	.sub-visual__title {font-size:64px; letter-spacing:-2.5px;}
	.sub-visual__text {padding:0 3px 13px; margin-bottom:-13px;}
	.sub-title {font-size:36px; letter-spacing:-1px;}
}
@media(max-width:500px){
	.sub-visual__body {padding:150px 0 100px;}
	.sub-visual__title {font-size:48px; letter-spacing:-1.5px;}
	.sub-visual__text {padding:0 2px 10px; margin-bottom:-10px;}
	.sub-title {font-size:30px;}
}
/************************* 공통 끝 *************************/

/************************* header_inc 시작*************************/
/* 고정 헤더 바 — Figma Header h80, 흰 20% + 배경 블러 20 */
.header__fix {position:fixed; left:0; top:0; z-index:100; width:100%; height:80px; background-color:var(--rgba01); backdrop-filter:blur(10px); --menu-height:0; transition:0.15s ease-in-out all;}
.header__fix:after {position:absolute; content:''; top:100%; left:0; z-index:-1; width:100%; height:var(--menu-height); background-color:var(--white); transition:0.15s ease-in-out all;}
.header__body {display:grid; grid-template-columns:1fr auto 1fr; align-items:center; height:80px;} /* 고정 바 높이 — navi/드롭메뉴 height:inherit 체인의 기준 */
.header-home {justify-self:start;}
.header__ctrl {display:flex; justify-content:flex-end; align-items:center; height:inherit;}

.header-home__logo {width:219px; transition:0.15s ease-in-out all;}

.header-contact {display:flex; justify-content:center; align-items:center; width:120px; min-height:48px; border-radius:500px; background-color:var(--white); font-size:16px; font-weight:700; line-height:1.4; letter-spacing:-0.5px; transition:0.15s ease-in-out all;}
.header-contact,
.header-contact:link,
.header-contact:visited {color:var(--gray01);}
@media(hover:hover){
	.header-contact:hover {background-color:var(--main-color); color:var(--white);}
}
.header__fix.on .header-contact {background-color:var(--gray05);}

.header-navi {position: relative; height: inherit; transition: .15s ease-in-out all;}
.header-navi__m-list {display: flex; height: inherit;}
.header-navi__m-item {height: inherit;}
.header-navi__m-item:last-child {margin-right: 0;}
.header-navi__m-btn {display: flex; align-items: center; height: inherit;}
.header-navi__m-item {position: relative;}
.header-navi__s-wrap {position: absolute; top: 100%; left: 50%; min-width: 150%; transform:translateX(-50%);}
.header-navi__s-list {transition: .15s ease-in-out all;}
.header-navi__s-btn {display: block;}
@media(max-width:1080px){
	.header-navi {display: none;}
}

/* 언어선택·로그인: 시안에 없어 마크업 제거 (2026-10-14) */

.header-drawer {display: none; position: relative; margin-left: 24px;}
.header-drawer__btn {position: relative; width: 20px; height: 14px; z-index: 0; transition:.15s ease-in-out all;}
.header-drawer__line {position: absolute; left: 0; width: 100%; height: 2px; background-color:var(--gray01); transition:.15s ease-in-out all;}
.header-drawer__line--top {top: 0;}
.header-drawer__line--middle {top: 50%; transform:translateY(-50%)}
.header-drawer__line--bottom {bottom: 0;}
@media(hover:hover){
	.header-drawer__btn:hover .header-drawer__line--top{left: -0.25em;}
	.header-drawer__btn:hover .header-drawer__line--middle{left: 0.25em;}
	.header-drawer__btn:hover .header-drawer__line--bottom{left: -0.125em;}
}
@media(max-width:1080px){	
	.header-drawer {display:block;}
}

/* .enter(스크롤)는 기본 블러 유지 — 흰 배경은 .on(메뉴 hover)에서만 (topmenu all1) */
.header__fix.enter .header-navi__m-btn {color: var(--main-black);}
.header__fix.enter .header-navi__m-btn--crt {color: var(--main-color);}
.header__fix.enter .header-navi__s-list {border-top:1px solid transparent; background-color:var(--white);}
.header__fix.enter.on .header-navi__s-list {border-top-color:var(--gray04);} /* 흰 배경이 패널 경계선(.header__fix.on:after, topmenu all1)을 가려서 목록에도 같은 선 */
.header__fix.enter .header-navi__s-btn {color: var(--main-black);}
.header__fix.enter .header-navi__s-btn--crt {color: var(--main-color);}
.header__fix.enter .header-navi__c-btn {color: var(--main-gray);}
.header__fix.enter .header-navi__c-btn--crt {color: var(--main-color);}
.header__fix.enter .header-drawer__line {background-color: var(--main-black);}

@media(max-width:1080px){
	.header__body {grid-template-columns:1fr auto;}
}
@media(max-width:768px){
	.header__fix,
	.header__body {height:64px;}
	.header-home__logo {width:154px;}
	.header-contact {width:96px; min-height:40px; font-size:14px;}
}
@media(max-width:500px){
	.header-home__logo {width:132px;}
	.header-contact {display:none;}
}

/************************* header_inc 끝*************************/

/************************* sub-dropdown 시작 *************************/
.drop-menu {border-bottom:1px solid var(--main-gray);}
.drop-menu__inner {display: flex; border-right:1px solid var(--main-gray); border-left:1px solid var(--main-gray);}
.drop-menu__home {display: inline-flex; min-width: 3em; min-height: 3em; height: inherit; justify-content: center; align-items: center;}
.drop-menu__icon {width: 1.75em;}
.drop-menu__wrap {position: relative; z-index: 0; border-left:1px solid var(--main-gray);}
.drop-menu__wrap:last-child {border-right:1px solid var(--main-gray); }
.drop-menu__btn {display: flex; justify-content: space-between; align-items: center; min-width:15em; height: 100%; padding:0 0.15rem; font-weight: 500; transition:.15s ease-in-out all;}
.drop-menu__tit {display: block; font-size: 1.125em;}
.drop-menu__arr {margin-left: 1.5em; width: 0.75em; transition:.15s ease-in-out all;}
.drop-menu__navi {position: absolute; top: 100%; left: -1px; z-index: 10; width:calc(100% + 2px);  height: 0; overflow: hidden;}
.drop-menu__list {background-color: #fff; border:1px solid var(--main-gray);}
.drop-menu__link {display: block; padding:0.5em 0.15rem; transition:.15s ease-in-out all;}
@media(hover:hover){
	.drop-menu__link:hover {background-color: var(--main-color); color: #fff;}
}

.drop-menu__btn.on {background-color: var(--main-color); color: #fff;}
.drop-menu__btn.on .drop-menu__arr {filter:brightness(0) invert(1); transform:rotate(180deg);}

/************************* dropdown 끝 *************************/
/************************* tabmenu 시작 *************************/
/* 2Depth 탭 — Figma Category: 흰 20% + 블러, 알약 (서브비주얼 하단 28) */
.sub-visual__body--tab {display:flex; flex-direction:column; align-items:center; padding-bottom:28px;}
.sub-tab {margin-top:294px;}
.sub-tab__list {display:flex; flex-wrap:wrap; justify-content:center; padding:16px 20px; border-radius:500px; background-color:var(--rgba01); backdrop-filter:blur(10px);}
.sub-tab__item {margin-right:8px;}
.sub-tab__item:last-child {margin-right:0;}
.sub-tab__link {display:block; padding:8px 20px; border-radius:500px; font-size:16px; font-weight:500; line-height:22px; letter-spacing:-0.5px; transition:.15s ease all;}
.sub-tab__link,
.sub-tab__link:link,
.sub-tab__link:visited {color:var(--gray01);}
.sub-tab__link--crt,
.sub-tab__link--crt:link,
.sub-tab__link--crt:visited {background-color:var(--secondary); font-weight:600; color:var(--white);}
@media(hover:hover){
	.sub-tab__link:not(.sub-tab__link--crt):hover {color:var(--main-color);}
}
@media(max-width:1320px){
	.sub-tab {margin-top:202px;} /* 비주얼 하단 300 = 탭 202 + 70 + 28 */
}
@media(max-width:1080px){
	.sub-tab {margin-top:160px;}
}
@media(max-width:768px){
	.sub-tab {margin-top:80px;}
	.sub-tab__list {padding:8px 10px;}
	.sub-tab__link {padding:8px 14px; font-size:15px;}
}
@media(max-width:500px){
	.sub-tab__item {margin-right:2px;}
	.sub-tab__link {padding:6px 10px; font-size:14px;}
}
/************************* sub-tabmenu 끝 *************************/

/************************* depth3 시작 *************************/
.depth3__list {display: flex; flex-flow: row wrap;}
.depth3__item {flex:1;}
.depth3__item:last-child {border:0;}
.depth3__btn {padding:1.5em 0.75em; width: 100%; height: 100%; display: flex; align-items: center;justify-content: center; border-bottom:2px solid var(--main-gray); transition:.15s ease all;}
.depth3__btn--crt {border-color:var(--main-color);}
@media(hover:hover){
	.depth3__btn:hover {border-color:var(--main-color);}
}
/************************* depth3 끝 *************************/


/************************* footer_inc 시작 *************************/
/* Figma Footer — 상단 160 여백 · 풀폭 1px 라인 · 본문 상하 60 */
.footer {padding:160px 0 0; font-size:16px; line-height:22px; letter-spacing:-0.5px;} /* Figma 16px 텍스트박스 22 기준 */
.footer__body {padding:59px 0 60px; border-top:1px solid var(--gray04);} /* 라인 1px 포함 60 */
.footer__top {display:flex; justify-content:space-between; align-items:flex-start;}
.footer__bottom {display:flex; justify-content:space-between; align-items:flex-end; margin-top:40px;}

.footer-home {display:inline-block;}
.footer-home__logo {width:219px;}

.footer-navi {display:flex;}
.footer-navi__link {margin-right:12px; font-weight:600; transition:.15s ease all;}
.footer-navi__link:last-child {margin-right:0;}
.footer-navi__link,
.footer-navi__link:link,
.footer-navi__link:visited {color:var(--gray02);}
.footer-navi__link--strong,
.footer-navi__link--strong:link,
.footer-navi__link--strong:visited {color:var(--gray01);}

.footer-info__row {display:flex; flex-wrap:wrap;}
.footer-info__row + .footer-info__row {margin-top:8px;}
.footer-info__item {display:flex; align-items:flex-start; margin-right:16px;}
.footer-info__item:last-child {margin-right:0;}
.footer-info__cate {min-width:15px; margin-right:8px; font-weight:600; text-align:center; color:var(--gray01);}
.footer-info__desc {font-weight:500; transition:.15s ease all;}
.footer-info__desc,
.footer-info__desc:link,
.footer-info__desc:visited {color:var(--gray02);}
.footer__cprt {font-weight:500; text-align:right; color:var(--gray03);}
@media(hover:hover){
	.footer-navi__link:hover,
	.footer-info__desc:hover {color:var(--main-color);}
}

@media(max-width:1080px){
	.footer__bottom {flex-direction:column; align-items:flex-start;}
	.footer__cprt {margin-top:20px; text-align:left;}
}
@media(max-width:768px){
	.footer {padding-top:80px; font-size:14px;}
	.footer__body {padding:39px 0 40px;}
	.footer-home__logo {width:154px;}
}
@media(max-width:500px){
	.footer__top {flex-direction:column;}
	.footer-navi {margin-top:16px;}
}

/************************* footer_inc 끝 *************************/
/************************* 퀵메뉴 (footer_inc) 시작 *************************/
/* 오른쪽 아래 고정 — 흰 세로 알약(사이트 카드 톤: --gray04 테두리 + 블러), 원형 아이콘(--gray05) + 라벨, 호버 시 아이콘 원 주황 + 아이콘 흰색 */
.quick {position:fixed; right:24px; bottom:24px; z-index:90;} /* 헤더(100)·드로어(110) 아래 */
.quick__list {padding:16px 8px; border:1px solid var(--gray04); border-radius:500px; background-color:var(--rgba06); backdrop-filter:blur(10px); box-shadow:var(--shadow-1);}
.quick__list li + li {margin-top:12px;}
.quick__link {display:flex; flex-direction:column; align-items:center; width:76px; text-align:center;}
.quick__icon {display:flex; justify-content:center; align-items:center; width:48px; height:48px; border-radius:500px; background-color:var(--gray05); transition:.2s ease background-color;}
.quick__icon img {width:24px; height:24px; transition:.2s ease filter;}
.quick__label {margin-top:6px; font-size:12px; font-weight:600; line-height:16px; letter-spacing:-0.5px; color:var(--secondary); transition:.2s ease color;}
.quick__toggle {display:none;} /* PC는 항상 펼침 */
@media(hover:hover){
	.quick__link:hover .quick__icon {background-color:var(--main-color);}
	.quick__link:hover .quick__icon img {filter:brightness(0) invert(1);}
	.quick__link:hover .quick__label {color:var(--main-color);}
}
@media(max-width:768px){
	.quick {display:flex; flex-direction:column-reverse; align-items:center; right:12px; bottom:12px;} /* 토글이 아래, 목록이 위로 펼침 */
	.quick__toggle {display:block; width:52px; height:52px; border-radius:500px; background:var(--main-color) url('img/ico_quick_open.svg') no-repeat center / 22px 22px; box-shadow:var(--shadow-1); appearance:none; cursor:pointer; transition:.2s ease background-color;}
	.quick__toggle:checked {background:var(--secondary) url('img/ico_quick_close.svg') no-repeat center / 22px 22px;}
	.quick__list {visibility:hidden; margin-bottom:8px; padding:6px; opacity:0; transform:translateY(12px); transition:.25s ease opacity, .25s ease transform, .25s ease visibility;} /* 모바일 = 아이콘만 (이름은 링크 aria-label) */
	.quick__toggle:checked ~ .quick__list {visibility:visible; opacity:1; transform:none;}
	.quick__list li + li {margin-top:6px;}
	.quick__link {width:auto;}
	.quick__icon {width:44px; height:44px;}
	.quick__icon img {width:22px; height:22px;}
	.quick__label {display:none;}
}
/************************* 퀵메뉴 끝 *************************/

/* Figma 줄맞춤 <br> — 반응형 첫 BP(트랙1 1640)부터 숨김. 색 구분 2줄 제목은 예외 */
@media(max-width:1640px){
	.main :not(.main-visual__title):not(.main-head__title):not(.main-contact__title) > br,
	#wrap-sub :not(.sub-title):not(.media-keyword__title) > br:not(.brand-view__content br) {display:none;} /* brand 글보기 에디터 본문 줄바꿈은 유지 */
}
/* 모바일 줄바꿈 다듬기 — 제목·라벨은 줄 길이 균등(balance), 본문은 마지막 줄 외톨이 단어 방지(pretty). :where()로 우선순위 0 → 개별 지정이 있으면 그쪽이 이김
   채움 애니메이션 제목(.main-visual__title·.sub-visual__title)은 줄 폭을 재서 복사본을 겹치므로 제외 */
@media(max-width:768px){
	:where(h1, h2, h3, h4, h5, dt, th, figcaption, [class*="__title"], [class*="__label"], [class*="__name"], [class*="__sub"], [class*="__item"]):not(.main-visual__title, .sub-visual__title, .main-visual__title *, .sub-visual__title *) {text-wrap:balance;}
	:where(p, dd, li, [class*="__desc"], [class*="__text"]):not(.main-visual__title *, .sub-visual__title *, [class*="__title"], [class*="__label"], [class*="__item"]) {text-wrap:pretty;}
}


/************************* split-text *************************/
.split-text__word {font-size: inherit;}
.split-text__letter {display: inline-block; font-size: inherit;}
.split-text--no-delay .split-text__letter {transition-delay:0s !important; animation-delay:0s !important;}