/*
 * ひろしまチョイス：記事口コミ機能
 * 公開画面用CSS
 */

.hc-reviews {
	--hc-review-brand: #77beb8;
	--hc-review-brand-dark: #397e79;
	--hc-review-brand-deep: #245f5b;
	--hc-review-brand-pale: #eaf7f5;
	--hc-review-ink: #2f3635;
	--hc-review-muted: #6d7776;
	--hc-review-line: #dce5e3;
	--hc-review-paper: #ffffff;
	--hc-review-warm: #fffaf3;
	width: min(850px, 100%);
	margin: 72px auto;
	color: var(--hc-review-ink);
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		"Hiragino Kaku Gothic ProN",
		"Hiragino Sans",
		"Yu Gothic",
		YuGothic,
		Meiryo,
		sans-serif;
	line-height: 1.75;
}

.hc-reviews *,
.hc-reviews *::before,
.hc-reviews *::after {
	box-sizing: border-box;
}

.hc-reviews button,
.hc-reviews input,
.hc-reviews textarea {
	font: inherit;
}

.hc-reviews__heading {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 176px;
	margin-bottom: 32px;
	padding: 38px 44px;
	overflow: hidden;
	border-radius: 4px;
	background:
		radial-gradient(circle at 88% 26%, rgba(255, 255, 255, 0.9) 0 4px, transparent 5px),
		radial-gradient(circle at 91% 70%, rgba(255, 255, 255, 0.52) 0 7px, transparent 8px),
		linear-gradient(125deg, #eefaf8 0%, #d5efec 100%);
}

.hc-reviews__heading::after {
	position: absolute;
	right: -34px;
	bottom: -70px;
	width: 210px;
	height: 210px;
	border: 28px solid rgba(119, 190, 184, 0.15);
	border-radius: 50%;
	content: "";
}

.hc-reviews__heading-copy {
	position: relative;
	z-index: 1;
}

.hc-reviews__eyebrow {
	display: block;
	margin-bottom: 7px;
	color: var(--hc-review-brand-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
}

.hc-reviews__heading h2,
.hc-review-form__intro h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: #2d3b39;
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.hc-reviews__heading h2::before,
.hc-reviews__heading h2::after,
.hc-review-form__intro h2::before,
.hc-review-form__intro h2::after {
	display: none;
	content: none;
}

.hc-reviews__heading p,
.hc-review-form__intro p {
	margin: 7px 0 0;
	color: #60706e;
	font-size: 12px;
	line-height: 1.75;
}

.hc-review-count {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 102px;
	height: 102px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.86);
	color: var(--hc-review-brand-dark);
	box-shadow: 0 8px 25px rgba(57, 126, 121, 0.1);
}

.hc-review-count strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
}

.hc-review-count span {
	margin-top: 5px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.4;
}

.hc-review-list {
	display: grid;
	gap: 18px;
}

.hc-review-card {
	margin: 0;
	padding: 28px 30px;
	border: 1px solid var(--hc-review-line);
	border-radius: 4px;
	background: var(--hc-review-paper);
	box-shadow: 0 7px 22px rgba(39, 65, 62, 0.05);
}

.hc-review-card__header {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
	gap: 13px;
}

.hc-review-avatar {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 43px;
	height: 43px;
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.hc-review-avatar--coral {
	background: #e99b8e;
}

.hc-review-avatar--blue {
	background: #75a9c6;
}

.hc-review-avatar--yellow {
	background: #d5b85e;
}

.hc-review-avatar--teal {
	background: #69aaa4;
}

.hc-review-card h3 {
	margin: 0 0 1px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--hc-review-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.hc-review-card h3::before,
.hc-review-card h3::after {
	display: none;
	content: none;
}

.hc-review-card time {
	color: #909a99;
	font-size: 10px;
	line-height: 1.5;
}

.hc-review-card__content {
	color: #46504f;
	font-size: 14px;
	line-height: 1.95;
	word-break: break-word;
}

.hc-review-card__content p {
	margin: 0 0 0.75em;
}

.hc-review-card__content p:last-child {
	margin-bottom: 0;
}

.hc-review-photo {
	position: relative;
	display: block;
	width: min(340px, 100%);
	margin-top: 20px;
	overflow: hidden;
	border-radius: 4px;
	background: #eef4f3;
	text-decoration: none;
}

.hc-review-photo__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	margin: 0;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.hc-review-photo:hover .hc-review-photo__image {
	transform: scale(1.02);
}

.hc-review-photo > span {
	position: absolute;
	right: 7px;
	bottom: 7px;
	padding: 2px 7px;
	border-radius: 2px;
	background: rgba(26, 75, 80, 0.72);
	color: #fff;
	font-size: 9px;
	line-height: 1.5;
}

.hc-reviews__empty {
	display: flex;
	align-items: center;
	padding: 25px 28px;
	border: 1px solid var(--hc-review-line);
	border-radius: 4px;
	background: #fbfdfd;
	color: var(--hc-review-muted);
	gap: 13px;
}

.hc-reviews__empty > span {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hc-review-brand-pale);
	color: var(--hc-review-brand-dark);
	font-family: Georgia, "Times New Roman", serif;
}

.hc-reviews__empty p,
.hc-reviews__limit-note {
	margin: 0;
	font-size: 12px;
}

.hc-reviews__limit-note {
	margin-top: 14px;
	color: var(--hc-review-muted);
	text-align: right;
}

.hc-review-form-wrap {
	margin-top: 58px;
	padding: 42px 48px 46px;
	border: 3px solid var(--hc-review-brand-dark);
	background: #fff;
}

.hc-review-form__intro {
	display: flex;
	align-items: center;
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--hc-review-line);
	gap: 18px;
}

.hc-review-form__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--hc-review-brand-pale);
	color: var(--hc-review-brand-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 25px;
	line-height: 1;
}

.hc-review-form {
	display: grid;
	margin: 0;
	gap: 27px;
}

.hc-review-field {
	display: grid;
	margin: 0;
	gap: 8px;
}

.hc-review-field > label,
.hc-review-field__label,
.hc-review-label-line > label {
	margin: 0;
	color: #354240;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.hc-review-badge {
	display: inline-flex;
	align-items: center;
	min-height: 19px;
	margin-left: 8px;
	padding: 1px 7px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.5;
	vertical-align: 1px;
}

.hc-review-badge--required {
	background: #df756b;
	color: #fff;
}

.hc-review-badge--optional {
	background: #edf1f0;
	color: #75807f;
}

.hc-review-field input[type="text"],
.hc-review-field input[type="email"],
.hc-review-field textarea {
	display: block;
	width: 100%;
	margin: 0;
	border: 1px solid #cdd8d6;
	border-radius: 3px;
	outline: none;
	background: #fcfdfd;
	box-shadow: none;
	color: var(--hc-review-ink);
	transition:
		border 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.hc-review-field input[type="text"],
.hc-review-field input[type="email"] {
	height: 49px;
	padding: 0 15px;
}

.hc-review-field textarea {
	min-height: 150px;
	padding: 13px 15px;
	resize: vertical;
}

.hc-review-field input[type="text"]:focus,
.hc-review-field input[type="email"]:focus,
.hc-review-field textarea:focus {
	border-color: var(--hc-review-brand-dark);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(119, 190, 184, 0.18);
}

.hc-review-field input::placeholder,
.hc-review-field textarea::placeholder {
	color: #a8afae;
	font-size: 12px;
}

.hc-review-field > small {
	color: #899391;
	font-size: 10px;
	line-height: 1.7;
}

.hc-review-label-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.hc-review-character-count {
	flex: 0 0 auto;
	color: #929b9a;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 10px;
	line-height: 1.4;
}

.hc-review-image-picker {
	display: flex;
	align-items: center;
	min-height: 84px;
	margin: 0;
	padding: 15px 19px;
	border: 1px dashed #9ebbb8;
	border-radius: 3px;
	background: #f7fbfa;
	color: var(--hc-review-brand-dark);
	cursor: pointer;
	gap: 15px;
	transition:
		border 0.2s ease,
		background 0.2s ease;
}

.hc-review-image-picker:hover,
.hc-review-image-picker:focus-within {
	border-color: var(--hc-review-brand-dark);
	background: var(--hc-review-brand-pale);
}

.hc-review-image-picker__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 1px solid var(--hc-review-brand);
	border-radius: 50%;
	font-size: 15px;
	line-height: 1;
}

.hc-review-image-picker > span:last-child {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.hc-review-image-picker strong {
	overflow: hidden;
	font-size: 12px;
	line-height: 1.6;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hc-review-image-picker small {
	margin-top: 3px;
	color: #83918f;
	font-size: 9px;
	font-weight: 400;
	line-height: 1.5;
}

.hc-review-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.hc-review-field-error {
	min-height: 1em;
	margin: 0;
	color: #c14f46;
	font-size: 11px;
	line-height: 1.6;
}

.hc-review-upload-preview {
	position: relative;
	width: min(300px, 100%);
	margin-top: 4px;
}

.hc-review-upload-preview[hidden] {
	display: none !important;
}

.hc-review-upload-preview img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 260px;
	margin: 0;
	border-radius: 3px;
	object-fit: cover;
}

.hc-review-upload-preview > span {
	position: absolute;
	right: 7px;
	bottom: 7px;
	padding: 3px 8px;
	border-radius: 2px;
	background: rgba(31, 45, 44, 0.75);
	color: #fff;
	font-size: 9px;
	line-height: 1.5;
}

.hc-review-consent {
	display: flex;
	align-items: flex-start;
	margin: 0;
	padding: 17px 18px;
	border-radius: 3px;
	background: var(--hc-review-warm);
	color: #525b59;
	cursor: pointer;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.7;
	gap: 12px;
}

.hc-reviews .hc-review-consent > input[type="checkbox"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	position: static !important;
	display: block !important;
	visibility: visible !important;
	flex: 0 0 20px !important;
	width: 20px !important;
	min-width: 20px !important;
	max-width: 20px !important;
	height: 20px !important;
	min-height: 20px !important;
	margin: 1px 0 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: auto !important;
	clip-path: none !important;
	border: 2px solid #8ba9a6 !important;
	border-radius: 3px !important;
	outline: 0;
	background-color: #fff !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 13px 13px !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: none !important;
	cursor: pointer;
	transition:
		border-color 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}

.hc-reviews .hc-review-consent > input[type="checkbox"]:checked {
	border-color: var(--hc-review-brand-dark) !important;
	background-color: var(--hc-review-brand-dark) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2 6.4 11.5 13 4.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.hc-reviews .hc-review-consent:hover > input[type="checkbox"] {
	border-color: var(--hc-review-brand-dark) !important;
}

.hc-reviews .hc-review-consent > input[type="checkbox"]:focus-visible {
	border-color: var(--hc-review-brand-dark) !important;
	box-shadow: 0 0 0 3px rgba(119, 190, 184, 0.28) !important;
}

@media (forced-colors: active) {
	.hc-reviews .hc-review-consent > input[type="checkbox"] {
		-webkit-appearance: auto !important;
		appearance: auto !important;
		accent-color: Highlight;
	}
}

.hc-review-moderation-note {
	display: flex;
	align-items: center;
	padding: 13px 16px;
	border: 1px solid #d8e7e5;
	border-radius: 3px;
	background: #f6fbfa;
	color: #65716f;
	gap: 11px;
}

.hc-review-moderation-note > span {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	background: var(--hc-review-brand);
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.hc-review-moderation-note p {
	margin: 0;
	font-size: 10px;
	line-height: 1.7;
}

.hc-review-submit {
	display: flex;
	justify-content: center;
	align-items: center;
	width: min(360px, 100%);
	min-height: 58px;
	margin: 5px auto 0;
	padding: 13px 25px;
	border: 0;
	border-radius: 3px;
	background: var(--hc-review-brand-dark);
	box-shadow: 0 8px 18px rgba(57, 126, 121, 0.2);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.5;
	cursor: pointer;
	transition:
		background 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.hc-review-submit > span:last-child {
	margin-left: 18px;
	font-size: 18px;
	line-height: 1;
}

.hc-review-submit:hover,
.hc-review-submit:focus-visible {
	background: var(--hc-review-brand-deep);
	box-shadow: 0 10px 25px rgba(57, 126, 121, 0.28);
	transform: translateY(-2px);
}

.hc-review-submit:disabled {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.hc-review-notice {
	display: flex;
	align-items: flex-start;
	margin: 0 0 28px;
	padding: 22px 24px;
	border: 1px solid #b9dcd8;
	border-radius: 4px;
	background: var(--hc-review-brand-pale);
	gap: 14px;
}

.hc-review-notice--warning {
	border-color: #ead59d;
	background: #fff9e8;
}

.hc-review-notice__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--hc-review-brand-dark);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
}

.hc-review-notice--warning .hc-review-notice__icon {
	background: #b18b29;
}

.hc-review-notice strong {
	color: var(--hc-review-brand-dark);
	font-size: 15px;
	line-height: 1.5;
}

.hc-review-notice--warning strong {
	color: #806317;
}

.hc-review-notice p {
	margin: 3px 0 0;
	color: #5c6967;
	font-size: 11px;
	line-height: 1.7;
}

.hc-review-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media (max-width: 700px) {
	.hc-reviews {
		margin: 52px auto;
	}

	.hc-reviews__heading {
		align-items: flex-start;
		min-height: 205px;
		padding: 28px 24px;
	}

	.hc-reviews__heading-copy {
		max-width: calc(100% - 74px);
	}

	.hc-reviews__heading h2,
	.hc-review-form__intro h2 {
		font-size: 20px;
	}

	.hc-reviews__heading p {
		max-width: 205px;
	}

	.hc-review-count {
		width: 70px;
		height: 70px;
	}

	.hc-review-count strong {
		font-size: 25px;
	}

	.hc-review-count span {
		font-size: 8px;
	}

	.hc-review-card {
		padding: 23px 20px;
	}

	.hc-review-card__content {
		font-size: 13px;
	}

	.hc-review-photo {
		width: 100%;
	}

	.hc-review-form-wrap {
		margin-top: 43px;
		padding: 28px 20px 32px;
		border-width: 2px;
	}

	.hc-review-form__intro {
		align-items: flex-start;
		margin-bottom: 28px;
	}

	.hc-review-form__icon {
		width: 43px;
		height: 43px;
		font-size: 19px;
	}

	.hc-review-form__intro p {
		font-size: 10px;
	}

	.hc-review-notice {
		padding: 19px 17px;
	}

	.hc-review-image-picker {
		padding: 14px;
	}
}

@media (max-width: 390px) {
	.hc-reviews__heading {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hc-reviews__heading h2 {
		font-size: 18px;
	}

	.hc-review-count {
		width: 64px;
		height: 64px;
	}

	.hc-review-form-wrap {
		padding-right: 16px;
		padding-left: 16px;
	}

	.hc-review-label-line {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hc-reviews *,
	.hc-reviews *::before,
	.hc-reviews *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
