/* --- Floating Share (左下配置・中央寄せ・常時表示) --- */
.mf-floating-share {
  position: fixed;
	left: 60px;
  bottom: 220px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center; /* ← 吹き出し中央寄せ */
  gap: 12px;
  opacity: 1;
  pointer-events: auto;
}

/* 吹き出し本体 */
.mf-floating-share__toggle {
  border: 0;
  cursor: default;
  border-radius: 16px;
  background: #FFC107;
  color: #fff;
  font-weight: 700;
  padding: 8px 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  position: relative;
  text-align: center;
}
.mf-floating-share__toggle span::after {
  content: "";
  position: absolute;
  left: 50%;                      /* 中央揃え */
  transform: translateX(-50%);    /* ← 矢印中央寄せ */
  bottom: -8px;
  border: 8px solid transparent;
  border-top-color: #FFC107;
}

/* アイコンリスト */
.mf-floating-share__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;                   /* ← 横並びOK。縦にしたければ column に変更 */
  flex-direction: column;             /* ← 並び方向 */
  justify-content: center;
  gap: 10px;
}

/* 各アイコン */
.mf-share {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform .1s ease, opacity .2s ease;
}
.mf-share:hover {
  opacity: 0.85;
  transform: scale(1.05);
}
.mf-share img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* スマホ調整 */
@media (max-width: 767px){
  .mf-floating-share {
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
  }
  .mf-share {
    width: 52px;
    height: 52px;
  }
  .mf-floating-share__toggle {
    padding: 8px 12px;
    font-size: 14px;
  }
}
