*,
*::before,
*::after {
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.footer__link {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 10px;
  gap: 1.5rem;
}
@media screen and (max-width: 768px) {
  .footer__link {
    padding: 20px 0;
  }
}
@media (min-width: 1240px) {
  .footer__link {
    padding: 0;
  }
}
.footer__link a {
  background: #fff;
}
.footer__link ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 0;
  flex: 1;
  padding: 1rem;
}
.footer__link ul:nth-child(1) {
  padding: 1rem 1rem 1rem 0;
}
.footer__link ul:nth-child(3) {
  padding: 1rem 0 1rem 1rem;
}
@media (max-width: 768px) {
  .footer__link ul {
    flex: none;
    width: 100%;
    padding: 10px !important;
  }
}
.footer__link ul:nth-child(2) {
  position: relative;
}
.footer__link ul:nth-child(2)::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  width: 1px;
  background: #d6b586;
}
@media (max-width: 768px) {
  .footer__link ul:nth-child(2)::before {
    left: 0;
    top: -12px;
    right: 0;
    height: 1px;
    width: auto;
  }
}
.footer__link ul:nth-child(2)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -8px;
  width: 1px;
  background: #d6b586;
}
@media (max-width: 768px) {
  .footer__link ul:nth-child(2)::after {
    top: auto;
    left: 0;
    bottom: -8px;
    right: 0;
    height: 1px;
    width: auto;
  }
}
@media (max-width: 768px) {
  .footer__link ul:nth-child(2) {
    margin-bottom: 0.4rem;
    padding-top: 1.2rem;
  }
  .footer__link ul:nth-child(2) li:first-child {
    margin-top: 0.5rem;
  }
  .footer__link ul:nth-child(2) li:last-child {
    margin-bottom: 0.5rem;
  }
}
.footer__link ul li {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}
.footer__link ul a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  aspect-ratio: 5/1;
  border-radius: 3px;
}
.footer__link ul img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 2px;
}

.footer-recruit-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .footer-recruit-banner {
    margin-bottom: 2rem;
  }
}
.footer-recruit-banner img {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.footer-recruit-banner:hover img {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}