/* 共通スタイル（モバイルファースト） */
body {
  font-family: 'MS Gothic', monospace;
  background-color: #fdf6e3;
  color: #333;
  text-align: center;
  padding: 2rem;
  margin: 0;
  font-size: 16px;
}

.logo {
  max-width: 90%;
  height: auto;
  margin: 2rem 0;
}

a {
  color: #e60033;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.note {
  margin-top: 3em;
  font-size: 0.8em;
}

/* 商品一覧：自動生成されるカード表示 */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 1rem;
}

.product-card {
  background: #fff;
  border: 1px solid #ccc;
  max-width: 300px;
  width: 100%;
  padding: 1rem;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.product-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.product-card h2 {
  font-size: 1.2em;
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.95em;
  color: #444;
}

.product-links a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.4rem 1rem;
  background: #e60033;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
}

.product-links a:hover {
  background: #b50029;
}

/* 商品スペック表（詳細ページ） */
.spec-table {
  margin: 2em auto;
  border-collapse: collapse;
  width: 90%;
  max-width: 600px;
  font-size: 0.95em;
  text-align: left;
}

.spec-table th,
.spec-table td {
  border: 1px solid #ccc;
  padding: 0.7em;
}

.spec-table th {
  background-color: #f0f0f0;
  width: 40%;
  font-weight: bold;
}

/* PC用スタイル（768px以上） */
@media screen and (min-width: 768px) {
  body {
    font-size: 18px;
    padding: 4rem;
  }

  .logo {
    max-width: 300px;
  }

  .note {
    font-size: 0.9em;
  }
}
