*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
	color: #fff;
	background: #000;
}

img {
	border: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

#wrap {
	min-width: 320px;
	overflow-x: hidden;
}

/* 상단 고정 메뉴 */
#header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	min-height: 72px;
	padding: 14px 40px;
	background: rgba(0, 0, 0, 0.72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.25s ease, box-shadow 0.25s ease;
}

#header.is-scrolled {
	background: rgba(0, 0, 0, 0.92);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

#header > p {
	flex: 0 0 auto;
	margin: 0;
	line-height: 0;
}

#header > p a {
	display: block;
}

#header > p img {
	display: block;
	width: 180px;
	height: auto;
}

#header > ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#header > ul li {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s ease;
}

#header > ul li:hover,
#header > ul li.is-active {
	color: #ffff54;
}

#container {
	padding-top: 72px;
	display: flex;
	flex-direction: column;
	gap: 0;
	line-height: 0;
	font-size: 0;
}

.section {
	position: relative;
	display: block;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
	overflow: hidden;
}

.section + .section {
	margin-top: -1px;
}

.section__inner {
	display: block;
	width: min(100%, 1921px);
	max-width: 1921px;
	margin: 0 auto;
	padding: 0;
	line-height: 0;
	font-size: 0;
}

.section__visual {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	vertical-align: top;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

/* main 영역 */
.section-main {
	background-color: #2d2dc8;
	position: relative;
	z-index: 1;
}

.section-main--hero {
	background-color: #000;
	background-image: url("../img/1bg.png");
	background-repeat: repeat-x;
	background-position: top center;
	background-size: auto 100%;
	z-index: 2;
}

.section-main--hero .section__visual {
	margin-bottom: -1px;
}

/* main_02: 라인 프레임 + 유튜브 */
.section-main--video .section__inner {
	position: relative;
}

.section-video {
	position: absolute;
	left: 50%;
	top: 58%;
	z-index: 3;
	width: 50.026%; /* 961 / 1921 */
	aspect-ratio: 961 / 541;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.section-video__player {
	position: absolute;
	inset: 5.5% 4.2%;
	overflow: hidden;
	background: #000;
	pointer-events: auto;
}

.section-video__player iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.section-video__line {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	mix-blend-mode: screen;
}

/* 09번: 01~08과 동일 배율 + 중앙 정렬 (2345/1921) */
.section-main--wide .section__inner {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	overflow: hidden;
}

.section-main--wide .section__visual {
	display: block;
	width: min(calc(min(100vw, 1921px) * 2345 / 1921), 2345px);
	max-width: none;
	height: auto;
	margin-left: 50%;
	transform: translateX(-50%);
}

@media (max-width: 1921px) {
	.section-main--wide .section__visual {
		width: calc(100vw * 2345 / 1921);
	}
}

/* main_09: 카카오맵 (왼쪽 흰 영역) — wrap을 중앙 정렬 */
.section-main--map .section-map-wrap {
	position: relative;
	width: min(calc(min(100vw, 1921px) * 2345 / 1921), 2345px);
	max-width: 2345px;
	margin-left: 50%;
	transform: translateX(-50%);
}

.section-main--map .section__visual {
	width: 100% !important;
	margin-left: 0 !important;
	transform: none !important;
}

.section-map {
	position: absolute;
	left: 22.56%;
	top: 9.26%;
	z-index: 3;
	width: 17.78%;
	height: 10.83%;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
}

.section-map__larger {
	position: absolute;
	right: 6px;
	bottom: 6px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	padding: 0 10px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.72);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	white-space: nowrap;
	text-decoration: none;
	transition: background 0.2s ease;
}

.section-map__larger:hover {
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
}

.section-map .root_daum_roughmap,
.section-map .root_daum_roughmap .wrap_map {
	width: 100% !important;
	height: 100% !important;
}

.section-map .root_daum_roughmap .wrap_map {
	border: 0 !important;
}

.section-map .root_daum_roughmap .wrap_controllers {
	display: none !important;
}

@media (max-width: 1921px) {
	.section-main--map .section-map-wrap {
		width: calc(100vw * 2345 / 1921);
	}
}

/* 모바일 이미지 확대 (라이트박스) */
.image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: stretch;
	justify-content: center;
}

.image-lightbox[hidden] {
	display: none;
}

.image-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
}

.image-lightbox__panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.image-lightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.image-lightbox__scroll {
	flex: 1;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	padding: 56px 0 20px;
}

.image-lightbox__img {
	display: block;
	width: auto;
	max-width: none;
	height: auto;
	margin: 0 auto;
}

body.is-lightbox-open {
	overflow: hidden;
}

@media (max-width: 768px) {
	.section__visual--zoomable {
		cursor: zoom-in;
	}

	.section__inner {
		position: relative;
	}

	.section__inner::after {
		content: "탭하여 확대";
		position: absolute;
		right: 10px;
		bottom: 10px;
		z-index: 2;
		padding: 4px 10px;
		font-size: 11px;
		font-weight: 600;
		line-height: 1.4;
		color: #fff;
		background: rgba(0, 0, 0, 0.55);
		border-radius: 999px;
		pointer-events: none;
	}

	.section-main--video .section__inner::after,
	.section-main--map .section__inner::after {
		display: none;
	}

	.section-video {
		width: 72%;
		top: 56%;
	}

	.section-map {
		border-radius: 10px;
	}

	.section-map__larger {
		right: 4px;
		bottom: 4px;
		height: 24px;
		padding: 0 8px;
		font-size: 11px;
	}
}

/* 우측 고정 SNS 퀵메뉴 */
.quick-menu {
	position: fixed;
	top: 50%;
	right: 24px;
	z-index: 900;
	transform: translateY(-50%);
}

.quick-menu__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 14px 12px;
	list-style: none;
	background: rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.quick-menu__list a {
	display: block;
	width: 48px;
	height: 48px;
	line-height: 0;
	border-radius: 50%;
	overflow: hidden;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.quick-menu__list a.quick-menu__link--x {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000;
}

.quick-menu__list a.quick-menu__link--x img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.quick-menu__list a:hover {
	transform: scale(1.08);
	opacity: 0.9;
}

.quick-menu__list img {
	display: block;
	width: 48px;
	height: 48px;
}

@media (max-width: 1024px) {
	#header {
		padding: 12px 24px;
	}

	#header > p img {
		width: 150px;
	}

	#header > ul {
		gap: 8px 18px;
	}

	#header > ul li {
		font-size: 14px;
	}

	.quick-menu {
		right: 16px;
	}

	.quick-menu__list {
		padding: 12px 10px;
		gap: 8px;
	}

	.quick-menu__list a,
	.quick-menu__list img,
	.quick-menu__list svg {
		width: 42px;
		height: 42px;
	}

	.quick-menu__list a.quick-menu__link--x img {
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 768px) {
	#header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		min-height: auto;
		padding: 12px 16px;
	}

	#container {
		padding-top: 112px;
	}

	#header > p img {
		width: 132px;
	}

	#header > ul {
		width: 100%;
		justify-content: flex-start;
		gap: 8px 14px;
	}

	#header > ul li {
		font-size: 13px;
	}

	.quick-menu {
		top: auto;
		bottom: 20px;
		right: 12px;
		transform: none;
	}

	.quick-menu__list {
		flex-direction: row;
		padding: 10px 12px;
		gap: 8px;
		border-radius: 999px;
	}

	.quick-menu__list a,
	.quick-menu__list img,
	.quick-menu__list svg {
		width: 38px;
		height: 38px;
	}

	.quick-menu__list a.quick-menu__link--x img {
		width: 24px;
		height: 24px;
	}
}
