@charset "UTF-8";

/* ========================================================
   法人向けPCサービス 共通フッタ : scoped styles
   全セレクタを .p-houjin-footer 配下に限定する
   ======================================================== */

.p-houjin-footer {
  --hf-bg: #111827;
  --hf-text: #a0a0a0;
  --hf-title: #ffffff;
  --hf-line: rgba(255, 255, 255, 0.1);

  box-sizing: border-box;
  width: 100%;
  padding: 56px 0 48px;
  color: var(--hf-text);
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  background: var(--hf-bg);
  -webkit-font-smoothing: antialiased;
}

.p-houjin-footer *,
.p-houjin-footer *::before,
.p-houjin-footer *::after {
  box-sizing: border-box;
}

.p-houjin-footer :where(h2, p, ul) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-houjin-footer__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.p-houjin-footer__inner {
  display: grid;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.p-houjin-footer__logo {
  display: block;
  width: auto;
  height: 28px;
}

.p-houjin-footer__caption {
  max-width: 28em;
  margin-top: 16px;
}

.p-houjin-footer__nav {
  display: grid;
  gap: 32px;
}

.p-houjin-footer__title {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hf-line);
  color: var(--hf-title);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.p-houjin-footer__list {
  display: grid;
  gap: 8px;
}

.p-houjin-footer__link {
  color: var(--hf-text);
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.p-houjin-footer__link:hover {
  color: var(--hf-title);
  text-decoration: underline;
}

.p-houjin-footer__link:focus-visible {
  outline: 2px solid var(--hf-title);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .p-houjin-footer {
    padding: 72px 0 64px;
  }

  .p-houjin-footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr);
    gap: 48px;
  }

  .p-houjin-footer__logo {
    height: 32px;
  }

  .p-houjin-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }

  .p-houjin-footer__title {
    border-bottom: 0;
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .p-houjin-footer {
    font-size: 14px;
  }

  .p-houjin-footer__inner {
    gap: 64px;
  }
}
