#plg_customer_review_detail.review_detail_default {
	padding-left: 20px;
	padding-right: 20px;
}

.review-sortLayout {
	margin: 40px 0;
	text-align: center;
}

.review-sort {
	/* position: relative; */
	margin-bottom: 20px;
	text-align: right;

	& select {
		display: inline-block;
		padding: 12px 20px 12px 7px;
		font-weight: 400;
		font-size: 14px;
		letter-spacing: 0.9px;
		color: #000000;
		border: 0;
		border-bottom: 2px solid #6a6a6a;
		cursor: pointer;
		@media screen and (max-width: 767px) {
			padding: 10px;
			font-size: 12px;
		}
	}

	/* &:after {
		content: "";
		display: block;
		position: absolute;
		top: 50%;
		right: 4px;
		margin-top: -4px;
		width: 8px;
		height: 8px;
		border-top: 2px solid #000;
		border-right: 2px solid #000;
		box-sizing: border-box;
		transform: rotate(135deg);
	} */
}

#plg_customer_review_detail {
	.review-commentLayout {
		border-top: 0;
	}
}

.review-commentLayout {
	border-top: 1px solid #ddd;
	& li {
		padding: 30px 10px;
		border-bottom: 1px solid #ddd;

		@media screen and (max-width: 767px) {
			padding: 20px 0;
		}

		.review-header {
			margin-bottom: 15px;
			display: flex;
			align-items: center;
			justify-content: space-between;
			@media screen and (max-width: 767px) {
				margin-bottom: 10px;
				/* align-items: flex-end; */
			}
			.header-star {
			}
			.header-date {
				font-weight: 400;
				font-size: 14px;
				line-height: 14px;
				letter-spacing: 1px;
				color: #5b5b5b;
				@media screen and (max-width: 767px) {
					font-size: 10px;
				}
			}
		}

		.review-title {
			margin-bottom: 25px;
			font-family: "Zen Maru Gothic";
			font-weight: 700;
			font-size: 2rem;
			line-height: 150%;
			letter-spacing: 1px;
			color: #333333;
			@media screen and (max-width: 767px) {
				margin-bottom: 10px;
				font-size: 1.8rem;
			}
		}
		.review-comment {
			font-weight: 400;
			line-height: 150%;
			letter-spacing: 1px;
			color: #333333;
		}
		.review-author {
			margin-top: 30px;
			display: flex;
			gap: 20px;
			font-weight: 700;
			font-size: 1.4rem;
			letter-spacing: 1px;
			color: #333333;
			@media screen and (max-width: 767px) {
				margin-top: 10px;
				font-size: 1.2rem;
			}

			.author-name {
			}
			.author-option {
				display: flex;
				color: #86a449;
				font-weight: normal;
				& span {
					&:not(:last-child) {
						&::after {
							content: "/";
							display: inline-block;
							margin: 0 5px;
						}
					}
				}
			}
		}
	}
}

.review-layoutRole {
	/* 商品一覧 */
	&.product_list {
		width: 100%;
		display: flex;
		align-items: center;
		font-size: 1.2rem;
		@media screen and (max-width: 767px) {
			font-size: 1.1rem;
		}
		&.fa-star {
			font-size: 1.3rem;
			@media screen and (max-width: 767px) {
				font-size: 1.2rem;
			}
		}
	}

	/* 商品詳細 */
	&.product_detail {
		margin: 20px 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		text-align: left;

		.reviewList {
			font-size: 1.6rem;

			& a {
				text-decoration: underline;
				color: #86a449;
				@media (hover: hover) and (pointer: fine) {
					&:hover {
						text-decoration: none;
					}
				}
			}
		}
	}

	.reviewAvarage {
		border: solid 2px #ffd040;
		width: 280px;
		text-align: center;
		background-color: #ffffe8;
		padding: 3px;
		margin-top: 10px;
		margin-bottom: 10px;
		font-size: 16px;
		font-weight: 500;
		color: #643300;
		.reviewList {
			color: #f00;
		}
	}
	.reviewAllView {
		margin-top: 10px;
		text-align: center;
		@media screen and (max-width: 767px) {
			margin-top: 5px;
		}
	}
	.reviewStar-set {
		display: flex;
		align-items: center;
		gap: 10px;

		& a {
			color: #86a449;
			text-decoration: underline;
			@media (hover: hover) and (pointer: fine) {
				&:hover {
					text-decoration: none;
				}
			}
		}
	}
}

/* starの色 */
.fas {
	color: #ffbb00;
}
.far,
.star_disabled {
	color: #d9d9d9;
	font-weight: 900;
}

a.review-detail_inlineBtn {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 0 24px 1px;
	width: 140px;
	height: 34px;
	font-weight: 400;
	font-size: 1.2rem;
	line-height: 1;
	letter-spacing: 0.09px;
	color: #ffffff;
	background: #006a72;
	border-radius: 17px;
	border: 0;
	text-decoration: none;

	@media (hover: hover) and (pointer: fine) {
		transition: ease 0.25s background-color;
		&:hover {
			background: #333;
			color: #fff;
		}
	}

	& span {
		position: relative;
		display: inline-block;
		padding-left: 16px;
		&:before {
			content: "";
			position: absolute;
			left: 0;
			top: 50%;
			z-index: 1;
			display: block;
			width: 13px;
			height: 14px;
			mask: url("/contents/common/img/parts/icon_review01.svg") no-repeat center center/100% auto;
			background: #fff;
			transform: translateY(-50%);
		}
	}

	&.middle {
		width: 300px;
		height: 40px;
		font-size: 1.4rem;
		border-radius: 20px;
		&:before {
			width: 17px;
			height: 18px;
		}
	}
}

.review-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 30px 0;

	font-weight: 500;
	font-size: 14px;

	& a {
		position: relative;
		padding: 0 17px;
		color: #000;
		text-decoration: underline;
		@media (hover: hover) and (pointer: fine) {
			&:hover {
				text-decoration: none;
			}
		}
		&:after {
			content: "";
			display: block;
			position: absolute;
			top: 50%;
			right: 0;
			margin-top: -4px;
			width: 8px;
			height: 8px;
			border-top: 2px solid #000;
			border-right: 2px solid #000;
			box-sizing: border-box;
			transform: rotate(45deg);
		}
	}

	.more-main {
		&:after {
			margin-top: -6px;
			transform: rotate(135deg);
		}
	}
}

.review-set {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-top: 40px;
	width: 100%;

	@media screen and (max-width: 767px) {
		margin-top: 20px;
		flex-direction: column;
	}

	.set-item {
		padding: 20px 30px;
		@media screen and (max-width: 767px) {
			padding: 15px;
		}
		.item-photo {
			margin: 0 auto 10px;
			width: 110px;
			@media screen and (max-width: 767px) {
				width: 200px;
			}
		}
		.item-title {
			margin-bottom: 10px;
			font-weight: 500;
			font-size: 16px;
			line-height: 150%;
			letter-spacing: 1px;
			color: #000000;
		}
		.item-link {
			text-align: center;
			& a {
				position: relative;
				padding-right: 20px;
				display: inline-block;
				font-weight: 500;
				font-size: 14px;
				letter-spacing: 0.8px;
				text-decoration: underline;

				@media (hover: hover) and (pointer: fine) {
					&:hover {
						text-decoration: none;
					}
				}

				&:after {
					content: "";
					display: block;
					position: absolute;
					top: 50%;
					right: 0;
					margin-top: -4px;
					width: 8px;
					height: 8px;
					border-top: 2px solid #000;
					border-right: 2px solid #000;
					box-sizing: border-box;
					transform: rotate(45deg);
				}
			}
		}
	}

	.set-graph {
		padding: 30px;
		width: 510px;
		flex-shrink: 0;
		border: 3px solid #f3f3f3;

		@media screen and (max-width: 767px) {
			padding: 20px;
			width: 100%;
			border-width: 2px;
		}

		& a {
			font-weight: 500;
			font-size: 16px;
			line-height: 16px;
			align-items: center;
			letter-spacing: 1px;
			text-decoration-line: underline;
			color: #86a449;
			@media screen and (max-width: 767px) {
				font-size: 14px;
			}
		}
	}
}

.review-avarage {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	gap: 12px;
	@media screen and (max-width: 767px) {
		flex-direction: column;
	}

	.average-label {
		font-family: "Zen Maru Gothic";
		font-weight: 700;
		font-size: 16px;
		line-height: 150%;
		letter-spacing: 1px;
		color: #333333;
		@media screen and (max-width: 767px) {
			/* margin-bottom: px; */
			font-size: 18px;
		}
	}
	.average-value {
		font-size: 1.8rem;
		.review-point {
			font-size: 1.6rem;
		}
	}
}

.review-gauge {
	display: flex;
	gap: 10px;
	@media screen and (max-width: 767px) {
		gap: 5px;
	}
	.gauge-label {
		display: flex;
		gap: 10px;
		@media screen and (max-width: 767px) {
			gap: 5px;
		}
		.label-star {
			.reviewStar-set {
				.review-point {
					display: none;
				}
			}
		}
	}
	.gauge-main {
		margin-bottom: 15px;
		background: #d9d9d9;
		width: 270px;
		height: 16px;
		@media screen and (max-width: 767px) {
			width: 140px;
		}
		.main-value {
			background: #ffbb00;
			height: 16px;
		}
	}
}

.review-average-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 20px;
	padding: 15px;
	background: #f3f3f3;

	@media screen and (max-width: 767px) {
		margin-bottom: 0;
		flex-direction: column;
		gap: 0;
	}

	.review-avarage {
		margin-bottom: 0;
		@media screen and (max-width: 767px) {
			gap: 0;
		}
	}
	.reviewStar-set {
		display: flex;
		align-items: center;
		gap: 10px;
	}
	.review-link {
		color: #86a449;
		& a {
			color: #86a449;
			font-size: 14px;
		}
	}
}
