/* ============================================================
   FOOTER — K.Platinum Corporate Site v4.1
   4カラム: ブランド / Service / Company / Careers・SNS
   背景: navy-deep / z-index: var(--z-content, 10)
   ============================================================ */

/* ── ベース ── */
.footer {
  position: relative;
  z-index: var(--z-content, 10);
  background-color: var(--c-navy-deep, #0D1B2E);
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--f-body);
}

/* ── メインエリア ── */
.footer__inner {
  max-width: var(--s-container, 1200px);
  margin: 0 auto;
  padding: 72px var(--s-gutter, 32px) 56px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}

/* ── Col 1: ブランド ── */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: inline-block;
  flex-shrink: 0;
}

.footer__logo-img {
  height: 32px;
  width: auto;
  /* 白ロゴ: 透明背景PNGをCSSで白化 */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__tagline {
  font-family: var(--f-heading-ja, 'Noto Serif JP', serif);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
  letter-spacing: 0.03em;
}

.footer__address {
  font-size: 0.75rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__copyright {
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 8px 0 0;
  letter-spacing: 0.02em;
}

/* ── Col 2–4: ナビコラム ── */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-heading {
  font-family: var(--f-heading-en, 'Barlow Condensed', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.footer__col-heading--sns {
  margin-top: 32px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__links li a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding: 5px 0;
  display: inline-block;
  transition: color var(--t-base, 0.4s) var(--ease-out);
  position: relative;
}

.footer__links li a::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-orange, #E8672A);
  transition: width 0.3s var(--ease-out);
}

.footer__links li a:hover {
  color: #ffffff;
}

.footer__links li a:hover::after {
  width: 100%;
}

/* ── SNS アイコン ── */
.footer__sns {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer__sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background var(--t-base, 0.4s) var(--ease-out),
              color var(--t-base, 0.4s) var(--ease-out),
              border-color var(--t-base, 0.4s) var(--ease-out);
}

.footer__sns-link:hover {
  background: rgba(232, 103, 42, 0.2);
  border-color: var(--c-orange, #E8672A);
  color: var(--c-orange, #E8672A);
}

/* ── ボトムバー ── */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-inner {
  max-width: var(--s-container, 1200px);
  margin: 0 auto;
  padding: 16px var(--s-gutter, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__bottom-brand {
  font-family: var(--f-label, 'Inter', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__bottom-nav a {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__bottom-nav a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer__bottom-sep {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* タブレット (768px〜1024px) */
@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* モバイル (〜768px) */
@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 20px 40px;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }

  .footer__bottom-nav {
    flex-wrap: wrap;
  }
}
