@charset "UTF-8";

.legal-page .footer {
  background: var(--color-white);
}

.legal {
  position: relative;
  padding: 1.25rem var(--gutter-x) 3rem;
  background: var(--color-white);
}

.legal-logo {
  max-width: 12.3125rem;
  margin-inline: auto;
}

.legal-title {
  min-height: 2.5rem;
  margin-top: 2.5rem;
  padding-inline: 1rem;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-color, var(--color-white));
  background: var(--bg-color, var(--color-orange));
  border-radius: 0.375rem;
}

.legal-content {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.legal-content>*:not(:first-child) {
  margin-top: 1.5rem;
}

.legal-content h2 {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-orange);
}

.legal-content ul {
  font-size: 1rem;
}

.legal-content ul li {
  position: relative;
  gap: 0.25rem;
  padding-left: 1.5rem;
}

.legal-content ul li::before {
  position: absolute;
  left: 0;
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.5rem;
  background: center/ 0.875rem 0.875rem no-repeat url("../images/common/unordered-list-mark.svg");
}

.legal-content ol {
  font-size: 1rem;
  counter-reset: number-counter;
}

.legal-content ol li {
  position: relative;
  gap: 0.25rem;
  padding-left: 1.5rem;
}

.legal-content ol > li {
  counter-increment: number-counter;
}

.legal-content ol li::before {
  position: absolute;
  left: 0;
  content: counter(number-counter);
  display: flex;
  align-items: center;
  width: 1.25rem;
  height: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-orange);
}
.legal-content ol li ul {
  margin: 0.5rem 0;
}
.legal-content ol li ul li::before {
  position: absolute;
  left: 0;
  flex-shrink: 0;
  content: "";
  display: block;
  width: 1.25rem;
  height: 1.5rem;
  background: center/ 0.875rem 0.875rem no-repeat url("../images/common/unordered-list-mark.svg");
}

.legal-content li:not(:first-child) {
  margin-top: 0.5rem;
}

.legal-page-back-button {
  position: fixed;
  z-index: 1000;
  top: 1.375rem;
  right: 1rem;
}