/* =========================================================
   HAPPY JOINT 新フッター（home-mock.html から移植）
   ・クラス名はすべて hj- で始まる（Diviのスタイルとぶつからないように）
   ========================================================= */

/* ---------- 色・文字 ---------- */
.hj-footer {
  --hj-accent: #ce7741;
  --hj-brand: #ce7741;
  --hj-brand-dark: #b8652f;
  --hj-on-brand: #fff;
  --hj-foot-bg: #15181c;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, .7);
  text-align: left;
  background: var(--hj-foot-bg);
  padding: 64px 0 32px;
}

/* ---------- 下地（Diviの ul / p / a の初期スタイルを打ち消す） ---------- */
:where(.hj-footer) *,
:where(.hj-footer) *::before,
:where(.hj-footer) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body .hj-footer ul,
body .hj-footer li {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: inherit;
}
body .hj-footer p { margin: 0; padding: 0; }
body .hj-footer a { color: inherit; text-decoration: none; }
.hj-footer :focus:not(:focus-visible) { outline: none; }
.hj-footer :focus-visible { outline: 2px solid var(--hj-accent); outline-offset: 2px; }

/* ---------- Diviのフッター枠：余白をなくす ---------- */
/* [hj_footer] を置いたセクション・行・カラム・モジュールだけが対象 */
.et-l--footer .et_pb_section:has(.hj-footer),
.et-l--footer .et_pb_row:has(.hj-footer),
.et-l--footer .et_pb_column:has(.hj-footer),
.et-l--footer .et_pb_module:has(.hj-footer) {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: none !important;
}

/* ---------- 枠 ---------- */
.hj-footer .hj-foot-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ---------- サイトマップ ---------- */
.hj-footer .hj-foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
}
.hj-footer .hj-foot-logo img {
  display: block;
  height: 30px;
  width: auto;
  max-width: none;
  filter: brightness(0) invert(1);
}
.hj-footer .hj-foot-company p { margin-top: 12px; line-height: 1.9; }
.hj-footer .hj-foot-head {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.hj-footer .hj-foot-grid ul { display: grid; gap: 8px; }
.hj-footer .hj-foot-grid a { transition: color .2s; }
.hj-footer .hj-foot-grid a:hover { color: #fff; }

/* ---------- コピーライト ---------- */
.hj-footer .hj-foot-copy {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}
.hj-footer .hj-foot-copy a:hover { color: #fff; }

/* ---------- タブレット・スマホ ---------- */
@media (max-width: 960px) {
  .hj-footer .hj-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-footer .hj-foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .hj-footer { padding: 48px 0 28px; }
  .hj-footer .hj-foot-wrap { padding: 0 16px; }
  .hj-footer .hj-foot-grid { gap: 28px 16px; }
}
