/* 窓香房 v12: footer accent + SNS icons
   v11 CSS の後に読み込む。既存の footer.php は変更しません。 */
body.madokohbo-modern-top .btn-pagetop {
  border-bottom: 5px solid #a6ce39;
}
/* SNS の画像に付いていた旧式の水色枠を取り、画像を縦横比維持で統一 */
body.madokohbo-modern-top .footer-icon li img,
body.madokohbo-modern-top .footer .sns-icon img {
  display: block;
  width: 40px;
  height: 40px;
  max-width: none;
  object-fit: contain;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
  background: transparent;
}
body.madokohbo-modern-top .footer-icon ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px auto 18px;
  padding: 0;
  list-style: none;
}
body.madokohbo-modern-top .footer-icon li {
  display: block;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.madokohbo-modern-top .footer-icon li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  line-height: 1;
  text-decoration: none;
  transition: opacity .2s ease;
}
body.madokohbo-modern-top .footer-icon li a:hover,
body.madokohbo-modern-top .footer-icon li a:focus-visible { opacity: .8; }
/* .sns-icon が画像の外側の容器として使われている場合の回り込みを解除 */
body.madokohbo-modern-top .footer-icon .sns-icon { float: none; }
@media (max-width: 767px) {
  body.madokohbo-modern-top .footer-icon ul { gap: 10px; }
}
