html {
  font-size: 100%;
  scroll-behavior: smooth;

  background-color: var(--color-primary-light);

  overflow-x: clip;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--color-text-soft);
  background-color: var(--color-bg);

  margin-inline: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);

}

a {
  color: var(--color-link);
  transition: opacity var(--transition-fast);
}

a:hover:not(:focus-visible) {
  opacity: 0.7;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-text-black);
}

img {
  vertical-align: middle;
}

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

.pc-only {
  display: none;
}

.sp-only {
  display: block;
}

.sp-only-br {
  display: inline;
}

.pc-only-br {
  display: none;
}

@media (min-width: 1025px) {
  body {

    max-width: var(--max-width-pc);
  }

  .pc-only {
    display: block;
  }

  .sp-only {
    display: none;
  }

  .sp-only-br {
    display: none;
  }

  .pc-only-br {
    display: inline;
  }
}
