/* ========== common Component ========== */
.conversation-wrap {
	background-color: #FAAAAE;
}
.balloon-question h2 {
	color: var(--text-red);
}
/* クイズ上部のギザギザ分余白調整 */
.topic-section:last-of-type {
	padding-bottom: 64px;
}
/* SP styles */
@media screen and (width < 768px) {
	.topic-section:last-of-type {
		padding-bottom: 48px;
	}
}
.study-title {
	text-align: center;
}

/* ========== allergy Mechanism ========== */
.mechanism {
	display: grid;
	gap: clamp(0px, calc(32 / 1000 * 100vw), 32px);
}
.flow {
	text-align: center;
	display: grid;
	gap: 8px;
}
.flow-title {
	font-family: 'Noto Sans JP', sans-serif !important;
	font-weight: 500;
	font-size: clamp(14px, calc(24 / 1000 * 100vw), 24px);
	line-height: 1.6;
}
.flow-image {
	max-width: clamp(0px, calc(500 / 1000 * 100vw), 500px);
	margin: 0 auto;
}
.flow-note {
	font-family: 'Noto Sans JP', sans-serif !important;
	font-weight: 500;
	text-align: left;
	font-size: clamp(10px, calc(14 / 1000 * 100vw), 14px);
	line-height: 1.5;
	padding-left: clamp(10px, calc(14 / 1000 * 100vw), 14px);
	position: relative;
}
.flow-note::before {
	content: "※";
	position: absolute;
	left: 0;
	top: 0;
}
/* SP styles */
@media screen and (width < 768px) {
	.flow-image {
		max-width: 311px;
	}
}

/* ========== 怪獣吹き出し ========== */
.bubble-container {
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
	padding: 100px 14px 16px 274px;
}
.bubble-character {
	position: absolute;
	left: -130px;
	bottom: calc(50% - 150px);
}
.bubble-character img {
	width: 300px;
}
.bubble-info {
	position: relative;
	background-color: var(--bg-white);
	border: 8px solid #EA513A;
	border-radius: 80px;
	padding: 48px;
}
.bubble-info-text {
	font-size: 18px;
	line-height: 28px;
}
.bubble-circle {
	position: absolute;
	left: 170px; 
	bottom: calc(50% - 45px);
	height: auto;
	z-index: 2;
}
.bubble-circle img {
	width: 130px;
}
/* 細胞の働き説明用 */
.cellFunction-wrap {
	display: grid;
	gap: 24px;
}
.cellFunction-content {
	display: flex;
	gap: 12px;
}
.cellFunction-img {
	flex: 0 0 120px;
}
.cellFunction-label {
	position: absolute;
	top: -64px;
	left: -94px;
	background-color: #F15A51;
	border-radius: 70px;
	padding: 24px 32px;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 700;
	text-align: center;
}
@media screen and (width < 1000px) {
	.bubble-container {
		padding-left: 104px;
		padding-bottom: 250px;
	}
	.bubble-character {
		bottom: -30px;
	}
	.bubble-circle {
		left: 150px; 
		bottom: 200px;
	}
}
/* SP styles */
@media screen and (width < 768px) {
	.bubble-container {
		padding-left: 65px;
		padding-bottom: 130px;
	}
	.bubble-character {
		position: absolute;
		left: -66px;
		bottom: -25px;
	}
	.bubble-character img {
		width: 170px;
	}
	.bubble-info {
		border-radius: 40px;
		padding: 24px;
		border: 4px solid #EA513A;
	}
	.bubble-info-text {
		font-size: 12px;
		line-height: 1.5;
	}
	.bubble-circle {
		left: 115px; 
		bottom: 100px;
	}
	.bubble-circle img {
		width: 80px;
	}
	.cellFunction-label {
		font-size: 12px;
		padding: 12px 16px;
		top: -65px;
		left: -51px;
	}
	.cellFunction-img {
		flex: 0 0 80px;
	}
}
