/* select2の外枠に Bootstrap form-control 風スタイルを適用 */
.select2-container--default .select2-selection--single {
    height: 38px; /* Bootstrapのデフォルト */
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
}

/* 選択テキストの縦位置調整 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding-left: 0;
    padding-right: 0;
}

/* ドロップダウン矢印の位置調整 */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
    top: 1px;
}

/* 選択時のフォーカススタイルも合わせる */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Select2用：元のselectがrequiredなら見た目にも反映 */
select[required] + .select2-container .select2-selection--single {
    background-color: #fcf8e3;
}