*,
*::before,
*::after{
	box-sizing:border-box;
	margin:0;
	padding:0;
}

body{
	font-family: Arial, sans-serif;
	margin:0 auto;
	width:100%;
	max-width:800px;
	background:#d1d2d4;
}

img {
	display:block;
	width:100%;
	}

/* swiper */
.swiper-container{
	width:100%;
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	max-width:800px;
}

/* 버튼 영역 */
.register{
	position:absolute;
	top:31%;
	left:50%;
	transform:translateX(-50%);
	width:47%;
	height:12%;
	cursor:pointer;
}

/* =========================
레이어
========================= */
#registerLayer{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.7);
	display:none;
	justify-content:center;
	align-items:center;
	z-index:99999;
}

.layer-inner{
	width: 90%;
    max-width: 720px;
    height: 80%;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.layer-header{
	padding:15px;
	font-weight:bold;
	border-bottom:1px solid #eee;
	position:relative;
}

.layer-close{
	position:absolute;
	right:15px;
	top:10px;
	cursor:pointer;
	font-size:20px;
}

.layer-body{
	flex:1;
	overflow-y:auto;
	padding:15px;
}

/* 카드 */
.form-card{
	background:#fff;
	border-radius:12px;
	padding:15px;
	margin-bottom:15px;
	box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.form-title{
	font-weight:bold;
	margin-bottom:10px;
}

/* input */
input[type=text]{
	width:100%;
	padding:12px;
	border:1px solid #ddd;
	border-radius:8px;
}

/* 선택 UI */
.option-grid{
	display:flex;
	gap:10px;
}

.option-box{
	flex:1;
	border:1px solid #ddd;
	border-radius:10px;
	padding:12px;
	text-align:center;
	cursor:pointer;
	background:#fafafa;
}

.option-box input{
	display:none;
}

.option-box:has(input:checked){
	background:#000;
	color:#fff;
}

/* 버튼 */
.submit-btn{
	width:100%;
	padding:14px;
	background:#000;
	color:#fff;
	border:none;
	border-radius:10px;
	font-size:16px;
	cursor:pointer;
}

/* 동의서 박스 */
.agree-box{
	background:#f7f7f7;
	border:1px solid #ddd;
	border-radius:8px;
	padding:12px;
	font-size:13px;
	line-height:1.6;
	max-height:150px;
	overflow-y:auto;
	margin-bottom:12px;
}

/* 모바일에서 조금 더 보기 좋게 */
@media(max-width:480px){
	.agree-box{
		max-height:130px;
		font-size:12px;
	}
}

/* 반응형 */
@media(max-width:480px){

	.layer-inner{
		height:85%;
	}

	.option-grid{
		flex-direction:column;
	}

}