.button {
  position: relative;
  text-align: center;

  &.block {
    width: 100%;
    height: 62px;

    .button__bg {
      height: 100%;
      margin: auto;
    }

    .button__inner,
    .button__text {
      position: absolute;
      top: 10px;
      left: 0;
      width: 100%;
      height: 62px - 10px * 2;
    }
  }

  &.line-1,
  &.line-2 {
    box-sizing: border-box;

    .button__bg {
      width: 100%;
      height: 100%;
    }

    .button__inner,
    .button__text {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }

    .button__text {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 4px 12px;
      box-sizing: border-box;
    }
  }

  &.line-1 {
    width: 85px;
    height: 28px;
    font-size: var(--button-line-1, 12px);
  }

  &.line-2 {
    width: 90px;
    height: 35px;
    font-size: 10px;
  }

  .button__inner {
    padding: 0;
    opacity: 0;
  }
}