body {
  background: #ffffff;
  transition: background-color 0.6s ease; /* 색 변화를 0.6s 동안 부드럽게 */
}

/* dance-section 이 보일 때 적용할 클래스 */
body.page-dark {
  background: #0a0a0a;
}

/*메인배너*/

#main-carousel {
  padding: 0;
  display: block;
  margin: 0;
  margin-left: auto;
  /* padding-bottom: 100px; */
  position: relative;
  background-color: #fff;
}
#main-carousel .li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end !important;
  max-width: 1600px;
  margin: 0 auto;
}
#main-carousel .li .copy_area_wrap {
  position: absolute;
  left: 0px;
  z-index: 1;
  padding-top: 0;
  padding-left: 50px;
}
#main-carousel .li .img {
  padding-top: 100px;
  padding-right: 50px;
  flex: 0 0 50%;
}
#main-carousel .li .copy_area {
  color: #333;
  padding: 180px 0 100px 0px;
  z-index: 2;
  transition: all 0.3s;
}
#main-carousel .li .copy_area h2 {
  font-size: 78px;
  font-weight: 700;
  text-align: left;
  letter-spacing: -0.04em;
  color: #000;
  line-height: 1;
}
#main-carousel .li .copy_area h3 {
  font-size: 46px;
  font-weight: 600;
  text-align: left;
  max-width: 650px;
  word-break: keep-all;
  margin: 50px 0 15px;
  color: #000;
}

#main-carousel .li .copy_area .li_tit {
  font-size: 32px;
  color: #f18b40;
  margin-top: 20px;
  font-weight: 600;
}
#main-carousel .li .copy_area p {
  font-size: 21px;
  font-weight: 400;
  text-align: left;
  max-width: 510px;
  word-break: keep-all;
  margin: 30px 0 0 0px;
  line-height: 1.5;
  color: #333333;
}

#main-carousel .li .view_more {
  display: flex;
  align-items: center;
  margin: 80px 0 0 10px;
}
#main-carousel .li .ticket_more {
  margin-top: 0px !important;
}

#main-carousel .li .ticket_box {
  background-color: #ffecd9;
  display: inline-block;
  margin: 20px 0 0 10px;
  padding: 5px 10px;
  color: #ff9f3f;
  border-radius: 10px;
  padding: 6px 6px;
  border-radius: 5px;
  font-size: 15px;
}

#main-carousel .li .view_more .more_box:first-child {
  margin-right: 50px;
}

#main-carousel .li .view_more .more_box a {
  position: relative;
  font-size: 19px;
  color: #ff9f3f;
  display: block;
  line-height: 45px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

#main-carousel .li .view_more .more_box:hover > a::before {
  width: 55px;
  height: 55px;
  top: -5px;
  right: -20px;
}

#main-carousel .li .view_more .more_box a::before {
  content: "";
  position: absolute;
  right: -15px;
  top: 0px;
  display: block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #e7994c;
  opacity: 0.2;
  transition: all 0.3s;
}

#main-carousel .li .view_more svg {
  margin-left: 5px;
}
@media screen and (max-width: 1400px) {
  #main-carousel .li .copy_area h2 {
    font-size: 6vw;
  }
  #main-carousel .li .copy_area h3 {
    font-size: 3vw;
  }
  #main-carousel .li .copy_area .li_tit {
    font-size: 2.5vw;
  }
  #main-carousel .li .copy_area_wrap {
    padding-left: 20px;
  }
  #main-carousel .li .img {
    padding-right: 20px;
  }
}

@media screen and (max-width: 1200px) {
  #main-carousel .li .copy_area {
    padding: 100px 0 100px 0;
  }
}

@media screen and (max-width: 965px) {
  #main-carousel .li .copy_area_wrap {
    padding-left: 0;
  }

  #main-carousel .li .copy_area {
    padding: 50px 20px 100px 20px;
  }

  #main-carousel .li .copy_area .li_tit {
    font-size: 26px;
  }
  #main-carousel .li .view_more .more_box a {
    font-size: 17px;
  }
  #main-carousel .li .view_more .more_box a::before {
    right: -10px;
    top: 5px;
    width: 35px;
    height: 35px;
  }
}

#main-carousel .owl-carousel .item {
  height: 10rem;
  background: #4dc7a0;
  padding: 1rem;
}

#main-carousel .ctl {
  position: absolute;
  left: 38%;
  top: 68%;
  z-index: 9;
  color: #000;
}

#main-carousel .ctl i {
  color: #000;
}

#main-carousel .btn-toggle,
#main-carousel .btn-prev,
#main-carousel .btn-next {
  border: 0;
  font-size: 18px;
  width: 30px;
  height: 30px;
  background-color: transparent;
}

#main-carousel .idx-box {
  display: inline-block;
  vertical-align: bottom;
  height: 30px;
  line-height: 30px;
  margin-left: 20px;
  margin-right: 20px;
  font-size: 16px;
  color: #000;
}
@media screen and (max-width: 1200px) {
  #main-carousel .ctl {
    display: none;
  }
  #main-carousel .li .view_more {
    margin: 50px 0 0 10px;
  }
  #main-carousel .li .ticket_box {
    margin-top: 10px;
  }
}
@media screen and (max-width: 780px) {
  #main-carousel .li .copy_area_wrap {
    position: relative;
    width: 100%;
  }
  #main-carousel .li .img {
    flex: 0 0 100%;
    padding: 0;
  }

  #main-carousel .li .copy_area p {
    margin: 25px 0 0;
  }
  #main-carousel .li .view_more {
    margin: 20px 0 0;
  }

  #main-carousel .li .ticket_box {
    margin-left: 0;
    margin-top: 10px;
  }

  /* #main-carousel .ctl {
    left: 65%;
    top: 33%;
  } */
}

@media screen and (max-width: 640px) {
  #main-carousel {
    padding-bottom: 0;
  }
  #main-carousel .li .copy_area_wrap {
    position: relative;
  }
  #main-carousel .li .copy_area {
    padding: 45px 20px;
  }
  #main-carousel .li .copy_area h3 {
    font-size: 24px;
  }
  #main-carousel .li .copy_area h2 {
    font-size: 42px;
  }
  #main-carousel .li .copy_area h4 {
    font-size: 21px;
  }

  #main-carousel .li .copy_area p {
    font-size: 17px;
  }
  #main-carousel .li .view_more .more_box a {
    font-size: 15px;
  }
  #main-carousel .li .view_more .more_box:first-child {
    margin-right: 30px;
  }
  #main-carousel .li .img {
    flex: 0 0 100%;
    padding-top: 0;
  }
  #main-carousel .ctl {
    display: none;
  }
}

/*메인배너*/

/* 공통 텍스트 css 시작 */
.main_section h2 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #000;
  transition: all 0.3s;
}
.main_section h2.white {
  color: #fff;
}
.main_section h3 {
  font-size: 28px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s;
}
.main_section h3.white {
  color: #fff;
}
.main_section p {
  font-size: 17px;
  margin: 30px 0 80px;
  font-weight: 400;
  color: #555;
  line-height: 1.4;
}
.main_section p.white {
  color: #dfdfdf;
}

.main_section .btn_wrap {
  font-size: 15px;
  font-weight: 400;
  color: #555;
}
.main_section .btn_wrap a {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #555;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 25px;
  height: 45px;
  line-height: 45px;
  box-sizing: border-box;
  padding: 0px 15px;
  transition: all 0.3s;
}
.main_section .btn_wrap a:hover {
  color: #fff;
  border: 1px solid #107af2;
  background: #107af2;
}

@media screen and (max-width: 640px) {
  .main_section h2 {
    font-size: 36px;
  }
  .main_section h2 > br {
    display: none;
  }
  .main_section h3 {
    font-size: 22px;
  }
  .main_section p > br {
    display: none;
  }

  .main_section .btn_wrap {
    font-size: 12px;
    margin: 0;
  }
  .main_section .btn_wrap a {
    width: 120px;
    height: 40px;
    line-height: 40px;
  }
}
/* 공통 텍스트 css 끝 */

.main_video {
  text-align: center;
}

.main-schedule-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}

[role="button"] {
  cursor: pointer;
}

.main_scroll_top {
  padding: 150px 0 120px 0;
  background-color: #fff;
  position: relative;
  z-index: 15;
  overflow-x: hidden;
}

@media (max-width: 1240.98px) {
  .main-schedule-cont {
    margin-top: 1em;
    margin-bottom: 16px;
  }
}

.main-schedule .month {
  display: flex;
  padding: 0.5em;
  gap: 0.5em;
  border-radius: 1em;
  background: #000067;
}

.main-schedule .month > div {
  flex: 1;
  font-weight: 700;
  font-size: 1.5em;
  text-align: center;
  padding: 8px 0;
  color: #fff;
  border-radius: 50px;
}

.main-schedule .month > div.on {
  background: #107af2;
  color: #fff;
}

@media (max-width: 1240.98px) {
  .main-schedule .month {
    margin-left: calc(var(--container-padding) * -1);
    margin-right: calc(var(--container-padding) * -1);
    border-radius: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .main-schedule .month > div {
    min-width: 64px;
  }
}

.main-schedule .day {
  display: flex;
  padding: 8px 8px 16px;
  border-radius: 16px;
  background: #f4f4f4;
  margin-top: 6px;
}

.main-schedule .day > div {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #111;
}

.main-schedule .day > div.blue {
  color: #0095ff;
}

.main-schedule .day > div.red {
  color: #f34e4e;
}

.main-schedule .day > div > span {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 40px;
  margin: 0 auto;
}

.main-schedule .day > div > span::before {
  content: "";
  padding-bottom: 100%;
}

.main-schedule .day > div.today > span {
  background: var(--basic-ylw);
  color: #111;
  border-radius: 100%;
}

.main-schedule .day .on .ic-set::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 4px solid #ffbdb5;
  border-radius: 4px;
}

.main-schedule .schedule_dot {
  display: flex;
  margin-top: 2px;
  justify-content: center;
}

@media (max-width: 1240.98px) {
  .main-schedule .bt {
    min-width: 10em;
  }
}

.schedule-swiper {
  margin-top: 1em;
  display: flex;
  gap: 12px;
}

@media (max-width: 767.98px) {
  .schedule-swiper {
    gap: 8px;
  }
}

.schedule-swiper [class*="swiper-button"] {
  flex-basis: 64px;
  max-width: 64px;
  flex-shrink: 0;
  position: static;
  border-radius: 24px;
  height: auto;
  margin: 0 !important;
  background-color: #fff;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 24px;
}

.schedule-swiper [class*="swiper-button"]:hover {
  background-color: #107af2;
  color: #fff;
  border: 1px solid #107af2;
}

.schedule-swiper [class*="swiper-button"]::after {
  display: none; /* 기본 swiper 화살표 숨기기 */
}

@media (max-width: 767.98px) {
  .schedule-swiper [class*="swiper-button"] {
    flex-basis: 40px;
    max-width: 40px;
  }
}

.schedule-swiper .swiper {
  width: calc(100% - 152px);
}

@media (max-width: 767.98px) {
  .schedule-swiper .swiper {
    width: calc(100% - 88px);
  }
}

.schedule-swiper .swiper-slide {
  max-width: 280px;
  border-radius: 24px;
  width: 100%;
}

@media (max-width: 767.98px) {
  .schedule-swiper .swiper-slide {
    border-radius: 16px;
  }
}

.schedule-swiper .swiper-slide > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  padding: 24px;
  border-radius: inherit;
  background: #f8fbff;
  gap: 7px;
  font-size: 17px;
}

.schedule-swiper .swiper-slide > div .sch-bold {
  font-weight: 800;
}

.schedule-swiper .swiper-slide > div .sch-tit {
  margin: 0;
}

@media (max-width: 767.98px) {
  .schedule-swiper .swiper-slide > div {
    padding: 16px;
  }
}

.schedule-swiper .swiper-slide .date {
  margin-top: auto;
  color: #999;
  padding-top: 16px;
  margin: 0;
}

.schedule-swiper .swiper-slide.on .sch-bold {
  color: #0067db;
}

.schedule-swiper .swiper-slide.on::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  border: 3px solid #b9daff;
  pointer-events: none;
}

.schedule-swiper .swiper-slide.on::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #ec1c1f;
  border-radius: 4px;
  border: 4px solid #ffbdb5;
  top: 1.2em;
  right: 1.2em;
}

/* @media (max-width: 1240.98px) {
  .schedule-swiper .swiper-slide.on::before {
    display: none;
  }
} */

.dance-section {
  height: 300vh;
  margin-top: -100vh;
  /* padding:60px 0; */
  /* overflow: hidden; */
}

.dance-sticky {
  position: sticky;
  top: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .main_scroll_top {
    padding: 0 0 100px 0;
  }
  .dance-section {
    height: auto;
    margin-top: 0;
  }
  .dance-sticky {
    position: static;
    height: auto;
  }
}

.dance_team .container {
  width: 100%;
  /* min-height: 100vh;
  padding: 2rem; */
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  overflow: visible; /* 오버플로우 허용 */
}

/* 상단 '참가팀' 버튼 */
.dance_team .back-button {
  background-color: #107af2;
  color: #ffffff;
  border-radius: 30px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 5rem;
  position: absolute;
  top: 3rem;
  left: 2rem;
  z-index: 10;
  padding: 0px 15px;
  transition: all 0.3s;
  width: 140px;
  height: 45px;
  line-height: 45px;
  font-size: 18px;
  text-align: center;
}

/* 타임라인 영역 */
.dance_team .team_nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: absolute;
  right: 2rem;
  top: 3rem;
  z-index: 10;
  overflow-x: scroll;
  white-space: nowrap;
  padding-bottom: 1rem;
  cursor: grab;
  padding: 10px 0 1rem 0;
}

.dance_team .team_nav::-webkit-scrollbar {
  display: none;
}

.dance_team .team_nav_item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.dance_team .team_nav_item:hover {
  transform: translateY(-3px);
}

.dance_team .team_nav_dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
}
/* 
.dance_team .team_nav_item .team_nav_dot.active + .team_nav_name,
.dance_team .team_nav_item:has(.team_nav_dot.active) .team_nav_name {
  display: block;
} */

.dance_team .team_nav_dot.active {
  background-color: #107af2;
  width: 14px;
  height: 14px;
  background: none;
  border: 2px solid #107af2;
}

.dance_team .team_nav_name {
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
  display: none;
}

.dance_team .team_nav_dot.active .team_nav_name {
  display: block;
}

/* Swiper 영역 */
.dance_team .team_swiper {
  width: 100%;
  height: 100vh;
  margin-top: 100px;
  overflow: visible; /* 오버플로우 허용 */
}

.dance_team .swiper-wrapper,
.dance_team .swiper-slide {
  /* Swiper 기본 구조를 위해 필요 */
  overflow: visible;
}

/* 각 슬라이드 내부 레이아웃 */
.dance_team .content-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 100%;
  padding: 0;
  margin: 0;
  width: 100%;
  transition: opacity 0.3s ease;
}

.dance_team .left-content {
  width: 35%;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.dance_team .team_title {
  font-size: 6rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: -30%;
  left: 0;
  width: 100%;
  letter-spacing: -5px;
  pointer-events: none;
}

.dance_team .right-content {
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 4;
  height: 100%;
}

.dance_team .swiper-slide {
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding: 0 30px; /* 좌우 패딩 추가 */
}

/* 활성화되지 않은 슬라이드에 더 많은 간격과 투명도 적용 */
.dance_team .swiper-slide-prev,
.dance_team .swiper-slide-next {
  opacity: 0.2; /* 더 투명하게 설정 */
  transform: scale(0.85); /* 크기도 약간 축소 */
}

/* 활성 슬라이드 강조 */
.dance_team .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 5; /* 앞으로 가져오기 */
}

.dance_team .team_title2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
  color: #fff;
  z-index: 5;
}

.dance_team .description {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 17px;
  padding-right: 20px;
  margin: 0;
  margin-bottom: 3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 표시할 줄 수 조절 */
  -webkit-box-orient: vertical;
}

.dance_team .btn_wrap a {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
}

/* 자동차 이미지 및 상세 */
.dance_team .team_img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin-bottom: 2rem;
  transition: transform 0.5s ease;
}

.dance_team .team_detail {
  text-align: left;
  position: absolute;
  right: 0;
  top: 30%;
  z-index: 6;
  padding: 2rem 0;
  border-radius: 10px;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.dance_team .team_name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 115px;
  display: flex;
  align-items: center;
  color: #fff !important;
}

.dance_team .team_name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 1px;
  background-color: white;
}

.dance_team .team_name2 {
  color: rgba(255, 255, 255, 0.7) !important;
  padding-left: 115px;
  margin: 0;
}

/* Swiper 애니메이션 효과 (옵션) */
.dance_team .swiper-slide-active .team_img {
  transform: translateX(0);
  opacity: 1;
}

.dance_team .swiper-slide-active .team_detail {
  transform: translateX(0);
  opacity: 1;
}

.dance_team .swiper-slide-prev .team_img,
.dance_team .swiper-slide-next .team_img {
  transform: translateX(50px);
  opacity: 0.5;
}

.dance_team .swiper-slide-prev .team_detail,
.dance_team .swiper-slide-next .team_detail {
  transform: translateX(50px);
  opacity: 0;
}

/* 반응형 */
@media (max-width: 1200px) {
  .dance_team .team_title {
    font-size: 5rem;
  }
}

@media (max-width: 768px) {
  .dance_team .container {
    padding: 1rem;
    position: relative;
    min-height: auto;
  }

  .dance_team .back-button {
    position: relative;
    top: 0;
    left: 15px;
    margin-bottom: 1rem;
    width: 120px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }

  .dance_team .team_nav {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    justify-content: center;
    margin: 2rem 0;
    gap: 1rem;
    display: none;
  }

  .dance_team .content-section {
    flex-direction: column;
  }

  .dance_team .left-content {
    width: 100%;
    padding: 0;
    margin-bottom: 2rem;
  }

  .dance_team .right-content {
    width: 100%;
    margin-top: 0;
    align-items: center;
  }

  .dance_team .team_swiper {
    margin-top: 50px;
    height: auto;
  }

  .dance_team .team_title {
    font-size: 3rem;
    top: -30px;
    letter-spacing: -2px;
  }

  .dance_team .team_title2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .dance_team .team_title2 > br {
    display: none;
  }

  .dance_team .description {
    margin-bottom: 2rem;
    font-size: 1rem;
    padding-right: 0;
  }

  .dance_team .team_detail {
    top: auto;
    bottom: 2rem;
  }

  .dance_team .team_name {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .dance_team .swiper-slide {
    padding: 0 20px;
  }
}

/* 텍스트 표시 개선을 위한 추가 CSS */
/* 슬라이드 콘텐츠 초기 상태 설정 */
.dance_team .left-content > * {
  transition: transform 0.5s ease, opacity 0.5s ease;
  will-change: transform, opacity; /* 애니메이션 성능 개선 */
}

/* 슬라이드가 아직 활성화되지 않은 경우의 기본 상태 */
.dance_team .swiper-slide:not(.swiper-slide-active) .left-content > * {
  transform: translateX(-50px);
  opacity: 0;
}

/* 활성 슬라이드 콘텐츠는 항상 보이도록 */
.dance_team .swiper-slide-active .left-content > * {
  transform: translateX(0);
  opacity: 1;
}

/* 슬라이드 전환 중에도 텍스트가 보이도록 보장 */
.dance_team .swiper-slide-active .team_title2,
.dance_team .swiper-slide-active .description,
.dance_team .swiper-slide-active .link-button {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* 슬라이드 전환 속도에 맞춘 애니메이션 타이밍 */
.dance_team .swiper-slide .team_title2 {
  transition-delay: 0.1s;
}
.dance_team .swiper-slide .description {
  transition-delay: 0.2s;
}
.dance_team .swiper-slide .link-button {
  transition-delay: 0.3s;
}

/* 마우스 드래그 중에도 활성 슬라이드 콘텐츠 유지 */
.dance_team .swiper-container-free-mode .swiper-slide-active .left-content > * {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* 기본 마우스 커서 숨기기 */
.dance_team * {
  cursor: none;
}

/* 버튼에서만 포인터 커서 유지 */
.dance_team .btn_wrap a {
  cursor: pointer !important;
}

/* 댄스팀 섹션을 위한 커스텀 마우스 포인터 */
.bidf-mouse-pointer {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bidf-mouse-pointer .pointer-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  background-color: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  box-sizing: border-box;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bidf-mouse-pointer .pointer-circle img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 85%;
  max-width: 100%;
  max-height: 100%;
  animation: spin-dance 10s infinite linear;
}

.bidf-mouse-pointer .pointer-txt {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  border-radius: 100%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 20px;
}

.bidf-mouse-pointer.active {
  opacity: 1;
}

.bidf-mouse-pointer.active .pointer-circle {
  transform: translate(-50%, -50%) scale(1);
}

.bidf-mouse-pointer.active .pointer-txt {
  transform: translate(-50%, -50%) scale(1);
}

.bidf-mouse-pointer.hover .pointer-circle {
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.bidf-mouse-pointer.click .pointer-circle {
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.2s ease;
}

@keyframes spin-dance {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .dance_team * {
    cursor: grab;
  }
  .bidf-mouse-pointer {
    display: none;
  }
}

.program_wrap {
  margin-top: 200px;
}
.program_wrap .program_flex {
  display: flex;
  position: relative;
  align-items: flex-start;
  flex-wrap: wrap;
}

.program_wrap .program_tit {
  width: 40%;
  margin: 0;
  position: sticky;
  padding: 30px 50px 60px 20px;
  top: 80px;
}

body.page-dark .program_wrap .program_tit h3 {
  color: #ecececa8;
}
body.page-dark .program_wrap .program_tit h2 {
  color: #fff;
}

.program_wrap .program_tit h3 {
  margin-bottom: 10px;
  line-height: 1.6;
  font-weight: 500;
  color: #00000080;
}

.program_wrap .program_tit h2 {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.3;
}

.program_wrap .program_img_wrap {
  width: 60%;
}

.program_wrap .program_img_wrap img {
  width: 100%;
}

.main-business-right {
  width: calc(100% - 52rem);
}
.main_program_list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.main_program_content {
  margin: 0 2rem;
  width: calc(50% - 4rem);
  position: relative;
}
.main_program_content:nth-child(2) {
  margin-top: 15rem;
}
.main_program_content:nth-child(3) {
  margin-top: -10rem;
}
.main_program_content:nth-child(4) {
  margin-top: 5rem;
}
.main_program_content a {
  position: relative;
  display: block;
  width: 100%;
}
.main_program_bg {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 160.86%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.3);
}
.main_program_bg_img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.main_program_bg span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition: all 0.4s ease-in-out;
}
.main_program_bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  opacity: 0.6;
}
.main_program_txt {
  position: absolute;
  top: 11.87%;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}
.main_program_txt p {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: #fff;
  margin: 0;
}
.main_program_txt h5 {
  margin-top: 1rem;
  font-size: 36px;
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.main_program_bg_img {
  clip: rect(0, 46rem, 0, 0);
  transition: clip 1s 0.6s, box-shadow 1s 0.6s;
}
.main_program_content.animated .main_program_bg_img {
  clip: rect(0, 46rem, 74rem, 0);
  box-shadow: 0.3rem 0.3rem 6rem 0rem rgba(0, 0, 0, 0.3);
}

.main_program_content a:hover .main_program_bg span {
  transform: scale(1.1) rotate(0.02deg);
}

@media (max-width: 1200px) {
  .main_program_content {
    margin: 0 15px;
    width: calc(50% - 30px);
  }
  .program_wrap .program_tit h2 > br,
  .program_wrap .program_tit h3 > br {
    display: none;
  }
}

@media (max-width: 768px) {
  .program_wrap .program_tit,
  .program_wrap .program_img_wrap {
    width: 100%;
  }

  .program_wrap .program_tit {
    position: relative;
    top: 0;
    padding: 20px;
  }

  /* 수정된 부분 시작 */
  .main_program_list {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    gap: 20px; /* 이미지 사이 간격을 20px로 설정 */
    padding: 0; /* 좌우 패딩 제거 */
  }

  .main_program_content {
    margin: 0; /* 기존 마진 제거 */
    width: calc(
      50% - 10px
    ); /* 두 아이템 사이 20px 간격을 위해 각각 10px씩 줄임 */
  }

  .program_wrap .program_tit h2 {
    font-size: 48px;
  }

}

@media (max-width: 640px) {
  .program_wrap {
    margin-top: 100px;
  }
  .program_wrap .program_tit {
    padding: 0 0 30px;
  }
  .main_program_bg {
    padding-top: 70%;
  }
  .main_program_content:nth-child(2),
  .main_program_content:nth-child(3),
  .main_program_content:nth-child(4) {
    margin-top: 0; /* 기존 세로 마진 제거 */
  }
  .main_program_content {
    width: 100%;
    margin-bottom: 20px;
  }
  .main_program_txt p {
    font-size: 17px;
  }
  .program_wrap .program_tit h2 {
    font-size: 34px;
  }
  .main_program_txt h5 {
    font-size: 26px;
  }
}

/* 후원 로고 시작 */
.sponser_wrap {
  padding: 200px 0;
}

.sponser h2 {
  font-size: 26px;
  font-weight: 400;
  color: #333;
  margin: 30px 0;
  border-bottom: 1px solid #e4e2e2;
  padding: 10px;
}

.sponser_tit {
  font-weight: 600;
  font-size: 21px;
  color: #555;
  white-space: nowrap;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.sponser .sponser_list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5vw 1vw;
  align-items: flex-end;
  margin-bottom: 20px;
}

.sponser .sponser_list li {
  display: block;
  width: 10%;
  transition: all 0.3s;
}

.sponser .sponser_list li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 1200ms cubic-bezier(0.23, 1, 0.32, 1);
}

@media screen and (max-width: 1280px) {
  .sponser .sponser_list li {
    width: 12.666vw;
  }
}

@media screen and (max-width: 980px) {
  .sponser .sponser_list li {
    width: 17.666vw;
  }
}

@media screen and (max-width: 640px) {
  .sponser_wrap {
    padding: 100px 0;
  }
  .sponser_tit {
    font-size: 17px;
  }

  .sponser .sponser_list {
    gap: 3.333vw 3.333vw;
  }

  .sponser .sponser_list li {
    width: 21%;
  }
}
/* 후원 로고 끝 */
/*푸터*/
#footer {
  width: 100%;
  border-top: 1px solid #e4e2e2;
  height: auto;
  clear: both;
}
#footer .inner {
  padding: 0 20px;
}
.footer_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}
#footer .footer_sns > ul {
  display: flex;
}

#footer .footer_sns > ul > li > a {
  font-size: 14px;
  display: flex;
  border-radius: 50%;
  color: #fff;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
}

#footer .footer_sns > ul > li.insta a {
  background: linear-gradient(240deg, #d502c0, #fe016c, #fe6713);
}

#footer .footer_sns > ul > li.youtube a {
  background: red;
}

#footer .footer_sns > ul > li:nth-child(2) {
  margin: 0 10px;
}
.footer_wrap > ul {
  display: flex;
}
.footer_wrap > ul li + li ::before {
  content: "";
  width: 1px;
  height: 14px;
  background-color: #ddd;
  display: inline-block;
  margin: 0 12px;
}
.footer_wrap > ul li a {
  font-size: 17px;
  color: #333;
}
/* 
#footer .footer_sns > ul > li > a:hover,
.footer_wrap > ul li a :hover {
  color: #000;
} */

.footer_txt {
  margin: 30px 0px;
  font-size: 17px;
  color: #555;
  line-height: 1.6;
}
.footer_txt > ul li span + span::before {
  content: "";
  width: 1px;
  height: 14px;
  background-color: #ddd;
  display: inline-block;
  margin: 0 12px;
}

.footerText {
  position: relative;
  float: left;
  margin: 30px 30px 30px 40px;
  padding: 0 10px;
}
.footerText h2 {
  margin: 0 0 30px 0;
  font-size: 18px;
  text-align: left;
  color: #000;
  letter-spacing: -1px;
}
.footerText li a {
  font-size: 15px;
  font-weight: 400;
  color: #444;
  line-height: 1.8;
}
.footerText li a i {
  font-size: 15px;
}
.footerMall {
  position: relative;
  float: right;
  margin: 20px 70px 30px 30px;
  width: auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.09;
  text-align: left;
  color: #000;
}
.footerCopyright {
  position: relative;
  float: left;
  width: 100%;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  color: #555;
}

.footerCopyright p {
  font-size: 15px;
  margin: 0px 0 80px;
  font-weight: 400;
  color: #555;
  line-height: 1.4;
}

@media screen and (max-width: 1028px) {
  #footer .left {
    width: 100%;
  }
  #footer .right {
    width: 100%;
  }
  .footerMall {
    float: left;
  }
  .footerText {
    margin: 30px 30px 30px 20px;
  }
}

@media screen and (max-width: 768px) {
  .footerLogo {
    margin: 50px 50px 30px 20px;
  }
  #footer .tel {
    margin-left: 0;
  }
  .footer_wrap > ul {
    margin-bottom: 10px;
  }
  .footer_txt {
    margin: 30px 0;
  }
  .footerCopyright p {
    padding-left: 0;
  }
}

@media screen and (max-width: 640px) {
  .footer_wrap > ul li + li ::before {
    margin: 0 5px;
  }
  .footer_txt > ul li span + span::before {
    margin: 0 5px;
  }
}
/*푸터*/

.tl_pop_con {
  background: #fff;
}
.tl_pop_con h2.f_pop_tit {
  width: 100%;
  height: 80px;
  line-height: 80px;
  background: #076aa3;
  font-size: 20px;
  color: #fff;
}
.tl_pop_con h2.f_pop_tit img {
  display: inline-block;
  margin-left: 50px;
  margin-right: 5px;
  margin-top: -10px;
  width: 120px;
}
.tl_pop_con h2.f_pop_tit span {
  display: inline-block;
  padding-left: 50px;
}
.f_pop_wrap {
  line-height: 23px;
  text-align: justify;
  word-break: break-all;
  font-size: 15px;
  overflow-y: auto;
}
.f_pop_wrap strong {
  color: #00a19a;
  font-weight: normal;
}
.f_pop_wrap p {
  color: #333;
  padding: 40px 50px;
  line-height: 1.6;
}
.mfp-close:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: url("../img/w_btn_close.png") no-repeat center center;
  -webkit-transition: -webkit-transform 300ms;
  transition: -webkit-transform 300ms;
  transition: transform 300ms;
  transition: transform 300ms, -webkit-transform 300ms;
  border-radius: 50%;
}
.mfp-close {
  width: 40px;
  height: 40px;
  text-indent: -999px;
  opacity: 1;
  overflow: hidden;
  background-color: transparent;
  border: 0;
}
button.mfp-close:hover:after {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}
