/* 🔷 섹션 기본 */
:root {
  --section-gradient: #245e7b;
}

main.about {
  background-color: #7edfdc;
}
.intro-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.intro-section-1 {
  border-bottom: 1px solid #dfdfdf;
  background: linear-gradient(
    0deg,
    rgba(245, 245, 245, 1) 30%,
    rgba(120, 222, 219, 1) 100%
  );
}

.intro-section-2 {
  border-bottom: 1px solid #2e4763;
  background: linear-gradient(
    0deg,
    var(--section-gradient) 15%,
    rgba(245, 245, 245, 1) 95%
  );
}

.intro-section img {
  position: absolute;
  bottom: 0;
  will-change: transform;
}

.img-sign {
  left: 0;
  height: 90vh;
  transform-origin: left bottom;
  z-index: 2;
}

.img-cartoon-2 {
  right: 0;
  max-height: 60vh;
  transform-origin: right bottom;
  z-index: 3;
}

.img-cartoon-1 {
  max-height: 90vh;
  left: 0;
  transform-origin: left bottom;
  z-index: 5;
}

.img-airship {
  height: 50vh;
  right: 0;
  transform-origin: right bottom;
  z-index: 4;
}

/* 🔸 workarea: 텍스트 스크롤 애니메이션 */
.workarea {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: var(--section-gradient);
  color: white;
  overflow: hidden;
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  font-size: 2.5rem;
  align-items: center;
}
.bg_workarea_text {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(/img/work-text.svg) no-repeat top left,
    url(/img/area-text.svg) no-repeat bottom right;
  background-size: 90vh auto, 90vh auto;
  opacity: 0.05;
}
.line1,
.line2 {
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.img-seq {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* workarea와 동일하게 */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none; /* 클릭 방지 (선택사항) */
}

.img-seq img {
  position: absolute;
  width: auto;
  opacity: 0;
  transition: opacity 0.3s linear;
}

/* 🔸 box4: 확대 등장 */
.vision {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #f5f5f5;
  background: var(--section-gradient);
}

.vision-bg {
  z-index: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: url("/img/vision-bg.svg") center center no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
}

.vision-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
}

.vision-content h2 {
  color: #fff;
  width: 100vw;
  white-space: nowrap; /* 줄넘김 금지 */
  overflow: hidden; /* 혹시 넘치면 숨김 */
  text-overflow: ellipsis; /* 너무 길면 ... */
  text-align: center;
  font-size: 4vw; /* 화면 폭의 7% 만큼 폰트 (필요에 따라 조절) */
  margin: 0;
  padding: 0 4vw; /* 좌우 여유, 선택사항 */
  line-height: 1.1;
  font-weight: bold;
}

.vision-content h2 {
  color: #fff;
  width: 100vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 4vw;
  margin: 0;
  padding: 0 4vw;
  font-weight: bold;
  line-height: 1.3;
  margin-top: 1.5rem;
}

/* 🔸 프로세스 섹션 */
.process-section {
  height: 100vh;
  overflow: hidden;
  position: relative;
  /* background-color: #5bbeb1; */
  background-color: #245e7b;
}

.stone-daimond {
  position: fixed;
  z-index: 999999;
  left: 50%;
  right: 50%;
  bottom: 11%;
  opacity: 1;
  width: 150px; /* 추가 */
  height: 150px;
}

.stone-daimond img {
  width: 150px;
  height: 150px;
  opacity: 0;
  transition: opacity 0.5s;
  position: absolute; /* 겹쳐서 배치 */
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.process-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url(/img/process-text.svg) center center no-repeat;
  background-size: 100%;
  z-index: 0;
  opacity: 0.2;
}

.front_belt_bg {
  z-index: 100;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: url(/img/belt.png) center center repeat-x;
  background-size: contain;
}

.back_belt_bg {
  z-index: 50;
  width: 100%;
  position: absolute;
  bottom: 0;
  background: url(/img/belt-w.png) center center repeat-x;
  background-size: contain;
}

.process-1,
.process-3,
.process-4,
.process-5 {
  z-index: 70;
}

@media only screen and (max-width: 768px) {
  .process-1,
  .process-3,
  .process-4,
  .process-5 {
    width: 75vw;
    max-width: 400px;
  }
}

.process_slide {
  z-index: 1;
  position: relative;
  display: flex;
  width: max-content;
  height: 100vh;
  gap: 20vw;
  padding: 0;
  align-items: end;
}
.process_slide img {
}

.process-texts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 30;
  pointer-events: none;
}

.process-text {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 30vh;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: clamp(24px, 4vw, 65px);
  font-weight: 600;
  letter-spacing: -2px;
  color: #fff;
}

.process-text.show {
  opacity: 1;
}

/* 🔸 엔딩 박스 */
.box-ending {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* 그리드 */
/* 선들 */
.grid {
  z-index: 1;
}
.s1-line {
  position: absolute;
  background-color: #ccc;
}
.s1-line-h-1 {
  top: 30%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #c6fffd;
}
.s1-line-h-2 {
  top: 65%;
  left: 50%;
  width: 50%;
  height: 1px;
  background-color: #b9bdc1;
}
.s1-line-v-1 {
  left: 35%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(0deg, rgb(204 227 227) 0%, rgb(213 243 242) 100%);
}
.s1-line-v-2 {
  left: 70%;
  top: 0;
  width: 1px;
  height: 100%;
}

/*  */
.s2-line {
  position: absolute;
  background-color: #ccc;
}
.s2-line-h-1 {
  top: 30%;
  left: 0;
  width: 100%;
  height: 1px;
}
.s2-line-h-2 {
  top: 65%;
  left: 50%;
  width: 50%;
  height: 1px;
  background-color: #637283;
}
.s2-line-v-1 {
  left: 35%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(0deg, rgb(38 57 79) 0%, rgb(201 201 201) 100%);
}
.s2-line-v-2 {
  left: 70%;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(0deg, rgb(41 69 99) 0%, rgb(233 233 233) 100%);
}

/* 텍스트 */
.text-design {
  position: absolute;
  font-family: var(--font_en-1);
  top: 35%;
  left: 38%;
  transform: translate(-50%, -50%);
  font-size: 12vmin;
  font-weight: bold;
  color: #f7f7f7;
}
.text-value {
  text-transform: uppercase;
  position: absolute;
  font-family: var(--font_en-1);
  top: 68%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-size: 8vmin;
  font-weight: bold;
  color: #c9c9c9;
  line-height: 1;
  text-align: left;
}

/* 주황 정사각형 */
.gray-box {
  position: absolute;
  top: 16%;
  left: 69%;
  width: 61vh;
  height: 34vh;
  /* background-color: orange; */
  border: 1px solid #d5d5d5;
  transform: translate(-50%, 0);
}

/* career */

.career {
  background-color: #111;
}

.career p {
  color: #fff;
  padding: 1rem 2rem;
  font-weight: 400;
  font-style: 1rem;
}

.client_logos {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.client_logos li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: transparent;
}

.client_logos .image {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 640px) {
  .client_logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .client_logos .image {
    max-height: 60px;
  }
}

.panel {
  width: 100%;
  min-height: calc(100vh - 64px);
  display: flex;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  padding: 10px;

  overflow: hidden;
}

.panel-content {
  min-width: 100%;
}

.panel h3 {
  color: #fff;
  font-size: 2.5rem;
  letter-spacing: -0.05em;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 auto;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
