
/* =========================
   Title Section (1280 x 418)
========================= */
.sub-title-section {
  width: 100%;
  background: #fff;
}

.sub-title-section__inner {
  width: 100%;
  max-width: 1280px;
  height: 418px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 140px 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.sub-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* dot: 15px */
.page-point {
  position: static;
  width: 15px;
  height: 15px;
  display: block;
}

/* page-point 애니메이션: translate(-50%) 없이 Y축만 */
.page-point[data-enter="back"] {
  opacity: 0;
  transform: translateY(var(--pp-out-y)) scale(var(--pp-out-scale));
  will-change: transform, opacity;
  transition:
    transform var(--pp-dur) var(--pp-ease-back),
    opacity   var(--pp-dur) ease;
  transition-delay: 400ms;
}
.page-point[data-enter="back"].is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}


.sub-title-text {
  display: flex;
  align-items: center;
  height: 96px;
  white-space: nowrap;
  line-height: 1;
}

/* =========================
   기업개요 콘텐츠 섹션 (1280 x 1075)
========================= */
.sub-ci-section {
  width: 100%;
  background: var(--c-f);
  overflow: hidden;
}

.sub-ci-section__inner {
  width: 100%;
  max-width: 1280px;
  height: 1075px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 140px 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

/* 상단 텍스트 박스 */
.ci-top {
  width: 100%;
  height: 105px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.ci-top p {
  margin: 0;
}

/* 배너 이미지 (브라우저 전체 너비 x 250) */
.ci-banner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 250px;
  overflow: hidden;
}

.ci-banner__img {
  width: 100%;
  height: 633px;
  object-fit: cover;
  will-change: transform;
}

.ci-banner__logo {
  position: absolute;
  top: 47.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 100px;
  object-fit: contain;
}

/* 로고 fadeup 애니메이션 (600ms, Y20) */
.ci-banner__info {
  position: absolute;
  top: calc(47.5px + 100px);
  left: 50%;
  transform: translateX(-50%);
  width: 563px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.ci-banner__info-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 55px;
}

.ci-banner__info-text__kr {
  height: 35px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.ci-banner__info-text__en {
  height: 20px;
  display: flex;
  align-items: center;
  line-height: 1;
}

.ci-banner__info-point {
  width: 3px;
  height: 3px;
}

.ci-banner__logo[data-enter="fadeup-logo"] {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  will-change: transform, opacity;
  transition:
    transform 600ms cubic-bezier(0.33, 1, 0.68, 1),
    opacity   600ms ease;
}

.ci-banner__logo[data-enter="fadeup-logo"].is-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================
   3x1 그리드 (1280 x 360)
========================= */
.ci-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  height: 360px;
}

.ci-grid__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  border-bottom: 1px solid var(--c-g1);
}

/* 첫 번째 열: 1x3 서브그리드 */
.ci-grid__sub {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 20px;
}

.ci-grid__sub-item {
  width: 100%;
  display: grid;
  grid-template-rows: 0.5fr 1fr;
}

.ci-grid__sub-row1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-g4);
}

.ci-grid__sub-row2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2·3열 상단 헤더 */
.ci-grid__col-header {
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-g4);
}

.ci-grid__col-body {
  width: 100%;
  flex: 1;
  box-sizing: border-box;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.ci-grid__text-box {
  height: 49px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ci-grid__text-box p {
  margin: 0;
  line-height: 1.4;
}

/* 3열 생산규모 body */
.ci-grid__col-body--prod {
  gap: 39.48px;
}

.ci-grid__text-box--43 {
  height: 43px;
}

.ci-grid__text-box--17 {
  height: 17px;
}

/* =========================
   운영 체계 타이틀 섹션 (1280 x 338)
========================= */
.sub-os-section {
  width: 100%;
  background: #fff;
}

.sub-os-section__inner {
  width: 100%;
  max-width: 1280px;
  height: 338px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 140px 0 60px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.os-top {
  width: 100%;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.os-top p {
  margin: 0;
}

.os-top > p {
  height: 20px;
  display: flex;
  align-items: center;
}

.os-top__desc {
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
}

.os-top__desc p {
  margin: 0;
  text-align: center;
}

.os-nowrap {
  white-space: nowrap;
}

.os-br-mobile {
  display: none;
}

/* =========================
   운영 체계 그리드 섹션 (1280 x 2142)
========================= */
.sub-os-grid-section {
  width: 100%;
  background: #fff;
}

.sub-os-grid-section__inner {
  width: 100%;
  max-width: 1280px;
  height: 2142px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 140px 0;
}

.os-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 200px 171px 240px 240px 171px 240px 240px;
  gap: 60px;
}

.os-grid__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 첫 번째 행 카드 (700 x 200, 1x2 그리드) */
.os-card {
  width: 720px;
  height: 100%;
  border-radius: 30px;
  overflow: hidden; 
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.10);
}

.os-card__top {
  background: var(--c-dk-b);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.os-card__top p {
  margin: 0;
}

.os-card__bottom {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.os-card__bottom p {
  margin: 0;
  text-align: center;
}

/* 2행 (바 + 텍스트 박스) */
.os-grid__row--col {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-top: 60px;
  box-sizing: border-box;
}

.os-bar {
  width: 40px;
  height: 8px;
}

.os-text-box {
  height: 83px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.os-text-box p {
  margin: 0;
}

/* 3행 (2x1 그리드) */
.os-grid__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.os-card__top--dk-d {
  background: var(--c-dk-d);
}

.os-card__top--dk-c {
  background: var(--c-dk-c);
}

.os-br-tablet-mobile {
  display: none;
}

.os-grid__row--2col .os-card {
  width: 610px;
  grid-template-rows: 96px 1fr;
}

/* =========================
   Responsive
========================= */
@media (min-width: 800px) and (max-width: 1279px) {
  .sub-ci-section__inner {
    height: 2012px;
  }
  .ci-top {
    height: 95px;
  }
  .ci-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 493.72px 362.56px 411.56px;
    height: auto;
    gap: 0;
  }
  .ci-grid__col-body {
    padding: 40px 24px;
    gap: 50px;
  }
  .sub-os-section__inner {
    height: 311px;
    padding: 140px 0 40px;
  }
  .os-top {
    height: 131px;
  }
  .sub-os-grid-section__inner {
    height: 2124px;
    padding: 140px 20px;
  }
  .os-grid {
    grid-template-rows: 200px 162px 240px 240px 162px 240px 240px;
  }
  .os-card {
    width: 420px;
  }
  .os-text-box {
    height: 74px;
  }
  .os-br-tablet-mobile {
    display: inline;
  }
  .os-grid__row--2col {
    gap: 40px;
  }
  .os-grid__row--2col .os-card {
    width: 360px;
  }
  .os-grid__row--2col .os-card:first-child {
    justify-self: end;
  }
  .os-grid__row--2col .os-card:last-child {
    justify-self: start;
  }
}

@media (max-width: 799px) {
  .os-br-tablet-mobile {
    display: inline;
  }
  .sub-ci-section__inner {
    height: 1954px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .ci-top {
    height: 95px;
    align-items: center;
  }
  /* 배너 크기 */
  .ci-banner{
    height: 499px;
  }

  /* 한자 로고: 200 x 60, 상단 패딩 60 위치 */
  .ci-banner__logo{
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    object-fit: contain;
  }

  /* 정보영역: 157 x 299, 세로 흐름, 로고 아래 20 간격 */
  .ci-banner__info{
    top: calc(60px + 60px + 20px); /* 상단 60 + 로고60 + 간격20 */
    left: 50%;
    transform: translateX(-50%);
    width: 157px;
    height: 299px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px; /* ✅ 간격 20 */
  }

  /* 포인트는 모바일에서 숨기지 말라는 말이 없어서 '유지' */
  .ci-banner__info-point{
    display: block;
  }
  .ci-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 266.88px 335.56px 357.56px;
    height: auto;
    gap: 20px;
  }
  .ci-grid__col-body {
    padding: 30px 24px;
    gap: 40px;
  }
  .sub-os-section__inner {
    height: 293px;
    padding: 140px 20px 0;
  }
  .os-top {
    height: 153px;
  }
  .os-br-mobile {
    display: inline;
  }
  .sub-os-grid-section__inner {
    height: 2950px;
    padding: 140px 20px;
  }
  .os-grid {
    grid-template-rows: 200px 155px 480px 480px 155px 480px 480px;
    gap: 40px;
  }
  .os-card {
    width: 100%;
  }
  .os-text-box {
    height: 67px;
  }
  .os-grid__row--2col {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 40px;
  }
  .os-grid__row--2col .os-card {
    width: 100%;
    height: 220px;
    grid-template-rows: 0.5fr 0.75fr;
  }
}