/* =======================================
   Reset CSS (Modern Normalize + SEO Safe)
   ---------------------------------------
   Version: 1.0
   Author: WISH / Memorial Movie Project
   ======================================= */

/* Box sizing and base reset */

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

/* Remove default margin */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Set core body defaults */

body {
    min-height: 100vh;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    color: #333;
    background: #fff;
    font-family: "Noto Sans JP", system-ui, sans-serif;
}

/* Remove list styles */

ul[role="list"],
ol[role="list"],
ul,
ol {
    list-style: none;
}

/* Anchor tag */

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Images */

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

/* Input and buttons */

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
    appearance: none;
}

/* Buttons - reset browser styles */

button {
    cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.4;
    color: #222;
}

/* Tables */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Remove quotation marks from blockquote */

blockquote::before,
blockquote::after {
    content: "";
}

/* Accessibility - focus outline */

/* Hidden elements */

[hidden] {
    display: none !important;
}

/* Smooth scroll */

html {
    scroll-behavior: smooth;
}
