.site-footer{
  background: #1437c7;
  color: #fff;
  margin-top: clamp(56px, 6vw, 96px);
}

.footer-inner{
  padding: clamp(28px, 3vw, 44px) var(--pageX);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
}

.footer-company{
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(16px, 2vw, 20px);
}

.footer-contact{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  opacity: 0.95;
}

.footer-link{
  color: #fff;
  text-decoration: none;
}
.footer-link:hover{ text-decoration: underline; }

.footer-sep{ opacity: 0.75; }

.footer-sns{
  display: flex;
  justify-content: center;
  gap: 10px;
}

.sns-btn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
}

.sns-btn:hover{
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}

/* 画像アイコン */
.sns-icon{
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.footer-copy{
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.2);
  width: min(680px, 100%);
  opacity: 0.95;
}

/* ★追加：トップへ戻るボタンのスタイル */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #1437c7; /* フッターと同じ青色に合わせました */
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 2000;
  
  /* 初期状態（非表示） */
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity .3s, transform .3s;
}

/* 表示時（is-showクラスがついた時） */
.to-top.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  filter: brightness(1.2);
}