/* ライブカメラ(Panomax) 2026-11-19 covs追加。scssのビルド対象外の単独ファイル(functions/panomax.php で読み込む) */

/* トップページ: Panomax を1つ、横いっぱいに出す */
.p-index-live-camera__list.-panomax {
	grid-template-columns: 1fr;
}

/* ライブカメラページ: Panomax の行は2列の枠を使わず横いっぱい */
.p-live-camera .c-column.-col2 .c-column__item.-panomax {
	width: 100%;
}

/*
 * 埋め込み枠の大きさ(2026-11-20 調整)
 * Panomax の埋め込みコードの既定(横いっぱい・高さ650px)に合わせ、
 * パソコンは 16:9 で高さ650pxまで(横1156px以上で650px)。
 * スマホは操作ボタンで埋まらないよう縦長(5:6)。
 * テーマ側の .c-embed の padding-top(16:9の枠)は使わない。
 */
.p-index-live-camera .c-embed.-panomax,
.p-live-camera .c-embed.-panomax,
.c-embed.-panomax {
	padding-top: 0;
	aspect-ratio: 16 / 9;
	max-height: 650px;
	height: auto;
}
@media screen and (max-width: 767px) {
	.p-index-live-camera .c-embed.-panomax,
	.p-live-camera .c-embed.-panomax,
	.c-embed.-panomax {
		aspect-ratio: 5 / 6;
		max-height: none;
	}
}
.c-embed.-panomax iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
