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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: 5px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.75;
}

.btn-dark {
  background: var(--btn-bg);
  color: var(--btn-text);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}

@media (min-width: 769px) {
  .btn-outline:not(.features-cta) {
    border: none;
  }
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--text-xs);
}

/* Breadcrumb */
.breadcrumb {
  font-size: var(--text-xs);
  color: var(--text-muted);
  padding: 12px 24px;
  letter-spacing: 0.04em;
  margin-top: 1rem;
  background: var(--bg-gray);
}

@media (min-width: 769px) {
  .breadcrumb {
    padding: 16px calc(var(--ml, 24px) + 0px);
  }
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb li + li::before {
  content: ">";
  color: var(--border);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb [aria-current="page"] {
  color: var(--text);
}
