footer {
  background: var(--color-DeepGrey);
  padding-top: 87px;
  padding-bottom: 55px;
}
footer * {
  color: #fff;
  font-family: "Pretendard";
  font-weight: 200;
}
footer .footer-wrapper {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
}

footer .footer-top .cont-group {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

footer .footer-top .map-box .img-box{border-radius: 5px;overflow: hidden;}

footer .footer-top .map-box .txt-box {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  background-color: #005493;
  padding: 16px 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
footer .footer-top .map-box .txt-box .line {
  width: 1px;
  height: 20px;
  background-color: #d9d9d9;
}
footer .footer-top .map-des {
  margin-top: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
footer .footer-top .map-des .txt-box {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 20px;
}
footer .footer-top .map-des .txt-box .line {
  width: 1px;
  height: 20px;
  background-color: #d9d9d9;
}

footer .footer-top .map-des .txt-box .txt-group{
  display: flex;
  flex-direction: column;
  gap: 9px;
}

footer .footer-top .cont-right {
  width: 35%;
}
footer .footer-top .cont-time {
  height: 465px;
  margin-bottom: 31px;
}
footer .footer-top .cont-time > p {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
footer .footer-top .time-box {
  background-color: var(--color-Black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 23px;
  margin-bottom: 16px;
  padding-left: 38px;
  padding-right: 38px;
  height: calc(100% - 46px);
}

footer .footer-top .time_tit{
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  margin-bottom: 30px;
}

footer .footer-top .time_tit p{
  font-weight: 600;
}

footer .footer-top table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}
footer .footer-top table .td-l {
  width: 40%;
}
footer .footer-top table .td-l > div {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .footer-top table .td-l > div span {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 200;
}
footer .footer-top table tr td {
  margin-bottom: 17px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 200;
  text-align: right;
}
footer .footer-top .time-box .txt-group{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

footer .footer-top .time-box .txt-group{
  font-size: 18px;
}

footer .footer-top .btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
footer .footer-top .btn-group > div {
  cursor: pointer;
  gap: 10px;
  width: 188px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50px;
}

footer .footer-top .btn-group .map-kakao {
  background-color: #fed500;
  color: #000;
}
footer .footer-top .btn-group .map-kakao:hover {
  filter: drop-shadow(0px 0px 3px #fed500);
}
footer .footer-top .btn-group .map-kakao p {
  color: #000;
  font-weight: 600;
}
footer .footer-top .btn-group .map-kakao i {
  background: url(/img/common/icon_kakao.png) no-repeat center center / contain;
  width: 19px;
  height: 19px;
}
footer .footer-top .btn-group .map-naver {
  background-color: #2db400;
  color: #fff;
}
footer .footer-top .btn-group .map-naver p {
  font-weight: 600;
}
footer .footer-top .btn-group .map-naver:hover {
  filter: drop-shadow(0px 0px 3px #2db400);
}
footer .footer-top .btn-group .map-naver i {
  background: url(/img/common/icon_naver.png) no-repeat center center / contain;
  width: 19px;
  height: 19px;
}

footer .footer-bottom {
  margin-top: 70px;
}
footer .logo {
  max-width: 350px;
}
footer .footer-bottom .footer-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
footer .footer-bottom .link-box {
  cursor: pointer;
}
footer .footer-bottom .link-box:hover {
  filter: drop-shadow(2px 4px 6px black);
}
footer .footer-bottom .link-box p {
  font-weight: 400;
  font-size: 18px;
}

footer .footer-bottom .footer-des {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}
footer .footer-bottom .sns-group {
  display: flex;
  align-items: center;
  gap: 30px;
  /* margin-left: 40px; */
}
footer .footer-bottom .sns-group .sns-box {
  cursor: pointer;
}
footer .footer-bottom .sns-group .sns-box:hover {
  filter: drop-shadow(2px 4px 6px black);
}

footer .footer-bottom .footer-des .des-txt {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .footer-bottom .footer-des .txt-box {
  display: flex;
  align-items: center;
  gap: 20px;
}
footer .footer-bottom .footer-des .txt-box p {
  font-size: 16px;
  font-weight: 400;
}
footer .footer-bottom .footer-des .txt-box3 {
  opacity: 0.3;
}
footer .footer-bottom .footer-des .des-line {
  width: 1px;
  height: 100px;
  background-color: #fff;
}

footer .footer-links-mb {
  display: none;
}
@media screen and (max-width: 1250px) {
  footer {
    padding-top: 20px;
  }
  footer .footer-links-mb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
  }
  footer .footer-links-mb .link-box {
    cursor: pointer;
  }
  footer .footer-links-mb .link-box p {
    font-weight: 500;
    font-size: 24px;
  }

  footer .footer-top .map-box .txt-box {
    line-height: 30px;
    align-items: flex-start;
    text-align: right;
    font-size: 18px;
    gap: 10px;
  }
  footer .footer-top .map-box .txt-box .line {
    position: relative;
    top: 5px;
  }

  footer .footer-top .cont-group {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  footer .footer-top .map-des {
    flex-direction: column;
    gap: 20px;
  }
  footer .footer-top .map-des .btn-group {
    flex-direction: column;
    gap: 10px;
  }

  footer .footer-bottom {
    margin-top: 20px;
  }
  footer .footer-bottom .footer-links {
    display: none;
  }

  footer .footer-bottom .footer-des {
    flex-direction: column-reverse;
    gap: 30px;
    margin-top: 0;
  }
  footer .footer-bottom .sns-group {
    margin-left: 0;
  }
  footer .footer-bottom .footer-des .des-txt {
    align-items: center;
  }
  footer .footer-bottom .footer-des .txt-box {
    flex-wrap: wrap;
    justify-content: center;
  }
  footer .footer-bottom .footer-des .txt-box p {
    text-align: center;
  }
  footer .footer-bottom .footer-des .txt-box .w50 {
    width: 15%;
  }
  footer .footer-bottom .footer-des .txt-box .w100 {
    width: 100%;
  }
  footer .footer-bottom .footer-des .txt-box2 {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .footer-bottom .footer-des .txt-box3 p {
    font-weight: 300;
  }

  footer .footer-top .cont-right {
    width: 50%;
  }
  footer .footer-top table .td-l > div span {
    font-size: 16px;
    line-height: 26px;
  }
  footer .footer-top table tr td {
    font-size: 16px;
    line-height: 26px;
  }

  /* 추가 */
  footer .footer-top .map-des .txt-box{font-size: 16px;}

  footer .footer-top .map-des{width: 90%;margin: 0 auto;margin-top: 20px;}
  footer .footer-top .map-des .txt-box .txt-group{text-align: center;line-height: 1.5;}
  footer .footer-top .map-des .txt-box .txt-group .block_1250{display: inline;}

  footer .footer-top .cont-right{display: flex;flex-direction: column-reverse;gap: 20px;width: 90%;}
  footer .footer-top .time-box{height: auto;margin-bottom: 0;margin: 0 auto;width: calc(90% - 46px);padding-left: 25px;padding-right: 25px;}
  footer .footer-top .cont-time{margin-bottom: 0;height: auto;}

  footer .footer-bottom{margin-top: 61px;}
  footer .footer-bottom .footer-des{flex-direction: column;gap: 50px;}
  footer .footer-bottom .footer-des .des-line{display: none;}

  footer .footer-bottom .sns-group{order: 0;}
  footer .footer-bottom .footer-des .logo{order: 1;margin-top: 20px;width: 80%;margin: 0 auto;min-width: 200px;}
  footer .footer-bottom .footer-des .des-txt{order: 2;}
  footer .footer-bottom .footer-des .txt-box2{align-items: center;}
  footer .footer-bottom .footer-des .txt-box3 p{line-height: 1.5;}
}

@media screen and (max-width: 768px) {
  footer .footer-links-mb .link-box p {
    font-size: 18px;
  }
  /* 추가 */
  footer .footer-top .btn-group{flex-direction: column;}
  footer .footer-top .time-box .txt-group{font-size: 16px;}
}

@media screen and (max-width: 500px) {
  footer .footer-top .cont-right {
    width: 100%;
  }
  footer .footer-bottom .footer-des .txt-box .w50 {
    width: 25%;
  }

  /* 추가 */
  footer .footer-top table .td-l{width: 30%;}
}

@media screen and (max-width: 390px) {
  footer .footer-links-mb {
    gap: 10px;
  }
  footer .footer-links-mb .link-box p {
    font-size: 0.8em;
  }
  footer .footer-bottom .footer-des .txt-box .w50 {
    width: 38%;
  }
  footer .footer-top .map-des .txt-box {
    font-size: 16px;
  }

  footer .footer-top .time-box {
    padding: 5px;
    padding-left: 32px;
  }
  footer .footer-top .doct-box {
    padding: 5px;
    padding-left: 32px;
  }
  /* 추가 */
  footer .footer-top .time-box{
    padding: 35px 10px;
    width: calc(90% - 20px);
  }
  footer .footer-top table tr td{
    font-size: .8rem;
  }
  footer .footer-top table .td-l > div span{
    font-size: 0.8rem;
  }
  footer .footer-top .time-box .txt-group{
    font-size: .8rem;
  }
}

@media screen and (max-width: 350px) {
  footer .footer-top .map-box .txt-box {
    font-size: 16px;
  }
}
