@charset "utf-8";

/* ==================================================
   症状一覧
   ================================================== */

.symptom-archive {
	width: 100%;
}


/* ==================================================
   症状一覧カード
   ================================================== */

.symptom-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 40px;
}


/* ==================================================
   症状カード
   ================================================== */

.symptom-list-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 30px;
	background: #ffffee;
	border: 3px solid #787473;
	border-radius: 12px;
	color: #000;
	text-decoration: none;
	min-height: 260px;
	transition: opacity 0.3s ease;
}

.symptom-list-card:hover {
	opacity: 0.75;
}


/* ==================================================
   症状名
   ================================================== */

.symptom-list-name {
	margin: 0 0 20px;
	padding: 0;
	text-align: center;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.5;
	color: #000;
}

.symptom-list-name span {
	display: inline;
	font-weight: 700;
	text-decoration-line: underline;
	text-decoration-color: #f3aac9;
	text-decoration-thickness: 4px;
	text-underline-offset: 5px;
}


/* ==================================================
   カテゴリー
   ================================================== */

.symptom-list-category {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: 20px;
}

.symptom-list-category span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 20px;
	padding: 0 12px;
	box-sizing: border-box;
	border-radius: 10px;
	font-size: 12px;
	line-height: 20px;
	color: #000;
}


/* 女性 */

.symptom-category-female {
	background: #fdedf4;
}


/* 男性 */

.symptom-category-male {
	background: #d7ebf8;
}


/* 小児 */

.symptom-category-pediatric {
	background: #fff4c8;
}


/* ==================================================
   説明文
   ================================================== */

.symptom-list-description {
	margin: 0;
	color: #000;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.8;
	text-align: left;
}

.symptom-list-description p {
	margin: 0;
}


/* ==================================================
   詳しく見る
   ================================================== */

.symptom-list-more {
	margin-top: auto;
	padding-top: 20px;
	text-align: right;
	color: #f3aac9;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.5;
}


/* ==================================================
   タブレット
   ================================================== */

@media screen and (max-width: 900px) {

	.symptom-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.symptom-list-card {
		padding: 25px;
	}

}


/* ==================================================
   スマートフォン
   ================================================== */

@media screen and (max-width: 600px) {

	.symptom-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.symptom-list-card {
		padding: 20px 15px;
		min-height: 230px;
	}

	.symptom-list-name {
		font-size: 19px;
		margin-bottom: 15px;
	}

	.symptom-list-name span {
		text-decoration-thickness: 3px;
		text-underline-offset: 4px;
	}

	.symptom-list-category {
		gap: 5px;
		margin-bottom: 15px;
	}

	.symptom-list-category span {
		height: 20px;
		padding: 0 9px;
		font-size: 11px;
		line-height: 20px;
	}

	.symptom-list-description {
		font-size: 13px;
		line-height: 1.7;
	}

	.symptom-list-more {
		padding-top: 15px;
		font-size: 12px;
	}

}


/* ==================================================
   狭いスマートフォン
   ================================================== */

@media screen and (max-width: 380px) {

	.symptom-list {
		gap: 10px;
	}

	.symptom-list-card {
		padding: 18px 12px;
	}

	.symptom-list-name {
		font-size: 17px;
	}

	.symptom-list-category span {
		padding: 0 7px;
		font-size: 10px;
	}

	.symptom-list-description {
		font-size: 12px;
	}

	.symptom-list-more {
		font-size: 11px;
	}

}