@charset "UTF-8";
/* ----------------------------------
 위드 소개 페이지
-----------------------------------*/
@font-face {
  font-family: "Cafe24Ssurround";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2105_2@1.0/Cafe24Ssurround.woff")
    format("woff");
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.6px;
  text-align: center;
  color: #000;
  word-break: keep-all;
  white-space: normal;
}

a {
  text-decoration: none;
}

p {
  line-height: 1.2;
  text-align: center;
}

img {
  max-width: none;
}

h1 {
  font-size: 3.125rem; /* 50px */
  /* font-weight: 800; */
  line-height: 1.2;
  font-family: "Cafe24Ssurround";
}

h2 {
  font-size: 2.5rem; /* 40px */
  /* font-weight: 700; */
  line-height: 1.3;
}

h3 {
  font-size: 2rem; /* 32px */
  /* font-weight: 700; */
  line-height: 1.5;
}

h4 {
  font-size: 1.5rem; /* 24px */
  font-weight: 400;
}

h5 {
  font-size: 0.875rem; /* 14px */
  line-height: 1.4;
}

.sec-gap {
  padding-block: 80px;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title h1 {
  position: relative;
  padding-block: 30px;
  text-align: center;
  z-index: 1;
}

.underline-rounded {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.start .underline-rounded::after {
  content: "";
  position: absolute;
  bottom: 0.2em;
  left: 0;
  width: 100%;
  height: 0.5em;
  background-color: rgba(51, 210, 255, 0.2);
  border-radius: 0.25em;
  z-index: -1;
}

/* GNB */
.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gnb.show {
  opacity: 1;
  pointer-events: auto;
}

.gnb .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding-inline: 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.gnb .menu {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: white;
  white-space: nowrap;
}

.gnb .menu a {
  color: white;
  text-decoration: none;
}

.gnb .menu .divider {
  color: #ccc;
}

.gnb .menu .home img {
  width: 24px;
  vertical-align: middle;
  margin-left: 12px;
}

.gnb .logo img {
  width: 110px;
  height: auto;
}

/* 메인 비주얼 */
.main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 어두운 딤 효과 */
  z-index: 1;
}

.main-visual_content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  z-index: 2; /* 딤보다 위 */
}

.main-visual_content img {
  height: 107px;
  padding-bottom: 0.625rem;
}

.main-visual_content p {
  font-size: 6rem;
  font-family: "Cafe24Ssurround";
  line-height: 1.2;
}

.main-visual .swiper-slide {
  height: 100vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.main-visual_content {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
}

.main-visual-swiper .swiper-pagination-bullet-active {
  background: #00e2ad;
}

.main-visual-swiper {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.main-visual .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* 딤 색상 */
  z-index: 1;
}

.bg-zoom {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.2);
  transition: transform 2s ease;
  z-index: 0;
}

.swiper-slide-active .bg-zoom {
  transform: scale(1); /* 슬라이드 전환 시 줌 아웃 */
}

.main-visual {
  height: 100vh;
}

.main-visual-swiper {
  height: 100vh;
}

.main-visual .swiper-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* 시작 영역 */
.start {
  background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_start.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.start .btn {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn a {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 22px;
  width: 320px;
  border-radius: 999px;
  color: white;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn a .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 999px;
  transition: filter 0.15s ease;
}

.btn a img,
.btn a h3 {
  position: relative;
  z-index: 1;
}

.btn-download .bg {
  background: linear-gradient(to bottom, #9800ff, #9101f3, #7f00d6);
}

.btn-subscribe .bg {
  background: linear-gradient(to top, #ff37a3, #ff52af, #ff6dbc);
}

.btn-download {
  --shadow: #6900b0;
  --shadow-hover: #4d007d;
}

.btn-subscribe {
  --shadow: #ff078d;
  --shadow-hover: #cc056f;
}

.btn a:hover .bg {
  filter: brightness(0.8);
}

.btn a:hover {
  box-shadow: 0 6px 0 var(--shadow-hover);
}

/* 후기 영역 */
.review {
  background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_review.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.review .title {
  color: #fff;
}

.review-slide {
  text-align: center;
}

.review-thumbs .swiper-wrapper {
  display: flex;
  gap: 15px;
}

.review-slide .review-swiper {
  position: relative;
  width: 100%;
  max-width: 870px;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  padding-inline: 0;
  border: 8px solid #fff;
}

.review-slide .review-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-slide .review-swiper .swiper-slide {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.review-slide .review-thumbs .swiper-wrapper {
  justify-content: center;
}

.review-thumbs .swiper-slide {
  aspect-ratio: 16 / 9;
  flex: 0 0 150px;
  opacity: 0.5;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid #fff;
}

.review-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border: 8px solid #ff49b0;
}

.review-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-outer-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
}

.review-custom-prev,
.review-custom-next {
  width: 80px;
  height: 80px;
  cursor: pointer;
  flex-shrink: 0;
}

.review-custom-prev img,
.review-custom-next img {
  width: 100%;
  height: 100%;
}

/* 미리보기 영역 */
.preview {
  background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_preview.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.preview .swiper-container {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.preview .swiper-slide {
  width: 800px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  transition: opacity 0.3s;
  z-index: 1;
}

.preview .swiper-slide.swiper-slide-active::after {
  opacity: 0;
}

.preview .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  z-index: 1;
}

.preview .preview-blackbox {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: 470px;
  background-color: #000;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.preview .swiper-container .swiper-wrapper {
  position: relative;
  z-index: 1;
}

.preview .btn {
  width: 80px;
  height: 80px;
  position: absolute;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview .btn img {
  width: 100%;
  height: auto;
  display: block;
}

.preview .swiper-button-prev,
.preview .swiper-button-next {
  background: none !important;
  color: transparent;
}

.preview .swiper-button-prev {
  left: calc(50% - 450px);
}

.preview .swiper-button-next {
  right: calc(50% - 475px);
}

.swiperWrap .swiper-container .tab {
  width: 820px;
  height: auto;
  position: absolute;
  top: 70px;
  left: 190px;
  z-index: 2;
}

.swiperWrap .swiper-container .tab img {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.notice {
  padding-block: 20px;
  background-color: #efd4ff;
  border-radius: 10px;
  display: flex;
  justify-content: center;
}

.notice div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice h5 {
	display: flex;
	align-items: center;
	justify-content: center;
}

.notice .chat {
  background-color: #fff600;
  padding: 8px;
  border-radius: 9999px;
  margin-left: 6px;
}

.preview .character {
  position: relative;
}

.preview .character .character1 {
  position: absolute;
  bottom: 120px;
  right: 450px;
}

.preview .character .shadow {
  position: absolute;
  bottom: 110px;
  right: 460px;
}

.preview .character .character2 {
  position: absolute;
  bottom: 620px;
  left: 380px;
  animation: shakeY 3s ease-in-out infinite;
}

.preview-mobile {
  display: none;
}

.preview-mobile .swiper {
  position: relative;
}

/* 프로그램 영역 */
.program {
  background-color: #fafafa;
}

.program ul li {
  padding-block: 40px;
  border-radius: 10px;
  border: 1px solid rgba(239, 239, 239);
  position: relative;
  overflow: hidden;
}

.program ul li img {
  height: 174px;
  width: auto;
  padding-bottom: 4px;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.li-wrap {
  display: grid;
  gap: 30px;
}

.li-wrap.row1 {
  grid-template-columns: repeat(3, 1fr);
}

.li-wrap.row2 {
  grid-template-columns: repeat(2, 1fr);
}

.program ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: #f3fdfb;
  border-top-right-radius: 50% 100%;
  border-top-left-radius: 50% 100%;
}

.program ul li div {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.program ul li h3 {
  font-family: "Cafe24Ssurround";
  color: #00e2ad;
}

.program .character {
  position: relative;
}

.program .character .character3 {
  position: absolute;
  bottom: -30px;
  left: 280px;
}

.program .character .character4 {
  position: absolute;
  bottom: 0px;
  right: 270px;
  animation: shake 4s ease-in-out infinite;
}

.program .character .shadow2 {
  position: absolute;
  bottom: -20px;
  right: 270px;
}

.program-mobile {
  display: none;
}

/* 교구 영역 */
.toy {
  background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_toy.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.toy .underline-rounded::after {
  content: "";
  position: absolute;
  bottom: 0.2em;
  left: 0;
  width: 100%;
  height: 0.5em;
  background-color: rgba(255, 207, 24, 0.5);
  border-radius: 0.25em;
  z-index: -1;
}

.toy ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 0;
  margin: 0;
}

.toy ul li {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
}

.toy ul li .product-name {
  background-color: #ffa51f;
  padding-block: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 10px 10px 0 0;
  position: relative;
}

.toy ul li .product-name .feature {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
}

.toy ul li h2 {
  font-family: "Cafe24Ssurround";
  color: #fff;
}

.toy ul li p {
  padding-top: 30px;
}

.toy ul li .img-pang {
  padding-block: 30px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.toy ul li .video-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 7 / 4.025;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.toy ul li .video-box video,
.toy ul li .video-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 상품구성 영역 */
.include {
  background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_include.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.include .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.include img {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-pc {
  display: block;
}

.img-mobile {
  display: none;
}

/* Q&A 영역 */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background-color: #fbfbfb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0;
  color: #000;
}

.accordion-header .q-mark {
  color: #17deb0;
  font-weight: bold;
  margin-right: 8px;
}

.accordion-header .icon {
  color: #17deb0;
}

.accordion-body {
  display: none;
  padding-block: 30px;
  color: #333;
  border-top: 1px solid #e0e0e0;
  margin-top: 20px;
}

.accordion-body p {
  text-align: start;
  line-height: 1.5;
}

.accordion-body a {
  text-decoration: underline !important;
}

.accordion-item.active .accordion-body {
  display: block;
}

/* 구독 영역 */
.subscribe {
  background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_subscribe.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.subscribe .underline-rounded::after {
  content: "";
  position: absolute;
  bottom: 0.2em;
  left: 0;
  width: 100%;
  height: 0.5em;
  background-color: rgba(255, 82, 175, 0.2);
  border-radius: 0.25em;
  z-index: -1;
}

.subscribe .btn {
  position: relative;
  text-align: center;
}

.subscribe .character {
  position: relative;
  width: 100%;
  height: 0;
}

.subscribe .character5,
.subscribe .character6 {
  position: absolute;
  bottom: -150px;
}

.subscribe .character5 {
  left: calc(50% - 380px);
  animation: tiltLeft 3s ease-in-out infinite;
}

.subscribe .character6 {
  right: calc(50% - 380px);
  animation: tiltRight 3s ease-in-out infinite;
}

/* 푸터 영역 */
.footer {
  background-color: #232323;
  color: #fff;
}

.footer .container {
  text-align: center;
}

.footer .desc {
  padding-block: 30px;
  text-align: center;
}

.footer .btn {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer .btn-desc {
  border: 1px solid rgba(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding-block: 20px;
  transition: all 0.3s ease;
}

.footer .btn-desc:hover {
  background-color: rgba(255, 255, 255, 0);
}

.footer h5 {
  color: #666;
  padding-top: 40px;
}

.copyright {
  background-color: #000;
  color: #fff;
  padding-block: 20px;
  text-align: center;
}

.footer .launcher {
  width: 120px;
  height: auto;
}

/* 날개 고정 버튼 */
.floating-buttons {
  position: fixed;
  right: 0px;
  bottom: -2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}

.btn-scrolltop {
  cursor: pointer;
  display: none;
}

.btn-scrolltop.show {
  display: block; /* 클래스 붙었을 때 보이게 */
}

/* 태블릿 (768px ~ 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem; /* 40px */
  }

  h2 {
    font-size: 2rem; /* 32px */
  }

  h3 {
    font-size: 1.625rem; /* 26px */
  }

  h4 {
    font-size: 1.25rem; /* 20px */
  }

  h5 {
    font-size: 0.813rem; /* 13px */
  }

  body {
    font-size: 1.125rem;
  }

  .sec-gap {
    padding-block: 60px;
  }

  .main-visual_content img {
    height: 80px; /* 로고 크기 */
  }

  .main-visual_content p {
    font-size: 3.25rem; /* 텍스트 크기 조절 */
  }

  .gnb .menu .join {
    display: none;
  }

  .main-visual {
    height: 50vh;
  }

  .main-visual-swiper {
    height: 50vh;
  }

  .main-visual .swiper-slide {
    height: 50vh;
    background-size: cover;
    background-position: center;
  }

  .character1,
  .character2,
  .character3,
  .character4,
  .shadow,
  .shadow2 {
    display: none;
  }

  .preview {
    display: none;
  }
  .preview-mobile {
    display: block;
  }

  .preview-mobile {
    display: block;
    padding: 40px 0;
    background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_preview.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }

  .preview-mobile-swiper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .preview-mobile-swiper .swiper-slide img {
    width: 100%;
    border-radius: 20px;
  }

  .preview-mobile-buttons {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 20;
    padding-block: 30px;
  }

  .preview-mobile-buttons img {
    width: 100%;
    height: auto;
  }

  .preview-mobile .swiper-wrapper-container {
    position: relative;
  }

  .preview-mobile .tab-mobile {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 602px;
    pointer-events: none;
  }

  .preview-mobile .tab-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }

  .notice div {
    flex-direction: column;
    align-items: flex-start;
  }

  .notice {
    padding: 20px;
    margin: auto 20px;
  }

  .program-list,
  .li-wrap,
  .toy ul {
    gap: 15px;
  }

  .title h1 {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .footer .with-desc-btn {
    display: none !important;
  }
}

/* 모바일 (0 ~ 767px) */
@media screen and (max-width: 767px) {
  h1 {
    font-size: 1.725rem;
  }

  h2 {
    font-size: 1.625rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  h4 {
    font-size: 1.125rem;
  }

  h5 {
    font-size: 1rem;
  }

  p {
    font-size: 1.125rem;
  }

  body {
    font-size: 1rem;
  }

  .sec-gap {
    padding-block: 40px;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .character {
    display: none;
  }

  .title h1 {
    padding-block: 10px;
  }

  .floating-buttons {
    display: none;
  }

  .gnb .container {
    height: 60px;
    padding-inline: 16px;
  }

  .gnb .logo img {
    width: 70px;
  }

  .gnb .menu {
    font-size: 0.875rem;
    gap: 8px;
  }

  .gnb .menu .join {
    display: none;
  }

  .title img {
    width: 40px;
    height: auto;
  }

  .main-visual_content img {
    height: 50px;
  }

  .main-visual_content p {
    font-size: 2.125rem;
  }

  .btn a img {
    width: 230x;
    height: 30px;
  }

  .start .btn {
    gap: 10px;
  }

  .btn a {
    gap: 4px;
    padding-block: 12px;
  }

  .review-custom-prev,
  .review-custom-next {
    display: none;
  }

  .mobile-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-left: 16px;
    scrollbar-width: none;
  }

  .mobile-scrollable::-webkit-scrollbar {
    display: none;
  }

  .mobile-scrollable .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
  }

  .swiper.review-thumbs {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 16px;
  }

  .swiper.review-thumbs::-webkit-scrollbar {
    display: none;
  }

  .swiper.review-thumbs .swiper-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
  }

  .swiper.review-thumbs .swiper-slide {
    flex: 0 0 auto;
    width: 120px;
    opacity: 0.7;
    border: 4px solid #fff;
    border-radius: 10px;
    transition: transform 0.3s;
  }

  .swiper.review-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #ff49b0;
  }

  .preview {
    display: none;
  }

  .preview-mobile {
    display: block;
    padding: 40px 0;
    background-image: url("https://download.nurinori.com/nurinori/resource/with/bg_preview.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }

  .preview-mobile-swiper {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .preview-mobile-swiper .swiper-slide img {
    width: 100%;
    border-radius: 20px;
  }

  .preview-mobile-buttons {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 20;
    padding-block: 30px;
  }

  .preview-mobile-buttons button {
    background: none;
    border: none;
    padding: 0;
    width: 40px;
    height: 40px;
  }

  .preview-mobile-buttons img {
    width: 100%;
    height: auto;
  }

  .preview-mobile .swiper-wrapper-container {
    position: relative;
  }

  .preview-mobile .tab-mobile {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 362px;
    pointer-events: none;
  }

  .preview-mobile .tab-mobile img {
    width: 100%;
    height: auto;
    display: block;
  }

  .notice div {
    flex-direction: column;
    align-items: flex-start;
  }

  .notice {
    padding: 20px;
    margin: auto 10px;
  }

  .program {
    display: none;
  }

  .program-mobile {
    display: block;
  }

  .program-mobile .card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(242, 242, 242);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    overflow: hidden;
  }

  .program-mobile .card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: #f3fdfb;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: 0;
  }

  .program-mobile .card > * {
    position: relative;
    z-index: 1;
  }

  .program-mobile .card h3 {
    font-family: "Cafe24Ssurround";
    font-size: 1.725rem;
    color: #00e2ad;
  }

  .program-mobile .card img {
    width: 100%;
    max-width: 240px;
    height: 160px;
    object-fit: contain;
    margin: 20px auto;
    display: block;
  }

  .program-swiper .swiper-pagination {
    margin-top: 20px;
    text-align: center;
  }

  .program-swiper .swiper-pagination-bullet {
    background-color: #00e2ad;
    opacity: 0.3;
  }

  .program-swiper .swiper-pagination-bullet-active {
    opacity: 1;
  }

  .toy ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .toy ul li .img-pang {
    height: 130px;
    padding-block: 20px;
  }

  .toy ul li .video-box {
    max-width: 80%;
  }

  .img-pc {
    display: none !important;
  }

  .img-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .footer .btn {
    flex-direction: column;
    align-items: center;
  }

  .underline-rounded {
    display: none;
  }

  .main-visual {
    height: 55vh;
  }

  .main-visual-swiper {
    height: 55vh;
  }

  .main-visual .swiper-slide {
    height: 55vh;
    background-size: cover;
    background-position: center;
  }

  .footer .with-desc-btn {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  .main-visual_content {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 375px) and (max-height: 740px) {
  .main-visual_content {
    bottom: 20%;
  }
}

/* 모션 */
@keyframes shakeY {
  0%,
  100% {
    transform: translateY(5px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: rotate(-6deg) translateX(3px);
  }
  50% {
    transform: rotate(0deg) translateX(0px);
  }
}

@keyframes tiltLeft {
  0% {
    transform: rotate(0deg) translateX(0);
  }
  25% {
    transform: rotate(5deg) translateX(2px);
  }
  50% {
    transform: rotate(0deg) translateX(0);
  }
  75% {
    transform: rotate(-5deg) translateX(-2px);
  }
  100% {
    transform: rotate(0deg) translateX(0);
  }
}

@keyframes tiltRight {
  0% {
    transform: rotate(0deg) translateX(0);
  }
  25% {
    transform: rotate(-5deg) translateX(-2px);
  }
  50% {
    transform: rotate(0deg) translateX(0);
  }
  75% {
    transform: rotate(5deg) translateX(2px);
  }
  100% {
    transform: rotate(0deg) translateX(0);
  }
}

/* 팝업 */
/* 팝업 기본 구조 */
.popup-wrapper {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}

.popup-wrapper.active {
  pointer-events: auto;
}

.popup-dimmed {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.popup-wrapper.active .popup-dimmed {
  opacity: 1;
}

.popup-panel {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: -600px;
  width: 600px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
  padding-top: 30px;
  box-sizing: border-box;
  overflow: hidden;
  transition: right 0.4s ease;
  z-index: 200;
}

.popup-wrapper.active .popup-panel {
  right: 0;
}

.info-box {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  padding: 0 30px;
}

/* 상세 정보 팝업 */
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.title-box {
  border-bottom: 1px solid rgba(242, 242, 242);
  padding-bottom: 10px;
}

.popup-title {
  font-family: "Cafe24Ssurround";
  font-weight: bold;
  color: #00c4fb;
  text-align: center;
  font-size: 2rem;
}

.info-box {
  padding-block: 30px;
}

.popup-subtitle {
  font-weight: normal;
  text-align: center;
  padding-block: 10px;
}

.popup-section {
  padding-bottom: 15px;
}

.popup-section p,
.popup-section ul {
  font-size: 14px;
  color: #333;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 20px;
}

.product-list li img {
  padding-right: 20px;
  width: 64px;
  height: auto;
}

.pro-name {
  gap: 4px;
  display: flex;
  flex-direction: column;
}

.pro-name span {
  font-size: 16px;
}

.pro-name p {
  font-size: 18px;
}

.desc-list {
  list-style: disc !important;
  padding-left: 1.5em !important;
}

.desc-list li {
  display: list-item !important;
  list-style-type: disc !important;
  margin-left: 20px;
}

.desc-list li.no-bullet {
  list-style-type: none !important;
  margin-left: 0;
}

.product-list li:nth-child(3) {
  position: relative;
}

.product-list li:nth-child(3) .btn-buy {
  margin-left: auto;
}

.tag {
  font-style: normal;
  background: #f03;
  color: white;
  padding: 2px 4px;
  border-radius: 4px;
  margin-left: 4px;
}

.btn-buy {
  background: #000;
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 4px 15px;
  border-radius: 999px;
  cursor: pointer;
}

.price-box {
  background: #effcff;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
}

.price-box .won {
  display: flex;
  align-items: center;
  gap: 2px;
}

.price-box h4 span {
  color: #00b4ff;
  font-weight: 700;
}

.agree-check {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}

.desc-list {
  background-color: #f5f5f5;
  padding: 20px;
  line-height: 1.5;
  margin-top: 15px;
  border-radius: 10px;
}

.btn-subscribe-confirm {
  font-family: "Cafe24Ssurround";
  margin: 0;
  background: #00b4ff;
  color: white;
  font-weight: bold;
  width: 100%;
  padding-block: 25px;
  border: none;
  font-size: 36px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-subscribe-fixed img {
  width: 250px;
  height: auto;
}

/* 정보 확인 모달 */
.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nanum Gothic", sans-serif;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.modal-title {
  font-family: "Cafe24Ssurround";
  font-weight: bold;
  text-align: center;
  padding-bottom: 15px;
  font-size: 2rem;
}

.form-group p {
  text-align: start;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
}

.status {
  font-size: 14px;
  margin-top: 8px;
}

.status.success {
  color: #00e2ad;
}

.status.fail {
  color: #ff0000;
}

.notice a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-self: center;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.btn-cancel {
  flex: 1;
  background: #eaeaea;
  color: #999;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
}

.btn-confirm {
  flex: 2;
  background: #00b4ff;
  color: white;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
}

.btn-confirm-fail {
  flex: 2;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  background: #666;
  color: white;
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.3s;
}
.modal-wrapper.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 580px;
  text-align: center;
  z-index: 300;
}

.mnotice {
  background: #effcff;
  color: #555;
  margin: 24px 0;
  line-height: 1.5;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  align-items: flex-start;
  text-align: left;
}

.mnotice p {
  font-size: 14px;
  width: 100%;
  text-align: left;
  margin: 0;
}

.mobile-br {
  display: none;
}

/* 모바일 (0 ~ 767px) */
@media screen and (max-width: 767px) {
  .title-box {
    padding-block: 10px;
  }

  .product-list li img {
    padding-right: 10px;
  }

  .pro-name p {
    font-size: 14px;
  }

  .btn-buy {
    font-size: 14px;
    padding: 4px 13px;
  }

  .pro-name span {
    font-size: 14px;
  }
  .product-list li {
    padding: 14px;
  }
  .btn-subscribe-confirm {
    font-size: 30px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-content {
    margin: 10px;
    padding: 20px;
  }

  .mobile-br {
    display: inline;
  }
}
