/* 商品詳細ページ */
body { font-family: "Hiragino Kaku Gothic ProN", Meiryo, "Yu Gothic", sans-serif; background: #f5f3ef; margin: 0; }
.product-detail { max-width: 1040px; margin: 32px auto; padding: 0 32px 64px; }
.error-box { background: #fff0f0; border: 1px solid #f0c0c0; color: #a00; padding: 16px; border-radius: 12px; text-align: center; }
.pd-layout { display: flex; gap: 36px; flex-wrap: wrap; margin-bottom: 52px; }
.pd-card { background: #fff; border-radius: 24px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08); padding: 24px; }
.pd-card-visual { position: relative; flex: 2 1 560px; min-width: 360px; }
.pd-card-meta { flex: 1 1 360px; max-width: 380px; }
.pd-carousel { position: relative; overflow: hidden; border-radius: 20px; }
.pd-carousel-inner img { width: 100%; height: 480px; object-fit: cover; display: block; transition: opacity 0.6s ease; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.95); border: none; font-size: 1.9rem; width: 56px; height: 56px; border-radius: 50%; cursor: pointer; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); }
.carousel-arrow.prev { left: 16px; }
.carousel-arrow.next { right: 16px; }
.pd-carousel-info { margin-top: 24px; }
.pd-carousel-info span { color: #8bb76a; font-size: 0.95rem; letter-spacing: 0.1em; }
.pd-carousel-info h1 { margin: 8px 0 4px; font-size: 1.7rem; }
.pd-carousel-info p { margin: 0; color: #555; }
.pd-card-meta { display: flex; flex-direction: column; gap: 18px; }
.pd-card-head { display: flex; justify-content: space-between; align-items: flex-end; }
.pd-card-title h2 { margin: 0; font-size: 1.5rem; line-height: 1.4; word-break: keep-all; }
.pd-card-title span { letter-spacing: 0.04em; }
.pd-card-title span { display: block; font-size: 0.85rem; color: #999; }
.pd-card-price { font-size: 2.3rem; color: #1e6f4c; font-weight: bold; }
.pd-card-stock { color: #666; }
.pd-cart-form { display: flex; align-items: center; gap: 12px; }
.pd-quantity-label { font-weight: 600; display: flex; flex-direction: column; font-size: 0.95rem; color: #444; }
.pd-quantity-label input { width: 90px; padding: 8px; margin-top: 8px; border: 1px solid #ccc; border-radius: 8px; }
.add-cart { background: #1f8970; color: #fff; border: none; border-radius: 12px; padding: 14px 26px; font-size: 1rem; cursor: pointer; outline: none; box-shadow: 0 8px 16px rgba(31, 137, 112, 0.3);margin-top: 24px; }
.add-cart:disabled { background: #c4d3ce; color: #667772; cursor: not-allowed; box-shadow: none; }
.pd-card-actions { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; }
.pd-link { color: #1f8970; text-decoration: none; }
.pd-rating { background: #f0f9f5; color: #1f8970; padding: 6px 14px; border-radius: 10px; }
.pd-stock-note { font-size: 0.9rem; color: #c04a4a; margin: 4px 0 0; }
.pd-nutrition-card { background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12); }
.pd-nutrition-head h2 { margin: 0 0 6px; }
.pd-nutrition-head p { margin: 0; color: #777; font-size: 0.9rem; }
.pd-nutrition-image { margin: 20px 0; border-radius: 18px; overflow: hidden; }
.pd-nutrition-image img { width: 100%; height: auto; display: block; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
.pd-nutrition-table { background: #0f8a66; border-radius: 16px; color: #fff; overflow: hidden; }
.pd-nutrition-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.2); align-items: center; }
.pd-nutrition-row:nth-child(1) { background: rgba(255, 255, 255, 0.12); font-weight: 600; letter-spacing: 0.03em; }
.pd-nutrition-row:last-child { border-bottom: none; }
.pd-nutrition-row span { font-size: 0.95rem; }
.pd-nutrition-row strong { font-size: 1rem; }
.pd-muted { color: #999; }
@media (max-width: 960px) {
	.pd-layout { flex-direction: column; }
	.pd-carousel-inner img { height: 260px; }
	.pd-card-price { font-size: 2rem; }
}
