@charset "utf-8";
/*font*/
@import url('/data/font/pretendard.css');
@import url('/data/font/gmarket.css');


/* css reset */
* {
    margin:0; padding:0; border:0; outline:0; box-sizing:border-box;
    -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box;
}
html {
    -moz-text-size-adjust: none; -ms-text-size-adjust : none; 
    -webkit-text-size-adjust: none; text-size-adjust: none;
    scroll-behavior: smooth;
}
body {
    font-family:'Pretendard', sans-serif; word-break: keep-all;
    transition: all ease .25s; background-color:#fff; min-height: 100dvh;
    letter-spacing: -0.5px;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block;}
button, input, select, optgroup, textarea {font-family:'Pretendard', sans-serif;}
button, label, a, ::-webkit-file-upload-button {cursor:pointer;}
input, img { border: none; display: block; }
input:focus, select:focus { outline: none; }
em, i, address {font-style: normal;}
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
a {display:block; text-decoration: none; color: #000;}
select {appearance: none; -moz-appearance: none; -webkit-appearance: none;}
button {background-color: transparent; display: block;}
textarea {resize: none;}

/* input type=[number] 화살표 제거 */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {-webkit-appearance: none; margin: 0;}
input[type='number'] {-moz-appearance: textfield; /* Firefox */}



/* custom common */
/* font color */
.fc-m {color: #FF313D !important;} /* 메인 컬러 */
.fc-w {color: #fff !important;} 
.fc-b03 {color: #333;}
.fc-gr {color: #666;}
.fc-gr02 {color: #999;}

.fw-b {font-weight: bold;}
.fw-n {font-weight: 400 !important;}

/* background */
.bg-m {background-color: #FF313D;} /* 메인 컬러 */
.kakao {background-color: #FEE500;}

/* etc. */
.flex { display: flex; align-items: center;}
.flex-c {display: flex; align-items: center; justify-content: center;}
/* .flex-wrap {flex-wrap: wrap;} */

.transition {transition: all 0.3s;}

.txt-c {text-align: center;}

/* button */
.btn {font-weight: bold; padding: 10px 24px; border-radius: 10px;}
.btn:hover, .btn:focus {background-color: #ff000d;}


/* ---------- scroll bar ---------- */
.cm-scrollbar { overflow-y: scroll; }
.cm-scrollbar::-webkit-scrollbar { width: 5px; } /* 스크롤바 설정*/
.cm-scrollbar::-webkit-scrollbar-thumb { /* 스크롤바 막대 설정*/
    background: rgba(0, 0, 0, 0.5); border-radius: 10px;
}
/* 스크롤바 뒷 배경 설정*/
.cm-scrollbar::-webkit-scrollbar-track {background: rgba(0, 0, 0, 0);}
.cm-scrollbar::-webkit-scrollbar-button:vertical:end:decrement {
    display: block; width: 25px;
}


/* --------- input --------- */
input {width: 100%; border: 1px solid #ddd; border-radius: 10px; padding: 0 10px;}
input::placeholder {color: #ababab;}
label {cursor: pointer;}
input[type="radio"],
input[type="checkbox"] {display: none; appearance:none;}

.agree input + label span {
    display: block; width: 16px; height: 16px;
    background: url('/_img/ico_checked.svg') no-repeat center; background-size: cover;
    filter: invert(84%) sepia(4%) saturate(20%) hue-rotate(26deg) brightness(91%) contrast(87%);
}
.agree input[type="checkbox"]:checked + label span {filter: none;}
.agree input[type="radio"] + label span {border-radius: 100px; position: relative;}
.agree input[type="radio"]:checked + label span::before {
    content: ''; display: block; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%); width: 10px; height: 10px;
    background-color: #FF313D; border-radius: 100px;
}


/* ----------- form ---------- */
.boardwriteWrap {width: 100%;}
.boardwriteWrap .form-title h2 {font-size: 22px; font-weight: 400; margin-bottom: 15px;}
.boardwriteWrap .boardWrite {display: flex; flex-wrap: wrap; gap: 15px;}
.boardwriteWrap dl{width: 100%;}
.boardwriteWrap dl.flex {
    border: 1px solid #E1E1E1; border-radius: 8px;
    height: 46px; padding: 0 15px;
}
.boardwriteWrap dl dt {
    font-size: 16px; font-weight: 500; min-width: 54px; cursor: default;
}
.boardwriteWrap dd input, .boardwriteWrap dl dd textarea  {
	font-size: 14px; background-color: #fff;
}
.boardwriteWrap dl dd textarea {padding: 12px 20px; height: 94px; line-height: 1.4;}
.boardwriteWrap input:focus, .boardwriteWrap textarea:focus {border-color: #FF313D;}
.boardwriteWrap dd.agree {font-size:13px; font-weight: 500; margin-top: 6px;}
.boardwriteWrap dd input {border: none;}
.boardwriteWrap label em {margin: 0 4px 0 2px;}
.boardwriteWrap dd.agree a { margin-left: 4px; color: #666;}
.boardwriteWrap button {
    margin-top: 20px; height: 50px; width: 100%;
    border-radius: 10px; font-weight: 600;
}


#consultPopup .boardwriteWrap dd.flex{
	gap: 5px;
}
.input-radio{
	flex:1;
}
.input-radio label{
	display:block; height:40px; line-height:38px;
	margin-top:6px; background:#fff;
	border-radius:8px; border: 1px solid #ddd;
	font-size:15px; text-align:center; color: #999;
}
.input-radio input:checked + label{
	border: 1px solid #FF313D; color:#FF313D;
}

/* content checkBox */



@media (max-width: 768px) {
    .agree input + label span {width: 14px; height: 14px;}
    .check  label {font-size: 14px;}

    .boardwriteWrap .form-title h2 {font-size: 18px;}
    .boardwriteWrap dl dt {font-size: 14px;}
    .boardwriteWrap button { font-size: 15px; height: 40px;}
    .boardwriteWrap dl.flex {
        height: 38px;
    }





}