/* ボックスサイズの設定 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* デフォルトマージンの削除 */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

/* リストのデフォルト設定 */
ul,ol {
  padding: 0;
  list-style: none;
}

/* bodyのデフォルト設定 */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* リンクの設定 */
a {
  color: inherit;
  text-decoration: none;
  text-decoration-skip-ink: auto;
}

/* 画像の設定 */
img,
picture {
  max-width: 100%;
  display: block;
}

/* フォントの継承設定 */
input,
button,
textarea,
select {
  font: inherit;
}

/* ボタンのデフォルト設定削除 */
button {
  padding: 0;
  border: 0;
  background: transparent;
}

button:hover {
  cursor: pointer;
}

/* float解除 */
.clear-fix::after {
  content: '';
  display: block;
  clear: both;
}

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