#gnb {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: rgba(255, 255,255, 0.9);
  font-size: 12px;
}

#gnb #gnbWrap>div {
  height: 100%; 
}

.logo {
  width: 150px;
  display: block;
  height: auto;
}

.logo .img-container {
  width: 100%;
  height: 100%;
}

.logo .img-container img {
  width: 100%;
  height: 100%;
}

#navigator ul li {
  height: 100%;
}

#navigator .nav-menu {
  height: 100%;
  font-size: 1.333em;
  color: var(--color-black);
  cursor: default;
}

#hamburger { 
  position: absolute;
  padding: 0;
  top: 50%;
  transform: translateY(-43%);
  width: fit-content;
  height: fit-content;
  cursor: pointer;
}

.full-nav.hidden {
  height: 0;
  opacity: 0;
  visibility: hidden;
  z-index: -99;
}

.full-nav {
  width: 100%;
  height: 100svh;
  opacity: 1;
  visibility: visible;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.full-nav .full-nav-top {
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.full-nav .full-nav-item-wrap {
  display: flex;
}

.closeFullNavBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.full-nav-item {
  align-items: flex-start;
}

.full-nav-item:not(.full-nav-item:nth-of-type(4)) {
  margin-right: 9em;
  
  @media screen and (max-width: 691px) {
    margin-right: 0;
  }
}

.full-nav-item li {
  font-size: 1.0833em;
  line-height: 28px;

  @media screen and (min-width: 692px) and (max-width: 1024px) {
    font-size: 0.75em;
  }
}

.full-nav-item.full-nav-gnb {
  height: fit-content;
}

.full-nav-item.full-nav-gnb li {
  letter-spacing: -1px;
  font-size: 1.3333em;
  
  @media screen and (min-width: 692px) and (max-width: 1024px) {
    font-size: 1.1em;
    /* line-height: 2.3 !important; */
  }
}

.full-nav-item.full-nav-gnb li::before {
  content: url(../img/icon-square.svg);
  margin-right: 18px;
}

.full-nav-item-title {
  line-height: 28px;
  font-size: 1.5em;
  font-family: 'lineSeed-bd';
  margin-bottom: 7px;

  @media screen and (min-width: 692px) and (max-width: 1024px) {
    font-size: 1em;
    line-height: 1.7;
  }
}

#headFloat {
  position: absolute;
  gap: 10px;
}

#headFloat a {
  border-radius: 50px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 6px;
  height: 43.5px;
  width: 147px;
}

#headFloat .line-bubble {
  position: absolute;
  right: 50%;
  transform: translate3d(50%, 0, 0);
  font-size: 1em;
  background-color: #9ed596;
  border-radius: 50px;
  color: #fff;
  /* width: 100%; */
  max-width: fit-content;
  height: fit-content;
  padding: 5px 15px;
  text-align: center;
  word-break: keep-all;
  animation: bubble-motion 0.55s linear 0s infinite alternate;
}

#headFloat .line-bubble::after {
  content: "";
  position: absolute;
  bottom: 28px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 0px solid #9ed596;
  border-bottom: 10px solid #9ed596;
  right: 50%;
  transform: translate3d(50%, 0, 0);
}

@keyframes bubble-motion {
  0% {
    bottom: -51px;
  }

  100% {
    bottom: -44px;
  }
}

.department-fullMenu.hidden {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transform: translate3d(0, -15px, 0);
}

.department-fullMenu {
  width: 100%;
  height: 600px;
  padding: 30px 0;
  position: fixed;
  top: 100px;
  left: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid #fff;
  opacity: 1;
    visibility: visible;
    z-index: 999;
  transition: transform 0s ease,
    opacity .4s ease-out,
    all .4s ease-out;
}

.department-fullMenu .inner {
  max-width: 1512px;
  margin: 0 auto;
  height: 100%;
}

.department-fullMenu .inner > h1,
.department-list > h1 {
  color: #AF9F8E;
  font-size: 1.333em;
  margin-bottom: 14px;

  @media screen and (min-width: 692px) and (max-width: 1024px) {
    font-size: 1.1em;
  }
}

.department-list li,
.department-fullMenu li {
  line-height: 33px;
}

.department-fullMenu .department-fullMenu-nav-wrap {
  display: flex;
  justify-content: center;
  height: calc(100% - 25px);
}

.department-fullMenu .full-nav-item:nth-of-type(1) {
  margin-right: 4vw;
  height: 100%;
}

.department-fullMenu .full-nav-item:nth-of-type(1),
.department-fullMenu .full-nav-item:nth-of-type(4) {
  flex-wrap: wrap;
}

.department-fullMenu .full-nav-item:nth-of-type(1) li {
  margin-right: 28px;
}
.department-fullMenu .full-nav-item:nth-of-type(4) li {
  margin-right: 68px;
}

.department-fullMenu .full-nav-item:nth-of-type(3) {
  margin-right: 4.844vw;
}

@media screen and (max-width: 690px) {
  .logo .img-container {
    width: 110px;
  }
}

/* 애니메이션 */
@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* @media screen and (max-width: 690px) { */
@media screen and (max-width: 766px) {
  #gnb,
  .full-nav .full-nav-top { 
    height: 70px;
  }

  #gnb>div {
    margin-left: 30px;
  }

  #hamburger {
    right: 30px;
  }

  #hamburger svg {
    width: 18px;
    height: 18px;
  }

  .full-nav .full-nav-top {
    flex-shrink: 0;
  }

  .closeFullNavBtn {
    padding: 0;
    right: 30px;
  }

  .mobileShowListBtn {
    position: relative;
    display: flex;
    flex-shrink: 0;
    width: 100%;
    height: 59px;
    padding: 0;
    font-family: 'lineSeed-rg';
    font-size: 14px;
    color: var(--color-black);
    background-color: var(--color-beige100);
    
    &::after {
      content: '+';
      position: absolute;
      right: 5vw;
      top: 48%;
      transform: translateY(-50%);
      font-size: 20px;
    }
  }
  
  .full-nav .full-nav-item-wrap {
    overflow-y: scroll;
    padding: 0 30px;
  }
  
  .mobileShowListBtn.active::after {
    content: '-';
  }
  
  .full-nav-item li {
    width: 100%;
    padding-left: 3vw;
    line-height: 4;
  }

  .full-nav .department-list {
    flex-direction: column;
    background-color: var(--color-beige100);
    transition: max-height 0.3s ease;
  }
  
  .full-nav .department-list.hidden {
    max-height: 0;
    overflow: hidden;
  }

  .full-nav .department-list .full-nav-item {
    padding: 0 15px;
  }

  .full-nav .department-list .full-nav-item li {
    border-bottom: 1px solid #ffffff66;
  }

  .full-nav .department-list .full-nav-item a {
    width: 100%;
  }

  .full-nav-item-title {
    font-size: 14px;
    width: 100%;
    text-align: center;
    line-height: 3;
    border-top: 1px solid #ffffff66;
    border-bottom: 2px solid #ffffff66;
  }
  
  .full-nav .department-list .full-nav-item:nth-of-type(1) .full-nav-item-title {
    border-top: 2px solid #ffffff66;
  }

  .full-nav .full-nav-item-wrap {
    flex-direction: column;
    padding-bottom: 80px !important;
  }

  .full-nav-item.full-nav-gnb li {
    justify-content: flex-start;
    line-height: 5;
    position: relative;
    border-bottom: 1px solid #d5d5d5;
    font-size: 12px;
  }

  .full-nav-item.full-nav-gnb li::before {
    content: '→';
    position: absolute;
    right: 3vw;
    margin-right: 0;
    color: #a9a9a9;
  }
  
  .full-nav-item.full-nav-gnb li a {
    width: 100%;
  }

  #headFloat {
    display: none;
  }

  .sns-container {
    gap: 1.5vw;
    margin-top: 4.5vw;
  }

  .sns-container .sns-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 1.5vw;
  }

  .sns-container .sns-list li {
    height: 40px;
    border-radius: 4px;

    &.ig {
      background: rgb(249, 206, 52);
      background: linear-gradient(90deg, rgba(249, 206, 52, 1) 0%, rgba(238, 42, 123, 1) 50%, rgba(98, 40, 215, 1) 100%);
      
      & svg {
        width: 16px;
      }
    }

    &.yt {
      background-color: #f00;

      & svg {
        width: 16px;
      }
    }

    &.x {
      background-color: var(--color-black);
    }

    & a {
      font-size: 10px;
      color: #fff;
      gap: 2px;
    }
  }

  .sns-container .call,
  .sns-container .line {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    background-color: #363535;
    border-radius: 4px;
  }

  .sns-container .call {
    background-color: #363535;
  }
  
  .sns-container .line {
    background-color: #379E26;
    flex-shrink: 0;
  }

  .sns-container .line span {
    color: #fff;
    font-family: 'lineSeed-bd';
  }
  
  .sns-container .line img {
    width: 24px;
    margin-right: 2px;
  }
}

/* 미디어쿼리 */
@media screen and (min-width: 691px) and (max-width: 766px) {
  .full-nav .full-nav-item-wrap {
    overflow-y: scroll;
    padding: 0 30px;
  }
}

@media screen and (min-width: 768px) {
  #gnb {
    height: 100px;
  }

  #headFloat {
    top: 115px;
    /* width: 311px; */
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  #hamburger {
    right: -34px;
  }
  
  #navigator .nav-menu {
    width: 137.47px;
    transition: all 0.4s;
  }
  
  #navigator .nav-menu:hover {
    font-family: 'lineSeed-bd';
  }
  
  #navigator .nav-menu:nth-of-type(6) {
    width: 228px;
  }

  .full-nav .full-nav-item-wrap {
    padding: 0 12.76vw;
    height: calc(100% - 100px);
  }
  
  .full-nav-item.full-nav-gnb {
    gap: min(2vw, 48px);
    width: 12.75vw;
    border-right: 3px solid var(--color-black);
    margin-right: 4.4vw;
  }

  .full-nav-item h1:hover {
    font-family: 'lineSeed-bd';
  }

  .closeFullNavBtn {
    right: 5vw;
  }
}

@media screen and (min-width: 692px) and (max-width: 1330px) {
  .full-nav-item.full-nav-gnb {
    width: 14em;
  }
  
  .full-nav-item:nth-of-type(4) {
    margin-right: 0 !important;
  }
}

@media screen and (min-width: 692px) and (max-width: 1024px) {
  .department-list .full-nav-item,
  .full-nav-item:not(.full-nav-item:nth-of-type(4)) {
    margin-right: 2vw !important;
  }
}

@media screen and (min-width: 691px) and (max-width: 768px) {
  #headFloat,
  .headFloat.line {
    right: 4.5vw;
  }
  
  #headFloat a,
  .headFloat.line {
    width: fit-content;
    height: 36.86px;
  }
}

@media screen and (min-width: 691px) and (max-width: 1330px) {
  .full-nav .department-list {
    height: fit-content;
  }
}

@media screen and (min-width: 768px) and (max-width: 1330px) {
  .full-nav .full-nav-item-wrap {
    padding: 0;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1024px) {
  .mobileShowListBtn {
    display: none;
  }
}

@media screen and (min-width:1025px) and (max-width: 1330px) {
  .full-nav-item.full-nav-gnb li {
    font-size: 1.1666em;
  }

  .full-nav-item-title {
    font-size: 1.333em;
  }

  .full-nav-item.full-nav-gnb {
    width: 17em;
  }

  .department-list .full-nav-item,
  .full-nav-item:not(.full-nav-item:nth-of-type(4)) {
    margin-right: 4vw;
  }
}

@media screen and (max-width: 1330px) {
  #navigator {
    display: none;
  }

  #gnb>div {
    margin-left: 30px;
    width: calc(100% - 60px);
  }

  #headFloat,
  #hamburger,
  #closeFullNavBtn,
  .headFloat.line {
    right: 30px !important;
  }
}

@media screen and (min-width: 1331px) {
  #navigator {
    display: block;
    height: 100%;
  }

  #navigator ul,
  #navigator ul li {
    height: 100%;
  }

  #gnb>div {
    width: 84.375vw;
    max-width: 1620px;
    margin: 0 auto;
    height: 100%;
    position: relative;
  }
  
  .full-nav .full-nav-top {
    max-width: 1920px;
  }

  .full-nav .full-nav-top,
  .full-nav .full-nav-item-wrap {
    margin: 0 auto;
  }
  
  .full-nav .full-nav-item-wrap {
    max-width: 1620px;
    padding: 0;
  }
  
  #headFloat,
  .headFloat.line {
    right: 7.813vw;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-100%);
  }
}