/* 1. ボックスモデルの統一 */
*, ::before, ::after {
  box-sizing: border-box;
}

/* 2. 基本的な余白とフォントの調整 */
body, h1, h2, h3, p, ul, ol, figure {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%; /* iOSのフォントサイズ自動調整防止 */
  -webkit-tap-highlight-color: transparent; /* モバイルのタップ青枠を消す */
  font-family: sans-serif; /* 必要に応じてフォントファミリーを指定 */
}

/* 3. リスト（ナビゲーションや商品一覧） */
ul, ol {
  list-style: none;
}

/* 4. 画像（レスポンシブ対応） */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

/* 5. リンク */
a {
  text-decoration: none;
  color: inherit;
}

/* 6. フォーム要素（問い合わせ・購入フロー用） */
input, button, textarea, select {
  font: inherit; /* 親のフォントを継承 */
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0; /* iOSのデフォルト角丸をリセット */
}

textarea {
  resize: vertical; /* 横方向のサイズ変更を禁止 */
}

button {
  cursor: pointer;
  padding: 0;
}

/* 7. テーブル（在庫表など） */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}