/* ---------- footer ---------- */
.footer {
  background-color: #939AAF;
  color: #fff;
  padding: 60px 5% 30px;
  font-family: "Oswald", "Noto Sans JP", sans-serif;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
/* 左側 */
.footer__left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 45%;
}
.footer__logo {
  width: 250px;
  margin-bottom: 20px;
}
.footer__info {
  font-size: 14px;
  line-height: 1.8;
}
.footer__time {
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 500;
}
.footer__address {
  margin-top: 10px;
}

/* 右側 */
.footer__right {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
  flex-wrap: wrap;
}
.footer__nav {
  list-style: none;
  text-align: end;
}
.footer__nav li {
  margin-bottom: 10px;
}
.footer__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.footer__nav a:hover,
.footer__nav a.active {
  color: #1f2c5c;
}
.footer__nav--sub a {
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer__nav--sub a:hover,
.footer__nav--sub a.active {
  color: #1f2c5c;
}
.footer__copy {
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* ---------- SNSアイコン ---------- */
.footer__sns {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
/* 各アイコンのリンク枠（正方形で統一） */
.footer__sns .sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  overflow: hidden;
}
/* 画像サイズを枠内で統一（縦横センター） */
.footer__sns .sns-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: auto;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  object-fit: contain;
}
/* 通常時は白いアイコン */
.footer__sns .sns-icon.blue {
  opacity: 0;
}
/* ホバー時に青アイコンへフェード */
.footer__sns .sns-link:hover .sns-icon.white {
  opacity: 0;
}
.footer__sns .sns-link:hover .sns-icon.blue {
  opacity: 1;
}

/* ---------- responsive ---------- */
@media (max-width: 970px) {
  .footer__logo {
    margin: 0 auto 20px;
  }
  .footer__right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    flex-wrap: wrap;
    margin: 10px 0 20px;
  }
  .footer__nav li {
    margin-bottom: 6px;
  }
  .footer__copy {
    font-size: 11px;
    margin-top: 30px;
  }
  .footer__nav {
    list-style: none;
    text-align: start;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
  }
  .footer-links-sub {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
  }
  .footer-info {
    margin-top: 10px;
  }
  .footer__sns {
    justify-content: center;
    margin: 15px 0 10px;
    gap: 16px;
  }
  .footer__sns .sns-link {
    width: 36px;
    height: 36px;
  }
}
