/* ==========================================================================
   リセットCSS（モダンブラウザ向け・軽量版）
   ========================================================================== */

/* 1. すべての要素の余白をリセットし、サイズ計算を直感的にする (border, padding を含めた幅にする) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2. HTML・BODYの基本設定 */
html {
  /* スマホでのテキスト自動拡大を防止 */
  -webkit-text-size-adjust: 100%;
  /* スムーズスクロール（ページ内リンク用） */
  scroll-behavior: smooth;
}

body {
  /* 標準的なフォントファミリー（環境に合わせて調整してください） */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #333333;
  /* 文字のぎざぎざを滑らかに */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 3. リストの箇条書きマークを消す */
ul,
ol {
  list-style: none;
}

/* 4. 画像の扱いを扱いやすくする */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. フォーム要素のフォント・外観の標準化 */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  resize: vertical; /* 縦方向にのみリサイズ可能に */
}

button {
  cursor: pointer;
}

/* 6. リンクのデフォルト装飾を消す */
a {
  color: inherit;
  text-decoration: none;
}

/* 7. テーブルの隙間をなくす */
table {
  border-collapse: collapse;
  border-spacing: 0;
}