.footer .container { width: min(1400px, calc(100% - 32px)); margin: 0 auto; }
.footer { background: #f3f4f6; color: #566379; margin-top: 25px; padding: 28px 0 0; border-top: 0; width: 100%; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.footer h2 { color: #333; font-size: 16px; font-weight: 400; line-height: 24px; margin: 0 0 6px; padding: 5px 0; }
.footer a { display: block; padding: 0; color: #8690a2; font-size: 12px; line-height: 24px; text-decoration: none; }
.footer a.footer-logo { line-height: 0; }
.footer-logo img { display: block; height: 36px; width: auto; max-width: 170px; object-fit: contain; }
.footer a:hover { color: var(--hover); }
.footer-side {
  display: flex; align-items: center; gap: 16px; flex: 0 1 auto;
  margin-left: 8px; padding-left: 20px; border-left: 1px solid #e1e4ea;
}
.footer-contact { min-width: 0; max-width: 520px; }
.footer-contact p { display: flex; align-items: center; gap: 8px; margin: 0; padding: 5px 0; font-size: 16px; line-height: 24px; color: #566379; }
.footer-contact p span { min-width: 0; }
.footer-contact a {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  padding: 0; color: inherit; font-size: inherit; line-height: inherit; text-decoration: none;
}
.footer-contact a:hover { color: var(--hover); }
.footer-contact .fi { flex: 0 0 14px; width: 14px; height: 14px; margin-top: 0; color: #9aa3b3; }
.footer-contact .is-phone .fi { flex-basis: 16px; width: 16px; height: 16px; }
.footer-contact .fi path, .footer-contact .fi circle, .footer-contact .fi rect {
  fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round;
}
.footer-contact strong { font-size: 20px; font-weight: 700; line-height: 24px; color: #566379; }
.footer-qr { flex: 0 0 84px; width: 84px; height: 84px; background: #fff; border: 1px solid #eceff3; }
.footer-qr img { width: 100%; height: 100%; display: block; object-fit: contain; }
.copyright { display: flex; align-items: center; justify-content: center; border-top: 1px solid #d5d8e0; margin-top: 18px; min-height: 38px; padding: 11px 0; font-size: 12px; line-height: 16px; color: #566379; text-align: center; }
.copyright .container { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; }
.copyright .copy-next { margin-left: 30px; }
.copyright a.copy-next { display: inline; padding: 0; color: inherit; font-size: inherit; line-height: inherit; }
.copyright a.copy-next:hover { color: var(--hover); }

@media (max-width: 900px) {
  .footer-grid { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-side { border-left: 0; border-top: 1px solid #e1e4ea; margin-left: 0; padding-left: 0; padding-top: 12px; width: 100%; }
  .footer-contact { min-width: 0; max-width: none; }
}
@media (min-width: 901px) {
  .footer > .container { width: min(1368px, calc(100% - 64px)); }
}
