.item-container {
  display: flex;
  flex-wrap: wrap;
  background: #fff0f5;
  padding: 20px;
  border-radius: 12px;
  margin: 20px;
}

.item-main {
  display: flex;
  flex: 1;
  gap: 20px;
  flex-wrap: wrap;
}

.item-main img {
  width: 280px;
  height: auto;
  border-radius: 10px;
}

.item-info {
  flex: 1;
  min-width: 250px;
}

.item-info h2 {
  font-size: 1.5em;
  margin: 0 0 10px;
  color: #d63384;
}

.item-info p {
  margin: 5px 0;
  font-size: 1em;
}

.item-info a {
  display: inline-block;
  margin-top: 10px;
  background: #ff80aa;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.related-coords {
  margin-top: 40px;
  width: 100%;
}

.related-coords h3 {
  font-size: 1.2em;
  color: #d63384;
  margin-bottom: 10px;
}

.coord-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
}

.coord-card h4 {
  margin: 0 0 5px;
  color: #333;
}

.coord-card iframe,
.coord-card blockquote {
  max-width: 100%;
  width: 100%;
  min-height: 300px;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 10px 0;
}

/* 🔽 SNSタブ追加スタイル */
.sns-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.sns-tab {
  padding: 8px 16px;
  background: #ffe0ec;
  color: #d63384;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.sns-tab.active {
  background: #d63384;
  color: white;
}

.sns-panel {
  display: none;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 10px;
}

.sns-panel.active {
  display: flex;
}

.celeb-name {
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

@media screen and (max-width: 768px) {
  .item-main {
    flex-direction: column;
    align-items: center;
  }

  .item-main img {
    width: 90%;
  }

  .item-info {
    width: 100%;
  }

  .scroll-container {
    flex-direction: column;
    overflow-x: visible;
  }

  .sns-panel {
    flex-direction: column;
    overflow-x: visible;
  }
}