/* ===== ABOUT ===== */
.abo {
  background: #fff;
  padding: 120px 0 160px;
  margin-top: 5%;
}

.abo__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* 텍스트 */
.abo__head {
  max-width: 720px;
  margin-bottom: 60px;
}

.abo__title {
  font-size: 52px;
  font-weight: 700;
  color: #3db6c6;
  margin-bottom: 14px;
}

.abo__desc {
  font-size: 19px;
  line-height: 1.6;
  color: #666;
}

/* 카드 (절대 고정) */
.abo-card {
  position: relative;
  width: 1800px;
  height: 520px;
  overflow: hidden;
  border-radius: 40px;
  transform: none !important;
  will-change: auto;
  margin-left: auto;
  margin-right: -25%;
}

/* 이미지 래퍼 */
.abo-img {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* 이벤트 차단 */
}

/* 🔥 이미지: GPU 레이어로 분리 */
.abo-img img {
  display: block;
  width: 100%;
  height: 150%;
  object-fit: cover;
  object-position: center 22%;

  transform: translate3d(0, 0, 0);
  /* ⬅️ GPU 분리 핵심 */
  will-change: transform;
}

/* 반응형 */
@media (max-width:1024px) {
  .abo-card {
    height: 360px;
    border-radius: 28px;
  }
}

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

  .abo__inner {
    padding: 0 20px;
  }

  .abo__title {
    font-size: 32px;
  }

  .abo-card {
    height: 300px;
    border-radius: 22px;
  }
}

/* ===== MOBILE RESET (이미지 안 보이던 문제 해결) ===== */
@media (max-width: 768px) {

  .abo-card {
    width: 100%;
    /* PC 고정 폭 제거 */
    max-width: 100%;
    height: 260px;

    margin-left: 0;
    margin-right: 0;
    /* 음수 마진 제거 */

    border-radius: 18px;
  }

  /* 이미지 영역 중앙 정렬 */
  .abo-img {
    inset: 0;
    background-position: center center !important;
  }
}





/**************두번째섹션*****************************************/
/* ===== 상단 문구 ===== */
.with-head {
  background: #fff;
  padding: 140px 0 80px;
  margin-top: -8%;
}

.with-head__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
}

.with-eyebrow {
  font-size: 35px;
  line-height: 1.6;
}

.with-title {
  font-size: 35px;
  font-weight: 600;

}

/* ===== 파란 배경 시작 ===== */
.with-body {
  background: #f5fdff;
  /* 니가 표시한 영역 */
  padding: 120px 0;
}

.with-body__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 130px;
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* TEXT */
.with-text {
  flex: 1;
}

.with-sub {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}

.with-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 16px;
}

.with-bold {
  font-size: 22px;
  font-weight: 700;
  margin: 28px 0 12px;
}

/* IMAGE */
.with-visual {
  flex: 0 0 620px;
  position: relative;
  height: 815px;
  margin-top: -30%;
  left: 80px;
}



.with-img {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  overflow: hidden;
  transition: transform 0.9s ease;
}

.with-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.with-img--1 {
  z-index: 2;
}

.with-img--2 {
  z-index: 1;
  transform: translateY(80px);
}

/* 슬라이드 */
.with-visual.is-next .with-img--1 {
  transform: translateY(-80px);
  z-index: 1;
}

.with-visual.is-next .with-img--2 {
  transform: translateY(0);
  z-index: 2;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .with-body__inner {
    flex-direction: column;
    padding: 0 24px;
  }

  .with-visual {
    width: 100%;
    height: 420px;
  }
}

/* ===============================
   RESPONSIVE (ADD ONLY)
================================ */

/* ===== 태블릿 (1024 ↓) ===== */
@media (max-width: 1024px) {
  .with-head {
    padding: 100px 0 60px;
    margin-top: 0;
  }

  .with-head__inner {
    padding: 0 40px;
  }

  .with-eyebrow,
  .with-title {
    font-size: 28px;
  }

  .with-body {
    padding: 80px 0;
  }

  .with-body__inner {
    flex-direction: column;
    gap: 60px;
    padding: 0 40px;
  }

  .with-text {
    width: 100%;
  }

  .with-visual {
    flex: none;
    width: 100%;
    max-width: 620px;
    height: 520px;
    margin: 0 auto;
    left: 0;
  }
}

/* ===== 모바일 (768 ↓) ===== */
@media (max-width: 768px) {
  .with-head {
    padding: 80px 0 40px;
  }

  .with-head__inner {
    padding: 0 24px;
  }

  .with-eyebrow,
  .with-title {
    font-size: 22px;
    line-height: 1.5;
  }

  .with-body {
    padding: 60px 0;
  }

  .with-body__inner {
    padding: 0 24px;
    gap: 40px;
  }

  .with-sub,
  .with-bold {
    font-size: 18px;
  }

  .with-text p {
    font-size: 14px;
  }

  .with-visual {
    width: 100%;
    height: 420px;
  }
}

/* ===== 초소형 모바일 (480 ↓) ===== */
@media (max-width: 480px) {

  .with-eyebrow,
  .with-title {
    font-size: 20px;
  }

  .with-visual {
    height: 360px;
  }
}