/* ==========================================================================
   1. フッター
   ========================================================================== */
.site-footer {
  background-color: #000;
  color: #fff;
  padding: 80px 50px 30px;
  margin-top: 100px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-size: 14px;
  margin-bottom: 20px;
  color: #888;
}

.footer-logo {
  margin-bottom: 10px;
}

/* footer.css への追記・修正 */
.footer-logo img {
  height: 50px; /* フッター用のロゴサイズ */
  width: auto;
  display: block;
}

.footer-logo a {
  display: flex; /* 横並びにする */
  align-items: center; /* 垂直方向の中央に揃える */
  gap: 15px; /* ロゴと文字の間の距離 */
  text-decoration: none;
}

/* ロゴの右隣の文字スタイル */
.footer-logo-text {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

.footer-column ul {
  list-style: none;
}
.footer-column ul li {
  margin-bottom: 10px;
}
.footer-column ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 15px;
}

.footer-legal a {
  color: #888;
  text-decoration: none;
}

/* LINEボタン関連のスタイルを一時的に非表示にする */
.line-fixed-btn,
.line-tooltip,
.line-bubble,
.line-inner {
  display: none; 
}

/* ==========================================================================
   2. フッター(レスポンシブデザイン)
   ========================================================================== */
/* モバイルフッター (768px以下) */
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 20px 20px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-logo {
    margin-bottom: 0;
  }
  .footer-logo a {
    justify-content: flex-start; /* 左寄せを維持 */
  }

  .footer-logo-text {
    font-size: 18px; /* スマホでは文字を少し小さく */
  }
}
/* スマホ小 (480px以下) */
@media (max-width: 480px) {
  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
  .footer-container p {
    font-size: 14px;
  }
}

/* ==========================================================================
   LINEボタン関連のスタイル整理 (LINE Button Styles)
   ========================================================================== */
/* style.css の最後に追加または修正 */

@media (max-width: 768px) {
  /* スマホ時に強制的に表示させる */
  .line-fixed-btn {
    display: flex !important; /* 強制表示 */
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 72px;
    height: 72px;
    background-color: #06c755;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease;
  }

  .line-inner {
    display: flex !important; /* 強制表示 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .line-fixed-btn:active {
    transform: scale(0.95);
  }

  /* 吹き出しアイコンのサイズと位置調整 */
  .line-bubble-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
    display: block;
  }

  .line-bubble-icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  /* ボタン内側・下部の白文字テキスト */
  .line-label {
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    line-height: 1;
    display: block;
  }
}
