/* ===== Reset + Base (project local) ===== */

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

/* 2) default margin */
* { margin: 0; }

/* 3) base */
html,
body { height: 100%; }

body{
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

/* 4) media */
img,
picture,
video,
canvas,
svg{
    display: block;
    max-width: 100%;
}

/* 5) forms */
input,
button,
textarea,
select{
    font: inherit;
}

/* 6) a */
a{
    color: inherit;
    text-decoration: none;
}

/* 7) list-style */
ul,
ol{
    list-style: none;
    padding: 0;
}

/* 8) button */
button{
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

/* 9) text overflow safety */
p,
h1,h2,h3,h4,h5,h6{
    overflow-wrap: break-word;
    text-align: center;
    font-feature-settings: "palt";
}
