.site-footer {
  background-color: #333;
  color: #fcfcfc;
  padding: 40px 20px;
  font-family: "M PLUS 1p", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

/* デフォルト：スマホ表示（Flex） */
.footer-container {
  display: flex;
  flex-direction: column;
}

/* PC表示時：Gridで4カラムに切り替え */
@media (min-width: 769px) {
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
  }
}

.footer-column {
  min-width: 200px;
}

.footer-section {
  margin: 0;
  padding: 0;
}

/* スマホ用アコーディオンボタン */
.accordion-header {
  background: none;
  border: none;
  text-align: center;
  font-weight: bold;
  width: 100%;
  padding: 0.5rem 0;
  margin: 0;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  color: #fcfcfc;
  font-size: 1.1rem;
}

.accordion-icon {
  font-size: 1.2rem;
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.footer-section.open .accordion-icon {
  transform: rotate(90deg);
}

/* リスト共通 */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-section ul li {
  margin: 0 0 8px 0;
}

.footer-section ul li a {
  color: #fcfcfc;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

/* ブランドロゴ＋SNS */
.footer-brand-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-sns {
  display: flex;
  gap: 30px;
}

.footer-sns a {
  color: #fcfcfc;
  font-size: 1.2rem;
  text-decoration: none;
}

.footer-sns a:hover {
  color: #fff;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 30px;
}

/* PC表示時の修正 */
@media (min-width: 769px) {
  .accordion-header {
    display: none;
  }

  .sp-accordion {
    display: block !important;
  }

  .footer-section ul li,
  .footer-section ul li a {
    text-align: left;
  }

  .footer-brand-column {
    align-items: flex-start;
  }
}

/* スマホ表示時 */
@media (max-width: 768px) {
  .accordion-header {
    display: flex;
  }

  .sp-accordion {
    display: none;
  }

  .footer-section.open .sp-accordion {
    display: block;
    margin-top: 12px;
  }

  .footer-logo {
    margin-bottom: 12px;
  }

  .footer-copy {
    margin-top: 20px;
  }
}

.footer-sns a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: inline-block;
}

.footer-about{
  font-size: 0.85rem;
}