.agreement-wrap { padding-top: 30px; margin-top: 30px; border-top: 1px dashed var(--line); }
.agreement-wrap.inline { margin: 0; border: 0; padding-top: 20px; }
.agreement-wrap .group:not(:first-child) { margin-top: 10px; }
.agreement-wrap .group .tit-txt { font-size: 1.5rem; font-weight: 800; padding-bottom: 5px; }
.agreement-wrap .privacy .custom-checkbox { border-radius: 5px 5px 0 0; }
.agreement-wrap .custom-checkbox { display: flex; align-items: center; cursor: pointer; border: 1px solid var(--line); border-radius: 5px; padding: 17px 15px; background-color: #fff; position: relative; }
.agreement-wrap .custom-checkbox.checked { border-color: var(--blue); }
.agreement-wrap .custom-checkbox input[type=checkbox] { display: none; }
.agreement-wrap .custom-checkbox .checkbox-box { width: 20px; height: 20px; border: 2px solid #c6c6c6; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-right: 8px; background-color: #fff; position: relative; }
.agreement-wrap .custom-checkbox .checkbox-box .check-icon { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; position: absolute; }
.agreement-wrap .custom-checkbox input:checked + .checkbox-box { border-color: var(--blue); background-color: var(--blue); }
.agreement-wrap .custom-checkbox input:checked + .checkbox-box + .checkbox-label { color: var(--blue); }
.agreement-wrap .custom-checkbox .checkbox-label { font-size: 1.6rem; width: 100%; position: relative; top: -2px; font-weight: 600; }
.agreement-wrap .custom-checkbox .btn-view { position: absolute; top: 50%; right: 10px; border: 1px solid var(--line); padding: 5px 10px; font-size: 1.3rem; border-radius: 4px; transform: translateY(-50%); color: #000; line-height: 1; }
.agreement-wrap .custom-checkbox .btn-view:hover { border-color: #777; }
.agreement-wrap .popup-layer { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100vw; height: 100vh; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.agreement-wrap .popup-layer .popup-content { background: #fff; padding: 50px 20px; border-radius: 8px; width: 800px; max-width: calc(100% - 40px); position: relative; max-height: 75dvh; max-height: 75vh; height: 800px; }
.agreement-wrap .popup-layer .popup-content .close { position: absolute; top: 20px; right: 20px; background: none; border: none; cursor: pointer; width: 20px; height: 20px; opacity: 0.3; }
.agreement-wrap .popup-layer .popup-content .close img { width: 100%; height: 100%; }
.agreement-wrap .popup-layer .popup-content .close:hover { opacity: .5; }
.agreement-wrap .popup-layer .popup-content .popup-body { height: 100%; overflow-y: auto; font-size: 14px; line-height: 1.5; }
.agreement-wrap .popup-layer .popup-content .popup-body .tit { font-size: 2rem; padding-bottom: 15px; }
.agreement-wrap .popup-layer .popup-content .popup-body .policy-wrap { padding: 0; }
.agreement-wrap .privacy-info { padding: 10px 15px; background: #f2f2f2; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 5px 5px; max-height: 200px; overflow-y: auto; }


.agreement-wrap .privacy-info dl { display: flex; font-size: 1.3rem; gap: 5px; align-items: flex-start; }
.agreement-wrap .privacy-info dl:not(:first-child) { padding-top: 7px; }
.agreement-wrap .privacy-info dl dt { position: relative; font-weight: 600; padding-left: 10px; flex-shrink: 0; white-space: nowrap; }
.agreement-wrap .privacy-info dl dt:after { content: ''; width: 4px; height: 4px; background: #666; position: absolute; top: 8px; left: 0; }
.agreement-wrap .privacy-info dl dd { flex: 1; }
.agreement-wrap .privacy-info .txt { font-size: 1.4rem; }
.agreement-wrap .privacy-info .txt:not(:last-child) { padding-bottom: 3px; }
.agreement-wrap .info-btn { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--blue); border-radius: 8px; background: #fff; cursor: pointer; text-align: left; transition: box-shadow 0.1s ease, transform 0.1s ease; }
.agreement-wrap .info-btn:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.agreement-wrap .info-btn .tit { font-size: 1.8rem; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 8px; }
.agreement-wrap .info-btn .tit:before { content: 'i'; width: 23px; height: 23px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 600; flex-shrink: 0; padding-top: 2px; position: relative; top: 3px; }
.agreement-wrap .info-btn .txt { font-size: 1.5rem; color: #666; line-height: 1.5; padding-left: 28px; }

@media (max-width: 768px) {
	.agreement-wrap .group .tit-txt { font-size: 1.4rem; }
	.agreement-wrap .custom-checkbox { padding: 17px 80px 17px 15px; }
	.agreement-wrap .custom-checkbox .checkbox-label { font-size: 1.4rem; }
	.agreement-wrap .info-btn { padding: 15px; }
	.agreement-wrap .info-btn .tit { font-size: 1.4rem; }
	.agreement-wrap .info-btn .tit:before { width: 18px; height: 18px; font-size: 1.2rem; }
	.agreement-wrap .info-btn .txt { font-size: 1.2rem; padding-left: 26px; }
}
@media (max-width: 650px) {
	.agreement-wrap .popup-layer { display: block; }
	.agreement-wrap .popup-layer .popup-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
	.agreement-wrap .popup-layer .popup-content .popup-body .head { display: flex; align-items: center; gap: 20px; padding-bottom: 20px; }
	.agreement-wrap .popup-layer .popup-content .popup-body .head .tit { width: calc(100% - 40px); padding-bottom: 0; }
	.agreement-wrap .popup-layer .popup-content .popup-body .body { overflow-y: auto; height: 100%; }
}
@media (max-height: 768px) {
	.agreement-wrap .pop-layer { min-height: 90vh; min-height: 90dvh; max-height: 90vh; max-height: 90dvh; }
}
@media (max-width: 475px) {
	.agreement-wrap .privacy-info { padding: 10px; max-height: unset; }
	.agreement-wrap .privacy-info dl { font-size: 1.2rem; }
	.agreement-wrap .privacy-info dl dt { padding-left: 8px; }
	.agreement-wrap .privacy-info dl dt:after { width: 3px; height: 3px; }
	.agreement-wrap .privacy-info .txt { font-size: 1.2rem; }
	.agreement-wrap .custom-checkbox .checkbox-label { font-size: 1.3rem; }
}
