.stack-wrap {
  display: flex;
  justify-content: center;
}
.image-stack {
  position: relative;
}
.image-stack .base {
  max-width: 100%;
  height: auto;
  display: block;
}
.overlay-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 2;
}
.links-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-links);
  padding: 0 23.56vw;
}
.links-row a {
  display: inline-block;
}
.links-row img {
  display: block;
  max-width: 100%;
  height: auto;
}
.hero {
  position: relative;
}
.hero .overlay-16 {
  position: absolute;
  top: var(--hero16-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 33;
  width: var(--w-16);
  height: auto;
}
.hero .overlay-04 {
  position: absolute;
  top: var(--top-04);
  left: var(--x-04);
  z-index: 2;
  width: var(--w-04);
  height: auto;
}
.hero .overlay-05 {
  position: absolute;
  top: var(--top-05);
  left: var(--x-05);
  z-index: 4;
  width: var(--w-05);
  height: auto;
}
.hero .overlay-06 {
  position: absolute;
  top: var(--top-06);
  left: var(--x-06);
  z-index: 2;
  width: var(--w-06);
  height: auto;
}
.hero .overlay-07 {
  position: absolute;
  top: var(--top-07);
  left: var(--x-07);
  z-index: 1;
  width: var(--w-07);
  height: auto;
}
.hero .overlay-08 {
  position: absolute;
  top: var(--top-08);
  left: var(--x-08);
  z-index: 4;
  width: var(--w-08);
  height: auto;
}
.hero .overlay-09 {
  position: absolute;
  top: var(--top-09);
  left: var(--x-09);
  z-index: 2;
  width: var(--w-09);
  height: auto;
}

:root {
  --w-14: 22.57vw;
  --w-16: 11.2vw;
  --w-04: 9vw;
  --w-05: 8.6vw;
  --w-06: 8.88vw;
  --w-07: 7.96vw;
  --w-08: 8.56vw;
  --w-09: 7.37vw;
  --w-17: 81.66vw;
  --x-04: 22vw;
  --x-05: 29.2vw;
  --x-06: 36.5vw;
  --x-07: 54.7vw;
  --x-08: 60.7vw;
  --x-09: 68vw;
  --x-17: 10.417vw;
  --top-04: 21.5vw;
  --top-05: 20.5vw;
  --top-06: 20.5vw;
  --top-07: 21.5vw;
  --top-08: 22.5vw;
  --top-09: 20vw;
  --bottom-17: 9.245vw;
  --gap-links: 0.52vw;
  --margin14-top: 2.86vw;
  --margin14-bottom: 2.21vw;
  --hero16-top: 10.93vw;
}

@media (max-width: 768px) {
  :root {
    --w-14: 50vw;
    --w-16: 25vw;
    --w-common-mobile: 18vw;
    --w-04: var(--w-common-mobile);
    --w-05: var(--w-common-mobile);
    --w-06: var(--w-common-mobile);
    --w-07: var(--w-common-mobile);
    --w-08: var(--w-common-mobile);
    --w-09: var(--w-common-mobile);
    --w-17: 100vw;
    --x-04: 11vw;
    --x-05: 24.5vw;
    --x-06: 60vw;
    --x-07: 60vw;
    --x-08: 21.2vw;
    --x-09: 74.3vw;
    --x-17: 0;
    --top-04: 21.5vw;
    --top-05: 21.5vw;
    --top-06: 45.5vw;
    --top-07: 64vw;
    --top-08: 60.5vw;
    --top-09: 56vw;
    --bottom-17: 25vw;
    --stack-step: 8vw;
    --gap-links: 6.51vw;
    --margin14-top: 7vw;
    --margin14-bottom: 2.86vw;
  }
  .links-row {
    display: grid;
    gap: var(--gap-links);
    padding: 0 28.5vw;
  }

  .hero .overlay-18 {
    display: block !important;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18vw;
    height: auto;
    z-index: 5;
  }

  .hero .overlay-04 {
    top: auto;
    bottom: 31vw;
  }

  .hero .overlay-05 {
    top: auto;
    bottom: 32.5vw;
  }

  .hero .overlay-16 {
    top: auto;
    bottom: 0;
  }

  .hero .hover-download {
    font-size: 1.5vw !important;
    padding: 0.5vw 1vw !important;
  }
  .hero .hover-download img {
    width: 1vw !important;
    margin-right: 0.5vw !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --w-14: 30vw;
    --w-16: 12.5vw;
    --w-04: 12vw;
    --w-05: 11.5vw;
    --w-06: 11.8vw;
    --w-07: 10.6vw;
    --w-08: 11.4vw;
    --w-09: 9.8vw;
    --w-17: 81.66vw;
    --x-04: 13vw;
    --x-05: 23vw;
    --x-06: 33vw;
    --x-07: 55.3vw;
    --x-08: 64.3vw;
    --x-09: 73.3vw;
    --x-17: 10.417vw;
    --top-04: 24vw;
    --top-05: 22.5vw;
    --top-06: 21.5vw;
    --top-07: 23vw;
    --top-08: 24.5vw;
    --top-09: 17vw;
    --bottom-17: 9.245vw;
    --stack-step: 9vw;
    --gap-links: 0.7vw;
    --margin14-top: 5vw;
    --margin14-bottom: 3vw;
    --hero16-top: 11vw;
  }
  .hero .overlay-16 {
    top: var(--hero16-top);
  }
}

.image-stack .overlay-14 {
  margin: var(--margin14-top) 0 var(--margin14-bottom) 0;
  width: var(--w-14);
  display: block;
}

.hero .overlay-04,
.hero .overlay-05,
.hero .overlay-06,
.hero .overlay-07,
.hero .overlay-08,
.hero .overlay-09 {
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.hero .overlay-04:hover,
.hero .overlay-05:hover,
.hero .overlay-06:hover,
.hero .overlay-07:hover,
.hero .overlay-08:hover,
.hero .overlay-09:hover {
  opacity: 0.5;
  filter: brightness(0.6);
}

.hero .hover-download {
  position: absolute;
  display: none;
  z-index: 999;
  background: #e60023;
  color: #fff;
  padding: 0.4vw 0.8vw;
  border: none;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  font-size: 0.57vw;
  line-height: 1.2;
  font-family: sans-serif;
  text-decoration: none;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}
.hero .hover-download img {
  display: inline-block;
  width: 0.67vw;
  height: auto;
  margin-right: 0.4vw;
}

.hero .overlay-17 {
  position: absolute;
  bottom: var(--bottom-17);
  left: var(--x-17);
  z-index: 2;
  width: var(--w-17);
  height: auto;
  pointer-events: none;
}

.hero .overlay-dark {
  opacity: 0.5;
  filter: brightness(0.6);
}

.hero .overlay-18 {
  display: none;
}