.imagebox{
	width: 75%;
	margin: 0 auto;
}

.fleximg{
    display: flex;
    /*コレ*/justify-content: space-between;
}

.mt-10{
	margin-top: 10px;
}

.mt-30{
	margin-top: 30px;
}
.product-card .btn-link {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 1rem;
  background-color: #444;
  color: #fff; /* 白文字 */
  text-decoration: none; /* 下線消す */
  border-radius: 4px;
  cursor: pointer;
}

.product-card .btn-link:hover {
  background-color: #222;
}
productbox {
      font-family: "Yu Gothic", sans-serif;
      margin: 20px;
      background: #fff;
      color: #333;
    }

    .product-grid {
      display: grid;
      gap: 40px 20px;
      justify-items: center;
      text-align: center;
    }
 .product-gelcard {
      max-width: 200px;
    }

    .product-gelcard img {
      width: 100%;
      height: auto;
      border-radius: 8px;
    }

    .product-gelname {
      margin-top: 8px;
      font-weight: bold;
      font-size: 17px;
      border-bottom: 2px solid #a3d9c6;
      display: inline-block;
      padding-bottom: 4px;
    }

    .product-description {
      font-size: 13px;
      margin-top: 8px;
      text-align: left;
      line-height: 1.6;
    }	
	@media only screen and (max-width: 769px){
		/* スマホ専用スタイル */

/* スマホ用：カード3つ並べる */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

/* 各カードを3分の1幅に */
.product-card {
  width: calc(33.333% - 10px);
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px;
  background-color: #fff;
  text-align: center;
  font-size: 0.8rem;
}

/* 画像 */
.product-card img {
  width: 100%;
  height: auto;
  margin-bottom: 6px;
}

/* 品番・名前 */
.product-card .code {
  font-size: 1.5rem;
  color: #444;
  margin: 2px 0;
	text-align: center;
}
.product-card .name {
  font-size: 0.8rem;
  margin: 2px 0;
	text-align: center;
}
.product-card .setsumei {
  font-size: 0.8rem;
  margin: 2px 0;
	text-align: center;
}

/* ボタン */
.product-card button {
  margin-top: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  background-color: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
}
.product-card button:hover {
  background-color: #222;
}

   .product-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    

   
	}


	@media only screen and (min-width: 769px){
		
	/* セクション全体 */
.product-section {
  margin: 2rem 5rem; /*上下 左右*/
  font-family: sans-serif;
}

/* カードのコンテナ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
}

/* 個別カード */
.product-card {
  width: 150px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 商品画像 */
.product-card img {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}

/* 品番・商品名 */
.product-card .code {
  font-size: 2rem;
  color: #444;
  margin: 4px 0;
	text-align: center
}
.product-card .name {
  font-size: 0.9rem;
  margin: 4px 0;
	text-align: center
}
.product-card .setsumei {
  font-size: 0.9rem;
  margin: 4px 0;
	text-align: center
}
/* ボタン */
.product-card button {
  margin-top: 8px;
  padding: 6px 12px;
  background-color: #444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.product-card button:hover {
  background-color: #222;
}
.product-grid {
        grid-template-columns: repeat(4, 1fr);
      }
		
	}