.c-button {
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 4px;
  padding: 12px 30px;
  min-width: 288px;
  height: 48px;
  color: var(--color-text);
  transition: filter 0.3s ease;
  overflow: hidden;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
  font-weight: 600;
  &::before {
    content: '';
    background-color: var(--color-button-hover);
    transition: opacity 0.3s ease;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  &:hover {
    &::before {
      opacity: 0.08;
    }
  }
  &:active {
    &::before {
      opacity: 0.15;
    }
  }
  &.c-button--disabled {
    opacity: 40%;
    pointer-events: none;
  }
  .c-button-icon {
    margin-right: 8px;
    path {
      fill: var(--button-icon);
    }
  }
}
.c-button--primary {
  color: var(--color-text2);
  background-color: var(--button-primary-operation);
  .c-button-icon {
    path {
      fill: var(--button-icon-primary);
    }
  }
  &::before {
    background-color: var(--color-text2);
  }
  &:hover {
    &::before {
      opacity: 0.15;
    }
  }
  &:active {
    &::before {
      opacity: 0.3;
    }
  }
}
.c-button--rounded{
  border-radius: 100vmax;
}
.c-button--rectangle{
  border-radius: 0 !important;
}
.c-button--secondary {
  background-color: var(--button-secondary);
  border: 1px solid var(--line-button_secondary);
}
.c-button--tertiary {
  background-color: var(--button-tertiary);
}
.c-button--plain {
  background-color: transparent;
  border: none;
}
.dark{
  .c-button--primary {
    background-color: var(--button-primary-dark);
  }
  .c-button--tertiary {
    background-color: var(--button-tertiary-dark);
    border: 1px solid var(--button-tertiary-dark);
  }
}