.main-container {
  padding: 0;
  margin: 0;
  overflow: hidden; /* 이미지 깨짐 방지 */
}

main.site-content {
  padding: 40px 0;
}
/* ✅ 슬라이더 기본 스타일 */
.swiper {
  width: 100%;
  height: 800px;
  overflow: hidden; /* 슬라이더보다 큰 이미지 잘리게 */
  position: relative;
}


.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  height: 100%;
  min-width: 100%; /* ✅ 브라우저 너비를 기준으로 한 슬라이드 너비 고정 */
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.slide-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(30px); /* ✅ 아래에서 시작 */
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 10;
}

.slide-text img {
  width: 500px;
  height: auto;
  display: block;
}

/* ✅ 보일 때 효과 */
.slide-text.show {
  opacity: 1;
  transform: translateY(0); /* 제자리로 올라옴 */
}


/* ✅ feature-section 스타일 */
.feature-section {
  width:1080px;
  margin:0 auto;
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid #ddd;
}

.feature-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.feature-section p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #de74aa;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #038bd0;
}

/* ✅ 층별안내 슬라이더 기본 설정 */
.floorSwiper {
  width: 100%;
  height: 700px; /* PC 기준 높이 */
  overflow: hidden;
  position: relative;
}

.floorSwiper .swiper-wrapper {
  display: flex;
  height: 100%;
}

.floorSwiper .swiper-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.floorSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ 이미지 다 보이게 */
  position: static; /* ✅ position: absolute 없애야 함 */
  transform: none; /* ✅ transform 없애야 함 */
  display: block;
}
.pc-version{
    display:block;
}
.mobile-version{
    display: none;
}
/* ✅ 온라인문의 플로팅 버튼 (특정 영역 안에서만 보이게) */
.inquiry-float-btn {
  position: fixed;
  width:70px;
  height:70px;
  right: 30px;
  bottom: 400px;
  z-index: 1000;
  background: #007bff;
  color: #fff;
  padding: 10px;
  border-radius: 70px;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0; /* 기본 숨김 */
  pointer-events: none; /* 클릭도 안 되게 */
}
.inquiry-float-btn.show {
  opacity: 1;
  pointer-events: auto;
}
.inquiry-float-btn i {
  font-size: 24px;
  margin-top:10px;
  margin-bottom: 5px;
  display: block;
}
.inquiry-float-btn span {
  font-size: 11px;
  display: block;
  margin-top: 3px;
}
.inquiry-float-btn:hover {
  background: #0056b3;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  /* 메인 슬라이더 */
  .swiper {
    width: 100%;
    height: 610px;
    position: relative;
    overflow: hidden;
  }
  .swiper-slide img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .mySwiper .swiper-slide img{
  width: 100%;
  height: 610px;
  object-fit: cover;
  max-width: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  }
  .slide-text {
    width: 100%; /* 너비 전체 사용 */
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  .slide-text img {
    width: auto !important;
    max-width: 240px !important;  /* ✅ 원하는 이미지 최대 너비 설정 */
    height: auto !important;
    display: block;
  }

  /* 버튼, 페이지네이션 숨김 */
  .swiper-button-prev,
  .swiper-button-next,
  .swiper-pagination {
    display: none !important;
  }

  /* feature-section */
  .feature-section {
    width: 100%;
    padding: 0px 5px;
    text-align: center;
    border-top: 1px solid #ddd;
    box-sizing: border-box;
	margin-bottom:20px;
  }
  .feature-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .feature-section p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  p.font-m-01 {
    font-size: 1em;
    padding: 10px 0;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 6px;
  }
    /* 메인 슬라이더 전용 (mySwiper) */
  .mySwiper .swiper-slide img {
    width: 100%;
    height: 610px;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* 층별안내 슬라이더 전용 (floorSwiper) */
  .floorSwiper {
    height: 400px;
  }
  .floorSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: static;
    transform: none;
  }
  .pc-version{
    display:none;
	}
	.mobile-version{
		display: block;
	}
	.special-title img{
		width:60%;
		margin:30px 0 10px;
	}
	.special_swiper{
		height:100%;
		margin:40px 0;
		padding:0 0 50px 0;
	}
	/* 사라질 때 아래로 내려가며 숨기기 */
	.inquiry-float-btn {
  position: fixed;
  width:65px;
  height:65px;
  right: 10px;
  bottom: 100px;
  z-index: 1000;
  background: #007bff;
  color: #fff;
  padding: 5px;
  border-radius: 50px;
  text-align: center;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
  opacity: 0; /* 기본 숨김 */
  pointer-events: none; /* 클릭도 안 되게 */
}
}
