/* ============================================
   CSS Reset
   ============================================ */

/* ボックスモデルの統一 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ルート設定 */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ボディの基本設定 */
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* メディア要素 */
img,
video,
svg,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* フォーム要素のフォント継承 */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* ボタンリセット */
button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* リストのリセット */
ul,
ol {
    list-style: none;
}

/* テーブルのリセット */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 見出しのフォントウェイト統一 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/* アンカーのリセット */
a {
    color: inherit;
    text-decoration: none;
}

/* アドレス・引用のリセット */
address {
    font-style: normal;
}

blockquote,
q {
    quotes: none;
}

/* フィールドセットのリセット */
fieldset {
    border: none;
}

/* テキストエリアのリサイズ制限 */
textarea {
    resize: vertical;
}

/* 非表示要素 */
[hidden] {
    display: none;
}