﻿/* =========================================================
   養生材一覧：用途別レイアウト
   既存の yojozai.css の最後に追加してください
   ========================================================= */

.yojo-reordered {
	max-width: 1240px;
	margin: 30px auto 50px;
	padding: 0 15px;
	box-sizing: border-box;
	line-height: 1.5;
}

.yojo-use-title {
	margin: 30px 0 15px;
	padding: 12px 16px;
	border-left: 6px solid #FFEE58;
	background: #FFF9C4;
	font-size: 24px;
	box-sizing: border-box;
}

.yojo-use-nav {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin: 0 0 36px;
}

.yojo-use-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 12px;
	border: 2px solid #424242;
	border-radius: 6px;
	background: #fff;
	color: #424242;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.yojo-use-nav a:hover {
	background: #424242;
	color: #fff;
}

.yojo-category {
	margin: 0 0 46px;
	scroll-margin-top: 20px;
}

.yojo-category > h2 {
	margin: 0 0 18px;
	padding: 11px 15px;
	border-bottom: 3px solid #FFEE58;
	background: #FFF9C4;
	font-size: 23px;
	box-sizing: border-box;
}

.yojo-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.yojo-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 16px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	box-sizing: border-box;
	text-align: center;
}

.yojo-product-name {
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	font-weight: bold;
	line-height: 1.45;
	background:#FFEE58;
}

.yojo-manufacturer {
	margin: 4px 0 10px;
	padding: 5px 8px;
	background: #f1f1f1;
	color: #555;
	font-size: 13px;
	font-weight: bold;
}

.yojo-product-part {
	margin-top: 9px;
	line-height: 1.5;
	overflow-wrap: anywhere;
}

.yojo-product-part img {
	max-width: 100%;
	height: auto;
}

.yojo-product-part a {
	display: inline-block;
	max-width: 100%;
}

.yojo-product-card br {
	line-height: 1.5;
}

@media screen and (max-width: 800px) {
	.yojo-use-nav {
		grid-template-columns: repeat(2, 1fr);
	}

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

@media screen and (max-width: 560px) {
	.yojo-reordered {
		padding: 0 10px;
	}

	.yojo-use-title,
	.yojo-category > h2 {
		font-size: 20px;
	}

	.yojo-use-nav {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.yojo-use-nav a {
		min-height: 48px;
		font-size: 14px;
		padding: 8px;
	}

	.yojo-product-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.yojo-product-name {
		min-height: 0;
		font-size: 17px;
	}
}
.price-btn {
	display: inline-block;
	padding: 7px 18px;
	background-color: #37474F;
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.4;
	text-decoration: none;
	border-radius: 4px;
	box-sizing: border-box;
	transition: background-color 0.2s ease;
}

.price-btn:hover {
	background-color: #212121;
	color: #ffffff;
	text-decoration: none;
}
.auto-style200 {
	border-width: 0px;
}
html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}
.auto-style201-1 {
	text-align: center;
	max-width:840px;
}
.auto-style202-1 {
	border-collapse: collapse;
}
.auto-style203-1 {
	border: 1px solid #808080;
	text-align: center;
}
.auto-style204-1 {
	border: 1px solid #808080;
	text-align: center;
	background-color: #CCCCCC;
}
/*小見出し*/
.yojo-subtitle {
	margin: 28px 0 14px;
	padding: 8px 12px;
	border-left: 5px solid #FFEE58;
	border-bottom: 1px solid #bdbdbd;
	background: #fafafa;
	color: #333333;
	font-size: 19px;
	font-weight: bold;
}