.studio-footer {
  position: relative;
  flex: none;
  width: 100%;
  box-sizing: border-box;
  padding-block: 80px;
  background: #222;
  color: #f5f5f5;
  font: 500 16px/1.6 'Noto Sans JP', sans-serif;
  word-spacing: 1px;
}
.studio-footer :where(div, nav, a, span, b, address, ul, li, small) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
}
.studio-footer a { text-decoration: none; }
.studio-footer a:focus-visible { outline: 2px solid #f5f5f5; outline-offset: 3px; }
.footer-inner { width: 100%; max-width: var(--site-content-width); margin-inline: auto; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  justify-content: space-between;
  align-items: start;
  gap: 40px 16px;
}
.footer-group, .footer-heading, .footer-links, .footer-company, .footer-company address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-group, .footer-heading { gap: 8px; }
.footer-heading span { font-size: 14px; line-height: 1; }
.footer-heading b { font: 500 32px/1.4 Roboto, sans-serif; }
.footer-links { gap: 16px; list-style: none; color: #b5b5b5; font-size: 15px; line-height: 1.4; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 120px; }
.footer-company { gap: 24px; }
.footer-company img { display: block; width: 200px; max-width: 100%; height: auto; }
.footer-company a:hover img { transform: scale(1.05); }
.footer-company address { gap: 4px; }
.footer-privacy, .footer-copyright { color: #b5b5b5; font-size: 14px; line-height: 1.4; }
.footer-copyright { flex: 1; text-align: right; font-family: Roboto, sans-serif; font-weight: 400; }
.footer-heading:hover { color: #b5b5b5; }
.footer-links a:hover, .footer-privacy:hover { color: #f5f5f5; }

@media (max-width: 960px) {
  .footer-nav { grid-template-columns: repeat(3, max-content); }
}
@media (max-width: 840px) {
  .footer-heading b { font-size: 28px; }
}
@media (max-width: 600px) {
  .footer-nav { grid-template-columns: repeat(2, max-content); }
}
@media (max-width: 440px) {
  .studio-footer { padding-block: 40px; font-size: 15px; }
  .footer-nav { grid-template-columns: 1fr; justify-items: start; gap: 32px; }
  .footer-group { gap: 16px; }
  .footer-heading { gap: 4px; }
  .footer-heading span { font-size: 12px; }
  .footer-heading b { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 64px; }
  .footer-copyright { flex: none; text-align: left; }
}
@media (max-width: 320px) {
  .studio-footer { font-size: 14px; }
}
