.footer-ad {
  margin: 40px auto;
  text-align: center;
  padding-bottom: 10px;
}

/* === 共通フッター === */
.footer {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: #666;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: transparent;
}

/* === フッター内のリンク === */
.footer a {
  color: #1e90ff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.2s;
}

.footer a:hover {
  color: #0b78d1;
  text-decoration: underline;
}

/* === ダークモード対応 === */
body.dark-mode .footer {
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .footer a {
  color: #66b3ff;
}

body.dark-mode .footer a:hover {
  color: #99ccff;
}