/**
 * 症状別治療アーカイブ（第一階層 /symptom/）新デザイン
 */

.symptom-archive-new {
	padding: 20px 0 60px;
}

.symptom-archive-new__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.symptom-archive-new__item {
	margin: 0;
}

.symptom-archive-new__title {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 16px;
	text-align: center;
	color: #ee3f7c;
}

.symptom-archive-new__title a {
	color: inherit;
	text-decoration: none;
}

.symptom-archive-new__title a:hover {
	opacity: 0.8;
}

.symptom-archive-new__figure {
	margin-bottom: 16px;
	background: #d9d9d9;
	border-radius: 12px;
}

.symptom-archive-new__figure img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	border-radius: 12px;
	width: 100%;
}

.symptom-archive-new__symptoms {
	list-style: none;
	margin: 0;
	padding: 0;
}

.symptom-archive-new__symptoms > li > h3 {
	margin: 0.5em 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}


.symptom-archive-new__arrow {
	width: 20px;
	height: 20px;
	border: 1px solid #9D9D9D;
	border-radius: 50%;
	position: relative;
	transition: border 0.3s ease;
}
.symptom-archive-new__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 16px;
	height: 12px;
	background-image: url(../../images/arrow-right.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	transition: background-image 0.3s ease;
}

.symptom-archive-new__symptoms > li + li {
	margin-top: 10px;
}

.symptom-archive-new__link {
	display: grid;
	grid-template-columns: 90% 10%;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.6;
	position: relative;
}

.symptom-archive-new__link {
	color: #333;
	text-decoration: none;
}

.symptom-archive-new__link:hover {
	color: #ee3f7c;
}

.symptom-archive-new__link:hover .symptom-archive-new__arrow {
	border: 1px solid #ee3f7c;
	transition: border 0.3s ease;
}

.symptom-archive-new__link:hover .symptom-archive-new__arrow::before {
	background-image: url(../../images/arrow-right-pink.svg);
	transition: background-image 0.3s ease;
}

@media screen and (min-width: 768px) {
	.symptom-archive-new__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.symptom-archive-new__title {
		font-size: 2.2rem;
	}
}

@media screen and (min-width: 992px) {
	.symptom-archive-new__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 50px 36px;
	}

	.symptom-archive-new__title {
		font-size: 2.4rem;
		margin-bottom: 20px;
	}

	.symptom-archive-new__symptoms > li {
		font-size: 1.6rem;
	}
}
