.img-button {
  position: relative;
  display: inline-block;
}

.img-button img {
  display: block;
}

.text-overlay {
  position: absolute;
  top: 46%;      /* 画像上で下寄りに */
  left: 68%;     /* 画像の右寄りに */
  transform: translate(-50%, -50%);
  color: #fffffff3;
  font-weight: 300;
  font-size: 15.5px;
  background: transparent;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  font-family: "ヒラギノ角ゴ Pro W3";
}

@media screen and (max-width: 768px) {
 .text-overlay {
  position: absolute;
  top: 46%;      /* 画像上で下寄りに */
  left: 70%;     /* 画像の右寄りに */
  transform: translate(-50%, -50%);
  color: #fffffff3;
  font-weight: 300;
  font-size: 13px;
  background: transparent;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
  font-family: "ヒラギノ角ゴ Pro W3";
  }
}
