.profile { text-align: center;    background: #fff2f2;    padding: 10px 0; }
.profile img { border-radius: 50%; margin-bottom: 10px; width: 120px; height: 120px; object-fit: cover; }
.profile-name { font-weight: bold; font-size: 1.2em; }
.profile-age { margin-bottom: 10px; }
.profile-message { margin-bottom: 20px; }
.message-input { width: 80%; max-width: 400px; margin: 0 auto; padding: 5px; border: 1px solid #ccc; border-radius: 3px; }
.san{font-size: 0.7em;}
.profile-message-box {
background-color: #fff;
border: 1px solid #ccc;
padding: 10px;
border-radius: 5px;
margin: 0 20px; /* 左右に20pxのマージンを追加 */
text-align: left; /* テキストを左詰めにする */
font-weight: 600;
}
.send-button {
  font-size: 20px;
  font-weight: 600;
  width: 80%;
  display: block;
  margin: 20px auto;
  padding: 15px 15px;
  background-color: #06c755;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}
@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.15);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(1);
  }
}
.send-button {
  animation: heartbeat 2s infinite;
}
/* profile.css */
.send-button {
  position: relative;
  overflow: hidden; /* スパークルがボタン内に収まるようにする */
}
.button-sparkle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  top: 0;
  left: 0;
  overflow: visible;
}
.button-sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: yellow;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: button-sparkle-animation 2s infinite;
}

@keyframes button-sparkle-animation {
  0% {
      transform: scale(1) translate(0, 0) rotate(0deg);
      opacity: 1;
  }
  100% {
      transform: scale(0.5) translate(calc(100px * (random() - 0.5)), calc(100px * (random() - 0.5))) rotate(720deg);
      opacity: 0;
  }
}
