.footer {
  /*margin-top: 60px;
  margin: 0 auto;
  align-items: center;
  width: 100%;
  background: #fafafa;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  padding: 40px 5px 10px 5px;
  border-top: 1px solid #ddd;*/

  margin-top: 60px;
  width: 100%;
  max-width: none;
  background: #fafafa;
  padding: 40px 0 10px;
}

.footer-top {
  display: flex;
  max-width: 1000px;
  justify-content: space-between;
  flex-wrap: nowrap;
  margin: 0 auto 30px;
}

.footer-nav,
.footer-info {
  flex: 3;
  min-width: 150px;
  margin: 0 20px;
  white-space: nowrap; /* 幅が狭い場合でも改行はせず */
  /*font-size: clamp(10px, 2vw, 14px);  /* 最大14px最小10pxの間に拡大／縮小 */

}

.footer-nav h4,
.footer-info h4,
.footer-sns h4 {
  margin-top: 0px;
  font-size: 16px;
  margin-bottom: 15px;
  color: #222;
}

.footer-nav ul,
.footer-info ul {
  list-style: none;
  padding: 0;

}

.footer-nav li,
.footer-info li {
  margin-bottom: 25px;
  /* 调整间距大小， */
}

.footer-nav li:last-child {
  margin-bottom: 0;
  /* 去掉最后一项和下面元素之间的间距 */
}

.footer-nav a,
.footer-info a {
  color: #555;
  text-decoration: none;
  transition: color .3s;
}

.footer-nav a:hover,
.footer-info a:hover {
  color: #000;
}

.footer-sns {
  flex: 7;
  min-width: 250px;
  text-align: left;
}

.footer-sns h4 {
  font-size: 16px;
  margin-bottom: 32px;
}

.sns-icons {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  gap: 16px;
  /* 每个a之间的左右间距 */
}

.sns-icons a {
  text-decoration: none;
}

/* 统一 icon 的“框”，看起来整齐 */
.sns-icon-box {
  width: 70px;
  height: 70px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, opacity 0.3s;
}

.sns-icon-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

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

/* 图片自身大小适配容器 */
.sns-icon-box img {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}

.footer-sns a {
  margin: 0 8px;
  display: inline-block;
  opacity: 0.7;
  transition: opacity .3s;
}

.footer-sns a:hover {
  opacity: 1;
}

.footer-sns img {
  /* width: 28px;
  height: 28px; */
  max-width: 60%;
  max-height: 60%;
  vertical-align: middle;
}

.footer-bottom {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: #666;
}

.company-info p {
  margin: 2px 0;
  padding: 0 0 0 20px;
}

.copyright {
  margin-top: 8px;
    padding: 0 20px 0 20px;
}