/* =============================================================
   footer-forge-01 — Forge BtoB Marketing Footer
   All rules scoped under #footer-forge-01
   ============================================================= */

/* ── リセット・ベース ── */
#footer-forge-01 *,
#footer-forge-01 *::before,
#footer-forge-01 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

#footer-forge-01 {
  position: relative;
  background: var(--ff1-bg);
  font-family: var(--ff1-font-jp);
  color: var(--ff1-text);
  overflow: hidden;
}

/* ── グラデーションセパレーター ── */
#footer-forge-01 .ff1-separator {
  width: 100%;
  height: 2px;
  background: var(--ff1-grad);
  flex-shrink: 0;
}

/* ── メインエリア ── */
#footer-forge-01 .ff1-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 40px 56px;
}

/* ── 4カラムグリッド ── */
#footer-forge-01 .ff1-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.2fr;
  gap: 48px;
  align-items: start;
}

/* ── カラム共通 ── */
#footer-forge-01 .ff1-col-heading {
  font-family: var(--ff1-font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ff1-muted);
  margin-bottom: 24px;
}

/* ── Col 1: ブランド ── */
#footer-forge-01 .ff1-logo {
  display: inline-block;
  font-family: var(--ff1-font-en);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: var(--ff1-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  transition: opacity 0.25s ease;
}

#footer-forge-01 .ff1-logo:hover {
  opacity: 0.8;
}

#footer-forge-01 .ff1-tagline {
  font-size: 13px;
  font-weight: 500;
  color: var(--ff1-sub);
  margin-bottom: 14px;
  line-height: 1.6;
}

#footer-forge-01 .ff1-desc {
  font-size: 13px;
  color: var(--ff1-muted);
  line-height: 1.8;
}

/* ── Col 2: ナビゲーション ── */
#footer-forge-01 .ff1-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#footer-forge-01 .ff1-nav-link {
  display: inline-block;
  font-family: var(--ff1-font-en);
  font-size: 14px;
  font-weight: 400;
  color: var(--ff1-sub);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}

#footer-forge-01 .ff1-nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ff1-cyan);
  transition: width 0.3s ease;
}

#footer-forge-01 .ff1-nav-link:hover {
  color: var(--ff1-cyan);
}

#footer-forge-01 .ff1-nav-link:hover::after {
  width: 100%;
}

/* ── Col 3: コンタクト ── */
#footer-forge-01 .ff1-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#footer-forge-01 .ff1-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#footer-forge-01 .ff1-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--ff1-cyan);
}

#footer-forge-01 .ff1-contact-link {
  font-size: 13px;
  color: var(--ff1-sub);
  text-decoration: none;
  transition: color 0.25s ease;
  word-break: break-all;
}

#footer-forge-01 .ff1-contact-link:hover {
  color: var(--ff1-cyan);
}

#footer-forge-01 .ff1-address {
  font-style: normal;
  font-size: 13px;
  color: var(--ff1-muted);
  line-height: 1.7;
}

/* ── Col 4: ソーシャル ── */
#footer-forge-01 .ff1-social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#footer-forge-01 .ff1-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ff1-surface);
  border: 1px solid var(--ff1-border);
  color: var(--ff1-sub);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

#footer-forge-01 .ff1-social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ff1-grad);
  opacity: 0;
  transition: opacity 0.25s ease;
}

#footer-forge-01 .ff1-social-btn svg {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease;
}

#footer-forge-01 .ff1-social-btn:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}

#footer-forge-01 .ff1-social-btn:hover::before {
  opacity: 1;
}

/* ── ボトムバー ── */
#footer-forge-01 .ff1-bottom {
  border-top: 1px solid var(--ff1-border);
}

#footer-forge-01 .ff1-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#footer-forge-01 .ff1-copyright {
  font-family: var(--ff1-font-en);
  font-size: 12px;
  color: var(--ff1-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

#footer-forge-01 .ff1-copyright-name {
  font-family: var(--ff1-font-en);
}

#footer-forge-01 .ff1-legal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

#footer-forge-01 .ff1-legal-link {
  font-size: 12px;
  color: var(--ff1-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

#footer-forge-01 .ff1-legal-link:hover {
  color: var(--ff1-cyan);
}

#footer-forge-01 .ff1-legal-sep {
  font-size: 11px;
  color: var(--ff1-muted);
  opacity: 0.4;
}

/* ── タブレット: 2カラム ── */
@media (max-width: 960px) {
  #footer-forge-01 .ff1-inner {
    padding: 56px 32px 48px;
  }

  #footer-forge-01 .ff1-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }

  #footer-forge-01 .ff1-col--brand {
    grid-column: 1 / -1;
  }

  #footer-forge-01 .ff1-bottom-inner {
    padding: 20px 32px;
  }
}

/* ── スマートフォン: 1カラム ── */
@media (max-width: 600px) {
  #footer-forge-01 .ff1-inner {
    padding: 48px 24px 40px;
  }

  #footer-forge-01 .ff1-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  #footer-forge-01 .ff1-col--brand {
    grid-column: auto;
  }

  #footer-forge-01 .ff1-bottom-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    text-align: center;
  }

  #footer-forge-01 .ff1-social-list {
    gap: 10px;
  }
}
