/* ==========================================================================
   1. フッター全体の基本スタイル（PC・スマホ共通）
   ========================================================================== */
.site-footer {
  background-color: #333333; /* フッター全体の背景色 */
  padding: 40px 20px;
  font-family: "メイリオ", sans-serif;
  width: 100%;
  box-sizing: border-box; /* 左右の余白によるはみ出しを完全に防ぐ */
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* コピーライト */
#copyright {
  color: #ffffff !important;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   2. 【PC・タブレット表示用】（画面幅が 769px 以上 のとき）
   ========================================================================== */
@media screen and (min-width: 769px) {
  /* メニューを横一列に並べる */
  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
  }

  /* 縦並び・2列化を完全に防ぐ */
  .footer-nav li {
    width: auto !important; 
    display: inline-block;
  }

  /* リンクの文字スタイル（他からの干渉をリセット） */
  .footer-nav a {
    color: #ffffff !important;
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: opacity 0.3s;
    display: inline-block;
  }

  .footer-nav a:hover {
    opacity: 0.7;
  }
}

/* ==========================================================================
   3. 【スマホ表示用】（画面幅が 768px 以下 のとき）
   ========================================================================== */
@media screen and (max-width: 768px) {
  .site-footer {
    padding: 30px 10px;
  }

  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 0;
  }

  /* 2列（幅50%）にする */
  .footer-nav li {
    width: 50% !important; 
    box-sizing: border-box;
    text-align: center;
    padding: 0 4px;
  }

  /* スマホ用リンク文字サイズ調整 */
  .footer-nav a {
    color: #ffffff !important;
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    
    text-decoration: none;
    font-size: 13.5px;
    line-height: 1.4;
    padding: 6px 0;
    display: inline-block;
    width: 100%;
  }

  /* ✨ 携帯画面の時に店舗詳細テーブルの文字を小さくする設定 ✨ */
  .info-table td, 
  .info-table td span {
    font-size: 13px !important; /* 文字サイズを13pxに縮小 */
    padding: 8px 6px !important; /* 左右の余白を少し詰めて画面内に収めやすく */
  }
}