.c-checkBox-wrap {
  &.c-checkBox-wrap--disabled {
    opacity: 40%;
    pointer-events: none;
  }

  .c-checkBox-inner {
    display: flex;
    align-items: center;
  }

  .c-checkBox {
    position: relative;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line-button_tertiary);
    background-color: var(--color-white);
    cursor: pointer;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    letter-spacing: var(--letter-spacing-base);

    &.c-checkBox--error {
      border-color: var(--color-emergency);
    }
    &:checked {
      border-color: var(--color-selected);
      background-color: var(--color-selected);
      &::after {
        content: '';
        display: block;
        position: absolute;
        left: 4px;
        top: 5px;
        width: 14px;
        height: 8px;
        border-left: 2px solid var(--color-white);
        border-bottom: 2px solid var(--color-white);
        transform: rotate(-45deg);
      }
    }
  }
  .c-checkBox-label {
    padding-left: 12px;
    cursor: pointer;
  }
  .c-checkBox-error {
    font-size: 12px;
    margin-top: 6px;
    margin-bottom: 0px;
    color: var(--color-emergency);
  }
}
.dark{
  .c-checkBox{
    background-color: transparent;
    border: 1px solid var(--checkbox);
  }
}