@charset "UTF-8";

/* 中央：プレビューエリア */
.flex-container {
  width: 100%;
  height: 100%;
  display: flex;
  /* JSで動的にプロパティを変更 */
  background-color: #fff;
  border: 1px solid #eee;
  padding: 1rem;
  overflow: hidden;
}

/* 右：操作パネル */

/* ボタン群 */
.button-group {
  margin-bottom: 1.5rem;
}

.button-group p {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.button-group button {
  min-width: 140px;
  max-width: 160px;
  background: var(--button-gradient);
  color: #006064;
  margin: 0.25rem;
  padding: 0.7rem 1rem;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.button-group button:hover {
  background: var(--hover-gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.button-group button.active {
  background: #0288d1;
  color: white;
}

/* 子要素の数入力欄 */
.count-input-group label,
.gap-input-group label {
  font-weight: bold;
  font-size: 16px;
  color: #444;
  display: inline-block;
  margin-right: 0.5rem;
}

#itemCount,
#flexGap {
  width: 60px;
  padding: 0.4rem 0.6rem;
  font-size: 1rem;
  text-align: center;
  border: 1px solid #bbb;
  border-radius: 6px;
  background: #fff;
}

.count-input-group,
.gap-input-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}