html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	background: #e9f4df;
	font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

body {
	max-width: 800px;
	margin: 0 auto;
	background: #fff;
	overflow-x: hidden;
}

ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

img {
	display: block;
	width: 100%;
	height: auto;
	border: 0;
}

.imagemap {
	position: relative;
	width: 100%;
	height: auto;
}

#menu01,
#menu02,
#menu03,
#menu04 {
	display: none;
}

/* 메인 메뉴 클릭 영역 */
.mlink01,
.mlink02,
.mlink03,
.mlink04 {
	position: absolute;
	left: 7.5%;
	width: 85.1%;
	height: 6.42%;
	cursor: pointer;
	z-index: 5;
}

.mlink01 { top: 55.45%; }
.mlink02 { top: 64.42%; }
.mlink03 { top: 73.43%; }
.mlink04 { top: 82.44%; }

.gohome {
	position: fixed;
	top: 18px;
	left: max(10px, calc(50% - 390px));
	width: 42px;
	height: 42px;
	cursor: pointer;
	z-index: 100;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}

.gohome img {
	width: 100%;
	height: 100%;
}

/* 좌석 검색 */
#seat_number {
	position: absolute;
	top: 28.05%;
	left: 15.46%;
	width: 57.87%;
	height: 3.99%;
	box-sizing: border-box;
	padding: 0 2.6%;
	border: 1px solid #aaa5b5;
	border-radius: clamp(5px, 1vw, 10px);
	outline: 0;
	background: #fff;
	color: #174d78;
	font-size: clamp(13px, 2.6vw, 21px);
	font-weight: 500;
	text-align: left;
	z-index: 20;
}

#seat_number::placeholder {
	color: #777784;
	opacity: 1;
}

.seat_button {
	position: absolute;
	top: 28.10%;
	left: 73.89%;
	width: 10.74%;
	height: 3.88%;
	cursor: pointer;
	z-index: 21;
}

#seat_map_image {
	position: absolute;
	top: 42.1325%;
	left: 0;
	width: 100%;
	height: auto;
	z-index: 10;
	pointer-events: none;
}

#seat_result_label {
	position: absolute;
	top: 38.15%;
	left: 31.57%;
	z-index: 22;
	display: none;
	align-items: center;
	justify-content: center;
	width: 36.85%;
	height: 3.78%;
	box-sizing: border-box;
	border-radius: clamp(10px, 2vw, 20px) clamp(10px, 2vw, 20px) 0 0;
	background: #0186d1;
	color: #fff;
	font-size: clamp(13px, 2.8vw, 23px);
	font-weight: 700;
	white-space: nowrap;
}

body.modal-open {
	overflow: hidden;
}

/* 좌석 안내 준비중 레이어 팝업 */
.seat-notice-modal {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 36px 0;
	background: rgba(0, 0, 0, .5);
}

.seat-notice-modal.show {
	display: flex;
}

.seat-notice-dialog {
	position: relative;
	width: 80%;
	max-width: 640px;
}

.seat-notice-dialog > img {
	display: block;
	width: 100%;
	height: auto;
}

.seat-notice-close {
	position: absolute;
	top: -18px;
	right: -18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0 0 3px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
	color: #111;
	font-family: Arial, sans-serif;
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

/* 동명이인 소속 선택 레이어 */
.dept-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	background: rgba(0,0,0,.55);
	z-index: 9999;
}

.dept-modal.show {
	display: flex;
}

.dept-dialog {
	width: min(92vw, 520px);
	max-height: 78vh;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 24px 20px 20px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0,0,0,.28);
	text-align: center;
}

.dept-title {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: #0879bd;
}

.dept-desc {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.55;
	color: #555;
}

.dept-options {
	display: grid;
	gap: 9px;
}

.dept-option,
.dept-close {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 12px;
	border-radius: 10px;
	font-size: 16px;
	cursor: pointer;
}

.dept-option {
	border: 1px solid #8dc800;
	background: #f7fce9;
	color: #126da6;
	font-weight: 700;
}

.dept-option:active {
	background: #eef8ce;
}

.dept-close {
	margin-top: 12px;
	border: 0;
	background: #ededed;
	color: #555;
}

/* 장소명과 약도 전체를 누르면 지도 검색으로 이동 */
.venue-link {
	position: absolute;
	top: 30.5%;
	left: 5%;
	width: 90%;
	height: 39.5%;
	z-index: 15;
	cursor: pointer;
}

@media (min-width: 800px) {
	#seat_number {
		font-size: 21px;
	}

	#seat_result_label {
		font-size: 23px;
	}
}


/* 우측 상단 배경음악 ON/OFF */
.music-toggle {
	position: fixed;
	top: 18px;
	right: max(10px, calc(50% - 390px));
	z-index: 1000;
	min-width: 86px;
	height: 38px;
	padding: 0 13px;
	border: 1px solid rgba(255,255,255,.7);
	border-radius: 999px;
	background: rgba(1, 112, 182, .9);
	box-shadow: 0 2px 8px rgba(0,0,0,.22);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.music-toggle.is-off {
	background: rgba(70,70,70,.78);
}
