body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #222;
}

.site-header h1 {
  margin: 0;
  padding: 0;
  line-height: 1.1; /* ← ここが最重要 */
}

.site-header img {
  vertical-align: middle; /* ← 画像の上下ズレ防止 */
}

main p {
  margin: 0.3rem 0; /* ← ナビ部分の余白を詰める */
  line-height: 1.2;
}

section {
  margin-bottom: 2rem;
}

.notice-box {
  border: 2px solid rgb(0, 0, 0);
  padding: 10px;
  width: 100%;
  background: #fff;
}

.notice-title {
  font-size: 1.6rem;
  margin: 0 0 10px 0;
}
.red-text { color: red; }/* */

.notice-list {
  max-height: 150px; /* ←スクロール領域の高さ */
  overflow-y: auto;
  padding-right: 5px;
  margin-bottom: 15px;
}

.notice-item {
  font-size: 1.2rem;
  margin-bottom: 15px;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}
.notice-item-red {
  font-size: 1.2rem;
  color: rgb(255, 0, 0);
  margin-bottom: 15px;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.notice-fixed {
  font-size: 1.2rem;
  line-height: 1.6;
}
/* 見出し＋スクロールを横並びにする */

.scroll-row {
  display: flex;
  align-items: stretch; /* ← これが高さを揃えるポイント */
  gap: 1rem;
}


/* 左側の見出し（縦中央揃え） */
.scroll-x-header {
  width: 130px;
  min-width: 130px;
  max-width: 130px;
  flex-shrink: 0;

  display: flex;
  flex-direction: column;   /* ← 縦に積む */
  align-items: center;      /* ← 横方向の中央揃え */
  justify-content: center;  /* ← 縦方向の中央揃え */

  white-space: normal;
  text-align: center;       /* ← テキストも中央揃え */

  background: orange;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

/* 横スクロール本体 */
.scroll-x {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.product {
  flex: 0 0 auto;
  width: 260px;
   
  display: flex;
  flex-direction: column;
  justify-content: center;  /* ← 上下中央 */
  align-items: center;      /* ← 左右中央 */
  text-align: center;       /* ← テキスト中央 */

  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  scroll-snap-align: start;
}


.products .product-group {
  margin-top: 1.5rem;
}


.thumb {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* 画像 */
.thumb img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.thumb-100 img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.thumb-120 img {
  width: 120%;
  height: auto;
  border-radius: 4px;
}
.thumb-80 img {
  width: 80%;
  height: auto;
  border-radius: 4px;
}
.thumb-50 img {
  width: 50%;
  height: auto;
  border-radius: 4px;
}


.product-meta {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.thumb-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.size {
  font-size: 0.9rem;
  color: #555;
}
.price-list {
  text-align: left;
  width: 100%;     /* ← 左揃えを効かせるために推奨 */
  margin-top: 0.25rem;
}
.note {
  font-size: 0.9rem;
  color: #555;
}
.msg {
  font-size:1.2rem;
  color: rgb(255, 0, 0);
}

.wide-card {
  width: 400px; /* 好きな幅に変更 */
}


h4 {
  font-size: 1.5rem;   /* 好きなサイズに変更 */
  font-weight: bold;   /* 必要なら */
}

