
.friends-page {
  background: #ffffff;
  min-height: 100vh;
}

.fr-main {
    padding-top: clamp(96px, 12vw, 160px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

.fr-wrap {
  max-width: 1344px;              margin: 0 auto;
  padding: 0 24px;
}

.fr-head {
  padding: 0 12px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.fr-title {
  font-family: var(--font-display, 'LINE Seed TW', sans-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.19;              color: #00479D;
  margin: 0;
  letter-spacing: 0.01em;
}

.fr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  row-gap: 40px;
  padding: 0 12px;
  align-items: stretch;
}

.fr-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.16) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  box-shadow: 0 8px 16px 0 rgba(33, 37, 41, 0.12);
  -webkit-backdrop-filter: blur(56px);
  backdrop-filter: blur(56px);
  overflow: hidden;
}

.fr-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 153px;
  flex: 0 0 auto;
  background: #ffffff;
  padding: 20px 24px;
}

.fr-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fr-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 16px 20px;
  flex: 1 1 auto;
}

.fr-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.fr-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid #ffffff;
  font-family: var(--font-display, 'LINE Seed TW', sans-serif);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #00479D;
  white-space: nowrap;
  max-width: 100%;
}

.fr-card__title {
  font-family: var(--font-display, 'LINE Seed TW', sans-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: #212529;
  margin: 0;
}

.fr-card__desc {
  font-family: var(--font-body, 'LINE Seed TW', sans-serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #212529;
  margin: 0;
}

@media (max-width: 1280px) {
  .fr-grid { column-gap: 20px; row-gap: 32px; }
}

@media (max-width: 1024px) {
  .fr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .fr-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 24px;
  }
  .fr-card__logo { height: 132px; }
}

@media (max-width: 540px) {
  .fr-wrap { padding: 0 16px; }
  .fr-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding: 0;
  }
  .fr-head { padding: 0; }
  .fr-card__logo { height: 153px; }
  .fr-card__title { font-size: 18px; line-height: 27px; }
}
