/* ===================== FMG FOOTER ===================== */

.fmg-footer {
  background: #111;
  color: #ccc;
  padding: 50px 0 30px;
  font-size: 14px;
  letter-spacing: 0.3px;
}

/* 레이아웃 */
.fmg-foot-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

/* 왼쪽 */
.foot-left {
  width: 28%;
}

.foot-logo {
  height: 45px;
  margin-bottom: 20px;
}

.foot-info p {
  margin: 4px 0;
  line-height: 1.6;
  color: #e4e4e4;
}

.foot-info strong {
  color: #fff;
  margin-right: 6px;
}

/* 중앙 메뉴 */
.foot-center {
  width: 65%;
}

.foot-menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot-menu>li {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.foot-menu ul {
  list-style: none;
  margin-top: 10px;
  padding: 0;
}

.foot-menu ul li {
  font-size: 13px;
  color: #bbb;
  margin: 6px 0;
}

/* 아래 구분선 */
.foot-bottom-bar {
  width: 100%;
  height: 2px;
  background: #b2b2b2;
  margin: 30px 0;
}

/* 하단 텍스트 */
.foot-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #bdbdbd;
}

.foot-right {
  text-align: right;
  color: #bfbfbf;
}

/* ===================== 반응형 ===================== */

/* 1024px */
@media (max-width:1024px) {
  .fmg-foot-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .foot-center {
    width: 100%;
  }

  .foot-left {
    width: 100%;
  }

  .foot-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* 600px 이하 */
@media (max-width:600px) {

  .foot-menu {
    flex-direction: column;
    gap: 30px;
  }

  .foot-bottom-bar {
    margin: 25px 0;
  }

  .foot-bottom {
    font-size: 12px;
  }
}



.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #2a7de1;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 푸터용 TOP 버튼 */
.footer-top-btn {
  position: absolute;
  right: 40px;
  top: -22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
}

.footer-top-btn span {
  font-size: 16px;
  margin-bottom: 2px;
}

/* 반응형 */
@media (max-width:1024px) {
  .footer-top-btn {
    right: 20px;
    top: -20px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width:600px) {
  .footer-top-btn {
    right: 12px;
    top: -18px;
    width: 48px;
    height: 48px;
  }
}

.fmg-footer {
  background: #111;
  color: #ccc;
  padding: 50px 0 30px;
  font-size: 14px;
  letter-spacing: 0.3px;
  position: relative;
  /* ★ 딱 이줄만 추가! */
}