@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url("./font_s_coredream.css");

* {
  font-family: "Pretendard Variable";
}
body {
  background-color: #f2f2f2;
  margin: 0;
  height: 0;
}
.main_new {
  position: relative;
  min-height: 100vh;
  min-width: 280px;
  max-width: 570px;
  margin: 0 auto;
  color: #111;
  background-color: #fff;
}

.main_new .header-wrap {
  position: fixed;
  width: 100%;
  top: 0;
  min-width: 280px;
  max-width: 570px;
  margin: 0 auto;
  z-index: 9999;
  background-color: #fff;
}

.main_new .header-wrap header {
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 48px;
  /* height: 44px; */
}
.main_new .header-wrap header .logo {
  width: 110px;
  height: 24px;  
  /* width: 69px;
  height: 24px; */
}
.main_new .header-wrap header .logo > img {
  width: 100%;
}
.main_new .header-wrap header .btn-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.main_new .header-wrap header .btn-wrap .qr {
  width: 24px;
  height: 24px;
  background: url("/@resource/images/main_new/qr.png") no-repeat 50% 50% / contain;
  font-size: 0;
  border: 0;
  margin-right: 15px;
}
.main_new .header-wrap header .btn-wrap .login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 32px;
  border: 0;
  border-radius: 5px;
  /* background-image:linear-gradient(to right,#a47a1e,#d3a84c,#ffec94,#e6be69,#ffd87c,#b58f3e,#956d13); */
  color: #353839;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.12px;
  font-family: 'GmarketSansBold'; 
}

.main_new .header-wrap nav > ul {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  height: 46px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
  -ms-overflow-style: none;
}
.main_new .header-wrap nav > ul::-webkit-scrollbar {
  display: none;
}
.main_new .header-wrap nav > ul::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #dddddd;
}

.main_new .header-wrap nav > ul > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.16px;
  padding: 0 16px;
  height: 100%;
  font-family: 'GmarketSansMedium';
}
.main_new .header-wrap nav > ul > li.active a {
  position: relative;
  color: #353839;
  font-family:'GmarketSansBold'; 
}
.main_new .header-wrap nav > ul > li.active a::before {
  position: absolute;
  left: 0;
  bottom: 0px;
  display: inline-block;
  content: "";
  width: 100%;
  height: 1px;
  background-image:linear-gradient(to right,#a47a1e,#d3a84c,#ffec94,#e6be69,#ffd87c,#b58f3e,#956d13);
  z-index: 10;
}

/* 비디오 */

.main_new .video {
  position: relative;
  width: 100vw;
  max-width: 570px;
  height: 600px;
  overflow: hidden;
}
.main_new .video .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color:rgba(0, 0, 0, 0);
  /* background-color:rgba(0,0,0,0.2); */
}
.main_new .video .overlay article {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 0 16px 16px;
  box-sizing: border-box;
  z-index: 20;
}
.main_new .video .overlay article .text-wrap .price {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: #f94987;
  line-height: 1.5;
}
.main_new .video .overlay article .text-wrap .price > .discount {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  line-height: 1.5;
  background-color: #f94987;
  padding: 3px 4px;
  border-radius: 4px;
  white-space: nowrap;
  margin-left: 5px;
}
.main_new .video .overlay article .text-wrap .text {
  font-size: 30px;
  font-weight: bold;
  color: #fff;
  line-height: 1.5;
  margin-top: 4px;
}
.main_new .video .overlay article button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border: 0;
  color: #353839;
  background-image:linear-gradient(to right,#a47a1e,#d3a84c,#ffec94,#e6be69,#ffd87c,#b58f3e,#956d13);
  font-family: 'GmarketSansBold'; 
  font-size: 20px;
  cursor: pointer;
  border-radius: 8px;
  margin-top: 40px;
}
.main_new .video > video {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 600px;
}

/* 섹션 타이틀 */
.main_new section .title-wrap {
  padding: 0 16px;
}
.main_new section .title-wrap > p {
  color: #353839;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.1px;
}
.main_new section .title-wrap > h2 {
  color: #353839;
  font-size: 24px;
  line-height: 32px;
  font-family: 'GmarketSansMedium';
  letter-spacing: -0.24px;
  margin-top: 10px;
}

/* 운동 콘텐츠 */
.main_new section.contents {
  margin-top: 30px;
  /* margin-top: 70px; */
}

.main_new section.contents .content-wrap {
  position: relative;
  margin-top: 30px;
  overflow: hidden;
}
.main_new section.contents .content-wrap::before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  content: "";
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
}
.main_new section.contents .content-wrap::after {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  content: "";
  width: 100px;
  height: 100%;
  background: linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
}
.main_new section.contents .content-wrap .img-group {
  height: 122px;
}
.main_new section.contents .content-wrap .img-group + .img-group {
  margin-top: 10px;
}
.main_new section.contents .content-wrap .img-group img {
  width: 455px;
  margin-left: 10px;
}

/* 이달의 인기 프로그램 */
.main_new section.top-program {
  margin-top: 120px;
  overflow: hidden;
}

.main_new section.top-program .content-wrap {
  position: relative;
  margin-top: 20px;
  padding: 0 0 28px;
}
.main_new section.top-program .content-wrap .swiper-container {
  transform: translateX(-3vw);
}

@media (max-width: 390px) {
  .main_new section.top-program .content-wrap .swiper-container {
    transform: translateX(-4vw);
  }
}

.main_new section.top-program .content-wrap article > a {
  display: flex;
  align-items: center;
}
.main_new section.top-program .content-wrap article .thumb {
  width: 72px;
  margin-right: 16px;
}

.main_new section.top-program .content-wrap::before {
  position: absolute;
  display: inline-block;
  top: 122px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: calc(100% - 32px);
  height: 1px;
  border-top: 1px solid #ddd;
}
.main_new section.top-program .content-wrap::after {
  position: absolute;
  display: inline-block;
  top: 258px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: calc(100% - 32px);
  height: 1px;
  border-top: 1px solid #ddd;
}
.main_new section.top-program .content-wrap .slide-wrap article + article {
  margin-top: 28px;
}
.main_new section.top-program .content-wrap .slide-wrap article .thumb > img {
  width: 100%;
  border-radius: 3px;
}

.main_new section.top-program .content-wrap .slide-wrap article .text-wrap .num {
  display: flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #353839;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.12px;
}
.main_new section.top-program .content-wrap .slide-wrap article .text-wrap .title {
  color: #353839;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.14px;
  margin-top: 6px;
  font-family:  'PyeongChangPeace-Bold';
}
.main_new section.top-program .content-wrap .slide-wrap article .text-wrap .desc {
  color: #999;
  font-size: 12px;
  line-height: normal;
  letter-spacing: -0.12px;
  margin-top: 6px;
  font-family: 'GmarketSansLight'; 
}
.main_new section.top-program .content-wrap .slide-wrap article .text-wrap .name {
  color: #999;
  font-size: 12px;
  line-height: normal;
  letter-spacing: -0.12px;
  margin-top: 6px;
  font-family: 'GmarketSansMedium';
}

.main_new section.top-program .swiper-pagination {
  bottom: 0;
}
.main_new section.top-program .swiper-pagination .swiper-pagination-bullet {
  background-color: #ddd;
  opacity: 1;
}
.main_new section.top-program .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #111;
  opacity: 1;
}

/* 다양한 카테고리 */
.main_new section.category {
  margin-top: 120px;
}
.main_new section.category > nav {
  margin-top: 30px;
  padding: 0 16px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  white-space: nowrap;
  height: 38px;
  -ms-overflow-style: none;
}
.main_new section.category > nav::-webkit-scrollbar {
  display: none;
}
.main_new section.category > nav > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  height: 38px;
  color: #888;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.14px;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-family:  'PyeongChangPeace-Bold';
}
.main_new section.category > nav > a + a {
  margin-left: 6px;
}
.main_new section.category > nav > a.active {
  background-image:linear-gradient(to right,#a47a1e,#d3a84c,#ffec94,#e6be69,#ffd87c,#b58f3e,#956d13);
  color: #353839;
}

.main_new section.category .content-wrap {
  position: relative;
  margin-top: 30px;
  padding: 0 16px;
}
.main_new section.category .content-wrap .lottieContainer-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-bottom: 50.873%;
  padding-top: 30px;
  height: 0;
  background-color: #f2f2f2;
  overflow: hidden;
  z-index: 999;
}
.main_new section.category .content-wrap .video-wrap {
  position: relative;
}

.main_new section.category .content-wrap .lottieContainer-wrap #lottieContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.main_new section.category .content-wrap .lottieContainer-wrap #lottieContainer {
  width: 200px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main_new section.category .content-wrap .video-wrap video {
  vertical-align: bottom;
  border-radius: 4px;
  overflow: hidden;
}
.main_new section.category .content-wrap .video-wrap .sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 32px;
  height: 32px;
  background-color: rgba(245, 245, 245, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.main_new section.category .content-wrap .video-wrap .sound > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.main_new section.category .content-wrap .video-wrap .sound .on {
  display: none;
}

/* 코치 소개 */
.main_new section.coach {
  margin-top: 120px;
}
.main_new section.coach .content-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 0 16px;
  margin-top: 30px;
}
.main_new section.coach .content-wrap article {
  position: relative;
  width: calc(50% - 7px);
  margin-top: 15px;
}
.main_new section.coach .content-wrap article:nth-of-type(2n) {
  margin-left: 14px;
}
.main_new section.coach .content-wrap article:nth-of-type(1),
.main_new section.coach .content-wrap article:nth-of-type(2) {
  margin-top: 0;
}
.main_new section.coach .content-wrap article > img {
  width: 100%;
  border-radius: 10px;
}
.main_new section.coach .content-wrap article .text-wrap {
  position: absolute;
  left: 20px;
  bottom: 20px;
}
.main_new section.coach .content-wrap article .text-wrap .title {
  color: #fff;
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.2px;
  font-family:'PyeongChangPeace-Bold';
}
.main_new section.coach .content-wrap article .text-wrap .desc {
  margin-top: 6px;
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.13px;
  font-family: 'GmarketSansMedium';
}

/* 지금 진행중인 이벤트 */
.main_new section.event {
  margin-top: 120px;
}
.main_new section.event .content-wrap {
  margin-top: 30px;
  padding: 0 16px;
}
.main_new section.event .content-wrap .swiper-container {
  position: relative;
  overflow: hidden;
}
.main_new section.event .content-wrap .swiper-container .swiper-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 10px;
  line-height: 1.2;
  color: #111;
  background-color: hsla(0, 0%, 100%, 0.8);
  padding: 3px 10px;
  border-radius: 30px;
  z-index: 10;
}
.main_new section.event .content-wrap .slide-wrap .slide > img {
  width: 100%;
  border-radius: 10px;
}

/* 콰트 멤버십 혜택 */
.main_new section.membership {
  background-color: #f4f5f8;
  margin-top: 80px;
  padding: 80px 0;
}
.main_new section.membership .content-wrap {
  margin-top: 30px;
  padding: 0 16px;
}

.main_new section.membership .content-wrap .price-wrap {
  background-color: #fff;
  border-radius: 10px;
  padding: 26px 18px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
}
.main_new section.membership .content-wrap .price-wrap .label {
  display: flex;
}
.main_new section.membership .content-wrap .price-wrap .label > span {
  display: inline-block;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.12px;
  background-color: #f94987;
  /* background-color: #5276fa; */
  border-radius: 3px;
  padding: 5px 5px;
}
.main_new section.membership .content-wrap .price-wrap .label > span + span {
  margin-left: 6px;
}
.main_new section.membership .content-wrap .price-wrap .price-group {
  margin-top: 10px;
  display: flex;
}
.main_new section.membership .content-wrap .price-wrap .price-group .price {
  color: #111;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.22px;
}
.main_new section.membership .content-wrap .price-wrap .price-group .cost {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.14px;
  margin-left: 6px;
}

.main_new section.membership .content-wrap .banner-wrap {
  margin-top: 16px;
  display: flex;
}

.main_new section.membership .content-wrap .banner-wrap article {
  background-color: #fff;
  border-radius: 10px;
  width: 50%;
  text-align: center;
  padding: 30px 14px 14px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
}
.main_new section.membership .content-wrap .banner-wrap article + article {
  margin-left: 17px;
}
.main_new section.membership .content-wrap .banner-wrap article .thumb {
  display: inline-block;
  width: 100px;
  height: 100px;
}
.main_new section.membership .content-wrap .banner-wrap article .thumb > img {
  width: 100%;
  border-radius: 20px;
}
.main_new section.membership .content-wrap .banner-wrap article .text-wrap {
  margin-top: 28px;
}
.main_new section.membership .content-wrap .banner-wrap article .text-wrap .title {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.14px;
}
.main_new section.membership .content-wrap .banner-wrap article .text-wrap .desc {
  color: #555;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.14px;
  margin-top: 5px;
}
.main_new section.membership .content-wrap .banner-wrap article .button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  border: 1px solid #f94987;
  /* border: 1px solid #5276fa; */
  border-radius: 7px;
  color: #f94987;
  /* color: #5276fa; */
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.14px;
  margin-top: 24px;
}

/* 콰트 성공 후기 */
.main_new section.review {
  margin-top: 80px;
}
.main_new section.review .content-wrap {
  margin-top: 30px;
  padding: 0 16px;
}
.main_new section.review .content-wrap article {
  width: 100%;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  box-sizing: border-box;
}
.main_new section.review .content-wrap article > h3 {
  color: #111;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.2px;
}
.main_new section.review .content-wrap article .thumb {
  margin-top: 20px;
}
.main_new section.review .content-wrap article .thumb img {
  width: 100%;
}
.main_new section.review .content-wrap article .text-wrap {
  margin-top: 20px;
}
.main_new section.review .content-wrap article .text-wrap .name {
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.13px;
}
.main_new section.review .content-wrap article .text-wrap .text {
  color: #555;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.13px;
  margin-top: 8px;
}

/* 자주 묻는 질문 */
.main_new section.qna {
  margin-top: 80px;
  padding: 80px 0;
  background-color: #f4f5f8;
}
.main_new section.qna .content-wrap {
  margin-top: 30px;
  padding: 0 16px;
}
.main_new section.qna .content-wrap article {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  padding: 20px;
}
.main_new section.qna .content-wrap article + article {
  margin-top: 10px;
}
.main_new section.qna .content-wrap article .title {
  display: flex;
  align-items: center;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.15px;
  cursor: pointer;
}
.main_new section.qna .content-wrap article .title > span {
  margin-left: auto;
}

.main_new section.qna .content-wrap article .text {
  display: none;
  color: #6c6c6c;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: -0.15px;
  margin-top: 22px;
}

.main_new section.qna .content-wrap article.active .text {
  display: block;
}

/* 고객센터 */
.main_new section.customer {
  margin-top: 120px;
  padding: 0 16px;
}
.main_new section.customer .title-wrap {
  display: flex;
  align-items: center;
  padding: 0;
}
.main_new section.customer .title-wrap > h2 {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.14px;
  margin: 0;
}
.main_new section.customer .title-wrap > p {
  color: #777;
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.11px;
  margin-left: 10px;
}
.main_new section.customer .button {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 48px;
  background-color: #f1f1f1;
  border-radius: 5px;
}
.main_new section.customer .button > span {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.14px;
}
.main_new section.customer .button::before {
  display: inline-block;
  content: "";
  width: 18px;
  height: 18px;
  background: url("/@resource/images/main_new/ico_customer.png") no-repeat 50% 50% / contain;
  margin-right: 10px;
}

.main_new footer {
  margin-top: 70px;
  padding: 0 16px 85px;  
  /* margin-top: 120px;
  padding: 0 16px 116px; */
}

.main_new footer .logo {
  width: 69px;
}
.main_new footer .logo > img {
  width: 100%;
}
.main_new footer .link {
  margin-top: 15px;
}
.main_new footer .link > ul > li > a {
  color: #111;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -0.12px;
}
.main_new footer .link > ul > li > a + a {
  margin-left: 20px;
}

.main_new footer .info {
  color: #777;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.12px;
  margin-top: 15px;
}
.main_new footer .copyright {
  color: #111;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.11px;
  margin-top: 10px;
  /* margin-top: 15px; */
}

.main_new .bottom-button {
  position: fixed;
  width: 100%;
  bottom: 0;
  height: 86px;
  min-width: 280px;
  max-width: 570px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0px -4px 10px 0px rgba(0, 0, 0, 0.05);
  padding: 15px 16px;
  box-sizing: border-box;
  z-index: 9999;
  display: flex;
}

.main_new .bottom-button button.qna {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  background-color: #fff;
  margin-right: 16px;
}
.main_new .bottom-button button.qna .icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}
.main_new .bottom-button button.qna p {
  margin: 0px;
  line-height: 1.5;
  font-weight: normal;
  font-size: 10px;
  color: rgb(85, 85, 85);
  white-space: nowrap;
  font-family: 'GmarketSansMedium';
}
.main_new .bottom-button button.start {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 4px;
  background-image:linear-gradient(to right,#a47a1e,#d3a84c,#ffec94,#e6be69,#ffd87c,#b58f3e,#956d13);
  color: #353839;
  font-size: 18px;
  /* letter-spacing: -0.16px; */
  font-family: 'GmarketSansBold'; 
}

.switch {
  position: relative; 
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #000;
}

input:focus+.slider {
  box-shadow: 0 0 1px #000;
}

input:checked+.slider:before {
  transform: translateX(26px);
}


/* ON OFF 글자 추가 */

.slider::after {
  content: "OFF";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: calc(100% - 27px);
  transform: translateY(-55%);
  font-size: 10px;
  color: #555;
}

input:checked+.slider::after {
  content: "ON";
  left: 10px;
  color: #fff;
}
