/* 共通フッター（Tailwind非依存） */
.footer {
  margin-top: 0;
  background-color: #1700a0;
  color: #fff;
}

.footer-inner {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    gap: 3rem;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-link {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.15s ease;
}

.footer-brand-link:hover {
  opacity: 0.9;
}

.footer-logo {
  display: block;
  width: 10rem;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.5rem;
  row-gap: 2rem;
}

@media (min-width: 640px) {
  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

.footer-col {
  min-width: 0;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin: 0;
}

.footer-link {
  font-size: 13px;
  line-height: 1.375;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copy small {
  font-size: inherit;
}

.footer-utils {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
  column-gap: 1.25rem;
  row-gap: 0.25rem;
}

.footer-utils li {
  margin: 0;
}
