/*
Theme Name: Lightning Child
Template: lightning
*/

/* 投稿ページ用のレイアウト調整 */
.profile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.profile-photo img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile-info {
  text-align: center;
  width: 100%;
}

.profile-info h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #333;
}

.profile-info p {
  font-size: 1rem;
  margin: 0.5rem 0;
  color: #555;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.sns-links li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f0f0f0;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.sns-links li a:hover {
  background-color: #0077cc;
  color: #fff;
}

/* 紹介文（中央揃え＋改行反映） */
.profile-message {
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  text-align: center;
  padding: 0 1rem;
  white-space: pre-wrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 600px) {
  .profile-photo img {
    width: 140px;
    height: 140px;
  }

  .profile-info h1 {
    font-size: 1.5rem;
  }

  .sns-links {
    flex-direction: column;
    align-items: center;
  }

  .sns-links li a {
    width: 100%;
    text-align: center;
  }
}
