/*
  공통 ACF 템플릿(mmn-acf-page.php) 섹션 타입 스타일 라이브러리

  - 스타일의 소속 단위는 메뉴가 아니라 "섹션 타입"이다. 메뉴별 CSS를 만들지 않고
    모든 섹션 타입 스타일을 이 파일 하나에 누적한다 (템플릿 SSoT 원칙과 동일).
  - 새 섹션 타입 추가 시 아래 형식의 주석 블록으로 구분해 append 한다:
      ===== 섹션: <타입명> (출처: <메뉴명>) =====
  - 최초 내용은 minmuny/css/esg.css (Version 2024.03.12) 포크 사본 —
    카드 목록/아이콘 리스트/콘텐츠 박스/테이블/다운로드/모달 타입의 출처는 ESG 메뉴.
    레거시 esg.css 와는 격리 운용하며 서로 수정하지 않는다.
  - 레거시 향 클래스명(esg_main_subtexts 등)·불용 규칙 정리는 전 메뉴 전환 완료 후
    일괄 정리 패스에서 마크업과 함께 진행한다 (그 전 개명은 사본 동일성 검증을 깨뜨림).

  Version: 2026.07.31
*/

.mmn_page_menuwrap {
  position: relative;
}
.mmn_page_menubox {
  font-size: 14px; line-height: 1.2;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
flex-direction: row;
align-items: center; -ms-flex-align: center;
overflow: auto;
-ms-overflow-style: none; /* IE, Edge */
scrollbar-width: none; /* Firefox */
height: 60px;
border-bottom: 2px solid #222;
}
.mmn_page_menubox::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.menu_scroll_more {
  width: 42px; height: 50px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
  position: absolute;right:0;
  top: 0; font-size: 0; text-align: right;
   -ms-flex-pack: end;
justify-content: flex-end; align-items: center;
-ms-flex-align: center;
display: none;
}
.menu_scroll_more.mmn_active {
  display: -ms-flexbox; display: flex;
}
.menu_scroll_more i {
  display: block; width: 24px; height: 24px;
  background-image: url('../img/arrowsLeftRight.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
}
.mmn_page_menubox_in {
  margin-left: 25px;
}
.mmn_page_menubox ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
flex-direction: row;
list-style: none; margin:0; padding:0; white-space: nowrap;
}
.mmn_page_menubox ul li { margin-right: 20px;flex-shrink: 0; }
.mmn_page_menubox ul li a { display: inline-block; box-sizing: border-box; height: 36px; line-height: 36px; color: #ccc;position: relative; font-weight: 700; -webkit-transition: all 0.5s ease;
transition: all 0.5s ease; font-size: 15px; }
.mmn_page_menubox ul li a:hover { text-decoration: none; color: #222; font-weight: 700; }
.mmn_page_menubox ul li.mmn_active a {
  color: #222; font-weight: 700;
}
.mmn_page_menubox ul li.mmn_active a:after {
  content:''; display: block;
  width: 100%;  height: 1px;
  border-bottom: 2px solid #B32D27;
  position: absolute; left:0; bottom:0;
}
.mmn_page_menubox strong { font-weight: 500; color: #222; height: 50px; line-height: 50px; flex-shrink: 0; display: inline-block; padding-right: 25px; position: relative; font-size: 15px; }
.mmn_page_menubox strong:after {
  content:'|'; color: #dfdfdf; font-weight: 300; position: absolute; right: 0; top: 0;
}
.mmn_page_section {
  padding: 50px 0;
}

/* 메인이미지 */
.mmn_subpage_main {
  position: relative; overflow: hidden;
}
.mmn_subpage_main_texts {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  -ms-flex-pack: center;
  align-items: center;
  -ms-flex-align: center;
  background-color: rgba(0,0,0,.15);
  z-index: 1;
}
.mmn_subpage_main_texts h2 {
  margin: 0; color: #fff; text-shadow: 0 0 7px rgba(0,0,0,.3); font-size: 32px; font-weight: 700; letter-spacing: 1px;
}
.mmn_subpage_main_img { overflow: hidden; animation: img_focus 4s ease-out 0s both;
transform: scale(1.1); }

/*  */


/* 정책 */
.mmn_policy_lists {
  display: -ms-flexbox;
display: flex; -ms-flex-direction: column;
flex-direction: column; -ms-flex-wrap: wrap;
flex-wrap: wrap;  justify-content: center;
-ms-flex-pack: center; align-items: center;
-ms-flex-align: center; margin-left: -10px; margin-right: -10px; width: calc(100% + 20px);
}
.policy_li {
  padding: 0 10px; max-width: 350px; margin-bottom: 35px;
}
.policy_li_inner {
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  padding: 40px 35px 30px;
  color: #222;
  display: -ms-flexbox;
display: flex;-ms-flex-direction: column;
flex-direction: column;justify-content: space-between;
-ms-flex-pack: justify; align-items: center;
-ms-flex-align: center;
min-width: 250px;

}
.policy_li_inner h3 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 30px;
}
.policy_li_inner p {
  word-break: keep-all; font-size: 14px; margin-bottom: 30px;
}
.policy_li_icon { width: 102px; font-size: 0; display: inline-block;}
.policy_li_icon img { width: 92px; height: 92px; }
.policy_li_inner button { padding: 10px 5px; font-size: 12px; border: 1px solid #222; border-radius: 22px; background: #fff;box-sizing: border-box; width: 75px; line-height: 1; cursor: pointer;
}
.policy_li_inner button:hover, .policy_li_inner button:focus, .policy_li_inner button:focus-visible {
  background: #f5f5f5;
  /* border-color: #B32D27; */
  /* transform: translateY(-7px); */
}
.modal_detail_wrap {
  width: 100%; height: 100%; position: fixed;
  background: rgba(0,0,0,.8); left: 0; top:0;
  z-index: 1200; display: none;
}
.modal_detail_wrap.mmn_active { display: block; }
.modal_detail_wrap.mmn_active.box_visible .modal_detail_box { display: block; }
.modal_detail_box {
  max-width: 800px;
  width: calc(100% - 40px);
  min-height: 300px;
  background: #fff;
  margin: 60px auto;
  overflow: auto;
  /* max-height: calc(100% - 150px); */
  position: relative;
  box-sizing: border-box;
  padding: 50px 40px;
  visibility: hidden;;
}
.modal_close {
  position: absolute; right: 10px; top: 10px;
  z-index: 901; cursor: pointer; background: transparent;
  border: 0; padding: 0;
}
.modal_close img { width: 32px; height: 32px; }
.detail_box_content { color: #222; display: none; }
.detail_box_content.mmn_active { display: block; }
.detail_box_content h4 {
  font-size: 24px; font-weight: 700;
  padding-bottom: 32px;
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 0; line-height: 1.2;
}
.detail_box_content strong { display: block; font-size: 18px; margin: 32px 0 15px; font-weight: 500; line-height: 1.5;  }
.detail_box_content p { font-size: 15px; margin-bottom: 0; line-height: 1.5;  }
.detail_box_content img { max-width: 100%; height: auto; }

/* 환경 */
.mmn_environment_lists {
  display: -ms-flexbox;
display: flex;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.en_li {
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  margin-bottom: 25px;
}
.en_li_inner {
  padding: 25px;
  border: 1px solid #d9d9d9;
  display: -ms-flexbox;
display: flex; color: #222;
}
.en_li_icon {
  width: 48px; min-width: 48px; font-size: 0;
  margin-right: 25px; flex-shrink: 0;
  max-width: 48px;
}
.en_li_icon img { width: 52px; height: 52px; }
.en_li_txt p { font-size: 13px; margin-bottom: 0; line-height: 1.5;  }
.en_li_txt h3 { font-size: 18px; font-weight: 500; margin-bottom: 15px; line-height: 1.2; }
.en_li_bnt {
  margin-top: 20px;
  border: 1px solid #222;
  color: #222;
  border-radius: 25px;
  font-size: 12px; line-height: 1.2; padding: 8px 20px;
  background: #fff; cursor: pointer;
}
.en_li_bnt:hover {
  background: #f5f5f5;
}
.esg_main_subtexts { font-size: 14px; line-height: 1.7; word-break: keep-all; margin: 0 auto 50px; text-align: center; color: #222; }

/* 사회 */
.mmn_society_box h3 {
  font-size: 20px; font-weight: 700; display: -ms-flexbox;
display: flex; align-items: center; -ms-flex-align: center;  justify-content: center; -ms-flex-pack: center; color: #222; margin-bottom: 30px; }
.mmn_society_box h3 i { margin-right: 10px; display: none; }
.mmn_society_box h3 i img { width: 24px; height: 24px; margin-bottom: 2px; }
.mmn_society_box { padding: 40px 25px; border: 1px solid #e9e9e9; margin-bottom: 50px; text-align: center; }
.mmn_society_box > p {
  font-size: 14px; color: #222; text-align: center; word-break: keep-all; margin-bottom: 25px;
}
.mmn_society_box > p br { display: none; }
button.iso_bnt.quality_bnt,
button.policy_de_bnt.quality_bnt {
    font-size: 12px; color: #222; line-height: 1.3;
    padding: 8px 20px; border-radius: 23px; border: 1px solid #222;
    background-color: #fff; margin: 0 5px; min-width: inherit; cursor: pointer;
}
button.iso_bnt.quality_bnt:hover,
button.policy_de_bnt.quality_bnt:hover { background-color: #f5f5f5; }
.society_activity { margin-top: 50px; color: #222; }
.society_activity h4 { font-size:18px; margin-bottom: 45px; font-weight: 500; }
.society_activity ul { list-style: none; padding-left: 0; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; align-items: center; -ms-flex-align: center; }
.society_activity ul li { max-width: 300px; margin: 0 20px 50px;}
.society_activity ul li:last-child { margin-bottom:0;}
.society_activity ul li img { max-width: 100%;}
.society_activity ul li strong { display: block; margin-top: 25px; font-size: 16px; word-break: keep-all;}
.society_activity ul li p { font-size: 13px; margin:15px 0 0; word-break: keep-all; line-height: 1.5; }
.society_activity ul li p br { display: none; }
.mmn_esg_go_bnt {
  font-size: 15px;
  line-height: 1.3;
  background: #B32D27;
  font-weight: 400;
  color: #fff;
  padding: 12px 30px;
  cursor: pointer;
  border-radius: 33px;
  margin-top: 20px;
  border: 0;
  box-sizing: border-box;
  min-width: 165px;
  outline: 0 !important;
  margin-top: 50px;
  display: inline-block;
}
.mmn_esg_go_bnt:hover, .mmn_esg_go_bnt:focus, .mmn_esg_go_bnt:focus-visible { text-decoration: none; color: #fff; background: #222; }

/* 지배구조 */
.mmn_structure_box { text-align: center;}
.mmn_structure_box h3 {
    font-size: 20px;
    margin-bottom: 30px; font-weight: 700; color: #222;
}
.table_component {
    overflow: auto;
    width: 100%;
}
.table_component table {
    border: 1px solid #222;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
}
.table_component caption {
    caption-side: top;
    text-align: left;
}
.table_component th {
    border: 1px solid #222;
    background-color: #222222;
    color: #ffffff;
    padding: 10px; text-align: center;
}
.table_component th p { color: #fff; }
.table_component td {
    border: 1px solid #222;
    background-color: #ffffff;
    color: #222;
    padding: 10px; text-align: center;
}
.table_component td.mmn_align_left p { text-align: left;}
.mmn_align_left {
  text-align: left;
}
.structure_subtexts br { display: none; }
.structure_tablebox {overflow: auto; }
.structure_tablebox table { min-width: 700px; }
.structure_tablebox .structure_min_width { min-width: 300px !important; }
.structure_bnts { text-align: center; }
.table_component th, .table_component td, .table_component p {
  font-size: 13px; font-weight: 400;
}

/*Scroll Ani*/
.fadeIn {transition:all 1s ease;opacity:0;}
.fadeInUp {transition:all 1s ease;opacity:0;transform:translateY(50px);}
.fadeInDown {transition:all 1s ease;opacity:0;transform:translateY(-50px);}
.fadeInLeft {transition:all 1s ease;opacity:0;transform:translateX(-50px);}
.fadeInRight {transition:all 1s ease;opacity:0;transform:translateX(50px);}
.mmn_animated {transform:translateY(0px);transform:translateX(0px);opacity:1;}

@keyframes img_focus {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media screen and (min-width: 500px) {
  .menu_scroll_more {display: none !important; }
  .campain_link_main_img {height: 500px; }
}
@media screen and (min-width: 768px) {
  .mmn_page_section { padding: 60px 0;  }
  .mmn_page_menubox {
    font-size: 16px;  justify-content: center; -ms-flex-pack: center; align-items: center; -ms-flex-align: center; height: 100px;
  }
  .mmn_page_menubox ul li { margin-right: 35px; }
  .mmn_page_menubox_in { margin-left: 35px; }
  .mmn_subpage_main_texts h2 { font-size: 45px;  }
  .mmn_subpage_main_img { height: 300px;position: relative;}
  .mmn_subpage_main_img img { overflow: hidden; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 1920px; height: 300px; max-width: inherit; }
  .mmn_page_menubox strong { padding-right: 35px; font-size: 20px;}
  .mmn_page_menubox ul li a { font-size: 20px;  }
  .modal_close img { width: 46px; height: 46px; }
  .esg_main_subtexts { font-size: 18px; max-width: 850px; word-break: keep-all; margin: 0 auto 50px; }
  .mmn_society_box h3 { font-size: 24px; margin-bottom: 40px; }
  .mmn_society_box { padding: 50px 50px; }
  .mmn_society_box > p { font-size: 16px; margin-bottom: 32px; }
  .mmn_society_box h3 i img { width: 28px; height: 28px; margin-bottom: 2px; }
  .society_activity h4 { font-size:18px; margin-bottom: 30px; }
  .society_activity ul { -ms-flex-direction: row; flex-direction: row; -ms-flex-pack: distribute;
justify-content: space-around; }
  .society_activity ul li strong { display: block; margin-top: 32px; font-size: 18px; }
  .society_activity ul li p { font-size: 16px; margin:15px 0 0;}
  .mmn_society_box > p br, .society_activity ul li p br { display: block; }
  .society_activity ul li { max-width: 350px; margin: 0 20px 0;}
  .mmn_esg_go_bnt { font-size: 16px; }
  .mmn_structure_box h3 {
      font-size: 24px; margin-bottom: 40px;
  }
  .structure_subtexts br { display: inherit; }
  .table_component th, .table_component td, .table_component p {
    font-size: 14px; font-weight: 400;
  }

}

@media screen and (min-width: 992px) {
  .mmn_policy_lists {
    -ms-flex-direction: row; flex-direction: row;  justify-content: center; -ms-flex-pack: center;

  }
  .policy_li {
    width: 33.3%;
    margin-bottom: 0;
    max-width: 400px;
  }
  .policy_li_inner { min-height: 509px; padding: 50px 35px 30px; }
  .policy_li_inner h3 {
    font-size: 20px;
    margin-top: 55px;
  }
  .policy_li_inner p {
    font-size: 16px;
  }
  .mmn_environment_lists {
    -ms-flex-direction: row;
    flex-direction: row;
  margin-left: -15px; margin-right: -15px;
  }
  .en_li {
    width: 50%;
    padding: 0 15px;
    margin-bottom: 50px;
  }
  .en_li_inner {
    padding: 45px; height: 100%;
  }
  .en_li_icon {
    margin-right: 45px; width: 52px; min-width: 52px; max-width: 52px;
  }
  .en_li_txt h3 { font-size: 20px; }
  .en_li_txt p { font-size: 16px; }
  .structure_tablebox .structure_min_width { min-width: inherit !important; }
  .policy_li_icon.li_any_icon1.fadeInUp {transition: 1s all 0.2s ease;opacity:0;transform:translateY(50px);}
  .policy_li_icon.li_any_icon2.fadeInUp {transition: 1s all 0.6s ease;opacity:0;transform:translateY(50px);}
  .policy_li_icon.li_any_icon3.fadeInUp {transition: 1s all 1s ease;opacity:0;transform:translateY(50px);}

  .policy_li_icon.fadeInUp.mmn_animated {transform:translateY(0px) !important; transform:translateX(0px) !important; opacity:1 !important;}

}

/* ===== 보정: 테이블 제목-테이블 간격 (출처: ESG 지배구조) =====
   레거시 템플릿은 테이블 래퍼 안 &nbsp; 텍스트 줄(약 한 줄 높이)로 간격을
   벌리고 있었음 — 그 실효 간격(마진+한 줄)을 정식 마진으로 승격. */
.mmn_structure_box h3 { margin-bottom: 50px; }
@media screen and (min-width: 768px) {
  .mmn_structure_box h3 { margin-bottom: 60px; }
}

/* ===== 공통: 섹션 래퍼 기본 간격 =====
   인접 섹션 사이 최소 간격. margin이라 각 섹션 고유의 margin-bottom(인트로/박스
   50px 등)과 상쇄되어 기존 조합의 간격은 그대로 유지되고, 간격이 없던 조합
   (다운로드 버튼→테이블 등)에만 바닥값이 적용된다. */
.acfp_section + .acfp_section { margin-top: 40px; }

/* ===== 공통: 섹션 위 여백 프리셋 유틸리티 (섹션 슬롯의 '섹션 위 여백' 필드) =====
   margin-top이 아닌 padding-top 사용: 기본 간격·앞 섹션의 margin-bottom과
   상쇄(margin collapsing)되지 않고 항상 그만큼 추가로 벌어진다. */
.acfp_gap_t_sm { padding-top: 20px; }
.acfp_gap_t_md { padding-top: 40px; }
.acfp_gap_t_lg { padding-top: 70px; }

/* ===== 섹션: 콘텐츠 박스 — 신고센터형 팝업 문의 메일 링크 (출처: ESG 사회) ===== */
.priciple_popup_box a.acfp_pop_mail { color: #333; }
