/* ページトップボタン（CSS丸ボタン） */
.pagetop-btn {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  background: #3fa46a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
  transition: opacity 0.3s, background 0.3s, transform 0.3s;
}

.pagetop-btn:hover {
  background: #0f4a28;
  transform: translateY(-3px);
}

/* ===== フッター全体 ===== */
footer {
  background: #3fa46a;
  color: #ffffff;
  padding: 40px 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

footer .footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  line-height: 1.8;
}

/* ===== 左側：リンク ===== */
footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

footer .footer-links li {
  margin-bottom: 8px;
}

footer .footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

/* ===== 右側：住所 ===== */
footer .footer-info {
  font-size: 0.95rem;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .pagetop-btn {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  footer .footer-info {
    margin-top: 20px;
  }
}