/* ============================ footer style start ============================= */
@charset "utf-8";

#footer {
  padding: 50px 0 30px;
  background-color: #3d3337;
  /* border-top: 1px solid #eeeeee; */
}
#footer * {
  text-align: center;
  color: #ffffff;
  font-size: 15px;
}
#footer p:first-of-type {
  margin: 20px 0 0 0;
}
#footer img {
  width: 100%;
  max-width: 140px;
}

.footer-gnb {
  margin: 20px 0;
}
.footer-gnb > ul {
  display: flex;
  justify-content: center;
}
.footer-gnb > ul > li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 150px;
  text-align: center;
}
.footer-gnb > ul > li a > img {
  width: 20px !important;
  margin-right: 10px;
}
.footer-gnb > ul > li {
  margin: 0 10px;
  padding: 6px 0;
  border: 1px solid #eee;
}

@media screen and (max-width: 1025px) {
    #footer img {
        max-width: 250px;
    }
    #footer p {
        white-space: pre-line;
    }
    #footer p br {
        display: none;
    }
    #footer {
        padding: 30px 0 120px;
    }
}

@media screen and (max-width: 769px) {
    .footer-gnb > ul {
        flex-wrap: wrap;
    }
    .footer-gnb > ul > li {
        margin: 10px;
        width: calc(50% - 20px);
    }
    .footer-gnb > ul > li a {
        width: 100%;
    }
}
@media screen and (max-width: 425px) {
   #footer img {
        max-width: 130px;
    }
    .footer-gnb {
        margin: 10px 0;
    }
    .footer-gnb > ul > li {
        margin: 5px;
        width: calc(50% - 10px);
    }

    #footer * {
        font-size: 12px;
    }
}

/* ================================================================= */
/* ========================== quick menu ========================== */
/* ================================================================= */

#quick_menu {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 100;
  transition: all 0.3s ease-in-out;
  border-radius: 999px;
  overflow: hidden;
  background-color: #fff;
  padding: 10px 0;
  box-shadow: 5px 5px 10px 0px #3d333721;
}
#quick_menu a {
  transition: all 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px 10px;
  text-align: center;
  width: 90px;
  height: 100px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 2px solid #ece7e0;
}
#quick_menu a:last-child {
  border-bottom: 0px solid #ece7e0;
}
/* #quick_menu a:hover {
  background-color: #4d8a8c;
} */
#quick_menu a:hover span {
  filter: brightness(1.2);
}
#quick_menu a:hover img {
  filter: brightness(1.3);
}

#quick_menu a .img {
  width: 40px;
  padding: 8px 0px;
}
#quick_menu a .img img {
  transition: all 0.5s;
  height: 100%;
}
#quick_menu span {
  display: block;
  width: 100%;
  padding-top: 5px;
  font-family: "NanumSquare", san-serif;
  font-weight: 700;
  transform: skew(-0.1deg);
  color: #000;
  font-size: 14px;
}

.quick-close img {
  max-width: 30px;
  cursor: pointer;
}


/* TOP */
#top_btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  border-radius: 15px;
  overflow: hidden;
  background-color: #3d3337;
  color: #fff;
  padding: 10px 0;
  box-shadow: 5px 5px 10px 0px #00000047;
  padding: 10px 10px;
  text-align: center;
  width: 90px;
  height: 90px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#top_btn img {
  height: 30px;
}

/* custom */
#quick_menu .quick-tel a {
  height: auto;
}
#quick_menu .quick-tel span.quick-num {
  display: flex;
  margin: 2px 0 0 17px;
  justify-content: start;
  text-align: left;
  line-height: 1.2;
  font-size: 18px;
  padding: 0;
  font-weight: 800;
  color: #3d3337;
}


#quick_mobile-btn{
  display: none;
  z-index: 20;
  position: fixed;
  left: 0;
  border-radius: 0 15px 15px 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  bottom: 60px;
  background-color: #fff;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: all 1s;
}

#quick_mobile-btn.on{
  opacity: 0;
  left: -50px;
}

#quick_mobile-btn img{
  width: 30px;
}

#quick-hide-mobile {
  cursor: pointer;
  display: none;
}
#quick-hide-mobile img {
  width: 30px;
}

@media (max-width:1400px) {
  #quick-hide-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    background-color: #3d3337;
  }
  #quick_mobile-btn{
    display: flex;
  }
  #quick_menu{
    opacity: 0;
    right: auto;
    left: -50px;
    padding: 10px 0 0 0;
    border-radius: 0 15px 15px 0;
    transform: translateY(0);
    top: auto;
    bottom: 20px;
  }
  #quick_menu.on{
    opacity: 1;
    left: 0;
  }
  #quick_menu a {
    padding: 0;
    width: 50px;
    height: 50px;
  }
  #quick_menu span {
    display: none;
  }
  #quick_menu a .img {
    width: auto;
    padding: 8px;
  }
  #top_btn, .menu-wrap::after, #quick_menu .quick-tel span.quick-num{
    display: none;
  }
}

@media(max-width:769px) {
  #footer * {
    font-size: 13px;
  }
}