/* 사이드 메뉴 */
.aside {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 86px;
  transform: translateY(-50%);
  z-index: 100;
}

.side-menu {
  padding: 45px 14px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.side-menu li {
  text-align: center;
}

.side-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--point-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  gap: 6px;
  border-radius: 10px;
  padding: 5px;
}

.side-menu a:hover {
  background: #F5F5F5;
}

.side-menu img {
  width: 38px;
  height: 38px;
}

.btn-top {
  margin-top: 7px;
  margin-left: 24px;
}

.btn-top img {
  width: 43px;
  height: 43px;
}


/* 스와이퍼 */
.swiper-container {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.swiper-container .swiper-slide {
  position: relative;
}

.main-slide-text {
  position: absolute;
  top: 50%;
  left: 20%;
  display: flex;
  align-items: center;
  flex-direction: column;
  transform: translateY(-50%);
  z-index: 2;
}

.main-slide-label {
  background: #fff;
  color: #BDBDBD;
  font-size: 20px;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: 8px;
  margin-bottom: 18px;
  letter-spacing: 1px;
  margin-left: -7px;
}

.main-slide-title {
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.swiper-container .autoplay-progress {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 200px;
  height: 2px;
  background: #fff;
  z-index: 1;
  transform: rotate(-90deg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.swiper-container .autoplay-progress .autoplay-progress-bar {
  width: 0%;
  height: 3px;
  background: var(--point-color);
  transition: width 0s;
}

.swiper-container .autoplay-progress .autoplay-progress-num {
  position: absolute;
  right: -40px;
  top: 0;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}


/* section-01 메인 슬라이더 */
.section-01 {
  max-width: 1920px;
  margin: 135px auto;
  text-align: center;
}

.section-01 .txt {
  font-weight: 900;
  font-size: 32px;
  line-height: 38px;
  word-break: keep-all;
}

.section-01 .txt span {
  color: var(--point-color);
}


/* section-02 운동영상 */
.section-02 .inner {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  padding: 0 40px;
}

.video-thumb {
  position: relative;
  width: 464px;
  height: 100%;
}

.video-thumb img {
  width: 100%;
  max-height: 623px;
  height: 100%;
  object-fit: cover;
}

.video-thumb:hover img {
  filter: brightness(0.7);
}

.video-title {
  position: absolute;
  top: 13%;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
}

.video-title h2 {
  font-weight: 900;
  font-size: 32px;
  line-height: 38px;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.video-title a {
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  text-decoration-line: underline;
  color: #FFFFFD;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 18px;
  width: 950px;
  height: 100%;
}

.video-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* section-03 다이어트 정보 */
.section-03 {
  max-width: 1920px;
  margin: 170px auto;
  background: #FFF4F7;
  padding: 60px 40px;
}

.diet-info-header {
  text-align: center;
  margin-bottom: 50px;
}

.diet-info-header h2 {
  font-size: 32px;
  font-weight: 900;
  color: #222;
  margin-bottom: 10px;
}

.diet-info-header .point {
  color: var(--point-color);
}

.diet-info-header .sub {
  font-size: 15px;
  color: #333;
  letter-spacing: 8px;
}

.diet-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.diet-info-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.diet-info-card:hover {
  transform: translateY(-5px);
}

.diet-info-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
}

.diet-info-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.diet-info-card:hover .diet-info-thumb img {
  transform: scale(1.05);
}

.diet-info-content {
  padding: 20px;
}

.diet-info-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.diet-info-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.diet-info-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--point-color);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.diet-info-more:hover {
  background: #ff6b95;
}

@media (max-width: 1024px) {
  .diet-info-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .diet-info-grid {
    grid-template-columns: 1fr;
  }
  
  .diet-info-header h2 {
    font-size: 28px;
  }
  
  .diet-info-header .sub {
    font-size: 13px;
    letter-spacing: 6px;
  }
}


/* section-04 인스타그램 후기 */
.section-04 {
  margin-top: 135px;
  background: #fff;
}

.section-04 .inner {
  max-width: 1920px;
  padding: 0 95px;
  margin: 0 auto;
  text-align: center;
}

.insta-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.insta-swiper {
  position: relative;
  width: 100%;
  padding: 0 60px;
}

.insta-swiper .swiper-slide {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insta-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-swiper .swiper-button-prev,
.insta-swiper .swiper-button-next {
  background: var(--point-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  top: 50%;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.insta-swiper .swiper-button-prev:after,
.insta-swiper .swiper-button-next:after {
  font-size: 22px;
  font-weight: bold;
}

.insta-swiper .swiper-button-prev {
  left: 0;
}

.insta-swiper .swiper-button-next {
  right: 0;
}

/* section-05 이벤트 */
.section-05 {
  margin: 135px auto;
}

.section-05 .inner {
  max-width: 1920px;
  margin: 0 auto;
  text-align: center;
  height: 520px;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.event-swiper {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding-bottom: 32px;
}

.event-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  transition: transform 0.3s, box-shadow 0.3s;
  transform: scale(0.95) !important;
  box-shadow: none;
  z-index: 1;
}

.event-swiper .swiper-slide:not(.swiper-slide-active) {
  filter: brightness(0.7);
}

.event-swiper .swiper-slide-active {
  transform: scale(1) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  z-index: 2;
}

.event-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.event-pagination {
  bottom: 70px !important;

}

.swiper-pagination-bullet-active {
  background: var(--point-color) !important;
  width: 20px !important;
  border-radius: 10px !important;
  opacity: 1;
  transition: all 0.3s;
}

.point-color {
  color: var(--point-color);
}

@media (max-width: 1024px) {
  .swiper-container .autoplay-progress {
    width: 100px;
  }
}


@media (max-width: 768px) {
  /* 사이드 메뉴 */
  .aside {
    top: auto;
    right: auto;
    bottom: 0;
    transform: none;
    width: 100%;
  }

  .btn-top {
    display: none;
  }

  .side-menu {
    flex-direction: row;
    justify-content: space-between;
    border-radius: 0;
    padding: 10px 20px;
  }

  .side-menu a > span {
    display: none;
  }

  /* 메인 스와이퍼 */
  .swiper-wrapper {
    min-height: 585px;
  }

  .swiper-slide img {
    height: 585px;
    object-fit: cover;
  }

  .main-slide-text {
    left: 5%;
  }

  .main-slide-label {
    font-size: 18px;
    padding: 2px 16px;
    margin-left: -5px;
  }

  .main-slide-title {
    font-size: 32px;
  }

  .swiper-container .autoplay-progress {
    top: 65%;
    left: 5%;
    width: 80px;
    transform: rotate(0deg);
  }

  /* 섹션01 */
  .section-01 {
    padding: 0 16px;
    margin: 70px auto;
  }

  .section-01 .txt {
    font-size: 24px;
  }

  /* 섹션02 운동영상 */
  .section-02 {
    margin-top: 70px;
  }

  .section-02 .inner {
    padding: 0 16px;
  }

  .video-thumb {
    display: none;
  }

  .video-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .video-grid li {
    min-width: 70vw; /* 한 화면에 하나씩 보이도록 */
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .video-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
  }

  /* 섹션03 다이어트 셀피 */
  .section-03 {
    margin-top: 80px;
  }

  .section-03 .inner {
    padding: 64px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    overflow: hidden;
  }
  

  /* 섹션04 인스타그램 후기 */
  .section-04 {
    margin-top: 80px;
  }

  .section-04 .inner {
    padding: 0 16px;
  }
  
  .insta-title {
    font-size: 24px;
    margin-bottom: 18px;
    text-align: center;
  }
  .insta-swiper {
    padding-bottom: 30px;
  }

  .swiper-button-prev.insta-prev,
  .swiper-button-next.insta-next {
    display: none;
  }

  .section-04 .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .section-04 .swiper-slide {
    width: 100% !important;
  }

  /* 섹션05 이벤트 */
  .section-05 {
    margin-top: 80px;
  }
  
}

@media (max-width: 480px) {
  .section-04 .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}