/*main.css*/
@charset "utf-8";


/*섹션영역 서식*/
section{
    width: 100%;
    position: relative;
    overflow: hidden;
    font-family: 'Noto Sans KR', sans-serif;

}


/*슬라이드 이미지 텍스트*/
.content{
    position: absolute;
    top: 50%; transform: translateY(-50%);
    left: 10%;
}
.content>p{
    font-size: 27px;
    font-weight: bold;
    display: block;
    float: left;
    line-height: 60px;
}
.content>p:nth-child(1){
    margin-right: 20px;
    
}
.content>p:nth-child(2){
    width: 271px;
    height: 50px;
    color: #0082C9;
    display: block;
    background-color: #fff;
    border: 5px solid #0082c9;
    line-height: 52px;
    padding: 0 20px;
    margin-right: 20px;
}


/*메인페이지 섹션 내용 서식*/

/*공지사항 서식*/
.notice{
    height: 30px;
    margin-top: 11px;
}
.notice>.noticeWrap{
    width: 80%;
    margin: 0 auto;
}
.notice>.noticeWrap>button{
    border:1px solid #ccc;
    background-color:transparent;
    width: 100px;
    height: 30px;
    border-radius: 100px;
    cursor: pointer;
    
}
.notice>.noticeWrap>p{
    display: inline-block;
    line-height: 30px;
    margin: 0 10px;
}
.notice>.noticeWrap>p:last-child{
    color: #a3a3a3;
    float: right;
}


/*company,bussiness 공통 서식*/
.company, .bussiness{
    text-align: center;
    padding: 50px 0;
}
.companyWrap, .bussinessWrap{
    width: 900px;
    margin: 0px auto;
    padding: 40px 0;
}
.company>h2, .bussiness>h2{
    color: #002E7E;
    font-size: 32px;
    line-height: 50px;
}
.company>p, .bussiness>p{
    color: #626262;
    font-size: 16px;
    line-height: 30px;
}


/*company 공통 서식*/
.companyWrap{overflow: hidden;}
.comp{
    height: 170px; 
    border: 1px solid #b7b7b7;
    position: relative;
    margin-bottom: 8px;
    cursor: pointer;
    float: left;
    box-sizing : border-box;
    background-size: cover;
    background-position: center;
}
.comp:hover{
    font-weight: bold;
    border: 1px solid #0082C9;
}
.companyWrap>li>a{width: 100%; height: 100%;}
.company .contentWrap{
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.companyWrap p{
    font-size: 16px;
    line-height: 16px;
    margin-top: 10px;
    color: #585858;
}


/*company 개별 서식*/
.comp_bussiness{
    width: 60.5%;
    margin-right: 1%;
    background-image: url(../img/main/company_bussinessBg.png);
}
.comp_bussiness .contentWrap>p{padding-right: 3px;}

.comp_ceo{width: 38.5%;}

.comp_history{
    width: 20%;
    margin-right: 1%;
    background-color: #2198A6;
}
.comp_history .contentWrap>p{color: #fff;}

.comp_map{
    width: 20%; 
    margin-right: 1%;
    background-image: url(../img/main/company_mapBg.png);
}
.comp_map .contentWrap>p{color: #fff;}

.comp_vision{
    width: 58%;
    background-image: url(../img/main/company_visionBg.png);
}
.comp_vision .contentWrap>p{color: #fff;}


/*bussiness 공통 서식*/
.bussiness{background-color: #F4F4F4;}
.bussinessWrap{overflow: hidden; margin-bottom: 40px;}
.bussinessWrap .contentIcon{
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    box-shadow: 2px 3x 6px rgba(0,0,0,.7);
    z-index: 1000;
}
.bussinessWrap .contentTxt{
    width: 100%;
    height: 165px;
    background-color: rgba(31, 31, 31, 0.85);
    display: inline-block;
    color: #ededed;
    font-size: 13px;
    line-height: 20px;
    position: absolute;
    left: 0; bottom: -170px;
    transition: 0.6s;
}
.bussinessWrap .contentTxt>p{padding-left: 5px;}
.bussinessWrap .contentTxt>p:first-child{
    font-size: 20px;
    line-height: 45px;
    font-weight: bold;
    color: #fff;
    margin-top: 46px;
}

.bussinessWrap>.section{
    width: 32.3%; height: 330px;
    position: relative;
    float: left;
    overflow: hidden;
    margin-right: 0.6%;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.bussinessWrap>.section:first-child{background-image: url(../img/main/bussiness_kormediBg.png);}
.bussinessWrap>.section:nth-child(2){background-image: url(../img/main/bussiness_biowatcBg.png);}
.bussinessWrap>.section:nth-child(3){background-image: url(../img/main/bussiness_healthGiftBg.png);}
.bussinessWrap>.section:last-child{
    background-image: url(../img/main/bussiness_letterBg.png);
    margin-right: 0px;
}



/*1080 이하일 때 적용되는 스타일*/
@media screen and (max-width:1080px){
    
    /*company,bussiness 공통 서식*/
    .companyWrap, .bussinessWrap{width: 80%;} 
    
}



/*780 이하일 때 적용되는 스타일*/
@media screen and (max-width:780px){
    
    /*슬라이드 내 텍스트 서식*/
    .content{
        top: 50%; left: 50%;
        transform:translate(-50%,-50%);
    }
    .content>p{
        float: none;
        font-size: 24px;
        line-height: 50px;
        margin-right: 0px !important;
        text-align: center;
    }
    .content>p:nth-child(2){width: 250px;}
  
    /*공지사항 서식*/
    .notice>.noticeWrap{width: 88%;}
    .notice>.noticeWrap>button{width: 80px;}
    .noticeWrap>p:nth-child(2){margin: 0 4px;}
    .noticeWrap>p:last-child{display: none;}
    
    /*company,bussiness 공통 서식*/
    .companyWrap, .bussinessWrap{width: 82%;}
    
    /*company공통 서식*/
    .company>p{width: 320px; font-size: 15.5px; margin: 0 auto;}
    
    /*company 개별 서식*/
    .comp_history{width: 45%;}
    .comp_map{width: 54%; margin-right: 0;}
    .comp_vision{width: 100%;}
    
    /*bussiness 개별 서식*/
    .bussinessWrap>.section{
        width: 32%; margin-right: 2%; margin-bottom: 2%;
    }
    .bussinessWrap>.section:nth-child(3){margin-right: 0}
   
}

