/* =========================================================
   KITT Study
   reset.css v1.0
   ---------------------------------------------------------
   Purpose:
   - ブラウザ標準スタイルの差を最小化
   - box-sizing を統一
   - 画像・フォーム部品の扱いを安定化
   - 本文のリストや見出しの意味は残す
   ========================================================= */


/* ---------------------------------------------------------
   1. Box sizing
   --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ---------------------------------------------------------
   2. Document
   --------------------------------------------------------- */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
}


/* ---------------------------------------------------------
   3. Headings / Text blocks
   --------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}


/* ---------------------------------------------------------
   4. Lists
   --------------------------------------------------------- */

ul,
ol {
  margin: 0;
  padding: 0;
}

/*
 * ナビゲーションなど、見た目上リスト記号が不要な場合のみ使用。
 * 通常本文の ul / ol は base.css 側でスタイルを指定する。
 */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}


/* ---------------------------------------------------------
   5. Media
   --------------------------------------------------------- */

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}


/* ---------------------------------------------------------
   6. Forms
   --------------------------------------------------------- */

button,
input,
textarea,
select {
  margin: 0;
  font: inherit;
}

textarea {
  resize: vertical;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}


/* ---------------------------------------------------------
   7. Links
   --------------------------------------------------------- */

a {
  color: inherit;
}


/* ---------------------------------------------------------
   8. Tables
   --------------------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ---------------------------------------------------------
   9. Misc
   --------------------------------------------------------- */

hr {
  margin: 0;
  border: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}


/* ---------------------------------------------------------
   10. Hidden
   --------------------------------------------------------- */

[hidden] {
  display: none !important;
}