/*! Hanami UI v1.0.0 — design system 花見 */
/* src/css/base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  hanging-punctuation: first last;
}
body {
  min-height: 100dvh;
  margin: 0;
  background-color: var(--hn-color-bg);
  color: var(--hn-color-text);
  font-family: var(--hn-font-body);
  font-size: var(--hn-text-md);
  line-height: var(--hn-leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--hn-font-display);
  font-weight: var(--hn-weight-bold);
  line-height: var(--hn-leading-tight);
  text-wrap: balance;
}
h1 {
  font-size: clamp(var(--hn-text-3xl), 2.5vw + 1.25rem, var(--hn-text-5xl));
}
h2 {
  font-size: clamp(var(--hn-text-2xl), 1.6vw + 1.1rem, var(--hn-text-4xl));
}
h3 {
  font-size: clamp(var(--hn-text-xl), 1vw + 1rem, var(--hn-text-2xl));
}
h4 {
  font-size: var(--hn-text-xl);
}
h5 {
  font-size: var(--hn-text-lg);
}
h6 {
  font-size: var(--hn-text-md);
  font-family: var(--hn-font-body);
}
p,
ul,
ol,
dl,
figure,
blockquote,
pre {
  margin: 0;
}
p {
  text-wrap: pretty;
}
a {
  color: var(--hn-color-link);
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--hn-color-link-hover);
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
code,
kbd,
pre,
samp {
  font-family: var(--hn-font-mono);
}
hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--hn-color-border);
}
::selection {
  background-color: var(--hn-color-highlight);
  color: var(--hn-color-text);
}
:focus-visible {
  outline: 2px solid var(--hn-color-focus-ring);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .hn-spinner {
    animation-duration: 3s !important;
    animation-iteration-count: infinite !important;
  }
}

/* entry-hanami-base.css */
