@charset "UTF-8";
:ROOT {
    --color-primary: #003333;
    --color-gray-100: #E3E3E3;

    --height-top: 5.125rem;
    --height-top_mobile: 4.25rem;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    font-family: 'Noto Sans KR', sans-serif;
}

HTML {
    font-size: 100%;
}

.forWeb { display: block; }
.forMobile { display: none; }

NAV A { color: #343434; }

header {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    z-index:11;
    padding: 0 6.25rem;
    /*border-bottom: 1px solid var(--color-gray-100);*/
    box-shadow: 1px 1px 1px var(--color-gray-100);
}

nav>ul>li {
    font-weight: 900;
}
NAV > UL > LI.active > A {
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}


NAV > UL > LI.active > A,
NAV > UL > LI:hover > A {
    /*border-bottom: 2px solid #000000;*/
}

NAV > UL > LI > A:after,
NAV > UL > LI > A:after {
    content: "";
    position: absolute;
    display: block;
    left: 5%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #444444;
    transition: all linear 0.25s;
}

NAV > UL > LI.active > A:after,
NAV > UL > LI:hover > A:after {
    width: 90%;
}

nav>ul>li>a:hover{
    color: var(--color-primary);
}

.main-logo {
    width: 500px;
    height: var(--height-top);
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-logo-txt {
    font-weight: 900;
    font-size: 1.5rem;
    cursor: initial;
    color: #003333;
    padding: 0 0 .5rem 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

NAV.nav UL {
    display: flex;
    gap: 1px;
    padding: 0 1px;
}

NAV.nav UL LI {
    flex-grow: 1;
    text-align: center;
    width: 8rem;
    padding: 0 .5rem;
    color: black;
    margin: 0;
    border-collapse: collapse;
}

NAV.nav LI A {
    position: relative;
    display: block;
    padding: 0.625rem 0;
    color: #2f2f2f;
    font-size: 1rem;
    font-weight: 900;
}


.sub-menu-container {
    position: fixed;
    top: var(--height-top);
    left: 0;
    width: 100%;
    z-index: 50;
    transform: translateY(calc(-100% - var(--height-top)));
    overflow: hidden;
    border-top: 1px solid var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-100);
}

.sub-menu-container.active {
    transform: translateY(0);
}

.backdrop-filter {
    backdrop-filter: brightness(0.5);
    height: 100vh;
}

.sub-menu-container.active ~ .backdrop-filter {
    transform: translateY(0);
}

.menus {
    width:100%;
    display: flex;
    padding: 0 6.25rem;
    justify-content: flex-end;
    flex-direction: row;
    background: #FFFFFF;
}

.menus > UL {
    display: flex;
    justify-content: flex-end;
    gap: 1px;
    height: 100%;
    background-color: var(--color-gray-100);
    border-left: 1px solid var(--color-gray-100);
    border-right: 1px solid var(--color-gray-100);
}

.menus > UL > LI {
    display: flex;
}

.sub-menus {
    width: 8rem;
    background-color: #FFFFFF;
    padding: 1.5rem .5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    text-align: center;
}
.sub-menus > LI {
}

#wrap .mKeysub > .bg { transform: translateY(var(--height-top)); padding:0; }



HEADER > .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

#hamburger + .hamburger-label {
    height: 1.6rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding:0;
    margin:0;
}

.hamburger-label .line {
    display: block;
    height: .25rem;
    width: 2rem;
    border-radius: .75rem;
    background: #03302b;
}

#hamburger:checked ~ .sidebar  {
    display: flex;
    visibility: visible;
}

#hamburger:checked ~ .sidebar .sidebarBg {
    transform: translateX(0);
    visibility: visible;
}

.sidebar {
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    backdrop-filter: brightness(0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
}

.sidebar > .sidebarBg {
    width: 60vw;
    visibility: hidden;
    transform: translateX(-150%);
    transition: transform .25s ease-in-out;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 3px 1px 5px #333;
    justify-content: center;
    user-select: none;
}

.btn-close {
    position: absolute;
    right: 1rem;
    top: 2rem;
    height: 1.05rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    flex:1;
}
.btn-close .line {
    display: block;
    height: .25rem;
    width: 1.25rem;
    border-radius: .5rem;
    background: #03302b;
}

.btn-close .line.line1 {
    transform-origin: 0% 0%;
    transform: rotate(45deg);
}
.btn-close .line.line2 {
    transform-origin: 0% 100%;
    transform: rotate(-45deg);
}

.sidebar > .sidebarBg > UL {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 6rem 0 0 2rem;
    gap: 1rem;
    text-align: left;
}

.sidebar UL > LI {
    color: #333;
    padding: .25rem 0;
}

.sidebar UL > LI > P {
    font-weight: 600;
    cursor: pointer;
    font-size: 1.25rem;
}

.sidebar UL > LI > P.active {
    font-weight: 800;
}

.big.active ~ UL.sub { visibility: visible; height: fit-content; display: flex; transform: translateY(0); }
.sidebar UL > LI > UL.sub { visibility: hidden; }
.sidebar UL > LI > UL.sub {
    display: flex;
    flex-direction: column;
    height: 0;
    gap: .25rem;
    padding: 1rem 1.5rem 0 1.5rem;
    font-size: 1.125rem;
    transform: translateY(-20%);
    transition: transform .4s ease-in-out;
}

/* */

section {
    padding: 0 6.25rem;
    max-width: 2000px;
    margin: 0 auto;
}

.first-section {
    margin-top: var(--height-top);
}

.btn-step { position: fixed; top: 50%; z-index: 10;}
#btnPrev { left: 0; transform: translateX(14vw); }
#btnNext { right: 0; transform: translateX(-14vw); }

#helpPopup {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    backdrop-filter: brightness(0.25);
}

#helpPopup.hidden {
    display: none !important;
}

#helpPopup > IMG {
    width: 80%;
    /*height: 80%;*/
}

#helpPopup .bsnesinfo-help-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 80%;
    margin-top: .5rem;
    gap: 1rem;
}

#helpPopup .bsnesinfo-help-footer > DIV > LABEL {
    user-select: none;
    cursor: pointer;
    color: white;
}

#helpPopup .bsnesinfo-help-footer > DIV > BUTTON {
    color: white;
    border: 1px solid white;
    padding: .25rem .5rem;
}

@media screen and (max-width: 1800px){
    #btnPrev { transform: translateX(7vw); }
    #btnNext { transform: translateX(-7vw); }
}

@media screen and (max-width: 1400px){
    .sub-menu-container.active {
        transform: translateY(calc(-100% - var(--height-top)));
    }

    #wrap .mKeysub > .bg { transform: translateY(-15px); padding:0 .5rem; }
    .btn-step { padding: 0; opacity: 0.5; }
    #btnPrev, #btnNext { transform: translateX(0); }

    .forWeb{display:none;}
    .forMobile{display:inline;}

    .mKeysub > .bg { transform: none; }

    .btnMenu{top:30px;right:auto;left:20px;}

    header, section{
        padding: 0 2.5rem;
    }
    header{
        height: var(--height-top_mobile);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    #hamburger + .hamburger-label {
        display: flex;
    }

    #hamburger + .hamburger-label:before {
        background: none;
    }

    .main-logo{
        width: 12.5rem;
        height: 100px;
        margin-top: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    nav{
        display: none;
    }
    nav li {
        flex-grow: 1; /* 변경된 부분: 각 li 요소가 동일한 간격으로 확장됨 */
        text-align: center; /* 변경된 부분: 텍스트 가운데 정렬 */
        font-size: 0.875rem;
    }
    .main-logo-first{
        width: 56px;
        height: 33px;
    }
    .main-logo-txt{
        font-size: 1rem;
        padding: 0 0 .25rem 0;
    }
    .main-logo-second{
        height: 37px;
        margin-bottom: 2px;
    }

    /*-------------------------------------------------------------------*/
    .main-imgslide {
        width: 100%;
        height: 30rem;
        margin-bottom: 2.688rem;
        border-radius: 1.875rem;
        overflow: hidden; /* 넘치는 부분을 숨기기 위해 추가 */
        position: relative; /* 상대적 위치 지정 */
    }
    .main-imgslide img{
        height: 30rem;
    }
    .main-img-title{
        font-size: 1.625rem;
    }
    .main-img-subtitle{
        width: 86%;
        font-size: 0.875rem;
    }
    .main-img-txt{
        font-size: 0.75rem;
    }

    /* 두번째 이미지의 .text-content 위치 조정 */
    .imgslide-list li:nth-child(2) .text-content {
        left: 33%; /* 원하는 위치에 배치하려는 값을 지정 */
        transform: translateX(-50%);
    }

    /* 세번째 이미지의 .text-content 위치 조정 */
    .imgslide-list li:nth-child(3) .text-content {
        left: 33%; /* 원하는 위치에 배치하려는 값을 지정 */
        transform: translateX(-50%);
    }
    /*----------------------------------------------------------------*/
    .second-section>ul>li {
        width: 100%;
        min-height: 40rem;
        display: flex;
        flex-direction: column;
    }
    .second-section UL LI .img-box{
        width: 100%;
    }
    .second-section UL LI .txt-box {
        width: 100%;
        padding: 2rem 1.25rem;
        justify-content: flex-start;
        gap: 0;
        flex: 1;
    }
    .second-section ul li:nth-child(even) .txt-box{
        order: 1;
    }
    h3{margin-bottom: 0.938rem;}

    .txt-box .txt-box-title {

    }

    .btn{
        margin-top: 1.875rem;
    }
    /*-------------------------------------------------------------------------------------------------*/
    footer{
        margin-top: 0;
        height: 250px;
    }
    address{
        font-size: 0.875rem;
    }
    .second-section UL LI .img-box { order: 0;}
}

@media screen and (max-width: 900px) {
    #helpPopup { display: none; }
}

@media screen and (max-width: 1300px){
    nav ul li{
        margin: 0 3px;
    }
}
/*@media screen and (max-width: 1260px){*/
/*    header{*/
/*        height: var(--height-top_mobile);*/
/*        display: flex;*/
/*        align-items: center;*/
/*        justify-content: space-between;*/
/*    }*/
/*    .sub-menu-container {*/
/*        top: var(--height-top_mobile);*/
/*        transform: translateY(calc(-100% - var(--height-top_mobile)));*/
/*    }*/
/*    .main-logo{*/
/*        width: 12.5rem;*/
/*        height: 130px;*/
/*        margin-top: 8px;*/
/*        display: flex;*/
/*        justify-content: center;*/
/*        align-items: center;*/
/*    }*/
/*    nav{*/
/*        display: none;*/
/*    }*/

/*}*/
/*@media (min-width: 1001px) and (max-width: 1259px){*/
/*    .sub-menu-container {*/
/*        top: var(--height-top_mobile);*/
/*        transform: translateY(calc(-100% - var(--height-top_mobile)));*/
/*    }*/
/*    .text-content {*/
/*        position: absolute;*/
/*        top: 25%;*/
/*        left: 38%;*/
/*        transform: translateX(-50%);*/
/*        color: white;*/
/*        text-align: left;*/
/*    }*/
/*    .main-img-title{*/
/*        font-size: 40px;*/
/*    }*/
/*    .main-img-subtitle{*/
/*        font-size: 14px;*/
/*    }*/
/*    .main-img-txt{*/
/*        font-size: 12px;*/
/*    }*/
/*    .txt-box{*/
/*        justify-content: space-around;*/
/*    }*/
/*    .second-section>ul>li{*/
/*        margin-bottom: 0;*/
/*    }*/
/*    .test-imgslide{*/
/*        margin-bottom: 0;*/
/*    }*/
/*}*/