/* ========================================
   Producer (酒蔵・メーカー) Single Page
   ======================================== */

.p-single--producer {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.p-single--producer .p-single__header {
	margin-bottom: 40px;
}

.p-producer__header-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-bottom: 12px;
}

.p-producer__tag {
	display: inline-block;
	padding: 5px 14px;
	background: #f0f0f0;
	border-radius: 3px;
	font-size: 1em;
	font-weight: bold;
	color: #555;
	text-decoration: none;
}

.p-producer__tag:hover {
	background: #e0e0e0;
}

/* Body (投稿本文) */
.p-producer__body {
	margin-bottom: 60px;
}

/* Sections */
.p-producer__section {
	margin-bottom: 40px;
}

.p-producer__section-title {
	font-size: 1.2em;
	font-weight: bold;
	padding: 8px 12px;
	border-left: 4px solid #c8a96e;
	background: #faf8f4;
	margin-bottom: 16px;
}

/* Info Table */
.p-producer__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.p-producer__table th,
.p-producer__table td {
	padding: 10px 14px;
	border: 1px solid #e0ddd8;
	vertical-align: top;
	line-height: 1.6;
}

.p-producer__table th {
	width: 140px;
	background: #f7f5f0;
	font-weight: bold;
	white-space: nowrap;
	color: #555;
}

.p-producer__table td a {
	color: #c8a96e;
	word-break: break-all;
}

.p-producer__table td a:hover {
	text-decoration: underline;
}

/* Map */
.p-producer__map {
	margin-top: 16px;
	border-radius: 4px;
	overflow: hidden;
}

/* Flagship Products */
.p-producer__flagship {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.p-producer__flagship-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid #e0ddd8;
	border-radius: 4px;
	text-decoration: none;
	color: inherit;
	background: #faf8f4;
	transition: background 0.2s;
}

.p-producer__flagship-item:hover {
	background: #f0ece5;
}

.p-producer__flagship-thumb {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 3px;
}

.p-producer__flagship-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p-producer__flagship-title {
	font-size: 0.9em;
	line-height: 1.4;
}

/* Features */
.p-producer__features {
	line-height: 1.8;
	color: #444;
}

/* History */
.p-producer__history {
	line-height: 1.8;
}

.p-producer__history ul,
.p-producer__history ol {
	padding-left: 1.5em;
}

.p-producer__history li {
	margin-bottom: 8px;
}

/* SNS Buttons (in basic info table) */
.p-producer__sns-cell {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.p-producer__sns-btn {
	display: inline-block;
	padding: 5px 14px;
	background: #444;
	color: #fff !important;
	border-radius: 4px;
	text-decoration: none !important;
	font-size: 0.85em;
	transition: background 0.2s;
	white-space: nowrap;
}

.p-producer__sns-btn:hover {
	background: #111;
	color: #fff !important;
	text-decoration: none !important;
}

/* Street View */
.p-producer__streetview {
	margin-top: 12px;
}

.p-producer__streetview iframe {
	width: 100%;
	height: 350px;
	border: 0;
	display: block;
}

/* External Link Cards */
.p-producer__ext-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.p-producer__ext-link-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e0ddd8;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: box-shadow 0.2s, transform 0.2s;
}

.p-producer__ext-link-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.p-producer__ext-link-thumb img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.p-producer__ext-link-body {
	padding: 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1;
}

.p-producer__ext-link-title {
	font-size: 0.88em;
	font-weight: bold;
	line-height: 1.45;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-producer__ext-link-desc {
	font-size: 0.78em;
	color: #777;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-producer__ext-link-domain {
	font-size: 0.75em;
	color: #c8a96e;
	margin-top: auto;
	padding-top: 4px;
}

/* ロケーション情報 */
.p-producer__location-body {
	line-height: 1.9;
	color: #444;
}

/* 受賞歴テーブル */
.p-producer__awards-table thead th {
	background: #f5f5f5;
	color: #333;
	font-size: 0.85em;
	font-weight: 600;
	white-space: nowrap;
	width: auto;
	border-bottom: 2px solid #ddd;
}
.p-producer__awards-table tbody td {
	color: #222;
}
.p-producer__awards-table td a,
.p-producer__awards-table td a:visited {
	color: #222 !important;
	text-decoration: none;
}
.p-producer__awards-table td a:hover {
	color: #8b6914 !important;
	text-decoration: underline;
}
.p-producer__awards-table td {
	white-space: nowrap;
}
.p-producer__awards-table td:last-child {
	white-space: normal;
}
.p-producer__award-grade {
	display: inline-block;
	font-size: 0.82em;
	font-weight: bold;
	padding: 2px 10px;
	border-radius: 3px;
	background: #f0f0f0;
	color: #555;
}
.p-producer__award-grade--gold {
	background: #fef3d0;
	color: #8a6d00;
}
.p-producer__award-grade--silver {
	background: #eee;
	color: #555;
}
.p-producer__award-grade--bronze {
	background: #f5e6da;
	color: #7a4a2a;
}
.p-producer__award-grade--platinum {
	background: #e0eaf5;
	color: #2c5282;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.p-producer__table th {
		width: 110px;
		font-size: 0.85em;
	}

	.p-producer__flagship {
		grid-template-columns: 1fr;
	}

	.p-single--producer {
		padding: 0 12px;
	}

	.p-producer__ext-links {
		grid-template-columns: 1fr;
	}
}

/* ---- アイキャッチ: 600x600固定・小サイズは拡大しない ---- */
.p-single--producer .p-single__header-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 600px;
	height: 600px;
	max-width: 100%;
	background: #fff;
	margin-left: auto;
	margin-right: auto;
}
.p-single--producer .p-single__header-image img {
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
