/* ───────────────────────────────
   作品詳細ページ
────────────────────────────── */
.single-works {
  max-width: 91.5vw;
  margin: 60px auto;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #222;
  box-sizing: border-box;
}

/* タイトル */
.work-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 60px 0 12px 0;
  text-align: left;
}

/* 白背景ラッパー */
.work-featured-wrapper {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  border-radius: 8px;
}

/* アイキャッチ */
.work-featured-image { width: 100%; max-width: 100%; }
.work-featured-image img {
  width: 100%; height: auto; display: block; object-fit: contain; border-radius: 4px;
}

/* セクション */
.work-section { margin-bottom: 40px; }

/* 見出し */
.work-heading { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }

/* 本文 */
.work-detail-text {
  font-size: 1rem; font-weight: 400; color: #444; line-height: 1.8; margin-bottom: 30px;
}

/* メディアギャラリー */
.work-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.work-media-item img,
.work-media-item video {
  width: 100%; height: auto; border: 1px solid #ddd; border-radius: 6px;
  object-fit: cover; display: block;
}

/* スマホ */
@media screen and (max-width: 600px) {
  .single-works { max-width: 95vw; padding: 0 5vw; }
  .work-title { font-size: 1.6rem; }
  .work-heading { font-size: 1.3rem; }
  .work-detail-text { font-size: 0.95rem; }
  .work-media-gallery { grid-template-columns: 1fr; gap: 20px; }
  .work-featured-wrapper { padding: 20px; margin-bottom: 40px; }
}
