/* Reset CSS - 最新環境に対応した軽量リセット */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* ブラウザ固有の設定をリセット */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* ルートのフォントサイズをリセット */
html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%; /* モバイルのズーム調整を無効化 */
}

/* リストスタイルをリセット */
ol, ul {
  list-style: none;
}

/* クオートのリセット */
blockquote, q {
  quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}

/* テーブルのセルスペースをリセット */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 画像・メディアのスタイルをリセット */
img, picture, video, canvas {
  max-width: 100%;
  display: block;
}

/* フォーム要素の標準化 */
button, input, select, textarea {
  font: inherit;
  margin: 0;
  padding: 0;
  color: inherit;
  border: none;
  background: none;
  line-height: inherit;
  appearance: none; /* ブラウザのデフォルト装飾を無効化 */
  -moz-appearance: none;
  -webkit-appearance: none;
}

/* ボタン要素のデフォルトスタイルをリセット */
button {
  cursor: pointer;
  background: transparent;
  border: none;
}

/* aタグのリセット */
a {
  text-decoration: none;
  color: inherit;
}

/* モダンブラウザ用のスクロールバーリセット */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}
*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

/* 共通のボックスモデルを設定 */
*, *::before, *::after {
  box-sizing: border-box;
}

/* リンクやクリック可能な要素のフォーカスリングをリセット */
:focus {
  outline: none;
}

/* リンクにキーボードナビゲーション用のフォーカスリングを表示 */
:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* セクションの余白をリセット */
body {
  margin: 0;
  font-family: Arial, sans-serif; /* 必要に応じてデフォルトのフォントを指定 */
  line-height: 1.5;
  background-color: #fff;
  color: #333;
}
