
.tab_menu,.tab_menu2{
    position:relative;
}
.tab_menu .list{
    overflow:hidden;
    display: table;
    margin: auto;
}
.tab_menu2 .list2,.tab_menu3 .list3{
    overflow:hidden;
    margin-top: 50px;
}
.tab_menu .list li,.tab_menu2 .list2 li{
    float:left; 
    text-align: center;
    height: 40px;
    margin-top: 20px;
    margin-right: 20px;
}
.tab_menu3 .list3 li{
    float:left; 
    width: 150px;
    text-align: center;
    height: 40px;
    margin-top: 20px;
}
.tab_menu .list .btn{
    font-size:2rem;
    font-weight: 700;
    color: black;
    padding: 14px;

}
.tab_menu2 .list2 .btn2{
    font-size:2rem;
    font-weight: 700;
    color: #fff;
    background-color: #d9d9d9;
    width: 180px;
    padding: 14px 30px;
    border-radius: 50px;

}
.tab_menu3 .list3 .btn3{
    font-size:2rem;
    font-weight: 700;
    color: #000;
    width: 150px;
    padding: 14px 30px;
}
.tab_menu .list li.is_on .btn{
    font-weight:bold; 
    color:#360658;
    font-weight: 800;
    border-bottom: solid 4px #360658;
    width: 150px;
    padding: 14px;

}
.tab_menu2 .list2 li.is_on2 .btn2{
    color:#fff;
    font-weight: 700;
    background-color: #360658;
    border-radius: 50px;
    width: 180px;
    padding: 14px 30px;

}
.tab_menu3 .list3 li.is_on3 .btn3{
   color: #4c067d;
    font-weight: 900;
    
    
    width: 150px;
    padding: 14px 30px;

}

.tab_menu .list .btn,.tab_menu2 .list2 .btn2{font-size:2rem;}
.tab_menu .cont_area,.tab_menu2 .cont_area2{
    margin-top:10px;
}

.tab_menu .cont_area .cont{
    display:none; 
    color:#000; 
    text-align:center; 
    width:100%; 
}
.tab_menu2 .cont_area2 .cont2{
    display:none; 
    color:#000; 
    text-align:center; 
    width:100%; 
}
.tab_menu3 .cont_area3 .cont3{
    display:none; 
    color:#000; 
    text-align:center; 
    width:100%; 
}
.esg h2{
    font-weight: 900;
    margin: 70px 0 30px 0;
}
.record-wrap{
    justify-content: space-between;

}
.record{
    border: solid 1px #fdfdfd;
    width: 49%;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 0px 5px 15px #00000023;
    padding: 40px;
}
.record .flex-box>div{
    width: 50%;
}

.esg h4{
    font-size: 2.2rem;
    font-weight: 800;
    
}
.esg h4 span{
    background-color: #004C14;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
}
.record-name{
    font-size: 1.6rem;
    font-weight: 700;
    padding-bottom: 10px;

}
.number{
    font-size: 2.2rem;
    font-weight: 800;
}
.number span{
    font-size: 3.6rem;
    font-weight: 900
}
.record .img-wrap{
    height: 200px;
    display: flex; /* 추가 */
    align-items: center; /* 추가 */
    justify-content: center; /* 추가 */
}
.record .img-wrap img{
    width: auto;
}

.tab_menu3 .img-wrap img{width:100%;}

/* 윤리경영 */
.mini-banner{
    padding: 20px 0;
    width: 100%;
}
.mini-banner img{
    
    width: 100%;
}
.color{
    color: #360658;
    font-weight: 800;
    padding: 20px 0 5px 0;
    font-size: inherit;
}
b{    font-size: inherit;
}
.ctt, .ctt div {
    font-size: 2rem;
    line-height: 2;
    text-align: left;
}
/* 환경경영 */
 .tab_3box {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

 .tab_3box .box {
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}
 .tab_3box .tit {
    font-weight: 700;
    font-size: 2rem;
    padding-bottom: 10px;
}

 .tab_3box .ctt {
    font-size: 1.6rem;
    color: #666;
    line-height: 21px;
    text-align: center
}


/* 실천활동 */
.board-wrap{
    justify-content: space-between;
}

.txt-wrap{
    text-align: left;
    padding: 20px;
}
.txt-wrap p:nth-child(1){
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    padding-bottom: 10px;
}
.txt-wrap p:nth-child(2){
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    padding-bottom: 10px;
}
.content-wrap{
    box-shadow: 0px 5px 10px #0000001e;
    border-radius: 20px;
    overflow: hidden;
    margin-top : 50px;
    cursor: pointer;;
}
span.esg-e,span.esg-s{
    display: inline-block;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 50px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
}
span.esg-e{
    background-color: #c5dea3;
}
span.esg-s{
    background-color: #ffe08f;
}
.tab_menu3 .list3 li::after{
    width: 1px;
    height: 15px;
    background-color: #666;
}


/* 페이지 */
.pages{
    margin-top: 50px;
    text-align: center;
}

.pages a{
    display: inline-block;
    color: #000;
    min-width: 35px;
    height: 35px;
    padding: 8px;
    margin: 10px;
    font-weight: 700;
    
}

.pages a.active{
    background-color: #f0f0f0;
    border-radius: 50%;
}


.refresh{
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.refresh-txt{
    padding: 30px 20px;
    font-size: 1.6rem;
}

	/* 모달창 */

	.ADpopup_wrap{
        width: 1000px;
        height: 700px; 
        position: fixed; 
        border-radius: 20px;
        background: #fff; 
        top: 50%; 
        left: 50%; 
        padding: 50px; 
        text-align: center;
        transform: translate(-50%, -50%);
        box-shadow: 0px 0px 100000px #0000009f;
        z-index: 20;
    }
    .ADpopup_wrap img{
        width: 100%;
        margin-bottom: 30px;
    }
	.AD_info{
        height: 90%;
        overflow-x: hidden;
        overflow-y: auto;
        line-height: 1.5;
        position: relative;
    }
    .AD_info::-webkit-scrollbar-button {
        width: 0;
        height: 0;
    }
	.close_btn{
        padding: 5px 10px; 
        color: #000; 
        background-color: transparent;
        font-size: 4rem;
        border: 0;
        cursor: pointer;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    .modal-title{
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 20px;
    }
    .modal-sub{
        font-size: 1.6rem;
        
        line-height: 1.5;
    }
    .modal-sub a{
        color: #000;
        font-size: inherit;
    }




    /* 반응형 */
    /* 노트북 & PC (해상도 1279px ~ 1600px)*/
    @media (max-width:1600px){


    }

    /* 노트북 & PC (해상도 1024px ~ 1279px)*/
    @media (max-width:1279px){
        .tab_3box {
            display:block;
        }
        .ADpopup_wrap{
            width: 90%;
            height: 80%;

        }

    }

    /* 태블릿 가로, 태블릿 세로 (해상도 768px ~ 1023px)*/
    @media (max-width:1023px){
        .esg h2{
            font-size: 3rem;
        }
        .ctt, .ctt div{
            font-size: 1.6rem;

        }
        .record{
            width: 100%;
            padding: 20px;
        }
        .record .img-wrap {
            height: 200px;
        }
        .close_btn{
            top: 20px;
            right: 20px;
        }
        .modal-title{
            font-size: 2rem;
        }
        .modal-sub{
            font-size: 1.4rem;
        }

    }


    /* 모바일 가로, 모바일 세로 (해상도 480px ~ 767px)*/
    @media (max-width:767px) {
        .record .img-wrap {
            height: 150px;
        }
        .record .img-wrap img{
            width: 80px;
        }
        .number{
            font-size: 1.6rem;
        }
        .number span{font-size: 2.4rem;}
        .tab_menu .list .btn,.tab_menu2 .list2 .btn2{font-size:1.8rem;}
        .tab_menu .list .btn{
            font-size:1.8rem;
            padding: 10px;

        }
        .tab_menu .list li.is_on .btn{

            width: 130px;
            padding: 10px;

        }
        .tab_menu .list li,.tab_menu2 .list2 li{

            height: 40px;
            margin-top: 14px;
            margin-right: 3px;
            margin-left: 3px;
        }
        .tab_menu2 .list2 .btn2{
            padding: 10px 15px;
        }
        .tab_menu2 .list2 li.is_on2 .btn2{
            padding: 10px 15px;
        }
        .tab_menu3 .list3 li{
            width: 100px;
        }
        .tab_menu3 .list3 .btn3{
            font-size: 1.8rem;
            padding: 0;
        }
        .tab_menu3 .list3 li.is_on3 .btn3{
            padding: 0;
        }

        .board-wrap{
            justify-content: center;
        }
        .ADpopup_wrap{
            padding: 30px 20px;

        }.close_btn{
            top: 7px;
            right: 7px;
            font-size: 3rem;

        }
        .refresh{
            display: block;
        }
        .refresh-txt{
            padding: 10px;
            font-size: 1.4rem;
        }
        .pages{
            margin-top: 50px;
            text-align: center;
        }

        .pages a{
            display: inline-block;
            color: #000;
            min-width: 35px;
            height: 35px;
            padding: 5px;
            margin: 0;
            font-weight: 700;
            font-size: 1.4rem;
        }

        .pages a.active{
            background-color: #f0f0f0;
            border-radius: 50%;
        }
    }
