@charset "utf-8";

#header,
#header * {
  box-sizing: border-box;
}

:root {
  --point-color: #05b362;
  --point-color-light: #6ee0a2;
  --text-color: #111;
  --border-color: rgba(17, 17, 17, 0.08);
}

/* =========================
   HEADER
========================= */

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;

  width: 100%;
  height: 90px;

  background: #fff;

  border-bottom: 1px solid var(--border-color);
}

#header .header_inner {
  display: flex;
  align-items: center;

  width: 100%;
  max-width: 1620px;
  height: 100%;

  margin: 0 auto;
  padding: 0 52px;
}

/* =========================
   LOGO
========================= */

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

  margin: 0;
  padding: 0;
}

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

#header h1.logo img {
  display: block;

  width: auto;
  height: 46px;
}

/* =========================
   GNB
========================= */

#header .gnb {
  flex: 1 1 auto;

  margin-left: 86px;
}

#header .gnb>ul {
  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;

  list-style: none;
}

#header .gnb .depth01 {
  position: relative;

  padding: 0 35px;
}

#header .gnb .depth01+.depth01::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 0;

  width: 1px;
  height: 18px;

  background: #e8e8e8;

  transform: translateY(-50%);
}

#header .gnb .depth01>a {
  display: block;

  text-decoration: none;
}

#header .gnb .depth01>a>span {
  display: block;

  font-size: 18px;
  font-weight: 500;
  line-height: 90px;

  color: var(--text-color);

  white-space: nowrap;

  transition: color 0.25s ease;
}

#header .gnb .depth01:hover>a>span {
  color: var(--point-color);
}

/* =========================
   LNB
========================= */

#header .gnb .depth02 {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 120;

  min-width: 230px;

  margin: 0;
  padding: 16px 0;

  list-style: none;

  background: rgba(255, 255, 255, 0.98);

  border: 1px solid rgba(17, 17, 17, 0.06);

  box-shadow: 0 24px 40px rgba(17, 17, 17, 0.08);

  opacity: 0;
  visibility: hidden;

  transform: translateX(-50%) translateY(16px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

#header .gnb .depth01:hover .depth02 {
  opacity: 1;
  visibility: visible;

  transform: translateX(-50%) translateY(0);
}

#header .gnb .depth02 li {
  margin: 0;
  padding: 0;
}

#header .gnb .depth02 li a {
  display: block;

  padding: 12px 24px;

  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;

  text-align: center;

  color: #222;

  text-decoration: none;

  white-space: nowrap;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

#header .gnb .depth02 li a:hover {
  background: #f7faf8;

  color: var(--point-color);
}

/* =========================
   HAMBURGER
========================= */

#header .all_gnb {
  flex: 0 0 auto;

  margin-left: 50px;
}

#header .hamburger {
  position: relative;

  width: 32px;
  height: 26px;

  margin: 0;
  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;
}

#header .hamburger span {
  position: absolute;
  left: 0;

  display: block;

  width: 100%;
  height: 4px;

  background: var(--point-color);

  transition:
    top 0.25s ease,
    transform 0.25s ease,
    opacity 0.2s ease;
}

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

#header .hamburger .berger2 {
  top: 11px;
}

#header .hamburger .berger3 {
  top: 22px;
}

#header .hamburger.open span {
  background: #000;
}

#header .hamburger.open .berger1 {
  top: 11px;

  transform: rotate(45deg);
}

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

#header .hamburger.open .berger3 {
  top: 11px;

  transform: rotate(-45deg);
}

/* =========================
   ALL MENU
========================= */

.all_nav {
  position: fixed;
  top: 90px;
  left: 0;
  z-index: 100;

  width: 100%;
  height: calc(100vh - 90px);

  padding: 60px 0 80px;

  background: rgba(250, 252, 250, 0.96);

  overflow-y: auto;

  opacity: 0;
  visibility: hidden;

  transform: translateY(-60px);

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0.35s ease;
}

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

  transform: translateY(0);
}

.all_nav::before {
  content: "SILLIM";

  position: absolute;
  right: 8%;
  bottom: 10%;

  z-index: 0;

  font-family: Georgia, serif;
  font-size: 90px;
  font-weight: 700;
  line-height: 1;

  color: rgba(5, 179, 98, 0.06);

  letter-spacing: 3px;
}

.all_nav_inner {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1620px;

  margin: 0 auto;
  padding: 0 52px;
}

/* =========================
   ALL MENU GRID
========================= */

.all_nav_list {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 60px 52px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.all_nav_depth1 {
  position: relative;

  min-height: 360px;

  padding-right: 24px;
}

.all_nav_depth1+.all_nav_depth1::before {
  content: "";

  position: absolute;
  top: 8px;
  left: -26px;

  width: 1px;
  height: 340px;

  background: rgba(17, 17, 17, 0.06);
}

.all_nav_depth1>a {
  display: inline-block;

  margin-bottom: 28px;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;

  color: var(--point-color);

  text-decoration: none;
}

/* =========================
   ALL MENU SUB
========================= */

.all_nav_depth2 {
  margin: 0;
  padding: 0;

  list-style: none;
}

.all_nav_depth2 li {
  margin: 0;
  padding: 0;
}

.all_nav_depth2 li+li {
  margin-top: 18px;
}

.all_nav_depth2 a {
  position: relative;

  display: inline-block;

  padding-left: 0;

  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;

  color: #333;

  text-decoration: none;

  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.all_nav_depth2 a::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 0;

  width: 2px;
  height: 0;

  background: var(--point-color);

  transform: translateY(-50%);

  transition: height 0.25s ease;
}

.all_nav_depth2 a:hover {
  padding-left: 14px;

  color: var(--point-color);
}

.all_nav_depth2 a:hover::before {
  height: 18px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1199px) {
  #header {
    height: 74px;
  }

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

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

  #header .gnb {
    display: none;
  }

  #header .all_gnb {
    margin-left: auto;
  }

  .all_nav {
    top: 74px;

    height: calc(100vh - 74px);

    padding: 40px 0 60px;
  }

  .all_nav_inner {
    padding: 0 24px;
  }

  .all_nav_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 40px 32px;
  }

  .all_nav_depth1 {
    min-height: auto;

    padding-right: 0;
  }

  .all_nav_depth1+.all_nav_depth1::before {
    display: none;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  #header {
    height: 62px;
  }

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

  #header h1.logo img {
    height: 32px;
    max-width: 180px;
  }

  #header .hamburger {
    width: 26px;
    height: 20px;
  }

  #header .hamburger span {
    height: 3px;
  }

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

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

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

  #header .hamburger.open .berger1,
  #header .hamburger.open .berger3 {
    top: 8px;
  }

  .all_nav {
    top: 62px;

    height: calc(100vh - 62px);

    padding: 0;

    background: rgba(8, 24, 18, 0.84);

    backdrop-filter: blur(10px);
  }

  .all_nav::before {
    content: "SILLIM";

    right: 30px;
    bottom: 110px;

    font-size: 54px;

    color: rgba(110, 224, 162, 0.14);
  }

  .all_nav_inner {
    padding: 58px 28px 36px 66px;
  }

  .all_nav_list {
    display: block;
  }

  .all_nav_depth1 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .all_nav_depth1>a {
    position: relative;

    display: block;

    margin: 0;
    padding: 18px 44px 18px 0;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;

    color: #fff;
  }

  .all_nav_depth1>a::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 10px;

    font-size: 32px;
    font-weight: 300;
    line-height: 1;

    color: var(--point-color-light);

    transform: translateY(-50%);

    transition: transform 0.25s ease;
  }

  .all_nav_depth1.on>a::after {
    transform: translateY(-50%) rotate(45deg);
  }

  .all_nav_depth2 {
    display: none;

    padding: 0 0 18px;
  }

  .all_nav_depth2 li+li {
    margin-top: 0;
  }

  .all_nav_depth2 a {
    display: block;

    padding: 8px 0;

    font-size: 14px;
    font-weight: 400;

    color: rgba(255, 255, 255, 0.74);
  }

  .all_nav_depth2 a::before {
    display: none;
  }

  .all_nav_depth2 a:hover {
    padding-left: 0;

    color: var(--point-color-light);
  }
}