*:not([class*="leading-"]) {
  line-height: 1.5;
}

.product-auth .swiper-slide {
  height: auto;
}

#popParent {
  display: none;
}
.pop-parent {
  z-index: 9999;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding-bottom: 40px;
  background-color: rgba(0, 0, 0, 0.35);
}
.pop-parent .pop {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
}
.pop-parent .m-ratioBox-wrap {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
}
.pop-parent .m-ratioBox-wrap .m-ratioBox {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--sub_color01);
}
.pop-parent .m-ratioBox-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 1;
}
.pop-parent .m-ratioBox-wrap iframe {
  width: 105%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  z-index: 1;
}
.pop-parent .pop .btn-toggle {
  width: 40px;
  height: 40px;
  position: relative;
  background-color: black;
  cursor: pointer;
}
.pop-parent .pop .btn-toggle img {
  width: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  transition: all 0.3s;
}
.pop-parent .pop-btns {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 40px;
  background-color: #3c3c3c;
}
.pop-parent .pop-btns a {
  color: #fff;
  padding: 7px 14px;
}
.pop-parent .pop-btns #oneday_check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}
.pop-parent .pop-btns #oneday_check + label {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
}
.pop-parent .pop-btns #oneday_check + label:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border: 1px solid #fff;
}
.pop-parent .pop .swiper-btn-control {
  width: 8px;
  height: 11px;
  margin-left: 16px;
  position: relative;
  top: 2px;
}
.pop-parent .popupSwiper {
  background-color: #fff;
}
.pop-parent .swiper-pagination {
  pointer-events: none;
  top: 21px;
  left: auto;
  right: 20px;
  width: fit-content;
}
.pop-parent .swiper-pagination-bullet {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 0;
  border: 1px solid white;
  opacity: 0.5;
  background-color: transparent;
}
.pop-parent .swiper-pagination-bullet-active {
  background-color: #fff;
  opacity: 1;
}
.pop-parent .active {
  right: -400px;
}
.pop-parent .active .btn-toggle {
  transform: rotate(180deg);
}
.pop-parent .pop .btn-close {
  width: 40px;
  height: 40px;
  background-color: black;
}
.pop-parent .pop .btn-close > i {
  color: #fff;
}

.floating-btns-wrap {
  z-index: 99;
  position: fixed;
  bottom: 48px;
  right: 48px;
  opacity: 0;
  width: 48px;
  transition: 0.3s;
}

.floating-btns-wrap.active {
  opacity: 1;
}
.btn-scroll-top {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  border-radius: 100%;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.btn-scroll-top i {
  font-size: 24px;
  color: #464646;
  z-index: 2;
}

.btn-scroll-top .progress_bar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.btn-scroll-top .progress_bar::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background-color: #fff;
  border-radius: 100%;
}
.btn-menu {
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--color-gray-2);
}
.btn-menu .icon-open {
  display: block;
}
.btn-menu.on .icon-open {
  display: none;
}
.btn-menu .icon-close {
  display: none;
}
.btn-menu.on .icon-close {
  display: block;
}
.menu-items-wrap {
  display: none;
}
.btn-menu.on + .menu-items-wrap {
  display: flex;
}

@media screen and (max-width: 1279px) {
  .pop-parent .pop {
    width: 310px;
  }
  .pop-parent.active {
    right: -310px;
  }
}

@media screen and (max-width: 1023px) {
  .floating-btns-wrap {
    bottom: 16px;
    right: 16px;
  }
}

@media screen and (max-width: 767px) {
  .pop-parent {
    top: 50%;
    right: unset;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .pop-parent .pop-btns {
    width: 100%;
    justify-content: space-between;
  }
  .pop-parent .pop .btn-toggle {
    display: none;
  }
  .pop-parent .pop .btn-close {
    display: block;
  }
}

/* index */

/* index_banner */
.index-banner::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(/images/index_bg_vector_1.png);
  background-repeat: no-repeat;
  background-size: 100% 65svh;
  z-index: -1;
  background-position: bottom right;
}
.index-banner .bg-video {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

@media screen and (max-width: 1280px) {
  .index-banner::after {
    background-size: contain;
  }
}

/* index section */
.index-section-wrap {
  position: relative;
}
.index-section-wrap::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 70svh;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url(/images/index_bg_vector_2.png);
  background-repeat: no-repeat;
  background-size: 100% 56svh;
  z-index: -1;
  background-position: bottom right;
}
.index-section-wrap .bg-video {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 110vh;
  min-height: 100svh;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}
.bg-gray-gradient-box {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  position: relative;
  z-index: 0;
  transition: 0.3s;
}
.bg-gray-gradient-box.hover {
  cursor: pointer;
}
.bg-gray-gradient-box::after {
  content: "";
  display: block;
  position: absolute;
  width: calc(100% - 16px);
  height: 30%;
  top: 8px;
  left: 8px;
  right: 8px;
  background: linear-gradient(180deg, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
  z-index: -1;
  transition: 0.3s;
  border-radius: 16px;
}
.bg-gray-gradient-box.hover * {
  transition: 0.3s;
}
@media (hover: hover) {
  .bg-gray-gradient-box.hover:hover {
    border-color: #1465f4;
  }
  .bg-gray-gradient-box.hover:hover::after {
    background: linear-gradient(
      180deg,
      rgba(20, 101, 244, 0.1) 0%,
      rgba(20, 101, 244, 0) 100%
    );
  }
  .bg-gray-gradient-box.hover:hover .hover-icon {
    transform: rotate(180deg);
  }

  .bg-gray-gradient-box.hover:hover p {
    color: #1465f4;
  }
  .bg-gray-gradient-box.hover:hover .btn {
    background-color: #1465f4;
  }
}

input:checked + .bg-gray-gradient-box {
  border-color: #fff !important;
  background-color: #1465f4 !important;
}
input:checked + .bg-gray-gradient-box::after {
  opacity: 0 !important;
}
input:checked + .bg-gray-gradient-box p {
  color: #fff !important;
}
input:checked + .bg-gray-gradient-box .label {
  background-color: #fff !important;
  border-color: #fff !important;
}
input:checked + .bg-gray-gradient-box .label p {
  color: #1465f4 !important;
}
input:checked + .bg-gray-gradient-box * {
  border-color: #fff;
}
@media screen and (max-width: 1280px) {
  .index-section-wrap::after {
    display: none;
  }
  .index-section-wrap .bg-video {
    height: 100%;
    object-fit: cover;
  }
  .index-section-bg {
    position: relative;
  }
  .index-section-bg::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(/images/index_bg_vector_2.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    background-position: bottom;
  }
}

/* index swiper */
.index-section .swiper {
  padding-left: calc((100vw - 1280px) / 2);
  padding-right: 64px;
}
.sdk-slide .swiper-slide {
  width: 340px;
}
.license-slide .swiper-slide {
  width: 288px;
  height: auto;
  & > a {
    height: 100%;
  }
}
.case-slide .swiper-slide {
  width: 308px;
  height: auto;
  & > div {
    height: 100%;
  }
}

.license-slide.en .swiper-slide {
  width: 464px;
}
@media screen and (max-width: 768px) {
  .license-slide.en .swiper-slide {
    width: 288px;
  }
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: 32px;
  height: 32px;
  background-image: url(/images/icons/icon_arrow_circle_gray.png);
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: 0;
}
.swiper-button-prev.white,
.swiper-button-next.white {
  background-image: url(/images/icons/icon_arrow_circle_white.png);
}
.swiper-button-prev {
  transform: rotateY(180deg);
}
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

@media screen and (max-width: 1280px) {
  .sdk-slide .swiper-slide {
    width: 280px;
  }
  .index-section .case-slide {
    padding: 0 16px;
  }
  .case-slide .swiper-slide {
    width: 100%;
  }
}
@media screen and (max-width: 768px) {
  .sdk-slide-prev,
  .sdk-slide-next {
    background-image: url(/images/icons/icon_arrow_circle_white.png);
  }
}

/* index swiper tab */
.index-tab {
  position: relative;
  cursor: pointer;
}
.index-tab::after {
  content: "";
  display: block;
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #1050f0;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}
.index-tab::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #1050f0;
  bottom: -2px;
  opacity: 0;
}
.index-tab.text-white::after,
.index-tab.text-white::before {
  background-color: #fff;
}
.index-tab:not(.text-white).active {
  color: #1050f0;
}
.index-tab.active,
.index-tab.active::after,
.index-tab.active::before {
  opacity: 1;
}

/* index service */
.index-service {
  background-image: url(/images/index_service_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* purchase select */
.select-list {
  overflow: hidden;
  max-height: 0;
  transition: 0.3s;
}
.select-group.active .select-list {
  max-height: 700px;
}
.select-group.active .select-default {
  border-color: #1465f4;
  background-color: #fff;
}
.select-group.active .select-default * {
  color: #1465f4;
}
.select-group.active .select-default i {
  transform: rotate(180deg);
}
.select-list-tab {
  max-height: unset;
}
@media screen and (max-width: 1280px) {
  .select-list-tab {
    max-height: 0;
  }
}

/* 체크박스 */
.checked-item i.block {
  display: block;
}
.checked-item i.hidden {
  display: none;
}
input:checked + .checked-item i.block {
  display: none;
}
input:checked + .checked-item i.hidden {
  display: block;
}

/* 0905장세영 시작 */

.index-section.product .swiper {
  padding-left: calc((100vw - 1200px) / 2);
}

/* 상품 - 개발 및 실행 환경 정보 */
.index-section.product .index-tab:after {
  display: none;
}

.index-section.product .index-tab::before {
  display: none;
}

.index-section.product .index-tab.active {
  border-color: #000;
  color: #fff;
  background-color: #000;
}

.index-section.product .license-slide-prev {
  background: url("/images/icons/icon_prod_left.png") no-repeat center / contain;
  width: 24px; /* 이미지 크기 맞게 조정 */
  height: 24px;
}

.index-section.product .license-slide-next {
  background: url("/images/icons/icon_prod_right.png") no-repeat center /
    contain;
  width: 24px;
  height: 24px;
}

.index-section.product .swiper-button-prev {
  transform: unset;
}

.index-service.product {
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

/* 로그인 화면 login.html */

.login .index-banner::after {
  right: -347.77px;
  bottom: 0;
  background-size: 100% 100svh;
  background-image: url("/images/login_bg_vector_1.png");
}

@media (max-width: 1280px) {
  .login .index-banner::after {
    background-image: url(/images/index_bg_vector_1.png);
    background-size: contain;
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    z-index: -1;
    background-position: bottom right;
    top: -56%;
  }
}

.agree-checked {
  background-color: rgba(20, 101, 244, 0.1); /* #1465F4 10% 투명 */
}
/* 동의서 모달 */
.modal-pop {
  th,
  td {
    padding: 8px;
  }
  table {
    width: 100%;
    min-width: 600px;
    overflow-x: scroll;
  }
}
.dot-list {
  display: flex;
  flex-direction: column;
  gap: 4px;

  > li {
    position: relative;
    padding-left: 12px;

    &::after {
      content: "•";
      position: absolute;
      display: block;
      top: 0;
      left: 0;
      font-size: 12px;
    }
  }
  @media (max-width: 1280px) {
    > li {
      padding-left: 10px;

      &::after {
        font-size: 10px;
      }
    }
  }
}
.num-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 10px;

  > li {
    position: relative;
    padding-left: 18px;

    &::after {
      content: "";
      position: absolute;
      display: block;
      top: 0;
      left: 0;
      font-size: 14px;
    }
    &:nth-child(1)::after {
      content: "①";
    }
    &:nth-child(2)::after {
      content: "②";
    }
    &:nth-child(3)::after {
      content: "③";
    }
    &:nth-child(4)::after {
      content: "④";
    }
  }
  @media (max-width: 1280px) {
    > li {
      padding-left: 15px;

      &::after {
        font-size: 12px;
      }
    }
  }
}

/* 스크롤바 */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-custom::-webkit-scrollbar {
  display: none;
}

.scrollbar-custom {
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 101, 244, 0.6) transparent;
}

.scrollbar-custom::-webkit-scrollbar {
  height: 1px;
}

.scrollbar-custom::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
  background-color: rgba(20, 101, 244, 0.6);
  border-radius: 9999px;
  border: 2px solid #f5f5f5;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
  background-color: rgba(20, 101, 244, 0.8);
}

@media (max-width: 1280px) {
  .product-section .bg-gray-gradient-box::after {
    background: unset;
  }

  .product-section .case-slide .swiper-slide {
    width: 100%;
  }

  .index-section.product .swiper {
    padding-left: unset;
    padding-right: unset;
    max-width: calc(100% - 32px);
  }

  .index-section.product .swiper.en {
    padding-right: 24px;
  }

  .scrollbar-custom::-webkit-scrollbar {
    display: block;
  }
}

.fix-h {
  min-height: calc(14px * 1.5 * 4.3);
}

.fix-h16 {
  min-height: calc(16px * 1.5 * 3);
}

.fix-h14 {
  min-height: calc(14px * 1.4 * 8.3);
}

@media (max-width: 1280px) {
  .fix-h {
    min-height: unset;
  }

  .fix-h14 {
    min-height: calc(12px * 1.4 * 9.8);
  }
}

@media (max-width: 1440px) {
  .col-1440 {
    flex-direction: column;
  }

  .col-1440 label {
    width: 100%;
  }
}

@media (max-width: 573px) {
  .custom-max {
    max-width: calc(100% - 32px) !important;
  }
}

/* 폼 커스텀 */
form {
  input::placeholder,
  textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
    opacity: 1;
  }
  select:required:invalid {
    color: rgba(0, 0, 0, 0.4);
  }
  select option {
    color: black;
  }
}

/* 셀렉트 박스 커스텀 */
.custom-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  font-family: sans-serif;
  font-size: 16px;

  @media (max-width: 768px) {
    font-size: 14px;
  }

  .select-box {
    position: relative;
    width: 100%;
    background: #fff;

    .selected {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px solid rgba(0, 0, 0, 0.2);
      padding: 12px 16px;
      cursor: pointer;
      border-radius: 8px;

      @media (max-width: 768px) {
        border-radius: 4px;
      }

      &.style-10 {
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 15px 16px;

        @media (max-width: 768px) {
          padding: 12px 16px;
        }
      }

      .selectedOptionValue {
        color: rgba(0, 0, 0, 0.4);
        display: flex;
        gap: 8px;
      }
      .selectedOptionValue.active {
        color: rgba(0, 0, 0, 1);
      }
      .down {
        color: rgba(0, 0, 0, 0.5);
      }
    }

    .options {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid rgba(0, 0, 0, 0.2);
      border-radius: 4px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
      display: none;
      max-height: 200px;
      overflow-y: auto;
      z-index: 10;

      li {
        padding: 10px 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;

        &:hover {
          background: rgba(0, 0, 0, 0.05);
        }
      }
    }

    img {
      width: 20px;
      height: 20px;
      object-fit: contain;
    }
  }
}
