/* ========================================
   Review (お店) Single Page — ACF Info
   ======================================== */

/* Sections */
.p-review__section {
	margin-bottom: 40px;
}

.p-review__section-title {
	font-size: 1.2em;
	font-weight: bold;
	padding: 8px 12px;
	border-left: 4px solid #c8a96e;
	background: #faf8f4;
	margin-bottom: 16px;
}

/* review ページ上部余白を縮小 */
.p-single.p-single--review {
	padding-top: 20px;
}

/* Header taxonomy bar (region + category) */
.p-review-header__taxbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	margin-bottom: 10px;
}


/* taxbar 右端: 評価+コメント数 */
.p-review-header__taxbar-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
	flex-shrink: 0;
}

.p-review-header__taxbar-rating {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}

.p-review-header__region-tag {
	display: inline-block;
	padding: 3px 10px;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 0.78em;
	border-radius: 3px;
	text-decoration: none;
	backdrop-filter: blur(2px);
	transition: background 0.2s;
}

.p-review-header__region-tag:hover {
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
}

/* taxbar 内ではカテゴリの absolute 配置を解除 */
.p-review-header__taxbar .p-review-category {
	position: static;
	height: auto;
	padding: 3px 10px;
	font-size: 0.78em;
	min-width: 0;
}

/* ACF sections wrapper — post_content との余白 */
.p-review__sections {
	margin-top: 48px;
}

/* Rating Chart */
.p-review__chart-note {
	font-size: 0.78em;
	color: #888;
	margin-bottom: 12px;
	line-height: 1.6;
}

.p-review__rating-chart-wrap {
	position: relative;
	max-width: 680px;
	margin: 0 auto;
}

/* Atmosphere Tags */
.p-review__atmosphere {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.p-review__atmosphere-tag {
	display: inline-block;
	padding: 5px 14px;
	background: #f0ece5;
	border: 1px solid #e0ddd8;
	border-radius: 20px;
	font-size: 0.88em;
	color: #555;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.p-review__atmosphere-tag:hover {
	background: #c8a96e;
	border-color: #c8a96e;
	color: #fff;
}

/* Last Researched */
.p-review__last-researched {
	font-size: 0.8em;
	color: #aaa;
	text-align: right;
	margin-top: 20px;
	margin-bottom: 8px;
}

/* Prose (foods / drinks) */
.p-review__prose {
	line-height: 1.9;
	color: #333;
	font-size: 0.97em;
}

/* Info Table */
.p-review__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.p-review__table th,
.p-review__table td {
	padding: 10px 14px;
	border: 1px solid #e0ddd8;
	vertical-align: top;
	line-height: 1.6;
}

.p-review__table th {
	width: 140px;
	background: #f7f5f0;
	font-weight: bold;
	white-space: nowrap;
	color: #555;
}

.p-review__table td a {
	color: #c8a96e;
	word-break: break-all;
}

.p-review__table td a:hover {
	text-decoration: underline;
}

/* Location Description */
.p-review__location-desc {
	margin-top: 14px;
	padding: 12px 16px;
	background: #faf8f4;
	border-left: 3px solid #c8a96e;
	border-radius: 0 4px 4px 0;
	font-size: 0.92em;
	color: #444;
	line-height: 1.9;
}

/* Map */
.p-review__map {
	margin-top: 16px;
	border-radius: 4px;
	overflow: hidden;
}

.p-review__map iframe {
	width: 100%;
	height: 350px;
	border: 0;
	display: block;
}

/* Street View */
.p-review__streetview {
	margin-top: 12px;
}

.p-review__streetview iframe {
	width: 100%;
	height: 350px;
	border: 0;
	display: block;
}

/* SNS Buttons */
.p-review__sns-cell {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.p-review__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-review__sns-btn:hover {
	background: #111;
	color: #fff !important;
	text-decoration: none !important;
}

/* Introductory Article Cards */
.p-review__intro-articles {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.p-review__intro-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-review__intro-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.p-review__intro-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.p-review__intro-card__body {
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.p-review__intro-card__title {
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.5;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-review__intro-card__desc {
	font-size: 0.8em;
	color: #666;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-review__intro-card__domain {
	font-size: 0.75em;
	color: #c8a96e;
	margin-top: auto;
	padding-top: 4px;
}

/* External Link Cards */
.p-review__ext-links {
	display: flex;
	flex-direction: column;
	gap: 0;
	border: 1px solid #e0ddd8;
	border-radius: 6px;
	overflow: hidden;
}

.p-review__ext-link-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-bottom: 1px solid #e0ddd8;
	text-decoration: none;
	color: inherit;
	background: #fff;
	transition: background 0.15s;
}

.p-review__ext-link-card:last-child {
	border-bottom: none;
}

.p-review__ext-link-card:hover {
	background: #faf8f4;
}

.p-review__ext-link-favicon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: block;
}

.p-review__ext-link-domain {
	font-size: 0.78em;
	color: #c8a96e;
	white-space: nowrap;
	flex-shrink: 0;
}

.p-review__ext-link-title {
	font-size: 0.9em;
	color: #333;
	line-height: 1.4;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Sidebar: Intro Articles */
.p-review__sidebar-intro {
	margin-top: 24px;
}


.p-review__sidebar-intro__card {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid #e0ddd8;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s;
}

.p-review__sidebar-intro__card:last-child {
	border-bottom: none;
}

.p-review__sidebar-intro__card:hover {
	opacity: 0.75;
}

.p-review__sidebar-intro__thumb {
	width: 72px;
	height: 54px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: 3px;
	display: block;
}

.p-review__sidebar-intro__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.p-review__sidebar-intro__card-title {
	font-size: 0.82em;
	font-weight: bold;
	line-height: 1.45;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.p-review__sidebar-intro__domain {
	font-size: 0.72em;
	color: #c8a96e;
}

/* ── 取扱銘柄（Brand Cards） ── */
.p-review__brands {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-review__brand-card {
	border: 1px solid #e0ddd8;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.p-review__brand-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.p-review__brand-header:hover {
	background: #faf8f4;
}

.p-review__brand-logo {
	width: 40px;
	height: 40px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 4px;
}

.p-review__brand-name {
	font-size: 1em;
	font-weight: bold;
	color: #333;
	flex: 1;
}

.p-review__brand-arrow {
	font-size: 1.4em;
	color: #c8a96e;
	flex-shrink: 0;
}

.p-review__brand-drinks {
	display: flex;
	gap: 0;
	border-top: 1px solid #e0ddd8;
	overflow-x: auto;
}

.p-review__brand-drink {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	text-decoration: none;
	color: inherit;
	min-width: 100px;
	flex: 1;
	border-right: 1px solid #f0ece5;
	transition: background 0.15s;
}

.p-review__brand-drink:last-child {
	border-right: none;
}

.p-review__brand-drink:hover {
	background: #faf8f4;
}

.p-review__brand-drink-thumb {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 4px;
}

.p-review__brand-drink-name {
	font-size: 0.78em;
	color: #555;
	text-align: center;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Responsive */
@media screen and (max-width: 768px) {
	.p-review__table th {
		width: 100px;
		font-size: 0.85em;
	}

	.p-review__ext-link-domain {
		display: none;
	}

	.p-review__brand-drink {
		min-width: 80px;
		padding: 8px;
	}

	.p-review__brand-drink-thumb {
		width: 44px;
		height: 44px;
	}
}
