/*
 * マンゴー・メロン：公開中の旧サイトと同じ幅・置き場所にする（site-mango・site-melon の config.php が読む）。
 * assets/css/legacy/nishiki-front-end.css の「.is-layout-constrained（とその子）は幅 90% まで」は、公開中のマンゴー・メロンの CSS（WP Rocket が使う分だけにしたもの）に無い。
 * このままだと、トップの最初の画面の見出し「濃厚な甘み。」などが狭くなって折り返す（2026-11-19 テストサイトと公開中の旧サイトを見比べて確かめた）。
 * 幅は WordPress の決まり（--wp--style--global--content-size・wide-size）に戻す。
 */
html:root body .is-layout-constrained:where(:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide)) {
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}
html:root body .is-layout-constrained > * {
	max-width: none;
}
html:root body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--wp--style--global--content-size);
}
html:root body .is-layout-constrained > .alignwide {
	max-width: var(--wp--style--global--wide-size);
}

/*
 * カバーの中身の置き場所：公開中の旧サイトの WordPress（6.7）は、カバーの中身（inner-container）を位置の基準にしていなかった（z-index だけ）。
 * 今の WordPress は position: relative にするので、中身の中で下に寄せて置いたもの（トップの「濃厚な甘み。」・右上のメロンの印など）が上にずれる。
 * 旧サイトと同じにする（カバーは横並びの箱なので、z-index は位置の指定が無くても効く）。
 */
html:root body .wp-block-cover > .wp-block-cover__inner-container {
	position: static;
	z-index: 1;
}
