/* ============================================
   会員一覧ページ専用CSS
   ============================================ */

.partners-page {
  background: #f7f5f0;
}

.partners-page .page-hero {
  background: transparent;
  color: #1f2328;
}

.partners-section {
  margin-bottom: 32px;
}

.partners-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f2328;
  margin-bottom: 16px;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  text-decoration: none;
  color: #1f2328;
  box-shadow: 0 8px 20px rgba(31, 35, 40, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 35, 40, 0.12);
  color: #1f2328;
}

.partner-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 10px;
}

.partner-name {
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.partner-text-link {
  display: inline-block;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  color: #1f2328;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(31, 35, 40, 0.08);
}

.partner-text-link:hover {
  color: #1f2328;
  background: #f5f0ea;
}

.partner-empty {
  color: #777;
  font-size: 0.95rem;
}

.institutions-menu {
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 96px;
}

.institutions-menu .list-group-item {
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #1b1b1b;
  text-decoration: none;
}

.institutions-menu .list-group-item:last-child {
  border-bottom: 0;
}

.institutions-menu .list-group-item.active {
  background: transparent;
  font-weight: 700;
}

.side-cta-menu {
  margin-top: 1rem;
}

.institutions-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
}

.institutions-sidebar .institutions-menu {
  position: static;
  top: auto;
}

.institutions-menu .menu-cta-link {
  font-weight: 700;
  color: #d08a5a;
}

@media (max-width: 991.98px) {
  .institutions-sidebar {
    position: static;
    top: auto;
  }
}
