/* BASIC css start */
/*폰트추가*/
@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);

.nanumgothic * {
 font-family: 'Nanum Gothic', sans-serif;
}

/* button */
.cbtn{display:inline-block;font-size:11px;color:#000;min-width:98px;height:31px;line-height:32px;border:1px solid #000;text-align:center;-webkit-transition:all 0.3s ease;transition:all 0.3s ease;}
.cbtn.form{}
.cbtn.form.action{background-color:#000;color:#fff;}
.cbtn.form:hover{background-color:#000;color:#fff;}
.cbtn.form.action:hover{background-color:#fff;color:#000;}

.btnArea{}
.btnArea:after{content:"";display:block;clear:both;}
.btnArea .left{float:left;width:50%;}
.btnArea .right{float:right;width:50%;}
.btnArea .center{text-align:center;}

#join_test .page-body { width: 680px; margin: 50px auto 0;}
#join_test .join-form { margin-bottom:12px; border-top:1px solid #dadada; border-left:1px solid #dadada; }
#join_test .join-form li { position:relative; height:49px; line-height:49px; padding:0 23px; border-right:1px solid #dadada; border-bottom:1px solid #dadada; background:#fff; color:#000; }
#join_test .join-form li label { font-size:14px; font-weight:bold; }
#join_test .join-form li .txt-input { position:absolute; top:0; left:23px; width:300px; height: 49px; line-height:49px; padding:0; margin:0; font-size: 14px; font-weight: bold; color:#000; border: 0; opacity: 0; filter: alpha(opacity=0); }
#join_test .join-form li .input-radio { width:14px; height:14px; margin:0; margin-top:-2px; padding:0; vertical-align:middle; }
#join_test .join-form li .btn { display:block; position:absolute; top:6px; right:8px; width:83px; height:34px; line-height:36px; font-size:14px; font-weight:bold; color:#fff; text-align:center; }
#join_test .join-form li.birth:after { clear:both; display:block; content:''; }
#join_test .join-form li.birth { *z-index:2; line-height:51px; }
#join_test .join-form li.birth .birth_txt { width:150px; margin-left:0px; font-size:13px; font-weight:bold; text-align:left; color: #0549bb; padding-bottom: 5px; } 
#join_test .join-form li.birth dl dd { position:relative; float:left; width:100px; margin-left:10px; font-size:14px; font-weight:bold; }
#join_test .join-form li.birth dl dd:first-child { width:100px; margin-left:0; }
#join_test .join-form li.birth dl.type2 ul li { margin:0; padding:0; border:0; }
#join_test .join-form li.birth dl.type2 ul li .txt-input { left:0; width:90%; }
#join_test .join-form li.gender {}
#join_test .join-form li.gender label { margin-right:30px; }
#join_test .join-msg li label { font-size:14px; font-weight:bold; }
#join_test .join-msg li { height:18px; line-height:18px; padding-left:2px; color:#999; }
#join_test .bottom-btn { padding:40px 0; text-align:center; }
#join_test .bottom-btn a { display:block; height:58px; line-height:62px; margin:0 auto; font-weight:bold; color:#fff; font-size:24px; text-align:center; letter-spacing:-1px; }

#sms_btn,
.sms_num { position:absolute; top:0; left:323px }

/* 약관 동의 */
#join_test .tb-l { text-align: left; }
#join_test .tb-c { text-align: center; }
#join_test .pl-30 { padding-left: 15px; }
#join_test .pl-6 { padding-left: 6px; }
#join_test .pt-10 { padding-top:10px; }
#join_test .pb-10 { padding-bottom:10px; }
#join_test .ml-30 { margin-left:0px !important; }
#join_test .p10 { padding:10px; }
#join_test .input-cbox { width:12px; height:12px; padding:0; margin:0; margin-top:-3px; *margin-top:1px; vertical-align:middle; *vertical-align:top; }
#join_test .new-btn-area { text-align: center; margin:20px 0 0; padding-bottom:30px; border-bottom:1px solid #ececec; }
#join_test .new-btn-area a { display:block; width:234px; height:64px; line-height:66px; margin:0 auto; font-size:22px; font-weight:bold; color:#fff; background:#4a3f35; border:1px solid #4a3f35; border-radius: 8px; transition: all 0.3s ease; }
#join_test .new-btn-area a:hover { background-color: #b59d7f; border-color: #b59d7f; }
#chkwrap { border: 1px solid #e0d5c6; }
#chkwrap .all-chk { height:43px; line-height:45px; padding-left:20px; font-size:14px; font-weight:bold; color:#4a3f35; border-bottom:1px solid #f0ebe5; }
#chkwrap .all-chk .input-cbox { width:14px; height:14px; padding:0; margin:0; margin-top:-3px; *margin-top:0; vertical-align:middle; *vertical-align:top; }
#chkwrap .cont ul:after { clear: both; content: ""; display: block; }
#chkwrap .cont ul {  width: 500px; padding-left: 30px !important; padding-bottom:15px; }
#chkwrap .cont ul li { float:left; width:220px !important; padding-left:0px; line-height:18px; letter-spacing:-1px; }
#chkwrap .cont ul li.w240 { width:240px; padding-left:0; }
#chkwrap .cont ul li a { display:inline-block; width:50px !important; height:20px; line-height:20px; *line-height:18px; font-weight:bold; font-size:11px; color: #4a3f35; border:1px solid #b59d7f; background:#fff; text-align:center; border-radius: 4px; transition: all 0.2s; }
#chkwrap .cont ul li a:hover { background-color: #fdfaf6; border-color: #4a3f35; }
#chkwrap .cont strong { color:#000; }
#chkwrap .cont label { font-weight:bold; }
#chkwrap .cont .marketing { padding-left:30px; border-top:1px dashed #dadada; line-height:18px; position: repative; }
#chkwrap .cont .marketing .mk-wrap { height:44px; line-height:46px; }

h4.tit { margin-top: 50px; margin-bottom: 5px; padding-left:5px; font-size: 14px; font-weight: bold; }

/* 이용 약관 */
#join_test .privercy-contract textarea { width:97%; height:165px; }
/* 개인정보 수집이용, 제3제공, 취급위탁 테이블 */
#join_test .contract-tbl { width:100%; border-spacing:0; border-collapse:collapse; }
#join_test .contract-tbl th,
#join_test .contract-tbl td { border:1px solid #e0e0e0; text-align:center; }
#join_test .contract-tbl th { background: #fcfcfc; }
#join_test .contract-tbl th div { height:41px; line-height:43px; }
#join_test .contract-tbl tbody th { font-weight:normal; }

#join_test .btm-msg { padding-top:30px; line-height:18px; }

.join-footer{text-align:center;padding-top:15px;}
.join-footer .cbtn.form{width:288px;height:58px;line-height:58px;font-size:16px;margin:0 5px;}


.form-wrap {width:620px; margin-top:30px; border:1px solid #aaa; border-radius:8px; padding-bottom:21px; text-align:left; }
.form-wrap h3.form-title {margin:0; padding:21px 25px 0; font-size: 18px; font-family: 'Malgun Gothic'; cursor: pointer;}
.form-wrap h3.form-title strong {display:block; background: url(/images/common/ico_arrow_up.png) no-repeat right center; letter-spacing:-1px;}
.form-wrap h3.form-title.off strong {background: url(/images/common/ico_arrow_down.png) no-repeat right center;}
.new-privercy-contract {width:680px; margin:0 auto;}
.new-privercy-contract h3 { position:relative; font-weight: bold; margin:30px 0 5px 0; text-align: left; }
.new-privercy-contract h3 span { color:#0f6efc; }
.new-privercy-contract h3 .check { position:absolute; top:0; right:0; width:70px; }
.new-privercy-contract h3 .check input { width:12px; height:12px; vertical-align:top; }
.new-privercy-contract h3.w-normal { font-weight: normal }
.new-privercy-contract .p10 {padding:10px;}
.new-privercy-contract .period {font-size:13px; font-weight:700;}
.new-privercy-contract .privacy-noti {margin-top:10px; color:#666; font-weight:normal;}
.new-privercy-contract input {vertical-align:middle;} /* 220802 추가 */
.new-privercy-contract .privercy-chk {margin-top:10px; text-align:right;} /* 220802 추가 */
.new-privercy-contract .privercy-chk label {color:#666;} /* 220802 추가 */
.privercy-contract-tap { height:35px; }
.privercy-contract textarea { width:600px; height:150px; color:#666; }
.btn-agree {margin-top:30px;}
.btn-agree a {display:block; padding:25px 0; background:#4a3f35; border-radius:8px; color:#fff; text-align:center; font-family: 'Malgun Gothic'; font-size:20px; font-weight:700; letter-spacing:-1px; transition: all 0.3s ease;}
.btn-agree a:hover { background-color: #b59d7f; }

/* 회원가입 폼 디자인 (라벨-좌측, 입력창-우측 레이아웃) */

/* 폰트 임포트 */
@import url(//fonts.googleapis.com/earlyaccess/nanumgothic.css);

/* --- 전체 레이아웃 --- */
#join_test .page-body { 
    width: 680px; 
    margin: 50px auto 0;
}

/* --- 폼 박스 --- */
#join_test .join-form {
    margin-bottom: 30px;
    border: 1px solid #e0d5c6; /* ★ 골드/브라운 톤 테두리 */
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden; /* 테두리 둥글게 처리 */
    border-left: 1px solid #e0d5c6;
    border-top: 1px solid #e0d5c6;
}

/* --- 폼 각 항목 (li) --- */
#join_test .join-form li {
    position: relative;
    height: 49px; /* ★★★ 사장님의 기존 사이즈 49px 유지 ★★★ */
    padding: 0 20px; /* 내부 좌우 여백 */
    border: none;
    border-bottom: 1px solid #f0ebe5;
    background: #fff;
    
    /* ★★★ 핵심: Flexbox로 자식 요소(라벨, 입력창)를 가로로 정렬 ★★★ */
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
}
#join_test .join-form li:last-child {
    border-bottom: none;
}

/* --- 라벨 (항목 이름) --- */
#join_test .join-form li label {
    font-size: 14px;
    font-weight: bold;
    color: #4a3f35; /* ★ 다크 브라운 텍스트 */
    
    /* ★★★ 라벨 영역 고정 ★★★ */
    flex-basis: 120px; /* 라벨이 차지할 고정 너비 */
    flex-shrink: 0;   /* 라벨이 줄어들지 않도록 */
}

/* --- 입력창 (input) --- */
/* ★★★ 기존 투명/숨김 스타일을 모두 덮어쓰고, 보이도록 변경 ★★★ */
#join_test .join-form li .txt-input { 
    position: static !important;
    opacity: 1 !important;
    filter: none !important;
    
    /* ★★★ 남은 공간을 모두 차지하도록 설정 ★★★ */
    flex-grow: 1;
    width: auto; /* 300px 고정 너비 제거 */
    
    /* ★★★ 새로운 디자인 적용 ★★★ */
    height: 35px; /* 49px보다 살짝 작은 높이로 안정감 */
    line-height: 35px;
    padding: 0 10px;
    font-size: 14px; 
    color: #333; 
    border: 1px solid #e0d5c6;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* ★★★ JS 없이 CSS :focus로 포커스 효과 적용 ★★★ */
#join_test .join-form li .txt-input:focus {
    border-color: #b59d7f; /* ★ 고급 골드색 테두리 */
    box-shadow: 0 0 5px rgba(181, 157, 127, 0.3);
    outline: none; /* 기본 파란색 테두리 제거 */
}

/* --- 인증 버튼 --- */
/* ★★★ 기존 절대 위치를 모두 덮어쓰고, flex 아이템으로 변경 ★★★ */
#sms_btn,
.sms_num,
div[id*='sms_auth_div'], 
div[id*='sms_reauth_div'] {
    position: static !important;
    transform: none !important; /* Y축 정렬 제거 */
    
    margin-left: 8px; /* 입력창과의 간격 */
    flex-shrink: 0;   /* 버튼이 찌그러지지 않게 */
    z-index: 1;
}

/* 버튼 공통 스타일 */
.cbtn.form {
    display: inline-block;
    font-size: 13px;
    color: #fff;
    min-width: 80px;
    height: 35px; /* ★ 입력창과 높이 통일 ★ */
    line-height: 35px;
    border: 1px solid #b59d7f;
    background-color: #b59d7f;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.cbtn.form:hover {
    background-color: #4a3f35;
    border-color: #4a3f35;
    color: #fff;
}

/* --- 생년월일 / 성별 항목 --- */
#join_test .join-form li.birth { line-height: 49px; } /* 높이 유지 */
#join_test .join-form li.gender label { flex-basis: auto; margin-right: 15px; } /* 성별 라벨 너비 자동 */
#join_test .join-form li.birth .txt-input {
    width: 60px; /* 년/월/일 인풋 크기 조절 */
    flex-grow: 0; /* 늘어나지 않게 */
    text-align: center;
    padding: 0;
    margin-right: 5px;
}

/* --- 하단 회원가입 버튼 (기존과 동일) --- */
.join-footer { text-align: center; padding-top: 15px; }
.join-footer .cbtn.form {
    width: 288px;
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    font-weight: bold;
    margin: 0 5px;
    background-color: #4a3f35;
    border-color: #4a3f35;
    border-radius: 8px;
}
.join-footer .cbtn.form:hover {
    background-color: #b59d7f;
    border-color: #b59d7f;
}


/* --- [새로 추가] SNS 버튼 3분할 영역 (678px 너비에 맞춤) --- */



/* 전체 영역 설정 (기존 폼 너비 680px에 맞춤) */

#join_test .new-sns-wrap {
    width: 678px; 
    margin: 0 auto 30px auto; /* 중앙 정렬 및 아래쪽 여백 추가 */
    text-align: center;
}


/* 구분선 스타일 */

.new-sns-wrap .sns-title-bar {
    font-size: 20px; color: #888; margin-bottom: 20px;
    position: relative; overflow: hidden; text-align: center;
}

.new-sns-wrap .sns-title-bar b {
    font-weight: bold; color: #555; position: relative; z-index: 1;
    background-color: #fdfaf6; /* 기존 배경색 */
    padding: 0 10px;
}

/* 구분선 선 그리기 */

.new-sns-wrap .sns-title-bar:before,
.new-sns-wrap .sns-title-bar:after {
    content: ""; position: absolute; top: 50%; width: 50%;
    height: 1px; background-color: #e0e0e0;
}

.new-sns-wrap .sns-title-bar:before { left: 0; margin-left: -50%; }
.new-sns-wrap .sns-title-bar:after { right: 0; margin-right: -50%; }


/* ★★★ 버튼 목록 (3분할 핵심) ★★★ */

.new-sns-wrap .sns-btn-list {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    justify-content: space-between; /* 3개 버튼 균등 배치 */
    gap: 10px; /* 버튼 사이 간격 */

}


/* ★★★ 개별 버튼 (균등 너비) ★★★ */

.new-sns-wrap .sns-btn-list li {
    flex: 1; /* 남은 공간을 균등하게 차지 */
    min-width: 0; 
    border-radius: 8px; 
    overflow: hidden; 
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* 은은한 그림자 */
    transition: transform 0.2s, box-shadow 0.2s; /* 추가 */
}

/* A 태그 (버튼 스타일) */
.new-sns-wrap .sns-btn-list li a {
    display: flex;
    align-items: center; 
    justify-content: center; /* 텍스트 가로 중앙 정렬 */
    height: 48px;
    font-size: 15px; 
    font-weight: bold;
    text-decoration: none;
    position: relative; 
    box-sizing: border-box;
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
    transition: opacity 0.2s;
}



/* hover 효과 */

.new-sns-wrap .sns-btn-list li a:hover {
    opacity: 0.9;
}



/* SNS별 텍스트 색상 */

.new-sns-wrap .sns-btn-list li a.sns-kakao { 
    color: #3C1E1E; /* 카카오 공식 색상 */

}

.new-sns-wrap .sns-btn-list li a.sns-naver { 
    color: #FFFFFF; 

}

.new-sns-wrap .sns-btn-list li a.sns-apple { 
    color: #000000; 

}



/* 아이콘 위치 설정 (가상 요소 ::before) */

.new-sns-wrap .sns-btn-list li a::before {
    content: '';
    position: absolute; 
    left: 15px; /* 왼쪽 패딩 위치 */
    top: 50%; 
    transform: translateY(-50%);
    width: 20px; 
    height: 20px; 
    background-size: contain; 
    background-repeat: no-repeat; 
}



/* 실제 아이콘 경로 (URL은 예시입니다. 실제 경로로 변경 필요) */

/* 해당 경로는 사용자님이 제공한 기존 경로를 참고했습니다. */

.new-sns-wrap .sns-btn-list li a.sns-naver::before { 

    background-image: url('/design/daehangold/naver_icon.png'); 

}

.new-sns-wrap .sns-btn-list li a.sns-kakao::before { 

    background-image: url('/design/daehangold/kakao_icon.png'); 

}

.new-sns-wrap .sns-btn-list li a.sns-apple::before { 

    background-image: url('/design/daehangold/apple_icon.png'); 

}
/* ★★★ [추가] 개별 버튼 마우스 호버 시 드롭 쉐도우 효과 ★★★ */
.new-sns-wrap .sns-btn-list li:hover {
    transform: translateY(-2px); /* 살짝 위로 이동 */
    box-shadow: 0 8px 15px rgba(0,0,0,0.15); /* 그림자 강조 */
}
/* ★★★ [추가] 버튼 클릭(누를 때) 시 효과 ★★★ */
.new-sns-wrap .sns-btn-list li a:active {
    transform: translateY(1px); /* 살짝 눌리는 느낌 */
    box-shadow: 0 1px 2px rgba(0,0,0,0.1); /* 그림자를 줄여서 눌린 효과 */
    opacity: 1.0; 
}

/* --- [새로 추가] SNS 버튼 3분할 영역 (678px 너비에 맞춤) --- */

#join_test .new-sns-wrap {

    width: 678px; 

    /* 기존: margin: 0 auto 30px auto; */

    margin: 0 auto 50px auto; /* ★ 아래쪽 여백을 30px에서 50px로 증가 ★ */

    text-align: center;

}



/* SNS 버튼 목록을 감싸는 박스 스타일 */

#join_test .sns-box-container {

    /* 기존 회원가입 폼의 박스 스타일 활용 */

    border: 1px solid #e0d5c6; /* ★ 골드/브라운 톤 테두리 */

    border-radius: 12px;

    background: #ffffff;

    padding: 25px; /* 내부 패딩 추가 */

    margin-top: 20px; /* 제목 바와 약간의 간격 */

    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 은은한 그림자 추가 */

}



/* ★ SNS 버튼 목록의 마진/패딩 제거 (sns-box-container가 여백을 담당) ★ */

.new-sns-wrap .sns-btn-list {

    margin: 0; /* 중앙 정렬용 margin: 0 auto;를 제거 */

}


/* BASIC css end */

