  @charset "utf-8";

/* =========================================================
  SMITH Footer (static HTML)
  Background: #181839
========================================================= */

:root{
  --footer-bg: #181839;
  --footer-text: rgba(255,255,255,0.85);
  --footer-text-soft: rgba(255,255,255,0.75);
  --footer-rule: rgba(255,255,255,0.65);
}

.site-footer, .site-footer *{
  box-sizing: border-box;
}

.site-footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 24px 72px;
}

/* ★ 重要：1200px制限を解除し、ボーダー幅を正確に制御 */
.footer-inner{
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

/* --- Top banners row --- */
.footer-banners{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;                 /* 修正：左右余白を詰める */
  flex-wrap: nowrap;
}

.footer-banner{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.footer-banner img{
  display: block;
  height: 30px;              /* 指定どおり */
  width: auto;
}

/* --- Horizontal rule --- */
.footer-rule{
  margin: 28px auto 30px;    /* 修正：上下マージンを詰める */
  height: 2px;
  width: 900px;              /* ★ 正式に900px固定 */
  background: var(--footer-rule);
}

/* --- Brand (logo image) --- */
.footer-brand{
  margin: 0 0 28px;
}

.footer-brand-link{
  display: inline-block;
}

.footer-brand-link img{
  display: block;
  height: 40px;
  width: auto;
}

/* --- Nav --- */
.footer-nav{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--footer-text-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.footer-nav-link{
  color: var(--footer-text-soft);
  text-decoration: none;
}

.footer-nav-link:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-nav-sep{
  color: var(--footer-text-soft);
}

/* --- Copyright --- */
.footer-copyright{
  margin-top: 20px;
  font-family: "Times New Roman", "Georgia", serif;
  font-style: italic;
  font-size: 11px;
  color: var(--footer-text-soft);
  letter-spacing: 0.02em;
}

/* --- Responsive --- */
@media (max-width: 960px){
  .footer-rule{
    width: 100%;
  }
  .footer-banners{
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px){
  .site-footer{
    padding: 40px 16px 56px;
  }
  .footer-nav{
    flex-wrap: wrap;
    font-size: 16px;
    gap: 12px;
  }
  .footer-copyright{
    font-size: 18px;
  }
}
