/*2026年9月デザイン用スタイルシート*/
* {
  box-sizing: border-box;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  width: 100%;
  max-width: 890px;
  margin: 0 auto;
  padding-bottom: 35px;
  align-items: stretch;	
  margin-top: 20px;	
}

/* 商品カード全体 */
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(22, 55, 75, 0.05);
  color: #17364c;
  font-size: 14px;
  line-height: 1.6;
}

/* 見出しエリア */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  background: var(--head-bg, #deedf3);
}

.j-mds {
  flex: 1 1 50%;
  min-width: 0;
  margin: 0;
  color: #333333;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.66;
}



.card-header p {
  flex: 1 1 45%;
  min-width: 0;
  margin: 0;
  color: #17364c;
  font-size: 11px;
  line-height: 1.5;
}

/* 商品ごとの見出し色 */
.card.blue {
  --head-bg: #deedf3;
}

.card.peach {
  --head-bg: #fae9e1;
}

.card.mint {
  --head-bg: #e0f0ec;
}

.card.lavender {
  --head-bg: #eee6f4;
}

.card.lilac {
  --head-bg: #eae5f4;
}

.card.sand {
  --head-bg: #f8ecd8;
}



/* 商品の特徴アイコン */
.product-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  margin-left: 10px;
}

.product-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 6px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  padding-top: 7px;		
}

.product-icon b {
  margin: 0 2px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

/* 名入れ10個〜 */
.icon-minimum {
  background: #e44d5b;
  color: #fff;
  font-size: 13px;
}

/* 六曜・祝日入 */
.icon-calendar {
  border-color: #4d9bd5;
  color: #4d9bd5;
}

/* 六曜なし・祝日入 */
.icon-cal2 {
  border-color:#604848;
  color:#604848;
}


/* 日本製 */
.icon-japan {
  border-color: #a87951;
  color: #a87951;
}

/* 軽量 */
.icon-light {
  border-color: #d86cc8;
  color: #d86cc8;
}

/* 軽量 */
.icon-eco {
  border-color: #227A0D;
  color: #227A0D;
}

/* 商品サイズ */
.icon-size {
  border-color: #979797;
  color: #979797;
  font-size: 13px;
}



/* 説明エリア */
.body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 12px 14px 13px;
}

.intro {
  min-height: 2.8em;
  margin: 0 0 10px;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.merit {
  margin: 10px 3px 0 3px;
  color: #17364c;
  font-size: 14px;
  font-weight: 600;
}

.body ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.body li {
  position: relative;
  margin: 2px 0;
  padding-left: 18px;
  color: #17364c;
  font-size: 12px;
  line-height: 1.55;
}

.body li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #17834d;
  content: "✓";
  font-weight: 800;
}

/* 価格表示 */ 

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px 8px;
  margin: 8px 0 14px;
  padding: 8px 10px;
  background: #f5f8fa;
}

.price-label { 
  margin-right:-2px; 
  color: #333333; 
  font-size: 11px; 
} 

.price-tax-excluded { 
  color: #c91718;
  font-size: 26px; 
  font-weight: 700; 
} 

.price-tax-excluded span { 
  font-size: 14px; 
} 



/* 見積・サンプル請求ボタン */
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
}

.actions a {
  position: relative; /* 追加 */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 42px;
  padding: 8px 30px 8px 9px; /* 右側に矢印のスペースを確保 */
  border-radius: 24px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
}

.actions a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  transition: 0.3s;
  right: 30px;
}

.actions a:hover {
  filter: brightness(0.7);
}




.estimate {
  background: #e56f12;
}

.sample {
  background: #468080;
}


.sample_end {
  margin-top: 2%;	
  background: #d1d8d8;	
  position: relative; /* 追加 */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 42px;
  padding: 9px 9px 8px 9px; /* 右側に矢印のスペースを確保 */
  border-radius: 24px;
  color: #809b9b;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
}




/* 補助リンク */
.card-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 9px;	
}

.card-links a {
  display: block;
  padding: 5px 0;
  color: #5e7a8c;
  text-align: center;
  text-decoration: underline;
  font-size: 13px;
  font-weight: 700; 	
}

.card-links a:hover {
  text-decoration: none;
}


/* PC画面用（ウィンドウ幅が769px以上の場合に適用） */
@media print, screen and (min-width: 769px) {
 

/* 商品画像 */
.photo {
  display: block;
  width: 430px;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

	
	
}

/* SP画面用（ウィンドウ幅が768px以下の場合に適用） */
@media screen and (max-width: 768px) {
 
  .product-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .card-header {
    padding: 10px 12px;
  }

  .j-mds {
    font-size: 16px;
  }


	
  .card-header p {
    width: 100%;	  
    font-size: 11px;
  }

	
.photo {
  display: block;
  width: 100%;
  padding: 0%;	
}	


  .intro {
    min-height: 0;
    font-size: 12px;
  }

  .body li {
    font-size: 12px;
  }


  .product-icons {
    gap: 5px;  
  }

  .product-icon {
    min-height: 28px;
    padding: 5px 8px 5px 8px;
    font-size: 13px;
  }

  .product-icon b {
    font-size: 20px;
  }
}
	
  .card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }


  .actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }	
	
	
  .actions a {
    min-height: 44px;
    font-size: 12px;
  }


.actions a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  transform: rotate(45deg);
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  box-sizing: border-box;
  width: 8px;
  height: 8px;
  transition: 0.3s;
  right: 30px;
}


/* 補助リンク */
.card-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 9px;	
}

.card-links a {
  display: block;
  padding: 5px 0;
  color: #5e7a8c;
  text-align: center;
  text-decoration: underline;
  font-size: 12px;
  font-weight: 700; 	
}

.card-links a:hover {
  text-decoration: none;
}

.card-links b {
  font-weight: bold;
  padding-left:0%;


}
