/* Cocoonデフォルトフッターを非表示 */
.footer-bottom,
#footer {
  display: none !important;
}

/* カスタムフッター */
.custom-footer {
  background: #1e293b;
  padding: 64px 0 32px;
  width: 100%;
}

.custom-footer .cf-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.custom-footer__top {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  margin-bottom: 48px;
}

.custom-footer__brand .cf-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-footer__brand .cf-logo img {
  width: 32px;
  height: 32px;
}

.custom-footer__brand .cf-logo-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.custom-footer__brand p {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 14px;
  line-height: 1.7;
  font-weight: 600;
}

.custom-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.custom-footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.custom-footer__social a:hover {
  border-color: #60a5fa;
  color: #60a5fa;
  transform: translateY(-2px);
}

.custom-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-left: auto;
}

.custom-footer__links h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin: 0 0 16px;
}

.custom-footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-footer__links li {
  margin: 0;
  padding: 0;
}

.custom-footer__links a {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-footer__links a:hover {
  color: #fff;
}

.custom-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  color: #64748b;
  font-weight: 600;
}

.custom-footer__legal {
  display: flex;
  gap: 24px;
}

.custom-footer__legal a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.custom-footer__legal a:hover {
  color: #fff;
}

.custom-footer .booth-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .custom-footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .custom-footer__top {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 36px !important;
    margin-bottom: 40px !important;
  }

  .custom-footer__brand {
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .custom-footer__brand .cf-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }

  .custom-footer__brand .cf-logo-text {
    text-align: center !important;
  }

  .custom-footer__brand p {
    width: 100% !important;
    text-align: center !important;
    margin-top: 14px !important;
  }

  .custom-footer__social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 20px !important;
  }

  .custom-footer__links {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 32px !important;
    margin-left: 0 !important;
  }

  .custom-footer__links > div {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .custom-footer__links h4 {
    margin: 0 0 12px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .custom-footer__links ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: center !important;
    align-items: center !important;
  }

  .custom-footer__links li {
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .custom-footer__links li:last-child {
    margin-bottom: 0 !important;
  }

  .custom-footer__bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    text-align: center !important;
  }

  .custom-footer__legal {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .custom-footer__brand .cf-logo-text {
    font-size: 1.1rem;
  }

  .custom-footer__brand p,
  .custom-footer__links a,
  .custom-footer__bottom,
  .custom-footer__legal a {
    font-size: 0.84rem;
  }

  .custom-footer__social a {
    width: 36px;
    height: 36px;
  }
}
