/*====== Hero ======*/
.hero-content {
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  min-height: calc(min(100vw, var(--content-width)) + 4rem);
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
  transform: translate3d(0px, 0, 0);
  aspect-ratio: 1 / 1;
}

@media (min-width: 600px) {
  .hero {
    aspect-ratio: 2 / 1;
  }

  .hero-content {
    min-height: calc(min(100vw, var(--content-width)) * 0.5 + 4rem);
  }
}

.swiper-pagination-bullet {
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #ccc;
  transition: border-width 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
  opacity: 1;
  overflow: hidden;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 1.2rem;
}

.swiper-pagination-bullet-active {
  border: none;
  background-color: #999;
}

.swiper-pagination-bullet-active::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1rem;
  height: 2rem;
  transform-origin: right 50%;
  background-color: #eee;
  border-radius: 1rem 0 0 1rem;
  z-index: 2;
  animation: circle-left 6s linear forwards;
}

.swiper-pagination-bullet-active::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 1rem;
  height: 2rem;
  transform-origin: left 50%;
  background-color: #eee;
  border-radius: 0 1rem 1rem 0;
  z-index: 3;
  animation: circle-right 6s linear forwards;
}

.swiper-pagination-bullet > span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.6rem;
  height: 1.6rem;
  background-color: #fff;
  border-radius: 0.8rem;
  transform: translate(-50%, -50%);
  z-index: 4;
  opacity: 0;
}

.swiper-pagination-bullet-active > span {
  opacity: 1;
}

@keyframes circle-left {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(0deg);
  }
  50.1% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

@keyframes circle-right {
  0%  {
    transform: rotate(0deg);
    background-color: #eee;
  }
  50% {
    transform: rotate(180deg);
    background-color: #eee;
  }
  50.1% {
    transform: rotate(360deg);
    background-color: #999;
  }
  100% {
    transform: rotate(360deg);
    background-color: #999;
  }
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup_wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.popup_wrap input {
  display: none;
}
.popup_trigger {
  position: absolute;
}
.popup_content {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: none;
}
.close_btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background: #fefefe;
  color: #000;
  border-radius: 15px;
  line-height: 1;
}
.popup_wrap input:checked ~ .popup_content {
  display: block;
}

@media (max-width: 800px) {
  .popup_content {
 &#160;  max-width: 200px;
  }
}