/* ===== 富美の里 Footer (White theme) ===== */
footer.site-footer {
  background: #ffffff;            /* 白背景 */
  color: #0f172a;                 /* 濃い文字色 */
  border-top: 1px solid #e5e7eb;  /* 薄いグレーの罫線 */
  font-size: 15px;
  line-height: 1.8;
}

footer.site-footer a {
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}
footer.site-footer a:hover { border-bottom-color: currentColor; }

footer.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* 3カラム float */
footer.site-footer .footer-grid { zoom: 1; }
footer.site-footer .footer-grid:after {
  content: "";
  display: block;
  clear: both;
}
footer.site-footer .footer-section {
  float: left;
  width: 32%;
  margin-right: 2%;
  background: #f9fafb;             /* 薄いグレーの面で区切り */
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 18px 16px;
  margin-bottom: 28px;
}
footer.site-footer .footer-section:nth-child(3n) { margin-right: 0; }

@media screen and (max-width: 900px) {
  footer.site-footer .footer-section {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}

/* columns内の並び */
footer.site-footer .columns { display:flex; gap:20px; }
@media (max-width:700px){ footer.site-footer .columns { display:block; } }

/* フッター内の h2 を上書き（背景なし＋下線タイプ） */
footer.site-footer .footer-section h2 {
  background: transparent;
  margin: 0 0 12px;
  padding: 0 0 6px;
  line-height: 1.4;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .03em;

  border: none;
  border-bottom: 2px solid #e5e7eb;  /* 薄いグレー下線 */
}


/* 余計な下線などが他で付く場合の保険 */
footer.site-footer .footer-section h2::after { content: none; }




footer.site-footer .note { 
  color: #475569;        /* 少し淡い文字色 */
  font-size: .92em; 
}

footer.site-footer .list { margin: 0; padding: 0 0 0 1.1em; }
footer.site-footer .list li { margin: .2em 0; }

footer.site-footer .thumb {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

footer.site-footer .pill {
  display: inline-block;
  border: 1px solid #0e6434;
  color: #0e6434;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .92em;
  margin-top: 8px;
}

footer.site-footer .kv { font-size: 1.05em; }
footer.site-footer .kv strong { color: #0e6434; }

footer.site-footer .legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
  color: #64748b;
  font-size: .9em;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
}

footer.site-footer img { 
  max-width: 100%; 
  height: auto; 
  border: 0; 
}

/* フッター内の連絡先ブロックを強制的に左寄せ・通常フローへ */
footer.site-footer .contact {
  float: none !important;
  position: static !important;
  text-align: left !important;
  display: block;
  clear: both;            /* もし上で画像やボタンがfloatしていても回り込みを解除 */
  margin-top: 8px;
  word-break: break-word; /* 長いメール等でのはみ出し防止 */
}

/* 念のため、フッター内の .right を使っていても回り込みしないように */
footer.site-footer .footer-section .right {
  float: none !important;
  text-align: right;      /* テキストだけ右寄せにしたい用途は維持 */
}

/* リンクは1行で切れない方が良い部分だけnowrap */
footer.site-footer .contact a[href^="tel:"],
footer.site-footer .contact a[href^="mailto:"] {
  white-space: nowrap;
}

/* 支払いロゴの整列 */
footer.site-footer .payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;             /* ロゴの間隔 */
  align-items: center;
  margin: 8px 0;
}

footer.site-footer .payment-logos img {
  max-height: 32px;      /* 高さを揃える */
  width: auto;
  display: block;
}

/* ご注文方法のリストだけ左寄せに揃える */
footer.site-footer .footer-section .list{
  list-style: none;   /* マーカー非表示 */
  padding-left: 0;    /* ← インデントを打ち消す */
  margin: 0;
}
footer.site-footer .footer-section .list li{
  margin: 0 0 10px;   /* 適度な行間だけ確保 */
  padding-left: 0;
}

