/**
 * 採用サイト専用フッター（他ページの #footer #f_content の色味に合わせる）
 * 本サイトフッター: background #999999 / テキスト #fff
 */
#recruit-footer.recruit-footer {
  background: #999999;
  color: #fff;
  margin-top: 100px;
  /* memberstory.css 側の `footer { text-align: center; }` を上書き */
  text-align: left;
  padding: 60px 0 40px;
}

.recruit-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.recruit-footer__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.recruit-footer__logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
}

.recruit-footer__logo img {
  display: block;
  width: 120px;
  height: auto;
}

.recruit-footer__badge {
  width: 120px;
  box-sizing: border-box;
  background: #fff;
  color: #dd0011;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 5px 6px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  white-space: nowrap;
  font-weight: 700;
}

.recruit-footer__nav {
  width: 100%;
  margin-top: 24px;
}

/* スマホ：目次は1列で縦に並ぶ */
.recruit-footer__nav-cols {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recruit-footer__ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.recruit-footer__ul li a {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #fff;
  transition: color 0.2s ease;
}

.recruit-footer__ul li a:hover {
  color: #e60012;
}

.recruit-footer__ul .nav_txt_jp {
  display: inline;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.6em;
  padding-left: 0;
}

/* 小カテゴリ（目次内のサブリンク） */
.recruit-footer__category {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recruit-footer__sub {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 4px 0 0 0;
  /* 線と文字の間の余白 */
  padding: 0;
  padding-left: 0.6em;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.recruit-footer__sub li a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease;
}

.recruit-footer__sub li a:hover {
  color: #e60012;
}

.recruit-footer__category-label {
  font-family: 'Poppins', 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #fff;
}

/* コーポレートサイト：白・下線なし・四角2つアイコン（目次の下に配置） */
#recruit-footer .recruit-footer__sitelink,
#recruit-footer .recruit-footer__sitelink:link,
#recruit-footer .recruit-footer__sitelink:visited {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

#recruit-footer .recruit-footer__sitelink:hover {
  opacity: 0.8;
  color: #fff;
}

.recruit-footer__sitelink-icon {
  flex-shrink: 0;
  display: block;
  width: 18px;
  height: auto;
}

.recruit-footer__copy {
  text-align: center;
}

.recruit-footer__copy small {
  font-size: 11px;
  color: #fff;
}

/* PC: ロゴと目次を横並び */
@media (min-width: 769px) {
  .recruit-footer__main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 60px;
  }

  .recruit-footer__logo {
    flex-shrink: 0;
  }

  .recruit-footer__logo img {
    width: 160px;
  }

  .recruit-footer__badge {
    width: 160px;
    font-size: 11px;
    padding: 6px 8px;
  }

  .recruit-footer__nav {
    width: auto;
    margin-top: 0;
  }

  /* PC：目次4列 */
  .recruit-footer__nav-cols {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }

  .recruit-footer__ul {
    flex-direction: column;
    gap: 9px;
  }

  #recruit-footer .recruit-footer__sitelink,
  #recruit-footer .recruit-footer__sitelink:link,
  #recruit-footer .recruit-footer__sitelink:visited {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  #recruit-footer.recruit-footer {
    margin-top: 50px;
    padding: 48px 0 32px;
  }

  .recruit-footer__inner {
    padding: 0 20px;
  }

  .recruit-footer__main {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .recruit-footer__nav {
    margin-top: 24px;
  }

  .recruit-footer__ul {
    gap: 10px;
  }

  .recruit-footer__sub {
    margin-top: 3px;
    padding-left: 0.6em;
  }

}
