/* BASIC css start */
 #contents{}
.page_top .page_nav{float:right !important}
.page_top .page_nav a{font-weight:400 !important;}
ul.items{padding: 0 5% !important}
.recmd_sec{margin-top: 30px;margin-bottom:40px;padding: 0 5% !important; border-bottom:1px solid #eee}


.recmd_sec h3{font-family: 'Jost', sans-serif;font-size:23px; color:#333333; font-weight:600}
.recmd_sec .best_tit{display:flex; align-items:center; justify-content:space-between; margin-bottom:30px}
.recmd_sec .best_tit h3{}
.recmd_sec .best_tit>div{ }
.recmd_sec .swiper{}

.recmd_sec .swiper-pagination{position:unset}
.recmd_sec .swiper-pagination-bullets.swiper-pagination-horizontal{left:unset; top:unset; width:auto;}
.recmd_sec .swiper-pagination-bullet {width: 22px;height: 22px;text-align: center;line-height: 22px;box-sizing:unset; font-weight:500; font-size: 12px;color: #5d5d5d;opacity: 1; background: rgba(0, 0, 0, 0);font-family: 'Lato', sans-serif;border:1px solid #ccc }
.recmd_sec .swiper-pagination-bullet-active { color: #fff;background: #333333;}







/* 분류 카테고리 영역 */
.product_category_wrap {
  padding: 20px 5% 20px !important;
}
.product_category_wrap .cate1 {
  font-family:'Lora Variable', serif; !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  padding: 20px 0 40px !important;
  color: #666 !important;
}
.product_category_wrap .cate_child_wrap ul li a {
  font-family: 'Noto Sans KR', sans-serif !important;
  font-size: 16px !important;
  color: #aaaaaa !important;
  font-weight: 400;
}

.product_category_wrap .cate_child_wrap ul li a.sel{ color:#000 !important; border-bottom:none !important  }
.product_category_wrap .cate_child_wrap ul li{padding:0 !important; margin: 5px 7px !important;}
.product_category_wrap .cate_child_wrap ul li a{display:block;  padding:3px 10px !important;  }

.product_list_wrap.list_st2 .product_item, .product_list_wrap.list_st3 .product_item{padding:0 0 15px !important}
.MS_prod_mobile_image{width:100%;}

.product_category_wrap .cate_child_wrap ul.cate3.on{padding-top:15px !important}

 
 
  body, .ceo-banner-section, .ceo-title-section, .ceo-message-text, .ceo-photo {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}







/* 기존 가상요소 규칙이 있다면 무력화 */
.cate2 li::before, .cate2 li::after,
.cate3 li::before, .cate3 li::after { content: none !important; }

/* 리스트 가로 정렬 및 리셋 */
.cate2, .cate3 {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0; /* border 방식이라 gap은 0 */
}

/* 항목 링크 기본 라인 맞추기 + 좌우 여백 동일 */
.cate2 li > a, .cate3 li > a {
  display: inline-flex;
  align-items: center;  /* 수직 중앙 정렬 */
  line-height: 1;       /* 테마 line-height 영향 제거 */
  padding: 0 12px;      /* 좌우 여백(숫자 조절 가능) */
   border-left: 1px solid #cfcfcf;  /* 선 색상 */
  padding-left: 16px;              /* ← 여기서 여백 늘리기 */
  white-space: nowrap;
}

/* 두 번째 항목부터 왼쪽에 세로줄(= |) 표시 */
.cate2 li + li > a, .cate3 li + li > a {
  border-left: 1px solid #cfcfcf;  /* 원하는 색상으로 조절 */
  padding-left: 12px;              /* 세로줄과 글자 간격 동일 유지 */
}

  

 #container {
    padding-top: 20px; /* ✅ 상단 여백 10px로 줄임 */ 
  }
  


.history-visual {
    position: relative;
    width: 100%;
    max-width: 846px;
    margin: 0px auto 0;
    background: url('/design/issis/mo_history_bg01.jpg') no-repeat center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 30px;
    box-sizing: border-box;
    margin-bottom: 20px;
}


.history-visual-text h2 {
  font-family: 'Lora Variable', serif;
   margin-left: 20px; /* 원하는 만큼 왼쪽 여백 */
  font-size: 40px;
  font-weight: 400;
  color: #000;
  margin-top: 120px;
  margin-bottom: 30px;/* 원하는 간격(px 단위)으로 조절 가능 */
}


.history-visual-text p {
  font-size: 20px;
    margin-top: 10px;
  color: #333;
  line-height: 1.4;
}






/* 타이틀 */
.history-title {
  text-align: center;
  padding: 40px 5px;/* 상단, 하단 간격 조절 */
}

.history-title small {
  display: flex;
  align-items: center;
  gap: 16px; /* 라인과 Ceo Message 사이 간격 */
  justify-content: center; /* 가로 중앙 정렬 */
  font-size: 14px;
   margin: 0 auto; /* 필요시 */
  width: fit-content; /* 내용 너비만큼만 */
  margin-bottom: 16px; /* small 아래 여백 */
  color: #999;
}

.history-title .line {
  flex-shrink: 0;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #999;height: 1px;
}


.history-title strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.4;

}





/* 연혁 박스 공통 */
.history-section {
  background-size: 846px auto; /* 가로 846px 고정, 세로는 자동 */
  background-repeat: no-repeat;
  max-width: 846px;
  background-position: center; /* 필요에 따라 위치 조정 */
  margin: 0 auto; /* 가운데 정렬용 */
  background: url('/design/issis/mo_history_bg.jpg') no-repeat center/cover;
  padding: 100px 20px;
  font-family: 'Pretendard', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  margin-top: 70px; /* 타이틀 높이와 시각적 여유 감안 */
  margin-bottom:100px;

}

.history-block {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 20px; /* ← 좌우 여백 */
  flex: 1 1 400px; /* 최소 너비 400px, 유연하게 크기 조정 */
  box-sizing: border-box;
}

.history-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 30px;
  padding: 40px 20px;
  text-align: center;
  width: 100%;
  max-width: 640px; /* ← 박스 최대 너비 지정 */
  min-width: 400px; /* 최소 가로 크기 설정 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-desc {
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 400;
}

.year {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}

.year .plus {
  font-size: 18px;
  margin-left: 4px;
  vertical-align: middle;
  font-weight: 500;
}

.year-sub {
   white-space: nowrap;       /* 줄바꿈 방지 */
  font-size: 15px;
  margin-top: 16px;
  font-weight: 400;
    text-overflow: ellipsis;   /* 너무 길면 말줄임 */
}


 .history-card span.count-num {
    font-size: 2.5rem;          /* 숫자 크기 고정 */
    font-weight: bold;
  }


.count-num {
  display: inline-block;
  transition: all 0.3s ease-out;
}

@media (max-width: 420px) {
  .year {
    font-size: 32px;
  }
  .history-card {
    padding: 30px 16px;
  }
}


.fade-up{
    opacity:0;
    transform:translateY(24px);
    transition:opacity .7s ease, transform .7s ease;
    will-change: opacity, transform;
  }
  .fade-up.show{
    opacity:1;
    transform:translateY(0);
  }

  /* 지연(딜레이) 유틸리티 */
  .delay-1{ transition-delay:.05s; }
  .delay-2{ transition-delay:.15s; }
  .delay-3{ transition-delay:.25s; }
  .delay-4{ transition-delay:.35s; }
  .delay-5{ transition-delay:.45s; }
  .delay-6{ transition-delay:.55s; }
  .delay-7{ transition-delay:.65s; }
  .delay-8{ transition-delay:.75s; }

  /* 히스토리 카드가 순서대로 뜨도록 약간의 간격 */
  .history-section .history-block{ /* 기존 레이아웃 유지 */
    /* 필요시 margin/padding 조정 가능 */
  }
  .history-section .history-card{
    /* 카드 스타일을 쓰는 경우 애니메이션이 더 또렷하도록 */
    will-change: opacity, transform;
  }

  /* 숫자 카운트 스타일(선택) */
  .year .count-num{
    display:inline-block;
    min-width: 2ch;
  }
/* BASIC css end */

