/* online2.css */
:root {
  --content-width: 900px;
  --point-blue: #0b63f6;
  --deep-blue: #003ea8;
  --navy: #081a3d;
  --bg: #eef6ff;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 18px 40px rgba(8, 37, 89, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
}

#contentsWrap {
  display: none;
}

.event-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 18px 0 0;
}

.event-inner {
  width: min(100%, var(--content-width));
  margin: 0 auto;
  padding: 0;
}

.event-block {
  position: relative;
  overflow: hidden;

  background: #fff;
}


.event-block:first-child {
  margin-top: 0;
}

.event-img {
  display: block;
  width: 100%;
  height: auto;
}

.anchor-target {
  position: relative;
  top: -20px;
}

/* 공통 페이드 */
.fade-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.3s ease, transform 1.3s ease;
  will-change: opacity, transform;
}

.fade-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}


.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
/* 03 차별점 */
.difference-section {
  background: transparent;
  box-shadow: none;
}

.difference-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.difference-base-img {
  display: block;
  width: 100%;
  height: auto;
}

.difference-fade {
  position: absolute;
  height: auto;
  z-index: 2;
}

.diff-1 {
  right: 0;
  top: 0;
  width: 42%;
  transition-delay: 0s;
}

.diff-2 {
  left: 0;
  top: 132px;
  width: 42%;
  transition-delay: 0.15s;
}

.diff-3 {
  right: 0;
  top: 525px;
  width: 55%;
  transition-delay: 0.3s;
}

@media (max-width: 768px) {
  .diff-1 {
    right: 0;
    top: 0;
    width: 48%;
  }

  .diff-2 {
    left: 0;
    top: 14.5%;
    width: 48%;
  }

  .diff-3 {
    right: 0;
    top: 57.5%;
    width: 55%;
  }
}


/* 04 프로세스 섹션 */
.process-section {
  background: transparent;
  box-shadow: none;
}

.process-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.process-bg-img {
  display: block;
  width: 100%;
  height: auto;
}

.process-fade-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: auto;
}

/*  04 페이드인 높이*/
.process-fade-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.3s ease, transform 1.3s ease;
  will-change: opacity, transform;
}

.process-fade-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 카운트 섹션 */
.count-section {
  position: relative;
}

.count-overlay {
  position: absolute;
  left: 25.5%;
  top: 33.3%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

.count-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.count-number {
  display: inline-block;
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(92.71deg, #E1D088 4.96%, #FEF691 98.48%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.count-unit {
  font-size: clamp(18px, 2.5vw, 28px);
  margin-bottom: 4px;
  color: #fff4b2;
}

/* 06 후기 이미지 슬라이드 */
.review-image-section {
  position: relative;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.review-image-head {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.review-swiper {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  z-index: 2;
  overflow: visible;
  padding: 0 0 20px;
}

.review-swiper .swiper-wrapper {
  align-items: stretch;
}

.review-swiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  transition: opacity 0.35s ease;
  transform: none;
  padding: 0 20px;
  box-sizing: border-box;
  overflow: visible;
}

.review-slide-img {
  display: block;
  width: 140%;
  min-width: 140%;
  max-width: none;
  height: auto;
  transform: none;
  opacity: 1;
  flex-shrink: 0;
}

.review-swiper .swiper-slide-active .review-slide-img,
.review-swiper .swiper-slide-duplicate-active .review-slide-img,
.review-swiper .swiper-slide-prev .review-slide-img,
.review-swiper .swiper-slide-next .review-slide-img,
.review-swiper .swiper-slide-duplicate-prev .review-slide-img,
.review-swiper .swiper-slide-duplicate-next .review-slide-img {
  transform: none;
  opacity: 1;
}

/* 07 엔딩 섹션 */
.ending-cta-section {
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.ending-cta-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 배경 */
.ending-cta-bg {
  display: block;
  width: 100%;
  height: auto;
}

/* 타이틀 */
.ending-cta-title {
  position: absolute;
  top: 8%;
  left: 0%;
  width: 100%;
  z-index: 2;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* 모델 */
.ending-cta-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(20px);
  width: 90%;
  z-index: 2;

  opacity: 0;
  transition: all 0.6s ease;
}

/* 타이틀 먼저 */
.ending-cta-section.is-visible .ending-cta-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* 모델 나중 */
.ending-cta-section.is-visible .ending-cta-person {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0.8s;
}

/* 모바일 */
@media (max-width: 768px) {
  .ending-cta-title {
    top: 8%;
    left: 0%;
    width: 100%;
  }

  .ending-cta-person {
    width: 90%;
    bottom: 0;
  }
}

/* 08 하단 이미지 */
.ending-banner-section {
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

/* 하단 고정 버튼 */
.floating-apply-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 768px; 
  z-index: 100;
  padding: 0 0 env(safe-area-inset-bottom);
}

.floating-apply-bar.is-stopped {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.floating-apply-link {
  display: block;
  width: 100%;
}

.floating-apply-img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  border-radius: 30px 30px 0px 0px;
}

/* 모달 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(2, 12, 33, 0.56);
  padding: 20px;
}

.modal-content {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.modal-content h1 {
  margin: 0 48px 18px 0;
  font-size: 28px;
  line-height: 1.3;
  word-break: keep-all;
}

.modal-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #374151;
  word-break: keep-all;
}

.close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .event-page {
	  padding: 18px 0 0;
  }

  .count-overlay {
    left: 26%;
    top: 33.3%;
    transform: translate(-50%, -50%);
  }

  .count-number {
    font-size: 45px;
	font-weight: 800; 
  }

  .review-swiper {
    top: 40%;
    padding: 0 0 12px;
  }


.review-slide-img {
  display: block;
  width: 130%;
  min-width: 130%;
  max-width: none;
  height: auto;
  transform: none;
  opacity: 1;
  flex-shrink: 0;
}

  .review-swiper .swiper-slide-active .review-slide-img,
  .review-swiper .swiper-slide-duplicate-active .review-slide-img {
    transform: scale(1);
  }


  .floating-apply-bar {
    width: 100%;
  }
  .floating-apply-img {border-radius: 10px 10px 0px 0px;}
}