body {
	font-family: ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,ＭＳ\ Ｐゴシック,sans-serif;
	line-height: 1.8;
	color:#282828;
	font-size: 16px;
}

.pc { /* レスポンシブ用。PC表示時はPC用を表示 */
	display: block !important;
}
.sp { /* レスポンシブ用。PC表示時はスマホ用を非表示 */
	display: none !important;
}

header,
main {
	width: 95%;
	margin: 0 auto;
}

h1 {
	font-size: 28px;
	color: #055a0c;
	border-bottom: 3px solid #055a0c;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

p {
	margin: 0;
	padding: 0;
	font-style: normal;
	font-weight: normal;
	zoom:1;
}


.description-wrapper {
    display: flex;
    width: 1970px;
}
.description {
	font-size: 16px;
	margin-bottom: 1em;
    width: 750px;
}
.annotation-wrapper {
    font-size: 13px;
    /*color: #f00;*/
}
.annotation {
    text-indent: -1.5em;
    margin-left: 1.5em;
    line-height: 1.4;
}

#content {
	display: flex;
	width: 1970px;
}

#search_menu_wrapper {
	position: relative;
	width: 360px;
	margin-right: 10px;
}
#search_menu {
	position: sticky;
	top: 5px;
	left: 0;
}
#search_menu .scroll_panel {
	height: 95vh;
	overflow-y: auto;
	scrollbar-gutter: stable;
}

#course_selection_area {
	margin-bottom: 15px;
	margin-top: 1em;
}
#course_selection {
	width: 220px;
	font-size: 15px;
	margin-left: 1.5em;
	margin-top: 15px;
}

#fields_selection_area,
#grades_selection_area {
	margin-top: 2em
}
#subject_list_area {
	padding-right: 10px;
	flex: 1;
}
.rect_number {
	position: relative;
	display: inline-block;
	width: 25px;
}
.rect_number:before {
	position: absolute;
	display: block;
	content: '';
	width: 18px;
	height: 18px;
	border: 1px solid #000;
	top: -17px;
}
.rect_number:after {
	position: absolute;
	display: block;
	content: '０';
	width: 18px;
	height: 18px;
	top: -19px;
	left: 3px;
	font-size: 14px;
}
.rect_number.rect_number_1:after {
	content: '１';
}
.rect_number.rect_number_2:after {
	content: '２';
}
.rect_number.rect_number_3:after {
	content: '３';
}


#subject-list-view {
	/*height: 95vh;*//* 間延びの原因箇所 */
	width: 100%;
	font-size: 12px;
}
#subject-list-view th,
#subject-list-view td {
	text-align: center;
}
#subject-list-view th {
}
#subject-list-view td {
	height: 19px;
	line-height: 1.6;
}
#subject-list-view th.col_th_field_val {
	text-align: left;
	vertical-align: top;
}
#subject-list-view td.text-left {
	text-align: left;
}

.col_th_credits {
	width: 20px;
}
.col_th_term {
	width: 40px;
}
.col_th_grade_a,
.col_th_grade_b {
	width: 40px;
}
.col_th_lesson_unit,
.col_th_type {
	width: 25px;
}

.col_th_field_val {
	width: 30px;
}
.col_th_subject_code {
	width: 100px;
}
.col_th_fields {
	width: 300px;
}
.col_th_name {
	width: 250px;
}
.col_th_remarks {
	width: 200px;
}

th {
	background-color: #f5f5f5;
}
.col_td_field_AB {
	background-color: #fce4d6;
}
.col_td_field_CD {
	background-color: #e2efda;
}
.col_td_field_EG {
	background-color: #d9e1f2;
}
.col_td_field_FL {
	background-color: #b4c6e7;
}
.col_td_field_H {
	background-color: #fff2cc;
}
.col_th_field_none {
	background-color: #808080;
}

.mark {
	background-color: #fce4d6;
}
.search_selected {
	background-color: #f597a5;
}


table.dataTable > thead > tr > th,
table.dataTable > tbody > tr > td {
	border: 1px solid rgba(0, 0, 0, 0.3)
}

#subject-list-view th.col_fixed_tl1 {
	position: sticky;
	top: 0;
	left: 0;
	z-index: 3;
}
#subject-list-view th.col_fixed_tl2 {
	position: sticky;
	top: 0;
	left: 117px;
	z-index: 3;
}
#subject-list-view th.col_fixed_tl3 {
	position: sticky;
	top: 0;
	left: 407px;
	z-index: 3;
}
#subject-list-view thead {
	position: sticky;
	top: 0;
	z-index: 2;
}
#subject-list-view td:nth-child(1) {
	position: sticky;
	left: 0;
	z-index: 1;
}
#subject-list-view td:nth-child(2) {
	position: sticky;
	left: 117px;
	z-index: 1;
}
#subject-list-view td:nth-child(3) {
	position: sticky;
	left: 407px;
	z-index: 1;
	/*background-color: #fff;*/
}

/* -- start ソートの矢印の色設定 -- */
.row_sort th {
	color: #1f3c9c;
}

table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting:after,
table.dataTable thead>tr>th.sorting_asc:after,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_asc_disabled:after,
table.dataTable thead>tr>th.sorting_desc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:after {
	opacity: .4;
	font-size: 1.2em;
	padding: 3px 6px;
	background-color: #99add6;
	border-radius: 4px;
	right: calc(50%);
	transform: translateX(50%);
	-webkit-transform: translateX(50%);
	-ms-transform: translateX(50%);
}
table.dataTable thead>tr>th.sorting:hover:before,
table.dataTable thead>tr>th.sorting:hover:after,
table.dataTable thead>tr>th.sorting_asc:hover:after,
table.dataTable thead>tr>th.sorting_desc:hover:before,
table.dataTable thead>tr>th.sorting_asc_disabled:hover:before,
table.dataTable thead>tr>th.sorting_asc_disabled:hover:after,
table.dataTable thead>tr>th.sorting_desc_disabled:hover:before,
table.dataTable thead>tr>th.sorting_desc_disabled:hover:after {
	opacity: .6;
}
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:after {
	opacity: .9;
}
table.dataTable thead>tr>th.sorting:before,
table.dataTable thead>tr>th.sorting_asc:before,
table.dataTable thead>tr>th.sorting_desc:before,
table.dataTable thead>tr>th.sorting_asc_disabled:before,
table.dataTable thead>tr>th.sorting_desc_disabled:before {
	margin-bottom: 2px;
}
/* -- end ソートの矢印の色設定 -- */


/* 検索メニュー（左側）------- */
.search_title {
	font-weight: bold;
}
.search_conditions {
	font-size: 14px;
	margin-bottom: 1em;
	margin-left: 1.5em;
	margin-top: 10px;
}


/* ヘルプ */
.tooltip {
	display: inline-block;
	margin-left: 1em;
	vertical-align: middle;
}
.tooltip_mark {
	display: block;
	width: 20px;
	height: 20px;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.6;
	text-align: center;
	color: #fff;
	border: 2px solid #5B9BD5;
	cursor: default;
	border-radius: 15px;
    background-color: #5B9BD5;
}
.tooltip_content_wrapper {
	position: relative;
}
.tooltip_content {
	display: none;
	position: absolute;
	top: 10px;
	left: -170px; /*-146px; */
	width: 280px;
	font-size: 12px;
	padding: 0.5em;
	border: 1px solid #5B9BD5;
	background-color: #eaf2f9;
	border-radius: 10px;
	z-index: 20;
}
.tooltip_content:before {
	content: "";
	position: absolute;
	top: -24px;
	left: 50%;
	border: 12px solid transparent;
	border-bottom: 12px solid #5B9BD5;
}
.tooltip_content:after {
	content: "";
	position: absolute;
	top: -23px;
	left: 50%;
	border: 12px solid transparent;
	border-bottom: 12px solid #eaf2f9;
}

#tooltip1:hover .tooltip_content {
	display: block;
    left: -199px
}
#tooltip2:hover .tooltip_content {
	display: block;
	left: -263px;
}
#tooltip1:hover .tooltip_content:before,
#tooltip1:hover .tooltip_content:after {
	left: 67%;
}
#tooltip2:hover .tooltip_content:before,
#tooltip2:hover .tooltip_content:after {
	left: 88%;
}
#tooltip3:hover .tooltip_content {
	display: block;
	left: -103px;
}
#tooltip3:hover .tooltip_content:before,
#tooltip3:hover .tooltip_content:after {
	left: 35%;
}
.tooltip:hover .gg-info {
	background-color: #eaf2f9;
}


@media screen and (max-width: 767px) {
	/* スマホ用レスポンシブ設定 */
	.sp {
		display: block !important;
	}
	.pc {
		display: none !important;
	}

	h1 {
		font-size: 24px; /* 28px */
		line-height: 1.2;
	}

	#content {
		display: block;
	}

	#search_menu_wrapper {
		width: 100vw;
	}
	#search_menu {
		position: relative;
	}
	#search_menu .scroll_panel {
		height: auto;
		margin-bottom: 2em;
	}
	.search_conditions {
		display: none;
	}

	.filtering_message {
		display: inline-block;
		padding: 5px 0 10px 0;
		color: #00f;
	}


	#tooltip1:hover .tooltip_content {
		left: -199px;
	}
	#tooltip1:hover .tooltip_content:before,
	#tooltip1:hover .tooltip_content:after {
		left: 67%;
	}
	#tooltip2:hover .tooltip_content {
		left: -263px;
	}
	#tooltip2:hover .tooltip_content:before,
	#tooltip2:hover .tooltip_content:after {
		left: 88%;
	}
	#tooltip3:hover {
		height: 160px;
	}
	#tooltip3:hover .tooltip_content {
		left: -103px;
	}
	#tooltip3:hover .tooltip_content:before,
	#tooltip3:hover .tooltip_content:after {
		left: 35%;
	}
}


.arrow-up.icon {
	color: #000;
	position: absolute;
	margin-left: 10px;
	margin-top: 3px;
}

.arrow-up.icon:before {
	content: '';
	position: absolute;
	left: -5px;
	top: 1px;
	width: 10px;
	height: 10px;
	border-top: solid 1px currentColor;
	border-right: solid 1px currentColor;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.arrow-down.icon {
	color: #000;
	position: absolute;
	margin-left: 10px;
	margin-top: 2px;
}

.arrow-down.icon:before {
	content: '';
	position: absolute;
	left: -5px;
	top: 3px;
	width: 10px;
	height: 10px;
	border-top: solid 1px currentColor;
	border-right: solid 1px currentColor;
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}


.gg-info {
	box-sizing: border-box;
	position: relative;
	display: block;
	transform: scale(var(--ggs,1));
	width: 20px;
	height: 20px;
	border: 2px solid #5B9BD5;
	border-radius: 40px
}
.gg-info::after,
.gg-info::before {
	content: "";
	display: block;
	box-sizing: border-box;
	position: absolute;
	border-radius: 3px;
	width: 2px;
	background: #5B9BD5;
	left: 7px
}
.gg-info::after {
	bottom: 2px;
	height: 8px
}
.gg-info::before {
	height: 2px;
	top: 2px
}

.icon-info1 img,
.icon-info2 img {
	width: 20px;
	height: 20px;
}
