@charset "UTF-8";

/* Sass でできるカスタマイズは Sass でやること！ */

body {background: #EAECEE;}
.page-title {display: flex; justify-content: space-between; align-items: center; padding: 0.5rem; background: #FFF; margin-bottom: 0.5rem;}
.page-title h1 {margin-bottom: 0; padding: 0.25rem;}
.page-title h1 i {color: var(--bs-primary);}
.section {padding: 0.5rem; background: #FFF; margin-bottom: 0.5rem;}
.section *:last-child {margin-bottom: 0 !important;}
.section-title {display: flex; justify-content: space-between; align-items: center; background: #FFF; margin: 0 -0.25rem 0.5rem; padding: 0 0.25rem 0.25rem; border-bottom: 1px solid #F2EEEE;}
.section-title h2 {margin-bottom: 0; padding: 0.25rem;}

/**
 * BootStrap コントラスト調整
 */
.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:active {color: #FFF;}
.btn-warning,
.btn-warning:hover,
.btn-warning:active,
.btn-outline-warning:hover,
.btn-outline-warning:active {color: #FFF;}
.badge.bg-light {color: var(--bs-dark);}

.btn {white-space: nowrap;}

/**
 * 独自汎用クラス
 */
.container-tight {width: min(560px, 100%); margin: auto;}

.form-readonly {width: 100%; min-height: 30px; padding: 0.2rem 0.4rem; font-size: 1rem; line-height: 1.5; border-bottom: 1px solid #DDD;}
.form-readonly-ellipsis {width: 100%; min-height: 30px; padding: 0.2rem 0.4rem; font-size: 1rem; line-height: 1.5; border-bottom: 1px solid #DDD; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}

.table-layout-fixed {table-layout: fixed;}
.input-group-multiple + span .selection .select2-selection {border-radius: 0 4px 4px 0 !important;}

.flex-1 {flex-grow: 1 !important;}
.flex-2 {flex-grow: 2 !important;}
.flex-3 {flex-grow: 3 !important;}

.word-break-all {word-break: break-all;}

.max-width-full {max-width: 100%; height: auto;}

/**
 * ページ専用パーツ
 */
.status-bar {width: 100%; overflow-x: scroll;}
.status-bar ul {display: flex; justify-content: flex-start; padding: 0; list-style-type: none; border: 1px solid var(--bs-primary); background: #FFF;}
.status-bar li {position: relative; margin-right: -1rem; padding: 0.5rem 1rem 0.5rem 2.5rem; color: var(--bs-primary); background: #FFF; white-space: nowrap;}
.status-bar li::before {content: ""; position: absolute; left: 0; top: 0; width: 1.5rem; height: 100%; border-right: 1px solid var(--bs-primary); border-radius: 0 1.5rem 1.5rem 0; background: #FFF;}
.status-bar li:first-child {padding-left: 1rem;}
.status-bar li:first-child::before {display: none;}
.status-bar li.active {background: var(--bs-primary); color: #FFF;}
.status-bar li.active + li::before {background: var(--bs-primary);}
