/* mobile改行コントロール　<br class="u-sp-only"> 　*/
.u-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .u-sp-only {
    display: block;
  }
}

.site-footer {
  color: #333;
  margin-top: 0;
}

.footer-main {
  background: #fdf5e6;
  padding: 60px 40px 60px;
  position: relative;
  z-index: 1;
  margin-top: -1px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 100px;
}

.footer-left {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 240px;
  height: auto;
  display: block;
}

.footer-message {
  margin-top: 20px;
  font-size: 19px;
  line-height: 2;
  color: #5d6b5f;
}

.footer-right {
  flex: 0 0 58%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-address {
  margin-bottom: 18px;
}

.footer-address p {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-sns img {
  width: 50px;
  height: 50px;
  display: block;
}

.footer-nav {
  width: 100%;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.8;
  transition: opacity 0.3s ease;
}

.footer-nav li a:hover {
  opacity: 0.7;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  border: 1.5px solid #7cc79a;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

.page-top span {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #7cc79a;
  border-left: 2px solid #7cc79a;
  transform: rotate(45deg);
  margin-top: 6px;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-top:hover {
  transform: translateY(-4px);
}

@media (max-width: 1024px) {
  .footer-wave svg {
    height: 50px;
  }

  .footer-main {
    padding: 30px 16px 90px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-left,
  .footer-right {
    flex: none;
    width: 100%;
  }

  .footer-logo img {
    max-width: 180px;
  }

  .footer-message {
    margin-top: 14px;
    font-size: 20px;
    line-height: 1.8;
  }

  .footer-address {
    margin-bottom: 14px;
  }

  .footer-address p {
    font-size: 17px;
    line-height: 1.8;
  }

  .footer-sns {
    margin-bottom: 18px;
  }

  .footer-sns img {
    width: 50px;
    height: 50px;
  }

  .footer-nav ul {
    gap: 10px;
    margin-bottom: 20px;
  }

  .page-top {
    display: none !important;
  }
}
