@charset "utf-8";

#main_visual {
  height: 547px;
}
.main_visual {
  position: relative;
  height: 490px;
  border-radius: 20px;
  overflow: hidden;
}

.main_vis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
  transform: scale(1);
}

.main_visual .swiper-slide-active img {
  transform: scale(1.1);
  animation: zoomOut 5s forwards;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.swiper-fade .swiper-slide img {
  transition: opacity 0.8s ease, transform 5s ease;
}

.txt_main {
  position: absolute;
  z-index: 10;
  top: 20vh;
  margin-left: 50px;
}

.slider_dots {
  width: 100px;
}

.slider_dots span {
  content: '';
  width: 25%;
  height: 5px;
  background-color: #c9c9c98e;
  border-radius: 30px;
  margin: 20px 0;
  transition: background-color 0.3s ease;
}

.slider_dots span.on {
  background-color: white;
}

/* 메인비주얼 텍스트 아래서 위로 올라옴 */
.section0_txt {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px);
}

.section0_txt.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease, transform 1s ease;
}
.section0_txt2.active {
  transform: translateY(-100px);
}
.section0_txt3.active {
  transform: translateY(-200px);
}

.sec0_txt1,
.sec0_txt2 {
  overflow: hidden;
}

.sec0_txt2 {
  height: 55px;
  display: flex;
  align-items: center;
}

.sec0_txt1 p {
  opacity: 0;
  transform: translateY(50px);
}

.sec0_txt2 p {
  opacity: 0;
  transform: translateY(50px);
}

.section0_txt.active .sec0_txt1 p {
  animation: txt_show 1s ease forwards;
}

.section0_txt.active .sec0_txt2 p {
  animation: txt_show 1s ease 0.2s forwards;
}

@keyframes txt_show {
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.pause {
  position: absolute;
  z-index: 55;
  width: 10px;
  top: 39.6%;
  left: 14%;
}

/* 화살표 버튼 스타일 */
.swiper_page_arrow {
  position: absolute;
  z-index: 55;
  width: 88px;
  top: 29.6%;
  left: 19%;
  height: 30px;
}

.slide-num-container {
  width: fit-content;
  z-index: 2;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  /* width: 30px;
  height: 30px; */
  margin: 0;
  background: transparent;
  cursor: pointer !important;
}

.swiper-button-prev i,
.swiper-button-next i {
  /* color: #fff;
  font-size: 14px; */
}
.swiper-button-next {
  right: 80%;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  display: none;
}

/* 프로그레스 라인 */
.slide-progress {
  position: relative;
  width: 157px;
  height: 2px;
  background-color: #d7d7d7;
  margin: 0 10px;
  overflow: hidden;
}

.slide-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #319a39;
}

.slide-progress.animate-progress::after {
  animation: progressAnimation 4.3s linear forwards;
}

@keyframes progressAnimation {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.swiper_slide_pagination {
  background-color: #fff;
  padding: 28px;
  border-radius: 20px;
  z-index: 99;
  top: 82%;
  margin-left: 50px;
}

.custom-pagination {
  gap: 20px;
  padding-left: 160px;
}

.ms_1_menu {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 17px 22px;
  width: 122px;
  min-height: 133px;
}

.ms_1_menu {
  transition: all 0.3s ease;
}

.ms_1_menu:hover .menu_icon img {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.menu_icon img {
  transition: transform 0.3s ease;
}

.ms2_box1 {
  height: 309px;
  transition: 0.3s all ease-in;
}
.ms2_box1 img {
  width: 100%;
  position: absolute;
  top: 0;
}
.ms2_box1_txt1 {
  z-index: 9;
  bottom: 13%;
  left: 9%;
}
.ms2_box1_txt {
  z-index: 9;
  bottom: 13%;
  left: 9%;
  transition: 0.3s all ease-in;
}

.ms2_box1:hover .ms2_box1_txt {
  transform: scale(1.05);
}

.prt_box {
  width: 212px;
  transition: 0.3s all ease-in;
  height: auto; /* 고정 높이 제거 */
  min-height: 296px; /* 최소 높이만 설정 */
}

.prt_info_badge {
  padding: 7px 19px;
  /*width: 36px;*/
  border-radius: 30px;
  right: 5%;
  top: 5%;
  z-index: 9;
}

.prt_img {
  z-index: 8;
  height: 210px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  /*border: 1px solid #d7d7d7;*/
}
.prt_desc {
  position: relative;
  width: 100%;
  padding-top: 15px;
}

.prd_desc_top {
  margin-bottom: 8px;
}

.prd_desc_top p:first-child {
  line-height: 1.3;
  word-break: keep-all;
}

.prt_img img {
  width:100%;
  height:100%;
  object-fit: cover;
  transition: 0.4s all ease;

}

.prt_box:hover .prt_img img {
  transform: scale(1.05);
}

/* 호버 오버레이  */
.prt_hover_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 101%;
  height: 212px;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
  border-radius: 15px;
}

.prt_box:hover .prt_hover_overlay {
  opacity: 1;
  visibility: visible;
}

.hover_content {
  text-align: center;
  color: white;
}

.hover_icon {
  border: 1px solid #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  display: block;
}

.hover_text {
  font-size: 16px;
  font-weight: bold;
}
.ms2_banner .viewmore {
  background-color: #319a39;
  border-radius: 30px;
  padding: 5px 10px;
}
.ms2_banner .banner_txt {
  top: 51px;
  left: 550px;
  width: 70%;
}
.arrow_wrap {
  left: 29px;
  position: relative;
}
.skyblue_circle {
  content: '';
  width: 30px;
  height: 30px;
  position: relative;
  border-radius: 50%;
  z-index: 1;
  top: 0;
  background-color: #bbefff;
  left: 30px;
}
.ms3_right_arrow {
  z-index: 2;
  position: relative;
  left: -40px;
  transition: 0.3s all ease;
}
.arrow_wrap:hover .ms3_right_arrow {
  left: -30px;
}
.ms3_item {
  padding: 0 2%;
}

.ms3_item:hover {
  background-color: #d6f5ff39;
}

/* mobile */
@media screen and (max-width: 766px) {
  .main_visual {
    height: 250px;
  }
  #main_visual {
    height: 287px;
  }
  .txt_main > div {
    width: 250px;
  }
  .slider_dots {
    width: 100px;
    top: -65px;
    position: relative;
  }
  .txt_main {
    top: 9vh;
    margin-left: 28px;
  }
.swiper-wrapper{
  filter: brightness(0.6);
}
  .section0_txt.active {
    transform: translateY(-64px);
  }
  .section0_txt2.active {
    transform: translateY(-140px);
  }
  .section0_txt3.active {
    transform: translateY(-250px);
  }
  .slide-progress {
    width: 129px;
  }
  .prt_box {
    width: 46%;
    height: 248px;
    transition: 0.3s all ease-in;
    margin-bottom: 20px;
  }
  .swiper_slide_pagination {
    background-color: #fff;
    padding: 23px;
    border-radius: 20px;
    z-index: 9;
    top: 228px;
    margin-left: 10px;
    width: auto;
  }
  .custom-pagination {
    gap: 20px;
    padding-left: 60px;
  }
  .pause {
    position: absolute;
    z-index: 55;
    width: 10px;
    top: 34.6%;
    left: 7%;
  }

  .ms_1_menu {
    padding: 0 !important;
    width: 22%;
    min-height: 94px;
    margin-bottom: 10px;
    border-radius: 13px;
  }
  .menu_icon {
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .ms2_box1 {
    height: 149px;
    transition: 0.3s all ease-in;
    margin-bottom: 20px;
  }


  .menu_icon img{
    width:40px;
  }

  .ms2_banner {
    background: linear-gradient(135deg, #baecba, #a0dcf5);
    /*padding: 20px;*/
    border-radius:15px;
    height: 351px;
    max-width:100%;
  }
  .ms2_banner img.mobile_img1{
    width: 200px;
    padding-top: 20px;
    padding-left: 20px;
  }
  .ms2_banner .banner_txt {
    top: 223px;
    left: 19px;
    width: 85%;
  }
}

/* tablet 세로기준 */
@media screen and (min-width: 767px) and (max-width: 1025px) {
  .txt_main {
    top: 10vh;
  }
  .ms_1_menu {
    padding: 20px 0 !important;
    width: 23.3%;
    max-height: 52px;
    margin-bottom: 10px;
    border-radius: 13px;
  }
  .menu_icon {
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .ms2_box1 {
    height: 264px;
    transition: 0.3s all ease-in;
    margin-bottom: 20px;
  }
  .ms2_box1 img {
    width: 100%;
    position: absolute;
    top: 0;
    height: 100%;
  }
  .menu_icon img{
    width:60px;
  }
  .ms2_top {
    min-height: 391px;
  }

  .product_wrap{
    gap: 10px 20px !important;
  }

  .ms2_banner {
    background: linear-gradient(135deg, #baecba, #a0dcf5);
    /*padding: 20px;*/
    border-radius:15px;
    height: 359px;
    max-width:100%;
  }
  .ms2_banner img.mobile_img1{
    width: 200px;
    padding-top: 20px;
    padding-left: 20px;
  }
  .ms2_banner .banner_txt {
    top: 223px;
    left: 19px;
    width: 85%;
  }
  .prt_box {
    width: 31%;
    min-height: 278px;
    transition: 0.3s all ease-in;
    margin-bottom: 20px;
  }
}

/* 태블릿 아이패드미니 가로부터 ~ , 노트북 : 11인치  ~ 15인치 */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
.ms_1_menu {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 17px 22px;
  width: 89px;
  min-height: 133px;
}
  .ms2_box1 {
    height: 266px;
    transition: 0.3s all ease-in;
  }
  .ms2_banner img{
    width:100%;
  }

  .ms2_banner .banner_txt {
    top: 47px;
    left: 487px;
    width: 42%;
  }



}
