body {
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	margin-bottom: 0;
	padding: 0 auto;
	margin: 0 auto;
	background-color: #000;
	max-width: 800px;
	width: auto;
	height: 100%;
	top: 0px;
	bottom: 0px;
	font-size:18px;
	font-weight:500;
	overflow-y:auto;
}

.swiper-container {
	width: 100%;
	margin: 0;
}

.swiper-slide {
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

input, select, option {margin:0;padding:0;border:0 none}

ul {
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}

.imagemap {
	position: relative;
	width: 100%;
}

img {
	display: block;
	width: 100%;
}

h2 {
	margin:0px;
	}

#splash {
	position: fixed;
	top:0;
	margin:0 auto;
	padding:0 auto;
	width:100%;
	z-index:4000000;
	max-width:800px;
}

#musicb {
		position:absolute;
		text-align:center;
		padding:2px 5px 2px 5px;
		top:5px;
		left:5px;
		z-index:10000;
		font-size:10px;
		background:skyblue;
		color:#FFF;
		border:0px;
		}

.gallery {
    position: absolute;
    top: 14.5%;
    height: 31%;
    left: 7%;
    width: 86%;
	}

.videoxy {
    position: absolute;
    top: 64.5%;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 87%;
	}

.link01 {    
    position: absolute;
    top: 73.2%;
    left: 13%;
    width: 15%;
    height: 9.5%;
	}

.link02 {    
	position: absolute;
    top: 73.2%;
    left: 32.5%;
    width: 15%;
    height: 9.5%;
}

.link03 {    
	position: absolute;
    top: 73.2%;
    left: 52%;
    width: 15%;
    height: 9.5%;
	}

.link04 {    
    position: absolute;
    top: 73.2%;
    left: 71.5%;
    width: 15%;
    height: 9.5%;
	}
	
.link05 {    
    position: absolute;
    top: 51.6%;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    height: 9.5%;
	}
	
.link06 {    
    position: absolute;
    top: 61.6%;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    height: 9.5%;
	}

.reglink {    
    position: absolute;
    top: 82.7%;
    left: 50%;
    transform: translateX(-50%);
    width: 76%;
    height: 9.5%;
	}
	
/* 팝업 오버레이 (배경 검정 + 투명도 0.7) */
.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% - 150px);
	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;
}

/* ===== Docent 라디오 그룹 정렬 & 칩 스타일 ===== */
.form-group.radio-group{
	display:flex;
	align-items:center;
	gap:8px;
}

.form-group.radio-group .group-label{
	display:inline-block;
	width:135px; /* 너의 기존 라벨 폭 규칙 유지 */
	font-weight:500;
}

.form-group.radio-group .radio-wrap{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

/* 네이티브 라디오는 숨기고 바로 다음 label을 칩처럼 */
.form-group.radio-group .radio-wrap input[type="radio"]{
	position:absolute;
	opacity:0;
	width:0;
	height:0;
}

.form-group.radio-group .radio-wrap label.chip{
	display:inline-block;
	padding:8px 14px;
	border:1px solid #ddd;
	border-radius:9999px;
	background:#fff;
	color:#333;
	cursor:pointer;
	user-select:none;
	line-height:1;
}

.form-group.radio-group .radio-wrap input[type="radio"]:checked + label.chip{
	border-color:#000;
	background:#000;
	color:#fff;
}

.form-group.radio-group .radio-wrap input[type="radio"]:focus + label.chip{
	outline:2px solid #2980b9;
	outline-offset:2px;
}

/* 모바일에서 칩이 자연스럽게 줄바꿈되도록 */
@media screen and (max-width: 480px){
	.form-group.radio-group{
		align-items:flex-start;
	}
	.form-group.radio-group .radio-wrap{
		gap:6px;
	}
}

/* 닫기 버튼 */
.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;
	}
}

#addmember {
	font-size:14px;
	margin-bottom:10px;
	color:purple;
	}

#delmember {
	font-size:14px;
	margin-bottom:10px;
	color:purple;
	}
	
.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;
	  height: auto;
	  float: left;
	  width: 100%;
	  border: 0;
	  }
	  
.centered-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("themes.gif") no-repeat left top;
  margin-top: -45px;
  }

.centered-btns_nav:active {
  opacity: 1.0;
  }

.centered-btns_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }

.transparent-btns_nav {
  z-index: 3;
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff; /* Fix for IE6-9 */
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }

.transparent-btns_nav.next {
  left: auto;
  right: 0;
  }

.large-btns_nav {
	height: 50px;
    z-index: 3;
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    opacity: 0.6;
    text-indent: -9999px;
    overflow: hidden;
    top: 50%;
    transform: translatey(-50%);
    bottom: 0;
    left: 0;
    background: #000 url(themes.gif) no-repeat left 50%;
    width: 32px;
  }

.large-btns_nav:active {
  opacity: 1.0;
  }

.large-btns_nav.next {
  left: auto;
  background-position: right 50%;
  right: 0;
  }

.centered-btns_nav:focus,
.transparent-btns_nav:focus,
.large-btns_nav:focus {
  outline: none;
  }

.centered-btns_tabs,
.transparent-btns_tabs,
.large-btns_tabs {
  margin-top: 10px;
  text-align: center;
  }

.centered-btns_tabs li,
.transparent-btns_tabs li,
.large-btns_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }

.centered-btns_tabs a,
.transparent-btns_tabs a,
.large-btns_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }

.centered-btns_here a,
.transparent-btns_here a,
.large-btns_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }