@charset "utf-8";

html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, 
del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, sub, sup, tt, var, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend input, textarea, button, select{
    vertical-align: baseline;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    outline: 0;
    padding: 0;
    margin: 0;
    border: 0;
}


* { margin:0; padding:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
ul, li {list-style:none; }
html { width:100%; }
body { width:100%; height:100%; line-height:100%; color:#000; font-size:1em; font-family: 'Pretendard'; overflow-y:visible!important; box-sizing:border-box; display: flex; flex-direction: column; align-items: center; }
img { vertical-align:middle; border:none; }
a { text-decoration:none; cursor:pointer; }
p { }
div, input, button { vertical-align:middle; border:none; font-family: 'Pretendard'; }
textarea { border:none; }
.red {color:#ee0000; font-weight:500; }

li { list-style: none; margin: 0; padding: 0;}
.continaer { max-width: 1920px; margin: 0 auto; outline: 1px solid red; }

button, .click img { cursor: pointer; }
.top_btn { right:20px; bottom:20px; position: fixed; z-index: 9999; background-color: transparent; }

.mo { display: none; }

@media screen and (max-width: 768px) {
    .pc { display: none; }
    .mo { display: block; }
}

/* PC 
------------------------------------------------------------------------------------------------------------*/

.contents { position:relative; text-align:center; max-width: 750px; }
.contents img { width:100%; }

/* main_db */
#main_db {width:100%; padding:2.5rem; background: #282928}
#main_db h1 {text-align: center; margin-bottom: 5%; font-family: 'GMarketSans'; font-weight: 700; font-size: 2.75rem; color: white; line-height: 1.2; }
#main_db h1 span { color: #f21c00; }
#main_db dl {width:100%; display:table; margin-bottom:10px}
#main_db dl > * {display:table-cell; vertical-align:middle;}

#main_db dl dt {width:30%; font-size: 21px; font-weight: 500; color:#fff; text-align: left;}
#main_db dl dt label { width: 100%; line-height: 40px; display: flex; }
#main_db dl dd {width:70%}
#main_db dl dd input {width:100%; height:45px; padding:0 10px; font-family: inherit; font-size: 18px; border-radius: 0; border:0}
#main_db dl dd .s_btn {width:100%; height:45px; line-height:45px; text-align:center}
#main_db dl dd .s_btn label {width:50%; height:100%; float:left; background:#fff; cursor:pointer; font-size: 18px}
#main_db dl dd .s_btn label:has(:checked) {background:#fa2d0e; color:#222; font-weight: 700; color:#fff}
#main_db dl dd .s_btn label input { display: none; }

.tel_wrap { display: flex; align-items: center; gap: 8px; color: white; }

/* DB창 감량목표 부분 */
#main_db dl dd .content_wrap {margin:0 -3px}
#main_db dl dd .content_wrap:before,
#main_db dl dd .content_wrap:after {content:''; width: 100%; display: block}
#main_db dl dd .content_wrap:after {clear: both;}
#main_db dl dd .content_wrap > div {width: 25%; float: left; text-align: center; padding: 0 3px}
#main_db dl dd .content_wrap > div label {background: #fff; display: block; width: 100%; height: 45px; line-height: 45px}
#main_db dl dd .content_wrap > div input[type="radio"] {display: none}
#main_db dl dd .content_wrap > div input[type="radio"]:checked + label {background: #fa2d0e; border-color:#fa2d0e; font-weight: 500; color:#fff}

#main_db .agree {width:100%;  margin:20px 0; text-align:center; clear:both}
#main_db .agree a {vertical-align: middle; font-size:12px; color:#fff}
#main_db .agree input[type="checkbox"] {vertical-align:middle; margin-right:3px}
#main_db .bnr {text-align:center}
#main_db .bnr button {width:100%}
#main_db .bnr button img {width:100%}
#main_db .bnr a {display: block; margin-top: 10px}
#main_db .bnr a img {width: 100%}

.incall a {display:block}
.incall a img {width:100%}

.ppl a {display:block}
.ppl a img {width:100%; max-width:750px;}

#footer { width: 100%; padding:20px 10px; background:#444; text-align:center}
#footer p {color:#eee; line-height:1.5; font-size:10px; font-weight:300; opacity:.6}

/* 하단 픽스 디비창 */
.fix_form_open {width: 100%; position: fixed; bottom: 0; left: 0; display: none;}
.fix_form_open button {display: block; width: 100%; height: 60px; line-height: 60px; background: #222; color:#fff100; font-size: 24px; font-family: inherit; font-weight: 600}

.fix_db_form {width: 100%; padding: 10px; background: #e70302; position: fixed; bottom:0; left: 0; z-index: 9}
.fix_db_form .close {background: #222; color:#fff; position: absolute; top: -34px; left: 50%; margin-left: -75px; width: 150px; height: 34px; border-radius: 15px 15px 0 0; display: none;}
.fix_db_form .form_inner {max-width: 850px; margin: 0 auto}
.fix_db_form .form_inner form {display: flex; align-items: center}
.fix_db_form .form_inner .input_form {width: 70%}
.fix_db_form .form_inner .input_form ul {margin: 0 -5px}
.fix_db_form .form_inner .input_form ul:before,
.fix_db_form .form_inner .input_form ul:after {content:''; width: 100%; display: block}
.fix_db_form .form_inner .input_form ul:after {clear: both}
.fix_db_form .form_inner .input_form ul li {width: 50%; float: left; padding: 5px; display: flex; align-items: center}
.fix_db_form .form_inner .input_form ul li > label {font-size: 17px; font-weight: 500; color: #fff; display: inline-block; width: 25%; flex-shrink: 0; }
.fix_db_form .form_inner .input_form ul li input[type="text"],
.fix_db_form .form_inner .input_form ul li input[type="tel"] {width: 75%; height: 40px; font-weight: 500; text-indent: 12px; font-size: 1rem; }
.fix_db_form .form_inner .input_form ul li span {width: 50px; text-align: center; margin-right: 5px; display: inline-block; position: relative}
.fix_db_form .form_inner .input_form ul li span input[type="radio"] {vertical-align: middle; position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0;}
.fix_db_form .form_inner .input_form ul li span label {font-size: 15px; font-weight: 400; color:#fff; line-height: 38px; border: 1px solid #fff; padding: 0px 5px; display: block}
.fix_db_form .form_inner .input_form ul li span input[type="radio"]:checked + label{border-color: #222; background: #222}


.fix_db_form .form_inner .bnr {width: 30%; padding-left: 20px}
.fix_db_form .form_inner .bnr button {width: 100%; height: 50px; background: #222; color: #fff100; font-size: 24px; font-weight: 600; letter-spacing: -1px; line-height: 50px}
.fix_db_form .form_inner .bnr .agree {margin-top: 10px; text-align: center}
.fix_db_form .form_inner .bnr .agree input {vertical-align: middle}
.fix_db_form .form_inner .bnr .agree a {color: #fff; font-size: 12px}


@media screen and (max-width:500px) {
    #main_db { padding: 1.5rem; }
    #main_db dl dd .content_wrap > div {width: 50%; padding: 3px}

    .fix_form_open {display: block}
    .fix_db_form {bottom: -9999px; padding-bottom: 25px}
    .fix_db_form .close {display: block}
    .fix_db_form .form_inner form {display: block}
    .fix_db_form .form_inner .input_form,
    .fix_db_form .form_inner .bnr {width: 100%}
    
    .fix_db_form .form_inner .input_form ul li {display: block}
    .fix_db_form .form_inner .input_form ul li > label {display: block; width: 100%; font-size: 14px; margin-bottom: 4px}
    .fix_db_form .form_inner .input_form ul li input[type="text"],
    .fix_db_form .form_inner .input_form ul li input[type="tel"] {width: 100%}
    .fix_db_form .form_inner .input_form ul li span {width: auto; margin-right: 0}
    .fix_db_form .form_inner .input_form ul li span label {font-size: 13px}

    .fix_db_form .form_inner .bnr {padding-left: 0; margin-top: 10px}

    .top_btn img { display: none; }
}