* {
  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_bg3 {
  position: relative;
  width: 100%;
  height: 598px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #f0f0f0;
}

/* ✅ 배경 확대 레이어 */
.sub__ceo_bg3::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url(../../1x/s1/sub1_3__bg.png) no-repeat center;
  background-size: cover;

  transform: scale(1);
  transition: transform 2.5s ease;

  z-index: 0;
}

/* ✅ 페이지 진입시 확대 */
.sub__ceo_bg3.is-active::before {
  transform: scale(1.15);
}

/* 텍스트는 항상 위 */
.sub__ceo_bg3 * {

  z-index: 2;
}


/* 텍스트 기본 상태 (숨김) */
.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_bg3 {
    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: #fff;
  font-weight: 900;
}

.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;
  }
}


/* ===============================
   HA SECTION
================================ */
.ha-sec {
  position: relative;
  padding: 180px 0;
  overflow: hidden;
  background: #fff;
  margin-top: -8%;
}

/* background graphic */
.ha-bg {
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 520px;
  height: 520px;
  background: url(/1x/s1/ha_bg.png) no-repeat left bottom;
  background-size: contain;
  pointer-events: none;

}

/* row layout */
.ha-row {
  display: flex;
  align-items: center;
  min-height: 420px;
  margin-bottom: 160px;
  position: relative;
}

.ha-row:last-child {
  margin-bottom: 0;
}

/* image common */
.ha-img {
  flex: 0 0 auto;
}

.ha-img img {
  display: block;
  width: 992px;
  height: auto;
}

/* left image */
.ha-img--left {
  margin-left: calc(50% - 50vw);
}

/* right image */
.ha-img--right {
  margin-right: calc(50% - 50vw);
}

/* text */
.ha-text {
  width: 820px;
  padding: 0 80px;
}

.ha-text h3 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
}

.ha-text p {
  font-size: 20px;
  line-height: 1.8;
  color: #000;
}

/* row direction */
.ha-row--right {
  justify-content: flex-end;
}

/* ===============================
   FADE UP ANIMATION
================================ */
.fade-item {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity .9s ease, transform .9s ease;
}

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

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

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

.company-info1__img2 img {
  width: 626px;
  display: block;
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1200px) {
  .ha-img img {
    width: 520px;
  }

  .ha-text {
    width: 460px;
    padding: 0 50px;
  }
}

@media (max-width: 900px) {
  .ha-row {
    flex-direction: column;
    text-align: center;
  }

  .ha-img--left,
  .ha-img--right {
    margin: 0;
  }

  .ha-img img {
    width: 100%;
    max-width: 560px;
  }

  .ha-text {
    width: 100%;
    padding: 40px 20px 0;
  }

  .ha-row--right {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .company-info1__img2 img {
    width: 280px !important;
  }
}

@media (max-width: 600px) {
  .ha-sec {
    padding: 120px 0;
  }

  .ha-text h3 {
    font-size: 28px;
  }

  .ha-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
  }

  .ha-bg {
    width: 360px;
    height: 360px;

  }
}








/* ===============================
     PR2 SECTION
  ============================== */
.pr2 {
  width: 100%;
  background: #fff;
  padding: 120px 0;
  overflow: hidden;
  margin-top: -10%;
}

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

/* image wrap */
.pr2__img {
  margin: 0;
  width: 100%;
  border-radius: 0;
  /* 시안/요청에 맞춰 과한 효과 X */
  box-shadow: none;
  filter: none;

  /* ✅ 기본: 아래에 있다가 슝 올라오기 */
  opacity: 0;
  transform: translateY(60px);
  transition: transform 0.9s ease, opacity 0.9s ease;
  will-change: transform, opacity;
}

.pr2__img.is-in {
  opacity: 1;
  transform: translateY(0);
}

.pr2__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===============================
     RESPONSIVE
  ============================== */
@media (max-width: 1024px) {
  .pr2 {
    padding: 90px 0;
  }

  .pr2__img {
    transform: translateY(50px);
  }
}

@media (max-width: 768px) {
  .pr2 {
    padding: 70px 0;
  }

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

  .pr2__img {
    transform: translateY(44px);
  }
}

@media (max-width: 480px) {
  .pr2 {
    padding: 56px 0;
  }

  .pr2__img {
    transform: translateY(38px);
  }
}

/* 모션 줄이기 환경 */
@media (prefers-reduced-motion: reduce) {
  .pr2__img {
    transition: none;
    opacity: 1;
    transform: none;
  }
}