/*
  Josh W. Comeau's Custom CSS Reset
  www.joshwcomeau.com
*/

/* 1. ボックスモデルの修正：余白や境界線が幅を壊さないようにする */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. デフォルトの余白を削除 */
* {
  margin: 0;
}

/* 3. 本文の行間を整え、フォントのレンダリングを滑らかにする */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* 4. フォントの自動拡大を無効にする */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 5. メディア要素（画像など）がはみ出さないようにし、ブロック要素化する */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 6. フォーム要素が親のフォント設定を無視するのを防ぐ */
input, button, textarea, select {
  font: inherit;
}

/* 7. 長い単語が画面からはみ出して横スクロールが出るのを防ぐ */
p, li,  h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  font-family: system-ui, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック  Medium", "Yu Gothic Medium", "YuGothic", sans-serif;
}

/* 8. ルート（#rootや#__nextなど）にスタック文脈を作成する（Reactなどのフレームワーク用） */
#root, #__next {
  isolation: isolate;
}

/* 9. 画像が親要素からはみ出ないようにする */
img {
    width: 100%;
    height: auto;
    display: block;
    margin:0 auto;
}

/* 10. deteail 三角マークを非表示にする */
summary::-webkit-details-marker {
  display: none;
}

/* 11. Firefoxなど、上記のCSSが効かない場合（念のため） */
summary {
  list-style: none;
}

li{
  list-style: none;
  text-indent: -1.5rem;
}
