/**
 * 有名人詳細ページのスタイル（統合版）
 * 
 * celebrity-single.css と celebrities-vertical.css を統合したファイル
 * 視認性とユーザー体験を向上させるための洗練されたスタイル
 * 
 * @version 2.0.0
 * @date 2025-07-28
 * @package collemi
 */

/* ===================================
 * 1. 基本レイアウト
 * =================================== */

/* コンテンツ全体のレイアウト */
.celebrity-content {
  display: block; /* グリッドからブロックレイアウトに変更 */
  padding: 30px 0;
  max-width: 1200px;
  margin: 0 auto;
}

/* 全体のコンテナスタイル */
.section-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

/* プロフィールコンテンツの構造 - 基本スタイルはdesign-enhancements.cssに移動 */
/* .profile-contentの共通定義はdesign-enhancements.cssで行われています */

/* 各セクションのスタイル - 共通スタイルはdesign-enhancements.cssに移動 */
/* .section-blockの共通定義はdesign-enhancements.cssで行われています */

/* セクションの見出し */
.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
  color: #333;
  position: relative;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: #000;
}

/* ===================================
 * 2. 画像と動画コンテンツ
 * =================================== */

/* 画像コンテナのスタイル */
.profile-image-container {
  width: 100%;
  max-width: 600px; /* 画像の最大幅を制限 */
  margin: 0 auto 2rem;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.celebrity-featured-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s ease;
  object-fit: cover;
  display: block;
}

.profile-image-container:hover .celebrity-featured-image {
  transform: scale(1.02);
}

/* 画像参照元のスタイル */
.image-source {
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #666;
  background-color: rgba(248, 249, 250, 0.8);
  border-radius: 6px;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.image-source:hover {
  background-color: rgba(241, 105, 181, 0.1);
}

.image-source a {
  color: #0066cc;
  text-decoration: none;
}

.image-source a:hover {
  text-decoration: underline;
}

/* YouTube埋め込み */
.celebrity-youtube-embed {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.celebrity-youtube-embed:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.16);
}

.video-reference-note {
  margin-bottom: 12px;
  padding: 10px 15px;
  font-style: italic;
  color: #555;
  background-color: rgba(248, 249, 250, 0.8);
  border-left: 3px solid var(--secondary-color, #6EBCE2);
  border-radius: 4px;
  font-size: 0.9rem;
}

.celebrity-youtube-embed iframe {
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 100%;
  border: none;
  border-radius: 8px;
  display: block;
}

/* ===================================
 * 3. SNSリンク
 * =================================== */

/* SNSリンクのスタイル調整 */
.celebrity-sns-links {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.sns-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff; /* 白色に変更 */
  transition: all 0.3s ease;
}

.sns-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.sns-link.youtube {
  background-color: #ff0000;
}

.sns-link.twitter {
  background-color: #1DA1F2;
}

.sns-link.instagram {
  background-color: #E1306C;
}

/* ===================================
 * 4. 着用アイテム
 * =================================== */

/* 着用アイテムグリッドのスタイル */
.fashion-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.item-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  border: 1px solid rgba(233, 236, 239, 0.4);
}

.item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  border-color: rgba(233, 236, 239, 0);
}

.item-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color, #F169B5), var(--secondary-color, #6EBCE2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.item-card:hover::after {
  transform: scaleX(1);
}

.item-thumbnail {
  position: relative;
  overflow: hidden;
  padding-top: 100%;
}

.item-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.item-card:hover .item-thumbnail img {
  transform: scale(1.08);
}

.item-info {
  padding: 18px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%);
}

.item-brand {
  color: var(--secondary-color, #6EBCE2);
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.item-name {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--dark-gray, #343A40);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 2.8em; /* 代替として最大高さも指定 */
}

/* ===================================
 * 5. プロフィール情報
 * =================================== */

/* プロフィール情報表示 */
.celebrity-profile {
  margin-bottom: 30px;
}

.celebrity-meta {
  margin-bottom: 25px;
}

.celebrity-meta-item {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.meta-label {
  font-weight: 600;
  margin-right: 10px;
  min-width: 100px;
  color: var(--text-secondary);
}

.meta-value {
  flex: 1;
}

/* ===================================
 * 6. レスポンシブ対応
 * =================================== */

/* メディアクエリはmobile-optimization.cssに移動しています */

/* メモ: モバイルデバイス向けのスタイルはmobile-optimization.cssに
   定義し、こちらのファイルにはデスクトップ向けのスタイルのみ残しています */
