@import url("common.css");
@import url("kp_public_popup.css");

/* Font Style - font-weight 

font-family: 'GmarketSansLight';
font-family: 'GmarketSansMedium';
font-family: 'GmarketSansBold';

100 NotoSans-Thin
300 NotoSans-Light 
350 NotoSans-DemiLight
400 NotoSans-Regular
500 NotoSans-Medium
700 NotoSans-Bold
900 NotoSans-Black
*/

/* layout */
#wrap {position:relative; z-index:1; width:100%; background:#fff;}

#header_m,#header,
#container,
#footer {width:100%;}

#header_m,#header {
    position:relative;
    z-index:30;
    background:transparent;
}
#container .main_visual {
    position:relative;
    height:clamp(520px, 46.875vw, 900px);
    background:#1a1a1a;
}

/* 슬라이드 배경: main_visual 전체 */
#container .main_visual .slide_viewport {
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    z-index:0;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    width:100%;
}
#container .main_visual .slide_track {
    flex:1;
    min-height:0;
    position:relative;
    width:100%;
    height:100%;
    overflow:hidden;
}
#container .main_visual .slide_track .slide {
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    margin:0;
    max-width:none;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    padding-top:110px;
    overflow:hidden;
    opacity:0;
    z-index:1;
    pointer-events:none;
    transition:opacity 0.65s ease;
    will-change:opacity;
}
#container .main_visual .slide_track .slide::before {
    content:"";
    position:absolute;
    left:-3%;
    top:-3%;
    width:106%;
    height:106%;
    z-index:0;
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    transform:scale(1);
    transform-origin:center center;
    animation:heroBgBreath 18s ease-in-out infinite;
}
#container .main_visual .slide_track .slide.is_active {
    opacity:1;
    z-index:2;
    pointer-events:none;
}
#container .main_visual .slide_track .slide.is_active .slide_inner {
    pointer-events:auto;
}
#container .main_visual .slide_track .slide:nth-child(1)::before {
    background-image:url('/images/main/main11.jpg');
}
#container .main_visual .slide_track .slide:nth-child(2)::before {
    background-image:url('/images/main/main12.jpg');
    animation-delay:-4.5s;
}
#container .main_visual .slide_track.is_reduced_motion .slide {
    transition:none;
}
#container .main_visual .slide_track.is_reduced_motion .slide::before {
    animation:none;
}
@media (prefers-reduced-motion: reduce) {
    #container .main_visual .slide_track .slide {transition:none;}
    #container .main_visual .slide_track .slide::before {animation:none;}
}
#container .main_visual .slide_inner {
    position:relative;
    z-index:1;
    width:calc(100% - 40px);
    max-width:1200px;
    margin:0 auto;
    padding:32px 0 80px;
    box-sizing:border-box;
}
@keyframes heroBgBreath {
    0% {transform:scale(1);}
    50% {transform:scale(1.045);}
    100% {transform:scale(1);}
}

/* 히어로 슬라이드 컨트롤 (텍스트 열과 동일 폭, 하단) */
#container .main_visual .slide_controls_holder {
    position:absolute;
    left:0;
    right:0;
    bottom:100px;
    z-index:4;
    pointer-events:none;
}
#container .main_visual .slide_ui_max {
    width:calc(100% - 40px);
    max-width:1200px;
    margin:0 auto;
    pointer-events:auto;
}
#container .main_visual .slide_controls {
    display:inline-flex;
    align-items:center;
    flex-wrap:wrap;
    gap:4px 8px;
    padding:2px 18px 5px 20px;
    border-radius:999px;
    background:rgba(0, 0, 0, 0.38);
    color:#fff;
    font-size:13px;
    font-weight:500;
    box-shadow:0 2px 10px rgba(0, 0, 0, 0.22);
}
#container .main_visual .slide_controls_count {
    margin-right:8px;
    letter-spacing:0.06em;
    font-variant-numeric:tabular-nums;
}
#container .main_visual .slide_ctrl_btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:28px;
    padding:0 4px;
    border:0;
    border-radius:6px;
    background:transparent;
    color:#fff;
    font-size:20px;
    line-height:1;
    cursor:pointer;
    transition:background 0.15s ease;
}
#container .main_visual .slide_ctrl_prev,
#container .main_visual .slide_ctrl_next {
    transform:translateY(-1px);
}
#container .main_visual .slide_ctrl_btn:hover {
    background:rgba(255, 255, 255, 0.16);
}
#container .main_visual .slide_ctrl_pausebars {
    display:inline-flex;
    gap:3px;
    align-items:center;
    justify-content:center;
}
#container .main_visual .slide_ctrl_pausebars span {
    display:block;
    width:3px;
    height:12px;
    background:#fff;
    border-radius:1px;
}
#container .main_visual .slide_ctrl_playshape {
    display:none;
    width:0;
    height:0;
    margin-left:2px;
    border-style:solid;
    border-width:7px 0 7px 12px;
    border-color:transparent transparent transparent #fff;
}
#container .main_visual .slide_viewport.is_slideshow_paused .slide_ctrl_pausebars {
    display:none;
}
#container .main_visual .slide_viewport.is_slideshow_paused .slide_ctrl_playshape {
    display:block;
}
#container .main_visual .slide_item {
    max-width:100%;
    text-align:left;
    color:#fff;
}
#container .main_visual .slide_item .slide_label,
#container .main_visual .slide_item .slide_title,
#container .main_visual .slide_item .slide_desc {
    text-shadow:0 1px 2px rgba(0, 0, 0, 0.35), 0 0 1px rgba(0, 0, 0, 0.2);
}
#container .main_visual .slide_label {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px 14px;
    margin:0 0 12px;
    font-size:clamp(18px, 2.35vw, 36px);
    font-family: 'GmarketSansBold';
    font-weight:600;
    line-height:1.3;
    letter-spacing:-0.03em;
    text-transform:uppercase;
    color:#fff;
}
#container .main_visual .slide_label .slide_label_line {
    display:block;
    width:150px;
    height:3px;
    flex-shrink:0;
    background:rgba(255, 255, 255, 0.95);
    box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);
}
#container .main_visual .slide_title {
    margin:0 0 22px;
    font-size:clamp(34px, 4.5vw, 69px);
    font-family: 'GmarketSansBold';
    font-weight:900;
    line-height:1.2;
    letter-spacing:-0.03em;
    color:#fff;
}
#container .main_visual .slide_desc {
    margin:0;
    font-size:clamp(18px, 2.35vw, 36px);
    font-family: 'GmarketSansMedium';
    font-weight:400;
    line-height:1.55;
    letter-spacing:-0.02em;
    color:#fff;
}

/* 슬라이드 카피: 비활성 시 숨김, 활성 시 순차 페이드 + 이동 */
#container .main_visual .slide:not(.is_active) .slide_label,
#container .main_visual .slide:not(.is_active) .slide_title,
#container .main_visual .slide:not(.is_active) .slide_desc {
    animation:none;
    opacity:0;
}
#container .main_visual .slide:not(.is_active) .slide_label {
    transform:translateY(-12px) translateX(-10px);
}
#container .main_visual .slide:not(.is_active) .slide_title {
    transform:translateY(20px);
}
#container .main_visual .slide:not(.is_active) .slide_desc {
    transform:translateX(-22px);
}
#container .main_visual .slide.is_active .slide_label {
    animation:heroInLabel 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) 0s forwards;
}
#container .main_visual .slide.is_active .slide_title {
    animation:heroInTitle 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) 0.24s forwards;
}
#container .main_visual .slide.is_active .slide_desc {
    animation:heroInDesc 0.95s cubic-bezier(0.22, 0.61, 0.36, 1) 0.48s forwards;
}
@keyframes heroInLabel {
    from {
        opacity:0;
        transform:translateY(-12px) translateX(-10px);
    }
    to {
        opacity:1;
        transform:translate(0, 0);
    }
}
@keyframes heroInTitle {
    from {
        opacity:0;
        transform:translateY(20px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}
@keyframes heroInDesc {
    from {
        opacity:0;
        transform:translateX(-22px);
    }
    to {
        opacity:1;
        transform:translateX(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    #container .main_visual .slide:not(.is_active) .slide_label,
    #container .main_visual .slide:not(.is_active) .slide_title,
    #container .main_visual .slide:not(.is_active) .slide_desc {
        opacity:0;
        transform:none;
    }
    #container .main_visual .slide.is_active .slide_label,
    #container .main_visual .slide.is_active .slide_title,
    #container .main_visual .slide.is_active .slide_desc {
        animation:none;
        opacity:1;
        transform:none;
    }
}

/* 두 번째 슬라이드(연혁): 라벨 얇게, 제목은 한글 흰색 + SINCE 연한 블루 */
#container .main_visual .slide_item--company .slide_label {
    font-family:'GmarketSansMedium', 'Noto Sans Korean', sans-serif;
    font-weight:500;
    letter-spacing:-0.03em;
}
#container .main_visual .slide_item--company .slide_title_txt {
    color:#fff;
}
#container .main_visual .slide_item--company .slide_title_accent {
    color:#70b5f9;
    letter-spacing:0.02em;
}

@media all and (max-width:768px) {
    #container .main_visual .slide_ui_max {width:calc(100% - 24px);}
    #container .main_visual .slide_controls_holder {bottom:32px;}
    #container .main_visual .slide_inner {width:calc(100% - 24px); padding:24px 0 56px;}
    #container .main_visual .slide_label {font-size:clamp(15px, 3.9vw, 21px); letter-spacing:0.08em;}
    #container .main_visual .slide_label .slide_label_line {width:56px; height:1px;}
    #container .main_visual .slide_title {font-size:clamp(28px, 7.5vw, 40px); margin-bottom:18px;}
    #container .main_visual .slide_desc {font-size:clamp(15px, 3.9vw, 21px);}
}

/* 상단 바: 슬라이드 배경 위에 뜸 (absolute) */
#header_m .top {
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:2;
    width:100%;
    height:110px;
    box-sizing:border-box;
    background:rgba(0, 0, 0, 0.35);
    display:flex;
    align-items:center;
    overflow:visible;
}
/* 서브메뉴 전체폭 배경 (100vw 사용 시 가로 스크롤·좌측 여백 발생 → .top 기준 100%) */
#header_m .top::after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:100%;
    width:100%;
    height:210px;
    background:rgba(9, 15, 27, 0.58);
    border-top:1px solid rgba(255, 255, 255, 0.1);
    opacity:0;
    visibility:hidden;
    transition:opacity 0.18s ease;
    pointer-events:none;
    z-index:14;
}
#header_m .top:has(.gnb:hover)::after,
#header_m .top:has(.gnb:focus-within)::after {
    opacity:1;
    visibility:visible;
}
#header_m .top .header_m_nav_wrap .gnb::after {
    display:none;
}
#header_m .top_inner {
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    width:100%;
    height:100%;
    gap:24px;
}
#header_m .top .header_m_nav_wrap {
    flex:1;
    display:flex;
    flex-direction:row;
    align-items:center;
    min-width:0;
    position:relative;
    height:100%;
}
#header_m .top .logo {
    margin:0;
    flex-shrink:0;
    line-height:0;
}
#header_m .top .logo a {display:block; line-height:0;}
#header_m .top .logo img {
    display:block;
    max-height:72px;
    width:auto;
    height:auto;
}
#header_m .top .header_m_nav_wrap .gnb {
    order:1;
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    position:relative;
    height:100%;
}
#header_m .top .header_m_nav_wrap .gnb > ul {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:0;
    height:100%;
}
#header_m .top .header_m_nav_wrap .gnb > ul > li {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:150px;
    height:100%;
}
#header_m .top .header_m_nav_wrap .gnb > ul > li > a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    width:100%;
    color:#fff;
    font-size:20px;
    font-weight:500;
    letter-spacing:-0.02em;
    white-space:nowrap;
}
#header_m .top .header_m_nav_wrap .gnb > ul > li > a:hover {opacity:0.85;}
#header_m .top .header_m_nav_wrap .gnb .submenu {
    position:absolute;
    left:50%;
    top:100%;
    transform:translate(-50%, 4px);
    min-width:230px;
    padding:10px 8px;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity 0.18s ease, transform 0.18s ease;
    z-index:21;
}
#header_m .top .header_m_nav_wrap .gnb .submenu li {
    width:100%;
}
#header_m .top .header_m_nav_wrap .gnb .submenu li + li {
    margin-top:4px;
}
#header_m .top .header_m_nav_wrap .gnb .submenu a {
    display:block;
    padding:8px 14px;
    color:#fff;
    font-size:14px;
    font-weight:400;
    letter-spacing:-0.01em;
    white-space:normal;
    line-height:1.35;
    text-align:center;
}
#header_m .top .header_m_nav_wrap .gnb .submenu a:hover {
    color:#9dc6ff;
}
#header_m .top .header_m_nav_wrap .gnb:hover .submenu,
#header_m .top .header_m_nav_wrap .gnb:focus-within .submenu {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%, 0);
}
#header_m .top .header_m_nav_wrap .header_right {
    order:2;
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:10px;
}
#header_m .top .login_info {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    gap:6px 14px;
}
#header_m .top .login_info a {
    color:#fff;
    font-size:12px;
    letter-spacing:-0.02em;
    white-space:nowrap;
    padding:4px 12px;
    border-radius:999px;
    background:transparent;
    transition:background-color 0.2s ease;
}
#header_m .top .login_info a:hover,
#header_m .top .login_info a:focus {
    background:rgba(255, 255, 255, 0.18);
}
#header_m .top .btn_menu {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    box-sizing:border-box;
    height:38px;
    margin:0;
    padding:0 18px 0 20px;
    border:0;
    border-radius:999px;
    background:#1e6fd9;
    color:#fff;
    font-size:14px;
    font-weight:500;
    letter-spacing:-0.02em;
    line-height:1;
    text-decoration:none;
    cursor:pointer;
    appearance:none;
}
#header_m .top a.btn_menu {
    color:#fff;
}
#header_m .top .btn_menu img {
    display:block;
    width:auto;
    height:18px;
    vertical-align:middle;
}
#header_m .top .btn_menu:hover,
#header_m .top .btn_menu:focus {
    background:#185bb5;
    color:#fff;
}
#header_m .top .btn_ham {
    display:none;
    width:34px;
    height:34px;
    border-radius:6px;
    background:transparent;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
}
#header_m .top .btn_ham span {
    display:block;
    width:20px;
    height:2px;
    background:#fff;
}

@media all and (max-width:1210px) {
    #header_m .top_inner {
        padding-left:0;
        box-sizing:border-box;
    }
    #header_m .top .logo {
        margin-left:20px;
    }
    #header_m .top .header_m_nav_wrap .gnb > ul > li {
        min-width:148px;
    }
    #header_m .top .header_m_nav_wrap .gnb .submenu {
        min-width:148px;
    }
    #header_m .top .logo img {
        height:30px;
        max-height:none;
        width:auto;
    }
}

@media all and (max-width:1100px) {
    #header_m .top {
        height:88px;
    }
    #header_m .top_inner {
        justify-content:space-between;
        padding-left:0;
        padding-right:12px;
        gap:12px;
    }
    #header_m .top .logo {
        margin-left:30px;
    }
    #header_m .top .logo img {
        height:30px;
        width:auto;
    }
    #header_m .top .header_m_nav_wrap {
        position:absolute;
        left:0;
        right:0;
        top:100%;
        display:none;
        flex-direction:column;
        align-items:stretch;
        width:100%;
        box-sizing:border-box;
        height:auto;
        padding:0;
        background:rgba(9, 15, 27, 0.9);
        border-top:1px solid rgba(255, 255, 255, 0.1);
        z-index:25;
    }
    #header_m .top.is_menu_open .header_m_nav_wrap {
        display:flex;
    }
    #header_m .top .header_m_nav_wrap .header_right {
        order:0;
        flex-shrink:0;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        padding:14px 20px 12px;
        border-bottom:1px solid rgba(255, 255, 255, 0.1);
        gap:12px;
    }
    #header_m .top .header_m_nav_wrap .login_info {
        justify-content:flex-start;
    }
    #header_m .top .header_m_nav_wrap .btn_menu {
        align-self:center;
    }
    #header_m .top .header_m_nav_wrap .gnb {
        position:static;
        left:auto;
        right:auto;
        top:auto;
        display:block;
        flex:none;
        width:100%;
        height:auto;
        padding:10px 0 18px;
        background:transparent;
        border-top:0;
        order:1;
    }
    #header_m .top .header_m_nav_wrap .gnb > ul {
        width:calc(100% - 24px);
        max-width:520px;
        margin:0 auto;
        display:flex;
        flex-direction:column;
        flex-wrap:nowrap;
        align-items:stretch;
        justify-content:flex-start;
        gap:20px;
        height:auto;
    }
    #header_m .top .header_m_nav_wrap .gnb > ul > li {
        display:block;
        min-width:0;
        width:100%;
        height:auto;
        text-align:left;
    }
    #header_m .top .header_m_nav_wrap .gnb > ul > li > a {
        display:block;
        width:100%;
        min-height:0;
        padding:8px 10px;
        font-size:17px;
        text-align:left;
        white-space:normal;
    }
    #header_m .top .header_m_nav_wrap .gnb .submenu {
        position:static;
        left:auto;
        top:auto;
        transform:none;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        min-width:0;
        width:100%;
        padding:4px 0 0;
        text-align:left;
    }
    #header_m .top .header_m_nav_wrap .gnb .submenu li + li {
        margin-top:0;
    }
    #header_m .top .header_m_nav_wrap .gnb .submenu a {
        text-align:left;
        padding:6px 10px;
        font-size:14px;
        line-height:1.35;
        color:rgba(255, 255, 255, 0.82);
    }
    #header_m .top .header_m_nav_wrap .gnb:hover .submenu,
    #header_m .top .header_m_nav_wrap .gnb:focus-within .submenu {
        transform:none;
    }
    #header_m .top .header_m_nav_wrap .gnb::after {
        display:none;
    }
    #header_m .top::after {
        display:none;
    }
    #header_m .top .btn_ham {
        display:flex;
    }
}

@media all and (max-width:768px) {
    #container .main_visual .slide_track .slide {padding-top:clamp(88px, 12vw, 120px);}
    #header_m .top {height:78px; min-height:0; padding:0;}
    #header_m .top_inner {
        flex-wrap:nowrap;
        justify-content:space-between;
        gap:12px;
        padding-left:20px;
        padding-right:12px;
    }
    #header_m .top .logo {
        margin-left:10px;
    }
    #header_m .top .logo img {
        height:25px;
    }
    #header_m .top .header_m_nav_wrap .gnb > ul {
        gap:16px;
        width:calc(100% - 20px);
        max-width:none;
    }
    #header_m .top .header_m_nav_wrap .gnb > ul > li > a {
        font-size:16px;
    }
    #header_m .top .header_m_nav_wrap .header_right {align-items:center;}
    #header_m .top .header_m_nav_wrap .login_info {justify-content:center;}
}

.header_inner,
.container_inner,
.f_inner {
    width:calc(100% - 40px);
    max-width:1200px;
    margin:0 auto;
}

#container .section {position:relative; width:100%;}
#section1 {
    overflow:hidden;
    padding:76px 0 0;
    background:url('../images/main/main2.jpg') no-repeat center center;
    background-size:cover;
}
#section1 .container_inner {
    position:relative;
}
/* section1 스크롤 진입 애니메이션 */
#section1 .sec1_reveal {
    opacity:0;
    transition:opacity 0.95s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change:opacity, transform;
}
#section1 .sec1_reveal--from-top {
    transform:translateY(-44px);
}
#section1 .sec1_reveal--from-left {
    transform:translateX(-52px);
}
#section1 .sec1_reveal--from-bottom {
    transform:translateY(52px);
}
#section1 .sec1_reveal.is_visible {
    opacity:1;
    transform:translate(0, 0);
}
#section1 .sec1_head {
    text-align:center;
    padding-top:50px;
    margin-bottom:30px;
}
#section1 .sec1_head h2 {
    margin:0 0 8px;
    font-size:72px;
    font-family:'GmarketSansBold', 'Noto Sans Korean', sans-serif;
    line-height:1.1;
    letter-spacing:-0.04em;
    color:#232834;
}
#section1 .sec1_head h2 span {
    color:#2f8fe8;
}
#section1 .sec1_head .kp_rotate_desc p {
    font-size:30px;
    font-family:'Noto Sans Korean', sans-serif;
    color:#8ea0b2;
    letter-spacing:-0.03em;
}

#section1 .sec1_center {
    text-align:center;
    margin-bottom:70px;
    line-height:0;
}
#section1 .sec1_center img {
    display:inline-block;
    max-width:100%;
    height:auto;
}

#section1 .sec1_people {
    text-align:center;
    margin:10px 0 0;
    line-height:0;
}
#section1 .sec1_people img {
    display:block;
    width:100%;
    max-width:1080px;
    margin:0 auto;
    height:auto;
}

#section2 {
    position:relative;
    overflow:hidden;
    padding:88px 0 84px;
    background:none;
}
#section2::before {
    content:"";
    position:absolute;
    left:-3%;
    top:-3%;
    width:106%;
    height:106%;
    z-index:0;
    background:url('/images/main/main3.jpg') no-repeat center center;
    background-size:cover;
    transform-origin:center center;
    animation:sec2BgBreath 3s ease-in-out infinite;
}
#section2 .container_inner {
    position:relative;
    z-index:1;
}
#section2 .sec2_head {
    text-align:center;
    padding-top:50px;
    margin-bottom:70px;
}
#section2 .sec2_head h2 {
    margin:0 0 10px;
    font-size:72px;
    font-family:'GmarketSansBold', 'Noto Sans Korean', sans-serif;
    line-height:1.08;
    letter-spacing:-0.04em;
    color:#1f2330;
}
#section2 .sec2_head h2 span {
    color:#2f8fe8;
}
#section2 .sec2_head .kp_rotate_desc p {
    margin:0;
    font-size:30px;
    font-family: 'Noto Sans Korean', sans-serif;
    letter-spacing:-0.035em;
    color:#2b2f3a;
}
#section2 .sec2_visual {
    position:relative;
    max-width:1140px;
    margin:0 auto;
    min-height:760px;
}
#section2 .sec2_img_back,
#section2 .sec2_img_front {
    position:absolute;
    line-height:0;
}
#section2 .sec2_img_back {
    top:0;
    left:0;
    z-index:1;
}
#section2 .sec2_img_front {
    right:0;
    bottom:0;
    z-index:2;
}
#section2 .sec2_img_back img,
#section2 .sec2_img_front img {
    width:auto;
    max-width:none;
    height:auto;
    filter:drop-shadow(0 12px 24px rgba(32, 53, 89, 0.2));
}
/* section2 이미지 스크롤 페이드인 */
#section2 .sec2_reveal {
    opacity:0;
    transition:opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change:opacity, transform;
}
#section2 .sec2_reveal--from-top {
    transform:translateY(-26px);
}
#section2 .sec2_img_back.sec2_reveal {
    transform:translateX(-44px) translateY(26px);
}
#section2 .sec2_img_front.sec2_reveal {
    transform:translateX(48px) translateY(38px);
}
#section2 .sec2_reveal.is_visible {
    opacity:1;
    transform:translate(0, 0);
}
#section2 .sec2_reveal--delay {
    transition-delay:0.16s;
}

#section3 {
    overflow:hidden;
    padding:88px 0 84px;
    background:url('/images/main/main4.jpg') no-repeat center center;
    background-size:cover;
}
#section3 .container_inner {
    position:relative;
}
#section3 .sec3_head {
    text-align:center;
    padding-top:50px;
    margin-bottom:34px;
}
#section3 .sec3_head h2 {
    margin:0 0 12px;
    font-size:72px;
    font-family:'GmarketSansBold', 'Noto Sans Korean', sans-serif;
    line-height:1.08;
    letter-spacing:-0.04em;
    color:#1f2330;
}
#section3 .sec3_head h2 span {
    color:#2f8fe8;
}
#section3 .sec3_head .kp_rotate_desc p {
    margin:0;
    font-size:30px;
    font-family:'Noto Sans Korean', sans-serif;
    letter-spacing:-0.03em;
    color:#2b2f3a;
}
#section3 .sec3_visual {
    position:relative;
    max-width:1140px;
    margin:0 auto;
    min-height:690px;
}
#section3 .sec3_img_back,
#section3 .sec3_img_front,
#section3 .sec3_box_left,
#section3 .sec3_box_right {
    position:absolute;
    line-height:0;
}
#section3 .sec3_img_back {
    left:130px;
    top:52px;
    z-index:1;
}
#section3 .sec3_img_front {
    right:20px;
    bottom:50px;
    z-index:2;
}
#section3 .sec3_box_left {
    left:-200px;
    top:100px;
    z-index:3;
}
#section3 .sec3_box_right {
    right:-350px;
    top:344px;
    z-index:3;
}
#section3 .sec3_visual img {
    width:auto;
    max-width:none;
    height:auto;
    filter:drop-shadow(0 12px 24px rgba(32, 53, 89, 0.16));
}
/* section3 스크롤 페이드인 */
#section3 .sec3_reveal {
    opacity:0;
    transition:opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change:opacity, transform;
}
#section3 .sec3_reveal--from-top {
    transform:translateY(-24px);
}
#section3 .sec3_img_back.sec3_reveal {
    transform:translateX(-40px) translateY(24px);
}
#section3 .sec3_img_front.sec3_reveal {
    transform:translateX(42px) translateY(34px);
}
#section3 .sec3_box_left.sec3_reveal {
    transform:translateX(-28px) translateY(14px);
}
#section3 .sec3_box_right.sec3_reveal {
    transform:translateX(28px) translateY(16px);
}
#section3 .sec3_reveal.is_visible {
    opacity:1;
    transform:translate(0, 0);
}
#section3 .sec3_reveal--delay {
    transition-delay:0.14s;
}
#section3 .sec3_reveal--delay2 {
    transition-delay:0.22s;
}
#section3 .sec3_reveal--delay3 {
    transition-delay:0.28s;
}

#section4 {
    padding:86px 0 82px;
    background:#fff;
}
#section4 .sec4_top {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:28px;
    padding-top:50px;
    margin-bottom:44px;
}
#section4 .sec4_head h2 {
    margin:0 0 14px;
    font-size:72px;
    font-family:'GmarketSansBold', 'Noto Sans Korean', sans-serif;
    line-height:1.08;
    letter-spacing:-0.04em;
    color:#1f2330;
}
#section4 .sec4_head h2 span {
    color:#2f8fe8;
}
#section4 .sec4_head .kp_rotate_desc p {
    margin:0;
    font-size:30px;
    font-family:'Noto Sans Korean', sans-serif;
    letter-spacing:-0.035em;
    color:#8c8f95;
}

/* 메인 섹션 부제 — 두 문구 교차 페이드 */
.kp_rotate_desc {
    position:relative;
    min-height:1.35em;
    line-height:1.35;
    margin:0;
}
.kp_rotate_desc .kp_rotate_line {
    position:absolute;
    left:0;
    right:0;
    top:0;
    margin:0;
    word-break:keep-all;
    overflow-wrap:break-word;
    opacity:0;
    visibility:hidden;
    animation:kp_rotate_line 5.5s ease-in-out infinite;
    will-change:opacity, transform;
}
#section1 .sec1_head h2,
#section2 .sec2_head h2,
#section3 .sec3_head h2,
#section4 .sec4_head h2,
#section5 .sec5_head h2 {
    word-break:keep-all;
    overflow-wrap:break-word;
}
.kp_rotate_desc .kp_rotate_line:nth-child(2) {
    animation-delay:2.75s;
}
@keyframes kp_rotate_line {
    0%, 46%, 100% {
        opacity:0;
        visibility:hidden;
        transform:translate3d(0, 0.35em, 0);
    }
    5%, 40% {
        opacity:1;
        visibility:visible;
        transform:translate3d(0, 0, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .kp_rotate_desc {
        min-height:0;
    }
    .kp_rotate_desc .kp_rotate_line {
        position:static;
        animation:none;
        opacity:1;
        visibility:visible;
        transform:none;
        will-change:auto;
    }
    .kp_rotate_desc .kp_rotate_line:nth-child(2) {
        display:none;
    }
}
#section4 .sec4_cert {
    flex-shrink:0;
    line-height:0;
}
#section4 .sec4_cert img {
    width:auto;
    max-width:none;
    height:auto;
}
#section4 .sec4_list {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:20px;
}
#section4 .sec4_item {
    text-align:center;
}
#section4 .sec4_reveal {
    opacity:0;
    transition:opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change:opacity, transform;
}
#section4 .sec4_reveal--from-top {
    transform:translateY(-24px);
}
#section4 .sec4_item.sec4_reveal {
    transform:translateY(28px);
}
#section4 .sec4_reveal.is_visible {
    opacity:1;
    transform:translate(0, 0);
}
#section4 .sec4_reveal--delay {
    transition-delay:0.14s;
}
#section4 .sec4_reveal--delay2 {
    transition-delay:0.24s;
}
#section4 .sec4_item_visual {
    position:relative;
    overflow:hidden;
    border-radius:26px;
    line-height:0;
}
#section4 .sec4_item_visual::after {
    content:"";
    position:absolute;
    left:0;
    top:0;
    right:0;
    bottom:0;
  
}
#section4 .sec4_item_visual img {
    width:100%;
    height:auto;
}
#section4 .sec4_item_visual strong {
    position:absolute;
    left:50%;
    top:35%;
    z-index:1;
    transform:translate(-50%, -50%);
    font-size:39px;
    font-family:'GmarketSansBold', 'Noto Sans Korean', sans-serif;
    letter-spacing:-0.03em;
    white-space:nowrap;
    color:#fff;
}

#section4 .sec4_desc {
    margin:0;
    padding:30px 10px;
    font-size:19px;
    font-family:'Noto Sans Korean', sans-serif;
    line-height:1.6;
    letter-spacing:-0.02em;
    color:#7e8085;
}

#section5 {
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    min-height:810px;
    background:none;
}
#section5::before {
    content:"";
    position:absolute;
    left:-3%;
    top:-3%;
    width:106%;
    height:106%;
    z-index:0;
    background:url('/images/main/main6.jpg') no-repeat center center;
    background-size:cover;
    transform-origin:center center;
    animation:sec5BgBreath 9s ease-in-out infinite;
}
#section5 .container_inner {
    position:relative;
    z-index:1;
    width:100%;
}
#section5 .sec5_head {
    text-align:center;
}
#section5 .sec5_reveal {
    opacity:0;
    transition:opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change:opacity, transform;
}
#section5 .sec5_reveal--from-top {
    transform:translateY(-28px);
}
#section5 .sec5_reveal.is_visible {
    opacity:1;
    transform:translate(0, 0);
}
#section5 .sec5_head h2 {
    margin:0 0 12px;
    font-size:72px;
    font-family:'GmarketSansBold', 'Noto Sans Korean', sans-serif;
    line-height:1.08;
    letter-spacing:-0.04em;
    color:#1f2330;
}
#section5 .sec5_head h2 span:first-child {
    color:#2f8fe8;
}
#section5 .sec5_head h2 span:nth-child(2) {
    color:#0f47b8;
}
#section5 .sec5_head p {
    margin:0;
    font-size:30px;
    font-family:'Noto Sans Korean', sans-serif;
    line-height:1.45;
    letter-spacing:-0.03em;
    color:#6a717c;
}
#section5 .sec5_head p + p {
    margin-top:4px;
}
#section5 .sec5_head p span {
    color:#3e4d63;
}
#section5 .sec5_head p .pc_break {
    display:block;
}

#footer {
    position:relative;
    background:#1f2433;
    color:#7f8594;
}
#footer .f_inner {
    position:relative;
    padding:0;
}
#footer .footer_top {
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:70px;
}
#footer .footer_top::after {
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    border-bottom:1px solid rgba(255, 255, 255, 0.12);
    transform:none;
}
#footer .footer_links {
    display:flex;
    align-items:center;
    gap:32px;
}
#footer .footer_links li,
#footer .footer_links a {
    font-size:18px;
    font-family:'Noto Sans Korean', sans-serif;
    letter-spacing:-0.02em;
    color:#7f8594;
}
#footer .footer_links a:hover {
    color:#c8cfde;
}
/* 우측 하단 플로팅 — 문의하기(세로) + 맨 위로 */
.kp_float_actions {
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:1200;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
}
.kp_float_qna {
    display:inline-flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    box-sizing:border-box;
    width:52px;
    padding:16px 8px 14px;
    margin:0;
    border:0;
    border-radius:26px;
    background:#1e6fd9;
    color:#fff;
    font-size:14px;
    font-weight:500;
    font-family:'Noto Sans Korean', sans-serif;
    letter-spacing:0.12em;
    line-height:1.15;
    text-decoration:none;
    cursor:pointer;
    appearance:none;
    box-shadow:0 6px 20px rgba(30, 111, 217, 0.35);
    transition:background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.kp_float_qna:hover,
.kp_float_qna:focus {
    background:#185bb5;
    color:#fff;
    box-shadow:0 8px 24px rgba(30, 111, 217, 0.42);
    transform:translateY(-1px);
}
.kp_float_qna_txt {
    writing-mode:vertical-rl;
    text-orientation:upright;
    white-space:nowrap;
}
.kp_float_qna_ico {
    display:flex;
    align-items:center;
    justify-content:center;
    width:28px;
    height:28px;
    border-radius:50%;
    background:rgba(255, 255, 255, 0.22);
    flex-shrink:0;
}
.kp_float_qna_ico img {
    display:block;
    width:auto;
    height:16px;
}
.kp_float_btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 4px 14px rgba(0, 0, 0, 0.12);
    transition:box-shadow 0.2s ease, transform 0.2s ease;
}
.kp_float_btn:hover,
.kp_float_btn:focus {
    box-shadow:0 6px 18px rgba(0, 0, 0, 0.16);
    transform:translateY(-1px);
}
.kp_float_btn img {
    display:block;
    width:42px;
    height:42px;
}
@media (max-width: 1100px) {
    .kp_float_actions {
        display:none !important;
    }
}
#footer .footer_bottom {
    display:flex;
    align-items:flex-start;
    gap:48px;
    padding:44px 0 52px;
}
#footer .footer_logo {
    display:block;
    width:auto;
    height:auto;
    flex-shrink:0;
}
#footer .footer_info {
    display:flex;
    flex-direction:column;
    gap:4px;
    padding-top:4px;
}
#footer .footer_info p {
    margin:0;
    font-size:16px;
    font-family:'Noto Sans Korean', sans-serif;
    line-height:1.6;
    letter-spacing:-0.02em;
    color:#7f8594;
}
#footer .footer_info .copyright {
    margin-top:14px;
    font-size:13px;
    color:#666d7c;
}
@keyframes sec2BgBreath {
    0% {
        transform:scale(1);
    }
    50% {
        transform:scale(1.045);
    }
    100% {
        transform:scale(1);
    }
}
@keyframes sec5BgBreath {
    0% {
        transform:scale(1);
    }
    50% {
        transform:scale(1.04);
    }
    100% {
        transform:scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    #section1 .sec1_reveal {
        opacity:1;
        transform:none;
        transition:none;
    }
    #section2 .sec2_reveal {
        opacity:1;
        transform:none;
        transition:none;
    }
    #section3 .sec3_reveal {
        opacity:1;
        transform:none;
        transition:none;
    }
    #section4 .sec4_reveal {
        opacity:1;
        transform:none;
        transition:none;
    }
    #section5 .sec5_reveal {
        opacity:1;
        transform:none;
        transition:none;
    }
    #section2::before {
        animation:none;
        transform:none;
    }
    #section5::before {
        animation:none;
        transform:none;
    }
}
@media all and (max-width:1024px) {
    #section3 .sec3_box_left,
    #section3 .sec3_box_right {
        display:none;
    }
    #section3 .sec3_visual {
        min-height:0;
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:24px;
    }
    #section3 .sec3_img_back,
    #section3 .sec3_img_front {
        position:relative;
        left:auto;
        right:auto;
        top:auto;
        bottom:auto;
        width:100%;
        display:flex;
        justify-content:center;
    }
    #section3 .sec3_img_back img,
    #section3 .sec3_img_front img {
        display:block;
        height:auto;
        max-width:100%;
        margin:0 auto;
    }
    #section3 .sec3_img_back img {
        width:min(100%, 720px);
    }
    #section3 .sec3_img_front img {
        width:min(100%, 360px);
    }
    #section3 .sec3_img_front {
        margin-top:0;
        align-self:center;
    }
    #section3 .sec3_img_back.sec3_reveal:not(.is_visible) {
        transform:translateY(20px);
    }
    #section3 .sec3_img_front.sec3_reveal:not(.is_visible) {
        transform:translateY(26px);
    }

    #section4 .sec4_top {
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
        gap:20px;
    }
    #section4 .sec4_head {
        text-align:center;
    }
    #section4 .sec4_cert {
        width:100%;
        display:flex;
        justify-content:center;
    }
    #section4 .sec4_cert img {
        width:min(100%, 560px);
        max-width:100%;
        margin:0 auto;
    }
    #section4 .sec4_item_visual strong {
        width:88%;
        font-size:clamp(24px, 3.1vw, 34px);
        line-height:1.15;
        white-space:normal;
        word-break:keep-all;
    }
}
@media all and (max-width:768px) {
    #container .main_visual {
        height:clamp(420px, 82vw, 620px);
    }
    #section1 {
        padding:38px 0 0;
    }
    #section1 .sec1_head h2 {
        font-size:34px;
    }
    #section1 .sec1_head .kp_rotate_desc p {
        font-size:18px;
    }
    #section1 .sec1_people {
        margin:12px auto 0;
    }

    #section2 {
        padding:56px 0 48px;
    }
    #section2 .sec2_head {
        margin-bottom:18px;
    }
    #section2 .sec2_head h2 {
        font-size:34px;
    }
    #section2 .sec2_head .kp_rotate_desc p {
        font-size:18px;
    }
    #section2 .sec2_visual {
        min-height:0;
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:16px;
    }
    #section2 .sec2_img_back,
    #section2 .sec2_img_front {
        position:relative;
        top:auto;
        left:auto;
        right:auto;
        bottom:auto;
        width:100%;
        display:flex;
        justify-content:center;
    }
    #section2 .sec2_img_back img,
    #section2 .sec2_img_front img {
        display:block;
        width:min(100%, 680px);
        height:auto;
        max-width:100%;
        margin:0 auto;
    }
    #section2 .sec2_img_front {
        margin-top:-28px;
        align-self:center;
    }
    #section2 .sec2_img_back.sec2_reveal:not(.is_visible) {
        transform:translateY(22px);
    }
    #section2 .sec2_img_front.sec2_reveal:not(.is_visible) {
        transform:translateY(30px);
    }

    .kp_rotate_desc {
        min-height:2.85em;
    }
    .kp_rotate_desc .kp_rotate_line {
        padding:0 4px;
        box-sizing:border-box;
    }

    #section4 {
        padding:56px 0 48px;
    }
    #section4 .sec4_top {
        flex-direction:column;
        margin-bottom:22px;
    }
    #section4 .sec4_head {
        width:100%;
        max-width:100%;
        padding:0 4px;
        box-sizing:border-box;
    }
    #section4 .sec4_head h2 {
        font-size:clamp(30px, 8.8vw, 34px);
        line-height:1.2;
        white-space:nowrap;
    }
    #section4 .sec4_head .kp_rotate_desc {
        max-width:100%;
        margin:0 auto;
    }
    #section4 .sec4_head .kp_rotate_desc p {
        font-size:clamp(15px, 4.1vw, 18px);
        line-height:1.45;
        letter-spacing:-0.02em;
    }
    #section4 .sec4_cert img {
        width:min(100%, 420px);
        max-width:100%;
    }
    #section4 .sec4_list {
        grid-template-columns:1fr;
        justify-items:center;
        gap:16px;
    }
    #section4 .sec4_item {
        width:min(100%, 560px);
    }
    #section4 .sec4_item_visual strong {
        width:84%;
        font-size:clamp(26px, 4.8vw, 32px);
        line-height:1.18;
    }
    #section4 .sec4_desc {
        font-size:16px;
    }

    #section5 {
        min-height:520px;
    }
    #section5 .sec5_head h2 {
        font-size:34px;
    }
    #section5 .sec5_head p {
        font-size:18px;
        padding:0 20px;
    }
    #section5 .sec5_head p .pc_break {
        display:inline;
    }

    #footer .footer_top {
        min-height:72px;
        padding:10px 0;
        justify-content:center;
    }
    #footer .footer_links {
        justify-content:center;
        gap:10px;
        flex-direction:column;
        flex-wrap:nowrap;
    }
    #footer .footer_links li,
    #footer .footer_links a {
        font-size:16px;
        line-height:1.35;
        white-space:nowrap;
    }
    #footer .footer_bottom {
        flex-direction:column;
        align-items:center;
        gap:16px;
        padding:26px 0 32px;
        text-align:center;
    }
    #footer .footer_logo {
        margin:0 auto;
        height:35px;
    }   
    #footer .footer_info {
        align-items:center;
        text-align:center;
    }
    #footer .footer_info p {
        font-size:14px;
        line-height:1.5;
    }
    #footer .footer_info .copyright {
        margin-top:10px;
        font-size:12px;
    }

    #section3 {
        padding:56px 0 48px;
    }
    #section3 .sec3_head {
        margin-bottom:18px;
    }
    #section3 .sec3_head h2 {
        font-size:34px;
    }
    #section3 .sec3_head .kp_rotate_desc p {
        font-size:18px;
    }
    #section3 .sec3_visual {
        gap:18px;
    }
    #section3 .sec3_img_back img {
        width:min(100%, 640px);
    }
    #section3 .sec3_img_front img {
        width:min(100%, 480px);
    }

    .header_inner,
    .container_inner,
    .f_inner {
        width:calc(100% - 24px);
    }
}

/* 관리자 강제 로그인 안내 — 눈에 띄는 붉은 바 */
.kp-biz-impersonate-bar {
	display: flex !important;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 20px;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 12px 20px;
	border: 0;
	border-bottom: 3px solid #7f0000;
	background: #d50000 !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	position: sticky;
	top: 0;
	z-index: 10000;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.kp-biz-impersonate-bar strong {
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.kp-biz-impersonate-bar_txt {
	color: #fff !important;
}

.kp-biz-impersonate-bar_txt em {
	font-style: normal;
	font-weight: 800;
	color: #ffeb3b !important;
	text-decoration: underline;
}

.kp-biz-impersonate-bar_exit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 0 18px;
	border: 2px solid #fff !important;
	border-radius: 6px;
	background: #fff !important;
	color: #d50000 !important;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.kp-biz-impersonate-bar_exit:hover {
	background: #ffebee !important;
	color: #b71c1c !important;
	border-color: #fff !important;
}



/* Font Style - font-weight 

font-family: 'GmarketSansLight';
font-family: 'GmarketSansMedium';
font-family: 'GmarketSansBold';

100 NotoSans-Thin
300 NotoSans-Light 
350 NotoSans-DemiLight
400 NotoSans-Regular
500 NotoSans-Medium
700 NotoSans-Bold
900 NotoSans-Black
*/

