/*
	レビュー一覧ページ用スタイル
*/
@charset "UTF-8";


/* 変数定義 */
:root {
	/* テキストの基本カラー */
	--text: #282828;
	
	/* メインカラー、濃い青 */
	--blu01: #004EA2;
	
	/* 主にラインに使用、薄い灰色 */
	--gry01: #E3E3E3;
	
	/* 主に灰色の文字に使用、濃い灰色 */
	--gry02: #888;
	
	/* フォントウェイト：medium */
	--medium: 500;
}


/* 共通 */
[id^="reviews"] {
	color: var(--text);
	font-size: 16px;
	font-weight: var(--medium);
	letter-spacing: normal;
	line-height: 1.3;
}

@media only screen and (max-width: 767px) {
	[id^="reviews"] {
		font-size: 14px;
	}
}

[id^="reviews"] .contentIn {
	max-width: 700px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 10px;
	padding-left: 10px;
}

@media only screen and (max-width: 767px) {
	[id^="reviews"] .contentIn {
		max-width: 100%;
		padding-right: 18px;
		padding-left: 18px;
	}
}

[id^="reviews"] a,
[id^="reviews"] button,
[id^="reviews"] label {
	transition: opacity 300ms ease;
	cursor: pointer;
}
[id^="reviews"] a:hover,
[id^="reviews"] button:hover,
[id^="reviews"] label:hover {
	opacity: 0.7;
}

@media only screen and (min-width: 767.1px) {
	[id^="reviews"] .spOnly {
		display: none;
	}
}

@keyframes dotAnimation1st {
	0% {
		visibility: hidden;
	}
	
	24.9% {
		visibility: hidden;
	}
	
	25% {
		visibility: visible;
	}
	
	100% {
		visibility: visible;
	}
}

@keyframes dotAnimation2nd {
	0% {
		visibility: hidden;
	}
	
	49.9% {
		visibility: hidden;
	}
	
	50% {
		visibility: visible;
	}
	
	100% {
		visibility: visible;
	}
}

@keyframes dotAnimation3rd {
	0% {
		visibility: hidden;
	}
	
	74.9% {
		visibility: hidden;
	}
	
	75% {
		visibility: visible;
	}
	
	100% {
		visibility: visible;
	}
}

.dotAnimation > .dot {
	margin-left: 0.3em;
	animation-duration: 2000ms;
	animation-iteration-count: infinite;
}

.dotAnimation > .dot:nth-child(1) {
	animation-name: dotAnimation1st;
}

.dotAnimation > .dot:nth-child(2) {
	animation-name: dotAnimation2nd;
}

.dotAnimation > .dot:nth-child(3) {
	animation-name: dotAnimation3rd;
}


/* starContainer */
.starContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	color: transparent;
	font-size: 0;
}

.starContainer > .star {
	flex: 1 1 auto;
	display: block;
	width: 100%;
	aspect-ratio: 1;
	background: var(--gry01);
	-webkit-mask: url("images/icoStar01.svg") no-repeat center / contain;
	mask: url("images/icoStar01.svg") no-repeat center / contain;
}

.starContainer > .star.half {
	background: linear-gradient(to right, #EDBA42 0%, #EDBA42 49.9%, var(--gry01) 50%, var(--gry01) 100%)
}

.starContainer > .star.on {
	background: #EDBA42;
}

.starContainer > .star:nth-child(n+2) {
	margin-left: 4%;
}


/* reviewsAllReviews */
#reviewsAllReviews {
	margin-top: 60px;
}

@media only screen and (max-width: 767px) {
	#reviewsAllReviews {
		margin-top: 40px;
	}
}

#reviewsAllReviews .container {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	padding: 40px 10px;
	border: 1px solid var(--blu01);
}

@media only screen and (max-width: 767px) {
	#reviewsAllReviews .container {
		padding: 40px 10px 30px;
	}
}

#reviewsAllReviews .tag {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 50%;
	top: 0;
	min-width: 220px;
	min-height: 24px;
	padding: 5px;
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.2em;
	line-height: 1.0;
	text-transform: uppercase;
	translate: -50% -50% 0;
}

@media only screen and (max-width: 767px) {
	#reviewsAllReviews .tag {
		min-width: 160px;
	}
}

#reviewsAllReviews .tag::before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	background: var(--blu01);
	z-index: -1;
	translate: -50% -50% 0;
	transform: skewX(-15deg);
}

#reviewsAllReviews .title {
	color: var(--blu01);
	font-size: 24px;
	font-weight: bold;
	text-align: center;
}

@media only screen and (max-width: 767px) {
	#reviewsAllReviews .title {
		font-size: 18px;
	}
}

#reviewsAllReviews .scoreArea {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	margin-top: 20px;
	color: var(--gry02);
}

@media only screen and (max-width: 767px) {
	#reviewsAllReviews .scoreArea {
		margin-top: 15px;
	}
}

#reviewsAllReviews .scoreArea > * {
	flex: 0 0 auto;
}

#reviewsAllReviews .scoreArea .scoreLoading {
	position: absolute;
	left: 50%;
	top: 50%;
	translate: -50% -50% 0;
	z-index: 1;
	opacity: 0;
	pointer-events: none;
}

#reviewsAllReviews .scoreArea.loading .scoreLoading {
	opacity: 1;
}

#reviewsAllReviews .scoreArea.loading > *:not(.scoreLoading) {
	opacity: 0;
}

#reviewsAllReviews .scoreArea .rating {
	font-size: 30px;
}

#reviewsAllReviews .scoreArea .stars {
	width: 165px;
	margin-left: 14px;
}

#reviewsAllReviews .scoreArea .ratingCount {
	margin: 0 -0.2em;
	font-size: 30px;
}

@media only screen and (max-width: 767px) {
	#reviewsAllReviews .scoreArea .ratingCount {
		text-align: center;
	}
}


/* reviewsPrefectures */
#reviewsPrefectures {
	/*左右の余白*/
	--padHPc: 22px;
	--padHSp: 14px;
	
	margin-top: 40px;
}

#reviewsPrefectures .titleArea {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	min-height: 68px;
	padding: 5px var(--padHPc);
	border: 1px var(--gry01);
	border-style: solid none dotted;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .titleArea {
		min-height: 60px;
		padding: 5px var(--padHSp);
	}
}

#reviewsPrefectures .title {
	flex: 0 0 auto;
	font-weight: bold;
	font-size: 26px;
	line-height: 1.2;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .title {
		font-size: 22px;
	}
}

#reviewsPrefectures .openCloseButton {
	flex: 0 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 90px;
	min-height: 50px;
	padding: 5px;
	background: #fff;
	border: 1px solid var(--gry01);
	border-radius: 5px;
	color: inherit;
	font: inherit;
	font-size: 14px;
	line-height: 1.3;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .openCloseButton {
		min-width: 80px;
		min-height: 48px;
		padding: 3px 5px;
		font-size: 13px;
	}
}

#reviewsPrefectures .allPrefs *,
#reviewsPrefectures .allPrefs *::before,
#reviewsPrefectures .allPrefs *::after {
	transition: 300ms ease;
	transition-property: height, margin-top, margin-bottom, padding-top, padding-bottom, opacity, visibility;
}

#reviewsPrefectures .area {
	display: flex;
	padding: 24px 0;
	border-bottom: 2px dotted var(--gry01);
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .area {
		padding: 18px 0;
		font-size: 15px;
	}
}

#reviewsPrefectures .area:last-of-type {
	border-bottom-style: solid;
}

#reviewsPrefectures .areaName {
	flex: 0 0 auto;
	width: 110px;
	padding: 0 var(--padHPc);
	font-weight: bold;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .areaName {
		width: 90px;
		padding: 0 var(--padHSp);
	}
}

#reviewsPrefectures .areaPrefs {
	flex: 0 1 auto;
	width: 100%;
	padding: 0 var(--padHPc);
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .areaPrefs {
		padding: 0 var(--padHSp);
	}
}

#reviewsPrefectures .areaPrefsList {
	display: flex;
	flex-wrap: wrap;
	margin: -14px 0 0 -14px;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .areaPrefsList {
		margin: -8px 0 0 -8px;
	}
}

#reviewsPrefectures .pref {
	flex: 0 0 auto;
	margin: 14px 0 0 14px;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .pref {
		margin: 8px 0 0 8px;
	}
}

#reviewsPrefectures .pref [name="activePref"] {
	display: block;
	width: 0;
	height: 0;
	opacity: 0;
}

#reviewsPrefectures .pref .name {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 52px;
	padding: 5px 15px;
	background: #F5F4F4;
	border: 3px solid #F5F4F4;
}

@media only screen and (max-width: 767px) {
	#reviewsPrefectures .pref .name {
		min-height: 39px;
		padding: 3px 14px;
	}
}

#reviewsPrefectures .pref.enable :checked ~ .name {
	background: var(--blu01);
	border-color: var(--blu01);
	color: #fff;
}

#reviewsPrefectures .pref.loading .name {
	position: relative;
	background: #fcfcfc;
	border-color: #fcfcfc;
	color: #d3d3d3;
}

@keyframes rotateLoop {
	0% {
		rotate: 0deg;
	}
	
	100% {
		rotate: 360deg;
	}
}

#reviewsPrefectures .pref.loading .name::after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1em;
	aspect-ratio: 1;
	border: 3px solid #c4c4c4;
	border-top-color: #666;
	border-radius: 50%;
	translate: -50% -50% 0;
	animation: rotateLoop 1500ms linear infinite both;
}

#reviewsPrefectures .pref.loading :checked ~ .name {
	border-color: #d9e4ef;
}

#reviewsPrefectures .pref.disable .name {
	color: #c4c4c4;
}

#reviewsPrefectures .pref.disable :checked ~ .name {
	border-color: var(--blu01);
}

#reviewsPrefectures .pref:not(.enable) label {
	cursor: default;
}

#reviewsPrefectures .pref:not(.enable) label:hover {
	opacity: 1;
}

#reviewsPrefectures .titleArea.close {
	border-bottom-style: solid;
}

#reviewsPrefectures .titleArea.close .openCloseButton {
	background: #F5F4F4;
	border-color: #F5F4F4;
}

#reviewsPrefectures .titleArea.close ~ .allPrefs *,
#reviewsPrefectures .titleArea.close ~ .allPrefs *::before,
#reviewsPrefectures .titleArea.close ~ .allPrefs *::after {
	height: 0;
	min-height: 0;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
	visibility: hidden;
}


/* reviewsReviews */
#reviewsReviews {
	margin-top: 50px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews {
		margin-top: 35px;
	}
}

#reviewsReviews .loading {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	font-size: 20px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .loading {
		font-size: 18px;
	}
}

#reviewsReviews .orderList {
	display: flex;
	align-items: center;
}

#reviewsReviews .orderList .order {
	flex: 0 0 auto;
}

#reviewsReviews .orderList .order:nth-child(n+2) {
	margin-left: 3px;
}

#reviewsReviews .orderList .order.active label:hover {
	opacity: 1;
	cursor: default;
}

#reviewsReviews .orderList [name="order"] {
	display: block;
	width: 0;
	height: 0;
	opacity: 0;
}

#reviewsReviews .orderList .text {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 25px;
	padding: 2px 10px;
	border: 1px solid var(--gry01);
	border-radius: 13px;
	color: #a5a5a5;
	font-size: 11px;
}

#reviewsReviews .orderList :checked ~ .text {
	background: #EDEDED;
	color: #777;
}

#reviewsReviews .count {
	margin-top: 10px;
	color: var(--gry02);
	font-size: 15px;
}

#reviewsReviews .count .tag {
	font-weight: bold;
}

#reviewsReviews .clinicList {
	margin-top: 25px;
	border-top: 1px solid var(--gry01);
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList {
		margin-top: 30px;
	}
}

#reviewsReviews .clinicList > li {
	padding: 25px 0;
	border-bottom: 1px solid var(--gry01);
}

#reviewsReviews .clinicList > li.processing {
	text-align: center;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList > li {
		padding-bottom: 20px;
	}
	
	#reviewsReviews .clinicList .inner {
		max-width: 600px;
		margin: 0 auto;
	}
}

#reviewsReviews .clinicList .infoArea {
	display: flex;
	align-items: center;
	line-height: 1.3;
}

#reviewsReviews .clinicList .image {
	flex: 0 0 auto;
	width: 93px;
	aspect-ratio: 1;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .image {
		max-width: calc(100% - 250px);
	}
}

#reviewsReviews .clinicList .image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#reviewsReviews .clinicList .textArea {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	margin-left: 25px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .textArea {
		display: block;
		margin-left: 16px;
	}
}

#reviewsReviews .clinicList .titleArea {
	flex: 1 1 auto;
}

#reviewsReviews .clinicList .title {
	color: var(--blu01);
	font-size: 22px;
	font-weight: inherit;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .title {
		font-size: 18px;
	}
}

#reviewsReviews .clinicList .ratingArea {
	display: flex;
	align-items: center;
	margin-top: 5px;
	color: var(--gry02);
}

#reviewsReviews .clinicList .ratingArea > * {
	flex: 0 0 auto;
}

#reviewsReviews .clinicList .rating {
	font-size: 24px;
}

#reviewsReviews .clinicList .stars {
	width: 127px;
	margin-left: 10px;
}

#reviewsReviews .clinicList .ratingCount {
	font-size: 15px;
}

#reviewsReviews .clinicList .linkArea {
	flex: 0 0 auto;
	margin-left: 10px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .linkArea {
		display: flex;
		align-items: stretch;
		margin: 8px 0 0;
	}
	
	#reviewsReviews .clinicList .linkArea > * {
		flex: 1 1 auto;
		width: 100%;
	}
}

#reviewsReviews .clinicList .linkArea > :nth-child(n+2) {
	margin-top: 10px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .linkArea > :nth-child(n+2) {
		margin: 0 0 0 5px;
	}
}

#reviewsReviews .clinicList .linkArea a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 235px;
	height: 42px;
	border: 1px solid currentColor;
	border-radius: 21px;
	font-size: 14px;
	text-decoration: none;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .linkArea a {
		width: 100%;
		height: 100%;
		min-height: 27px;
		padding: 3px 12px;
		border-radius: 14px;
		font-size: 12px;
		text-align: center;
	}
}

#reviewsReviews .clinicList .linkArea .review a {
	color: #EC6D8B;
}

#reviewsReviews .clinicList .linkArea .clinic a {
	color: #007BC7;
}

#reviewsReviews .clinicList .icoText {
	display: flex;
	align-items: flex-start;
	color: var(--gry02);
	font-size: 12px;
	line-height: 1.67;
}

#reviewsReviews .clinicList .icoText:nth-of-type(1) {
	margin-top: 15px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .clinicList .icoText:nth-of-type(1) {
		margin-top: 10px;
	}
}

#reviewsReviews .clinicList .icoText:nth-of-type(n+2) {
	margin-top: 5px;
}

#reviewsReviews .clinicList .icoText::before {
	content: '';
	flex: 0 0 auto;
	display: block;
	width: 1.4em;
	aspect-ratio: 1;
	margin-top: 0.2em;
	margin-right: 0.7em;
	background: no-repeat center / contain;
}

#reviewsReviews .clinicList .icoText.access::before {
	background-image: url("images/icoTrain01.svg");
}

#reviewsReviews .clinicList .icoText.address::before {
	background-image: url("images/icoPin01.svg");
}

#reviewsReviews .more {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

@media only screen and (max-width: 767px) {
	#reviewsReviews .more {
		margin-top: 40px;
	}
}

#reviewsReviews .more button {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 0.2em;
	background: none;
	border: none;
	font: inherit;
	font-size: 14px;
}

#reviewsReviews .more button::after {
	content: '';
	display: block;
	width: 0.6em;
	aspect-ratio: 1;
	margin-top: 0.3em;
	border: 1px currentColor;
	border-style: none solid solid none;
	rotate: 45deg;
}


/* reviewsNearby */
#reviewsNearby {
	--padH: 40px;
	--padSp: 24px;
	
	margin-top: 100px;
	padding-bottom: 100px;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby {
		margin-top: 70px;
		padding-bottom: 70px;
	}
}

#reviewsNearby .contentIn {
	max-width: 1000px;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .contentIn {
		padding: 0;
	}
}

#reviewsNearby .title {
	color: var(--blu01);
	font-size: 26px;
	font-weight: normal;
	text-align: center;
	letter-spacing: 0.23em;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .title {
		padding: 0 var(--padSp);
		font-size: 21px;
		text-align: left;
		letter-spacing: 0.1em;
	}
}

#reviewsNearby .loading {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 200px;
	font-size: 20px;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .loading {
		font-size: 18px;
	}
}

#reviewsNearby .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	margin-top: 50px;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .list {
		flex-direction: column;
		margin-top: 25px;
	}
}

@media only screen and (min-width: 767.1px) {
	#reviewsNearby .list > * {
		flex: 0 0 auto;
		width: calc((100% - var(--padH)) / 2);
		border-bottom: 1px solid var(--blu01);
	}

	#reviewsNearby .list > :nth-child(2n) {
		margin-left: var(--padH);
	}

	#reviewsNearby .list > :nth-child(-n+2) {
		border-top: 1px solid var(--blu01);
	}
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .list > * {
		border-bottom: 1px solid var(--blu01);
	}

	#reviewsNearby .list > :nth-child(1) {
		border-top: 1px solid var(--blu01);
	}
}

#reviewsNearby .list a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
	padding: 20px 0;
	color: var(--blu01);
	font-size: 16px;
	text-decoration: none;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .list a {
		padding: var(--padSp);
		font-size: 14px;
		color: inherit;
	}
}

#reviewsNearby .list a::after {
	content: '';
	flex: 0 0 auto;
	display: block;
	width: 0.7em;
	aspect-ratio: 1;
	margin: 0 0.2em 0 1.0em;
	border: 1px currentColor;
	border-style: solid solid none none;
	rotate: 45deg;
}

@media only screen and (max-width: 767px) {
	#reviewsNearby .list a::after {
		width: 0.65em;
		margin-right: 0;
		border-color: var(--blu01);
	}
}


/* reviewsGoTop */
@keyframes fadeOut {
	0% {
		opacity: 1;
		visibility: visible;
	}
	
	99.9% {
		visibility: visible;
	}
	
	100% {
		opacity: 0;
		visibility: hidden;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		visibility: visible;
	}
	
	100% {
		opacity: 1;
		visibility: visible;
	}
}

#reviewsGoTop {
	position: sticky;
	left: 0;
	bottom: 150px;
	width: 100%;
	z-index: 99999;
}

@media only screen and (max-width: 767px) {
	#reviewsGoTop {
		bottom: 120px;
	}
}

#reviewsGoTop .contentIn {
	position: relative;
	max-width: 925px;
}

#reviewsGoTop a {
	display: block;
	position: absolute;
	right: 10px;
	bottom: 0;
	width: 40px;
	aspect-ratio: 1;
	background: var(--blu01) url("images/icoArrow01.svg") no-repeat center / 10px auto;
	border-radius: 50%;
	font-size: 0;
	opacity: 0;
	visibility: hidden;
	animation: fadeOut 300ms ease both;
}

@media only screen and (max-width: 767px) {
	#reviewsGoTop a {
		right: 18px;
	}
}

#reviewsGoTop a.show {
	animation-name: fadeIn;
}
