:root {
  /* 공통 */
  --color-header: #252525;
  --color-body: #000000;
  --color-primary: #000770;
  --color-secondary: #00BAF0;

  --color-skyblue: #00baf0;
  --color-poscoBlue: #00588A;
  --color-green: #009e3b;
  --color-orange: #f39800;
  --color-light-green: #9ae05f;
  --color-gray: #D3D3D3;
  --color-dark-gray: #5B5A70;

  --color-bg-yellow: #fcf8d0; /* 공통 노란 배경 */
  --color-bg-white: #f8f6f4; /* 공통 흰색 배경 */

  /* slide1 */
  --slide1-bg1: #fff9d0;
  --slide1-bg2: #d9f1e3;
  --slide1-bg3: #ccefff;

  /* slide2 */
  --slide2-bg: var(--color-bg-yellow);

  /* slide3 */
  --slide3-bg: #f8f6f4;
  --slide3-boxBg: #e6f6d9;

  /* slide4 */
  --slide4-bg: var(--color-bg-yellow);
  --slide4-border: #bdbdbd;
  --slide4-tabBorder: rgba(255,255,255,0.5);
  --slide4-color1: #00BFF2;
  --slide4-color2: #FFA62A;
  --slide4-color3: #40A11F;

  /* slide5 */
  --slide5-bg: var(--color-bg-white);
  --slide5-title: #007aff;
  --slide5-link: #aee084;
}


html,
body {
  position: relative;
  height: 100%;
}

body {
  background: #f8f6f4;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 1em;
  color: var(--color-primary);
  margin: 0;
  padding: 0;
}

.special {
  font-family: "GmarketSans", sans-serif;
}
.mobile {
  display: none;
}

.main-swiper {
  width: 100%;
  height: 100%;
}

.main-swiper .swiper-slide {
  min-width: 335px;
  text-align: center;
  font-size: 18px;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100dvh;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

}


.main-swiper .footer-slide {
  height: 320px !important;
}

@media (max-width: 940px) {
  .main-swiper .swiper-slide {
    height: auto;
  }
  .slide1-swiper .swiper-slide {
    padding: 140px 0;
  }
  .main-swiper .slide2 {
    padding: 80px 0 120px;
  }
  .slide2-swiper-box {
    bottom: 50px;
  }
  .main-swiper .slide3,
  .main-swiper .slide4,
  .main-swiper .slide5 {
    padding: 80px 0;
  }
}

.header-box {
  position: fixed;
  top: 50px;
  width: 100%;
  padding: 0 20px;
  z-index: 99;
  transition: all 0.2s;
}
.header-box._bg {
  background: #fff;
  top:0;
  transition: all 0.2s;
  padding: 10px 0;
}
h1 {
  position: relative;
  z-index: 50;
}
.nav-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  /* background-color: skyblue; */
  margin: 0 auto;
  color: var(--color-body);
}
.nav-box > h1 {
  max-width: 190px;
}
.nav.custom-pagination {
  display: inline-flex;
  align-items: flex-end;
  column-gap: 28px;
}

.custom-pagination-item {
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}
.custom-pagination .custom-pagination-item {
  color: var(--color-body);
}
.custom-pagination-item.active {
  font-weight: 800;
}
.custom-pagination-item b {
  font-weight: 800;
}

.custom-pagination .home-icon {
  width: 24px;
  height: 20px;
  /* background: url(../img/main/home-icon-black.png) no-repeat center / cover; */
  background: url(../img/main/home-icon-black.png) no-repeat center / cover;
}
.home .custom-pagination .home-icon {
  background: url(../img/main/home-icon-black.png) no-repeat center / cover;
}

@media (max-width: 1440px) {
  .header-box {
    top:20px;
  }
}
@media (max-width: 1024px) {
  .header-box {
    top: 0;
    padding: 5px 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .06);
  }
  h1 {
    max-width: 160px;
  }
  .mobile.btn {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px 0;
    width: 24px;
    height: 48px;
    z-index: 50;
  }
  .mobile.btn > span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-header);
  }
  .mobile.btn.active > span:first-child {
    transform: rotate(45deg) translateY(-3px);
    transform-origin: left;
  }
  .mobile.btn.active > span:nth-child(2) {
    display: none;
  }
  .mobile.btn.active > span:last-child {
    transform: rotate(-45deg) translateY(4px);
    transform-origin: left;
  }
  .nav-wrap {
    display: none;
  }
  .nav-wrap.open {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    height: 100dvh;
    padding: 100px 20px;
    background-color: var(--color-bg-white);
  }
  .nav-wrap .nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 30px;
  }

  .nav-wrap .custom-pagination-item:not(.home-icon) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 52px;
    border: 1px solid var(--slide4-border);
    border-radius: 12px;
    background-color: var(--color-bg-yellow);
    font-size: 14px;
  }
}

.sub-nav {
  background-color: var(--color-primary);
  max-width: 800px;
  height: 40px;
  border-radius: 24px;
  margin: 36px auto 0;
  display: flex;
  align-items: center;
  padding: 4px;
  position: relative;
}
.sub-nav li {
  flex:1;
  position: relative;
}
.sub-nav .businessBtn {flex: 0;}
.sub-nav li:nth-child(3)::before,
.sub-nav li:nth-child(3)::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 1px;
  height: 13px;
  background-color: rgba(255,255,255,0.5);
}
.sub-nav li:nth-child(3)::before {
  left: -3px;
}
.sub-nav li:nth-child(3)::after {
  right: -4px;
}

.sub-nav a {
  color: var(--color-dark-gray);
  display: block;
  text-align: center;
  font-size: clamp(12px, 16px);
  padding-top: 4px;
}
.sub-nav a.focus, .sub-nav a:hover {
  color: #fff;
}
.sub-nav .businessBtn a {
  height: 32px;
  width: 140px;
  background-color: #00C0F3;
  color: #fff;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 36px;
  padding-right: 36px;
  border-radius: 38px;
}
.sub-nav .businessBtn a:hover{
  background-color: #C9DC5D;
}

.nav-wrap.anchor {
  position: fixed;
  right: 36px;
  bottom: 90px;
  z-index: 9;
}
.nav-wrap.anchor.sub {
  bottom: 40%;
}
.nav-wrap.anchor .nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:15px;
}
.nav-wrap.anchor.sub .nav {
  gap:40px;
}
.nav-wrap.anchor .nav .custom-pagination-item {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-body);
}
.nav-wrap.anchor .nav .custom-pagination-item.active {
  font-weight: 800;
}

@media (max-width: 1024px) {
  .sub-nav {
    width: 100%;
    height: 36px;
  }
  .sub-nav .businessBtn a {
    height: 28px;
    width: 122px;
  }
  .nav-wrap.anchor {
    display: none;
  }
}

@media (max-width: 600px) {
  .sub-nav .businessBtn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
  }
}
@media (max-width: 480px) {
  .sub-nav .businessBtn, .sub-nav .businessBtn a {
    width: 100%;
  }
}

/* flex box */
.flexBox {display: flex;}
	.flexBox._inline {display: inline-flex;}
  .flexBox._allCenter {justify-content: center; align-items: center;}
  .flexBox._betweenCenter {justify-content: space-between; align-items: center;}
  .flexBox._between {justify-content: space-between;}
  .flexBox._alignCenter {align-items: center;}
  .flexBox._alignStart {align-items: flex-start;}
  .flexBox._alignEnd {align-items: flex-end;}
  ._wrap {flex-wrap: wrap;}
  ._column {flex-direction: column;}

  .flex1 {flex:1;}
  .flex2 {flex:2;}
  .flex3 {flex:3;}
  .flexShrink0 {flex-shrink: 0;}
  .flexAuto {flex:auto;}

	.gap8 {gap:8px;}
	.gap16 {gap:16px;}
	.gap24 {gap:24px;}

/* margin */
.mt10 {margin-top: 10px;}
