:root {
  --c-button-rounded-min-width-pc: 210;
}

.c-button-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 55px;
  background-color: var(--color-primary-01);
  border: 1px solid var(--color-primary-01);
  box-sizing: border-box;
  padding: 15px 30px;
  text-decoration: none;
  cursor: pointer;
  gap: 20px;
  transition: all .4s linear;

  .c-button-rounded__text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-font-03);
    letter-spacing: 0.8px;
    transition: all .4s linear;
  }

  .c-button-rounded__icon {
    width: 10px;

    .c-button-rounded__icon-image--hover {
      transition: all .4s linear;
      display: none;
    }
  }

  &:disabled{
    background-color: var(--color-disabled-01);
    border-color: var(--color-disabled-01);

    .c-button-rounded__icon {
        display: inline;
    }
  }
}

.c-button-rounded--disabled {
  background-color: var(--color-disabled-01);
  cursor: auto;
  border-color: var(--color-disabled-01);

  .c-button-rounded__text {
    font-weight: 500;
    font-family: var(--font-ff-outfit);
  }

  .c-button-rounded__icon {
    display: inline;
  }
}

.c-button-rounded--min-width {
  min-width: calc(var(--c-button-rounded-min-width-pc) * 1px);
}

.c-button-square-rounded {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
  padding: 30px;
  text-decoration: none;
  cursor: pointer;

  .c-button-square-rounded__text-wrap {
    display: flex;
    align-items: flex-end;
  }
  
  .c-button-square-rounded__text {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--color-primary-02);
    letter-spacing: 1px;
  }

  .c-button-square-rounded__coming-soon {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary-02);
    letter-spacing: 0.8px;
  }

  .c-button-square-rounded__image {
    width: 32px;
  }

  &:disabled {
    background-color: var(--color-disabled-01);
    cursor: not-allowed;
  }
}

.c-button-square-rounded--disabled {
  cursor: auto;
}

.c-button-page-top {
  display: inline-block;
  cursor: pointer;
  position: fixed;
  width: 50px;
  right: 60px;
  bottom: 60px;
  z-index: 1;
}

/* PCのみ */
@media (hover: hover) and (pointer: fine) {
  .c-button-rounded:not(.c-button-rounded--disabled) {
    &:not(:disabled):hover {
      background-color: var(--color-font-03);
  
      .c-button-rounded__icon {
        .c-button-rounded__icon-image--default {
          display: none;
        }
  
        .c-button-rounded__icon-image--hover {
          display: inline;
        }
      }
  
      .c-button-rounded__text {
        color: var(--color-primary-01);
      }
    }
  }

  .c-button-square-rounded {
    .c-button-square-rounded__image {
      transition: all .4s linear;
    }

    &:not(:disabled):hover {
      .c-button-square-rounded__image {
        transform: translateX(5px);
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .c-button-rounded {
    gap: 16px;
  
    .c-button-rounded__text {
      line-height: 100%;
    }
  
    .c-button-rounded__icon {
    }
  }

  .c-button-page-top {
    right: 20px;
    bottom: 20px;
  }
}