/* ==========================================================
   商品一覧(固定ページ埋め込み用) 基本スタイル
   メインカラー: #004097 / テキストカラー: #555555
   ========================================================== */

.product-list-embed {
	margin: 20px 0 40px;
	color: #555555;
}

/* カテゴリジャンプナビ */
.category-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}
.category-nav a {
	display: inline-block;
	padding: 8px 18px;
	background: #f0f4fa;
	color: #004097;
	text-decoration: none;
	border-radius: 20px;
	font-size: 13px;
	font-weight: bold;
	transition: background .2s, color .2s;
}
.category-nav a:hover {
	background: #004097;
	color: #fff;
}

/* カテゴリごとのセクション */
.product-category-section {
	margin-bottom: 60px;
	scroll-margin-top: 20px;
}
.product-category-section__title {
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 8px;
	color: #555555;
	padding-left: 16px;
	border-left: 5px solid #004097;
	line-height: 1.4;
}
.product-category-section__description {
	font-size: 16px;
	color: #555555;
	margin: 0 0 24px;
	padding-left: 16px;
	line-height: 1.7;
}

/* 商品カード一覧 */
.product-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	list-style: none;
	padding: 0;
	margin: 0;
}
@media (max-width: 768px) {
	.product-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.product-card {
	display: block;
	text-decoration: none;
	color: #555555;
	border: 1px solid #e5e5e5;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .2s;
}
.product-card:hover {
	box-shadow: 0 4px 14px rgba(0, 64, 151, 0.12);
}
.product-card__thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}
.product-card__noimage {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
	font-size: 13px;
}
.product-card__body { padding: 12px; }
.product-card__name { font-weight: bold; margin: 0 0 6px; font-size: 16px; color: #333333; }
.product-card__price { color: #004097; font-weight: bold; margin: 0 0 6px; font-size: 16px; }
.product-card__excerpt { font-size: 12px; color: #555555; margin: 0; }
.product-card__btn {
	display: block;
	text-align: center;
	padding: 8px;
	background: #f5f5f5;
	font-size: 12px;
	color: #555555;
}

.product-list-embed__empty {
	text-align: center;
	color: #555555;
	padding: 40px 0;
}

/* ==========================================================
   商品詳細ページ用スタイル
   ========================================================== */
.product-detail-embed {
	max-width: 1100px !important;
	width: 100% !important;
	margin: 0 auto !important;
	padding: 20px 24px 60px !important;
	color: #555555;
	box-sizing: border-box;
}
.product-detail-embed .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 20px;
}
.product-detail-embed .breadcrumb a { text-decoration: none; }

.product-detail__main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
@media (max-width: 768px) {
	.product-detail__main { grid-template-columns: 1fr; }
}
.product-detail__main-image {
	touch-action: pan-y;
	user-select: none;
}
.product-detail__main-image img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	display: block;
}
.product-detail__noimage {
	width: 100%;
	aspect-ratio: 1/1;
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #aaa;
}
.product-detail__thumbs {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}
.product-detail__thumb {
	display: block;
	padding: 0;
	border: 2px solid transparent;
	background: none;
	cursor: pointer;
	line-height: 0;
}
.product-detail__thumb.is-active {
	border-color: #004097;
}
.product-detail__thumbs img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	display: block;
}
.product-detail__title { font-size: 24px; margin: 0 0 16px; color: #333333; }
.product-detail__price { font-size: 22px; font-weight: bold; color: #004097; margin: 0 0 20px; }
.product-detail__description { line-height: 1.9; margin-bottom: 24px; white-space: pre-line; }

.product-detail__actions .btn-contact {
	display: inline-block;
	padding: 14px 40px;
	background: #004097;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	border-radius: 4px;
	line-height: 1.4;
	vertical-align: middle;
}

.product-detail__spec-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 40px;
}
.product-detail__spec-table th,
.product-detail__spec-table td {
	border: 1px solid #e5e5e5;
	padding: 12px 16px;
	text-align: left;
	font-size: 14px;
}
.product-detail__spec-table th {
	background: #f0f4fa;
	color: #004097;
	width: 30%;
}

.product-detail__cta {
	text-align: center;
	padding: 32px 16px;
	background: #f5f5f5;
	border-radius: 6px;
}
.product-detail__cta .btn-outline {
	display: inline-block;
	padding: 10px 28px;
	border: 1px solid #004097;
	color: #004097;
	text-decoration: none;
	border-radius: 4px;
	margin-top: 12px;
}
