.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	z-index: var(--z-header);
	background: transparent;
	transition: background 0.3s ease;
}

.header.scrolled {
	background: rgba(13, 13, 13, 0.95);
	backdrop-filter: var(--blur-backdrop);
}

/* 개인정보처리방침: 헤더·로고 처음부터 시안대로 노출 */
.header--light {
	background: #FFFFFF;
}
.header--light.scrolled {
	background: #FFFFFF;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.header--light .gnb__list > li > a {
	color: #111111;
}
.header--light .gnb__list > li > a:hover {
	color: rgba(17, 17, 17, 0.7);
}
.header--light .allmenu-btn span {
	background: #111111;
}

/* Figma ☆header: 1920 기준 → 상대 단위(vw) + clamp로 스케일, PC(1920) 동일 유지 */
/* 50÷1920×100=2.6vw, 180÷1920×100=9.375vw, 36÷1920×100=1.875vw, 70÷1920×100=3.65vw, 20÷1920×100=1.04vw, 16÷1920×100=0.83vw */
.header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: var(--container-max);
	height: 100%;
	margin: 0 auto;
	padding: 0 clamp(24px, 2.6vw, 50px);
	box-sizing: border-box;
}

.header__logo {
	justify-self: start;
	margin: 0;
}

.header__logo a {
	display: block;
	margin: 0;
}

.header__logo img {
	width: clamp(120px, 9.375vw, 180px);
	height: clamp(24px, 1.875vw, 36px);
	object-fit: contain;
	object-position: left center;
	display: block;
	vertical-align: top;
}

.gnb {
	justify-self: center;
	display: flex;
	justify-content: center;
}

.gnb__list {
	display: flex;
	align-items: center;
}

.gnb__list > li {
	position: relative;
}

/* GNB: Figma 1920=16px/20px → 1520=12.67px/15.83px. clamp min 낮춰 1520에서 vw값 적용되도록 */
.gnb__list > li > a {
	display: flex;
	justify-content: center;
	align-items: center;
	height: clamp(48px, 3.65vw, 70px);
	padding: 0 clamp(10px, 1.04vw, 20px);
	font-family: var(--font-display);
	font-size: clamp(12px, 0.833vw, 16px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
	transition: color 0.3s ease;
	-webkit-font-smoothing: antialiased;
}

.gnb__list > li > a:hover {
	color: #FECF07;
}

.subDepth {
	position: absolute;
	top: clamp(60px, 3.9vw, 75px);
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	min-width: 140px;
}

.gnb__list > li:hover .subDepth {
	opacity: 1;
	visibility: visible;
}

.depth2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(10px, 0.78vw, 15px);
	padding: clamp(20px, 1.56vw, 30px) clamp(16px, 1.04vw, 20px);
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(15px);
	border-radius: 0;
}

.depth2 li a {
	display: block;
	font-family: var(--font-primary);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.3);
	white-space: nowrap;
	transition: color 0.3s ease;
}

.depth2 li a:hover {
	color: #FECF07;
}

.gnb__list > li:nth-child(2) .depth2 li a,
.gnb__list > li:nth-child(3) .depth2 li a {
	font-family: var(--font-display);
}

.allBox {
	justify-self: end;
	margin: 0;
}

.allmenu-btn a {
	display: flex;
	flex-direction: column;
	gap: clamp(4px, 0.31vw, 6px);
	padding: clamp(6px, 0.52vw, 10px);
}

.allmenu-btn span {
	display: block;
	width: clamp(18px, 1.25vw, 24px);
	height: 2px;
	background: var(--color-text-white);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

#allmenuBox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #0D0D0D;
	z-index: var(--z-allmenu);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 60px;
	padding: 0 50px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

#allmenuBox.active {
	opacity: 1;
	visibility: visible;
}

.allmenu__bg {
	position: absolute;
	top: 66px;
	left: 179px;
	width: 1563px;
	height: 805px;
	background: url('/img/common/allmenu_bg.svg') no-repeat center;
	opacity: 0.03;
	pointer-events: none;
}

.allmenu__menu {
	display: flex;
	justify-content: stretch;
	align-items: stretch;
}

.allmenu__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.allmenu__title {
	width: 100%;
	padding: 60px 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-align: center;
	color: #FFFFFF;
	border-bottom: 1px solid #FFFFFF;
}

.allmenu__depth {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 60px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.allmenu__depth a {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	text-align: center;
	color: rgba(255, 255, 255, 0.3);
	transition: color 0.3s ease;
}

.allmenu__depth a:hover {
	color: #FECF07;
}

.allmenu__col:nth-child(2) .allmenu__depth a,
.allmenu__col:nth-child(3) .allmenu__depth a {
	font-family: var(--font-display);
}

.allmenu__info {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.allmenu__copyright {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.allmenu__privacy {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
	transition: color 0.3s ease;
}

.allmenu__privacy:hover {
	color: #FECF07;
}

.allmenu__close {
	position: absolute;
	top: 27px;
	right: 50px;
	width: 20px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.allmenu__close span {
	position: absolute;
	width: 20px;
	height: 2px;
	background: #FFFFFF;
}

.allmenu__close span:first-child {
	transform: rotate(45deg);
}

.allmenu__close span:last-child {
	transform: rotate(-45deg);
}

/* 노트북 영역 GNB 폰트 20px (~1920px, 1024px 이하는 GNB 숨김) */
@media screen and (max-width: 1920px) {
	.gnb__list > li > a {
		font-size: 20px;
	}
}

@media screen and (max-width: 1440px) {
	#allmenuBox {
		padding: 0 40px;
	}
	.allmenu__title {
		font-size: 24px;
		padding: 44px 0 20px;
	}
	.allmenu__depth {
		gap: 14px;
	}
	.allmenu__depth a {
		font-size: 15px;
	}
	.footer__menu {
		gap: 44px;
	}
	.footer__col {
		width: calc(25% - 33px);
	}
}

@media screen and (max-width: 1280px) {
	#allmenuBox {
		padding: 0 30px;
	}
	
	.allmenu__title {
		font-size: 22px;
		padding: 40px 0;
	}
	
	.allmenu__depth {
		padding: 40px 0;
		gap: 12px;
	}
	
	.allmenu__depth a {
		font-size: 15px;
	}
}

@media screen and (max-width: 1024px) {
	#allmenuBox {
		padding: 80px 20px 40px;
		overflow-y: auto;
	}
	
	.allmenu__menu {
		flex-direction: column;
		gap: 0;
	}
	
	.allmenu__col {
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
	
	/* 1뎁스 메뉴: 크기·터치 영역 확대 */
	.allmenu__title {
		padding: 24px 0;
		font-size: 22px;
		border-bottom: none;
		cursor: pointer;
		min-height: 50px;
		display: flex;
		align-items: center;
	}
	
	.allmenu__depth {
		display: none;
		padding: 0 0 24px;
		border-bottom: none;
		gap: 0;
	}
	
	.allmenu__col.active .allmenu__depth {
		display: flex;
	}
	
	/* 2뎁스 메뉴: 클릭하기 쉽도록 글자·패딩 확대 */
	.allmenu__depth a {
		font-size: 18px;
		padding: 14px 0;
		min-height: 46px;
		display: flex;
		align-items: center;
	}
	
	.allmenu__info {
		flex-direction: column;
		gap: 15px;
		margin-top: auto;
		padding-top: 30px;
	}
	
	.allmenu__copyright,
	.allmenu__privacy {
		font-size: 13px;
	}
	
	.allmenu__close {
		top: 20px;
		right: 20px;
	}
	
	.allmenu__bg {
		display: none;
	}
}

.btn-quick {
	display: none;
}

/* ========================================
   Common Footer (메인/서브 공통)
   시안: 하단 라인은 컨텐츠 영역과 동일(좌우 여백)
======================================== */
.footer {
	background: #000000;
	padding: 0;
	border-top: none;
}

.footer__container {
	max-width: var(--container-max);
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

.footer__menu {
	display: flex;
	justify-content: stretch;
	padding: 118px 0 60px;
	border-bottom: 1px solid #FFFFFF;
}

.footer__col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.footer__depth {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__depth a {
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #AAAAAA;
	transition: color 0.3s ease;
}

.footer__depth a:hover {
	color: #FECF07;
}

.footer__info {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding: 60px 0 72px;
}

.footer__info-left {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer__info-row {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* TEL/FAX 래퍼: PC에서는 레이아웃 무변형(contents), 모바일에서만 한 줄용 */
.footer__info-tel-fax {
	display: contents;
}

.footer__info-label {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.footer__info-label--tel {
	font-family: var(--font-display);
}

.footer__info-value {
	font-family: var(--font-primary);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.footer__copyright {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}

.footer__privacy {
	font-family: var(--font-primary);
	font-weight: 600;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #FFFFFF;
	transition: color 0.3s ease;
}

.footer__privacy:hover {
	color: #FECF07;
}

/* Footer Responsive */
@media screen and (max-width: 1280px) {
	.footer__menu {
		flex-wrap: wrap;
		gap: 40px;
	}
	
	.footer__col {
		flex: none;
		width: calc(33.333% - 27px);
	}
	
	.gnb__list {
		gap: 30px;
	}
}

@media screen and (max-width: 1024px) {
	.footer__menu {
		padding: 80px 0 40px;
	}
	
	.footer__col {
		width: calc(50% - 20px);
	}
	
	.footer__info {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		padding: 40px 0;
	}
	
	.footer__info-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	
	.gnb {
		display: none;
	}
	
	/* 모바일: 로고 왼쪽, 햄버거 버튼 우측 정렬 */
	.header__inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
		grid-template-columns: unset;
	}
	
	.header__logo {
		justify-self: unset;
	}
	
	.allBox {
		justify-self: unset;
		margin-left: auto;
	}
	
	.header__logo img {
		height: 32px;
	}
}

/* 모바일 전용: 푸터 사이트맵 숨김 (노트북/PC 디자인 무변형) */
@media screen and (max-width: 640px) {
	.footer__menu {
		display: none;
	}
	
	.footer__col {
		width: 100%;
	}
	
	/* 모바일: 푸터 박스 상단과 대표자 박용석 간격 확보 */
	.footer__info {
		padding: 24px 0 10px;
	}
	
	.footer__title {
		font-size: 14px;
	}
	
	.footer__depth a {
		font-size: 13px;
	}
	
	.footer__info-label,
	.footer__info-value,
	.footer__copyright,
	.footer__privacy {
		font-size: 14px;
	}
	
	/* 모바일: 대표자 박용석 한 줄, 주소는 다음 줄부터 */
	.footer__info-row {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 4px 20px;
	}
	/* 주소(3번째 자식)부터 새 줄 */
	.footer__info-row > *:nth-child(3) {
		flex-basis: 100%;
		margin-top: 6px;
	}
	/* 640px 이하: 주소 B동부터 아랫줄로 */
	.footer__info-address-line2 {
		display: block;
		margin-top: 4px;
	}
	/* 주소 2열과 TEL 행 사이 여백 */
	.footer__info-tel-fax {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px 16px;
		width: 100%;
		margin-top: 12px;
	}
}

@media screen and (max-width: 480px) {
	.footer__menu {
		padding: 40px 0 24px;
		gap: 24px;
	}
	.footer__title {
		font-size: 13px;
	}
	.footer__depth a,
	.footer__info-label,
	.footer__info-value,
	.footer__copyright,
	.footer__privacy {
		font-size: 13px;
	}
	#allmenuBox {
		padding: 60px 15px 30px;
	}
	.allmenu__title {
		font-size: 18px;
		padding: 20px 0;
	}
	.allmenu__depth a {
		font-size: 16px;
		padding: 12px 0;
	}
	.header__logo img {
		height: 28px;
	}
}
