/* ---------------------------
   Single Works 専用スタイル
--------------------------- */

/* 全体レイアウト */
.single-works .works-container {
  display: flex;
  justify-content: space-between;
  gap: 5%; /* 左右の余白 */
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

/* ---------------------------
   左側：メディアエリア
--------------------------- */
.single-works .works-media {
  flex: 0 0 65%;
}

.single-works .works-media-item {
  margin-bottom: 1.5rem;
}

.single-works .works-media-item img,
.single-works .works-media-item video,
.single-works .works-embed iframe {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---------------------------
   右側：テキストエリア
--------------------------- */
.single-works .works-info {
  flex: 0 0 30%;
  font-size: 0.95rem;
  line-height: 1.6;
}

.single-works .works-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.single-works .works-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.single-works .works-info h3 {
  font-size: 1.1rem;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #ccc;
}

.single-works .works-info p {
  margin: 0 0 0.5rem;
}

.single-works .works-tools ul {
  padding-left: 1.2rem;
  margin: 0.3rem 0;
}
.single-works .works-tools li {
  list-style-type: disc;
  margin-bottom: 0.3rem;
}

/* 本文（説明文） */
.single-works .works-content {
  margin-top: 1.5rem;
}

.single-works .works-details-body {
  line-height: 1.9;
  margin-top: .5rem;
  font-size: 0.95rem;
  color: #333;
}

/* ---------------------------
   前後ナビゲーション
--------------------------- */
.single-works .works-nav {
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 0 1rem;
}

.single-works .works-nav a {
  background: #eee;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #333;
  transition: background 0.2s;
}

.single-works .works-nav a:hover {
  background: #ddd;
}

/* 真ん中の「リストに戻る」 */
.single-works .works-nav-back {
  flex: 1;
  text-align: center;
}
.single-works .works-nav-back a {
  background: #666;
  color: #fff;
}
.single-works .works-nav-back a:hover {
  background: #444;
}

/* ---------------------------
   レスポンシブ対応
--------------------------- */
@media (max-width: 960px) {
  .single-works .works-container {
    flex-direction: column;
    gap: 2rem;
  }
  .single-works .works-media,
  .single-works .works-info {
    flex: 0 0 100%;
  }
}


.works-header{
	width: 100%;
	background: #fff;                /* 必要なら透過/別色に */
	border-bottom: 1px solid #eee;   /* いらなければ削除 */
  }
  .works-header__inner{
	max-width: 1200px;
	margin: 0 auto;
	padding: 12px 16px;
	display: flex;
	justify-content: center;   /* モバイル：中央寄せ */
	align-items: center;
  }
  .works-header__logo img{
	display: block;
	height: 40px;              /* ロゴ高さ。必要なら調整 */
	width: auto;
  }
  
  /* PCでは左寄せ */
  @media (min-width: 768px){
	.works-header__inner{
	  justify-content: flex-start;
	}
  }
  