.image-block {
	margin-bottom: 20px;
}

.trainer-card--inline {
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
	max-width: 720px;
	margin: 0 auto 20px;
	font-family: "Yusei Magic", sans-serif; /* フォント変更 */
	flex-wrap: wrap;
}

.trainer-card__image {
	flex: 0 0 45%;
}

.trainer-card__image img {
	width: 100%;
	border-radius: 16px; /* 角丸を強めに */
	object-fit: cover;
}

.trainer-card__comment-bubble {
	flex: 1;
	position: relative;
}

.trainer-card__comment {
	background: #eef3f7; /* ここを変更 */
	border: 1px solid #a7b8c7;
	border-radius: 20px; /* 角丸強化 */
	padding: 18px 26px 54px 22px; /* 少しだけ余白広く */
	font-size: 16px;
	line-height: 1.75;
	color: #333;
	position: relative;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* 優しい影追加 */
}

.trainer-card__comment::before {
	content: "";
	position: absolute;
	left: -26px; /* 吹き出しの左側の位置 */
	top: 24px; /* 吹き出しの上の位置 */
	width: 0;
	height: 0;
	border-top: 12px solid transparent; /* 上の透明な部分 */
	border-bottom: 12px solid transparent; /* 下の透明な部分 */
	border-left: 12px solid transparent; /* 左の透明な部分 */
	border-right: 14px solid #a7b8c7; /* 右部分に色をつける */
}

.trainer-card__comment::after {
	content: "";
	position: absolute;
	left: -24px; /* 微調整して吹き出しの中央に配置 */
	top: 24px; /* 吹き出しの上の位置 */
	width: 0;
	height: 0;
	border-top: 12px solid transparent; /* 上の透明な部分 */
	border-bottom: 12px solid transparent; /* 下の透明な部分 */
	border-left: 12px solid transparent; /* 左の透明な部分 */
	border-right: 14px solid #eef3f7; /* 右部分に色をつける */
}

.trainer-card__face {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	object-fit: cover;
	position: absolute;
	bottom: 8px;
	right: 8px;
	margin: 0 !important;
	transform: translateY(0.2em);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	border: 2px solid white; /* 縁取りを追加 */
	background: #fff;
}

@media (max-width: 600px) {
	.trainer-card--inline {
		flex-direction: column;
		padding: 0;
		gap: 10px;
	}

	.trainer-card__image {
		flex: 0 0 80%;
		margin: 0 auto;
	}

	.trainer-card__comment::before {
		content: "";
		position: absolute;
		left: 50%; /* 吹き出しの中央に配置 */
		top: -13px; /* 吹き出しの上の位置 */
		width: 0;
		height: 0;
		border-top: 0; /* 上部分は透明に */
		border-left: 12px solid transparent; /* 左側の透明部分 */
		border-right: 12px solid transparent; /* 右側の透明部分 */
		border-bottom: 14px solid #a7b8c7; /* 下部分に色をつける */
		transform: translateX(-50%); /* 吹き出しを中央に調整 */
	}

	.trainer-card__comment::after {
		content: "";
		position: absolute;
		left: 50%; /* 吹き出しの中央に配置 */
		top: -11px; /* 吹き出しの上の位置を調整 */
		width: 0;
		height: 0;
		border-top: 0; /* 上部分は透明に */
		border-left: 12px solid transparent; /* 左側の透明部分 */
		border-right: 12px solid transparent; /* 右側の透明部分 */
		border-bottom: 14px solid #eef3f7; /* 下部分に色をつける */
		transform: translateX(-50%); /* 吹き出しを中央に調整 */
	}
	.trainer-card__face {
		bottom: 10px;
		right: 10px;
	}
}

/* ポラロイドのカードスタイル */
.polaroid-note {
	background: #fff;
	padding: 12px 12px 70px;
	border: 1px solid #ccc;
	box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
	width: 300px;
	margin: 2rem auto;
	position: relative;
	font-family: "Yusei Magic", sans-serif;
	border-radius: 3px;
	transition: transform 0.2s ease;
}

#p-blog section .polaroid-note img {
	width: 100%;
	margin: 0 auto 1.5em;
	border-radius: 3px;
}

.polaroid-note figcaption {
	position: absolute;
	bottom: 18px;
	left: 16px;
	right: 16px;
	font-size: 15px;
	color: #444;
	font-family: "Yusei Magic", sans-serif;
	opacity: 0.9;
}

/* ランダム角度クラス例 */
.tilt-1 {
	transform: rotate(-2.5deg);
}
.tilt-2 {
	transform: rotate(1.8deg);
}
.tilt-3 {
	transform: rotate(-1deg);
}
