.store-fixed-cta {
  display: none;
}

@media (max-width: 768px) {
  .page-template-store-page,
  .page-template-store-page-php,
  .page-template-store-page-miyakojima,
  .page-template-store-page-miyakojima-php,
  .page-template-store-page-munakata,
  .page-template-store-page-munakata-php {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .store-fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    width: 100%;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(202, 239, 225, 0.86);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.14);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .store-fixed-cta--count-1 {
    justify-content: center;
  }

  .store-fixed-cta__button {
    flex: 1 1 0;
    width: calc((100% - 8px) / 2);
    min-width: 0;
    min-height: 66px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 6px;
    border: 2px solid #fff;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.36);
    line-height: 1.25;
  }

  .store-fixed-cta--count-1 .store-fixed-cta__button {
    width: 100%;
    max-width: 420px;
  }

  .store-fixed-cta__button--tel {
    background: linear-gradient(180deg, #10c9a5 0%, #04916f 100%);
  }

  .store-fixed-cta__button--map {
    background: linear-gradient(180deg, #22c5ef 0%, #0787bf 100%);
  }

  .store-fixed-cta__icon {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
  }

  .store-fixed-cta__button--tel .store-fixed-cta__icon {
    color: #04916f;
  }

  .store-fixed-cta__button--map .store-fixed-cta__icon {
    color: #0787bf;
  }

  .store-fixed-cta__icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }

  .store-fixed-cta__text {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .store-fixed-cta__label {
    color: #fff86a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .store-fixed-cta__main {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .store-fixed-cta__button--tel .store-fixed-cta__main {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .store-fixed-cta {
    gap: 6px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .store-fixed-cta__button {
    gap: 6px;
  }

  .store-fixed-cta__icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }

  .store-fixed-cta__icon svg {
    width: 18px;
    height: 18px;
  }

  .store-fixed-cta__main,
  .store-fixed-cta__button--tel .store-fixed-cta__main {
    font-size: 14px;
  }
}
