/* ============================================================
   front_add.css — 신규 사이트에서 추가된 스타일 (구 style.css 는 손대지 않음)
   ============================================================ */

/* ── 레이어 팝업 (메인 진입 시, 관리자 > 레이어 팝업) ──────────
   PC: 화면 가운데 flex, 1개면 정가운데 · 2개 이상이면 좌우로 나란히. 이미지는 원본 크기
   모바일: 가로 꽉 차게, 2개 이상은 겹쳐 두고 위 것을 닫으면 다음 것이 보임 */
.layer_pop_wrap{position:fixed; left:0; top:0; width:100%; height:100%; z-index:1200; display:flex; align-items:center; justify-content:center; gap:20px; padding:20px; box-sizing:border-box; background:rgba(0,0,0,.55); overflow:auto; -webkit-overflow-scrolling:touch;}
.layer_pop_wrap.hide{display:none;}
.layer_pop{flex:0 0 auto; max-width:100%; background:#fff; box-shadow:0 10px 40px rgba(0,0,0,.35); border-radius:6px; overflow:hidden;}
.layer_pop .layer_pop_img{display:block; line-height:0;}
.layer_pop .layer_pop_img img{display:block; max-width:100%; max-height:calc(100vh - 100px); width:auto; height:auto;}
.layer_pop .layer_pop_img img.mobile{display:none;}
.layer_pop .layer_pop_bar{display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; font-size:13px; line-height:1.4; color:#555; background:#f4f5f7; border-top:1px solid #e3e5e8;}
.layer_pop .layer_pop_bar label{display:inline-flex; align-items:center; gap:6px; margin:0; font-size:13px; color:#555; font-weight:400; cursor:pointer;}
.layer_pop .layer_pop_bar label input.chk_today{-webkit-appearance:checkbox; appearance:checkbox; display:inline-block; position:static; width:15px; height:15px; margin:0; opacity:1; cursor:pointer;}
.layer_pop .layer_pop_bar .btn_layer_close{flex:0 0 auto; padding:4px 12px; font-size:13px; line-height:1.4; font-weight:700; color:#333; background:#fff; border:1px solid #c9ccd1; border-radius:3px; cursor:pointer;}
@media all and (max-width:750px){
	.layer_pop_wrap{display:block; padding:0; overflow:hidden;}
	.layer_pop{position:absolute; left:0; top:50%; transform:translateY(-50%); width:100%; max-height:100%; border-radius:0; overflow:auto;}
	.layer_pop .layer_pop_img img{width:100%; max-height:none;}
	.layer_pop .layer_pop_img img.pc{display:none;}
	.layer_pop .layer_pop_img img.mobile{display:block;}
}

/* ── 개인정보처리방침 · 이용약관 (privacy.php / terms.php, 관리자 > 약관·방침) ── */
.wrap_sub.sub06.policy .policy_wrap{max-width:1200px; margin:0 auto; text-align:left;}
.policy_notice{margin:0 0 16px; padding:14px 18px; font-size:15px; color:#8a5a00; background:#fff8e6; border:1px solid #f1d58a; border-radius:4px;}
.policy_notice a{margin-left:8px; font-weight:700; color:#8a5a00; text-decoration:underline;}
.policy_head{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:0 0 14px; border-bottom:2px solid #333;}
.policy_meta{font-size:15px; color:#666;}
.policy_meta .badge{display:inline-block; margin-right:6px; padding:2px 8px; font-size:12px; font-weight:700; border-radius:3px; color:#fff; background:#999;}
.policy_meta .badge.upcoming{background:#2f6fe0;}
.policy_select{height:38px; padding:0 10px; font-size:14px; color:#333; border:1px solid #ccc; border-radius:3px; background:#fff; -webkit-appearance:menulist; appearance:menulist;}
.policy_doc{padding:24px 0 0; font-size:15px; line-height:1.75; color:#444; word-break:keep-all;}
.policy_doc h3{margin:34px 0 12px; font-size:19px; font-weight:700; color:#222;}
.policy_doc h4{margin:22px 0 8px; font-size:16px; font-weight:700; color:#333;}
.policy_doc p{margin:0 0 8px;}
.policy_doc ol, .policy_doc ul{margin:0 0 10px; padding-left:22px;}
.policy_doc ol li{list-style:decimal; margin:0 0 6px;}
.policy_doc ul li{list-style:disc; margin:0 0 6px;}
.policy_doc table{width:100%; margin:8px 0 14px; border-collapse:collapse; font-size:14px;}
.policy_doc th, .policy_doc td{padding:10px 12px; border:1px solid #ddd; vertical-align:top; text-align:left;}
.policy_doc th{background:#f5f6f8; font-weight:700; color:#333;}
/* 회원가입 약관 박스 — 관리자 본문(HTML) 을 그대로 넣으므로 줄바꿈 보존 대신 문단 간격 */
.term_text.html{white-space:normal; line-height:1.6;}
.term_text.html h3{margin:12px 0 4px; font-size:14px; font-weight:700; color:#333;}
.term_text.html h4{margin:10px 0 2px; font-size:13px; font-weight:700; color:#444;}
.term_text.html p{margin:0 0 4px;}
.term_text.html table{width:100%; border-collapse:collapse; margin:4px 0 8px;}
.term_text.html th, .term_text.html td{padding:4px 6px; border:1px solid #ddd; font-size:12px; text-align:left;}
.term_text.html ol li{list-style:decimal; margin-left:18px;}
.term_text.html ul li{list-style:disc; margin-left:18px;}
/* 푸터 약관 링크 */
.f_policy{margin-top:14px; font-size:15px; text-align:center;}
.f_policy a{display:inline-block; color:rgba(255,255,255,.7);}
.f_policy a + a{margin-left:14px;}
.f_policy a.privacy{font-weight:700; color:#fff;}
@media all and (max-width:750px){
	.wrap_sub.sub06.policy .policy_wrap{padding:0 16px;}
	.policy_doc{font-size:14px;}
	.policy_doc table{display:block; overflow-x:auto;}
	.policy_select{width:100%;}
}
.term_link{margin:-4px 0 8px; font-size:13px; text-align:right;}
.term_link a{color:#2f6fe0; text-decoration:underline;}
/* style.css 의 공통 p 규칙(흰 글씨 · 큰 글씨)을 문서 본문에서는 덮어씀 */
.wrap_sub.sub06.policy .policy_doc p, .wrap_sub.sub06.policy .policy_doc li, .wrap_sub.sub06.policy .policy_doc td{font-size:15px; color:#444; line-height:1.75; letter-spacing:0;}
.wrap_sub.sub06.policy .policy_doc th{font-size:15px; color:#333;}
@media all and (max-width:750px){
	.wrap_sub.sub06.policy .policy_doc p, .wrap_sub.sub06.policy .policy_doc li, .wrap_sub.sub06.policy .policy_doc td, .wrap_sub.sub06.policy .policy_doc th{font-size:14px;}
	.wrap_sub.sub06.policy .tit{font-size:30px; line-height:40px; padding:36px 0 24px;}
}
.wrap_sub.sub06.policy .policy_doc b, .wrap_sub.sub06.policy .policy_doc strong{color:#222; font-weight:700; font-size:inherit;}
.term_text.html b, .term_text.html strong{color:#333; font-weight:700;}
