.floating-footer-buttons {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 20px);
  max-width: 640px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.floating-footer-buttons.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.floating-footer-buttons__item {
  flex: 1;
  min-width: 0;
}

.floating-footer-buttons__item--tel {
  flex: 2.4;
}

.floating-footer-buttons__item--line,
.floating-footer-buttons__item--mail {
  flex: 1;
}

.floating-footer-buttons__item img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .floating-footer-buttons {
    bottom: 10px;
    gap: 6px;
    width: calc(100% - 12px);
  }

  .head {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .head-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
  }

  .head-logo img {
    width: 130px;
    max-width: 48%;
    height: auto;
  }

  .head-logo p {
    margin: 0;
    text-align: right;
    line-height: 1.35;
    font-size: 1.1rem;
    width: 40%;
  }
}
