/* reset */
* {
  margin: 0;
  padding: 0;
  word-break: keep-all;
  box-sizing: border-box;
}

*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

b,
strong {
  font-weight: inherit;
}

i,
em,
address {
  font-style: inherit;
}

img {
  max-width: 100%;
  display: block;
}

span {
  display: block;
}

/* common */
html {
  font-family: 'Paperlogy';
  font-weight: 400;
  font-size: 10px;
  background: #fff;
  color: #222;
  line-height: 1.5;
  letter-spacing: -0.04em;
}

html *.Paperlogy {
  font-family: 'Paperlogy';
}

.page {
  overflow: hidden;
  width: 100%;
}

.innertop {
  padding-top: 14rem;
}

.innerbottom {
  padding-bottom: 14rem;
}

.container {
  max-width: 1280px;
  width: 95%;
  margin: 0 auto;
}

.container14 {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
}

.screen_out {
  position: absolute;
  top: -9999em;
}

.ir_pm {
  text-indent: -9999em;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0;
}

p {
  font-size: 20px;
  line-height: 1.7;
}

*.m200 {
  margin-bottom: 20rem;
}

*.m100 {
  margin-bottom: 10rem;
}

*.m80 {
  margin-bottom: 8rem;
}

*.m70 {
  margin-bottom: 7rem;
}

*.m60 {
  margin-bottom: 6rem;
}

*.m50 {
  margin-bottom: 5rem;
}

*.m40 {
  margin-bottom: 4rem;
}

*.m30 {
  margin-bottom: 3rem;
}

*.m20 {
  margin-bottom: 2rem;
}

*.m10 {
  margin-bottom: 1rem;
}

*.m5 {
  margin-bottom: 0.5rem;
}

*.c {
  text-align: center;
}

* b {
  font-weight: 700;
}

/* popup */
.popups {
  position: absolute;
  z-index: 9999999;
}

#popup_10 {
  z-index: 99999101;
}

#popup_9 {
  z-index: 99999102;
}

#popup_8 {
  z-index: 99999103;
}

#popup_7 {
  z-index: 99999104;
}

#popup_6 {
  z-index: 99999105;
}

#popup_5 {
  z-index: 99999106;
}

#popup_4 {
  z-index: 99999107;
}

#popup_3 {
  z-index: 99999108;
}

#popup_2 {
  z-index: 99999109;
}

#popup_1 {
  z-index: 99999110;
}

.popup_wrap {
  width: 100%;
  max-width: 450px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.popup_foot {
  padding: 10px;
  font-size: 1.5rem;
}

.popup_foot>div {
  display: flex;
  justify-content: space-between;
}

.popup_foot label span {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.popup_close {
  cursor: pointer;
}

.popup_wrap.introani {
  animation: introanimation .8s forwards ease;
}

/* 슬라이드 팝업 스타일 */
.popup_slider_wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999999;
  display: flex;
  flex-direction: column;
  max-width: 1500px;
  width: 90%;
  max-height: 80vh;
  overflow: hidden;
}

.popup_slider_main {
  display: flex;
  flex-direction: row;
  flex: 1;
  overflow: hidden;
}

.popup_slider_content {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  aspect-ratio: 5/3;
  overflow: auto;
  justify-content: center;
  /* min-height: 400px; */
}

.popup_slide_item {
  display: none;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.popup_slide_item.active {
  display: flex;
  opacity: 1;
  position: relative;
}

.popup_slide_inner {
  width: 100%;
  height: 100%;
}

.popup_slide_inner img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.popup_slide_inner a {
  display: block;
  width: 100%;
  height: 100%;
}

/* 오른쪽 페이지네이션 네비게이션 */
.popup_pagination_nav {
  width: 200px;
  background: #e9e9e9;
  display: flex;
  flex-direction: column;
  z-index: 10;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.popup_nav_title {
  background: #083781;
  color: #fff;
  padding: 20px;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.popup_nav_list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  margin: 0;
  list-style: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup_nav_item {
  padding: 15px 20px;
  background: #fff;
  color: #333;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  word-break: keep-all;
}

.popup_nav_item:hover {
  background: #f0f0f0;
}

.popup_nav_item.active {
  background: #083781;
  color: #fff;
  font-weight: 700;
}

.popup_slider_wrap .popup_foot {
  width: 100%;
  background: #333;
  color: #fff;
  padding: 15px 20px;
  font-size: 1.4rem;
  z-index: 20;
  flex-shrink: 0;
}

.popup_slider_wrap .popup_foot>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup_slider_wrap .popup_foot label {
  color: #fff;
}

.popup_slider_wrap .popup_foot label span {
  color: #fff;
  font-size: 1.4rem;
}

.popup_slider_wrap .popup_close {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.popup_slider_wrap .popup_close:hover {
  opacity: 0.7;
}

/* 모바일 반응형 */
@media (min-width:0px) and (max-width:900px) {
  .popup_slider_wrap {
    max-width: 95%;
    width: 95%;
    max-height: 90vh;
  }

  .popup_slider_main {
    flex-direction: column;
  }


  .popup_pagination_nav {
    width: 100%;
    height: auto;
    position: relative;
    max-height: 200px;
  }

  .popup_nav_title {
    padding: 15px;
    font-size: 1.6rem;
  }

  .popup_nav_list {
    position: relative;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    flex-direction: row;
    max-height: none;
  }

  .popup_nav_item {
    padding: 12px 15px;
    font-size: 1.3rem;
    white-space: nowrap;
    min-width: 120px;
    border-right: 1px solid #e0e0e0;
    border-bottom: none;
  }
}

/* color */
:root {
  --title-font: "Paperlogy";
  --title-size: 46px;
  --title-weight: 700;
  --title-line: 1.3;
  --title-tracking: -0.0092em;

  --title-sub-size: 35px;
  --title-sub-weight: 700;
  --title-sub-line: 1.2;
  --title-sub-tracking: -0.007em;

  --body-size: 20px;
  --body-weight: 400;
  --body-line: 1.8;
  --body-tracking: -0.004em;

  --body-m-font: "Paperlogy";
  --body-m-size: 25px;
  --body-m-weight: 400;
  --body-medium-weight: 700;
  --body-m-line: 1.4;
  --body-m-tracking: -0.005em;

  --body-s-font: "Paperlogy";
  --body-s-size: 18px;
  --body-s-weight: 500;
  --body-s-line: 1.5;
  --body-s-tracking: -0.036em;


  --Navy-Logo: #083781;
  --BK-main: #161616;
  --White: #fff;
  --BK-Logo: #222222;
  --Grey-01: #F5F5F5;
  --Grey-02: #C9C9C9;
  --Grey-03: #858585;
  --Grey-header-container: #ADADAD;
  --text-focus01: #C9D6FF;
  --Grey-title-dark: #4B4B4B;
  --sk: linear-gradient(90deg, #4B7ECF 0%, #719EE6 31.73%, #083781 100%)
}

.font-title {
  font-family: var(--title-font);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-line);
  letter-spacing: var(--title-tracking);
}

.font-title-sub {
  font-size: var(--title-sub-size);
  font-weight: var(--title-sub-weight);
  line-height: var(--title-sub-line);
  letter-spacing: var(--title-sub-tracking);
}

.font-body {
  font-family: var(--body-font);
  font-size: var(--body-size);
  font-weight: var(--body-weight);
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--Grey-title-dark);
}

.font-body-b {
  font-family: var(--body-font);
  font-size: var(--body-size);
  font-weight: 700;
  line-height: var(--body-line);
  letter-spacing: var(--body-tracking);
  color: var(--Grey-title-dark);
}

.font-body-medium {
  font-family: var(--body-m-font);
  font-size: var(--body-m-size);
  font-weight: var(--body-medium-weight);
  line-height: var(--body-m-line);
  letter-spacing: var(--body-m-tracking);
  color: var(--BK-Logo);
}

.font-body-medium-m {
  font-family: var(--body-m-font);
  font-size: var(--body-m-size);
  font-weight: var(--body-m-weight);
  line-height: var(--body-m-line);
  letter-spacing: var(--body-m-tracking);
}

.font-body-small {
  font-family: var(--body-s-font);
  font-size: var(--body-s-size);
  font-weight: var(--body-s-weight);
  line-height: var(--body-s-line);
  letter-spacing: var(--body-s-tracking);
}


.font-body-medium-m i {
  color: #C9D6FF;
}

.font-body-small i {
  color: var(--Navy-Logo);
  font-weight: 700;
}

/* quick */

#top_button {
  cursor: pointer;
}

#top_button .img_wrap img {
  display: block;
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1);
}


#quick-placeholder {
  position: fixed;
  bottom: 40px;
  right: 2vw;
  z-index: 100000;
  font-size: 14px;

}

#quick-placeholder ul {
  display: flex;
  flex-direction: column;

}

#quick-placeholder ul li {
  padding: 21px;
  position: relative;
}

#top_button {
  padding: 19px 24px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.03);
  background: #fff;
  color: var(--BK-Logo);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 15px;
  transition: color 0.3s ease, transform 0.3s ease;
  isolation: isolate;
}

.ripple-btn {
  position: relative;
  overflow: hidden;
}

/* ripple (완전 바닥 레이어) */
#top_button::before {
  content: "";
  position: absolute;
  top: var(--ry, 50%);
  left: var(--rx, 50%);
  width: 0;
  height: 0;
  background: var(--Navy-Logo);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: -1;
  /* 🔽 무조건 콘텐츠 아래 */
}

/* hover 시 퍼짐 */
#top_button:hover::before {
  width: 300%;
  height: 300%;
}

/* hover 시 텍스트 흰색 */
#top_button:hover {
  color: #fff;
}

/* 이미지 흰색 */
#top_button:hover img {
  filter: brightness(0) invert(1);
}

.ripple-btn .ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 1;
}


/* 내용물은 항상 위 */
.ripple-btn> :not(.ripple) {
  position: relative;
  z-index: 2;
}

#quick-placeholder ul li:nth-of-type(1) {
  background: var(--Navy-Logo);
  border-radius: 15px 15px 0 0;
}

#quick-placeholder ul li:nth-of-type(2) {
  background: #2258AE;
}

#quick-placeholder ul li:nth-of-type(3) {
  background: #4B7ECF;
}

#quick-placeholder ul li:nth-of-type(4) {
  background: #719EE6;
  border-radius: 0 0 15px 15px;
  margin-bottom: 10px;
}


#quick-placeholder ul li a {
  text-align: center;
  transition: all .5s;
  position: relative;
  color: var(--White);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  gap: 5px;
}

#quick-placeholder ul li .img_wrap {
  width: 100%;
  height: 33px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .5s;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

#quick-placeholder ul li:last-child .img_wrap {
  padding: 0px;
  width: 25px;
}

#quick-placeholder li img {
  max-width: 34px;
  width: 100%;
  object-fit: contain;
}

#quick-placeholder li .top img {
  width: 20px;
}

.q_txt {
  border-radius: 25px 0 0 25px;
  width: 0px;
  opacity: 0;
  height: 50px;
  background: linear-gradient(-45deg, #203458, #3b69a4);
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateX(-100%);
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  transition: width .5s;
}

#quick-placeholder ul li a:hover .q_txt {
  width: 130px;
  padding-right: 25px;
  opacity: 1;
}

/*  */
.quick_logo {
  max-width: 80px;
  border-radius: 50%;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, .1);
  animation: quick_logo 1.2s ease-in-out infinite;
  cursor: pointer;
}

@keyframes quick_logo {
  0% {
    transform: translateY(10px);
  }

  50% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(10px);
  }
}

#quick-placeholder .quick {
  display: flex;
  justify-content: end;
  flex-direction: column;
  align-items: end;
  gap: 10px;
}

#quick-placeholder .quick_m {
  display: none;
  border-top: 1px solid #22200047;
}

@media (min-width:0px) and (max-width:1280px) {

  .innertop {
    padding-top: 8rem;
  }

  .innerbottom {
    padding-bottom: 8rem;
  }

  *.m200 {
    margin-bottom: 18rem;
  }

  *.m100 {
    margin-bottom: 8rem;
  }

  *.m80 {
    margin-bottom: 5rem;
  }

  *.m70 {
    margin-bottom: 4.5rem;
  }

  *.m60 {
    margin-bottom: 4rem;
  }

  *.m50 {
    margin-bottom: 3.5rem;
  }

  *.m40 {
    margin-bottom: 2.5rem;
  }

  *.m30 {
    margin-bottom: 2rem;
  }

  p {
    font-size: 1.8rem;
  }
}

@media (min-width:0px) and (max-width:900px) {
  *.m200 {
    margin-bottom: 16rem;
  }

  *.m100 {
    margin-bottom: 6rem;
  }

  *.m80 {
    margin-bottom: 4rem;
  }

  *.m70 {
    margin-bottom: 4rem;
  }

  *.m60 {
    margin-bottom: 4.5rem;
  }

  *.m50 {
    margin-bottom: 3rem;
  }

  *.m20 {
    margin-bottom: 1.5rem;
  }


  p {
    font-size: 18px;
  }

  /* popup */
  .popup_wrap {
    top: 65px !important;
    left: 0 !important;
  }

  .innertop {
    padding-top: 6rem;
  }

  .innerbottom {
    padding-bottom: 6rem;
  }

}

@media (min-width:0px) and (max-width:500px) {
  *.m200 {
    margin-bottom: 10rem;
  }

  *.m100 {
    margin-bottom: 4rem;
  }

  *.m60 {
    margin-bottom: 2.5rem;
  }

  *.m50 {
    margin-bottom: 1.5rem;
  }

  *.m20 {
    margin-bottom: 1rem;
  }

  .innertop {
    padding-top: 4rem;
  }

  .innerbottom {
    padding-bottom: 4rem;
  }

  /* quick */
  #quick-placeholder {
    bottom: 0;
    right: 0;
    width: 100%;
    transform: translateY(0%);
  }

  #quick-placeholder ul {
    flex-direction: row;
    width: 100%;
  }

  #quick-placeholder ul li {
    width: 100%;
    padding: 15px;
  }

  #quick-placeholder ul li:nth-of-type(1) {
    border-radius: 5px 0px 0 0;
  }

  #quick-placeholder ul li:nth-of-type(4) {
    border-radius: 0px;
    margin-bottom: 0px;
  }

  #quick-placeholder ul li:last-child {
    border-radius: 0 5px 0 0;
  }

  #quick-placeholder ul li .img_wrap {
    width: 40px;
  }

  #quick-placeholder ul li a {
    font-size: 12px;
  }

  #quick-placeholder li img {
    max-width: 30px;
  }

  .popup_slider_wrap .popup_foot {
    padding: 5px 10px;
  }

  .popup_slider_wrap .popup_foot label span {
    font-size: 12px;
  }

  .popup_slider_wrap .popup_close {
    font-size: 14px;
  }
}