@charset "utf-8";

/* ===== Footer ±âº» ½ºÅ¸ÀÏ ===== */
.foot-con {
  background-color: #444444;
  color: #ccc;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 40px 0;
}

.foot.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== »ó´Ü ¾à°ü ¸µÅ© + SNS ===== */
.m_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.m_top .foot_menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.m_top .foot_menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.m_top .foot_menu a:hover {
  text-decoration: underline;
}

.m_top .foot_sns {
  display: flex;
  gap: 12px;
}

.m_top .foot_sns a img {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: 0.3s;
}

.m_top .foot_sns a img:hover {
  opacity: 1;
}

/* ===== º»¹® ¿µ¿ª (·Î°í, Á¤º¸, °ü·Ã»çÀÌÆ®/¾ÆÀÌÄÜ) ===== */
.inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px; /* ¿ä¼Òµé °£ °£°Ý */
}

/* --- ·Î°í --- */
.l_cont .foot_logo img {
  width: 180px;
  height: auto;
  display: block;
}

/* --- Áß¾Ó Á¤º¸ ¿µ¿ª --- */
.m_cont {
  flex: 1 1 60%;
  text-align: left;
  color: #ccc;
}

.m_cont .foot_menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 10px;
}

.m_cont .foot_menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.m_cont .foot_menu a:hover {
  text-decoration: underline;
}

.foot_addr {
  color: #aaa;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.5;
  font-style: normal;
}

.foot_addr .line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 4px;
}

.foot_addr dl {
  display: flex;
  gap: 4px;
  margin: 0;
}

.foot_addr dt {
  font-weight: normal;
  color: #aaa;
  white-space: nowrap; /* 'ÁÖ¼Ò' °°Àº ¶óº§Àº ÁÙ¹Ù²Þ ¹æÁö */
}

.foot_addr dd {
  margin: 0;
  white-space: nowrap;  /* ±âº»Àº ÇÑ ÁÙ À¯Áö */
}

.copy {
  color: #777;
  font-size: 12px;
  margin-top: 6px;
}

/* --- ¿À¸¥ÂÊ °ü·Ã»çÀÌÆ® & SNS --- */
.r_cont {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 14px;
}

.family_site {
  padding: 8px 10px;
  border: 1px solid #555;
  background-color: #222;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  width: 160px;
  text-align: center;
}

.r_cont .foot_sns {
  display: flex;
  gap: 10px;
}

.r_cont .foot_sns a img {
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: 0.3s;
}

.r_cont .foot_sns a img:hover {
  opacity: 1;
}

/* ===== ¹ÝÀÀÇü (ÅÂºí¸´ ÀÌÇÏ) ===== */
@media (max-width: 1024px) {
  .inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .m_top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .foot_menu {
    justify-content: center;
  }

  .foot_sns {
    justify-content: center;
  }

  .l_cont, .m_cont, .r_cont {
    align-items: center;
    text-align: center;
  }

  .r_cont {
    align-items: center;
  }

  .family_site {
      width: 90%;
    max-width: 800px;
  }

  .foot_addr .line {
    justify-content: center;
  }
}

/* ===== ¸ð¹ÙÀÏ (È­¸é ÀÛÀ» ¶§ ÆùÆ®/°£°Ý Á¶Á¤) ===== */
@media (max-width: 480px) {
  .foot-con {
    padding: 28px 10px;
    font-size: 12px;
    line-height: 1.4;
  }

  .m_top .foot_menu {
    gap: 8px 10px;
    font-size: 12px;
  }

  .foot_addr {
    font-size: 11px;
  }
    
  .foot_addr dl:last-child dt {
    display: none;
  }

  /* ³»¿ëÀº ±×´ë·Î Áß¾ÓÁ¤·Ä À¯Áö */
  .foot_addr dd {
    text-align: center;
    white-space: normal;
  }

  .foot_addr dl {
    justify-content: center;
  }

  .copy {
    font-size: 10px;
    margin-top: 8px;
  }

   .family_site {width: 90%;
    max-width: 800px;
  }

  .r_cont .foot_sns a img,
  .m_top .foot_sns a img {
    width: 26px;
    height: 26px;
  }
}

/* footer ¿µ¿ªÀº ÅØ½ºÆ® µå·¡±× °¡´ÉÇÏ°Ô °­Á¦ Çã¿ë */
.foot-con,
.foot-con * {
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
}
