* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

header {
  width: 100%;
  background: #fff;
  z-index: 9999;
  padding: 15px 0;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

header p {
  font-size: 25px;
}

header p span {
  color: #ff2e2e;
  font-weight: bold;
}

header img {
  width: auto;
  height: 50px;
}

.video-container {
  background: #000;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.video-container video {
  display: block;
  width: min(100%, 900px);
  height: auto;
}

/* ---- 하단 고정 버튼 ---- */
.fixedBtn {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  padding: 0 0 env(safe-area-inset-bottom);
}

.fixedBtn > img,
.fixedBtn > a {
  flex: 1 1 50%;
  min-width: 0;
  display: block;
}

.fixedBtn > img {
  width: 100%;
  height: auto;
}

.fixedBtn > a > img {
  width: 100%;
  height: auto;
  display: block;
}

/* 고정 버튼 교차 애니메이션: 하나 확대될 때 다른 하나 축소 */
.fixedBtn > a:first-child > img {
  animation: btn-pulse-up 2.4s ease-in-out infinite;
}

.fixedBtn > a:last-child > img {
  animation: btn-pulse-down 2.4s ease-in-out infinite;
}

@keyframes btn-pulse-up {
  0%,
  100% {
    transform: scale(1.05);
  }
  50% {
    transform: scale(0.95);
  }
}

@keyframes btn-pulse-down {
  0%,
  100% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ---- 마퀴 배너 ---- */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.marquee-lane {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: marquee-left 20s linear infinite;
}

.marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 50px;
}

.marquee-track img {
  flex-shrink: 0;
  height: 40px;
  width: auto;
  display: block;
}

.marquee-track img:nth-child(5) {
  height: 70px;
}

.marquee-wrap:hover .marquee-lane {
  animation-play-state: paused;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section01 {
  background: url('../img/01_bg.jpg') no-repeat center top;
  padding: 30px 0 80px;
  width: 100%;
  overflow: hidden;
}

.section01 .inner,
.section02 .inner,
.section03 .inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section01 .inner img {
  width: 100%;
  height: auto;
  display: block;
}

.section01 .inner img.title {
  margin-right: -35px;
}

.btn_wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0px;
  margin-top: 50px;
}

.section01 .inner .btn_wrap a {
  width: 48%;
  height: auto;
  display: block;
}
.section01 p {
  margin: 30px 0 50px;
  color: #fff;
  font-size: 34px;
}

.section02 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 150px 20px;
  text-align: center;
}

.section02 .list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;
}

.section02 .list.reveal-ready img {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.section02 .list.reveal-ready img.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section03 {
  background: #08003c;
  padding: 150px 0px 80px;
  width: 100%;
  overflow: hidden;
}

.section03 .reviewSlider {
  width: min(100%, 860px);
  margin-top: 80px;
  overflow: visible;
}

.section03 .reviewSlider .swiper-slide {
  opacity: 0.58;
  transform: scale(0.92);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.section03 .reviewSlider .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.form_section {
  background: linear-gradient(90deg, #0322bc 0%, #0d0161 100%);
  padding: 150px 15px;
}

.form_section .inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

#form {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 25px;
  margin-top: 50px;
}

#form .name_box,
#form .phone_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

#form .name_box .name-label,
#form .phone_box .num-label {
  font-size: 14px;
  color: #000;
  font-weight: bold;
  font-size: 25px;
}

.phone_input {
  display: flex;
  align-items: center;
  gap: 0px;
  width: 100%;
}
.phone_input span {
  background: #0d005f;
  color: #fff;
  border-radius: 5px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 5px 0 0 5px;
}

#form .name_box input,
#form .phone_box input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 25px;
  height: 60px;
}

#form .phone_box input {
  border-radius: 0 5px 5px 0;
}

#form #privacy_agree {
  width: 30px;
  height: 30px;
}

.privacy_box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy_box label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

#agreeView {
  color: #1233da;
  text-decoration: underline;
}

.cursor {
  cursor: pointer;
}

/* 개인정보 모달 */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  padding: 20px;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow-y: auto;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-content h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.modal-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #1f2a44;
  font-weight: 700;
  cursor: pointer;
}

footer {
  background: #08003c;
  padding: 30px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
}

footer p.title {
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  margin-top: 20px;
}

footer p {
  color: #fff;
  font-size: 14px;
}

footer img {
  width: 200px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  header .inner {
    max-width: 100%;
    padding: 0 10px;
  }

  header .inner img {
    height: 30px;
  }
  header .inner p {
    font-size: 3.5vw;
  }
  .marquee-track {
    gap: 30px;
  }
  .marquee-track img {
    height: 25px;
  }
  .marquee-track img:nth-child(5) {
    height: 45px;
  }

  .btn_wrap {
    margin-top: 30px;
  }
  .section01 {
    background-size: auto 100%;
    padding: 20px 0 50px;
  }
  .section01 .inner img.title {
    margin-right: -20px;
    width: 90%;
  }
  .section01 p {
    font-size: 5vw;
    margin: 20px 0 30px;
    padding: 0 20px;
  }

  .section01 .line {
    width: 150%;
    margin-left: -25%;
  }
  .section02 {
    padding: 50px 15px;
  }

  .section02 .list {
    gap: 15px;
  }
  .section03 {
    padding: 50px 10px;
  }

  .section03 .reviewSlider {
    margin-top: 50px;
  }

  .video-container {
    background: transparent;
    padding: 0;
  }

  .video-container video {
    width: 100%;
  }
  .form_section {
    padding: 50px 15px;
  }

  #form {
    padding: 20px;
    gap: 10px;
    /* font-size: 16px; */
    word-break: keep-all;
  }
  #form #privacy_agree {
    width: 25px;
    height: 25px;
  }
  .privacy_box {
    font-size: 16px;
  }

  footer {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }
}
