@charset "utf-8";

@font-face {
    font-family: 'Handon3gyeopsal300g';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_seven@1.2/Handon3gyeopsal300g.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
           

@font-face {
    font-family: 'NEXON Lv1 Gothic OTF';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
    
@font-face {
    font-family: 'NEXON Lv1 Gothic OTF Light';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@2.1/NEXON Lv1 Gothic OTF Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}     
            

:root {
    --main-color:#fefbd8;
    --sub-color:#fcf6a4;
    --accent-color:#aedcf9;
    --accent-sub-color:#84afc9;
    --large-width :1200px;  
} 


a, h1, p{
    font-family: "Handon3gyeopsal300g"; 
    font-size: 1.1em;
}
a { color: black;}

header {
    position: relative;
    z-index: 10;
    background-color:white;
    width: 100%;
    height: 50px;
}
header .header {
    position: absolute;
    top: 5px;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    min-width: var(--large-width);
}
.header h1 {
    width: 150px; 
    padding-top: 5px;
}
.header h1 img {
    width: 100%;
}
nav {
    width: 800px;
    text-align: center;
    padding-left: 10px;
}
nav button { display: none;}

#main {
    display: flex;
    justify-content: space-between;
}
#main a{ color: black;}
#main>li { 
    display: block;
    width: 100%;
    padding: 10px 20px;
    line-height: 25px;
    transition: 0.5s;
}

#main>li:hover a{ color: white;}
#main>li:hover {
    background-color: rgba(0,0,0,0.5);
}

#main .main_A{ 
    display: inline-block;
    font-size: 1.2em;
    width: 100%;
    position: relative;
}
#main>li .main_A::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 0;
    width: 0;
    border-bottom:  2px solid var(--accent-color);
    transition: 0.6s;
}
#main>li:hover .main_A::after{
    width: 100%;
}

#main .sub {
    display: none;
    padding-top: 15px;
    font-size: 0.9em;
    line-height: 30px;
}
#main .sub li {
    transition: 0.3s;
}
#main>li:hover .sub{
    display: block;
}
.sub li:hover a{
    font-size: 1.2em;
    color: var(--accent-color) !important;
}
.login {
    margin:10px;
    width: auto;
}
.login ul {
    display: flex;
    justify-content: space-around;
    text-align: center;
    width: 120px;
    height: 25px;
}
.login ul li {
    height: 100%;
    width: 100%;
    transition: 0.3s;
    transform-origin: center;
}
.login ul li:hover{
    transform: scale(0.8);
}
.login ul li a img{ height: 100%;}
.login ul li:nth-child(3) {position: relative;}
.login .search {
    position: absolute;
    top:40px; right: 0;
    width: 0;
    height: 40px;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    transition: 0.5s;
}
.login .search input{
    width: 450px;
    height: 100%;
    border: 0;
    border-radius: 20px 0 0 20px;
    outline: none;
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.9em;
}
.login .search button {
    width: 50px;
    border: 0;
    border-radius: 0 20px 20px 0;
    outline: none;
    background-color: rgba(255, 255, 255, 0.8);

}
.login li:nth-child(3):hover .search { width: 500px;}


@media(max-width: 1000px){
    header .header {
        min-width: 0;
        width: 90%;
        justify-content: space-between;
    }
    .header h1 {
        width: 250px;
    }
    .header h1 img {
        width: 100%;
    }
    nav button{
        position: absolute;
        top: 10px;
        right: 120px;
        display: block;
        background: none;
        outline: 0;
        border: none;
        height: 25px; 
    }
    nav button img { height: 100%;}

    nav #main { display: none;}
    #main {
        position: absolute;
        right: 0px;
        top: 50px;
        background-color: rgba(0, 0, 0, 0.5);
        width: 50%;
        height: 60vh;
    }
    #main a{ color: white;}

    .login ul {
        width: 100px;
        height: 25px;
    }

   
    .login ul li:nth-child(2) {
        margin: 0 5px;
    }
}
@media(max-width: 600px){
    header { 
        background-color: white;
        height: 45px;
    }
    header .header {
        top: 5px !important;
        width: 90%;
    }
    .header h1 {
        width: 400px;
    }
    #main {
        top: 40px;
        width: 100%;
        height: 100vh;
    }
    nav button{
        position: absolute;
        top: 5px;
        right: 110px;
    }
    nav{
        margin-left: 0%;
    }
    .login {
        margin: 5px 0;
    }
    .login ul {
        width: 100px;
        height: 23px;
    }

    .login li:nth-child(3):hover .search { width: 400px;}
}


@media(max-width: 440px){
    .header h1 {
        width: 400px; 
        padding: 5px 0;
    }
    nav button{
        position: absolute;
        top: 5px;
        right: 60px;
    }
    .login {
        position: absolute;
        top: 3px;
        right: -10px;
        margin: 5px 0;
    }
    .login ul {
        width: 60px;
        height: 20px;
    }
    .login li:nth-child(3):hover .search { width: 300px;}
    

}


/* banner------------- */
.banner {
    width: 100%;
    height: 300px;
    border-radius: 0 0 60% 60%;
    background-color: black;
    overflow: hidden;
    position: relative;
}
.banner p{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate( -50%, -50%);
    color: white;
    font-family: NEXON Lv1 Gothic OTF;
    font-weight: bold;
    font-size: 3.5em;
    letter-spacing: 5px;
    z-index: 5;
}
.banner::after{
    content: "";
    position: absolute;
    background-image: url(../img/company/banner.png);
    background-size: auto;
    background-attachment: fixed;
    width: 100%;
    height: 500px;
    opacity: 0.6;
}

@media(max-width: 1000px){
    .banner {
        width: 100%;
        height: 240px;
        border-radius: 0 0 80% 80%;
        background-color: black;
        overflow: hidden;
        position: relative;
    }
    .banner p{
        font-size: 3em;
    }
}
@media(max-width: 600px){
    .banner {
        height: 200px;
        border-radius: 0;
    }
    .banner p{
        font-size: 2.5em;
    }
}

@media(max-width: 440px){
    .banner p{
        font-size: 1.8em;
    }
}








/* depth ------------- */

.depth {
    width: 300px;
    height: 50px;
    margin: 10px auto;
    padding: 10px;
    color: #c4c4c4;
    font-size: 0.9em;
    position: relative;
}
.depth div {
    display: flex;
    justify-content: space-between;
}
.depth div p::after{
    content: "";
    padding-right: 25px;
    height: 10px;
    border-right: 2px solid #c4c4c4;
}
.depth select {
    border: none;
    font-size: 1.1em;
    font-family: "Handon3gyeopsal300g";
    /* font-weight: bold; */
    color: #c4c4c4;
    padding-right: 10px;
    outline: none;
}
.depth select option {
    line-height: 20px;
    padding: 10px;
}
.depth::before {
    content: "";
    position: absolute;
    width: 110%;
    height: 5px;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--sub-color), var(--accent-color));
}
@media(max-width: 440px){

    .depth {
        width: 80%;
        color: #c4c4c4;
        font-size: 0.8em;
        height: 40px;
    }
    .depth::before {
        height: 3px;
    }

}

.conA {
    width: 60%;
    margin: auto;
    text-align: center;
    padding: 50px;
}
.conA h2 {
    width: 70%;
    margin: auto;
    font-family: "NEXON Lv1 Gothic OTF";
    font-size: 4em;
    line-height: 50px;
    padding-bottom: 50px;
}
.conA h2 p{
    font-size: 0.5em;;
    text-align: right;
}



@media(max-width: 1440px){
    .conA {
        width: 100%;
        padding: 50px;
    }
    .conA h2 {
        font-size: 3.5em;
    }
    .conA h2 p{
        font-size: 0.5em;;
        text-align: right;
    }
    .conA h2 p{
        font-size: 0.45em;;
        text-align: center;
    }
        
}

@media(max-width: 1000px){
    .conA {
        width: 100%;
        padding: 0;
        margin: 80px 0;
    }
    .conA p{
        width: 90%;
        margin: auto;
        font-size: 1em;
        text-align: center;
    }
    
}

@media(max-width: 600px){
    .conA h2 {
        font-size: 2.7em;
        width: 90%;
    }
    .conA p{
        width: 85%;
        font-size: 0.9em;
    }

}

@media(max-width: 440px){
    .conA h2 {
        font-size: 2.5em;
        width: 90%;
        line-height: 40px;
        padding-bottom: 30px;
    }
    .conA h2 p{
        font-size: 0.4em;
    }
}















.conB {
    margin: 50px 0;
    width: 100%;
 
}

.conB h2 {
    text-align: center;
    font-size: 1.5em;
}
.conB h3 {
    text-align: center;
     font-size: 1.2em;
     color: #9c9c9c;
     padding: 15px 0;
}

.conB>p{ 
    margin-bottom: 40px;
}
.conB>p span{
    margin: 15px auto;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: transparent;
    display: block;
}
.conB>p span:nth-child(1){
    background-color: #aedcf9;
}
.conB>p span:nth-child(2){
    background: linear-gradient(var(--accent-color), var(--sub-color));
}


.conB .box {
    width: 70%;
    height: 300px;
    margin:  0 auto 10% auto;
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.conB .box .item{
    width: 25%;
    position: relative;
}
.conB .box .item h4{
    position: absolute;
    bottom: -40px;
    text-align: center;
    width: 100%;
}
.conB .box .item div {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    overflow: hidden;
    transition: 0.3s;
}
.conB .box .item div p:nth-child(1){
    background-size: cover;
    width: 100%;
    height: 100%;
    color: transparent;
    opacity: 0.9;
}

.conB .box .item .img01{
    background-image: url(../img/company/se_01.png);
}
.conB .box .item .img02{
    background-image: url(../img/company/se_02.png);
}
.conB .box .item .img03{
    background-image: url(../img/company/se_03.png);
}
.conB .box .item .img04{
    background-image: url(../img/company/se_04.png);
}





.conB .box .item div .text {
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    padding: 10px 20px;
    color: white;
    font-size: 1em;
    text-align: center;
    transition: 0.5s;
    bottom: -30%;
}
.conB .box .item:hover div .text{
    bottom: 0%;
}
.conB .box .item:hover div p:nth-child(1){
    opacity: 1;
}


@media(max-width: 1440px){
    .conB .box {
        width: 80%;
        height: 280px;
    }
    .conB .box .item div .text {
        bottom: -50%;
    }
}

@media(max-width: 1000px){
    .conB .box {
        width: 70%;
        height: 600px;
        flex-wrap: wrap;
    }
    .conB .box .item{
        width: 48%;
        height: 40%;
        position: relative;
    }
    .conB .box .item div .text {
        font-size: 0.8em;
    }
}

@media(max-width: 600px){
    .conB .box {
        width: 70%;
        height: 1300px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .conB .box .item{
        width: 80%;
        height: 20%;
        position: relative;
    }

}
@media(max-width: 440px){
    .conB h2 {
        font-size: 1.3em;
    }
    .conB h3 {
        text-align: center;
         font-size: 1em;
    }
    .conB>p span{
        margin: 10px auto;
        width: 15px;
        height: 15px;
    }
    .conB .box .item{
        width: 100%;
    }
    .conB .box .item div .text {
        bottom: 0%;
    }
}













/* footer------------------------------------------------------- */
footer {
    background-color: #fffef2;
    height: 30vh;
    font-size: 0.8em; 
}
footer a {color: #555;}
footer .footer {
    width: var(--large-width);
    margin: auto;
    display: grid;
    grid-template-areas: 
    "ft_A ft_B"
    "ft_A ft_C"
    ;
    grid-gap: 20px;
    padding: 10px;
    height: 100%;
}

.ft_A {
    grid-area: ft_A;
    width: 100%;
}

.ft_A h2 {
    width: 60%;
    margin: 50px auto 0;
}
.ft_A h2 img { width: 100%;}
.ft_A div {
    width: 60%;
    margin: 50px auto 0;
    display: flex;
    justify-content: space-around;
 
}
.ft_A p {width: 35%;}
.ft_A p:nth-child(1) { padding-top: 7px;}
.ft_A p img { 
    width: 100%;}


.ft_B {
    grid-area: ft_B;
    margin: auto;
    width: 90%;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}
.ft_B>ul {
    display: flex;
    justify-content: center;
}
.ft_B>ul .main>a { font-weight: bold; font-size: 1.1em;}
.ft_B>ul>li:nth-child(2) { margin: 0 150px;}

.ft_C {
    font-size: 0.9em;
    margin: -30px auto;
    height: 120px;
}

@media(max-width: 1000px){
    footer {
        height: 35vh;
        font-size: 0.7em; 
        overflow: hidden;
    }
    footer .footer {
        width: 90%;
        margin: auto;
        display: grid;
        grid-template-areas: 
        "ft_B ft_B"
        "ft_C ft_C"
        "ft_A ft_A"
        ;
        grid-gap: 20px;
        padding: 30px;
        height: 100%;
    }
    .ft_A {
        width: 80%;
        margin: auto;
        display: flex; justify-content: space-between;}
    .ft_A h2 {
        width: 15%;
        margin: 0;
    }
    .ft_A h2 img { width: 100%;}
    .ft_A div {

        width: 15%;
        margin: 0;
        display: flex;
        justify-content: space-around;
     
    }
    .ft_A p { width: 35%; margin-top: 10px;}
    .ft_A p:nth-child(1) { padding-top: 7px;}
    .ft_A p img { width: 100%;}
    .ft_B>ul>li:nth-child(2) { margin: 0 30%;}
    .ft_C {
        width: 100%;
        font-size: 0.9em;
        margin: 0 15px;
    }
}
@media(max-width: 600px){
    footer {
        position: relative;
        top: -20px;
        height: auto;
        font-size:0.8em; 
    }

    footer .footer {
        width: 100%;
        margin: 40px 10px;
        grid-gap: 20px;
        padding: 0;
    }
    .ft_A {
        width: 80%;
        margin: auto;
        display: flex; justify-content: space-between;
    }
    .ft_A h2 {
        width: 25%;
        margin: auto;
    }
    .ft_A div {
        display: none;
    }
    .ft_B { display: none;}
    .ft_C {
        margin: 0;
    }

}
@media(max-width: 440px){
     footer {
        position: relative;
        top: -20px;
        height: auto;
        font-size:0.8em; 
    }
}
