/* Footer Styles */
footer {
  background-color: #0a0f2c;
  color: #d1d5db;
  padding: 20px 20px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  margin: 0 auto;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
  margin: 20px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 3px;
}

.footer-column ul li a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-column p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #d1d5db;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social a {
  color: #d1d5db;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.social a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 15px;
  color: #9ca3af;
}

.footer-bottom a {
  margin: 0 10px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;   /* center the columns horizontally */
    text-align: center;
  }

  .footer-column {
    margin: 5px 0;         /* reduce spacing between sections */
    width: 100%;           /* make them stretch consistently */
    max-width: 300px;      /* optional: limit width for nice alignment */
  }

  .social {
    justify-content: center;
    margin-top: 8px;       /* reduce gap above social icons */
  }
  
}
