main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wrapper {
  position: relative;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.overlay_bg--block {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  z-index: 0;
  filter: blur(20px);
  opacity: 0.25;
}

.body-lock {
  overflow: hidden;
  touch-action: none;
}

/* sec1 */
.sec1,
.sec2,
.sec3,
.sec4,
.sec5,
.sec6,
.sec7,
.sec8,
.sec9 {
  position: relative;
}

.lang-wrap {
  position: fixed;
  top: 10px;
  right: 5px;
  display: inline-block;
  z-index: 10;
}

.lang-select {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 35px;
  height: 35px;

  gap: 6px;
}

.lang-dropdown {
  position: absolute;
  top: 120%;
  right: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.lang-dropdown.show {
  opacity: 1;
  visibility: visible;
}

.lang-dropdown li {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  /* padding: 8px 12px; */
  cursor: pointer;
  border: 2px solid #fff;
  color: #fff;
  transition: background 0.2s;
  margin-bottom: 10px;
  font-size: 12px;
}

.lang-dropdown li:hover {
  background: #f0f0f0;
  color: #222;
}

/* Link pin (clickable overlay) styles ---------------------------------- */
.link-pin {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: 10px;
  /* overflow: hidden; */
  /* border: 2px solid #000; */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.close--btn {
  position: relative;
}

.link-pin:focus {
  outline: none;
}

.ball {
  position: relative;
  pointer-events: none;
  /* container shouldn't block clicks, individual pins will */
  z-index: 999;
}

.ball .img--block {
  pointer-events: auto;
  /* allow image content to receive pointer events */
}

.ball .link-pin {
  transform: none;
  /* respect inline top/left values */
  pointer-events: auto;
  /* keep links clickable */
  z-index: 1000;
}

.sec3 .swiper {
  width: 100%;
  height: 100%;
}

.sec3 .swiper .swiper-wrapper {
}

.sec3 .swiper .swiper-slide {
  position: relative;
}

.sec3 .swiper .swiper-slide .swiper--link {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: start;
  text-align: center;
  padding: 10px;
  width: 100%;
  /* height: 100%; */
}

.sec3 .swiper .swiper-slide .swiper--link .title {
  font-size: 18px;
  padding: 3px 18px;
  background: var(--point-color);
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
}

.sec3 .swiper .swiper-slide .swiper--link .desc {
  font-size: 14px;
  /* margin-bottom: 10px; */
}

.sec3 .swiper .swiper-slide .swiper--link .desc span {
  color: var(--point-color);
  font-size: 20px;
}

.sec3 .swiper .img--block {
  overflow: hidden;
  width: 100%;
  height: 160px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  border: 1px solid var(--point-color);
}

.sec3 .swiper .img--block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec3 .btn {
  top: 60% !important;

  color: var(--point-color);
}

.sec3 .btn.next {
}

.sec3 .btn.prev {
}

#pc-wide .sec3 .swiper {
  overflow: visible;
}

.sec5 .btn {
  color: #fee299;
}

.sec5 {
  position: relative;
}

.sec5swiper {
  overflow: hidden;
}

.sec5 .swiper {
  overflow: visible !important;
}

@media (min-width: 1400px) {
  .sec5 .btn.next {
    right: 25%;
    top: 36%;
  }

  .sec5 .btn.prev {
    left: 25%;
    top: 36%;
  }
}

@media (max-width: 1399px) {
  .sec5 .btn.next {
    right: 15%;
    top: 36%;
  }

  .sec5 .btn.prev {
    left: 15%;
    top: 36%;
  }
  .layer-content {
    padding: 0 10% !important;
  }
}

@media (min-width: 1170px) {
  .sec3 .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    transform: none !important;
  }

  /* 슬라이드 높이 자동 */
  .sec3 .swiper-slide {
    width: auto !important;
  }

  /* 네비게이션 숨기기 */
  .sec3 .swiper-button-next,
  .sec3 .swiper-button-prev,
  .sec3 .swiper-pagination {
    display: none;
  }
}

@media (max-width: 1169px) {
  .sec3 .swiper .swiper-slide .swiper--link {
    justify-content: center;
  }

  .sec3 .btn {
    width: 30px;
    height: 30px;
    top: 65% !important;
  }

  .sec3 .btn.next {
    right: 18%;
  }

  .sec3 .btn.prev {
    left: 18%;
  }
  .sec3 .swiper-pagination{
    display: block !important;
  }
}

@media screen and (max-width: 576px) {
  .layer-content {
    padding: 0% !important;
  }
  .sec3 .swiper .swiper-slide .swiper--link {
    padding: 5px;
  }

  .sec3 .swiper .swiper-slide .swiper--link .title {
    font-size: 15px;
    padding: 3px 10px;
  }

  .sec3 .swiper .swiper-slide .swiper--link .desc {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .sec3 .swiper .swiper-slide .swiper--link .desc span {
    font-size: 16px;
  }

  .sec3 .btn {
    width: 20px;
    height: 20px;
    top: 80% !important;
  }

  .sec3 .btn.next {
    right: 50px;
  }

  .sec3 .btn.prev {
    left: 50px;
  }

  .sec5 .btn {
    width: 20px;
    height: 20px;
    top: 37% !important;
  }

  .sec5 .btn.next {
    right: 13%;
  }

  .sec5 .btn.prev {
    left: 13%;
  }
}

/* Responsive heights for .sec3 .swiper .img--block */
@media (max-width: 1700px) {
  #pc-wide .sec3 .swiper .img--block {
    height: 130px;
  }
}

@media (max-width: 1520px) {
  #pc-wide .sec3 .swiper .img--block {
    height: 130px;
  }
}

@media (max-width: 1450px) {
  #pc-wide .sec3 .swiper .img--block {
    height: 120px;
  }
}

/* @media (max-width: 1319px) {
    .sec3 .swiper .img--block {
        height: 150px;
    }
} */
@media (max-width: 1335px) {
  .sec3 .swiper .img--block {
    height: 150px;
  }
}
@media (max-width: 1280px) {
  .sec3 .swiper .img--block {
    height: 140px;
  }
}

@media (max-width: 1220px) {
  .sec3 .swiper .img--block {
    height: 130px;
  }
}
@media (max-width: 1170px) {
  .sec3 .swiper .img--block {
    height: 100%;
  }
}
@media (max-width: 375px) {
  .sec3 .swiper .img--block {
    height: 120px;
  }
}
@media (max-width: 320px) {
  .sec3 .swiper .img--block {
    height: 100px;
  }
}
.layer-wrap {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: flex-start;
  /* ⬅ 가운데 NO, 위에서 시작하게 */
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 9999;
  padding: 25px;
  overflow-y: auto;
  /* ⬅ 부모에서도 스크롤 가능 */
  margin: 0 auto;
  transition: all 0.4s ease;
}

.layer-wrap.active {
}

.layer-content {
  background: transparent;
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  margin: 60px auto;
  /* 화면 위 아래 공간 확보 */
  max-height: none;
  /* 제한 없애기 */
  padding: 0 20%;
  transition: all 0.4s ease;
}

/* footer */
.footer-wrap {
  padding: 40px 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Pretendard", sans-serif;
  background: #fff;
}

.footer-logo img {
  width: 220px;
  /* 필요 시 조절 */
}

.footer-info {
  font-size: 15px;
  color: #575757;
}

.footer-info .footer-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 6px;
  color: #000;
}

@media screen and (max-width: 840px) {
  .footer-wrap {
    align-items: start;
    flex-direction: column;
    gap: 30px;
    padding: 40px 30px;
  }
}

@media screen and (max-width: 576px) {
  .footer-logo img {
    width: 120px;
  }

  .footer-wrap {
    gap: 20px;
    padding: 30px 10px;
  }

  .footer-info {
    font-size: 10px;
  }

  .footer-info .footer-title {
    font-size: 12px;
  }
}

@media screen and (max-width: 375px) {
  .footer-logo img {
    width: 120px;
  }
}

@media screen and (min-width: 1401px) {
  #pc-wide {
    display: block;
  }

  #mo-wide {
    display: none;
  }

  .wrapper {
    max-width: 1920px;
  }
}

@media screen and (max-width: 1400px) {
  #pc-wide {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  #mo-wide {
    display: block;
  }
}
