/* AzLierのデザイントークン、リセット、文書全体の基本表示。 */

:root {
    color-scheme: light;
    --color-ink: #17191f;
    --color-ink-soft: #242832;
    --color-paper: #f7f4ee;
    --color-white: #ffffff;
    --color-mist: #e9edf0;
    --color-line: #d7dadd;
    --color-muted: #626873;
    --color-cyan: #5bd8cf;
    --color-cyan-dark: #167f79;
    --color-yellow: #f7dc62;
    --color-pink: #df78bd;
    --color-danger: #9b2c2c;
    --shadow-soft: 0 24px 70px rgb(16 22 28 / 10%);
    --shadow-card: 0 14px 34px rgb(16 22 28 / 8%);
    --radius-small: 0.7rem;
    --radius-medium: 1.25rem;
    --radius-large: 2rem;
    --content-width: 1180px;
    --header-height: 76px;
    --font-sans: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
    --font-display: "Arial Black", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

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

html {
    min-width: 320px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: var(--font-sans);
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.18;
    text-wrap: balance;
}

::selection {
    color: var(--color-ink);
    background: var(--color-yellow);
}

:focus-visible {
    outline: 3px solid var(--color-pink);
    outline-offset: 4px;
}

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

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