footer {
  width: 100%;
  height: 110px;
  background-color: #fff;
  margin: 0 auto;
  padding: 0 20px;
  position: fixed;
  bottom: -120px;
  transition: bottom 0.4s ease-in-out;
}
footer.visible {
  bottom: 0;
  opacity: 1;
  z-index: 6;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  padding: 20px;
}

.footer-info {
  font-family: "M PLUS Rounded 1c", sans-serif;
  margin-right: 40px;
  text-align: center;
}

.footer-info > .tel-link > .content-tel {
  font-size: 24px;
  color: #333;
  font-weight: 800;
}

.footer-info > .tel-link > .content-time {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: 35px;
  z-index: 1000;
  bottom: -120px;
  transition: bottom 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.back-to-top.visible {
  bottom: 35px;
  opacity: 1;
}

.back-to-top:hover {
  color: #097b50;
  cursor: pointer;
}

.arrow {
  fill: #0baa6a;
  stroke: white;
  transition: color 0.3s;
}

.arrow:hover circle {
  fill: #097b50;
}

/* 960px以下のスマホ・タブレット */
@media screen and (max-width: 960px) {
  footer {
    height: 145px;
    bottom: -150px;
  }
  .footer-container {
    flex-direction: column; /* ボタンを下に移動 */
    gap: 15px;
  }

  .footer-info {
    margin-right: 0;
  }

  .footer-info > .tel-link > .content-tel {
    font-size: 16px;
    font-weight: 800;
  }

  .footer-info > .tel-link > .content-time {
    font-size: 12px;
    color: #333;
    font-weight: 600;
  }
  .footer-cta {
    margin-top: 5px;
  }
  .cta-btn {
    padding: 10px 20px;
    font-weight: 600;
  }
}
