html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
	background: #eaf8ff;
}

body {
	max-width: 1080px;
	margin: 0 auto;
	font-family: Arial, 'Noto Sans KR', sans-serif;
}

main {
	width: 100%;
}

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

button {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
}

.imagemap {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	line-height: 0;
}

.menu-link,
.map-link {
	position: absolute;
	display: block;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mlink01,
.mlink02,
.mlink03,
.mlink04 {
	left: 18.888889%;
	width: 62.222222%;
	height: 5.862069%;
}

.mlink01 { top: 40.862069%; }
.mlink02 { top: 48.706897%; }
.mlink03 { top: 56.551724%; }
.mlink04 { top: 64.396552%; }

.utility-tools {
	position: fixed;
	top: 12px;
	top: calc(12px + env(safe-area-inset-top, 0px));
	right: 12px;
	right: calc(12px + env(safe-area-inset-right, 0px));
	z-index: 40;
	display: flex;
	gap: 8px;
	padding: 6px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 34px;
	background: rgba(21, 112, 171, 0.9);
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
}

.gohome,
.music_onoff {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	transition: transform 160ms ease, background-color 160ms ease;
}

.gohome img {
	width: 30px;
	height: auto;
}

.music_onoff img {
	width: 42px;
	height: 42px;
}

.gohome:active,
.music_onoff:active {
	transform: scale(0.92);
	background: rgba(255, 255, 255, 0.15);
}

.kakaomap {
	position: absolute;
	top: 36.687444%;
	left: 9.814815%;
	width: 80.185185%;
	height: 23.063224%;
	border-radius: 2.6% / 4.3%;
	overflow: hidden;
	line-height: normal;
}

.map-detail {
	top: 62.733749%;
	left: 32.962963%;
	width: 34.074074%;
	height: 2.582369%;
	border-radius: 999px;
}

[hidden] {
	display: none !important;
}

#map {
	width: 100%;
	height: 100%;
}

.map-fallback {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: block;
	background: transparent;
}

/* 카카오 지도 타일과 컨트롤은 초청장 이미지의 반응형 규칙에서 제외합니다. */
#map img {
	width: auto;
	max-width: none;
}

.menu-link {
	border-radius: 999px;
	transition: background-color 160ms ease, box-shadow 160ms ease;
	touch-action: manipulation;
}

.menu-link:active {
	background: rgba(0, 143, 214, 0.12);
	box-shadow: inset 0 0 0 3px rgba(238, 174, 48, 0.6);
}

button:focus-visible,
a:focus-visible {
	outline: 3px solid #efb238;
	outline-offset: 3px;
}

.imagemap:focus {
	outline: none;
}

.imagemap.is-active {
	animation: page-enter 180ms ease-out;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@keyframes page-enter {
	from { opacity: 0.65; }
	to { opacity: 1; }
}

@media (hover: hover) {
	.gohome:hover,
	.music_onoff:hover {
		background: rgba(255, 255, 255, 0.15);
	}
	.menu-link:hover {
		box-shadow: inset 0 0 0 3px rgba(238, 174, 48, 0.65);
	}
}

@media (prefers-reduced-motion: reduce) {
	.imagemap.is-active { animation: none; }
	.menu-link,
	.gohome,
	.music_onoff { transition: none; }
}
