@font-face {
  font-family: "Gotham";
  src: url("Gotham-XLight.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Gotham";
  src: url("Gotham-Thin.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("Gotham-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Gotham";
  src: url("Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}
strong,
b {
  font-weight: 400; /* bold 대신 book 무게감으로 */
}
/* 전역 설정 */
body {
  font-family: "Gotham", "Noto Sans KR", sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 전역 */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  word-break: keep-all;
  overflow: hidden;
  font-family: "Gotham", sans-serif;
  overflow-x: hidden;
}

.section {
  padding: 10% 15% 15% 15%; /* ← 공백 추가 */
  height: 100vh;
}

.snap-container::-webkit-scrollbar {
  display: none;
}
#page {
  inset: 0;
  overflow-y: auto;

  /* 세로 스냅 */
  scroll-snap-type: y proximity;
  scroll-behavior: smooth; /* auto → smooth로 하면 더 부드러움 */
  -webkit-overflow-scrolling: touch;

  /* 스크롤 넘침 제어 */
  overscroll-behavior-y: none;

  /* 제스처 제어 */
  touch-action: pan-y;

  height: 100dvh;
}

#page > .section {
  min-height: 100dvh;
  scroll-snap-align: start; /* center 대신 start가 더 일반적임 */
  scroll-snap-stop: always; /* 중요 섹션은 항상 걸리도록 */
  margin: 0;
}

.section.opening {
  padding: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.section.opening .bg-video {
  position: absolute;
  /* top: 50%;
  left: 50%; */
  width: 100%;
  z-index: -1;
  /* transform: translate(-50%, -50%); */
  object-fit: cover;
}

.logo {
  color: #ffffff;
  width: 4vw;
  flex-shrink: 0;
  margin-right: 20vw;
}

/* 스크롤 후 색상 변경 */
.header.scrolled .logo {
  color: #ffffff; /* 박스와 톤 맞추려면 #cdcdcd로 바꿔도 됨 */
}

/* 기본은 currentColor (흰색) */
.logo-shape {
  transition: fill 0.6s ease;
  fill: currentColor;
}

/* 스크롤 상태일 때 gradient로 변경 */
.header.scrolled .logo-shape {
  fill: url(#logoGradient);
}
.header {
  position: fixed;

  width: 100vw;
  height: 5vh;
  /* border-bottom: 1px solid #000000; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5%;
  padding: 2%;
  z-index: 9999999;
}

.header .box {
  font-size: 0.7vw;
  flex: 1;
  text-align: center;
  color: #818181;
  transition: color 0.3s ease;
}

.box:hover {
  color: #000000;
  font-size: 0.75vw;
  cursor: pointer;
}
.header .box a {
  display: block;
  text-decoration: none;
  color: inherit; /* 글자색 유지 */
}
.openstroke {
  width: 1px; /* 선 두께 */
  height: 5vh;
  background-color: #00aeff;
  margin: 1.5vh 0.3vw;
}
.main {
  /* position: relative; */
  padding: 20% 10%;
  /* padding-top: 20%; */
  display: flex; /* 가로 정렬 */
  justify-content: space-between;
  align-items: end;
}

.frstitle {
  color: #00aeff;
  font-size: 2.7vw;
  font-family: Gotham;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 55.6px */
  letter-spacing: -0.1vw;
}
.engtitle {
  color: #00aeff;
  font-family: Gotham;
  font-size: 1vw;
  font-style: normal;
  line-height: 150%;
  font-weight: 400;
  letter-spacing: -0.03vw;
}

.zero {
  position: absolute;
  right: 10%;
  top: 30%;
  transform: translateY(-50%); /* 가운데 정렬 */
  font-size: 3.5vw;
  text-align: right;
  color: #00aeff;
  font-weight: 400;
  line-height: 40%;
}
.zero p {
  font-weight: 300;
  font-size: 60%;
}
.scrollText {
  display: flex;
  align-items: end;
  gap: 1vw;
}
.openscroll {
  width: 3vh;
  margin-right: 0.5vw;
}
.ScrollDown {
  font-family: "Gotham", sans-serif;
  color: #00aeff;
  display: inline-block;
  font-size: 1.5vw;
  border-radius: 999px;
}

@keyframes bobY {
  from {
    transform: translateY(calc(var(--amp) * -1));
  }
  to {
    transform: translateY(var(--amp));
  }
}
/* 오프닝 끝 





*/
.second {
  /* display: flex; */
  padding: 20%;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100vw;
  color: #00aeff;
  text-align: center;
  font-family: "Yoon Gothic 705";
  font-size: 2.5vw;
  font-style: normal;
  font-weight: 200;
  line-height: 170%; /* 64.8px */
}
.highlight {
  font-size: 120%;
  font-weight: 400;
  line-height: 100%;
}
.section.second {
  position: relative;
}
.section.second {
  display: flex; /* 플렉스 박스 사용 */
  justify-content: center; /* 가로 가운데 정렬 */
  align-items: center; /* 세로 가운데 정렬 */
  height: 100vh; /* 화면 전체 높이 차지 */
  text-align: center; /* 여러 줄 텍스트도 중앙 정렬 */
}

/* 텍스트는 원 위 */
.section.second > * {
  position: relative;
  z-index: 1;
}
/* 접근성: 모션 줄이기 설정이면 애니 끔 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
} /* 초기에는 안 보이게 */
.section.second::before {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* 활성화되면 보임 */
.section.second.show::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0.2s;
}
.section.second::before {
  content: "";
  position: absolute;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  z-index: 0;

  background: conic-gradient(#00aeff, #9afdf7, #ffffff, #9afdf7, #00aeff);
  -webkit-mask: radial-gradient(circle, transparent 65%, black 70%);
  -webkit-mask-composite: destination-out;
  mask: radial-gradient(circle, transparent 69%, black 0%);
  mask-composite: exclude;

  opacity: 0;
  transition: opacity 1.2s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

.section.second.show::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.secondText {
  font-family: gotham;
  display: inline-block;
  opacity: 0;
  transform: translateY(5vh);
  transition: opacity 0.9s ease, transform 0.9s ease;
  will-change: opacity, transform;
}

/* 섹션이 보이면(= .section.second.show) 2초 딜레이 후 올라오면서 나타남 */
.section.second.show .secondText {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s; /* ✅ 2초 뒤 시작 */
}

/* 접근성: 모션 줄이기 */
@media (prefers-reduced-motion: reduce) {
  .secondText {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
.section.third {
  display: flex;
  justify-content: flex-end; /* 전체를 오른쪽으로 */
  align-items: center; /* 세로 중앙 배치 */
  padding: 15%;
}

.content-wrap {
  display: flex;
  flex-direction: column; /* 위→아래 쌓기 */
  align-items: flex-end; /* 내부 요소 오른쪽 정렬 */
  text-align: right; /* 텍스트 오른쪽 정렬 */
  gap: 1rem; /* 요소 간격 */
}

.motionlogo .bg-video {
  width: 40%; /* 영상 크기 */
  margin-right: -7%; /* ← 영상만 오른쪽으로 더 밀기 */
}

.engslo {
  font-weight: 300;
  font-size: 2vw;
  color: #00aeff;
}
.enghighlight {
  font-weight: 450;
}
.krslo {
  font-weight: 500;
  padding-top: 3%;
  font-size: 2vw;
  color: #00aeff;
  line-height: 150%;
  display: inline-block;
  transform: translateY(5vh); /* 처음에 아래쪽에 배치 */
  opacity: 0; /* 안 보이게 */
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.krslo.show {
  transform: translateY(0); /* 제자리 */
  opacity: 1;
  transition-delay: 0.3s;
}
.krhighlight {
  font-weight: 300;
}
.fourth {
  height: 100vh;
  padding: 15%;
}
.fifthbg {
  /* padding: 15%; */
  text-align: center;
  height: 300%;
  color: #fff;

  background: linear-gradient(to bottom, #00aeff 0%, #9afdf7 60%, white 100%);
}
.section.fifth {
  position: relative;
  height: 100vh;
}
#whatbg {
  position: absolute;
  /* width: 85vw;
   */
  height: 300vh;
  left: 10%;
  top: 40%;
  justify-content: center;
  margin-top: -31%;
  --amp: 0.5%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
.what {
  font-size: 3vw;
}
.line {
  height: 150%;
  padding-top: 5%;
  padding-bottom: 5%;
}
.line2 {
  margin-top: 10%;
  /* height: 300%; */
}
.whatengslo {
  line-height: 150%;
  font-weight: 300;
  font-size: 1.3vw;
  color: #ffffff;
  z-index: 9999999;
}
.whatkrslo {
  font-size: 1.7vw;
  color: #fff;
  font-weight: 400;
  line-height: 160%;
  z-index: 999;
}

.whatkrhighlight {
  color: #fff;
  font-weight: 300;
  line-height: 160%;
}
.section.sixth {
  height: 100vh;
}
.container {
  display: flex;
  flex-direction: column; /* 세로 배치 */
  gap: 35vh; /* 박스 간격 */
  padding: 10%;
  margin-top: -13%;
  padding: 20%;
}

.bubble {
  z-index: 9999;
  padding: 2% 3%; /* 안쪽 여백 */
  background: #1ea0ff; /* 배경색 */
  color: #fff; /* 텍스트 색 */
  font-size: 2vw;
  font-weight: 300;
  border-radius: 999vw 999vw 999vw 0vw; /* ← 모서리 둥글게 */
  margin-left: 33vw;
  text-align: left;
}
.bubblesub {
  z-index: 9999;

  text-align: left;
  color: #00aeff;
  margin-left: 33vw;
  font-size: 1vw;
  margin-top: -30%;
  line-height: 150%;
  letter-spacing: -0.05vw;
  font-weight: 400;
}
.bubble2 {
  z-index: 9999;
  display: inline-block; /* 텍스트 크기에 맞게 박스 */
  padding: 2% 3%; /* 안쪽 여백 */
  background: #1ea0ff; /* 배경색 */
  color: #fff; /* 텍스트 색 */
  font-size: 2vw;
  font-weight: 300;
  border-radius: 999vw 999vw 0vw 999vw; /* ← 모서리 둥글게 */
  margin-right: 33vw;
  text-align: right;
}
.bubblesub2 {
  z-index: 9999;

  text-align: right;
  color: #00aeff;
  margin-right: 33vw;
  font-size: 1vw;
  font-weight: 400;
  margin-top: -30%;
  line-height: 150%;
  letter-spacing: -0.05vw;
}

#logo {
  width: 0.8vw;
  margin-right: 1vw;
}
.subtitle {
  font-size: 1.3vw;
  font-weight: 500;
  color: #222222;
}
/* 공통 초기 상태 (밑에서 위로 올라오기) */
.ensubexplain,
.krsubexplain {
  opacity: 0; /* 안 보임 */
  transform: translateY(5vh); /* 아래로 40px 이동 */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

/* .ensubexplain 기본 스타일 */
.ensubexplain {
  color: #00aeff;
  padding-top: 2%;
  font-size: 1.8vw;
  line-height: 130%;
  font-weight: 300;
}

/* .krsubexplain 기본 스타일 */
.krsubexplain {
  color: #00aeff;
  padding-top: 5%;
  font-size: 3.5vw;
  line-height: 140%;
  letter-spacing: -0.1vw;
  font-weight: 100;
}

/* 보이게 되었을 때 활성화 상태 */
.ensubexplain.show,
.krsubexplain.show {
  opacity: 1;
  transform: translateY(0); /* 제자리 */
}

/* 접근성: 모션 줄이기 옵션 켜져있으면 애니메이션 제거 */
@media (prefers-reduced-motion: reduce) {
  .ensubexplain,
  .krsubexplain {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.seventh {
  height: 70vh;
  padding: 10% 15% 15% 15%;
}

.section.seventhimg {
  height: 100vh;
  padding: 8%;
}
.img-container {
  --amp: 5%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
  display: flex;
  justify-content: center; /* 중앙 정렬 */
  align-items: center; /* 수직 중앙 */
  gap: 10%; /* 이미지 간격 */
  margin-top: 10%; /* 위쪽 여백 */
}

.img-box {
  position: relative;
  overflow: hidden;
}

.img-box img {
  width: 15vw; /* 원하는 크기로 조절 */
  height: auto; /* 비율 유지 */
  display: block;
  transition: filter 0.3s ease;
}
.img-box:hover img {
  filter: brightness(50%);
}
.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1vw;
  line-height: 150%;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-weight: 400;
  pointer-events: none;
}

/* hover 시 보이게 */
.img-box:hover .overlay {
  opacity: 1;
}

.problemtext {
  margin-top: 10%;
  text-align: center;
  font-size: 1vw;
  color: #7dd6ff;
  font-weight: 400;
}

.eighth {
  height: 70vh;
  padding: 10% 15% 15% 15%;
}
.section.eighthimg {
  font-family: "Yoon Gothic 705";
  padding: 15%;
  color: #00aeff;
  height: 100vh;
  width: 100vw;
  background: url("aboutfloat.png") center/cover no-repeat;

  /* background-size: 45vw;
  background-position: 55vw 85%; */
}

/* 원래 스타일 유지 */
.floattitle {
  margin-top: -10%;
  font-size: 3vw;
  font-weight: 400;
  font-family: "Gotham", sans-serif;
}

.floatexp {
  font-family: "Yoon Gothic 705";
  margin-top: 2%;
  font-size: 1.2vw;
  font-weight: 400;
  line-height: 150%;

  /* ✅ 본문은 오직 <br>에서만 줄바꿈 */
  white-space: nowrap;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  .floattitle,
  .floatexp {
    opacity: 1;
    transition: none;
  }
}

.floatexpsub {
  width: 35vw;
  letter-spacing: -0.05vw;
  /* display: flex; */
  margin-top: 5%;
  /* justify-content: space-between; */
  align-items: left;
}

/* floatexpsub 텍스트 */
.floatexpsub .subfloat {
  opacity: 0;
  transform: translateY(5vh); /* 밑에서 위로 */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 보여질 때 */
.floatexpsub .subfloat.show {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.floatStr {
  width: 100%;
  /* font-size: 110%; */
  font-weight: 600;
  margin-right: 0.5vw;
  justify-content: center;
  align-items: center;
}
.subfloat {
  margin-top: 5%;
  flex: 1;
  text-align: left;
  font-family: gotham;
  font-size: 1vw;
  line-height: 150%;
  color: #00aeff;

  display: inline-flex;
  border: solid 1px #00aeff;
  padding: 5% 10%;

  border-radius: 999px;
}

.nineth {
  overflow: visible;
  height: 70vh;
  padding: 10% 15% 15% 15%;
}
.ninethexp {
  position: relative;
  height: 100vh;
}

#serviceLine {
  position: absolute;
  margin-top: -15%;
  right: 0;
  width: 68vw;
}
#service {
  position: absolute;
  margin-top: 5%;
  margin-left: 45%;
  width: 47vw;
}
#serviceLine {
  opacity: 0;
  transition: opacity 1s ease; /* ✨ 1.8초 정도로 길게 */
}

#service {
  opacity: 0;
  transform: translateX(6vw);
  transition: transform 1s ease, opacity 0.1s ease; /* 텍스트도 살짝 여유롭게 */
}

#serviceLine.show {
  opacity: 1;
}

#service.show {
  opacity: 1;
  transform: translateX(0);
}
.service-video {
  position: absolute;
  z-index: -10000;
  width: 20vw;
  padding-top: 30vh;
  margin-left: 10%;
}
.section.onlineText {
  padding: 15%;
  font-size: 2.5vw;
  font-weight: 300;
  letter-spacing: -0.1vw;
  line-height: 170%;
  color: #222222;
  bottom: 0;
}
.ritualText {
  height: 70vh;
  padding: 15%;
}

.ritual {
  background: url("ritual.png") center/cover no-repeat;
}
.tenth {
  height: 20vh;
  padding: 10% 15% 15% 15%;
}
.tenthexp {
  position: relative;

  /* border-radius: 894px;
  border: 73px solid
    linear-gradient(to bottom, #00aeff 0%, #9afdf7 60%, white 100%); */
}

#service2Line {
  /* margin-top: -10%; */
  position: absolute;
  left: 0;
  z-index: -999;
  width: 30vw;
  opacity: 0;
  transition: opacity 1s ease; /* 천천히 페이드인 */
}
#service2 {
  /* margin-top: -10%; */
  position: absolute;
  margin-left: 10%;
  margin-top: 2%;
  width: 40vw;
}

#service2 {
  opacity: 0;
  transform: translateX(1vw); /* 왼쪽에서 출발 */
  transition: transform 1s ease, opacity 0.1s ease;
}

#service2Line.show {
  opacity: 1;
}

#service2.show {
  opacity: 1;
  transform: translateX(0); /* 원래 자리로 */
}
/* 가로 배치 */
.sense-row {
  display: flex;
  gap: 5vw;
  /* align-items: flex-start; */
  padding: 5% 18.5% 18.5% 18.5%;
}

/* 원 카드 */
.sense {
  --size: 12vw;
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  overflow: visible; /* 글자가 원 밖으로 안 나가게 */
  cursor: pointer;
}

/* 이미지 */
.sense > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 50%; */
  display: block;
}

/* 캡션(글자만): 처음엔 위쪽에 숨어있음 */
.sense .caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 10%;
  text-align: center;
  color: #000000;
  z-index: 2; /* 이미지 위에 */
  transform: translateY(-30%); /* 위에서 내려오게 */
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

/* 호버: 글자만 스르륵 내려와서 나타남 */
.sense:hover .caption {
  transform: translateY(0);
  opacity: 1;
}
.sense::before {
  content: none;
}
/* 타이틀/설명 */
.sense .title {
  color: #00aeff;
  font-weight: 400;
  font-size: 1.2vw;
  text-shadow: none; /* ✅ 그림자 제거 */
}

.sense .desc {
  font-weight: 400;
  font-size: 1vw;
  line-height: 1.35;
  margin-bottom: -100%;
  padding-top: 10%;
  text-shadow: none; /* ✅ 그림자 제거 */
}
.sense-row .sense:nth-child(1) {
  margin-top: 10%;
}
.sense-row .sense:nth-child(2) {
  margin-top: 20%;
}
.sense-row .sense:nth-child(3) {
  margin-top: 30%;
}
.sense-row .sense:nth-child(4) {
  margin-top: 40%;
}
.twelveth {
  position: relative;
}
#visualCloud {
  position: absolute;
  width: 40vw;
  right: 0;
  top: 5%;
  --amp: 1%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
.section.twelvethText {
  height: 100vh;
  padding: 15%;
  font-size: 2.5vw;
  font-weight: 300;
  letter-spacing: -0.1vw;
  line-height: 170%;
  color: #222222;
}
.highlightbox {
  background: linear-gradient(to top, #9afdf7 40%, transparent 40%);
  font-weight: 400;
}
.twelvethText {
  opacity: 0;
  transform: translateY(5vh);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.twelvethText.show {
  opacity: 1;
  transition-delay: 0.3s;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .twelvethText {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
.subtitle2 {
  font-size: 1.5vw;
  font-weight: 400;
  margin-top: -7%;
  color: #222222;
}
#logo1 {
  display: flex;
  justify-content: center; /* 중앙 정렬 */

  /* gap: 25vw; */
  /* height: 16vh; */
  /* margin-top: 10%; */
  width: 70vw;
  padding: 10%15%15%15%;
}
.Palette {
  display: flex;
  justify-content: center; /* 중앙 정렬 */
  align-items: center;
  background: linear-gradient(90deg, #00aeff 0%, #9afdf7 100%);
  width: 102vw;
  height: 30vh;
  margin-left: -22%;
  margin-top: 7%;
  gap: 30%;
  color: #9afdf7;
  line-height: 130%;
  font-size: 1.2vw;
}
.Palettesub {
  font-size: 130%;
  line-height: 200%;
}
#rgb {
  color: #00aeff;
}
.subtitle3 {
  font-size: 1.5vw;
  font-weight: 400;
  color: #222222;
  margin-top: 3%;
}
.visualLogoText {
  height: 100vh;
  /* margin-top: -7%; */
  font-size: 2.5vw;
  font-weight: 300;
  letter-spacing: -0.1vw;
  line-height: 170%;
  color: #222222;
}

.subExp {
  margin-top: 4%;
  font-size: 1.3vw;
  font-weight: 400;
  letter-spacing: -0.05vw;
  line-height: 165%;
  color: #222222;
}
.visualLogoText {
  opacity: 0;
  transform: translateY(5vh);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
  will-change: opacity, transform;
}

.visualLogoText.show {
  opacity: 1;
  transition-delay: 0.3s;
  transform: translateY(0);
}

/* 서브 텍스트 */
.visualLogoText .subExp {
  opacity: 0;
  transform: translateY(5vh);
  transition: opacity 0.9s ease-out 0.5s, transform 0.9s ease-out 0.5s;
  /* ↑ 0.5s 지연 후에 실행 */
  will-change: opacity, transform;
}

.visualLogoText.show .subExp {
  opacity: 1;
  transition-delay: 0.3s;
  transform: translateY(0);
}

/* 접근성 */
@media (prefers-reduced-motion: reduce) {
  .visualLogoText,
  .visualLogoText .subExp {
    transition: none;
    opacity: 1;
    transform: none;
  }
}
#motifs {
  width: 60vw;
  margin-left: 7.5%;
  padding: 12%;
}
.motifsText {
  height: 100vh;
  font-size: 2.5vw;
  font-weight: 300;
  letter-spacing: -0.1vw;
  line-height: 170%;
  color: #222222;
}
.motifsText {
  opacity: 0;
  transform: translateY(5vh);
  transition: opacity 0.9s ease-out 0.4s, transform 0.9s ease-out 0.4s; /* 0.4초 뒤 시작 */
  will-change: opacity, transform;
}

.motifsText.show {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .motifsText {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.section.app {
  position: relative;
  background: linear-gradient(180deg, #00aeff 0%, #9afdf7 70%, #fff 100%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0%;
  height: 100vh; /* 화면 세로 전체 기준으로 중앙 */
}
#appicon {
  position: absolute;
  width: 15vh;
  left: 10%;
}
.appmaintext {
  /* text-align: left; */
  width: 50vw;
}
#applogo {
  margin-left: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 6vw;
  margin-bottom: 2vh;
}
#appExp {
  margin-left: 40%;

  color: white;
  font-weight: 400;
  font-size: 1.2vw;
  letter-spacing: -0.05vw;
  line-height: 150%;
}
#appstg {
  letter-spacing: -0.08vw;
  margin-left: 40%;
  font-size: 1.5vw;
  font-weight: 600;
}
#leftIphone {
  width: 50vw;
  height: 100vh;
  background: url("iphone2.png") center/cover no-repeat;
  background-size: 130%;
  background-position: right 15% bottom 50%;
}
#appcloud1 {
  right: 7%;
  top: 55%;
  width: 10vw;
  position: absolute;
  --amp: 10%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}
#appcloud2 {
  position: absolute;
  right: 42%;
  top: 38%;
  width: 11vw;
  --amp: 10%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0.2s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
  z-index: 0;
}

#appcloud4 {
  width: 9vw;
  right: 15%;
  top: 15%;
  position: absolute;
  --amp: 10%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0.8s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
}

.apptitle {
  color: #00aeff;
  font-weight: 400;
  font-size: 1.5vw;
  margin-bottom: 3%;
  letter-spacing: -0.1vw;
}
.cloudMatch {
  /* overflow-x: hidden; */
  position: relative;
  display: flex;
  justify-content: space-between; /* 왼쪽/오른쪽으로 배치 */
  align-items: flex-start;
  width: 100%;
  background: url("cloud\ bar.png") center/cover no-repeat;
  background-size: 50%;
  background-position: right 20% bottom 75%;
}
#appline1 {
  position: absolute;
  right: 55%;
  top: 15%;
  width: 11vw;
  z-index: 1;
}
#appline2 {
  position: absolute;
  right: 55%;
  top: 53%;
  width: 14vw;
  z-index: 1;
}
#appline3 {
  position: absolute;
  right: 55%;
  top: 88%;
  width: 8vw;
  z-index: 1;
}
#appline4 {
  position: absolute;
  right: 55%;
  top: 115%;
  width: 10vw;
  z-index: 1;
}
#appline5 {
  position: absolute;
  left: 19%;
  top: 178%;
  width: 47vw;
  z-index: 1;
}
.mainText {
  position: absolute;
  left: 47%;
  top: 15%;
  font-size: 1vw;
  font-weight: 600;
  letter-spacing: -0.05vw;
  color: #00aeff;
  line-height: 30%;
}
#mainTextsub {
  font-size: 0.8vw;
  font-weight: 400;
  letter-spacing: -0.05vw;
  color: #00aeff;
  line-height: 150%;
}
.cloudbar {
  width: 60vw;
  margin-left: -25%;
  /* margin-top: 5%; */
  z-index: -999;
}
.mainText2 {
  position: absolute;
  left: 47%;
  top: 53%;
  font-size: 1vw;
  font-weight: 600;
  color: #00aeff;
  letter-spacing: -0.05vw;
  line-height: 30%;
}

.mainText3 {
  position: absolute;
  left: 47%;
  top: 88%;
  font-size: 1vw;
  font-weight: 600;
  letter-spacing: -0.05vw;
  color: #00aeff;
  line-height: 30%;
}

.mainText4 {
  position: absolute;
  left: 47%;
  top: 115%;
  font-size: 1vw;
  font-weight: 600;
  color: #00aeff;
  line-height: 30%;
  letter-spacing: -0.05vw;
}

.mainText5 {
  text-align: right;
  position: absolute;
  left: 41%;
  top: 170%;
  font-size: 1vw;
  font-weight: 600;
  color: #00aeff;
  line-height: 30%;
  letter-spacing: -0.05vw;
}

#appHome {
  margin-top: -35%;
  border-radius: 3vw;
  border: 0.5px solid #dedede;
  background: url(<path-to-image>) lightgray 50% / cover no-repeat;
  box-shadow: -0.5vw 0.5vw 1vw 0 rgba(0, 0, 0, 0.1);
  width: 25vw;
  flex-shrink: 0;
  /* aspect-ratio: 17/66; */
  z-index: 1;
}
#appHome2 {
  margin-top: 88%;
  width: 25vw;
  flex-shrink: 0;
  /* margin-left: 20vw; */
}
.cloudMatch3 {
  position: relative;
}
.apptitle2 {
  color: #00aeff;
  font-weight: 400;
  font-size: 1.5vw;
  /* margin-bottom: 3%; */
  margin-top: -6%;
  margin-bottom: -2%;
}
/* 부모 섹션이 absolute 자식 기준이 되도록 */
.section.cloudMatch3 {
  position: relative;
  scroll-snap-align: none;
}

/* 가로 스크롤 박스 */
.matchingScroll {
  position: absolute;
  left: 0;
  top: 35vh; /* 필요 위치로 조절하세요 */
  width: 100vw;
  height: 60vh;

  display: flex; /* 가로로 나열 */
  /* 이미지 간격 (원하면 줄이세요) */

  overflow-x: auto; /* 가로 스크롤 */
  overflow-y: hidden; /* 세로 스크롤 차단 */
  -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */

  overscroll-behavior-x: contain;
  /* background: linear-gradient(0deg, #a8fff9 0%, #ffffff 100%); */
  box-sizing: border-box;
  overscroll-behavior-inline: contain;
  padding-left: 10%;
  padding-right: 10%;
}
.matchingScroll::-webkit-scrollbar {
  display: none;
}
.matchingScroll img {
  margin: 5% 10%;
  height: 80%; /* 컨테이너 높이에 맞춤 */
  width: auto; /* 비율 유지 */
  flex: 0 0 auto; /* 줄어들지 않게 */
  display: block;
  z-index: 999;
}
.matchline {
  position: absolute;
  height: 2px;
  width: 103%; /* ← 길이 조절 */
  background-image: repeating-linear-gradient(
    to right,
    #00aeff,
    #00aeff 0.2vw,
    /* 점 길이 */ transparent 0.2vw,
    transparent 0.5vw /* 점 간격 */
  );
  top: 15%;
  left: 22%;
}
.step {
  position: absolute;
  display: flex;
  gap: 27vw;
  left: 14%;
  text-align: center;
}

.reserve {
  height: 35vh;
  padding: 15%;
}
.reserve .motifsText {
  margin-top: -10%;
}
.reserve2 {
  background: url("reserve.png") center/cover no-repeat;
  background-size: 90%;
  background-position: left 0%;
}
.mainText6 {
  font-size: 1vw;
  font-weight: 600;
  color: #00aeff;
  line-height: 30%;
  letter-spacing: -0.05vw;
  margin-top: -7%;
  margin-left: 33%;
}

.coupon {
  background: url("coupon.png") center/cover no-repeat;
  background-size: 90%;
  background-position: right 0%;
}

.mainText7 {
  text-align: right;
  font-size: 1vw;
  font-weight: 600;
  color: #00aeff;
  line-height: 30%;
  letter-spacing: -0.05vw;
  margin-top: 40%;
  margin-right: 40%;
}

.ending {
  text-align: center;
  overflow-y: hidden;
  height: 100%;
  color: #fff;
  background: linear-gradient(to bottom, #00aeff 0%, #9afdf7 100%);
}
.ending2 {
  text-align: center;
  overflow-y: hidden;
  height: 100%;
  color: #fff;
  background: linear-gradient(to bottom, #9afdf7 0%, #d5fffc 100%);
}

#endingText {
  font-size: 2.5vw;
  font-weight: 200;
  line-height: 170%;
  padding: 10%;
  font-family: "Yoon Gothic 705";
  font-style: normal;
}
#endingText2 {
  font-size: 2.5vw;
  font-weight: 200;
  line-height: 170%;
  /* padding: 10%10%0%10%; */
  font-family: "Yoon Gothic 705";
  font-style: normal;
  color: #00aeff;
  margin-top: 5vh;
}
#endingstg {
  font-size: 3vw;
}
#endingline {
  height: 40vh;
  margin-top: -3%;
  /* padding: 5%; */
}

.symbolend {
  width: 20vw;
  --amp: 5%; /* 위아래 진폭 */
  --dur: 2s; /* 오르내리는 속도 */
  --delay: 0s; /* 시작 지연 */
  animation: bobY var(--dur) ease-in-out var(--delay) infinite alternate;
  will-change: transform;
  margin: 7vh;
}
#endbutton {
  background: none; /* 배경 제거 */
  border: 2px solid #00aeff; /* 테두리 제거 */
  border-radius: 999vw;
  font-size: 1vw;
  font-weight: 400;
  color: #00aeff; /* 글자색은 부모 따라가게 */
  cursor: pointer; /* 버튼 위에 마우스 올렸을 때 포인터 표시 */
  padding: 0.8% 1.2%; /* 여백 제거 */
  margin-top: 5vh;

  z-index: 99999;
}
#endbutton:hover {
  background-color: #00aeff;
  border: 2px solid #00aeff; /* 테두리 제거 */
  border-radius: 999vw;
  font-weight: 400;
  color: #ffffff; /* 글자색은 부모 따라가게 */
  cursor: pointer; /* 버튼 위에 마우스 올렸을 때 포인터 표시 */
  padding: 0.8% 1.2%; /* 여백 제거 */
}
.krslo,
.whatengslo,
.whatkrslo,
.what,
#endingText,
#endingText2,
.bubble,
.bubble2,
.bubblesub,
.bubblesub2,
.mainText6,
.mainText7 {
  opacity: 0;
  transform: translateY(5vh); /* 밑에서 위로 올라오는 효과 */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.krslo.show,
.whatengslo.show,
.whatkrslo.show,
.what.show,
#endingText.show,
#endingText2.show,
.bubble.show,
.bubble2.show,
.bubblesub.show,
.bubblesub2.show,
.mainText6.show,
.mainText7.show {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
/* 라인 이미지: 초기 상태 (살짝 왼쪽 + 투명) */
.section.cloudMatch [id^="appline"] {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

/* 라인 이미지: 등장 상태 */
.section.cloudMatch [id^="appline"].in {
  opacity: 1;
  transform: translateX(0);
}

/* 텍스트 블록: 초기 상태 (아래 + 투명) */
.section.cloudMatch .mainText,
.section.cloudMatch .mainText2,
.section.cloudMatch .mainText3,
.section.cloudMatch .mainText4,
.section.cloudMatch .mainText5 {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: transform, opacity;
}

/* 텍스트 블록: 등장 상태 */
.section.cloudMatch .mainText.in,
.section.cloudMatch .mainText2.in,
.section.cloudMatch .mainText3.in,
.section.cloudMatch .mainText4.in,
.section.cloudMatch .mainText5.in {
  opacity: 1;
  transform: translateY(0);
}

/* 모션 최소화 환경 배려 */
@media (prefers-reduced-motion: reduce) {
  .section.cloudMatch [id^="appline"],
  .section.cloudMatch .mainText,
  .section.cloudMatch .mainText2,
  .section.cloudMatch .mainText3,
  .section.cloudMatch .mainText4,
  .section.cloudMatch .mainText5 {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
.footer {
  text-align: center;
  color: white;
  font-family: "Gotham";
  font-weight: 400;
  background: #00aeff;
  padding: 60px 20px;
  line-height: 1.6;
  font-size: 14px;
  /* opacity: 0.9; */
}
.footer-info {
  margin-top: 30px;
  opacity: 0.8;
}
.footer-links {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}
