@import url('sub.css'); 
/* ESG */
.esg_top {margin-bottom: 80px;}
.esg_top p.fs24 {margin-bottom: 15px;}


.wrapper:has(.esg_list_wrap) {overflow: initial;}

.esg_list_wrap {--esg-sticky-top: 100px; --esg-sticky-step: 24px;}
.esg_item {position: sticky;}
.esg_item:nth-child(1) {top: var(--esg-sticky-top); z-index: 1;}
.esg_item:nth-child(2) {top: calc(var(--esg-sticky-top) + var(--esg-sticky-step)); z-index: 2;}
.esg_item:nth-child(3) {top: calc(var(--esg-sticky-top) + var(--esg-sticky-step) * 2); z-index: 3;}

.esg_item:not(:last-child) {margin-bottom: 120px;}

.esg_item_in {display: flex; align-items: stretch; border-radius: 20px; overflow: hidden; background: var(--grayBg); min-height: 540px;}
.esg_item_media {width: 50%; flex-shrink: 0;}
.esg_item_media img {display: block; width: 100%; height: 100%; object-fit: cover;}
.esg_item_body {width: 50%; box-sizing: border-box; padding: 80px; background: var(--grayBg); display: flex; flex-direction: column;}
.esg_item_meta {display: flex; justify-content: space-between; margin-bottom: 40px; flex: 1;}
.esg_item_num {opacity: 0.5;}
.esg_item_eng {opacity: 0.5;}
.esg_item_ico {width: 60px; margin-bottom: 30px;}
.esg_item_ico img {display: block; width: 100%; height: auto;}
.esg_item_body h4 {margin: 0 0 15px;}
.esg_item_sub {margin: 0 0 5px;}

/* 품질경영 */
.basic_cont:has(.quality_cont) {width: 100%; max-width: 100%; margin-top: 0;}

.quality_cont .esg_top {margin-bottom: 60px;}
.q_process_list_wrap {margin-top: 0;}
.q_process_list {display: flex; width: 100%; gap: 53px; align-items: flex-start;}
.q_process_item {position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 1/1;}
.q_process_item:not(:last-child)::after {content: ''; position: absolute; right: calc(-53px / 2); top: 50%; transform: translate(50%, -50%); width: 23px; aspect-ratio: 23 / 10; background: url('/esg/img/quality_arrow.svg') center / contain no-repeat;}
.q_process_card {width: 100%; border-radius: 50%; box-sizing: border-box; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--white); transition: background 0.45s ease, color 0.45s ease; height: 100%;}
.q_process_ico {width: 60px; margin-bottom: 25px;}
.q_process_ico img {display: block; width: 100%; height: auto; transition: filter 0.45s ease;}
.q_process_step {color: var(--black); opacity: 0.3;}
.q_process_tit {margin: 0 0 10px; color: var(--black);}
.q_process_desc {margin: 0;}
.q_process_item.is-active .q_process_card {background: var(--main);}
.q_process_item.is-active .q_process_step {color: var(--white); opacity: 0.3;}
.q_process_item.is-active .q_process_tit {color: var(--white);}
.q_process_item.is-active .q_process_desc {color: var(--white); opacity: 0.7;}
.q_process_item.is-active .q_process_ico img {filter: brightness(0) invert(1);}

.q_patent .subtitle {margin-bottom: 50px;}
.q_patent_list > li {height: auto;}
.q_patent_card {height: 100%; box-sizing: border-box; padding: 50px; border-radius: 20px; border: 1px solid var(--border);}
.q_patent_card h4 {margin: 0 0 15px;}
.q_patent_meta dl {display: flex; gap: 10px;}
.q_patent_meta dt {width: 60px; flex-shrink: 0;}
.q_patent_meta dd {flex: 1; min-width: 0;}

/*******************************************************************************
    @media 1770px
*******************************************************************************/
@media all and (max-width:1770px){
/* 품질경영 */
.q_process_item br {display: none;}
}

/*******************************************************************************
    @media 1500px
*******************************************************************************/
@media all and (max-width:1500px){
/* ESG */
.esg_item_body br {display: none;}

/* 품질경영 */
.q_process_list {gap: 40px;}
.q_process_ico {width: 50px; margin-bottom: 15px;}

.q_process_item:not(:last-child)::after {right: calc(-40px / 2); width: 20px;}
}

/*******************************************************************************
    @media 1300px
*******************************************************************************/
@media all and (max-width:1300px){
/* ESG */
.esg_item_in {min-height: 500px;}
.esg_item_body {padding: 50px;}
.esg_item_ico {width: 54px; margin-bottom: 20px;}

/* 품질경영 */
.q_process_list {align-items: stretch;}
.q_process_item {aspect-ratio: unset;}
.q_process_card {border-radius: 10px;}

.q_patent_list {gap: 15px;}
}

/*******************************************************************************
    @media 980px
*******************************************************************************/
@media all and (max-width:980px){
/* ESG */
.esg_top {margin-bottom: 60px;}
.esg_top p.fs24 {margin-bottom: 5px;}

.esg_list_wrap {--esg-sticky-top: 80px; --esg-sticky-step: 20px;}
.esg_item:not(:last-child) {margin-bottom: 80px;}
.esg_item_in {min-height: 450px; border-radius: 10px;}
.esg_item_body {padding: 35px;}
.esg_item_ico {width: 45px; margin-bottom: 15px;}
.esg_item_body h4 {margin-bottom: 8px;}
.esg_item_sub {margin-bottom: 3px;}

/* 품질경영 */
.quality_cont .esg_top {margin-bottom: 30px;}

.q_process_card {padding: 20px;}
.q_process_ico {width: 45px;}
.q_process_tit {margin-bottom: 5px;}
.q_process_list {gap: 30px;}
.q_process_item:not(:last-child)::after {right: calc(-30px / 2); width: 16px;}

.q_patent_list {gap: 10px; grid-template-columns: repeat(2, 1fr);}
.q_patent_card {padding: 30px; border-radius: 10px;}
.q_patent_card h4 {margin-bottom: 10px;}
.q_patent_meta dt {width: 47px;}
}

/*******************************************************************************
    @media 768px
*******************************************************************************/
@media all and (max-width:768px){
/* 품질경영 */
.q_process_list {flex-direction: column; gap: 40px;}
.q_process_item {width: 100%;}
.q_process_item:not(:last-child)::after {top: auto; bottom: calc(-40px / 2); right: auto; left:50%; transform: translate(-50%, 50%) rotate(90deg);}
}

/*******************************************************************************
    @media 680px
*******************************************************************************/
@media all and (max-width:680px){
/* ESG */
.esg_top {margin-bottom: 30px;}

.esg_item {position: relative; top: auto !important;}
.esg_item:not(:last-child) {margin-bottom: 30px;}
.esg_item_in {flex-direction: column; min-height: 0;}
.esg_item_media {width: 100%;}
.esg_item_body {width: 100%; padding: 25px;}
.esg_item_ico {width: 40px;}

/* 품질경영 — 특허 */
.q_patent_list {grid-template-columns: 1fr;}
.q_patent_card {padding: 20px;}
.q_patent_meta dt {width: 43px;}
}

/*******************************************************************************
    @media 480px
*******************************************************************************/
@media all and (max-width:480px){
}
