/* 法務ページ（/privacy/・/statement/）とフッターの法務リンク。inc/legal-pages.php で読み込む */

/* ---------- footer legal links ---------- */
.l-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.l-footer__legal a {
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 1.3rem;
  color: #000;
  text-decoration: none;
  transition: opacity .6s var(--easing);
}

@media (hover: hover) {
  .l-footer__legal a:hover {
    opacity: 0.7;
  }
}

/* ---------- legal page ---------- */
.p-legal {
  padding-top: var(--section-gap-pc);
  padding-bottom: var(--section-gap-pc);
}

.p-legal__inner {
  max-width: 1050px;
  padding-left: var(--padding-pc);
  padding-right: var(--padding-pc);
  margin-left: auto;
  margin-right: auto;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  color: #333;
}

.p-legal__subttl {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
  margin: 0 0 24px;
}

.p-legal__lead {
  font-size: 1.6rem;
  line-height: 2;
  margin: 0 0 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid #DDD;
}

.p-legal__section + .p-legal__section {
  margin-top: 56px;
}

.p-legal__section h2 {
  font-size: 2.0rem;
  font-weight: 700;
  line-height: 1.6;
  color: #000;
  border-left: 4px solid #002A9A;
  padding-left: 16px;
  margin: 0 0 20px;
}

.p-legal__section p {
  font-size: 1.6rem;
  line-height: 2;
  margin: 0;
}

.p-legal__section p + p,
.p-legal__section p + .c-list-dot,
.p-legal__section .c-list-dot + p,
.p-legal__section p + .p-company-info__table {
  margin-top: 16px;
}

.p-legal__section .c-list-dot li {
  font-size: 1.6rem;
}

.p-legal__section .c-list-dot li::before {
  top: 0.9em;
}

.p-legal a {
  color: #002A9A;
  text-decoration: underline;
}

.p-legal__sign {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid #DDD;
  text-align: right;
  font-size: 1.6rem;
  line-height: 2;
}

.p-legal__sign img {
  height: 90px;
  width: auto;
  margin: 0 0 8px auto;
}

.p-legal__sign p {
  margin: 0;
}

.p-legal__sign p + p {
  margin-top: 24px;
}

@media (max-width: 959px) {
  .p-legal {
    padding-top: var(--section-gap-sp);
    padding-bottom: var(--section-gap-sp);
  }

  .p-legal__inner {
    max-width: 600px;
    padding-left: var(--padding-sp);
    padding-right: var(--padding-sp);
  }

  .p-legal__subttl {
    font-size: 1.9rem;
  }

  .p-legal__lead {
    font-size: 1.4rem;
    margin-bottom: 40px;
    padding-bottom: 32px;
  }

  .p-legal__section + .p-legal__section {
    margin-top: 40px;
  }

  .p-legal__section h2 {
    font-size: 1.7rem;
    border-left-width: 3px;
    padding-left: 12px;
  }

  .p-legal__section p,
  .p-legal__section .c-list-dot li,
  .p-legal__sign {
    font-size: 1.4rem;
  }

  .p-legal__sign img {
    height: 70px;
  }
}
