/* ===== 全体共通設定 ===== */
html {
  font-family: sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

a {
  color: #4b5564;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #000;
}

ul {
  padding: 0;
  list-style: none;
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

/* ===== フッター全体レイアウト ===== */
footer {
  margin: 15px auto 0;
}

.footer_container {
  background-color: #ecffe7;
}

.footer {
  width: 100%;
  padding: 2rem;
  font-size: 15px;
  background: #fff;
}

.grid {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ===== フッター内要素 ===== */
.footer_logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer_navi-heading {
  font-weight: 600;
}

.footer_navi li {
  margin-bottom: 0.75rem;
}

.footer_address {
  margin-bottom: 2rem;
}

.footer_address a {
  text-decoration: underline;
}

/* ===== SNSアイコン ===== */
.sms_icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.sns-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.2s ease;
}

.sns-icon:hover {
  transform: scale(1.1);
}

/* ===== コピーライト ===== */
.copyright {
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem;
}

/* ===== レスポンシブ対応（768px以上） ===== */
@media (min-width: 768px) {
  .grid {
    flex-direction: row;
    justify-content: space-around;
  }

  .footer {
    width: 80%;
  }

  .footer_address a {
    text-decoration: none;
    pointer-events: none;
  }
}