body {
  font-family: sans-serif;
  background-color: #fdfdfd;
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
}

header {
  background-color: #333;
  color: white;
  padding: 20px;
}

main {
  padding: 20px;
  max-width: 700px;
  margin: auto;
  box-sizing: border-box;
}

.photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.photo img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto;
}

/* ロゴ画像（元の位置とサイズ） */
.photo img.logo {
  position: absolute;
  bottom: 20px;
  left: 50px;
  max-width: 210px;
  height: auto;
  pointer-events: none;
}

p {
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
  padding: 0 10px;
  box-sizing: border-box;
}

.sns-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 0 10px;
  box-sizing: border-box;
}

.sns-links a {
  background-color: #007acc !important;
  color: white !important;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  font-weight: bold;
  min-width: 120px;
  text-align: center;
  flex: 1 1 40%;
  max-width: 200px;
}

/* Instagramリンク */
.sns-links a.instagram {
  background-color: #9b59b6 !important;
}

.sns-links a.instagram:hover {
  background-color: #ff69b4 !important;
}

/* Xリンク */
.sns-links a.x {
  background-color: black !important;
  color: white !important;
}

.sns-links a.x:hover {
  background-color: #888888 !important;
}

/* Facebookリンク（通常: 濃い青、ホバー時: 明るい青） */
.sns-links a.facebook {
  background-color: #135abd !important;
}

.sns-links a.facebook:hover {
  background-color: #1877F2 !important;
}

/* Threadsリンク（黒 → ホバーでグレー） */
.sns-links a.threads {
  background-color: black !important;
}

.sns-links a.threads:hover {
  background-color: #888888 !important;
}

/* YouTubeリンク（赤 → やや明るい赤） */
.sns-links a.youtube {
  background-color: #ff0000 !important;
}

.sns-links a.youtube:hover {
  background-color: #ff5555 !important;
}

footer {
  background-color: #eee;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}

@media screen and (max-width: 500px) {
  .sns-links a {
    font-size: 0.9em;
    padding: 8px 10px;
    min-width: 100px;
  }

  p {
    font-size: 0.95rem;
  }
}
