body {

        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
		margin-bottom:0;
		padding:0 auto;
		margin:0 auto;
		/* background-image:url('https://inviteme.kr/bmf/images/bg.jpg'); */
		background-repeat:no-repeat;
		background-size:cover;
		background-color:#000;
		max-width:800px;
		width:100%;
		height:100%;
	}
ul{
		width:100%;
		list-style:none;
		padding:0;
		margin:0;
		z-index:0;
	}

img {
	width:100%;
	display:block;
}

input, select, option {margin:0;padding:0;border:0 none}

.imagemap {position:relative;width:100%;height:auto}

.mlink01 {
    position: absolute;
    top: 45.9%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 6.2%;
    cursor: pointer;
}

.mlink02 {
    position: absolute;
    top: 54.4%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 6.2%;
    cursor: pointer;
}

.mlink03 {
    position: absolute;
    top: 62.8%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 6.2%;
    cursor: pointer;
}

.mlink04 {
    position: absolute;
    top: 71%;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 6.2%;
    cursor: pointer;
}
	
/* ===== 안내 레이어 ===== */
.hint-modal{
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.55);
	z-index: 99999;
}
.hint-modal.show{ display: flex; }
.hint-dialog{
	width: min(90%, 520px);
	max-width: 520px;
	background: #fff;
	color: #111;
	border-radius: 14px;
	box-shadow: 0 20px 60px rgba(0,0,0,.35);
	padding: 24px 20px;
	text-align: center;
}
.hint-title{
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 10px;
	color: #222;
}
.hint-msg{
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	margin-bottom: 16px;
}
.hint-actions{ display: flex; justify-content: center; }
.hint-close-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: #10151b;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
	user-select: none;
}
.hint-close-btn:active{ transform: translateY(1px); }

.music_onoff {
    position: fixed;
    top: 70px;
    left: 10px;
    width: 10.5%;
    height: auto;
    cursor: pointer;
	max-width:50px;
	z-index:10;
	}
	
.gohome {
    position: fixed;
    top: 20px;
    left: 10px;
    width: 10.5%;
    height: auto;
    cursor: pointer;
	max-width:50px;
	z-index:15;
	}

.popup-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 100000;
}

.popup-overlay2 {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
}

.popup {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 500px;
	max-height: 90vh; /* 화면 높이의 90% 초과 금지 */
	background: #fff;
	padding: 20px;
	box-sizing: border-box;
	border-radius: 5px;
	overflow-y: auto; /* 스크롤 가능 */
	z-index: 10001;
}

/* 폼 내부 항목 스타일 */
.popup form .form-group {
	margin-bottom: 14px;
	font-size:14px;
}

.popup form input, select, option {
	border-bottom:1px solid #EAEAEA;
	width: calc(100% - 120px);
	padding: 5px;
	box-sizing: border-box;
}

.popup form label {
	display: inline-block;
	width: 110px;
	font-weight: 500;
}

/* 제출 버튼 (파란색 배경, 흰색 글씨) */
.submit-btn {
	background: #d0b9b9;
	color: white;
	padding: 10px 20px;
	border: none;
	cursor: pointer;
	text-align:center;
}

.submit-btn:hover {
  background-color: #2980b9;
}

/* 동의서 스크롤 박스 */
.consent-box {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	height: 130px;
	overflow-y: auto;
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 5px;
	color: #333;
}

.popup-overlay {
	touch-action: none; /* 터치 스크롤 막음 (모바일 대응) */
	z-index: 10000; /* 충분히 높은 값 */
}

.form-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 5px;
	width: 100%;
	font-size: 14px;
	color: #333;
	white-space: normal;
	word-break: keep-all;
}

.form-check input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: #666;
	flex-shrink: 0;
}

.form-check label {
	flex: 1;
	line-height: 1.5;
}


/* 닫기 버튼 */
.close-btn {
	position: absolute;
    top: 6px;
    right: 5px;
    background: transparent;
    border: none;
    font-weight: 700;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    z-index: 10001;
}


@media screen and (max-width: 480px) {
	.popup {
		max-height: 80vh;
	}
}
