  /* セクション枠 */
  .settings-section {
      background: white;
      padding: 1.5rem;
      border-radius: var(--border-radius);
      margin-bottom: 1.5rem;
      box-shadow: 0 2px 15px rgba(144, 209, 104, 0.1);
  }

  .section-title {
      color: var(--primary-color);
      font-size: 1.2rem;
      margin-bottom: 1rem;
  }

  .input-group {
      margin-bottom: 1rem;
  }

  .input-group label {
      display: block;
      margin-bottom: 0.5rem;
      color: var(--text-color);
  }

  /* プレビュー系 */
  .image-container {
      position: relative;
      width: 100%;
      margin: 1rem 0;
      border-radius: var(--border-radius);
      overflow: hidden;
      background-color: #f0f0f0;
  }

  .preview-canvas {
      width: 100%;
      height: 100%;
      display: block;
  }

  #baseImagePreview {
      z-index: 1;
  }

  #maskImagePreview {
      z-index: 2;
  }

  .grid-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: grid;
      pointer-events: none;
      z-index: 3;
  }

  /* パネル */
  .panel-info {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      pointer-events: auto;
      cursor: pointer;
      font-weight: bold;
      text-align: center;
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #ffffff;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
      font-size: 10px;
  }

  /* 公開状態（revealed） */
  .panel-info.revealed,
  .panel-info.revealed * {
      color: transparent !important;
      border: none !important;
      text-shadow: none !important;
      background: none !important;
  }

  .panel-title {
      margin-bottom: 0.5rem;
  }

  .panel-progress {
      /* 進捗表示 */
  }

  .mask-preview {
      max-width: 200px;
      max-height: 200px;
      object-fit: contain;
      margin: 1rem 0;
  }

  .preview-container {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin: 1rem 0;
  }

  .panel-settings {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1rem;
  }

  .panel-setting {
      background: var(--secondary-color);
      padding: 1rem;
      border-radius: var(--border-radius);
  }

  /* カラーUI */
  .color-picker-container {
      display: flex;
      align-items: start;
      gap: 1rem;
      margin-top: 0.5rem;
  }

  .color-preview {
      width: 50px;
      height: 50px;
      border: 2px solid #ddd;
      border-radius: var(--border-radius);
      cursor: pointer;
      flex-shrink: 0;
  }

  .color-opacity {
      flex-grow: 1;
  }

  .color-opacity label {
      display: block;
      margin-bottom: 0.5rem;
      font-size: 0.9em;
  }

  /* スライダー等 */
  input[type="range"] {
      width: 100%;
      margin: 0.5rem 0;
  }

  input[type="color"] {
      opacity: 0;
      width: 0;
      height: 0;
      padding: 0;
      margin: 0;
  }

  /* ダミーcanvas非表示 */
  .temp-canvas {
      display: none;
  }