/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
  cursor: default;
  caret-color: transparent;
  position: relative;
  min-height: 100vh;
}

.main-visual {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 20px;
  background: url('../images/deco_bg.png') no-repeat center top;
  background-size: cover;
  z-index: 0;
}

.main-visual * {
  position: relative;
  z-index: 1;
}

/* ¼­ºêÆäÀÌÁö Àü¿ë */
.sub-title-img, .sub-cont-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 10px 0 20px 0;
}

.sub-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.sub-btn-wrap2 {
  width: 100%;
  max-width: 645px;
  margin: 0 auto;
}
.sub-btn-wrap2 svg {
  width: 100%;
  height: auto;
  display: block;
}

.sub-btn {
  border: 3px solid #000;
  border-radius: 15px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-btn2 {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-btn2 img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sub-btn img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sub-btn-yes {
  background-color: #ffa500;
  animation: blinkBg 1.5s infinite;
}

@keyframes blinkBg {
  0% { background-color: #ff8934; }
  50% { background-color: #ffab34; }
  75% { background-color: #ff8934; }
  100% { background-color: #ff8934; }
}

.sub-btn-yes:hover img {
  animation: pulseScale 0.4s ease-in-out forwards;
}

@keyframes pulseScale {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.sub-btn-no {
  background-color: #e6e6e6;
}

/* Header */
header {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.logo {
  flex: 1;
  max-width: 40%;
}

.logo img {
  height: 45px;
  width: auto;
}

.sns-icons {
  flex: 1;
  max-width: 60%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sns-icons img {
  width: 30px;
  height: 30px;
}

/* Main Content */
main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-title img,
.sub-title img {
  max-width: 100%;
  height: auto;
}

.content-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: nowrap;
}

.button-start {
  animation: float 2s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-start img {
  width: 134px;
  height: auto;
  max-width: 100%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.image-box img {
  max-width: 100%;
  height: auto;
}


.image-box img {
  max-width: 100%;
  height: auto;
}

/* Footer */
footer {
  background-color: #f0f0f0;
  text-align: center;
  padding: 40px 20px 60px 20px;
  font-size: 0.9em;
  color: #555;
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    background: #fff;
    cursor: default;
    caret-color: auto;
  }

  header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo {
    flex: 1 1 50%;
    max-width: 50%;
  }

  .main-visual {
    padding: 20px 20px;
  }

  .logo img {
    height: 40px;
    width: auto;
  }

  .sns-icons {
    flex: 1 1 50%;
    max-width: 50%;
    justify-content: flex-end;
    margin-top: 0;
  }

  .sns-icons img {
    width: 25px;
    height: 25px;
  }

  .content-row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .sub-btn-wrap {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .sub-btn {
    width: auto;
  }

  .button-start {
    align-self: auto;
  }
  }
}