@import url('sub.css'); 

/* 페이지 공통 */
.basic_cont:has(.company_cont) {width: 100%; max-width: 100%; margin-bottom: 0;}

/* 인사말 */
#greeting .greeting_wrap {position: relative; overflow: hidden;}
#greeting .greeting_wrap::before {content: ''; position: absolute; width: 60%; aspect-ratio: 1085 / 921; max-width: 1085px; background: url('/eng/company/img/greeting_symbol.svg') center / cover no-repeat; right: -240px; bottom: -240px;}
#greeting .greeting_in {display: flex; align-items: center; gap: 80px; position: relative; z-index: 2;}
#greeting .greeting_in .imgbox {flex-shrink: 0; width: 35%; max-width: 510px; border-radius: 20px; overflow: hidden;}
#greeting .greeting_in .imgbox img {width: 100%;;}

#greeting .greeting_in .txtbox .txtbox_body {margin: 20px 0 50px;}
#greeting .greeting_in .txtbox .txtbox_body .fs20 {margin-bottom: 10px;}
#greeting .greeting_in .txtbox .ceo {display: flex; align-items: center; gap: 20px;}

#greeting .greeting_in .txtbox .ceo img {max-width: 180px;}

#greeting .greeting_merit_list li {padding: 0 40px;}
#greeting .greeting_merit_list li + li {border-left: 1px solid var(--border);}
#greeting .greeting_merit_list li i {display: flex; justify-content: center; margin-bottom: 40px;}
#greeting .greeting_merit_list li .txtbox .num {padding: 2px 15px; border-radius: 9999px; background: var(--main); display: inline-flex; margin-bottom: 10px;}
#greeting .greeting_merit_list li .txtbox h4 {margin-bottom: 20px;}

/* 연혁 */
#history {box-sizing: border-box; overflow: visible;}

#history .subtitle p.eng {opacity: 1;}

#history .history_pin {width: 100%; min-height: var(--vh); box-sizing: border-box; padding: var(--compad) 0; display: flex; flex-direction: column; justify-content: center; background: url('/eng/company/img/history_bg.jpg') center / cover no-repeat;}
#history .history_viewport {width: 100%; --history-gap: 30px; --history-card-width: 100%;}
#history .history_grid {display: flex; flex-wrap: nowrap; align-items: stretch; gap: var(--history-gap); will-change: transform; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);}
#history .history_card {box-sizing: border-box; flex: 0 0 var(--history-card-width); width: var(--history-card-width); min-width: 0; padding: 50px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.10); backdrop-filter: blur(10px); transition: background 0.35s ease, border-color 0.35s ease;}
#history .history_card .history_period {margin: 0 0 5px;}
#history .history_card h4 {margin: 0 0 20px;}
#history .history_card_body {position: relative;}
#history .history_card .history_slogan {position: absolute; top: 0; left: 0; width: 100%; margin: 0; opacity: 0.7; visibility: visible; pointer-events: none; z-index: 1; transition: opacity 0.35s ease, visibility 0.35s ease;}
#history .history_card .history_items {display: flex; flex-direction: column; gap: 5px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.35s ease, visibility 0.35s ease;}
#history .history_card.is-active {border-color: transparent; background: linear-gradient(rgba(44, 65, 152, 0.8), rgba(44, 65, 152, 0.8)) padding-box, linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%) border-box;}
#history .history_card.is-active .history_period {color: var(--sub);}
#history .history_card.is-active .history_slogan {opacity: 0; visibility: hidden;}
#history .history_card.is-active .history_items {opacity: 1; visibility: visible; pointer-events: auto;}
#history .history_items li {display: flex; align-items: flex-start; gap: 20px;}
#history .history_items li b {flex-shrink: 0; min-width: 70px;}
#history .history_items li span {flex: 1; min-width: 0; opacity: 0.7;}
#history .history_progress {margin-top: 60px;}
#history .history_progress_track {position: relative; width: 100%; height: 2px; background: var(--white_20); overflow: visible;}
#history .history_progress_fill {position: relative; height: 100%; width: 0; background: var(--main);}
#history .history_progress_icon {position: absolute; right: 0; top: 50%; transform: translate(50%, -50%); display: flex; align-items: center; justify-content: center; width: 70px; aspect-ratio: 1 / 1; pointer-events: none;}
#history .history_progress_icon img {display: block; width: 100%; height: auto;}

body:has(#history.fixed) .header.fixed {top: -120px;}

body:has(#history.fixed) #visual .visual_tab.is-fixed {top: 0 !important;}

/* 조직도 */
#organ .ogran_wrap .ceo {display: flex; flex-direction: column; align-items: center; justify-content: center; width: 220px; aspect-ratio: 1 / 1; border-radius: 50%; box-sizing: border-box; border: 3px solid transparent; background: linear-gradient(135deg, #2C4198 0%, #132368 100%) padding-box, linear-gradient(135deg, #2C4198 0%, #132368 100%) border-box; background-clip: padding-box, border-box; background-origin: border-box; box-shadow: inset 0 0 0 6px var(--white); margin: 0 auto 80px; position: relative;}

#organ .ogran_wrap .ceo::before {content: ''; position: absolute; left: 50%; bottom: -7px; height: 35px; border-left: 1px solid var(--border); transform: translate(-50%, 100%);}
#organ .ogran_wrap .ceo::after {content: ''; position: absolute; left: 50%; bottom: -2px; transform: translate(-50%, 50%); width: 10px; aspect-ratio: 1/1; border: 2px solid var(--main); border-radius: 50%; background-color: var(--white); box-sizing: border-box;}

#organ .ogran_wrap .depth2 {display: flex; gap: 30px; justify-content: center; position: relative; width: 100%; margin: 0 auto; max-width: 990px;}
#organ .ogran_wrap .depth2::before {content: ''; position: absolute; left: 50%; top: -39px; border-bottom: 1px solid var(--border); width: calc(((100% + 30px) / 2)* 1); transform: translateX(-50%);}
#organ .ogran_wrap .depth2_wrap {flex: 1; max-width: 480px; position: relative;}
#organ .ogran_wrap .depth2_wrap::after {content: ''; position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 10px; aspect-ratio: 1/1; border: 2px solid var(--black); border-radius: 50%; background-color: var(--white); box-sizing: border-box;}
#organ .ogran_wrap .depth2_wrap::before {content: ''; position: absolute; left: 50%; top: 1px; height: 40px; border-left: 1px solid var(--border); transform: translate(-50%, -100%);}
#organ .ogran_wrap .organ_item {padding: 25px 15px 20px; background-color: var(--black); border-radius: 10px; text-align: center; width: 100%; display: flex; align-items: center; justify-content: center; gap: 0 5px; flex-wrap: wrap; position: relative;}

#organ .ogran_wrap .depth2_sub {margin-top: 60px; display: flex; gap: 30px; position: relative;}
#organ .ogran_wrap .depth2_sub::before {content: ''; position: absolute; left: 50%; top: -29px; border-bottom: 1px solid var(--border); width: calc(((100% + 30px) / 2)* 1); transform: translateX(-50%);}
#organ .ogran_wrap .depth2_sub::after {content: ''; position: absolute; left: 50%; top: -29px; height: 30px; border-left: 1px solid var(--border); transform: translate(-50%, -100%);}
#organ .ogran_wrap .depth2_sub .organ_item {background-color: var(--white); border: 1px solid var(--border); flex: 1;}
#organ .ogran_wrap .depth2_sub .organ_item::before {content: ''; position: absolute; left: 50%; top: 0px; height: 30px; border-left: 1px solid var(--border); transform: translate(-50%, -100%);}
#organ .ogran_wrap .depth2_sub .organ_item::after {content: ''; position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 10px; aspect-ratio: 1/1; border: 2px solid var(--black); border-radius: 50%; background-color: var(--white); box-sizing: border-box;}

/* 찾아오시는 길 */
#location .root_daum_roughmap_landing {width: 100% !important; height: 100%; overflow: hidden;}
#location .wrap_map {height: 100% !important; width: 100%;}
#location .root_daum_roughmap .wrap_controllers, #location .root_daum_roughmap .cont {display: none;}
#location .root_daum_roughmap_landing .map_border {display: none;}

#location .location_list {display: flex; flex-direction: column;}
#location .location_row {display: flex; align-items: stretch; gap: 20px; min-height: 730px;}
#location .location_row.is-reverse {flex-direction: row-reverse;}
#location .location_row + .location_row {margin-top: 100px;}
#location .location_map {flex: 1; min-width: 0;}
#location .location_map_inner {border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-sizing: border-box; background: var(--grayBg); height: 100%;}
#location .location_map_inner iframe {width: 100%; height: 100%;}

#location .location_info {flex-shrink: 0; width: 460px; box-sizing: border-box; padding: 50px; border-radius: 20px; background: linear-gradient(135deg, #2C4198 0%, #132368 100%); display: flex; flex-direction: column;}
#location .location_info_head {display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.2);}
#location .location_info_tit h4 {margin: 5px 0 0; font-size: 1.7rem;}
#location .loc_label {color: var(--white); opacity: 0.3; font-weight: 600;}
#location .location_info_badge {flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 20px;}
#location .before_icon.loc_building::before {content: '\ea40';}
#location .before_icon.loc_factory::before {content: '\ebbc'; font-variation-settings: 'FILL' 1;}
#location .location_info_list {display: flex; flex-direction: column; gap: 15px;}
#location .location_info_txt {flex: 1; min-width: 0;}
#location .loc_item_label {display: flex; align-items: center; gap: 5px; margin-bottom: 2px;}
#location .loc_item_label.before_icon::before {font-size: 24px; color: var(--white);}
#location .loc_item_label.loc_pin::before {content: '\e55b';}
#location .loc_item_label.loc_tel::before {content: '\e0cd';}
#location .loc_item_label.loc_fax::before {content: '\ead8';}
#location .loc_item_val {color: var(--white); opacity: 0.7;}
#location .location_info_btns {display: flex; flex-direction: column; gap: 5px; margin-top: auto;}
#location .location_map_btn {flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 0; border-radius: 5px; border: 1px solid var(--white_20); background: rgba(255, 255, 255, 0.1); box-sizing: border-box; transition: background 0.3s ease;}
#location .location_map_btn span {transition: color 0.3s ease;}
#location .location_map_btn:hover {background-color: var(--white);}
#location .location_map_btn:hover span {color: var(--black);}
#location .location_map_btn img {display: block; height: auto; flex-shrink: 0;}


/*******************************************************************************
    @media 1770px
*******************************************************************************/
@media all and (max-width:1770px){
/* 인사말 */
#greeting br {display: none;}
#greeting .greeting_wrap::before {right: -10%; bottom: -10%;}
}

/*******************************************************************************
    @media 1500px
*******************************************************************************/
@media all and (max-width:1500px){
/* 연혁 */
#history .history_card h4 {margin-bottom: 20px;}
}

/*******************************************************************************
    @media 1300px
*******************************************************************************/
@media all and (max-width:1300px){
/* 인사말 */
#greeting .greeting_in {align-items: flex-start;}

/* 연혁 */
#history .history_card {padding: 30px;}
#history .history_items li {flex-direction: column; gap: 0;}
#history .history_items li b {min-width: unset;}


/* 조직도 */
#organ .ogran_wrap .organ_item {padding: 25px 10px 20px;}

/* 찾아오시는 길 */
#location .location_row {min-height: 670px;}

#location .location_info {width: 400px; padding: 30px;}
#location .location_info_tit h4 {font-size: 1.5rem;}


}

/*******************************************************************************
    @media  ~980px               
*******************************************************************************/
@media all and (max-width:980px){
/* 인사말 */
#greeting .greeting_in {gap: 40px;}
#greeting .greeting_in .imgbox {border-radius: 10px;}

#greeting .greeting_in .txtbox .txtbox_body {margin: 15px 0 30px;}
#greeting .greeting_in .txtbox .ceo {gap: 15px;}
#greeting .greeting_in .txtbox .ceo dd img {width: 130px; height: auto;}

#greeting .greeting_merit_list li {padding: 0 25px;}
#greeting .greeting_merit_list li i {margin-bottom: 30px;}
#greeting .greeting_merit_list li .txtbox .num {padding: 2px 12px;}
#greeting .greeting_merit_list li .txtbox h4 {margin-bottom: 10px;}

/* 연혁 */
#history .history_card {padding: 25px; border-radius: 10px;}
#history .history_card h4 {margin-bottom: 16px;}
#history .history_items {gap: 8px;}
#history .history_progress {margin-top: 30px;}
#history .history_progress_icon {width: 55px;}

/* 조직도 */
#organ .ogran_wrap .ceo {width: 180px; box-shadow:inset 0 0 0 3px var(--white); margin-bottom: 50px;}

#organ .ogran_wrap .depth2 {gap: 15px;}
#organ .ogran_wrap .depth2_sub {gap: 10px; margin-top: 40px;}


#organ .ogran_wrap .depth2_wrap .organ_item {flex-direction: column;}
#organ .ogran_wrap .organ_item {padding: 15px 10px; border-radius: 5px;}
#organ .ogran_wrap .depth2_sub .organ_item {min-height: 90px;}
#organ .ogran_wrap .ceo::before {height: 20px;}

#organ .ogran_wrap .depth2_wrap::before {height: 25px;}
#organ .ogran_wrap .depth2::before {width: calc(((100% + 15px) / 2)* 1); top: -26px;}
#organ .ogran_wrap .depth2_sub::before {width: calc(((100% + 10px) / 2)* 1); top: -20px;}
#organ .ogran_wrap .depth2_sub .organ_item::before {height: 20px;}
#organ .ogran_wrap .depth2_sub::after {top: -20px; height: 20px;}

#organ .ogran_wrap .ceo::after {width: 8px; border-width: 1px;}
#organ .ogran_wrap .depth2_wrap::after {width: 8px; border-width: 1px;}
#organ .ogran_wrap .depth2_sub .organ_item::after {width: 8px; border-width: 1px;}

/* 찾아오시는 길 */
#location .location_row {flex-direction: column; gap: 10px;}
#location .location_row.is-reverse {flex-direction: column;}
#location .location_row + .location_row {margin-top: 60px;}
#location .location_map_inner {border-radius: 10px;}

#location .location_info {padding: 25px; border-radius: 10px; width: 280px;}
#location .location_info_head {margin-bottom: 20px; padding-bottom: 20px;}
#location .location_info_tit h4 {margin-top: 0;}
#location .location_info_badge {font-size: 16px; width: 35px; height: 35px;}
#location .loc_item_label.before_icon::before {font-size: 20px;}

#location .location_info_btns {margin-top: 30px;} 
#location .location_map_btn {flex: initial; width: 100%;}

#location .location_info {width: 100%;}
#location .location_map_inner {height: 300px;}

}

/*******************************************************************************
    @media 768px
*******************************************************************************/
@media all and (max-width:768px){
/* 인사말 */
#greeting .greeting_in {display: block;}
#greeting .greeting_in .imgbox {width: 100%; max-width: 100%; margin-bottom: 30px;}
#greeting .greeting_in .txtbox {width: 100%;}

/* 찾아오시는 길 */

#location .location_info_list {gap: 10px;}
#location .location_info_btns {margin-top: 24px;}

#location .location_map_btn img {width: 20px;}
}

/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){
/* 인사말 */
#greeting .greeting_wrap::before {width: 500px; right: -7%; bottom: -7%;}
#greeting .greeting_in .txtbox .txtbox_body .fs20 {margin-bottom: 5px;}
#greeting .greeting_in .txtbox .ceo {gap: 10px;}

#greeting .greeting_merit_list {grid-template-columns: 1fr;}
#greeting .greeting_merit_list li {padding: 20px 0;}
#greeting .greeting_merit_list li:first-child {padding-top: 0;}
#greeting .greeting_merit_list li:last-child {padding-bottom: 0;}
#greeting .greeting_merit_list li + li {border-left: none; border-top: 1px solid var(--border);}
#greeting .greeting_merit_list li i {margin-bottom: 20px;}
#greeting .greeting_merit_list li .txtbox .num {line-height: 20px; padding: 0 10px;}
#greeting .greeting_merit_list li .txtbox h4 {margin-bottom: 3px;}

/* 연혁 */
#history .history_card {padding: 20px;}
#history .history_card h4 {margin-bottom: 12px;}



/* 조직도 */
#organ .ogran_wrap .ceo {width: 140px;}
#organ .ogran_wrap .organ_item {padding: 10px 5px;}

#organ .organ_container {overflow: auto; padding-bottom: 20px; position: relative;}
#organ .organ_container .responsive-dim.show {display: block;}
#organ .ogran_wrap {width: 620px;}
#organ .ogran_wrap .depth2_sub .organ_item {min-height: unset;}


/* 찾아오시는 길 */
#location .location_row + .location_row {margin-top: 40px;}
}
/*******************************************************************************
    @media ~480px               
*******************************************************************************/
@media all and (max-width:480px){
/* 인사말 */
#greeting .greeting_wrap::before {width: 400px;}
}
/*******************************************************************************
    @media ~360px
*******************************************************************************/
@media all and (max-width:360px){

}

