/* 共通ベース（既にある場合は重複しないよう調整してください） */
.social-btn{
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  font-family: "Helvetica Neue", Arial, sans-serif;
  white-space: nowrap;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.social-btn .s-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 1.1rem;
}
.social-btn .s-label{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.social-btn .s-title{
  font-weight: 700;
  font-size: 0.95rem;
}
.social-btn .s-sub{
  font-size: 0.65rem;
  opacity: 0.9;
  margin-top: 2px;
}
.social-btn:active{ transform: translateY(-1px) scale(.995); }
@media (max-width:420px){
  .social-btn{ padding:0.5rem 0.75rem; gap:0.5rem; }
  .social-btn .s-title{ font-size:0.85rem; }
  .social-btn .s-sub{ display:none; }
  .frametxt{margin-top: 1.3rem;}
}

/* Instagram 個別 */
.social-btn.insta-btn{
  background: linear-gradient(90deg,#ff7a18,#af002d 60%,#320b86);
  box-shadow: 0 6px 18px rgba(50,11,134,0.18);
}
.social-btn.insta-btn:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 30px rgba(50,11,134,0.22);
  filter: saturate(1.08);
}

/* Facebook 個別 */
.social-btn.fb-btn{
  background: linear-gradient(90deg,#1877f2 0%,#0f63c9 60%,#0b4db0);
  box-shadow: 0 6px 18px rgba(11,77,176,0.18);
}
.social-btn.fb-btn .s-icon{ background: rgba(255,255,255,0.08); }
.social-btn.fb-btn:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 30px rgba(11,77,176,0.22);
  filter: saturate(1.06);
}

/* 20260808------------------------- */
.sns-wrapper{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:center; /* ← 追加：横中央揃え */
  margin:0 auto;           /* 中央寄せの保険 */
}

/* ボタン基礎 */
.sns-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  color:#fff;
  text-decoration:none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  box-shadow:0 6px 18px rgba(0,0,0,0.12);
  transition:transform .18s ease, box-shadow .18s ease;
  overflow:visible;
  margin-top: 1.0rem;
  margin-bottom: 1.5rem;
}

/* アイコン */
.sns-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border-radius:8px;
  background:rgba(255,255,255,0.10);
  font-size:18px;
}

/* テキスト */
.sns-text{ display:flex; flex-direction:column; line-height:1; }
.sns-title{ font-weight:700; font-size:0.95rem; }
.sns-sub{ font-size:0.65rem; opacity:0.9; margin-top:2px; }

/* 各サービス色 */
.sns-btn--insta{ background:linear-gradient(90deg,#ff7a18,#af002d 60%,#320b86); }
.sns-btn--fb{ background:linear-gradient(90deg,#1877f2 0%,#0f63c9 60%,#0b4db0); }

/* ホバー効果 */
.sns-btn:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(0,0,0,0.18); }

/* QRオーバーレイ（非表示→ホバーで表示） */
.sns-qr{
  position:absolute;
  right:50%;
  transform:translateX(50%) translateY(6px);
  bottom:100%;
  width:140px;
  height:140px;
  border-radius:10px;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  object-fit:cover;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  background:#fff;
  border:6px solid rgba(255,255,255,0.85);
  z-index:30;
}

/* ホバーまたはフォーカスで表示（キーボード対応）*/
.sns-btn:hover .sns-qr,
.sns-btn:focus .sns-qr,
.sns-btn:focus-within .sns-qr{
  opacity:1;
  transform:translateX(50%) translateY(0);
  pointer-events:auto;
}

/* スマホ対応：QRを右上に小さく表示 */
@media (max-width:480px){
  .sns-qr{ width:110px; height:110px; right:8px; left:auto; transform:none; bottom:calc(100% + 8px); }
  .sns-wrapper{ gap:10px; flex-wrap:wrap; }
  .sns-sub{ display:none; }
}
/* ---------------------------------- */