/* スマホ用のCSSはメディアクエリの外に記述する */
img {
  width: 100%;
}

@media screen and (min-width: 960px) {
  img {
    max-width: 960px;
  }
}