body {
	padding: 50px;
	font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
	color: #00B7FF;
}

.font80px {
	font-size: 80px;
}

.font50px {
	font-size: 50px;
}

.font32px {
	font-size: 32px;
}

.font21px {
	font-size: 21px;
}

.font20px {
	font-size: 20px;
}

.font14px {
	font-size: 14px;
}

.font12px {
	font-size: 12px;
}

.font10px {
	font-size: 10px;
}

.font9px {
	font-size: 9px;
}

.font8px {
	font-size: 8px;
}

.gray {
	color: gray;
	vertical-align: middle;
}

.sort_icon {
	color: white;
	vertical-align: middle;
	font-size: 15px;
	background-color: #0d6efd;
	padding: 1px 2px;
	border-radius: 4px;
}

.sort_icon:hover {
	background-color: #0b5ed7;
}

.pdf_icon {
	color: #990000;
	vertical-align: middle;
	font-size: 80px;
}

#preview {
	overflow: hidden;
}

#preview img {
	width: 100px;
	float: left;
	margin: 10px;
	cursor: move;
}


.divider:after,
.divider:before {
	content: "";
	flex: 1;
	height: 1px;
	background: #eee;
}

img {
	font-weight: 300;
	cursor: pointer;
}

ul.pagination {
	margin-top: 10px;
}


/*　bootstrapからの変更　*/
input[type="text"]:not(:disabled),
input[type="number"]:not(:disabled),
input[type="email"]:not(:disabled),
input[type="date"]:not(:disabled),
input[type="password"]:not(:disabled),
textarea:not(:disabled),
select:not(:disabled) {
	background-color: #f6f6f6 !important;
}


.custom-checkbox .form-check-input {
	background-color: #ffffff;
	/* 初期状態の背景を白 */
	border: 1px solid #6c757d;
	/* 灰色のボーダー */
	width: 1rem;
	/* サイズ調整 */
	height: 1rem;
	/* サイズ調整 */
}

.custom-checkbox .form-check-input:checked {
	background-color: #000000;
	/* チェック状態の背景を黒 */
	border-color: #000000;
	/* ボーダーも黒 */
	color: #ffffff;
	/* チェックマークの色を白 */
}

.custom-checkbox .form-check-input:checked::before {
	display: inline-block;
	color: #ffffff;
	/* チェックマークの色を白 */
	text-align: center;
	line-height: 1rem;
}

.custom-checkbox .form-check-label {
	margin-left: 10px;
	/* チェックボックスとラベルの間隔 */
	color: #000000;
	/* ラベルの初期色 */
}

/* li にマウスが乗ったらドロップダウンを表示 */
.nav-item.dropdown:hover>.dropdown-menu {
	display: block;
}

/* 変な隙間が空くのを防ぐ用（必要に応じて） */
.nav-item.dropdown>.dropdown-menu {
	margin-top: 0;
}

.dropdown-header {
	font-size: 0.7rem;
	font-weight: 600;
	color: #333 !important;
}

.form-select-like {
	display: inline-block;
	width: 100%;
	position: relative;

	/* Bootstrap form-select と合わせる */
	background-color: #f6f6f6;
	/* Bootstrapのbg-light */
	border: var(--bs-border-width) solid var(--bs-border-color);
	color: var(--bs-body-color);
	padding: 0.375rem 2.25rem 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: var(--bs-border-radius);
}

/* フォーカス時の枠も select に合わせる */
.form-select-like:focus {
	border-color: var(--bs-primary);
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .25);
}

/* dropdown の矢印位置調整（お好みで） */
.form-select-like.dropdown-toggle::after {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
}

#instDropdownMenu.inst-dropdown-menu,
#variDropdownMenu.inst-dropdown-menu {
    width: auto !important;          /* Bootstrap の width/100% を上書き */
    min-width: max-content !important; /* 中身に合わせて広げる */
    max-width: 80vw;                 /* 画面外に出ない保険 */
}

/* 学部名のテキストを折り返さない */
#instDropdownMenu .form-check-label,
#variDropdownMenu .form-check-label {
    white-space: nowrap;
}

