*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

/* Responsive Line-break Utility Classes */
br.pc_br {
  display: inline;
}

br.mo_br {
  display: none;
}

@media screen and (max-width: 768px) {
  br.pc_br {
    display: none;
  }

  br.mo_br {
    display: inline;
  }
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  line-height: var(--line-height-base);
  letter-spacing: -0.01em;
  color: var(--color-text);
  background: var(--color-background);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.address,
.url,
.tel {
  word-break: break-all;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
