body {
  background: linear-gradient(to bottom, #e0f7ff 0%, #87cefa 100%);
  background-size: 100% 300%;
  background-position: 0 0%;
  animation: floatBackground 10s ease-in-out infinite alternate;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  text-align: center;
  color: #333;
}

@keyframes floatBackground {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 100%;
  }
}



.profile-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  margin: 0 auto 10px auto; /* 中央寄せ */
  display: block;
}

main {
  background-color: white;
  max-width: 800px;
  margin: 2rem auto; /* 横中央寄せ */
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  text-align: center;  /* 中のテキストも中央 */
}

h1, h2, h3, p {
  margin-left: auto;
  margin-right: auto;
  /* テキストはbodyのtext-align: centerが効くので基本中央 */
}

.achievement, .company {
  background: white;
  margin: 20px auto;
  padding: 20px;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center; /* 中央揃え */
}

.achievement img {
  width: 100%;
  max-width: 400px;
  margin-top: 10px;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto; /* 画像も中央 */
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ffd700;
}

.social-icons img {
  width: 24px;
  height: 24px;
}

.contact-section {
  margin: 3rem 0;
  text-align: center;
}

.contact-button {
  width: 200px;  /* サイズは好きに変えてOK */
  height: auto;
  transition: transform 0.3s;
}

.contact-button:hover {
  transform: scale(1.05);
}

