 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
 }


 .m-only {
   display: none;
 }

 @media (max-width: 768px) {
   .m-only {
     display: inline;
   }
 }

 /* -------------------------------- Section: sub__ceo --------------------------------- */
 .sub__ceo_bg0 {
   background: url(../../1x/s1/sub1_0__bg.png);
   background-repeat: no-repeat;
   background-size: cover;
   width: 100%;
   height: 598px;
   background-color: #f0f0f0;
   /* 임시 배경색 */
 }

 /* 텍스트 위치 */
 .sub__ceo_bg0 {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 /* 텍스트 기본 상태 (숨김) */
 .sub__title {
   color: #fff;
   font-size: 56px;
   font-weight: 600;


   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.8s ease, transform 0.8s ease;
 }

 /* 나타난 상태 */
 .sub__title.is-show {
   opacity: 1;
   transform: translateY(0);
 }

 .sub__ceo {
   padding-bottom: 150px;
 }

 .sub__ceo_wrap {
   max-width: 1794px;
   background: #fafafa;
   margin-left: auto;
   border-radius: 50px 0 0 0;
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 50px;
 }



 .sub__ceo_text {
   width: 100%;
   padding: 3rem 0 3rem 6rem;
 }

 .sub__ceo_text div {
   font-family: "esamanru";
   font-size: 3rem;
   font-weight: 900;
 }

 .sub__ceo_text h3 {
   font-size: 2.25rem;
   font-weight: 800;
   padding-bottom: 2rem;
 }

 .sub__ceo_text p {
   line-height: 1.6;
 }

 .sub__ceo_text p span {
   font-family: 'KyoboHandwriting2020A';
   font-size: 1.125rem;
 }

 .sub__ceo_img img {
   width: 720px;
 }

 @media (max-width: 1024px) {
   .sub__ceo_wrap {
     flex-direction: column;
     align-items: center;
     padding: 2rem;
   }

   .sub__ceo_text {
     padding: 2rem 1rem;
     text-align: center;
   }

   .sub__ceo_text div {
     font-size: 2.5rem;
   }

   .sub__ceo_text h3 {
     font-size: 2rem;
   }

   .sub__ceo_text p span {
     font-size: 1rem;
   }

   .sub__ceo_img img {
     width: 100%;
     max-width: 600px;
   }
 }

 @media (max-width: 768px) {
   .sub__ceo_bg0 {
     height: 200px;
   }

   .sub__ceo_wrap {
     border-radius: 30px 0 0 0;
     padding: 1.5rem;
   }

   .sub__ceo_text div {
     font-size: 2rem;
   }

   .sub__ceo_text h3 {
     font-size: 1.5rem;
   }

   .sub__ceo_text p {
     font-size: 0.95rem;
   }

   .sub__ceo_text p span {
     font-size: 0.9rem;
   }

   .sub__ceo_img img {
     max-width: 100%;
   }
 }

 /* ===== 상단 카테고리 바 ===== */
 :root {
   --headerH: 0px;
 }

 .subcat {
   border-top: 1px solid #eaeaea;
   border-bottom: 1px solid #eaeaea;
   z-index: 9000;
 }

 .subcat__inner {
   width: min(100vw, 1180px);
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
 }

 .subcat__link {
   height: 56px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
   text-decoration: none;
   color: #222;
   font-weight: 800;
   position: relative;
 }

 .subcat__link::after {
   content: "";
   position: absolute;
   left: 50%;
   bottom: 0;
   width: 0;
   height: 2px;
   background: #111;
   transition: width .25s ease, left .25s ease;
 }

 .subcat__link:hover::after {
   width: 60%;
   left: 20%;
 }

 .subcat__link.is-active {
   color: #111;
 }

 .subcat__link.is-active::after {
   width: 68%;
   left: 16%;
 }

 @media (max-width: 768px) {
   .subcat__inner {
     grid-template-columns: 1fr;
   }

   .subcat__link {
     height: 48px;
     border-bottom: 1px solid #eee;
   }

   .subcat__link:last-child {
     border-bottom: 0;
   }
 }



 /* ===== CATEGORY BOX ===== */
 .hero-subcat {
   position: absolute;
   left: 0;
   bottom: 0;
   width: 100%;
   min-height: 64px;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 200px;
   background: rgba(268, 281, 281, 0.18);
 }

 /* ===== CATEGORY TEXT ===== */
 .hero-subcat a {
   position: relative;
   padding: 6px 0;

   color: #ededed;
   font-size: 15px;
   font-weight: 500;
   letter-spacing: 0.22em;
   /* 🔥 글자 간격 */
   text-decoration: none;
   white-space: nowrap;
   opacity: .9;
 }

 /* hover underline */
 .hero-subcat a::after {
   content: "";
   position: absolute;
   left: 50%;
   bottom: -6px;
   width: 0;
   height: 2px;
   background: #fff;
   transition: width .25s ease, left .25s ease;
 }

 .hero-subcat a:hover::after {
   width: 60%;
   left: 20%;
 }

 .hero-subcat a:hover {
   opacity: 1;
 }

 /* ===============================
   RESPONSIVE
=============================== */

 /* ===============================
   MOBILE RESET (CRITICAL FIX)
================================ */
 @media (max-width: 768px) {

   .company-info {
     padding: 80px 0;
   }

   .company-info__inner {
     display: flex;
     /* 🔥 grid 완전 해제 */
     flex-direction: column;
     gap: 40px;
   }

   /* TEXT */
   .company-info__text {
     order: 1;
   }

   .company-info__title {
     font-size: 28px;
     line-height: 1.35;
   }

   .company-info__text p {
     font-size: 13px;
     line-height: 1.8;
   }

   /* IMAGE 1 */
   .company-info1__img1 {
     order: 2;
     width: 100%;
   }

   .company-info1__img1 img {
     width: 100%;
   }

   /* IMAGE 2 – 겹침 완전 제거 */
   .company-info1__img2 {
     order: 3;
     width: 100%;
     margin: 0;
     /* 🔥 음수 margin 제거 */
   }

   .company-info1__img2 img {
     width: 100%;
   }
 }

 /* ===============================
   SMALL MOBILE
================================ */
 @media (max-width: 480px) {

   .company-info {
     padding: 64px 0;
   }

   .company-info__title {
     font-size: 26px;
   }

   .company-info__text p {
     font-size: 14px;
   }
 }

 /* ===============================
   MOBILE FORCE FIX (ABSOLUTE)
================================ */
 @media (max-width: 768px) {

   /* 구조 강제 리셋 */
   .company-info__inner {
     display: block !important;
   }

   /* 텍스트 먼저 */
   .company-info__text {
     margin-bottom: 32px;
   }

   /* 이미지 1 무조건 아래로 */
   .company-info__img1 {
     display: block !important;
     width: 100% !important;
     margin-top: 40px !important;
   }

   .company-info__img1 img {
     width: 100% !important;
     height: auto;
     display: block;
   }

   /* 이미지 2 완전 분리 */
   .company-info__img2 {
     display: block !important;
     width: 100% !important;
     margin-top: 24px !important;
     margin-left: 0 !important;
   }

   .company-info__img2 img {
     width: 100% !important;
     height: auto;
     display: none !important;
   }
 }




 /* ===============================
   COMPANY INFO SECTION
================================ */

 .company-info {
   background: #fff;
   padding: 140px 0;
   overflow: hidden;
 }

 .company-info__inner {
   width: min(1400px, 92%);
   margin: 0 auto;

   display: grid;
   grid-template-columns: 1.1fr 0.9fr;
   grid-template-rows: auto;
   column-gap: 80px;

   align-items: start;
   position: relative;
 }

 /* ===============================
   TEXT AREA
================================ */

 .company-info__text {
   grid-column: 1 / 2;
 }

 .company-info__label {
   display: block;
   font-size: 14px;
   font-weight: 600;
   color: #34445b;
   margin-bottom: 14px;
   letter-spacing: .04em;
 }

 .company-info__title {
   font-size: 42px;
   font-weight: 600;
   line-height: 1.35;
   color: #34445b;
   margin-bottom: 32px;
 }

 .company-info__text p {
   font-size: 16px;
   line-height: 1.9;
   color: #000;
   margin-bottom: 22px;
 }

 /* ===============================
   IMAGE 1 (RIGHT MAIN)
================================ */

 .company-info1__img1 {
   grid-column: 2 / 3;
 }

 .company-info1__img1 img {
   width: 403px;
   display: block;
 }

 /* ===============================
   IMAGE 2 (NEXT TO TEXT ❗)
================================ */

 .company-info__img2 {
   grid-column: 1 / 2;
   /* 🔥 핵심: 텍스트 컬럼 */
   margin-left: auto;
   /* 오른쪽에 붙임 */
   margin-top: -28%;
   width: 55%;
 }

 .company-info__img2 img {
   width: 100%;
   display: block;
 }

 /* ===============================
   ANIMATION
================================ */

 .ani-left,
 .ani-right {
   opacity: 0;
   transition: opacity .9s ease, transform .9s ease;
 }

 .ani-left {
   transform: translateX(-80px);
 }

 .ani-right {
   transform: translateX(80px);
 }

 .is-show.ani-left,
 .is-show.ani-right {
   opacity: 1;
   transform: translateX(0);
 }

 .delay-1 {
   transition-delay: .15s;
 }

 .delay-2 {
   transition-delay: .3s;
 }

 /* ===============================
   RESPONSIVE
================================ */

 @media (max-width: 1024px) {
   .company-info {
     padding: 100px 0;
   }

   .company-info__inner {
     grid-template-columns: 1fr;
     row-gap: 50px;
   }

   .company-info__img2 {
     width: 100%;
     margin-left: 0;
   }
 }

 @media (max-width: 768px) {
   .company-info {
     padding: 80px 0;
   }

   .company-info__title {
     font-size: 30px;
   }

   .company-info__text p {
     font-size: 15px;
   }
 }



 @media (max-width: 768px) {
   .hero-subcat {
     padding: 10px 14px;
     min-height: auto;
     gap: 24px;
     flex-wrap: wrap;
   }

   .sub__title {
     color: #fff;
     font-size: 30px;
     font-weight: 600;
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.8s ease, transform 0.8s ease;
   }

   .hero-subcat a {
     font-size: 13px;
   }
 }









 /* ===============================
   CERTIFICATE SECTION
=============================== */

 .cert-section {
   padding: 120px 0;
   background: #fff;
   margin-top: -5%;
 }

 .cert-inner {
   width: min(1400px, 92%);
   margin: 0 auto;
 }

 .cert-title {
   text-align: center;
   font-size: 36px;
   font-weight: 700;
   margin-bottom: 60px;
 }

 /* GRID */
 .cert-grid {
   list-style: none;
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 40px;
 }

 /* CARD */
 .cert-card {
   border: 1px solid #e6e6e6;
   border-radius: 18px;
   background: #fff;
   overflow: hidden;
   display: flex;
   flex-direction: column;
 }

 /* 상장 이미지 그림자 */
 .cert-thumb img {
   filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
 }

 /* IMAGE AREA */
 .cert-thumb {
   padding: 24px;
   display: flex;
   align-items: center;
   justify-content: center;
   border-bottom: 1px solid #eee;
   background-color: #fafafa;
 }

 .cert-thumb img {
   width: 100%;
   height: auto;
   max-height: 260px;
   object-fit: contain;
 }

 /* TEXT */
 .cert-text {
   padding: 18px 20px 22px;
 }

 .cert-date {
   display: block;
   font-size: 13px;
   color: #999;
   margin-bottom: 6px;
 }

 .cert-name {
   font-size: 15px;
   font-weight: 500;
   line-height: 1.4;
   color: #222;
 }

 /* ===============================
   RESPONSIVE
=============================== */

 @media (max-width: 1200px) {
   .cert-grid {
     grid-template-columns: repeat(3, 1fr);
   }
 }

 @media (max-width: 768px) {
   .cert-section {
     padding: 80px 0;
   }

   .cert-title {
     font-size: 28px;
     margin-bottom: 40px;
   }

   .cert-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 24px;
   }

   .cert-thumb {
     padding: 18px;
   }

   .cert-name {
     font-size: 14px;
   }
 }

 @media (max-width: 480px) {
   .cert-grid {
     grid-template-columns: 1fr;
   }
 }



 .history {
   background: url(/1x/s1/hi_bg.png) center top no-repeat;
   background-size: auto;
   padding: 180px 0;
   color: #fff;
   margin-top: -4%;
 }

 .history__inner {
   width: min(1400px, 92%);
   margin: 0 auto;
 }

 .history-item {
   display: grid;
   grid-template-columns: 1fr 1fr;
   align-items: flex-start;
   margin-bottom: 160px;
 }

 /* YEAR LEFT */
 .year-left .history-year {
   text-align: right;
   padding-right: 90px;
 }

 .year-left .history-content {
   padding-left: 90px;
 }

 /* YEAR RIGHT */
 .year-right .history-year {
   text-align: left;
   padding-left: 90px;
 }

 .year-right .history-content {
   text-align: right;
   padding-right: 90px;
 }

 .history-year h3 {
   font-size: 64px;
   font-weight: 700;
 }

 .history-content ul {
   list-style: none;
   padding: 0;
 }

 .history-content li {
   font-size: 16px;
   line-height: 1.9;
   opacity: .9;
 }

 /* Fade Up */
 .fade-up {
   opacity: 0;
   transform: translateY(60px);
   transition: opacity .9s ease, transform .9s ease;
 }

 .fade-up.is-show {
   opacity: 1;
   transform: translateY(0);
 }

 /* Responsive */
 /* ===============================
   RESPONSIVE HISTORY (FIXED)
================================ */
 @media (max-width: 1024px) {

   /* 섹션 배경을 "밝은 단색"으로 명확히 */
   .history {
     background: #0f1720;
     /* 또는 #111 / #0b1220 */
     padding: 100px 0;
   }

   .history__inner {
     width: min(720px, 92%);
   }

   /* 지그재그 제거 → 세로 */
   .history-item {
     grid-template-columns: 1fr;
     margin-bottom: 72px;
   }

   /* 연도 */
   .history-year {
     padding: 0;
     text-align: left !important;
   }

   .history-year h3 {
     font-size: 32px;
     margin-bottom: 14px;
     color: #111;
     /* ✅ 글자색 변경 */
     background: #fff;
     /* ✅ 카드 배경 */
     display: inline-block;
     padding: 6px 14px;
     border-radius: 6px;
   }

   /* 연혁 카드 */
   .history-content {
     padding: 16px 18px;
     background: #fff;
     /* ✅ 반드시 필요 */
     border-radius: 10px;
     text-align: left !important;
     padding-left: 15px !important;
   }

   .history-content li {
     font-size: 14px;
     line-height: 1.7;
     color: #222;
     /* ✅ 검정 계열 */
     position: relative;
     padding-left: 12px;
   }


 }

 /* 모바일 더 작을 때 */
 @media (max-width: 480px) {
   .history {
     padding: 80px 0;
   }

   .history-year h3 {
     font-size: 26px;
   }

   .history-content {
     padding: 14px 14px;
   }

   .history-content li {
     font-size: 13px;
   }
 }

 @media (max-width: 1024px) {

   /* 세로 스택 유지 */
   .history-item {
     grid-template-columns: 1fr;
     margin-bottom: 72px;
   }

   /* 🔥 핵심: 순서 강제 */
   .history-year {
     order: 1;
     /* 항상 위 */
   }

   .history-content {
     order: 2;
     /* 항상 아래 */
   }

   /* 연도 스타일 */
   .history-year {
     padding: 0;
     text-align: left !important;
   }

   .history-year h3 {
     font-size: 32px;
     margin-bottom: 14px;
     color: #111;
     background: #fff;
     display: inline-block;
     padding: 6px 14px;
     border-radius: 6px;
   }

   /* 연혁 카드 */
   .history-content {
     padding: 16px 18px;
     background: #fff;
     border-radius: 10px;
     text-align: left !important;
   }

   .year-right .history-year {
     text-align: none !important;
     padding-left: 0px !important
   }
 }