/*
File: style-workshop.css
Purpose: Workshop投稿タイプに関するスタイル定義
Created: 2025-09-11
Last Updated: 2025-09-11
Author: K.Y
Notes:
- カテゴリーボタンの色分け
- カスタムフィールドの表示調整
*/

/* 全カスタムフィールドに白背景＋行間調整 */
.single-workshop .workshop-meta {
  background-color: #f9f9f9;       
  border: 1px solid #ddd;           
  border-radius: 8px;               
  padding: 0.5em 1em 0.5em 1em;             /* 内側の余白 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影 */
  font-size: 1rem;
  line-height: 1.6;
}

.workshop-meta p {
  margin: 0 0 0.2em;
}

.workshop-meta strong {
  color: #333;
  display: inline-block;
  min-width: 7em;                    /* ラベルの幅を揃える */
}
	
.workshop-meta {
	  color: #333;
	  font-weight: normal;
    background-color: #f9f9f9;
    padding: 0.1em;
    line-height: 1.6;
}

/* カスタム投稿カテゴリー色分け */
.category-button {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  font-weight: 600;
  color: #fff;
  margin: 4px 4px;
  white-space: nowrap;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* 募集中（グリーン） */
.category-button.current {
  background-color: #2ecc71;
}

/* 募集終了（レッド） */
.category-button.past {
  background-color: #e74c3c;
}

/* 優先告知（ブラウン） */
.category-button.priority {
  background-color: #8B4513;
}

/* 選択時） */
.category-button.current:hover {
  background-color: #008000;
	color: #ddd;
}

.category-button.past:hover {
  background-color: #c0392b;
	color: #ddd;
}

.category-button.priority:hover {
  background-color: #351a07;
	color: #ddd;
}

/*続きを読むボタン*/
a.wp-block-read-more.has-vk-color-primary-background-color:hover {
  background-color: #2e6b2f !important;
  color: #f0f0f0 !important;
}
