/* TOP 公式SNS（Figma 598:1631） */

.top_sns_section {
  width: 100%;
  padding: 60px 20px;
  background: #fff;
  box-sizing: border-box;
}

.top_sns_section__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.top_sns_section .sec-heading {
  margin-bottom: 0;
}

.top_sns_section__lead {
  margin: 0;
  padding: 0;
  color: #000;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
}

.top_sns_section__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top_sns_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 140px;
  height: 160px;
  padding: 16px 8px;
  box-sizing: border-box;
  background: #f9f9f9;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.top_sns_card:hover {
  opacity: 0.75;
}

.top_sns_card__icon {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.top_sns_card__name {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
}

.top_sns_card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.top_sns_card__action-icon {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

@media screen and (max-width: 834px) {
  .top_sns_section {
    padding: 40px 16px;
  }

  .top_sns_section__inner {
    gap: 24px;
  }

  .top_sns_section__lead {
    font-size: 13px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    white-space: normal;
    max-width: 20em;
  }

  /* SP: 2列 × 3行 */
  .top_sns_section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 312px;
  }

  .top_sns_card {
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 148px;
    gap: 10px;
    padding: 16px 8px;
  }

  .top_sns_card__icon {
    width: 28px;
    height: 28px;
  }

  .top_sns_card__name,
  .top_sns_card__action {
    font-size: 12px;
  }
}
