/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

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

* {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

#root,
#__next {
    isolation: isolate;
}

/*
  その他リセット用CSS
*/
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    max-width: 100%;
    font-family: var(--font-jp);
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

ol,
ul {
    list-style: none;
    color: var(--text-color);
    padding-left: 0;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-jp);
}

p {
    color: var(--text-color);
    font-family: var(--font-jp);
}