/* 法務ページ共通（プライバシー／特定商取引法等・ニュース一覧ヘッダー＋本文） */

.legalPage .legalDoc {
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: #231815;
}

.legalDoc__h2 {
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #231815;
}

.legalDoc__h2:first-child {
  margin-top: 0;
}

.legalDoc__h3 {
  margin: 28px 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: #1d1d1d;
}

.legalDoc__h4 {
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #1d1d1d;
}

.legalDoc p {
  margin: 0 0 1em;
}

.legalDoc p:last-child {
  margin-bottom: 0;
}

.legalDoc ul,
.legalDoc ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}

.legalDoc li {
  margin-bottom: 0.45em;
}

.legalDoc li:last-child {
  margin-bottom: 0;
}

.legalDoc__contact {
  margin-top: 12px;
  white-space: pre-line;
}

.legalDoc a {
  color: #d80c18;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legalDoc a:hover,
.legalDoc a:focus-visible {
  text-decoration-thickness: 2px;
}

@media (max-width: 540px) {
  .legalDoc__h2 {
    font-size: 16px;
  }
}
