@charset "utf-8";

html {
  scroll-behavior: auto;
}

body {
  margin: 68px 0 0;
}

body.menu_open {
  overflow: hidden;
}

.pc-only {
  display: block;
}

.mo-only {
  display: none;
}

/* 헤더 기본 */
#header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 100%;
  height: 68px;
  z-index: 101;
  background: #fff;
  backdrop-filter: blur(18px);
  box-sizing: border-box;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.06);
  transition: all 300ms ease;
}

#header .header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

#header h1.logo {
  margin: 0;
  flex: 0 0 auto;
}

#header h1.logo a {
  display: block;
}

#header h1.logo img {
  display: block;
  width: auto;
  height: 30px;
  max-width: 180px;
  transition: height .3s ease, opacity .3s ease;
}

#header .logo_img_color {
  opacity: 1;
}

#header .logo_img_white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  display: none;
}

/* 스크롤 */
#header.scroll_on {
  top: 40px;
  width: 100%;
  box-shadow: none;
}

/* PC 메뉴 */
#header .gnb {
  flex: 1 1 auto;
}

#header .gnb>ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}

#header .gnb ul li.depth01 {
  display: flex;
  align-items: center;
}

#header .gnb ul li.depth01>a {
  display: block;
  text-decoration: none;
}

#header .gnb ul li.depth01 span {
  position: relative;
  display: block;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 68px;
  color: #111;
  transition: color .3s ease;
}

#header .gnb ul li.depth01 span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 22px;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width .3s ease;
}

#header .gnb ul li.depth01>a:hover span,
#header .gnb ul li.depth01>a.active span {
  color: #111;
}

#header .gnb ul li.depth01>a:hover span::after,
#header .gnb ul li.depth01>a.active span::after {
  width: 100%;
}

/* 모바일 메뉴 버튼 기본 */
.all_gnb {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger {
  position: relative;
  display: block;
  width: 24px;
  height: 18px;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: #183230;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.hamburger .berger1 {
  top: 0;
}

.hamburger .berger2 {
  top: 8px;
}

.hamburger .berger3 {
  top: 16px;
}

.hamburger.open .berger1 {
  top: 8px;
  transform: rotate(45deg);
}

.hamburger.open .berger2 {
  opacity: 0;
}

.hamburger.open .berger3 {
  top: 8px;
  transform: rotate(-45deg);
}

/* 메뉴 열림 */
#header.open {
  width: 100%;
  max-width: none;
  height: 68px;
  border: 0;
  border-bottom: 1px solid rgba(24, 50, 48, .08);
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

#header.open .logo_img_color {
  opacity: 1;
}

#header.open .logo_img_white {
  opacity: 0;
}

#header.open .header_inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 전체 메뉴 */
.all_nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  background: rgba(248, 246, 242, .98);
  transition: opacity .3s ease, visibility .3s ease;
}

.all_nav.open {
  opacity: 1;
  visibility: visible;
}

.all_nav .nav-inner {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 110px 24px 40px;
  box-sizing: border-box;
  transform: translateY(-20px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.all_nav.open .nav-inner {
  transform: translateY(0);
  opacity: 1;
}

.m-nav-allmenu-list {
  border-top: 1px solid #dde9e7;
}

.m-gnb-allmenu-depth1 {
  border-bottom: 1px solid #dde9e7;
}

.m-gnb-allmenu-depth1>a {
  display: block;
  position: relative;
  padding: 20px 30px;
  color: #183230;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.03em;
  text-decoration: none;
  transition: color .3s ease;
}

.m-gnb-allmenu-depth1>a.active {
  color: #1d7b72;
}

/* wrapper */
#wrapper {
  position: relative;
}

#container_wr {
  position: relative;
}

#container {
  position: relative;
}

/* 스크롤 애니메이션 */
.fade_up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade_up.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .pc-only {
    display: none;
  }

  .mo-only {
    display: block;
  }

  #header {
    top: 0;
    width: 100%;
    height: 64px;
  }

  #header .header_inner {
    padding: 0 20px;
  }

  #header h1.logo {
    width: auto;
  }

  #header h1.logo img {
    height: 28px;
    max-width: 150px;
  }

  #header .all_gnb {
    display: flex;
    position: static;
    flex: 0 0 auto;
    transform: none;
  }

  #header .hamburger {
    position: relative;
    width: 24px;
    height: 18px;
  }

  #header .hamburger span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #183230;
    border-radius: 999px;
    transition: .25s ease-in-out;
  }

  #header .hamburger span.berger1 {
    top: 0;
  }

  #header .hamburger span.berger2 {
    top: 8px;
  }

  #header .hamburger span.berger3 {
    top: 16px;
  }

  #header .hamburger.open span.berger1 {
    top: 8px;
    transform: rotate(45deg);
  }

  #header .hamburger.open span.berger2 {
    opacity: 0;
  }

  #header .hamburger.open span.berger3 {
    top: 8px;
    transform: rotate(-45deg);
  }

  #header.open .hamburger span,
  #header.scroll_on .hamburger span {
    background-color: #183230;
  }

  #header.scroll_on,
  #header.open {
    height: 62px;
  }

  #header.scroll_on .header_inner,
  #header.open .header_inner {
    padding: 0 20px;
  }

  #header.scroll_on h1.logo img {
    height: 27px;
  }

  .all_nav {
    background: #fff;
    overflow-y: auto;
  }

  .all_nav .nav-inner {
    padding: 60px 28px 40px;
  }

  .nav-inner .m-gnb-allmenu-depth1>a {
    padding: 22px 0;
    font-size: 22px;
    color: #183230 !important;
  }

  .nav-inner .m-gnb-allmenu-depth1>a.active {
    color: #1d7b72 !important;
  }
}

@media (max-width: 768px) {
  body {
    margin: 58px 0 0;
  }

  #header {
    top: 0;
    width: 100%;
    height: 58px;
  }

  #header .header_inner {
    padding: 0 16px;
  }

  #header h1.logo img {
    height: 24px;
    max-width: 128px;
  }

  #header.scroll_on,
  #header.open {
    height: 56px;
  }

  #header.scroll_on .header_inner,
  #header.open .header_inner {
    padding: 0 16px;
  }

  #header.scroll_on h1.logo img {
    height: 24px;
  }

  .all_nav .nav-inner {
    padding: 55px 20px 32px;
  }

  .nav-inner .m-gnb-allmenu-depth1>a {
    font-size: 18px;
    padding: 18px 0;
  }
}