@charset "UTF-8";
html {
  overflow-y: auto;
}

body {
  position: relative;
  font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  min-width: 320px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.15;
  color: #222 !important;
}

#page-wrapper {
  position: relative;
  background-color: #fff;
  margin: 0 auto;
  overflow: hidden;
}

.area {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 760px;
  padding-left: 20px;
  padding-right: 20px;
}
@media screen and (max-width: 991.98px) {
  .area {
    padding-left: 16px;
    padding-right: 16px;
  }
}

#header {
  position: absolute;
  top: 24px;
}
@media screen and (max-width: 991.98px) {
  #header {
    top: 15px;
  }
  #header img {
    width: 70px;
  }
}

#footer {
  padding: 100px 0;
  font-size: 16px;
  font-weight: 300;
  text-align: center;
  color: #ccc;
  line-height: 2;
  background-color: #333;
}
@media screen and (max-width: 991.98px) {
  #footer {
    padding: clamp(50px, 2vw, 100px) 0;
    font-size: clamp(9px, 1.4vw, 16px);
  }
}
#footer .btn-fix-wrap {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media screen and (max-width: 991.98px) {
  #footer .btn-fix-wrap {
    bottom: 16px;
    right: 16px;
    gap: 6px;
  }
}
#footer .btn-fix-wrap .btn {
  cursor: pointer;
}
@media screen and (max-width: 1199.98px) {
  #footer .btn-fix-wrap .btn {
    width: 45px;
  }
}

.none {
  display: none !important;
}

.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

@media screen and (min-width: 375px) {
  .none-xs {
    display: none !important;
  }
}

@media screen and (min-width: 375px) {
  .block-xs {
    display: block !important;
  }
}

@media screen and (min-width: 544px) {
  .none-sm {
    display: none !important;
  }
}

@media screen and (min-width: 544px) {
  .block-sm {
    display: block !important;
  }
}

@media screen and (min-width: 768px) {
  .none-md {
    display: none !important;
  }
}

@media screen and (min-width: 768px) {
  .block-md {
    display: block !important;
  }
}

@media screen and (min-width: 768px) {
  .inline-block-md {
    display: inline-block !important;
  }
}

@media screen and (min-width: 992px) {
  .none-lg {
    display: none !important;
  }
}

@media screen and (min-width: 992px) {
  .block-lg {
    display: block !important;
  }
}

@media screen and (min-width: 1200px) {
  .none-xl {
    display: none !important;
  }
}

@media screen and (min-width: 1200px) {
  .block-xl {
    display: block !important;
  }
}

@media screen and (min-width: 992px) {
  .inline-block-lg {
    display: inline-block !important;
  }
}

@media screen and (min-width: 1200px) {
  .inline-block-xl {
    display: inline-block !important;
  }
}

@media screen and (min-width: 1440px) {
  .none-xxl {
    display: none !important;
  }
}

@media screen and (min-width: 1440px) {
  .block-xxl {
    display: block !important;
  }
}

@media screen and (min-width: 1600px) {
  .block-xxxl {
    display: block !important;
  }
}

@media screen and (min-width: 1300px) {
  .none-1300 {
    display: none !important;
  }
}

@media screen and (min-width: 1300px) {
  .block-1300 {
    display: block !important;
  }
}

@media screen and (max-width: 543.98px) {
  .sm-none {
    display: none;
  }
}

@media screen and (max-width: 767.98px) {
  .md-none {
    display: none;
  }
}

@media screen and (max-width: 991.98px) {
  .lg-none {
    display: none;
  }
}

@media screen and (max-width: 1199.98px) {
  .xl-none {
    display: none !important;
  }
}

@media screen and (max-width: 1439.98px) {
  .xxl-none {
    display: none !important;
  }
}

@media screen and (max-width: 1599.98px) {
  .xxxl-none {
    display: none !important;
  }
}

.a11y-hidden {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
}

.text-ell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*=================================================
            모달
=================================================*/
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  z-index: 900;
  /* 배경 (overlay 역할) */
}
.modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  padding: 35px 24px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 8px 5px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 991.98px) {
  .modal-content {
    padding: 24px 16px;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
@media screen and (max-width: 991.98px) {
  .modal-header {
    margin-bottom: 16px;
  }
}
.modal-header h2 {
  font-weight: 700;
  margin: 0;
}
.modal-header .modal-close {
  width: 24px;
  cursor: pointer;
}

.modal-body {
  font-size: 14px;
  min-height: 200px;
  line-height: 1.6;
  overflow-y: auto;
}

/* 열기 버튼 */
body.is-modal-open {
  overflow: hidden;
}

/*=================================================
            공통 요소
=================================================*/
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes swing {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
  75% {
    transform: rotate(-8deg);
  }
}