@charset "utf-8";

/* 테마 변수 정의 */
:root {
    --bg-color: #ffffff;
    --text-color: #555555;
    --heading-color: #000;
    --header-bg: rgba(255, 255, 255, 0.9);
    --header-border: rgba(0, 0, 0, 0.05);
    --header-border2: rgba(0, 0, 0, 0.15);
    
    --primary-color: #00afab;
    --primary-hover: #008c89;
    
    --lida-bg: #fff;
    --lida-btn-bg: transparent;
    --lida-btn-active: #000;
    --lida-btn-color: #eee;
    --lida-btn-active-color: #000;
    
    --footer-bg: #000;
    --footer-text: #8d8d8d;
    --footer-title: #ffffff;

    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --bg-color: #000000;
    --text-color: #bbbbbb;
    --heading-color: #fff;
    --header-bg: rgba(18, 18, 20, 0.9);
    --header-border: rgba(255, 255, 255, 0.08);
    --header-border2: rgba(255, 255, 255, 0.15);
    
    --lida-bg: #000;
    --lida-btn-active: #fff;
    --lida-btn-color: #212121;
    --lida-btn-active-color: #fff;
    
    --footer-bg: #000;
    --footer-text: #8d8d8d;
    --footer-title: #fff;
}

/* layout */
html, body { height:100%;}
body { 
    background-color: var(--bg-color);
    color: var(--text-color); 
    letter-spacing:-.05em; 
    -webkit-text-size-adjust:none; 
    -webkit-font-smoothing:antialiased;
}

/* 테마 전환 시 부드러운 트랜지션 적용 */
body, #header, #footer, section, div, p, h1, h2, h3, h4, h5, h6, a, button {
    transition: background-color var(--transition-speed) ease, 
                color var(--transition-speed) ease, 
                border-color var(--transition-speed) ease, 
                box-shadow var(--transition-speed) ease;
}

#wrap {	position:relative; width:100%; min-width:320px;height:100%; font-size:1rem; }
.inner {	width:1280px;	position:relative;	margin-left:auto;	margin-right:auto;}


@media all and (max-width:1279px) {	
    .inner {width:94%;}
}

/* btn_box */
.btn_box{display: flex; justify-content: center; gap:10px;}
.btn_box > a{line-height: 48px; border-radius: 40px;}
.btn_box .btn1{background-color: var(--lida-btn-color); color:var(--lida-btn-active-color); padding: 0 30px; font-weight: 700;}
.btn_box .btn2{padding: 0 25px 0 25px; background-color: var(--lida-btn-active); color:var(--lida-bg); font-weight: 700; font-size: 16px;}
.btn_box .btn2.free{padding: 0 25px 0 14px;}
.btn_box .btn2 span{background-color: var(--lida-bg); color:var(--lida-btn-active); font-size: 15px; font-weight: 700; padding: 0px 8px; border-radius: 30px; display: inline-block; line-height: 30px; margin-right: 3px;}

@media all and (max-width:1280px) {
    .btn_box > a{line-height: 45px;}
    .btn_box .btn1{padding: 0 28px;}
    .btn_box .btn2{padding: 0 23px;}
    .btn_box .btn2.free{padding: 0 23px 0 13px;}
    .btn_box .btn2 span{padding: 0 7px; line-height: 28px;}
}
@media all and (max-width:1024px) {
    .btn_box > a{line-height: 43px;}
    .btn_box .btn1{padding: 0 26px; font-size: 15px;}
    .btn_box .btn2{padding: 0 21px; font-size: 15px;}
    .btn_box .btn2.free{padding: 0 21px 0 12px;}
    .btn_box .btn2 span{padding: 0 7px; line-height: 27px; font-size: 14px;}
}
@media all and (max-width:768px) {
    .btn_box > a{line-height: 41px;}
    .btn_box .btn1{padding: 0 24px;}
    .btn_box .btn2{padding: 0 19px;}
    .btn_box .btn2.free{padding: 0 19px 0 11px;}
    .btn_box .btn2 span{padding: 0 6px; line-height: 26px;}
}
@media all and (max-width:500px) {
    .btn_box > a{line-height: 39px;}
    .btn_box .btn1{padding: 0 22px;}
    .btn_box .btn2{padding: 0 17px;}
    .btn_box .btn2.free{padding: 0 17px 0 10px;}
}


/* header */
#header{height: 80px; background-color: transparent; position: fixed; top: 0; left: 0; width: 100%; z-index: 999;}
#header.on{background-color: rgba(255,255,255,0.5); backdrop-filter: blur(5px);}
[data-theme="dark"] #header.on{background-color: rgba(0,0,0,0.5); backdrop-filter: blur(5px);}
#header .inner{height: 100%;}
#header .inner #logo{ width: 144px; height: 40px; background: url(/images/common/logo.webp) no-repeat left center / contain; position: absolute; top: 50%; left: 0; transform: translateY(-50%); filter: invert(1); z-index: 99;}
#header .inner #logo a{display: block; width: 100%; height: 100%; background: url(/images/common/logo.webp) no-repeat left center / contain;}
[data-theme="dark"] #header .inner #logo{filter: none;}
#header .inner .pcGnb{height: 100%;}
#header .inner .pcGnb > ul{display: flex; gap:45px; justify-content: center; align-items: center; height: 100%;}
#header .inner .pcGnb > ul > li{}
#header .inner .pcGnb > ul > li > div{}
#header .inner .pcGnb > ul > li > div > a{color:var(--heading-color); font-size: 16px; font-weight: 600;}
#header .inner .pcGnb > ul > li > ul{}
#header .inner .pcGnb > ul > li > ul > li{}
#header .inner .pcGnb > ul > li > ul > li > a{}
#header .inner .btn{position: absolute; top:50%; right:0; transform: translateY(-50%); gap:15px; display: flex; align-items: center;}
#header .inner .btn .lida{}
#header .inner .btn .lida button{display: none;}
#header .inner .btn .lida button.on{display: block;}
#header .inner .btn .btn2{background-color: var(--lida-btn-active); color:var(--lida-bg); font-size: 15px; font-weight: 700; padding: 6px 10px;border-radius: 30px; padding-right: 15px; display: flex; gap:5px; align-items: center;}
#header .inner .btn .btn2 span{background-color: var(--lida-bg); color:var(--lida-btn-active); font-size: 13.5px; font-weight: 700; padding: 4px 6px; border-radius: 30px; display: inline-block;}

@media all and (max-width:1280px){

}
@media all and (max-width:1024px){
    #header{height: 70px;}
    #header .inner #logo{width: 127px;}
    #header .inner .pcGnb{display: none;}
    #header .inner .btn{gap:10px;}
    #header .inner .btn .btn2{padding: 5px 8px; font-size: 14px; padding-right: 13px;}
    #header .inner .btn .btn2 span{font-size: 12px; padding: 3px 6px;}
}
@media all and (max-width:768px){
    #header{height: 62px;}
    #header .inner #logo{width: 115px;;}
}
@media all and (max-width:500px){
    
}


/* footer */
#footer {	
    background-color: #060407;
    padding: 80px 0;
}
#footer .inner{}
#footer .inner .top{display: flex; justify-content: space-between;}
#footer .inner .top .l_cont{}
#footer .inner .top .l_cont #f_logo{width: 144px; height: 40px; background: url(/images/common/logo.webp) no-repeat left center / cover; margin-bottom: 15px;}
[data-theme="dark"] #footer .inner .top .l_cont .f_logo{filter: none;}
#footer .inner .top .l_cont .info{}
#footer .inner .top .l_cont .info p{font-size: 14px; color:#fff; opacity: 0.6; line-height: 1.7em; font-weight: 300;}
#footer .inner .top .l_cont .link{margin-top: 50px; display: flex; gap:10px;}
#footer .inner .top .l_cont .link li{}
#footer .inner .top .l_cont .link li a{color:#fff; font-size: 14px;}
#footer .inner .top .l_cont .link li a b{}
#footer .inner .top .c_cont{}
#footer .inner .top .c_cont .info{}
#footer .inner .top .c_cont .info h2{color:#fff; font-weight: 600; font-size: 15px; margin-bottom: 15px;}
#footer .inner .top .c_cont .info p{font-size: 14px; color:#8d8d8d; line-height: 1.7em; font-weight: 300;}
#footer .inner .top .c_cont .info p a{color:#fff; text-decoration: underline; text-underline-position: under;}
#footer .inner .top .c_cont .info .tel{margin-top: 20px;}
#footer .inner .top .c_cont .info .tel h3{color:#fff; font-size: 24px;}
#footer .inner .top .c_cont .info .tel .mail{font-size: 16px; font-weight: 400; color:#fff; margin-top: 2px;}
#footer .inner .top .c_cont .info .tel .time{font-size: 14px; font-weight: 400; color:#fff; opacity: 0.5; margin-top: 10px;}
#footer .inner .top .r_cont{}
#footer .inner .top .r_cont > ul{display: flex; gap:70px}
#footer .inner .top .r_cont > ul > li{}
#footer .inner .top .r_cont > ul > li > div{}
#footer .inner .top .r_cont > ul > li > div > a{color:#fff; font-weight: 600; font-size: 15px; margin-bottom: 15px;}
#footer .inner .top .r_cont > ul > li > ul{}
#footer .inner .top .r_cont > ul > li > ul > li{}
#footer .inner .top .r_cont > ul > li > ul > li > a{}
#footer .inner .bottom{margin-top: 70px; padding-top: 40px; border-top: 1px solid #333;}
#footer .inner .bottom .cert{display: flex; align-items: center; gap:20px;}
#footer .inner .bottom .cert li{display: flex; align-items: center; gap:10px;}
#footer .inner .bottom .cert li img{max-width:100%;}
#footer .inner .bottom .cert li p{font-size: 14px; font-weight: 600; color:#eee;}

@media all and (max-width:1280px) {
    #footer .inner .top .r_cont > ul{gap:50px;}
}
@media all and (max-width:1024px) {
    #footer { padding: 60px 0; }
    #footer .inner .top { flex-wrap: wrap; }
    #footer .inner .top .l_cont { width: 50%; }
    #footer .inner .top .c_cont { width: 50%; }
    #footer .inner .top .r_cont { display: none; }
    #footer .inner .bottom { margin-top: 50px; padding-top: 30px; }
    
    /* 2열 그리드로 정밀 정돈 및 각 셀 내부 중앙 정렬 */
    #footer .inner .bottom .cert {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 30px;
    }
    #footer .inner .bottom .cert li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    #footer .inner .bottom .cert li:last-child {
        grid-column: span 2;
        justify-content: center;
    }
}
@media all and (max-width:768px) {
    #footer { padding: 50px 0; }
    #footer .inner .top { flex-direction: column; align-items: center; text-align: center; }
    #footer .inner .top .l_cont { width: 100%; }
    #footer .inner .top .l_cont #f_logo { margin: 0 auto 15px; }
    #footer .inner .top .l_cont .link { margin-top: 30px; justify-content: center; }
    #footer .inner .top .c_cont { width: 100%; margin-top: 40px; }
    #footer .inner .bottom { margin-top: 40px; padding-top: 25px; }
    
    /* 2열 격자를 유지하며 내부 아이템들을 셀 가로 중앙에 배치 */
    #footer .inner .bottom .cert {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 20px;
    }
    #footer .inner .bottom .cert li {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    #footer .inner .bottom .cert li:last-child {
        grid-column: span 2;
        justify-content: center;
    }
}
@media all and (max-width:500px) {
    #footer { padding: 40px 0; }
    #footer .inner .top .l_cont .info p { font-size: 13px; }
    #footer .inner .top .l_cont .link { margin-top: 25px; gap: 15px; }
    #footer .inner .top .l_cont .link li a { font-size: 13px; }
    #footer .inner .top .c_cont { margin-top: 35px; }
    #footer .inner .top .c_cont .info h2 { font-size: 14px; margin-bottom: 10px; }
    #footer .inner .top .c_cont .info p { font-size: 13px; }
    #footer .inner .top .c_cont .info .tel { margin-top: 15px; }
    #footer .inner .top .c_cont .info .tel h3 { font-size: 20px; }
    #footer .inner .top .c_cont .info .tel .mail { font-size: 14px; }
    #footer .inner .top .c_cont .info .tel .time { font-size: 13px; }
    #footer .inner .bottom { margin-top: 35px; }
    
    /* 모바일 뷰포트에서 세로 정렬 시 각 아이템의 중심을 화면 정중앙에 정확히 고정 */
    #footer .inner .bottom .cert {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    #footer .inner .bottom .cert li {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    #footer .inner .bottom .cert li p { font-size: 12px; }
}