/* ========== common Component ========== */
.conversation-wrap {
	background-color: #FAAAAE;
}
.balloon-question h2 {
	color: var(--text-red);
}
/* クイズ上部のギザギザ分余白調整 */
.topic-section:last-of-type .section-bgColor {
	padding-bottom: 131px;
}
/* SP styles */
@media screen and (width < 768px) {
	.topic-section:last-of-type .section-bgColor {
		padding-bottom: 78px;
	}
}

/* ========== 一般的なアレルゲン ========== */
.allergenKind {
	display: grid;
	gap: 32px;	
}
.allergenKind-img {
	display: flex;
	justify-content: center;
}
.allergenKind-img img {
	max-width: 500px;
}

/* ========== description レイアウト用 ========== */
.description-layout {
	display: grid;
	gap: 8px;
}

/* ========== 怪獣吹き出し共通 ========== */
.bubble-container {
	display: flex;
	align-items: end;
}
.bubble-character img {
	width: 160px;
}
.bubble-info {
	position: relative;
	background-color: var(--bg-white);
	border: 8px solid #EA513A;
	border-radius: 80px;
	margin-left: 64px;
}
.bubble-info-text {
	font-size: 18px;
	line-height: 28px;
}
.bubble-circle {
	position: absolute;
	z-index: 2;
}
.bubble-circle img {
	width: 80px;
}

/* ========== kafun description ========== */
.kafun-description {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	align-items: end;
	padding-bottom: 26px;
}
.kafun-description .bubble-container {
	flex: 0 0 522px;
}
.kafun-description .bubble-info {
	padding: 24px;
}
.kafun-description .bubble-circle {
	top: calc(50% - 15px);
	left: -70px;
}
@media screen and (width < 768px) {
	.kafun-description .bubble-container {
		flex: 0 0 350px;
		justify-content: right;
	}
	.kafun-description .bubble-character img {
		width: 80px;
	}
	.kafun-description .bubble-info {
		padding: 24px;
		border: 4px solid #EA513A;
		border-radius: 40px;
		margin-left: 30px;
	}
	.bubble-info-text {
		font-size: 12px;
		line-height: 1.5;
	}
	.kafun-description .bubble-circle {
		top: calc(50% - 5px);
		left: -33px;
	}
	.kafun-description .bubble-circle img  {
		width: 40px;
	}
}
@media screen and (width < 550px) {
	.kafun-description {
		display: grid;
		gap: 8px;
		justify-content: unset;
	}
}

/* ========== kafun calendar ========== */
/*.section-calendar {
	padding: 0 14px;
}
.calendar-container {
	background-color: rgba(250, 170, 174, 0.5);
	padding: 48px;
	border-radius: 25px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	display: grid;
	gap: 24px;
}*/
.section-bgColor-container.calendar {
	display: grid;
}
.calendar-figureContent {
	background-color: var(--bg-white);
	padding: 24px 0;
	display: grid;
	gap: 24px;
}
.reference-text {
	font-size: 14px;
	line-height: 1.5;
}
@media screen and (width < 768px) {
	.calendar-container {
		padding: 32px 16px;
	}
	.calendar-figureContent {
		padding: 8px 0;
	}
	.reference-text {
		font-size: 12px;
	}
}

/* ========== アレルゲンとしてのダニ、虫、動物、カビ（真菌） ========== */
/* 怪獣バブル */
.bubbe-wrap {
	overflow: hidden;
}
.bubbe-wrap .bubble-container {
	margin: 0 auto;
	position: relative;
	max-width: 1200px;
	padding: 0 14px 0 100px;
}
.bubbe-wrap .bubble-character {
	position: absolute;
	bottom: 0;
	left: -60px;
}
.bubbe-wrap .bubble-character img {
	width: 160px;
}
.bubbe-wrap .bubble-info {
	padding: 48px;
	max-width: 848px;
}
.bubbe-wrap .bubble-circle {
	bottom: calc(50% - 30px);
	left: -70px;
}
@media screen and (width < 768px) {
	.bubbe-wrap .bubble-container {
		padding-left: 50px;
	}
	.bubbe-wrap .bubble-character {
		left: -35px;
	}
	.bubbe-wrap .bubble-character img {
		width: 100px;
	}
	.bubbe-wrap .bubble-circle {
		bottom: calc(50% - 15px);
		left: -45px;
	}
	.bubbe-wrap .bubble-circle img {
		width: 50px;
	}
	.bubbe-wrap .bubble-info {
		padding: 24px;
		border: 4px solid #EA513A;
		border-radius: 40px;
	}
}
/* 表 */
.allergen-tableContainer {
	max-width: 1200px;
	margin: 0 auto;
	background-color: var(--bg-white);
	padding: 48px;
	border-radius: 40px;
	display: grid;
	gap: 24px;
}
.table-title {
	font-size: clamp(20px, calc(28 / 1000 * 100vw), 28px);
	line-height: 1.5;
	/* color: var(--text-gray); */
	font-weight: bold;
	text-align: center;
	position: relative;
	padding-bottom: clamp(10.7px, calc(15 / 1000 * 100vw), 15px);
	padding-right: clamp(25.7px, calc(36 / 1000 * 100vw), 36px);
	display: inline-block;
	justify-self: center;
}
.table-title::before {
	content: "";
	position: absolute;
	left: -2px;
	bottom: 0;
	width: calc(100% - clamp(25.7px, calc(36 / 1000 * 100vw), 36px));
	height: clamp(7.85px, calc(11 / 1000 * 100vw), 11px);
	background: url(../../common/img/underline_red.svg) no-repeat;
	background-size: cover;
}
.table-title::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: clamp(10.7px, calc(15 / 1000 * 100vw), 15px);
	width: clamp(17.1px, calc(24 / 1000 * 100vw), 24px);
	height: clamp(28.6px, calc(40 / 1000 * 100vw), 40px);
	background: url(../../common/img/icon_pen_red.svg) no-repeat;
	background-size: contain;
}
.table-body {
	background-color: #EA513A;
	padding: 4px;
	border-radius: 20px;
}
.allergen-title {
	color: #fff;
	font-size: clamp(16px, calc(24 / 1000 * 100vw), 24px);
	font-weight: 900;
	text-align: center;
}
.allergen-question {
	background-color: #FCEEEE;
	padding: 8px 16px;
	color: var(--text-red);
	font-size: clamp(14px, calc(18 / 1000 * 100vw), 18px);
	font-weight: 700;
}
.allergen-answer {
	background-color: var(--bg-white);
	padding: 8px 16px;
	font-size: clamp(12px, calc(16 / 1000 * 100vw), 16px);
	line-height: 1.8;
}
.allergen-answer li {
	padding-left: 1.5em;
	position: relative;
}
.allergen-answer li::before {
	content: "・";
	position: absolute;
	top: 0;
	left: 0;
}
.table-body section:last-child .allergen-answer:last-child{
	border-radius: 0 0 20px 20px;
}

.term-box {
	margin-right: 0;
	margin-left: 46px;
	background-color: var(--bg-white);
}
@media screen and (width < 768px) {
	.allergen-tableContainer {
		padding: 24px;
	}
	.allergen-title {
		font-size: 16px;
	}
	.allergen-answer {
		font-size: 12px;
	}
}
