@import url(reset.css);
@font-face {
    font-family: 'nanum_regular';
    src: url(../font/NanumGothic/NanumGothic.otf);

    font-family: 'nanum_bold';
    src: url(../font/NanumGothic/NanumGothicBold.otf);
}

:root{
    --maincolor-- : #00458C;
    --subcolor-- : #8EB7ED;
    --f_color-- : #101E3F;

    --font-- : 'nanum_regular';
    --fontBold-- : 'nanum_bold';
    
}

body{
    font-family: var(--font--);
}

header{
    width: 100%;
    height: 50px;
}

header .header_top{
    width: 100%;
    height: 100%;
    display: flex;
    color: #fff;
    background-color: var(--maincolor--);
    font-family: var(--fontBold--);
    font-size: 0.8rem;
    z-index: 9999;
}

header .header_top ul{
    display: flex;
    align-items: center;
}

header .header_top ul li{
    margin-right: 4rem;
}

header .header_top ul li:first-child{
    margin-left: 100px;
}

.main{
    width: 100%;
    position: relative;
}

.top{
    position: fixed;
    bottom: 100px;
    right: 50px;
    z-index: 999999;
}

.top button{
    border-radius: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.main_banner{
    width: 100%;
    height: 700px;
    margin-bottom: 100px;
}

.main_banner {
    position: relative;
    top: 0;
}

.main_banner .banner{
    width: 100%;
    height: 100%;
    position: relative;
    top: -95px;

}

.main_banner .banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_banner  .header_bottom{
    width: 100%;
    color: #fff;
    font-family: var(--fontBold--);
    font-size: 1.125em;
    z-index: 999;
    padding-top: 30px;
    position: sticky;
    top: 0;
}

.main_banner .header_bottom ul{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;
} 

.main_banner .header_bottom ul li a:last-child{
    display: flex;
    flex-direction: column;
    align-items: end;
}

.main_banner .header_bottom ul li:last-child{
    display: none;

}


.main .company_title{
    text-align: center;
    margin-bottom: 100px;
}

.main .company_title h2{
    font-size: 2rem;
}

.main .company_circle{
    max-width: 1160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 390px;
    position: relative;
}

.main .company_circle .left{
    width: 418px;
    height: 418px;
    border: 10px solid #00458C;
    border-radius: 100%;
    position: absolute;
    left: 0;
}

.main .company_circle .left img{
    margin: auto;
}

.main .company_circle .left .left_contents{    
    width: 300px;
    height: 150px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.main .company_circle .left .left_contents h3{
    margin-bottom: 32px;
}

.main .company_circle .left .left_contents p{
    line-height: 150%;
}

.main .company_circle .center{
    position: relative;
    width: 418px;
    height: 418px;
    border: 10px  solid #00458C;
    outline: 10px solid #fff;
    border-radius: 100%;
    z-index: 2;
}

.main .company_circle .center img{
    margin: auto;
}

.main .company_circle .center .center_contents{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.main .company_circle .right{
    width: 418px;
    height: 418px;
    border: 10px solid #00458C;
    border-radius: 100%;
    position: absolute;
    right: 0;
}

.main .company_circle .right img{
    margin: auto;
}

.main .company_circle .right .right_contents h3{
    margin-bottom: 32px;
}

.main .company_circle .right .right_contents{
    width: 300px;
    height: 150px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.main .company_circle .right .right_contents p{
    line-height: 150%;
}

.main .ethics{
    width: 1160px;
    margin: auto;
    margin-bottom: 290px;
}

.main .ethics .e_title{
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main .ethics .e_title h3{
    font-size: 2rem;
}

.main .ethics .e_title img{
    margin-bottom: 30px;
}

.main .ethics .e_contents h3{
    font-size: 1.8rem;
    line-height: 180%;
    margin-bottom: 60px;
}

.main .ethics .e_contents p{
    font-size: 1.3rem;
    line-height: 200%;
}

.main .rule{
    width: 1160px;
    margin: auto;
    margin-bottom: 600px;
}

.main .rule .r_title{
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main .rule .r_title h3{
    font-size: 2rem;
}

.main .rule .r_title img{
    margin-bottom: 30px;
}

.main .rule .r_contents h3{
    font-size: 1.8rem;
    line-height: 180%;
    margin-bottom: 60px;
}

.main .rule .r_contents p{
    font-size: 1.3rem;
    line-height: 200%;
}

.main .back_circle{
    width: 100%;
    z-index: -1;
}

.main .back_circle .top_circle{
    position: absolute;
    top: 30%;
    left: 0;
    z-index: -1;
}

.main .back_circle .mid_circle{
    position: absolute;
    top: 65%;
    right: 0;
    z-index: -1;
}

.main .back_circle .bottom_circle{
    position: absolute;
    top : 105%;
    left: 0;
    z-index: -1;
}

footer{
    position: relative;
    width: 100%;
    margin: auto;
    height: 637px;
    background-color: var(--f_color--);
    color: #fff;
}


footer .f_contents{
    width: calc(100% - 200px);
    height: 100%;
    margin: auto;
    padding-top:  73px;
}

footer .contact{
    width: 100%;
    height: 30%;
    margin-bottom: 93px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .contact .company{
    font-family: var(--fontBold--);
}


footer .contact .company p{
    font-size: 1.875em;
    margin-bottom: 12px;
}

footer .contact .company p:last-child{
    font-size: 1.125em;
    line-height: 150%;
}


footer .contact .sns {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

footer .contact .sns i{
    font-size:  38px;
    margin-right: 28px;
}

footer .information {
    font-family: var(--font--);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .information .info p{
    font-size: 1em;
}

footer .information .info .info_top{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

footer .information .info .info_mid{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

footer .information .info .info_mid .address{
    margin-right: 32px;
}

footer .information .familysite select{
    width: 209px;
    height: 52px;
    background-color: #ffff;
    font-family: var(--fontBold--);
    color: var(--maincolor--);
    border-radius: 10px;
    text-align: center;
    appearance: none;

}

.submenu{
    background-color: var(--maincolor--);
    width: 100%;
    padding: 80px 30px;
    margin: auto;
    height: 100vh;
    color: #fff;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999999;
}

.submenu .sub_title{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.submenu .sub_m li:nth-child(2) {
    margin: 40px 0;
}

.submenu .sub_m li:nth-child(4) {
    margin-top: 40px;
}

.submenu .sub_m li h2{
    font-size: 2em;
    font-family: var(--fontBold--);
}

@media screen and (max-width : 1280px) {
    /* 노트북 */
    .main .rule .r_contents br:first-child{
        display: none;
    }
    
    .main .company_circle .left{
        width: 400px;
        height: 400px;
        border: 10px solid #00458C;
        border-radius: 100%;
        position: absolute;
        left: 20px;
    }

    .main .company_circle .left .left_contents{
        z-index: 2;
    }

    .main .company_circle .center{
        position: relative;
        width: 410px;
        height: 410px;
        border: 10px  solid #00458C;
        outline: 10px solid #fff;
        border-radius: 100%;
        z-index: 2;
    }

    .main .company_circle .right{
        width: 400px;
        height: 400px;
        border: 10px solid #00458C;
        border-radius: 100%;
        position: absolute;
        right: 20px;
    }

    .main .company_circle .right .right_contents{
        z-index: 2;
    }

    .main .ethics .e_contents{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main .ethics .e_contents h3 {
        text-align: center;
        font-size: 1.7rem;
    }

    .main .rule .r_contents{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .main .rule .r_contents h3 {
        text-align: center;
        font-size: 1.7rem;
    }

    .main .back_circle .bottom_circle{
        position: absolute;
        top : 105%;
        left: 0;
        z-index: -1;
    }
}

@media screen and (max-width : 1200px) {
    /* 노트북 큰 태블릿 */

    .main .company_circle .left{
        width: 300px;
        height: 300px;
        border: 10px solid #00458C;
        border-radius: 100%;
        position: absolute;
        left: 145px;
    }

    .main .company_circle .left .left_contents{
        width: 250px;
    }
    .main .company_circle .left .left_contents p{
        font-size: 0.8rem;
    }

    .main .company_circle .center{
        position: relative;
        width: 318px;
        height: 318px;
        border: 10px  solid #00458C;
        outline: 10px solid #fff;
        border-radius: 100%;
        z-index: 2;
    }

    .main .company_circle .right{
        width: 300px;
        height: 300px;
        border: 10px solid #00458C;
        border-radius: 100%;
        position: absolute;
        right: 145px;
    }

    .main .company_circle .right .right_contents{
        width: 250px;
    }
    .main .company_circle .right .right_contents p{
        font-size: 0.8rem;
    }


    .main .company_circle .right .right_contents p{
        font-size: 0.8rem;
    }

    .main .ethics {
        width: 100%;
    }

    .main .rule {
        width: 100%;
    }


    .main_banner .header_bottom ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 20px;
        position: relative;
        top: 0;
    }

    .header_bottom{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }

    .main_banner {
        position: relative;
        top: -50px;
    }

    .main_banner .header_bottom ul{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 0 20px;
    }

    .main_banner .header_bottom ul li{
        display: none;
    }

    .main_banner .header_bottom ul .logo{
        display:block;
    }

    .main_banner .header_bottom ul li:last-child{
        display:block;
        
    }
}

@media screen and (max-width : 991px) {
    /* 태블릿 */

    .main .company_circle{
        display: flex;
        flex-direction: column;
    }
    

    .main .company_circle .left{
        width: 400px;
        height: 400px;
        position: static;
    }

    .main .company_circle .left .left_contents {
        top: 18%;
    }

    .main .company_circle .center{
        width: 400px;
        height: 400px;
        position: static;
    }

    .main .company_circle .right{
        width: 400px;
        height: 400px;
        position: static;
    }

    .main .company_circle .right .right_contents{
        top: 85%;
    }
    

    .main .ethics {
        padding: 0 16px;
        width: 100%;
    }

    .main .rule {
        padding: 0 16px;
        width: 100%;
    }

    .main .ethics .e_contents h3 {
        font-size: 1.2rem;
    }

    .main .ethics .e_contents p {
        font-size: 1rem;
    }

    .main .rule .r_contents h3{
        font-size: 1.2rem;
    }



    .main .rule .r_contents p {
        font-size: 1rem;
    }

    footer{
        padding: 0 24px;
    }

    footer .f_contents{
        width: 100%;
    }

    footer .information{
        width: 100%;
        text-align: center;
    }

    footer .information .info{
        width: 100%;
    }

    footer .information .familysite select{
        display: none;
    }
    
}

@media screen and (max-width : 767px) {
    /* 작은 태블릿 */
    .main .rule .r_contents br:first-child{
        display: block;
    }
    .main .company_circle{
        margin-bottom: 200px;
    }

    .main .back_circle .top_circle{
        top: 50%;
    }

    .main .back_circle .top_circle img{
        width: 200px;
    }

    .main .back_circle .mid_circle img{
        width: 350px;
    }

    .main .back_circle .bottom_circle img{
        width: 200px;
    }

    .main .back_circle .bottom_circle {
        position: absolute;
        top : 120%;
        left: 0;
        z-index: -1;
    }

    .main .ethics{
        margin-bottom: 200px;
    }

    .main .rule{
        margin-bottom: 200px;
    }

    .top {
        right: 16px;
    }

    .top button img {
        width: 50px;
    }
}

@media screen and (max-width : 630px) {

    .main_banner .header_bottom ul .logo img {
        width: 90px;
    }

    .main_banner .header_bottom ul .ham img {
        height: 30px;
    }


    .submenu .sub_title a img{
        width: 90px;
    }

    .submenu .sub_m li h2 {
        font-size: 1.5em;
    }
}

@media screen and (max-width : 575px) {
    /* 큰 모바일 */

    header .header_top{
        display: none;
    }

    .main_banner {
        position: relative;
        top: -25px;
    }

    .main .company_circle .left{
        width: 350px;
        height: 350px;
        position: static;
    }

    .main .company_circle .center{
        width: 350px;
        height: 350px;
        position: static;
    }

    .main .company_circle .right{
        width: 350px;
        height: 350px;
        position: static;
    }

    .main .ethics .e_title {
        margin-bottom: 60px;
    }

    .main .rule .r_title {
        margin-bottom: 60px;
    }

    .main .back_circle .mid_circle img {
        width: inherit;
    }

    footer .f_contents {
        width: 100%;
    }

    footer .information .info p {
        font-size: 0.8em;
    }

    footer .contact .company{
        width: 100%;
        text-align: center;
    }

    footer .contact .company p {
        margin-bottom: 28px;
    }

    footer .contact .sns{
        display: none;
    }

    
}

@media screen and (max-width : 400px) {
    /* 모바일 */
    .main .ethics .e_contents h3 br{
        display: none;
    }

    .main .rule .r_contents h3{
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .main .rule .r_contents h3 br{
        display: none;
    }

    .main .rule .r_contents p {
        font-size: 0.8rem;
    }

    .main .ethics .e_contents h3{
        font-size: 0.9rem;
        margin-bottom: 28px;
    }
    .main .ethics .e_contents p {
        font-size: 0.8rem;
    }

    
    .information .info .info_mid {
        flex-direction: column;
    }

    .information .info .info_mid .address {
        margin-bottom: 30px;
    }

}

@media screen and (max-height : 400px) {
    /* 모바일 가로 버전 */
}

