@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

*{box-sizing:border-box;}
body {
	font-family: 'Noto Sans KR',HelveticaNeue-Light,AppleSDGothicNeo-Light,'Malgun Gothic','맑은 고딕',sans-serif;
	width:100%;
	max-width:640px;
	margin:0 auto;
}

img, video {
	display:block;
	width:100%;
}

/*-----------fixed-----------*/
/* 기본 테마 (검정 배경 / 흰 글씨 / 빨강 강조) */
.c_wrap {
  --bg: #111;
  --text: #fff;
  --accent: #e60023;
  --border: var(--accent);

  width: 100%; max-width:640px;
  line-height: 50px; margin: 0 auto;
  text-align: center; background-color: var(--bg);
  position: fixed; top: 0;
  display: flex; justify-content: center;
  z-index: 999;
  font-family: 'Paperozi', sans-serif;;
}

.siren {display:flex; width:9%; align-items: center;}
.c_t {display:inline-block; font-size:1.3em; color:var(--text); line-height:50px;}
.c_t .live-t {font-size:0.3em; color:var(--accent); display:inline-block;}
.counsel_nu {display:flex; width:50px; text-align:right; line-height:50px; height:50px; align-items: center;}
.counsel_nu .list {border-bottom:3px solid var(--border); display:inline-block; width:100%; line-height:50px;}
.counsel_nu .list .list_inner {margin:-2px auto;overflow:hidden;}
.counsel_nu .list .list_inner li {font-size:1.5em;text-align:center;line-height:1.3;padding:0;margin:0;display:table;table-layout:fixed;float:none;color:var(--accent);font-weight:bold;}
.counsel_nu .list .list_inner li span {display:table-cell;}
.counsel_nu .list .list_inner li span.text {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}

@media (min-width:720px) {
  .c_t {font-size:2em;}
  .counsel_nu .list .list_inner li {font-size:2em;}
}
/*-----------fixed 끝-----------*/


/* 노랑 테마 */
.c_wrap.theme-yellow {
  --bg: #ffd400;
  --text: #111;
}

/* db , db2 */
.db_wrap, .db_wrap2 {
    background-color: #fff; 
	position:relative;
	z-index:100;
}
.db_wrap .db_list,
.db_wrap2 .db_list{
    padding: 40px 0;
    box-sizing: border-box;
    font-size: 20px;
}
.db_wrap .db_list li,
.db_wrap2 .db_list li{
    display: flex;
    margin-top: 16px;
    box-sizing: border-box;
	padding: 0 20px;
}
.db_wrap .db_list li:nth-of-type(1),
.db_wrap2 .db_list li:nth-of-type(1){
    margin-top: 0;
}
.db_wrap .db_list li input[type="text"],
.db_wrap .db_list li input[type="tel"],
.db_wrap2 .db_list li input[type="text"],
.db_wrap2 .db_list li input[type="tel"]{
    display: block;
    width: 100%;
    height: 50px;
    font-size: 20px;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.db_wrap .db_list li .phone,
.db_wrap2 .db_list li .phone{
    display: flex;
    justify-content: space-between;
}
.db_wrap .db_list li .phone select,
.db_wrap2 .db_list li .phone select{
    display: block;
    width: 30%;
    height: 50px;
    font-size: 20px;
    padding: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    border: 1px solid #ccc;
}
.db_wrap .db_list li .phone span,
.db_wrap2 .db_list li .phone span{
    line-height: 2.5;
}
.db_wrap .db_list li .phone>div,
.db_wrap2 .db_list li .phone>div{
    width: 30%;
}
.db_wrap .db_list li>span,
.db_wrap2 .db_list li>span{
    width: 18%;
    font-size: 16px;
    line-height: 50px;
}
.db_wrap .db_list li>div,
.db_wrap2 .db_list li>div{
    width: 82%;
}
.agree_wrap .agree_list{
    font-size: 14px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    color: var(--color--gray);  
}
.agree_wrap .agree_list li{
	height: 20px;
}
.agree_wrap .agree_list li > span{
    font-weight: bold;
	cursor:pointer;
	line-height: 24px;
    text-align: left;
    font-size: 14px;
    margin-left: 10px;
}

.db_btn_wrap{
    width: 90%;
    margin: 20px auto;
	cursor:pointer;
}

/* db , db2 end */

.counter {
	display:block;
	box-sizing:border-box;
	background:#fff;
	width:100%;
	padding:20px 10px;
	margin:20px 0;
	border: 1px solid #acacac;
	border-radius: 8px;
	text-align:center;
	color:#0037aa;
	font-weight:bold;
}
.counter #totalCustomers,
.counter #remainingBenefits{
    font-size: 1.4em;
    background: #0037aa;
    color: #eee;
    line-height: 1.3;
    padding: 0 6px 3px;
    height: fit-content;
    width: fit-content;
    display: inline-block;
    position: relative;
    top: 0px;
}

#wecydWrap{width:100%; background-image:#fff; z-index:10000; padding-top: 1px; position:relative; padding:5px;}
#wecydWrap{border:2px solid #fff;}
#wecydVid{background:#ff9c00; padding:10px 10px 10px 10px; margin:0 auto; text-align:center;}
#wecydWrap .logo{width:18%; margin:10px;}
#wecydWrap .bg{width: 269px; position:absolute; top:301px; right:0;z-index:0;}
#wecydWrap .summary{margin-top:-25px;}
#wecydWrap .pop_title{width:80%; margin:0 auto;}
#wecydWrap .txt{margin:10% 0% 5% 3%; position: relative; z-index: 2;}
#wecydWrap .txt_list{font-size:13px; width:40px; font-weight:bold;}

#wecydWrap .form-group {display: flex; align-items: center; box-sizing:border-box; padding: 10px 5px;}
#wecydWrap .form-group > label{padding:0 45px 0 15px;}
#wecydWrap .form-group_main > label{width:20%;}
#wecydWrap .form-group_main > input{width:80%; height:40px; border-radius:5px;}
#wecydWrap .form-group_num{display: flex; justify-content: space-between;box-sizing: border-box; width:80%;}
#wecydWrap input[type=tel], #wecydWrap select{font-size:13px; letter-spacing:-1px; border:1px solid #ccc;}
#wecydWrap .pop_inp{width:73%; height:45px; border-radius:5px; margin-bottom:3%;}
#wecydWrap .pop_tel{width:32%; height:42px; display:inline-block; border-radius:5px;}
#wecydWrap .agree{font-size:13px; margin-top:3%; margin-bottom:3%;}
#wecydWrap .gender{font-size:16px; margin-top:1%; margin-bottom:1%;}

#wecydPopup .pop_foot_btn{margin-top:4%; background:#ff0000; border:0; color:#ffff00; border-radius:3px; height:60px; font-weight:bold; font-family:"Noto Sans KR", sans-serif; font-size:29px; width:90%; display:block;  animation:button 1s infinite; transform: translateY(0px);}
#wecydPopup .cuser { position:absolute; bottom:-10px; right:-10px; width:30px; }
#wecydPopup .db_btn {font-size:0.98em;text-decoration: none; letter-spacing:-1px;}

.control-label {font-size:19px;}
@keyframes button{
	0%{transform: translateY(0px);}
	50%{transform: translateY(-10px); background:#ff0000; color:#ffff; box-shadow:0px 5px 0px rgba(0,0,0,.5);}
}

@media (max-width:480px) {
	#wecydWrap{border:2px solid #fff;}
	#wecydWrap .bg{width:210px; position:absolute; top:230px; right:0;z-index:0;}
	#wecydWrap .txt{margin:5% 0% 5% 3%; position: relative; z-index: 2;}

	.form-group { margin-bottom:5px; font-size:12px; }
	#wecydWrap .form-group > label{ padding: 0 5px;}
	#wecydWrap .agree{font-size:10px; margin-top:3%; margin-bottom:3%;}
	#wecydWrap .pop_inp{width:73%; height:35px; border-radius:5px; margin-bottom:3%;}
	#wecydWrap .gender{font-size:12px;}
}

@media (max-width:330px) {
	#wecydWrap{border:2px solid #fff;}
	#wecydWrap .bg{width:190px; position:absolute; top:224px; right:0;z-index:0;}
	#wecydWrap .txt{margin:5% 0% 5% 3%; position: relative; z-index: 2;}
	#wecydWrap .agree{font-size:10px; margin-top:3%; margin-bottom:3%;}
	label {  font-size:10.5px;}
}


/* ===== 팝업 ===== */
.event-zone{
	position:relative;
}
.download{
    position: absolute;
    display: block;
    border: 0;
    width: 100%;
    height: 20%;
    bottom: 0;
    background: url(//s-goonja.co.kr/js210/img/btn.gif) no-repeat;
    background-position: center;
    background-size: 85%;
}
section {
  scroll-margin-top: 80px;
  margin-top: 80px;
}

.applied-banner {
  display: none;
  margin: 20px 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 700;
  text-align: center;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
  text-align: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.modal p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
}

.modal .actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.modal .btn-primary,
.modal .btn-ghost {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.modal .btn-primary {
  background: #2563eb;
  color: #fff;
  flex: 2;
}

.modal .btn-ghost {
  background: #f3f4f6;
  color: #111;
}

@media (max-width: 480px) {
  .modal {
    max-width: 90%;
    padding: 16px;
  }

  .modal h2 {
    font-size: 16px;
  }

  .modal p {
    font-size: 14px;
  }

  .modal .btn-primary,
  .modal .btn-ghost {
    font-size: 15px;
    padding: 14px 12px;
  }

  .applied-banner {
    font-size: 16px;
    line-height: 1.3;
  }
}

