/* BASIC css start */
/* =========================
   RESET & COMMON
========================= */
html,
body {
  overflow-x: hidden;
}

#footer img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================
   FOOTER
========================= */
#footer {
  width: 100%;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

#footer .inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

/* =========================
   LINK INFO
========================= */
#footer .link_info {
  margin-bottom: 24px;
}

#footer .link_info ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

#footer .link_info li {
  display: flex;
  align-items: center;
}

#footer .link_info li:not(:last-child)::after {
  content: '';
  width: 1px;
  height: 10px;
  margin: 0 12px;
  background: #ccc;
}

#footer .link_info a {
  font-size: 13px;
  color: var(--txt);
}

#footer .link_info a b {
  color: #121212;
}

#footer .link_info a:hover {
  font-weight: 700;
}

/* =========================
   INFO LAYOUT
========================= */
#footer .ft_info {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.ft_left,
.ft_right {
  min-width: 0;
}

#footer .ft_info h3 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

/* LEFT */
#footer .ft_left {
  flex: 1;
  padding-bottom: 40px;
}

#footer .ft_left p {
  font-size: 13px;
  line-height: 22px;
  color: var(--txt);
}

#footer .ft_left span {
  word-break: break-word;
}

#footer .ft_left span a {
  color: var(--txt);
  border-bottom: 1px solid var(--txt);
}

/* =========================
   CERTIFICATION ICON
========================= */
.section4 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section4 img {
  width: 40px;
  margin-top: 5px;
}

/* =========================
   RIGHT
========================= */
#footer .ft_right {
  width: 250px;
  flex-shrink: 0;
}

#footer .ft_right p {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--txt);
}

#footer .ft_right div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#footer .ft_right div a {
  padding: 4px 8px;
  font-size: 11px;
  color: var(--txt);
  border: 1px solid #cdcdcd;
  border-radius: 12px;
  transition: all 0.3s ease;
}

#footer .ft_right div a:hover {
  color: #fff;
  background: #333;
  border-color: #333;
}

/* =========================
   SNS
========================= */
.ft_right ul {
  display: flex;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.ft_right li {
  display: flex;
  align-items: center;
}

/* =========================
   BOTTOM
========================= */
#footer .ft_bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 80px;
}

#footer .ft_bottom p {
  margin-top: 10px;
  font-size: 10px;
  color: var(--light_txt);
}

#footer .ft_bottom ul {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767.98px) {

  body {
    padding-bottom: 0;
  }

  #footer {
    padding-bottom: 10px;
  }

  #footer .inner {
    padding: 20px 12px 10px;
  }

  #footer .ft_info {
    flex-direction: column;
    gap: 20px;
  }

  #footer .ft_right {
    order: 1;
    width: 100%;
  }

  #footer .ft_left {
    order: 2;
    padding-bottom: 20px;
  }

  .section4 {
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  #footer .ft_bottom {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 40px;
  }

  #footer .ft_bottom ul {
    flex-wrap: wrap;
    gap: 10px;
  }
}
/* BASIC css end */

