﻿/**
 * ファイル名: /assets/css/reset.css
 * 設置場所: /jiritsukai/assets/css/
 * 役割: ブラウザのデフォルトスタイルをリセット
 */

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

/* Remove default margin and padding */
* {
    margin: 0;
    padding: 0;
}

/* Remove list styles */
ul,
ol {
    list-style: none;
}

/* Set core root defaults */
html {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Remove default button styles */
button {
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Remove default link styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Table reset */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Form reset */
fieldset {
    border: none;
}

/* Remove default quote styles */
blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

/* Remove default hr styles */
hr {
    border: none;
    border-top: 1px solid;
}

/* Focus styles */
:focus {
    outline: 2px solid transparent;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}