html, body { height: 100%; margin: 0; }
/* Clauses 컴포넌트 전용 CSS */

/* 전체 래퍼 */
#wrap {
	height: 100%;
	overflow-y: scroll;
	background: #fff;
}

/* 헤더 */
#header {
	width: 100%;
	z-index: 100;
	text-align: center;
	background: #fff;
}

#header .tit_area {
	position: relative;
}

#header .btn_close {
	position: absolute;
	top: calc(50% - 18px);
	right: 20px;
	width: 18px;
	height: 18px;
	background: url('../img/android/btn_close.gif') no-repeat 50% 50%;
	background-size: 100%;
	text-decoration: none;
}

#header .btn_close .wa {
	position: absolute;
	top: -9999px;
	text-indent: -999px;
}

#header .page_tit {
	color: #222;
	background: #fff;
	font-size: 18px;
	font-weight: normal;
	line-height: 50px;
	text-align: center;
	margin: 0;
}

/* 컨테이너 */
.container2.container3 {
	background: #f7f8f9;
}

/* 설정 래퍼 */
.setting_wrap {
	overflow: hidden;
}

.setting_wrap .clearfix::after {
	content: '';
	display: table;
	clear: both;
}

/* 스와이퍼 컨테이너 */
.swiper-container.tabslide_wrap {
	background: #fff;
	width: 100%;
	height: auto;
}

.swiper-wrapper {
	overflow: hidden;
}

.swiper-wrapper .clearfix::after {
	content: '';
	display: table;
	clear: both;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
}

/* 탭 스타일 */
.sw_1 {
	overflow: hidden;
	padding-left: 15px;
	border-bottom: 1px solid #e5e5e5;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sw_1 li {
	width: 50%;
	float: left;
}

.sw_1 li a {
	display: inline-block;
	text-decoration: none;
	color: inherit;
}

.sw_1 li a span {
	display: inline-block;
	font-size: 16px;
	height: 40px;
	line-height: 40px;
	letter-spacing: -0.5px;
	padding: 0 20px;
}

.sw_1 li.on a span {
	box-sizing: border-box;
	border-bottom: 3px solid #1c3f97;
	color: #1c3f97;
}

/* 설정 상세 */
.setting_detail {
	display: none;
}

.setting_detail_1 {
	display: none;
}

.setting_detail_2 {
	display: block;
}

.setting_detail dl {
	padding: 22px 20px;
	background: #fff;
	margin-top: 10px;
}

.setting_detail dl dt {
	font-size: 16px;
	margin-bottom: 23px;
}

.setting_detail dl dt b {
	font-weight: bold;
}

.setting_detail dl dd {
	color: #666;
	line-height: 1.5;
}

.setting_detail dl dd ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.setting_detail dl dd > ul .se_inner1 {
	margin-bottom: 23px;
	line-height: 1.6;
}

.setting_detail dl dd > ul .se_inner1 .se_inner2 {
	margin-top: 5px;
	margin-left: 30px;
}

.setting_detail dl dd > ul .se_inner1 .se_inner2 > li {
	margin-bottom: 5px;
	list-style: none;
}

.setting_detail dl dd > ul .se_inner1 .se_inner2 > li .se_inner3 {
	margin-top: 16px;
}

.setting_detail dl dd > ul .se_inner1 .se_inner2 > li .se_inner3 li {
	position: relative;
	padding-left: 10px;
	list-style: none;
}

.setting_detail dl dd > ul .se_inner1 .se_inner2 > li .se_inner3 li::after {
	content: '';
	position: absolute;
	top: 10px;
	left: 0;
	display: block;
	width: 3px;
	height: 3px;
	background: #666;
	border-radius: 50%;
}

.setting_detail dl dd > ul .se_inner1 .se_inner2 .indent {
	margin-left: 5px;
}

.se_inner2 > li > span {
	display: block;
	margin-left: 20px;
}

.text-indent {
	margin-left: 15px;
}

.se_inner4 > li {
	margin-left: 20px;
}

/* 부칙 스타일 */
.setting_detail dl dd li.se_inner1 {
	list-style: none;
}

.setting_table {
	width: 100%;
	border-collapse: collapse; /* 내부선 겹침 제거 */
	text-align: center;
	font-size: 11px;
	border: 1px solid #000; /* 테이블 외곽 */
}

.setting_table th,
.setting_table td {
	border: 1px solid #000; /* 내부 모든 셀 선 */
	padding: 4px 6px;
}

/* 반응형 */
@media screen and (max-width: 768px) {
	.sw_1 li {
		width: 50%;
	}

	.sw_1 li a span {
		font-size: 14px;
		padding: 0 10px;
	}

	.setting_detail dl {
		padding: 15px;
	}

	.setting_detail dl dt {
		font-size: 14px;
	}

	.setting_detail dl dd {
		font-size: 14px;
	}
}

/* 유틸리티 클래스 */
.clearfix::after {
	content: '';
	display: table;
	clear: both;
}

/* JavaScript 링크 스타일 */
a[href^='javascript:'] {
	cursor: pointer;
}

/* 접근성 */
.wa {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.terms-content {
	padding-bottom: calc(var(--footer-h) + env(safe-area-inset-bottom, 0px));
}

/* 하단 고정 바 */
.clauses-check-status-area {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--footer-h);
	padding: 20px 16px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;

	background: rgba(255, 255, 255);
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
	z-index: 1000;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sw_1 .tab-btn {
	background: none;
	border: 0;
	padding: 10px 14px;
	font-size: 15px;
	cursor: pointer;
	color: #888;
}
.sw_1 li.on .tab-btn {
	color: #0054ae;
	font-weight: 700;
}

.clauses-title {
	font-size: 15px;
	font-weight: 700;
}

.clauses-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	gap: 20px;
	font-size: 14px;
	color: #575e66;

	margin: 20px 0;
}

.clauses-item {
	display: flex;
	justify-content: center;
}
.clauses-item > input {
	width: 24px;
	height: 24px;
	border-radius: 8px;
	border: 1px solid #ced4da;
	margin-right: 12px;
	appearance: none;
	-webkit-appearance: none;
	background-color: #fff;
	outline: none;
}

.clauses-item > input:checked {
	background-color: #00a8a0; /* 체크 시 배경색 */
	border-color: #00a8a0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.173 11.414L2.757 8l1.414-1.414L6.173 8.586l5.656-5.657L13.243 4.343l-7.07 7.071z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 70%;
}

.clauses-more {
	border-radius: 100px;
	width: 28px;
	height: 28px;
	background-color: #edf1f4;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* BeWithYou 정적 약관 — 폰트·간격 원본(clauses.css sw_1 a span)과 동일 */
@font-face {
	font-family: 'Pretendard';
	src: url('/fonts/Pretendard-Regular.woff') format('woff');
	font-weight: 400;
}
@font-face {
	font-family: 'Pretendard';
	src: url('/fonts/Pretendard-Bold.woff') format('woff');
	font-weight: 700;
}

body,
.terms-content {
	font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

.terms-content {
	padding-bottom: 0;
}

#panel-terms dd {
	margin-inline-start: 0;
	margin-left: 0;
}

#panel-privacy dd {
	margin-inline-start: 0;
	margin-left: 0;
}

.sw_1 .tab-btn {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
	display: inline-block;
	width: 100%;
	text-decoration: none;
	text-align: center;
}

.sw_1 a.tab-btn {
	-webkit-tap-highlight-color: transparent;
}

.sw_1 .tab-btn span {
	display: inline-block;
	font-size: 16px;
	height: 40px;
	line-height: 40px;
	letter-spacing: -0.5px;
	padding: 0 20px;
}

.sw_1 li.on .tab-btn span {
	box-sizing: border-box;
	border-bottom: 3px solid #1c3f97;
	color: #1c3f97;
	font-weight: normal;
}

/* JS 없이도 URL별 기본 패널 표시 (body.terms-page | body.privacy-page) */
body.terms-page #panel-terms.setting_detail {
	display: block;
}

body.terms-page #panel-privacy.setting_detail {
	display: none;
}

body.privacy-page #panel-privacy.setting_detail {
	display: block;
}

body.privacy-page #panel-terms.setting_detail {
	display: none;
}

@media screen and (max-width: 768px) {
	.sw_1 .tab-btn span {
		font-size: 14px;
		padding: 0 10px;
	}
}
