.footer {
  background-color: #000;
  width: 100%;
  position: relative;
  padding: 35px 0 35px 0;
}

.home .footer {
  padding-bottom: 120px;
}

.footer-container {
  width: 58.8%;
  margin: 0 auto 0 auto;
  justify-content: flex-start;
}

.footer-contact {
  margin-left: 18%;
}

.footer-contact-copy {
  font-size: 1.25vw;
  letter-spacing: 0.02em;
  line-height: 29px;
}

/* 追従ボタン */
.button-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.button-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 64px;
  background-color: #42403E;
  z-index: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.button-wrapper {
  background-color: #42403E;
  border-radius: 20px;
  padding: 10px;
  z-index: 1;
  position: relative;
  overflow: visible;
}

.button-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 8px 16px rgba(66, 64, 62, 0.6);
  z-index: -1;
}

.button-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  max-width: 100%;
}


/* SP */
@media screen and (max-width: 768px) {
  .footer {
    padding: 22px 0 48px 0;
  }

  .home .footer {
    padding-bottom: 125px;
  }

  .footer-container {
    width: 100%;
    display: block;
    text-align: center;
  }

  .footer-logo {
    margin: auto;
  }

  .footer-contact {
    margin-left: 0px;
    margin-top: 26px;
  }

  .footer-contact-copy {
    font-size: 12px;
    line-height: 14px;
  }

  /* 追従ボタン */
  .button-section::before {
    display: none;
  }

  .button-wrapper {
    box-shadow: 0 0px 12px rgba(66, 64, 62, 0.6);
    border-radius: 12px 12px 0 0;
  }

  .button-wrapper::before {
    display: none;
  }

  .button-wrapper img {
    border-radius: 12px 12px 0 0;
  }
}