#header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: var(--gray-500);
}

#header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 100px;
  max-width: 1320px;
  padding: 0 20px;
}

#header .logo {
  width: 150px;
  height: 25px;
}

#header .gnb-wrap {
  margin: 0 auto;
}
#header .gnb {
  width: 568px;
  display: flex;
  justify-content: space-between;
  gap: 0 66px;
}
#header .gnb > li {
  position: relative;
}
#header .gnb > li > a {
  color: #fff;
  display: block;
  line-height: 100px;
  font-weight: 700;
}
#header .gnb > li:hover > a {
  color: var(--point-color1);
}
#header .gnb .depth2 {
  position: absolute;
  left: -30px;
  top: 85px;
  padding: 28px 30px;
  background: #fff;
  white-space: nowrap;
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: all 0.3s;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
#header .gnb > li:hover > .depth2 {
  max-height: 380px;
  padding: 28px 30px;
}
#header .gnb .depth2 a {
  color: var(--gray-500);
}
#header .gnb .depth2 a:hover {
  color: var(--point-color1);
}
#header .gnb .depth2 li + li {
  margin-top: 18px;
}

#header .click {
  background: var(--point-color2);
  width: 100px;
  height: 35px;
  border-radius: 8px;
}
#header .click a {
  display: block;
  text-align: center;
  line-height: 35px;
  color: #fff;
  font-weight: 700;
}

#header .link {
  display: flex;
  justify-content: space-between;
  width: 128px;
  text-align: center;
  margin-left: 100px;
}
#header .link .insta::before {
  content: '';
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  background: url(../images/instagram-line-w.png) no-repeat center bottom;
  background-size: 23px 23px;
  width: 23px;
  height: 23px;
  margin-bottom: 3px;
}
#header .link .owner::before {
  content: '';
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  background: url(../images/lock-line-w.png) no-repeat center top;
  background-size: 20px 23px;
  width: 20px;
  height: 23px;
  margin-bottom: 3px;
}
#header .link .insta:hover::before {
  background: url(../images/instagram-line-p.png) no-repeat center;
  background-size: 23px 23px;
}
#header .link .owner:hover::before {
  background: url(../images/lock-line-p.png) no-repeat center top;
  background-size: 20px 23px;
}
#header .link .insta p:hover {
  color: var(--point-color1);
}
#header .link .owner p:hover {
  color: var(--point-color1);
}
#header .link p {
  font-size: 12px;
  font-weight: 300;
  color: #fff;
}

#header .open-btn {
  display: none;
}
#header .m-menu-wrap {
  display: none;
}

/* ---------------------------------------------------- */

#container {
  padding-top: 100px;
  margin-bottom: 200px;
}
/* ------------------------------------------------------------------------- */

#footer {
  background: var(--gray-500);
  position: relative;
}

#footer .inner {
  max-width: 1280px;
  margin: 0 auto;
  color: #fff;
}

#footer .top {
  display: flex;
  justify-content: space-between;
  height: 90px;
  align-items: center;
}
#footer .list {
  display: flex;
  gap: 0 20px;
}
#footer .list a {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}
#footer .link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 10px;
}
#footer .link a {
  width: 40px;
  height: 40px;
  object-fit: cover;
}
#footer .bottom {
  height: 242px;
  display: flex;
  align-items: center;
  gap: 0 38px;
  position: relative;
}
#footer .bottom img {
  width: 145px;
  height: 115px;
}
#footer .bottom .address {
  display: flex;
  font-size: 16px;
  font-weight: 400;
}
#footer .bottom .number {
  display: flex;
  margin-bottom: 34px;
  font-size: 16px;
  font-weight: 400;
}

#footer .inner .bottom li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 14px;
  background: #fff;
  margin: 0 10px;
}

#footer .m-footer {
  display: none;
}

/* ======================================================================= */

@media (max-width: 1200px) {
  #header {
    height: 80px;
  }
  #header .inner {
    height: 80px;
  }

  #header .logo {
    width: 150px;
    height: 25px;
    flex-shrink: 0;
  }

  #header .link {
    justify-content: end;
    width: 100%;
    gap: 0 30px;
  }
  #header .link .insta {
    display: flex;
    align-items: center;
    gap: 0 5px;
  }
  #header .link .owner {
    display: flex;
    align-items: center;
    gap: 0 5px;
  }
  #header .open-btn {
    display: block;
    width: 24px;
    height: 29px;
    border: none;
    background: url(../images/m-menu.svg) no-repeat center center;
  }
  #header .m-menu-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 200px);
    height: 100%;
    overflow: auto;
    background: #fff;
    z-index: 10;
    padding-bottom: 60px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 80px;
  }
  #header .m-menu-wrap .m-top {
    height: 80px;
    padding: 43px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #header .m-top .m-gnb-wrap {
    position: absolute;
    left: 43px;
    top: 130px;
    justify-content: space-between;
    align-items: center;
  }

  #header .m-menu-wrap .close-btn {
    width: 28px;
    height: 28px;
    background: url(../images/x-close.svg) no-repeat center center;
    border: none;
  }

  #header .gnb-wrap {
    display: none;
  }
  #header .click {
    display: none;
  }

  #header .m-gnb-wrap {
    padding: 30px 30px;
  }
  #header .m-gnb li {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-500);
    padding: 10px 20px;
  }
  #header .m-gnb .depth2 li {
    font-size: 18px;
    font-weight: 400;
  }
  #header .m-gnb .depth2 li:hover a {
    color: var(--point-color2);
    font-weight: 500;
  }
  #header .m-gnb .depth2 a {
    display: block;
    line-height: 50px;
  }
  #header .m-click-wrap {
    padding: 0 43px;
  }
  #header .m-click {
    background: var(--point-color2);
    width: 100%;
    border-radius: 5px;
    text-align: center;
  }
  #header .m-click a {
    display: block;
    line-height: 56px;
    font-size: 24px;
    color: #fff;
    font-weight: 700;
  }

  /* ------------------------------------------------ */

  #container {
    padding-top: 80px;
  }

  /* ------------------------------------------------------- */

  #footer {
    padding: 0 20px;
  }
  #footer .list {
    font-size: 14px;
    gap: 0 40px;
  }
}

/* ------------------------------------------------------- */

@media (max-width: 768px) {
  /* -------------------------------------------------------- */

  #footer .inner {
    display: none;
  }

  #footer .m-footer {
    display: block;
    padding: 1ch 0;
  }

  #footer .m-footer .m-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
  }

  #footer .m-footer .m-top img {
    width: 75px;
    height: 63px;
  }

  #footer .m-footer .m-link {
    display: flex;
    gap: 0 10px;
  }

  #footer .m-footer .m-link img {
    width: 32px;
    height: 32px;
  }

  #footer .m-footer .m-bottom {
    flex-wrap: wrap;
    font-size: 14px;
  }

  #footer .m-footer .m-bottom .list {
    padding-bottom: 20px;
    word-break: keep-all;
  }

  #footer .m-bottom .m-txt-wrap {
    font-size: 14px;
    color: #fff;
  }

  #footer .m-bottom .m-txt-wrap .m-address {
    padding-bottom: 10px;
  }
  #footer .m-bottom .m-txt-wrap .m-number {
    padding-bottom: 10px;
  }
  #footer .m-bottom .m-txt-wrap .m-copyright {
    padding-bottom: 10px;
    word-break: keep-all;
  }
}
