/* sub page 공통 */
.sub_wrap{
   --font-size: 10px;
   --line-height: 1;
   --width-height: 10px;
   --mg-pd: 10px;
}
/* sub_banner 공통 */
.sub_banner{
    height: calc(var(--width-height) * 35);
    position: relative;
    margin-bottom: calc(var(--mg-pd) * 5);
}
.sub_banner::before{
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}
.sub_banner_cont{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    width: 100%;
    padding: 20px;
}
.sub_banner_cont h2{
    font-weight: 700;
    font-size: calc(var(--font-size) * 3.6);
}
.sub_banner_cont p{
    font-size: calc(var(--font-size) * 3);
    line-height: calc(var(--line-height) * 1.6);
    margin-top: calc(var(--mg-pd) * 2);
    word-break: keep-all;
}
/* greetings */
.greetings .sub_banner{
    background:url(../img//sub/banner_greeting.jpg) no-repeat center center / cover;
    position: relative;
}
.greetings .sub_cont{
    display: flex;
    gap: calc(var(--mg-pd) * 5);
}
.greetings .sub_cont figure{
    width: calc(var(--width-height) * 24);
    height: calc(var(--width-height) * 24);
    overflow: hidden;
}
.greetings .sub_cont figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}
.greetings .sub_cont_msg{
    width: 75%;
}
.greetings .sub_cont_msg p{
    margin-bottom: calc(var(--mg-pd) * 3);
    line-height: calc(var(--line-height) * 2);
    font-size: calc(var(--font-size) * 2);
    color: #575757;
}
/* company */
.company .sub_banner{
    background:url(../img/sub/banner_company.jpg) no-repeat center center / cover;
    position: relative;
}
.company .sub_cont p{
    line-height: calc(var(--line-height) * 2);
    font-size: calc(var(--font-size) * 2);
    color: #111111;
    text-align: center;
    word-break: keep-all;
}
.company .sub_cont .box_wrap{
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(var(--mg-pd) * 5)
}
.company .sub_cont .box{
    /* background-color: #F7F7F7; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:  calc(var(--mg-pd) * 1.2);
    width: 33%;
    padding: calc(var(--mg-pd) * 3.6) calc(var(--mg-pd) * 3);
    font-style: normal;
    width: 32%;
}
.company .sub_cont .box_keyword_wrap{
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #F18B46;
    align-items: center;
}
.company .sub_cont .box .icon_bg{
    background-color: #F18B46;
    width: calc(var(--width-height) * 4.8);
    height: calc(var(--width-height) * 4.8);
    position: relative;
    border-radius: 50px;
}
.company .sub_cont .box .icon_bg img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.company .sub_cont .box .keyward{
    font-size:  calc(var(--font-size) * 2.8);
    font-weight: 500;
    word-break: keep-all;
    text-align: center;
}
.company .sub_cont .box_cont_wrap h3{
     font-size: calc(var(--font-size) * 2.4);
     margin-bottom: calc(var(--mg-pd) * 1.6);
     color: #111111;
     word-break: keep-all;
     line-height: 1.5;
     text-align: center;
}
.company .article_wrap{
    /* padding: calc(var(--mg-pd) * 5); */
    /* background-color: #f9f9f9; */
}
.company .pd_list_wrap{
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(var(--mg-pd) * 8);
}
.company .pd_list_wrap li{
    width: 24%;
}
.company .pd_list_wrap li figure{
    width: 100%;
    height:100%;
}
.company .pd_list_wrap li figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5);
}
/* organ */
.organ .sub_cont{
    display: flex;
}
.organ .sub_cont img{
    width: 80%;
    margin: 0 auto;
}

/* history */
.history_cont{
    margin-bottom: calc(var(--mg-pd) * 10);
}
.history_cont h2{
    text-align: center;
    color: #9d9d9d5e;
    font-size: calc(var(--font-size) * 3.2)
}
.history_cont .box_wrap{
    display: flex;
    margin-top: calc(var(--mg-pd) * 5);
   
}
.history_cont .box_wrap.right{
    justify-content: end;
}
.history_cont .box_wrap.right .box{
    border-left: 1px dashed #9D9D9D;
    position: relative;
}
.history_cont .box_wrap.right .box::before{
    content: '';
    width: 24px;
    height: 24px;
    background-color: #ED6D24;
    position: absolute;
    top: -12px;
    left: -12px;
}
.history_cont .box_wrap.right .box::after{
    content: '';
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    position: absolute;
    top: -7px;
    left: -7px;
}

.history_cont .box_wrap.left{
    text-align: end;
}
.history_cont .box_wrap.left .box{
    border-right: 1px dashed #9D9D9D;
    position: relative;
}
.history_cont .box_wrap.left .box::before{
    content: '';
    width: 24px;
    height: 24px;
    background-color: #ED6D24;
    position: absolute;
    top: -12px;
    right: -12px;
}
.history_cont .box_wrap.left .box::after{
    content: '';
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    position: absolute;
    top: -7px;
    right: -7px;
}
.history_cont .box{
    width: 50%;
    padding: calc(var(--mg-pd) * 5)  calc(var(--mg-pd) * 5) 0  calc(var(--mg-pd) * 5);
    
}
.history_cont .box ul{
    display: flex;
    flex-direction: column;
    gap: calc(var(--mg-pd) * 3);
}
.history_cont .box dt{
    font-size: calc(var(--font-size) * 3);
    color: #111111;
    margin-bottom: 8px;
}
.history_cont .box dd{
    font-size: 18px;
    color: #454545;
    line-height: 1.5;
    margin-bottom: 4px;
    word-break: keep-all;
}

/* location */
.location .sub_cont{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: calc(var(--mg-pd) * 5);;
    gap: calc(var(--mg-pd) * 5);
}
.map_wrap .section_address.lst {
    display: none !important;
}
.map_wrap, 
.root_daum_roughmap, 
.root_daum_roughmap .canvas {
    width: 100% !important;
    height: 380;
}
.root_daum_roughmap .container {
    width: 100% !important;
}
.location .map_wrap{
      width: 55%;
}
.loc_cont{
    min-width: 40%
}
.loc_cont h2{
    font-size: calc(var(--font-size) * 2.8);
    padding-bottom: calc(var(--mg-pd) * 3);
    font-weight: 600;
    margin-bottom: calc(var(--mg-pd) * 3);
    /* position: relative; */
    border-bottom: 1px solid #ccc;
}

.loc_cont ul li{
    margin-bottom: calc(var(--mg-pd) * 3);
}
.loc_cont h3{
    font-size:  calc(var(--font-size) * 2);
    margin-bottom: 8px;
    color: #575757;
    padding-left: 32px;
    position: relative;
    font-weight: 400;
}
.loc_cont .loc h3::before{
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top:50%;
    left: 0;
    transform: translateY(-50%);
    background: url(../img/sub/icon_loc.png);
}
.loc_cont .tel h3::before{
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top:50%;
    left: 0;
    transform: translateY(-50%);
    background: url(../img/sub/icon_phone.png);
}
.loc_cont .fax h3::before{
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top:50%;
    left: 0;
    transform: translateY(-50%);
    background: url(../img/sub/icon_fax.png);
}

.loc_cont p{
   font-size:  calc(var(--font-size) * 1.8);
   font-weight: 500;
}

@media (max-width: 1200px) {
     .company .sub_cont .box_keyword_wrap{
        flex-direction: column;
        align-items: center;
    }
    .company .sub_cont .box_cont_wrap h3{
        text-align: center;
    }
    .location .sub_cont{
        flex-direction: column;
    }
    .loc_cont{
        min-width: 100%;
    }
    .greetings .sub_cont{
        gap: calc(var(--mg-pd) * 3);
    }
    .organ .sub_cont img{
        width: 100%;
    }
}
@media (max-width: 768px) {
    .sub_wrap {
        --font-size: 8px;
    }
    .sub_banner{
        --width-height: 6px;
    }
   
    .history_cont .box{
        width: 98%;
        padding: calc(var(--mg-pd) * 2)  calc(var(--mg-pd) * 2) 0  calc(var(--mg-pd) * 2)
    }
    .root_daum_roughmap .canvas {
        height: 250px !important; 
    }
    
   
}
@media (max-width: 600px) {
    .sub_wrap {
        --font-size: 6px;
        --width-height: 5px;
    }
     .greetings .sub_cont_msg p{
        font-size: 14px;
    }
    .company .sub_cont .box{
        padding: 24px;
    }
    .company .sub_cont p{
        font-size: 14px;
    }
    .company .sub_cont .box .icon_bg{
        width: calc(var(--width-height) * 7);
        height: calc(var(--width-height) * 7);
    }
    .company .sub_cont .box .icon_bg img{
        width:  calc(var(--width-height) * 4);
        height:  calc(var(--width-height) * 4);
    }
     .location .sub_cont{
        padding: 24px;
        gap: 30px;
    }
    .loc_cont h2{
        font-size: 20px;
    }
    .loc_cont h3{
        font-size: 16px;
        padding-left: 28px;
    }
    .loc_cont p{
        font-size: 16px;

    }
}
@media (max-width: 480px) {
    .sub_wrap {
        --line-height: 0.75;
        --mg-pd: 8px;
        --width-height: 4px;
    }
    .greetings .sub_cont{
        gap: calc(var(--mg-pd) * 2);
        flex-direction: column;
        align-items: center;
    }
    .greetings .sub_cont figure {
        border-radius: 100%;
    }
    .greetings .sub_cont_msg{
        width: 100%;
    }
    .company .sub_cont .box_wrap{
        flex-direction: column;
    }
    .company .sub_cont .box{
        width: 100%;
        padding: 18px;
    }
    .company .pd_list_wrap{
        flex-wrap: wrap;
    }
    .company .pd_list_wrap li{
        width: 49%;
    }

    .history_cont .box_wrap{
        margin-top: 20px;
    }
    
    .history_cont .box ul{
        gap: 20px;
    }
    .history_cont .box dd{
        font-size: 14px;
        margin-bottom: 0;
    }
    .history_cont .box_wrap.right .box::before {
        width: 18px;
        height: 18px;
        top: -9px;
        left: -9px;
    }
     .history_cont .box_wrap.right .box::after {
        width: 10px;
        height: 10px;
        top: -5px;
        left: -5px;
    }
    .history_cont .box_wrap.left .box::before {
        width: 18px;
        height: 18px;
        top: -9px;
        right: -9px;
    }
     .history_cont .box_wrap.left .box::after {
        width: 10px;
        height: 10px;
        top: -5px;
        right: -5px;
    }
    .history_cont{
        margin-bottom: 50px;
    }
    
   
      
}