@charset "utf-8";
/* CSS Document */

/* ==========================
   SP Fixed Emergency Button
========================== */

.sp-fixed-emergency {
  display: none;
}

@media screen and (max-width: 900px) {
  .sp-fixed-emergency {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 1040;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 12px 16px;
    background: #368262;
    color: #ffffff !important;
    border-radius: 14px;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    box-sizing: border-box;
  }

  .sp-fixed-emergency__main {
    display: block;
  }

  body {
    padding-bottom: 84px;
  }

  body.menu-open .sp-fixed-emergency {
    display: none;
  }
}

@media screen and (max-width: 380px) {
  .sp-fixed-emergency {
    left: 10px;
    right: 10px;
    min-height: 50px;
    padding: 10px 12px;
    font-size: 14px;
  }

  body {
    padding-bottom: 78px;
  }
}