.footer {
  background: #111;

  color: #afafaf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 1fr 1fr; /* 3:1:1:1 비율 */
  gap: 0;
}

@media (max-width: 640px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
  }
}

.footer-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-top: 1px solid var(--foot-border_color);
  border-right: 1px solid var(--foot-border_color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: flex-start;
}

a.footer-box:hover,
a.footer-box:focus {
  background: #1d1d1d;
  text-decoration: none;
}

.footer-box img {
  width: auto;
  height: 50px;
}

.footer-box h4 {
  margin-top: 6px;
}
.footer-box h5 {
  font-family: var(--font_en-1);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.2;
}

/* 첫 열 (1, 5, 7번 등) → 좌측 보더 추가 */

/* 마지막 줄(카피라이트 포함) → 하단 보더 */
.footer-box.wide-full,
.footer-box.wide-half:last-of-type {
  border-bottom: 1px solid var(--foot-border_color);
}

/* 첫 줄의 오른쪽 끝 (4번째 요소) */
.footer-box:nth-of-type(4) {
  border-right: none;
}

/* 두 번째 줄 오른쪽 끝 (6번째 요소) */
.footer-box:nth-of-type(6) {
  border-right: none;
}

/* 마지막 줄 전체는 오른쪽 보더 필요 없음 */
.footer-box.wide-full {
  border-right: none;
}

.footer-box h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-box a {
  color: inherit;
  text-decoration: none;
}
.footer-box a:hover {
  text-decoration: underline;
}

/* 2칸짜리 박스 */
.footer-box.wide-half {
  grid-column: span 2;
  min-height: 80px;
}

/* 4칸 전체 박스 */
.footer-box.wide-full {
  grid-column: span 4;
  min-height: 80px;
}

.company-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0 24px;
  align-items: end;
}
@media only screen and (max-width: 768px) {
  .company-info {
    display: flex;
    align-items: flex-start;
  }
}

img.avatar {
  width: 55px;
  height: auto;
  margin-right: 10px;
}

.copyright {
  color: #fff;
  font-size: 1.1rem;
  align-items: center;
}

.footer-special-day::before {
  content: "⸬⸬";
  margin-right: 5px;
  color: #666666;
}

.footer-special-day::after {
  content: "⸬⸬";
  margin-left: 5px;
  color: #666666;
}

.copyright p {
  color: #a5a5a5;
  font-size: 0.85rem;
  padding: 0.8rem 0;
  opacity: 0.7;
}

/* 퀵버튼 */
.quick-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #edd200;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.3s ease;
}

.quick-button img {
  width: 40px;
  height: auto;
}

/* 스크롤 시 바운스 효과 */
.quick-button.bounce {
  transform: translateY(-15px);
}

/*  */
.status-item {
  display: flex;
  align-items: flex-end;
}

.status-item span {
}

.status-item span::before {
  content: "❝";
  margin-right: 2px; /* 따옴표와 텍스트 사이 약간의 간격 */
}

.status-item span::after {
  content: "❞";
  margin-left: 2px;
}
