/*
 * button-primary-wrapper
 * ----------------------------------------------------------------------------
 *
 */
.button-primary-wrapper {
  margin-top: var(--space-size-40);
}

.button-primary-wrapper .button-primary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 384px;
  height: 52px;
  margin: 0 auto;
  padding: 0;
  color: var(--ion-primary-button-text-color);
  font-size: var(--font-size-18);
  font-family: var(--hiragino-font-5);
  background: var(--ion-primary-button-bg-color);
  border-radius: 100px;
  border-width: 1px;
  border-color: var(--ion-primary-button-border-color);
  box-shadow: 0 2px 4px 0 var(--ion-primary-button-shadow-bg-color);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.button-primary-wrapper .button-primary:hover {
  background-color: var(--ion-primary-button-focused-bg-color);
}

.button-primary-wrapper .button-primary:active {
  background: var(--ion-primary-button-pressed-bg-color);
}

.button-primary-wrapper .button-primary ion-icon {
  position: absolute;
  right: 0;
  margin-right: var(--space-size-10);
  font-size: var(--font-size-22);
  color: var(--ion-primary-button-text-color);
}

/*
 * button-secondary-wrapper
 * ----------------------------------------------------------------------------
 *
 */
.button-secondary-wrapper {
  margin-top: var(--space-size-40);
}

.button-secondary-wrapper .button-secondary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 384px;
  height: 40px;
  margin: 0 auto;
  color: var(--ion-secondary-button-text-color);
  font-size: var(--font-size-16);
  font-family: var(--hiragino-font-3);
  background: var(--ion-secondary-button-bg-color);
  border: 1px solid var(--ion-secondary-button-border-color);
  border-radius: 100px;
  outline: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.button-secondary-wrapper .button-secondary:hover {
  background: var(--ion-secondary-button-focused-bg-color);
}

.button-secondary-wrapper .button-secondary:active {
  background: var(--ion-secondary-button-pressed-bg-color);
}

.button-secondary-wrapper .button-secondary ion-icon {
  position: absolute;
  right: 0;
  margin-right: var(--space-size-10);
  font-size: var(--font-size-20);
}

/*
 * button-footer
 * ----------------------------------------------------------------------------
 *
 */
.button-footer {
  position: relative;
  display: block;
  box-sizing: border-box;
  max-width: 191px;
  height: 49px;
  margin: 0 var(--space-size-16) var(--space-size-30) auto;
  padding-inline-end: var(--space-size-20);
  padding-inline-start: var(--space-size-20);
  padding: var(--space-size-16) var(--space-size-20);
  color: var(--ion-default-text-color);
  font-size: var(--font-size-12);
  font-family: var(--hiragino-font-3);
  line-height: 12px;
  letter-spacing: -0.36px;
  background: var(--ion-default-bg-color);
  border: none;
  border-radius: var(--space-size-25);
  outline-style: none;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* TODO:hover時スタイル要修正 */
/* .button-footer:hover {
  background: #e0e0e0;
} */

.button-footer:active {
  background: #c2c2c2;
}

.button-footer .button-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-footer ion-icon {
  margin-right: var(--space-size-6);
  font-size: var(--font-size-16);
}

/*
 * button-square-no-text
 * ----------------------------------------------------------------------------
 *
 */
.button-square-no-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--ion-square-button-bg-color);
  border: 1px solid var(--ion-square-button-border-color);
  border-radius: 6px;
  outline-style: none;
  box-shadow: 0 2px 0 0 var(--ion-square-button-shadow-bg-color);
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.button-square-no-text ion-icon {
  color: var(--ion-square-button-text-color);
  font-size: var(--font-size-22);
}

.button-square-no-text:hover {
  background: var(--ion-square-button-focused-bg-color);
}

.button-square-no-text:focus {
  background: var(--ion-square-button-focused-bg-color);
}

.button-square-no-text:active {
  background: var(--ion-square-button-pressed-bg-color);
}