/* 元のMautic選択フィールドを非表示 */
.mauticform-row .mautic-original-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* チェックボックス一覧 */
.mauticform-row .mautic-custom-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
  margin-top: 10px;
  box-sizing: border-box;
}

/* 個別の選択肢 */
.mauticform-row .mautic-custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.6;
  box-sizing: border-box;
}

/* チェックボックス */
.mauticform-row .mautic-custom-checkbox input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #155085;
}

/* 選択肢のテキスト */
.mauticform-row .mautic-custom-checkbox span {
  flex: 1;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* 選択済み */
.mauticform-row .mautic-custom-checkbox:has(input:checked) {
  background: #eef5fb;
  border-color: #155085;
}

/* スマホ */
@media (max-width: 767px) {
  .mauticform-row .mautic-custom-checkbox {
    padding: 12px;
    font-size: 13px;
  }
}