https://www.smashingmagazine.com/2024/05/combining-css-has-html-select-conditional-styling/ <select>と:has()を組み合わせて、選択した値によってスタイルを変化させる方法について