/* ===========================
   Footer
=========================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  position: relative;
}

/* 山型の区切り */
.footer-wave {
  width: 100%;
  height: 80px;
  margin-top: -1px;
  margin-bottom: -1px;
  background:
    url(/parts/others/footer_v2.png) center / 100% 100% no-repeat,
    linear-gradient(to bottom, var(--color-bg) 70%, var(--color-primary) 90%);
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 48px 32px 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  flex: 1;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: center;
}

.footer-nav ul a {
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: opacity var(--transition);
  white-space: nowrap;
}

.footer-nav ul a:hover {
  opacity: 0.7;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-sns a {
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition);
}

.footer-sns a:hover {
  opacity: 0.7;
}

.footer-sns .sns-label {
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: var(--color-white-60);
  letter-spacing: 0.08em;
  margin-top: 8px;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .footer-wave {
    height: 160px;
    background:
      url(/parts/others/footer_phone_v2.png) center / 100% 100% no-repeat,
      linear-gradient(to bottom, var(--color-bg) 70%, var(--color-primary) 90%);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px 28px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .footer-sns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
    justify-items: center;
  }

  .footer-sns a svg {
    width: 40px;
    height: 40px;
  }

  .footer-sns .sns-label {
    font-size: 13px;
  }
}
