main {
    padding-top: 0px !important;
}

main > section {
    width: 100%;
    position: relative;
}

main > section:not(:first-child) {
    margin: 200px 0px;
}

@media (max-width: 1199px) and (min-width: 768px) {
  main > section:not(:first-child) {
    margin: 64px 0px;
  }
}

@media (max-width: 767px) {
  main > section:not(:first-child) {
    margin: 32px 0px;
  }
}


/********************   HERO   ********************/

main section.ab-section-main-hero {
    height: 100vh;
    overflow: hidden;
}

main section.ab-section-main-hero .ab-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-size: cover;
    background-position: center;
}


main section.ab-section-main-hero .ab-hero-text-wrapper {
    position: absolute;
    top: 160px;
    left: 0;
    width: 100%;
    font-family: 'Creato Display', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.2;
} 

main section.ab-section-main-hero .ab-hero-text {
    position: relative;
    top:0;
    left:0;
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
    color: #000000;
    padding: 0 5vw;
    /* clip-path: polygon(좌측 상단, 우측 상단, 우측 하단, 좌측 하단); */
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%);
}

main section.ab-section-main-hero .ab-hero-text.ab-text-mask {
    position: absolute;
    color: #ffffff;
    clip-path: polygon(0% 50%, 100% 50%, 100% 100%, 0% 100%);
}

main section.ab-section-main-hero .ab-hero-text div {
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
}


@media (min-width: 2561px) {
    main section.ab-section-main-hero .ab-hero-text-wrapper {
        top: 160px;
        font-size: 72px;
    }

    main section.ab-section-main-hero .ab-hero-text div {
        padding: 0 32px;
    }
}

@media (max-width: 2560px) and (min-width: 1681px) {
    main section.ab-section-main-hero .ab-hero-text-wrapper {
        top: 160px;
        font-size: 68px;
    }

    main section.ab-section-main-hero .ab-hero-text div {
        padding: 0 32px;
    }
}

@media (max-width: 1680px) and (min-width: 1200px) {
    main section.ab-section-main-hero .ab-hero-text-wrapper {
        top: 160px;
        font-size: 46px;
    }

    main section.ab-section-main-hero .ab-hero-text div {
        padding: 0 32px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    main section.ab-section-main-hero .ab-hero-text-wrapper {
        top: 160px;
        font-size: 40px;
    }

    main section.ab-section-main-hero .ab-hero-text div {
        padding: 0 16px;
    }
}

@media (max-width: 767px) {
    main section.ab-section-main-hero .ab-hero-text-wrapper {
        top: 160px;
        font-size: 24px;
    }

    main section.ab-section-main-hero .ab-hero-text div {
        padding: 0 8px;
    }

    main section.ab-section-main-hero .ab-hero-text div {
        gap: 8px;
    }

    main section.ab-section-main-hero .ab-hero-text {
        gap: 12px;
    }
}




/********************   INFO TEXT   ********************/

main > section.ab-section-main-info {
    width: 100%;
}

.hero-info-text {
  padding: 22px 90px 22px 75px;
  display: flex;
  justify-content: space-between; /* 좌우로 배치 */
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Creato Display', sans-serif;
  font-size: 0.8125rem; /* 13px */
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.hero-info-text .right-text {
  text-align: right;
  display: flex;
  gap: 95px;
  white-space: nowrap;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .container-wrapper-main {
    gap: 150px;
  }

  .hero-page {
    padding-top: 80px;
  }
  
  .hero-text {
    left: 30px;
    font-size: 48px;
  }

  .hero-info-text .right-text {
      gap: 50px;
  }
}

@media (max-width: 767px) {

  .container-wrapper-main {
    gap: 150px;
  }

  .hero-page { 
    padding-top: 90px;
  }

  .hero {
    width: 100%;
  }

  .hero img {
    height: 100%;
    width: auto;
  }

  .hero-text {
    left: 20px;
    font-size: 30px;
    right: 20px;
  }

  .hero-info-text {
    padding: 22px 20px;
  }

  .hero-info-text .left-text {
    align-self: baseline;
    line-height: 1.3;
    font-size: 9px;;
  }

  .hero-info-text .right-text {
    gap: 8px;
    display: flex;
    font-size: 9px;;
  }
}

/********************   CARING & GROWING   ********************/

main > section.ab-section-main-about {
    
}

.m-about {
  padding-bottom: 64px;
}

.m-about-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
  /* padding-bottom: 110px; */
}

.m-about-text-main {
  font-family: 'Creato Display', sans-serif;
  font-size: 3rem; /* 48px */
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.m-about-text-sub {
  font-size: 1.125rem; /* 18px */
  line-height: 1;
}

.m-about .slide-wrap{
  position: relative; 
  margin-top: 36px;
}

.m-about .slide-wrap .slide-ctn { height: 450px; }
.m-about .slide-wrap .slide-ctn .slick-list{ padding: 0 !important }
.m-about .slide-wrap .slide-ctn .item {
  position:relative; 
  /* width: 100%; 
  max-width: 580px;  */
  overflow: hidden; 
  padding: 106px 16px 0px 16px; 
  transition: 1.2s; 
  /* margin: 0 10px; */
}
.m-about .slide-wrap .slide-ctn .item a {
  position:absolute; 
  top: 0; 
  right: 0; 
  bottom: 0; 
  left: 0;
}

.m-about .slide-wrap .slide-ctn .item .img-box{
  position:relative; 
  overflow: hidden;
}

.m-about .slide-wrap .slide-ctn .item .img-box img {
  width: 100%;
  aspect-ratio: 16 / 9; /* 비율 유지 */
  object-fit: cover;       /* 이미지 꽉 채우기 */
  display: block;
  /* margin-left: 30px; */
}

.m-about .slide-wrap .slide-ctn .item .img-box h3:not(.on){
  position:absolute; 
  bottom:20px; 
  left: 50px; 
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ab-natural-0);
  transition:1.2s;
}

.m-about .slide-wrap .slide-ctn .item .img-box .on{
  position:absolute; 
  bottom: -9px; 
  right: -4px; 
  font-size: 4rem; /* 80px */
  font-weight: 700;
  color: var(--ab-natural-0);
  text-align: right; 
  line-height: 1; 
  transform: translateX(100%); 
  transition: 1.2s;
}

.m-about .slide-wrap .slide-ctn .item .item-text {
  position:relative; 
  transform:translateY(-100%);
  padding: 24px 16px 0; 
  z-index: -1; 
  transition:1.2s
}

.m-about .slide-wrap .slide-ctn .item .item-text > h4:nth-child(1) {
  margin-bottom:14px;
  font-size: 2rem; /* 32px */
  font-weight: 600;
  line-height: 1;
}
.m-about .slide-wrap .slide-ctn .item .item-text p {
  font-size: 1.125rem; /* 18px */
  line-height: 1.4;
  color: var(--ab-natural-820);
}
.m-about .slide-wrap .slide-btn{
  position:absolute; 
  top: -102px; 
  right: 102px; 
  display:flex; 
  flex-wrap:wrap; 
  justify-content:center; 
  align-items:center; 
  width: 180px; 
  height: 180px;
  border-radius:50%; 
  z-index: 10;
}
.m-about .slide-wrap .slide-btn::before{
  content:""; 
  position:absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background:url(../../assets/images/main/rotating-btn.png) 50% 50% no-repeat; 
  z-index: -1; 
  background-size: cover; /* 비율 유지 + 영역을 꽉 채움 */
  animation:rotate 10s linear infinite;
}

.m-about .slide-wrap .slide-btn > .next{
  width: 60px; 
  height: 60px; 
  cursor: pointer; 
  background-size: cover !important; /* 비율 유지 + 영역을 꽉 채움 */
  background:url(../../assets/images/icons/arrow-right-lg.png) 50% 50% no-repeat;
}

@keyframes rotate{
	0%{transform:rotate(0);}
	100%{transform:rotate(360deg);}
}

.m-about .slide-wrap .slide-ctn .item.slick_now {padding-top: 0;}
.m-about .slide-wrap .slide-ctn .item.slick_now .img-box h3:not(.on){transform:translateY(140%)}
.m-about .slide-wrap .slide-ctn .item.slick_now .img-box .on{transform:translateX(0)}
.m-about .slide-wrap .slide-ctn .item.slick_now .item-text{transform:translateY(0);}

@media (max-width: 1199px) and (min-width: 768px) {
  main > section.ab-section-main-about {
      margin: 64px 0px;
  }

  .m-about {
    padding-top: 100px !important;
  }

  .m-about-text {
    gap: 20px;
  }

  .m-about .slide-wrap {
    margin-top: 70px;
  }

  .m-about .slide-wrap .slide-btn {
    right: 60px; 
    width: 120px;
    height: 120px;
  }

  .m-about .slide-wrap .slide-ctn .item .item-text > h4:nth-child(1) {
    font-size: 1.75rem; /* 28px */
  }
}

@media (max-width: 767px) {
  main > section.ab-section-main-about {
      margin: 60px 0px;
  }

  .m-about {
    padding: 0 0px;
  }

  .m-about-text {
    gap: 15px;
  }
  
  .m-about-text-main{
    font-size: 2rem; /* 32px */
  }

  .m-about-text-sub {
    font-size: 1rem; /* 16px */
  }
  
  .m-about .slide-wrap {
    margin-top: 70px;
  }

  .m-about .slide-wrap .slide-btn {
    width: 100px;
    height: 100px;
    right: 30px;
    top: -60px;
  }

  .m-about .slide-wrap .slide-btn > .next{
    width: 30px; 
    height: 30px; 
  }

  .m-about .slide-wrap .slide-ctn { height: 380px; }
  .m-about .slide-wrap .slide-ctn .item {
    padding: 106px 1px 0px 1px; 
  }
	.m-about .slide-wrap .slide-ctn .item .img-box .on{font-size:45px; bottom: -7px; right: 22px}

  .m-about .slide-wrap .slide-ctn .item .img-box img {
    margin-left: 0px;
  }

  .m-about .slide-wrap .slide-ctn .item .item-text > h4:nth-child(1) {
    font-size: 1.5rem; /* 24px */
  }

  .m-about .slide-wrap .slide-ctn .item .item-text {
    padding: 32px 8px; 
  }
  .m-about .slide-wrap .slide-ctn .item .item-text p {
    font-size: 1rem; /* 16px */
  }
}

/********************   Since 1979   ********************/

main > section.ab-section-main-history {
  margin: 64px 0px;
}

.m-vision {
  background:url(../../assets/images/main/vision.png) no-repeat center / cover;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.m-vision-inner {
  padding: 120px 105px 190px 105px;
  display: flex;
  flex-direction: column;
  gap: 292px;
  color: var(--ab-natural-0);
}

.m-vision-inner-title {
  display: flex;
  gap: 210px;
}

.m-vision-inner-title-main {
  font-family: 'Montserrat' !important;
  letter-spacing: 0.02em;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 5.9375rem; /* 95px */
  line-height: 0.8;
  white-space: nowrap;
}

.m-vision-inner-title-sub {
  font-size: 1.125rem; /* 18px */
  line-height: 1.8;
}

.m-vision-inner-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

/* 아이템 */
.m-vision-inner-body-text {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
}

.m-vision-inner-body-text > div:nth-child(1) {
  position: relative; 
  font-family: 'Montserrat' !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.8;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 40px;
  font-size: 6.625rem; /* 106px */
  text-transform: uppercase;
}

.m-vision-inner-body-text > div:nth-child(1)::after {
  content: "";
  position: absolute;
  bottom: -4px; /* 글자 아래 여백 (원하는 만큼 조정) */
  left: 50%;
  transform: translateX(-50%);
  width: 104px;   /* 최종 길이 */
  height: 2px;
  background-color: var(--ab-natural-0);

  /* 처음에는 안 보이게 */
  transform-origin: left;
  transform: translateX(-50%) scaleX(0);

  animation: lineGrow 1.5s ease-out forwards;
}

@keyframes lineGrow {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
}

/* 라인이 다 그려진 후 카운터 실행 */
.m-vision-inner-body-text > div:nth-child(1).line-finished .counter {
  animation: countUp 1.5s ease-out forwards;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .m-vision-inner-body-text > div:nth-child(1) span {
  padding-left: 12px;
} */

.m-vision-inner-body-text > div:nth-child(1) .bi {
  font-size: 60px;
}

.m-vision-inner-body-text > div:nth-child(2) {
  font-size: 1.5rem; /* 24px */
  line-height: 1;
}

/* animation */
.m-vision-inner-title-main,
.m-vision-inner-title-sub,
.m-vision-inner-body {
  opacity: 1;
  /* transform: translateY(40px); */
}

.m-vision-inner-title-main.active,
.m-vision-inner-title-sub.active,
.m-vision-inner-body.active {
  /* animation: fadeUp 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;  */
}

.m-vision-inner-title-sub.active {
  /*animation-delay: 0.2s; /* 0.2초 후 시작 */
}

/* @keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

@media (max-width: 1199px) and (min-width: 768px) {

  main > section.ab-section-main-history {
    margin: 32px 0px;
  }

  .m-vision {
    margin-top: 50px;
  }
  .m-vision-inner {
    padding: 100px 80px !important;
    gap: 292px;
  }
  
  .m-vision-inner-title {
    gap: 90px;
  }

  .m-vision-inner-title-main {
    white-space: unset;
    font-size: 4.5rem; /* 72px */
    line-height: 1;
  }

  .m-vision-inner-body-text {
    gap: 40px;
  }

  .m-vision-inner-body-text > div:nth-child(1) {
    padding-bottom: 30px;
    font-size: 65px;
  }

  .m-vision-inner-body-text > div:nth-child(1) .bi {
    font-size: 30px;
  }

  /* .m-vision-inner-body-text > div:nth-child(1) span {
    padding-left: 0px;
  } */
  
}

@media (max-width: 767px) {
  main > section.ab-section-main-history {
    margin: 32px 0px;
  }

  .m-vision {
    background-position: center top; /* 모바일에서 중앙 상단 기준 */
    background-size: cover;
  }
  .m-vision-inner {
    padding: 100px 50px !important;
    gap: 100px;
  }

  .m-vision-inner-title {
    flex-direction: column;
    gap: 100px;
  }
  
  .m-vision-inner-title-main {
    font-size: 3.4375rem; /* 55px */
  }

  .m-vision-inner-title-sub{
    font-size: 1rem; /* 16px */
  }

  .m-vision-inner-body {
    grid-template-columns: repeat(2, 1fr); /* 2x2 배치 */
    column-gap: 20px; /* 열 간격 */
    row-gap: 60px;    /* 행 간격 */
  }

  .m-vision-inner-body-text {
    gap: 30px;
  }

  .m-vision-inner-body-text > div:nth-child(1) {
    padding-bottom: 25px;
    font-size: 3.125rem; /* 50px */
  }

  .m-vision-inner-body-text > div:nth-child(1)::after {
    width: 70px;
  }

  .m-vision-inner-body-text > div:nth-child(1) .bi {
    font-size: 25px;
  }

  /* .m-vision-inner-body-text > div:nth-child(1) span {
    padding-left: 4px;
  } */

  .m-vision-inner-body-text > div:nth-child(2) {
    font-size: 1.25rem; /* 20px */
  }
}

/********************   비전 (VISION), 미션 (MISSION) 텍스트   ********************/


main > section.ab-section-main-vision {
  /* padding: 64px 0px; */
}

.m-vision-info {
  display: flex;
  flex-direction: column;
  padding: 0 128px 0 240px;
  gap: 217px;
}

.m-vision-info-item {
  display: flex;
  flex-direction: row;
  gap: 87px;
}

.m-vision-info-item > div:nth-child(1) {
  max-width: 210px;
  width: 100%;
  position: relative;
  display: flex; /* 텍스트 길이에 맞춤 */
  padding-top: 15px;
  font-size: 1.875rem; /* 30px */
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.m-vision-info-item > div:nth-child(2) {
  line-height: 1.8;
  font-size: 1.125rem; /* 18px */
}

/* border-top 대신 after로 라인 애니메이션 처리 */
.m-vision-info-item > div:first-child::before {
  content: "";
  position: absolute;
  top: 0; /* padding-top 위쪽 */
  left: 0;
  height: 2px;
  width: 65px;
  background-color: var(--ab-natural-1);
  transform: scaleX(0);
  transform-origin: left;
  animation: borderGrow 1s ease-out forwards;
}

@keyframes borderGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 1199px) {

  main > section.ab-section-main-vision {
    padding: 100px 0px;
  }

  .m-vision-info {
    padding: 0 70px;
    gap: 150px;
  }

  .m-vision-info-item {
    flex-direction: row;
    gap: 80px;
  }

  .m-vision-info-item > div:nth-child(1) {
    padding-top: 15px;
    font-size: 1.75rem; /* 28px */
  }
}

@media (max-width: 767px) {
  main > section.ab-section-main-vision {
    padding: 60px 0px;
  }

  .m-vision-info {
    padding: 0 50px;
    gap: 100px;
  }

  .m-vision-info-item {
    flex-direction: column;
    gap: 50px;
  }

  .m-vision-info-item > div:nth-child(1) {
    width: 210px;
    padding-top: 15px;
    font-size: 1.625rem;   /* 26px */
  }
  .m-vision-info-item > div:nth-child(2) {
    font-size: 1rem;   /* 26px */
  }
}


/********************   브랜드   ********************/


main > section.ab-section-main-slide {
    padding-bottom: 32px;
}

.m-brand .m-brand-grid {
  display: grid;
  grid-template-columns: 1fr 8fr 1fr;
  column-gap: 18px;
  width: 100%;
  height: calc(calc(calc(100vw - 46px) * 0.8) * 0.5625);
  transition: grid-template-columns 0.8s ease-in-out;
}

.m-brand .m-brand-grid .m-brand-item {
  position: relative;
  overflow: hidden; /* 이미지를 부모 영역에 맞춤 */
  height: calc(calc(calc(100vw - 46px) * 0.8) * 0.5625);
}

.m-brand .m-brand-grid .m-brand-item > div:first-child {
    opacity: 0;
    position: absolute;
    top: 0;
    left:0;
    height: calc(calc(calc(100vw - 46px) * 0.8) * 0.5625);
    transition: opacity 0.8s ease-in-out 0.8s;
    /* aspect-ratio: 16 / 9; */
    overflow: hidden;
}
.m-brand .m-brand-grid .m-brand-item > div:last-child {
    opacity: 1;
    position: absolute;
    top: 0;
    left:0;
    height: calc(calc(calc(100vw - 46px) * 0.8) * 0.5625);
    transition: opacity 0.8s ease-in-out 0.8s;
    /* aspect-ratio: 16 / 9; */
    overflow: hidden;
}

.m-brand .m-brand-grid .m-brand-item:hover > div:first-child {
    opacity: 1;
}

.m-brand .m-brand-grid .m-brand-item:hover > div:last-child {
    opacity: 0;
}


/* .m-brand .m-brand-grid .m-brand-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: opacity 0.6s ease-in-out;;
} */

/* 오버 레이어 */
.m-brand .m-brand-grid .m-brand-item::after {
  content: "";
  position: absolute;
  inset: 0; /* top:0, right:0, bottom:0, left:0 */
  background: rgba(0,0,0,0.3); /* 반투명 오버레이 */
  opacity: 1;
  transition: opacity 0.8s ease-in-out;
}

/* Hover 시 효과 */
.m-brand .m-brand-grid .m-brand-item:hover::after {
  opacity: 0;
}

.m-brand .m-brand-grid .m-brand-item:nth-child(2)::after {
  background: transparent !important;
  opacity: 0 !important;
}

.m-brand .m-brand-grid:has(.m-brand-item:nth-child(1):hover) {
  grid-template-columns: 8fr 1fr 1fr;
}
.m-brand .m-brand-grid:has(.m-brand-item:nth-child(2):hover) {
  grid-template-columns: 1fr 8fr 1fr;
}
.m-brand .m-brand-grid:has(.m-brand-item:nth-child(3):hover) {
  grid-template-columns: 1fr 1fr 8fr;
}

.m-brand .m-brand-swiper {
  display: none;
}


@media (max-width: 1199px) {
  .m-brand {
    column-gap: 20px;
    /* height: 500px; */
  }

  .m-brand .m-brand-grid {
    display: none;
  }

  .m-brand .m-brand-swiper {
    display: block;
  }
}

@media (max-width: 767px) {
  .m-brand {
    /* column-gap: 5px;
    row-gap: 5px;
    grid-template-columns: 1fr;
    height: 200px; */
  }

  .m-brand .m-brand-grid {
    display: none;
  }

  .m-brand .m-brand-swiper {
    display: block;
  }
}


/* swiper 관련 */
.m-brand-swiper {
    display: block;
}

.m-brand-swiper .img_box {
    width: 100%;
}

.m-brand-swiper .swiper-slide .ab-video-916 {
    width: 100%;
    aspect-ratio: 9 / 16;
}

.pagi.type_bar.swiper-pagination-bullets.swiper-pagination-horizontal {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: static;
  width: 100%;
  padding: 32px 0px;
}

.pagi.type_bar.swiper-pagination-bullets.swiper-pagination-horizontal span {
  background-color: #707070;
  height: 4px !important;
  margin: 8px !important;
  border-radius: 0;
  transition: 0.3s ease;
  width: 20%;
}
.pagi.type_bar.swiper-pagination-bullets.swiper-pagination-horizontal
  span::before {
  display: none !important;
}
.pagi.type_bar.swiper-pagination-bullets.swiper-pagination-horizontal
  span.swiper-pagination-bullet-active {
  height: 4px !important;
  background-color: #000;
}


/********************   그외 브랜드   ********************/


main > section.ab-section-main-brand {

}

.m-our-brand {
  padding: 0px 240px 0px 240px;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.m-our-brand-title {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-items: center;
  justify-items: center;
}

.m-our-brand-title > div:nth-child(1) {
  font-family: 'Creato Display', sans-serif;
  font-size: 3rem; /* 48px */
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.m-our-brand-title > div:nth-child(2) {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1;
  color: var(--ab-natural-820);
}


.m-our-brand-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 70px;         /* 로고 사이 간격 */
  padding: 0 40px;   /* 좌우 공간 확보 */
  overflow: hidden;
}

.m-our-brand-logo::before,
.m-our-brand-logo::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.m-our-brand-logo::before {
  left: 0;
  background: linear-gradient(to right,  #ffffff, rgba(255, 255, 255, 0));
}

.m-our-brand-logo::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.m-our-brand-logo-row {
  display: flex;
  gap: 70px;
  width: min-content;
  animation-timing-function: linear;
}

.m-our-brand-logo-row img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: auto;
}

/* 애니메이션 keyframes */
@keyframes move-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes move-right {
  100% { transform: translateX(0); }
  0% { transform: translateX(-50%); }
}

/* 줄마다 애니메이션 적용 */
.m-our-brand-logo-row:nth-child(odd) {
  animation: move-left 10s linear infinite;
}

.m-our-brand-logo-row:nth-child(even) {
  animation: move-right 10s linear infinite;
}

.m-our-brand-logo--link {
  display: inline-flex;
  align-items: center;
  padding: 15px 40px 15px 30px;
  border: 1px solid var(--ab-natural-1);
  text-transform: uppercase;
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1;
  gap: 15px; 
  border-radius: 9999px;
  white-space: nowrap;
  margin: 0 auto;
}

.m-our-brand-logo--link .bi-arrow-right-short {
  font-size: 1.875rem;
  animation: btn-style-1-icon-move .5s cubic-bezier(0.33, 1, 0.68, 1) infinite alternate;
}

.m-our-brand-logo--link:hover {
  background-color: var(--ab-natural-1);
  color: var(--ab-natural-0);
}

@keyframes btn-style-1-icon-move{
  to{
    transform:translateX(50%);
  }
}


@media (max-width: 1199px) and (min-width: 768px) {
  .m-our-brand {
    padding: 128px 100px 0 100px !important;
    gap: 120px;
  }

  .m-our-brand-logo-row img {
    width: 60vw;
    max-width: 150px;
    height: auto;
  }

  .m-our-brand-logo-row:nth-child(odd) {
    animation: move-left 20s linear infinite;
  }

  .m-our-brand-logo-row:nth-child(even) {
    animation: move-right 20s linear infinite;
  }

}

@media (max-width: 767px) {
  .m-our-brand {
    padding: 60px 40px !important;
    gap: 90px;
  }

  .m-our-brand-title > div:nth-child(1) {
    font-size: 2rem; /* 32px */
  }

  .m-our-brand-title > div:nth-child(2) {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    text-align: center;
  }

  .m-our-brand-logo {
    gap: 40px;
    padding: 0 20px;
    overflow: hidden;
  }

  .m-our-brand-logo-row img {
    width: 60vw;
    max-width: 120px; /* 최대 크기 제한 가능 */
    height: auto;
  }

  .m-our-brand-logo-row:nth-child(odd) {
    animation: move-left 30s linear infinite;
  }

  .m-our-brand-logo-row:nth-child(even) {
    animation: move-right 30s linear infinite;
  }

  .m-our-brand-logo--link {
    padding: 8px 20px;
    font-size: 1rem;
    gap: 0px;
  }
}

/******************************************************************************
* 팝업
******************************************************************************/
/* .popup-box  {
    background-color: rgba(0,0,0,0.5);
    padding: 0px;
} */

.popup-body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.popup-text {
  padding: 30px 25px 70px 25px;
  text-align: center;
  line-height: 1.6;
  font-size: 1rem;
  color: #6d6c6a;
}

.popup-btn {
  display: flex;
  justify-content: space-between; /* 좌우로 배치 */
  align-items: center;
  width: 100%;
  color: #ffffff;
  font-weight: 300;
  padding: 8px;
    background-color: rgba(0, 0, 0, 0.6);
}

.popup-btn > div {
  cursor: pointer;
}



/* PC: 오른쪽 하단 팝업 */
@media (min-width: 768px) {
  .popup-box {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 320px;
    height: 455px;
    /* aspect-ratio: 320 / 425; */
    /* border-radius: 0.75rem; */
    z-index: 20;
    overflow: hidden;
  }
}

/* 모바일: 중앙 팝업 */
@media (max-width: 767px) {

  .popup-overlay {
    display: block;
    position: fixed;
    top:0; left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.5);
    z-index: 23;
  }

  .popup-box {
    position: absolute;
    width: 80dvw;
    aspect-ratio: 320 / 455;
    max-height: 90dvh;
    z-index:20;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    z-index: 24;
  }

  .popup-text {
    font-size: clamp(0.9375rem, 3vw, 1.25rem); 
    padding: 16px 16px;
    padding-bottom: 40px;

  }

}


/********************   TOP   ********************/
.hero-page { 
  width:100%; 
  position: relative; 
  padding-top: 122px;
  margin-top: 60px;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(80vh - 90px);
  overflow: hidden;
  z-index: 1;
}


.hero img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  z-index: 1;
  width: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 15px;
  top: 25px;
  left: 60px;
  font-family: 'Creato Display', sans-serif;
  text-transform: uppercase;
  line-height: 1;
  font-size: 4.25rem;
  font-weight: 700;
  z-index: 9;
  transition: opacity 0.5s ease; /* 자연스러운 사라짐 효과 */
  transform: translateY(25px);
  will-change: transform;
}

.hero-text-main {
  color: var(--ab-natural-1);
  transition: 0.3s all;
  display: inline-block;
}

.hero-text-sub {
  color: var(--ab-natural-0);
  display: inline-block;
}

/* .hero-info-text {
  padding: 22px 90px 22px 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Creato Display', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
}

.hero-info-text .right-text {
  text-align: right;
  display: flex;
  gap: 95px;
} */

.hero-text-main-pc { display:block;}
.hero-text-main-mo { display:none;}

@media (max-width: 1199px) and (min-width: 768px) {
  .container-wrapper-main {
    gap: 150px;
  }

  .hero {
    max-height: 1002px;
    height: 100%;
  }

  .hero-page {
    padding-top: 103px;
    margin-top: 60px;
  }
  
  .hero-text {
    left: 30px;
    font-size: 48px;
  }

  .hero-info-text .right-text {
      gap: 50px;
  }
}

@media (max-width: 767px) {

	.hero-text-main-pc { display:none;}
	.hero-text-main-mo { display:block;}

  .container-wrapper-main {
    gap: 150px;
  }

  .hero-page { 
    padding-top: 126px;
    margin-top: 30px;
  }

  .hero {
    width: 100%;
  }

  .hero img {
    height: 100%;
    width: auto;
  }

  .hero-text {
    left: 20px;
    font-size: 30px;
    right: 20px;
  }

  .hero-text-main, .hero-text-sub {
    line-height: 1.2;
  }
}