html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
	background: #dcefea;
	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;
}

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

.mlink01 { top: 46.0%; }
.mlink02 { top: 54.8%; }
.mlink03 { top: 63.5%; }
.mlink04 { top: 72.2%; }

.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: 34.30%;
	left: 18.43%;
	width: 45.56%;
	height: 3.19%;
	box-sizing: border-box;
	padding: 0 2.2%;
	border: 0;
	outline: 0;
	background: #fff;
	color: #355d4d;
	font-size: 3.5vw;
	font-weight: 500;
	text-align: left;
	z-index: 20;
}

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

.seat_button {
	position: absolute;
	top: 34.12%;
	left: 65.74%;
	width: 16.02%;
	height: 3.51%;
	cursor: pointer;
	z-index: 21;
}

#seats img {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	z-index: 10;
	pointer-events: none;
}

#seat_result_label {
	position: absolute;
	top: 38.25%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 22;
	display: none;
	padding: .45em 1.1em;
	border-radius: 999px;
	background: rgba(15, 126, 75, .92);
	color: #fff;
	font-size: 3.2vw;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 3px 10px rgba(0,0,0,.18);
}

/* 동명이인 소속 선택 레이어 */
.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: #175c3f;
}

.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 #80b79f;
	background: #f3faf7;
	color: #164f38;
	font-weight: 700;
}

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

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

/* 오시는 길 지도 버튼 클릭 영역 */
.map-link {
    position: absolute;
    top: 29.5%;
    height: 1.35%;
    z-index: 15;
    cursor: pointer;
}

.map-link.naver { left: 25.7%; width: 16.2%; }
.map-link.kakao { left: 45.2%; width: 16.2%; }
.map-link.tmap  { left: 64.6%; width: 10.2%; }

/* 오시는 길 갤러리 */
.galleryxy {
	position: absolute;
	top: 59.92%;
	left: 50%;
	transform: translateX(-50%);
	width: 78.0%;
	height: auto;
	z-index: 8;
}

.rslides {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: 100%;
	padding: 0;
	margin: 0;
}

.rslides li {
	-webkit-backface-visibility: hidden;
	position: absolute;
	display: none;
	width: 100%;
	left: 0;
	top: 0;
}

.rslides li:first-child {
	position: relative;
	display: block;
	float: left;
}

.rslides img {
	display: block;
	float: left;
	width: 100%;
	height: auto;
	border: 0;
}

.large-btns_nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	z-index: 20;
	width: 32px;
	height: 50px;
	overflow: hidden;
	text-indent: -9999px;
	background: rgba(0,0,0,.38) url(themes.gif) no-repeat left 50%;
	opacity: .72;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.large-btns_nav.next {
	left: auto;
	right: 0;
	background-position: right 50%;
}

.large-btns_nav:active {
	opacity: 1;
}

.large-btns_tabs {
	display: none;
}

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

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


/* 우측 상단 배경음악 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(21, 92, 63, .88);
	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);
}
