/* ユニーク占い：画像の大きさをそろえる（2026-11-28） */

/* タイトルのバナー（img/xxx-title.jpg など）：横4：縦1の同じ枠に、画像全体が入るよう縮めて左寄せ */
img.img-responsive[src*="-title"],
img.img-responsive[src*="_title"] {
	display: block;
	width: 100%;
	max-width: 400px;
	height: auto;
	aspect-ratio: 4 / 1;
	object-fit: contain;
	object-position: left center;
}

/* 結果の文のコピーボタン（2026-11-28） */
.u-copy { margin: -10px 0 16px; }
textarea + .u-copy { display: block; margin-top: 6px; }
.u-copy.u-copied, .u-copy.u-copied:hover, .u-copy.u-copied:focus { background: #dff0d8; border-color: #b2d8a3; color: #3c763d; }

/* 結果の画像（img/xxx.php で作る画像）：幅480×高さ360（4:3）の同じ枠に、画像全体が入るよう縮めて真ん中に置く */
img.u-result {
	display: block;
	width: 100%;
	max-width: 480px;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	background: #f2f2f2;
	border: 1px solid #e2e2e2;
	border-radius: 6px;
	margin: 0 auto;
}
