body {
  font-family: "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
}

/* AdSense風エリア */
.adsense {
  margin: 0;
  padding: 1em;
  background-color: #ddd;
  text-align: center;
  font-size: 0.9em;
}

#logo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

/* 画像サイズと表示調整 */
#logo-list img {
  width: 120px;
  max-width: 100%;
  cursor: pointer;
  display: block;
  margin-bottom: 8px;
}

.logo-name {
  font-size: 14px;
  color: #333;
  text-align: center;
  word-break: break-word;
}

#other-logos-btn {
  display: block;
  margin: 1.5em auto;
  padding: 12px 20px;
  background-color: #2196f3;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  width: 80%;
  max-width: 300px;
  transition: background-color 0.3s;
}

#other-logos-btn:hover {
  background-color: #1976d2;
}

#no-results {
  text-align: center;
  font-size: 16px;
  color: gray;
  padding: 20px;
}

/* main#main-content の共通設定（モバイルは左右パディング10px） */
main#main-content {
  width: 100%;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  margin: 0 auto;
}

/* PC以上で最大横幅1200pxにしてパディング解除 */
@media (min-width: 601px) {
  main#main-content {
    max-width: 1200px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ✅ モバイルでロゴを3列表示に調整 */
@media (max-width: 600px) {
  #logo-list {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
  }

  #logo-list img {
    max-width: 80px;
  }

  #other-logos-btn {
    width: 90%;
  }
}

.store-banner {
  text-align: center;
  margin: 20px 0;
}

.store-banner img {
  width: 90%;       /* 幅を画面の90%に収める */
  max-width: 600px; /* PCでは最大600pxまで */
  height: auto;     /* 縦横比を維持 */
  border-radius: 8px;
}

/* スマホ向けにさらに調整 */
@media (max-width: 768px) {
  .store-banner img {
    width: 95%;     /* スマホでは幅を広く見せる */
    max-width: 100%;
  }
}