/* フッター */
footer {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(249, 250, 251, 1) 100%
  );
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  padding: 4rem 3rem 2rem;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.02) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) auto auto;
  gap: 4rem;
  align-items: start;
  padding-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary, #1e3a8a) 0%, var(--primary-dark, #1e40af) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

.footer-brand h3 img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}

.footer-brand p {
  color: var(--ink-mute);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 320px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-400);
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--ink-mid);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 450;
  transition: all 0.2s var(--easing-standard);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
}

.footer-links a:hover {
  color: var(--primary, #1e3a8a);
  transform: translateX(4px);
}

.footer-links a::before {
  content: "→";
  font-size: 0.875rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s var(--easing-standard);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--neutral-400);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links h4 {
    font-size: 0.7rem;
    padding-bottom: 0.5rem;
  }

  .footer-links a::before {
    display: none;
  }

  .footer-links a:hover {
    transform: none;
    color: var(--primary, #1e3a8a);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-top: 1.5rem;
  }

  .footer-bottom p {
    font-size: 0.8125rem;
  }
}
