:root {
  --font-size14: 14px;
  --font-size16: 16px;
  --overflow_body: hidden;
  --rigth_hot_table_wrapper: 0;
  --bottom_hot_table_wrapper:0;
  --overflow_hot_table_wrapper:auto;
  --margin-left-hot_table_div: unset;
  --ht_margin-left: unset;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden
}

ul {
  list-style-type: none;
}

a:visited {
  color: blue;
}

.hidden {
  display: none;
}

.spacer {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 50px;
}

#gg_container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#gg_nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#gg_content {
  margin: 0;
  padding: 0;
  flex: 1;
}


#menu_icon_div {
  width: 36px;
  height: 36px;
  margin: 14px;
  text-align: center;
  color: #5f6368;
  cursor: pointer;
  border-radius: 26px;
  padding: 6px;
}

#menu_icon {
  font-size: 24px;
  color: #5f6368;
  cursor: pointer;
  border-radius: 26px;
}

#menu_icon_div:hover{
  background-color: #E8EAED;
}


.gg_logo {
  width: 56px;
  height: 56px;
}

.nav_filter_div label{
  margin-left: 10px;
}

#gg_nav .custom-dropdown {
  margin: 5px 0 5px 10px;
  min-width: 240px;
  width: 240px;
  height: 36px;
  background: #E8F0FE 0% 0% no-repeat padding-box;
  border-radius: 8px;
  border: none;
  font: normal normal normal 14px / 20px Noto Sans JP;
  /* font-size: var(--font-size14); */
  line-height: 36px;
  color: #3C4043;
}
#gg_years.custom-dropdown{
  min-width: 190px;
  width: 190px;
}

#gg_schools_label_div,
#gg_years_label_div {
  display: flex;
  align-items: center;
}

#gg_schools_label,
#gg_years_label {
  justify-content: start;
  font: normal normal bold 14px/20px Noto Sans JP;
  font-size: var(--font-size14);
  letter-spacing: 0px;
  color: #3C4043;
  margin-left: 20px;
}

#gg_schools,#gg_years {
  -webkit-appearance: none; /* Safari 和 Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none;
}


#gg_root {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  font: normal normal normal 14px/14px Noto Sans JP;
  border-bottom: 1px solid #ccc;
  letter-spacing: 0px;
  color: #747775;
  display: flex;
  align-items: center;
}


#gg_menu {
  position: absolute;
  width: 280px;
  min-height: calc(100vh - 64px);
  height: calc(100vh - 64px);
  display: inline-block;
  margin: 0;
  vertical-align: top;
  user-select: none;
  /* border-right: 1px solid #cccccc; */
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 1001;
  background: #FFFFFF;
}

.pad-mode#gg_menu {
  width: 64px;
  border: none;
}

.pad-mode#gg_main {
  width: calc(100% - 64px);
  margin-left: 64px;
}

.pad-mode #gg_functions {
  padding-left: 0;
  width: 64px;
  text-align: center;
}
.pad-mode #gg_functions_ul {
  display: none;
}
#pad_gg_functions_ul {
  display: none;
}

.pad-mode #pad_gg_functions_ul {
  display: inline-block;
  padding: 0;
  margin: 0;
}
.pad-mode #pad_gg_functions_ul li {
  padding-top: 12px;
}
.pad-mode #pad_gg_functions_ul .folder-icon.for-pad {
  vertical-align: middle;
}
.pad-mode .hot_table_wrapper {
  left: 64px;
}
.pad-mode .sheet-list {
  left: 64px;
}


#gg_functions {
  width: 258px;
  margin: 30px 0 40px 0;
  padding-left: 20px;
}


#page_setting{
  position: absolute;
  top: 12px;
  right: 20px;
  display: flex;
}

#page_setting,
#font-size-select,
#fixed-columns-left {
  font: normal normal normal 14px/20px Noto Sans JP;
  font-size: var(--font-size14);
}
#font-size-select_label,
#fixed-columns-left_label {
  display: inline-block;
  width: 92px;
}


#gg_main {
  width: calc( 100% - 280px );
  min-height: 100%;
  display: inline-block;
  margin: 0;
  padding: 0;
  vertical-align: top;
  padding-left: 8px;
  margin-left: 280px;
}

#page_name {
  margin-right: 30px;
  font:normal normal bold 21px/14px Noto Sans JP;
}

#page_explanation {
  font:normal normal normal 16px/14px Noto Sans JP;
  font-size: var(--font-size16);
}

#error_message {
  color: red;
}

#gg_header {
  display: flex;
  flex-direction: column;
}

#page_info {
  font-weight: bold;
  display: none;
  line-height: 36px;
}

#gg_header_link_btns {
  border-bottom: 1px solid #cccccc;
  justify-content: start;
  display: none;
  /* height: 40px; */
  flex-wrap: wrap;
}

#gg_header_page_uis {
  justify-content: start;
  display: none;
  margin-top: 16px;
  flex-wrap: wrap;
  row-gap: 6px;
}

[id^='separator_'] {
  border-bottom: 1px dotted #cccccc;
  display: none;
}

[id^='block_1'],
[id^='block_2'],
[id^='block_3'],
[id^='block_4'],
[id^='block_5'],
[id^='block_6'],
[id^='block_7'],
[id^='block_8'],
[id^='block_9'] {
  margin-bottom: 0;
}

[id^='block_title_'] {
  font-weight: bold;
  display: none;
  font: normal normal normal 14px/20px Noto Sans JP;
  font-size: var(--font-size14);
  color: #444746;
}

[id^='controllers_wrapper_'] {
  display: flex;
  position: relative;
  /* min-height: 60px; 设置最小高度避免布局跳动 */
}

[id^='table_row_controllers_'],
[id^='table_filters_'],
[id^='table_btns_'] {
  justify-content: start;
  display: none;
  padding-top: 16px;
  flex-wrap: wrap; /* 初始不换行 */
  row-gap: 6px;
  overflow-x: auto; /* 允许水平滚动 */
  overflow-y: hidden;
}

[id^='table_row_controllers_'] {
  width: 100%;
  z-index: 200;
  position: absolute;
  background: #e8f0fe;
  padding: 6px 8px 8px 8px;
  margin-top: 2px;
}

#link_btns_info {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

#link_btn_1{
  margin-left: 0;
  padding-left: 0;
}

[id^='link_btn_']{
  border: none;
  display: none;
  font: normal normal normal 16px / 48px Noto Sans JP;
  font-size: var(--font-size16);
  color: #3C4043;
  background: #FFFFFF;
  border-bottom: 4px solid rgba(0, 0, 0, 0);
  margin: 0 40px 0 0;
  height: 44px;
  /* margin-top: -4px; */
  white-space: nowrap;
  padding: 0;
}

[id^='link_btn_'].selected-tab{
  color:#1A73E8;
  border-bottom: 4px solid #1A73E8;
  /* border-bottom-left-radius: 4px; */
  /* border-bottom-right-radius: 4px; */
}

[id^='link_btn_']:hover {
  cursor: pointer;
}

.col-header-tooltip {
  position: absolute;
  box-shadow: 0px 5px 18px #0000004D;
  border-radius: 8px;
  padding: 8px;
  z-index: 1000;
  background: #FFFFFF;
  max-width: 350px;
  word-wrap: break-word;
  white-space: normal;
}

.tooltip_for_link_btn {
  display: none;
  position: absolute;
  box-shadow: 0px 5px 18px #0000004D;
  border-radius: 8px;
  padding: 8px;
  white-space: nowrap;
  z-index: 1000;
  display: none;
  background: #FFFFFF;
}


[id^='page_filter_label_'],
[id^='table_filter_label_'],
[id^='page_custom_label'] {
    display: none;
    height: 36px;
    line-height: 36px;
    color: #3C4043;
    font-weight: bold;
    font-size: var(--font-size16);
    white-space: nowrap;
}
[id^='table_filter_label_']{
     height: 36px;
    line-height: 36px;
    font-weight: normal;
    font-size: var(--font-size16);
}

[id^='page_filter_'],
[id^='table_filter_'] {
  display: none;
}
.page_filter_container,
.table_filter_container{
  position: relative;
  display: none;
  height: 36px;
  margin-left: 5px;
  margin-right: 15px;
}
select[id^='page_filter_'],
select[id^='table_filter_'],
.ms-parent .ms-choice{
  border: 1px solid #ccc;
  border-radius: 8px;
  padding-left: 8px;
  color: #3C4043;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  width: auto;
  min-width: 80px;
  height: 36px;
  line-height: 36px;
  font-size: var(--font-size16);
}

/* multiple select */
.ms-option-indent{
  padding-left: 20px !important;
}

.ms-parent{
  border: none;
}
.ms-parent .ms-choice{
  width: 100%;
}

.ms-choice .icon-caret{
  display: none;
}


.page_filter_container::after,
.table_filter_container::after,
.selected-option::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  /* background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAdxJREFUeF7tmTEOgkAUBZeLWlh5C/EWVhZeFENBYzAq6s77cWxMTMzgDA8SHJov1MCA0oU3A8AngQEMABuA8S7AALABGO8CDAAbgPEuwACwARjvAgwAG4DxLsAAsAEY7wIMABuA8S7AALABGO8CDAAbgPEuwACwARjvAgwAG4DxLsAAsAEY7wIMABuA8S7AALABGO8CDAAbgPEuwACwARjvAgwAG4DxLsAAsAEY7wIMABuA8S7AALABGO8CDAAbgPEuwACwARjvAgwAG4DxLsAAsAEY7wL+LcBufxiHoR3h372Kn6Z2ul7OY89jQxaQGIGQP4dGAszgpAjT1Mbr5XzqeeYvLCxASgRSPrqA5Qwgl0DLjwhALSFBfkyA3hGoG+7aPQa9B9wfUI/LUZL8qAX0uCekyY8M8KvLUaL82ADfjpAqPzrAtyIky48P8GmEdPklAmyNUEF+mQDvRqgiv1SAVyNUkl8uwLMI1eSXDPAoQkX5ZQPcR6gqv3SAJcL83vtvxLWHals/i3oYt/VHVP6eAeB6BjAAbADGuwADwAZgvAswAGwAxrsAA8AGYLwLMABsAMa7AAPABmC8CzAAbADGuwADwAZgvAswAGwAxrsAA8AGYLwLMABsAMa7AAPABmC8CzAAbADGuwADwAZgvAswAGwAxrsAA8AGYLwLMABsAMa7AAPABmC8CzAAbADGuwADwAZgvAswAGwAxrsAA8AGYLwLMABsAMbfAF/7iWF7OA11AAAAAElFTkSuQmCC'); */
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAqNJREFUeF7tmdFtFEEQRGdBzsOBgLS2CAQyIROLPCyxH87DF4jRogWdfJbPNnVcTfXAu+++7tn3pmal2anxixKYotMZ3hAQ3gQIQECYQHg8CUBAmEB4PAlAQJhAeDwJQECYQHg8CUBAmEB4PAlAQJhAeDwJQECYQHg8CUBAmEB4PAlAQJhAeDwJQECYQHg8CUBAmEB4PAlAQJhAeDwJQECYQHg8CUBAmEB4PAlAQJhAeDwJQECYQHg8CUBAmEB4PAlAQJhAeDwJQECYQHg8CUBAmEB4PAlAQJhAeDwJ+B8FzPN8uSzLLvzsJcZ3T8CH+dO8tvVmatO3u+X2awUKB2v6crfcLj3X1FXA9qCtrd+3B1xb21WQcGRNXSV0E7AdOw/t/f3h7kpLOIS/X9e2pov246rXEdlNwPaAH+frz2ubbipIOAb/97qmq57HUFcBVSRUgf9Ld88Xzn5WMgmV4McEpJJQDX5UQG8JFeHHBfSSUBV+CQFuCZXhlxHgklAdfikB55YwAvxyAs4lYRT4JQX8rYSR4JcVcKqE0eCXFqBKGBF+eQF/KmFU+EMIeEtCa23Zf2N4eq/V91bz1Du1yGXcKYt9+QKvXT7vNwb8YRLw2i3qyPCHE/DScfQoYZydv1/zMEfQ4U4/dhz1/pJ1yjF67D9DCniehPF2/tAJePpOeLfr+Q33XDv/nxBwbhiJfsMeQQlYjpkIcFAVeiJAgOUoRYCDqtATAQIsRykCHFSFnggQYDlKEeCgKvREgADLUYoAB1WhJwIEWI5SBDioCj0RIMBylCLAQVXoiQABlqMUAQ6qQk8ECLAcpQhwUBV6IkCA5ShFgIOq0BMBAixHKQIcVIWeCBBgOUoR4KAq9ESAAMtRigAHVaEnAgRYjlIEOKgKPREgwHKUIsBBVeiJAAGWoxQBDqpCTwQIsBylCHBQFXoiQIDlKEWAg6rQ8yfI2ihwc2L9MQAAAABJRU5ErkJggg==');
  background-size: cover;
  pointer-events: none;
}
.table_filter_container::after{
  transform: translateY(-44%);
}

/* tooltip----------------------------- */

[id^='page_custom_btn_'],
[id^='page_docview_btn'],
[id^='save_btn_'],
[id^='reset_btn_'],
[id^='check_all_btn_'],
[id^='add_rows_btn_'],
[id^='custom_btn_'],
[id^='copy_btn_'],
[id^='docview_btn_'],
[id^='add_one_row_modal_btn_'],
[id^='add_rows_muti_btn_'],
[id^='add_rows_modal_btn_'],
[id^='row_delete_btn_'],
[id^='row_custom_btn_'] {
  margin-right: 10px;
  padding: 8px 16px;
  cursor: pointer;
  display: none;
  white-space: nowrap;
  height: 36px;
  background: #E8F0FE 0% 0% no-repeat padding-box;
  border: 1px solid #E8F0FE;
  border-radius: 26px;
  font: normal normal normal 14px / 14px Noto Sans JP;
  font-size: var(--font-size14);
  color: #1A73E8;
  letter-spacing: 0.1rem;
}

[id^='save_btn_']:disabled,
[id^='save_btn_']:disabled:hover,
[id^='reset_btn_']:disabled,
[id^='reset_btn_']:disabled:hover,
[id^='custom_btn_']:disabled,
[id^='custom_btn_']:disabled:hover{
  background-color: #EFEFEF !important;
  color: #999999 !important;
  cursor: not-allowed !important;
  font-weight: normal !important;
}



[id^='page_custom_btn_'],
[id^='page_docview_btn']{
  margin-bottom: 0;
  border: 1px solid #E8F0FE;
  font: normal normal normal 14px/14px Noto Sans JP;
  font-size: var(--font-size14);
  color: #1A73E8;
  background-color: #E8F0FE 0% 0% no-repeat padding-box;
}

[id^='page_custom_btn_']:hover,
[id^='page_docview_btn']:hover,
[id^='save_btn_']:hover,
[id^='reset_btn_']:hover,
[id^='check_all_btn_']:hover,
[id^='add_rows_btn_']:hover,
[id^='add_one_row_modal_btn_']:hover,
[id^='add_rows_modal_btn_']:hover,
[id^='row_delete_btn_']:hover,
[id^='row_custom_btn_']:hover,
[id^='custom_btn_']:hover,
[id^='copy_btn_']:hover,
[id^='docview_btn_']:hover,
[id^='page_custom_btn_']:hover,
[id^='page_docview_btn']:hover{
  background-color: #D8DFEC;
}
.display_type_final {
  color: #FFF;
  background-color: #1A73E8;
  border-color: #FFFFFF;
  font-weight: bold;
}
.display_type_final:hover{
  background-color: #2656C9;
}

.display_order_1{
  order: 1;
}
.display_order_2{
  order: 2;
}
.display_order_3{
  order: 3;
}
.display_order_4{
  order: 4;
}
.display_order_5{
  order: 5;
}
.display_order_6{
  order: 6;
}
.display_order_7{
  order: 7;
}
.display_order_8{
  order: 8;
}
.display_order_9{
  order: 9;
}
.display_order_10{
  order: 10;
}


[id^='add_rows_label_'],
[id^='custom_label_'] {
    display: none;
    height: 36px;
    line-height: 36px;
    white-space: nowrap;
}

[id^='page_custom_input_'],
[id^='page_custom_number_'],
[id^='add_rows_cnt_'],
[id^='custom_input_']  {
    display: none;
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-right: 2px;
    padding-left: 8px;
}
[id^='page_custom_input_']{
  /* height: 48px; */
}
[id^='page_custom_number_'] {
  width: 80px;
  padding-left: 12px;
}
[id^='add_rows_cnt_']{
  width: 50px;
  text-align: center;
}

[id^='table_'] {
  display: none;
}

#loading_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#loading_overlay div {
  text-align: center;
}

#loading_overlay p {
  font-size: 20px;
  color: #333;
}

#processing_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(240, 240, 240, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#processing_overlay div {
  text-align: center;
}

#processing_overlay p {
  font-size: 20px;
  color: #333;
}

#saving_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

#saving_overlay div {
  text-align: center;
}

#saving_overlay p {
  font-size: 20px;
  color: #333;
}

/* copy button------------------- */
#copy_alert {
  position: fixed;
  left: 24px;
  bottom: 24px;
  height: 52px;
  border: 0.25rem;
  max-height: calc(100% - 2* 24px);
  max-width: 568px;
  min-height: 20px;
  border-radius: 2px;
  background: #1f1f1f;
  box-shadow: 0px 5px 18px #0000004D;
  color: #ccc;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: none;
}
#copy_alert div {
  text-align: center;
  margin: 0 24px 0 36px;
}
#copy_alert p {
  font-size: var(--font-size14);
  color: #FFFFFF;
}
#copy_alert .close-icon {
  cursor: pointer;
  margin-right: 24px;
  font-size: 20px;
}

/* hotFilter begin ------------------------------------------ */
.handsontable span.colHeader.columnSorting:before{
  right: -5px;
}
.handsontable.custom-filter-button .changeType {
  background: none;
  border: none;
  border-radius: 2px;
  color: #bbb;
}
.handsontable.custom-filter-button .changeType:hover {
  background: #ddd;
  border-color: #999;
  color: #999;
  cursor: pointer;
}
.handsontable.custom-filter-button .changeType::before {
  content: '';
  font-family: 'Material Icons';
  font-size: 12px;
}
.handsontable.custom-filter-button .changeType::before {
  content: 'filter_list';
}
.handsontable.custom-filter-button .htFiltersActive .changeType::before {
  content: 'filter_list_alt';
  background-color: #509272;
  border-radius: 2px;
  border: 1px solid #509272;
  color: #fff;
}
.handsontable button.alert-action {
  width: 52px;
  border-width: 0 !important;
  background-color: #EA4335 !important;
  color: #fff !important;
}
.handsontable button.alert-action:hover:not(:disabled) {
  width: 52px;
  border-width: 0 !important;
  background-color: #B53429 !important;
  color: #fff !important;
}
.handsontable button.disabled-action {
  border-width: 0 !important;
  background-color: #999999 !important;
  color: #fff !important;
}
.handsontable td.row-deleted {
  background-color: #DDDDDD !important; /* 薄い黄色系 */
}
/* hotFilter end ------------------------------------------ */


/* menu begin-------------------------------- */
#gg_functions_ul {
  padding: 0;
}
#gg_functions_ul ul{
  padding-left: 0;
}
#gg_functions_ul .items > label{
  padding-left: 16px;
  font: normal normal bold 14px/20px Noto Sans JP;
  font-size: var(--font-size14);
  letter-spacing: 0.25px;
  color: #000000DE;
  line-height: 48px;
  border-top: 1px solid #CCCCCC;
  border-bottom: 1px solid #CCCCCC;
}
#gg_functions_ul .items>li{
  padding-left: 53px;
  font: normal normal normal 14px/20px Noto Sans JP;
  font-size: var(--font-size14);

  letter-spacing: 0.25px;
  color: #000000DE;
  line-height: 48px;
}

#gg_functions_ul .items {
  display: none;
}
#gg_functions_ul .active .items{
  display: block;
}
#gg_functions_ul .items > label:nth-child(1) {
  border-top: none;
}
#gg_functions_ul .node {
  position: relative;
  user-select: none;
  background: #FFFFFF 0% 0% no-repeat padding-box;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  width: 100%;
  line-height: 48px;
  margin: 5px 0;
  display: inline-block;
}
#gg_functions_ul .node>label,
#gg_functions_ul li.item {
  cursor: pointer;
  white-space: nowrap;
}
#gg_functions_ul .node>label:hover{
  background: #E8F0FE;
  border-radius: 8px;
}
#gg_functions_ul .active>label:hover{
  border-radius: 8px 8px 0 0;
}
#gg_functions_ul li.item:hover {
  background: #D8DFEC;
}
#gg_functions_ul .custom-selected {
  background: #EFEFEF;
}
#gg_functions_ul .custom-selected-l1>label {
  background: #EFEFEF;
}
.custom-selected-l1>label>.radio_unchecked-icon {
  display: none;
}
.custom-selected-l1>label>.radio_checked-icon {
  display: inline-block;
}
.radio_unchecked-icon, .radio_checked-icon {
  vertical-align: middle;
  font-size: 18px;
  /* margin-right: -4px; */
}
.radio_checked-icon {
  display: none;
}
#gg_functions_ul .radio_unchecked-icon,
#gg_functions_ul .radio_checked-icon{
  margin-left: 18px;
  margin-right: 0;
}
#gg_functions_ul .folder-icon {
  vertical-align: middle;
  margin: 0 16px 0 0;
}

#gg_functions_ul .down-icon,
#gg_functions_ul .up-icon {
  vertical-align: middle;
  position: absolute;
  right: 13px;
  top: 10px;
}
#gg_functions_ul .down-icon{
  display: inline-block;
}
#gg_functions_ul .up-icon{
  display: none;
}
#gg_functions_ul .active .down-icon {
  display: none;
}
#gg_functions_ul .active .up-icon {
  display: inline-block;
}

#gg_functions_ul label {
  display: block;
  border-radius: 8px 8px 0 0;
}
#gg_functions_ul > .menu_l1_ADMIN-1 > label,
#pad_gg_functions_ul > .menu_l1_ADMIN-1 > label {
  color:#2196F3;
}
#gg_functions_ul > .menu_l1_ADMIN-1.active > label {
  border-bottom: 2px solid #2196F3;
}
#gg_functions_ul > .menu_l1_ADMIN-1 li.custom-selected {
  color: #2196F3;
}
#gg_functions_ul > .menu_l1_SCHOOL-1 > label,
#pad_gg_functions_ul > .menu_l1_SCHOOL-1 > label {
  color:#4CAF50;
}
#gg_functions_ul > .menu_l1_SCHOOL-1.active > label {
  border-bottom: 2px solid #4CAF50;
}
#gg_functions_ul > .menu_l1_SCHOOL-1 li.custom-selected {
  color: #4CAF50;
}
#gg_functions_ul > .menu_l1_SCHOOL-2 > label,
#pad_gg_functions_ul > .menu_l1_SCHOOL-2 > label {
  color:#FF9800;
}
#gg_functions_ul > .menu_l1_SCHOOL-2.active > label {
  border-bottom: 2px solid #FF9800;
}
#gg_functions_ul > .menu_l1_SCHOOL-2 li.custom-selected {
  color: #FF9800;
}
#gg_functions_ul > .menu_l1_SCHOOL-3 > label,
#pad_gg_functions_ul > .menu_l1_SCHOOL-3 > label {
  color:#E91E63;
}
#gg_functions_ul > .menu_l1_SCHOOL-3.active > label {
  border-bottom: 2px solid #E91E63;
}
#gg_functions_ul .menu_l1_SCHOOL-3 li.custom-selected {
  color: #E91E63;
}


.select_icon {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  font-family: 'Material Icons';
  font-size: 24px;
  cursor: pointer;
}
/* menu end------------------------------------------- */

/* customSelect begin----gg_schools,gg_years--------------------------------------- */
.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 200px;
  border: 1px solid #ccc;
  cursor: pointer;
}
.custom-dropdown .selected-option {
  padding-left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.custom-dropdown .selected-option .selected-text{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 200px;
}
.custom-dropdown .dropdown-list {
  position: absolute;
  width: inherit;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  z-index: 1002;
  display: none;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 5px 18px #0000004D;
  border-radius: 4px;
}
.custom-dropdown .dropdown-item {
  padding-left: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 48px;
}
.custom-dropdown .dropdown-item:hover {
  background-color: #D8DFEC;
}
.custom-dropdown .dropdown-item.selected{
  background-color: #E8F0FE;
}
.custom-dropdown .dropdown-item.selected .data-text{
  max-width: 190px;
}
.custom-dropdown .show {
  display: block !important;
}
.custom-dropdown .select_icon {
  margin-left: 8px;
}
.custom-dropdown .selected {
  color: #1A73E8;
}
.custom-dropdown .selected .check-icon {
  display: inline-block;
}
.custom-dropdown .check-icon {
  display: none;
  content: '';
  width: 18px;
  height: 13px;
  position: absolute;
  right: 12px;
  transform: translateY(-50%);
}

/* customSelect end------------------------------------------- */

/* hotTable begin------------------------------------------- */
/* テーブルの行の色を交互に変える, 奇数行 */
table.htCore>tbody>tr:nth-child(odd)>td,
table.htCore>tbody>tr:nth-child(odd)>th {
  background-color: #fff;
}
/* 偶数行 */
table.htCore>tbody>tr:nth-child(even)>th,
table.htCore>tbody>tr:nth-child(even)>td {
  background-color: #f2f2f2;
}
table.htCore>tbody>tr>th {
  border-bottom: 1px solid #ccc !important;
}
table.htCore>tbody>tr:first-child th{
  border-top: 1px solid #ccc !important;
}

/* rowHeader */
.handsontable.ht_clone_left tbody th {
  border-right: 1px solid #fff !important;
}
.handsontable.ht_clone_left tbody th:hover {
  background: #DCDCDC !important;
  cursor: pointer;
}
.handsontable.ht_clone_left tbody th.ht__highlight {
  background-color: #a3a3a3 !important;
}


/* handsontable multDropdown-----------------*/
.handsontable .multiplesFilter {
  display: none !important;
}
.handsontable .comboTreeWrapper{
  width:inherit;
}
.handsontable .comboTreeInputBox {
  position: fixed;
}


.handsontable th{
  font: normal normal bold 16px/20px Noto Sans JP;
  font-size: var(--font-size16);
  letter-spacing: 0.29px;
  color: #3C4043;
  text-align: left;
  border: none !important;
  height: 36px;
  background: #FFFFFF;
}
.handsontable th>div{
  top: 50%;
  transform: translateY(-50%);
}
.handsontable td{
  font:  normal normal normal 16px/20px Noto Sans JP;
  font-size: var(--font-size16);
  letter-spacing: 0.29px;
  color: #000000DE;
  height: 36px;
  /* line-height: 48px; */
  vertical-align: middle;
  border-right: none !important;
}
.handsontable td:first-of-type{
  border-left: none !important;
}
.handsontable .handsontableEditor td{
  height: 22px;
  line-height: 22px;
}

.handsontable .htAutocompleteArrow{
  color: #ccc;
}


/* 編集不可 */
.handsontable .htDimmed {
  color: #999;
}

.handsontable td.dark.afterHiddenColumn.htDimmed {
  color: #000
}

/* センタリング */
.handsontable .htCenter {
  text-align: center;
  vertical-align: middle;
}


/* hotTable end------------------------------------------- */

/* hotTable tooltip begin------------------------------------------- */
.handsontable .is-tooltip{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.htTooltip {
  position: absolute;
  box-shadow: 0px 5px 18px #0000004D;
  border-radius: 4px;
  padding: 5px;
  white-space: nowrap;
  z-index: 1000;
  display: none;
  background: #FFFFFF;
}
/* hotTable tooltip end------------------------------------------- */

/* ------tab· begin-------------------------------------------------------- */

.sheet-list {
  position: absolute;
  bottom: 0;
  left: 288px;
  width: 100%;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  border-top: 1px solid #ccc;
  height: 40px;
}

.sheet-item {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #fff;
  border-top: none;
  /* margin-right: 6px; */
  /* border-radius: 0 0 8px 8px; */
  letter-spacing: 0.25px;
  color: #747775;
  font-weight: normal;
}
.sheet-item:hover{
  background: #E8EBEE 0% 0% no-repeat padding-box;
  border-color: #E8EBEE;
  color: #3C4043;
}

.sheet-item.active {
  border-color: #E1E9F7;
  margin-top: -1px;
  font: normal normal bold 14px/20px Noto Sans JP;
  font-size: var(--font-size14);
  color: #0b57d0;
  background: #E1E9F7 0% 0% no-repeat padding-box;
}
.sheet-item.active:hover{
  color:#1A73E8;
  background: #E8EBEE 0% 0% no-repeat padding-box;
}

.sheet-content{
  /* padding-top: 10px; */
}

.sheet-pane {
  display: block;
  /* padding-top: 10px; */
  opacity: 0;
  visibility: hidden;
  height: 0;
}


.sheet-pane.active {
  display: block;
  opacity: 1;
  visibility: visible;
  height: auto;
}

/*   
--rigth_hot_table_wrapper: 0;
--bottom_hot_table_wrapper:0;
--overflow_hot_table_wrapper:auto; */
/* .hot_table_wrapper {
  position: absolute; 
  top: 300px;
  left: 288px;
  right: 0;
  bottom: 0;
  bottom: 40px;
  overflow: auto;
} */


/* --margin-left-hot_table_div */
/* .hot_table_div {
  margin-left: var(--margin-left-hot_table_div);
} */

/* ------------tab· end-------------------------------- */

/*modal popup*/
.file-modal {
  position: fixed;
  display: none;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  z-index: 1003;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.file-modal .inner-modal {
  width: 1000px;
  height: 600px;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid #f2f2f2;
  border-radius: 6px;
  background-color: #FFF;
  transform: translate(-50%, -50%);
}

.btn {
  border: 1px solid black;
  background-color: white;
  color: black;
  padding: 7px 14px;
  font-size: 14px;
  font-size: var(--font-size14);
  cursor: pointer;
  border-radius: 5px;
}

/* Green */
.success {
  border-color: #04AA6D;
  color: green;
}

.success:hover {
  background-color: #04AA6D;
  color: white;
}

/* Blue */
.info {
  border-color: #2196F3;
  color: dodgerblue
}

.info:hover {
  background: #2196F3;
  color: white;
}

/* Orange */
.warning {
  border-color: #ff9800;
  color: orange;
}

.warning:hover {
  background: #ff9800;
  color: white;
}

/* Red */
.danger {
  border-color: #f44336;
  color: red
}

.danger:hover {
  background: #f44336;
  color: white;
}

/* Gray */
.default {
  border-color: #e7e7e7;
  color: black;
}

.default:hover {
  background: #e7e7e7;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.folder_item {
  cursor: pointer;
}
/* ---------------------------------- */
.open-piker-button{
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.1rem;
}

/* ---------------------------------- */
#settings_icon_div,
#help_icon_div{
  color: #5f6368;
  font-size: 28px;
  cursor: pointer;
  border-radius: 26px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
#settings_icon_div:hover,
#help_icon_div:hover{
  background-color: #E8EAED;
}
#settings_icon,
#help_icon {
  font-size: 28px;
  color: #5f6368;
  cursor: pointer;
  border-radius: 26px;
}
.row-edit-icon:hover{
  color: #FFFFFF !important;
}
[class^='select-all-row-checkbox_'] {
  margin: 12px 8px;
}

.attach_file_icon {
  font-size: 24px;
  color: #5f6368;
  cursor: pointer;
  border-radius: 26px;
  padding: 4px;
}

.attach_file_icon:hover {
  background-color: #E8EAED;
}


/* smart fone begin--------------------------------- */
@media (max-width: 768px) {
  body{
    overflow-x: hidden !important;
    overflow-y: scroll !important;
  }
  #page_setting {
    display: none !important;
  }

  #pad_gg_functions_ul{
    display: none !important;
  }
  #gg_main {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .pad-mode#gg_menu {
    width: 0;
  }
  #gg_menu {
    top: 64px !important;
    width: 100%;
  }
  #gg_header_link_btns,
  #gg_header_page_uis {
    flex-direction: column;
  }
  select[id^='page_filter_'], select[id^='table_filter_']{
    width: 100% !important;
  }
  [id^='controllers_wrapper_']{
    display: inline-block;
  }
  .hot_table_wrapper {
    left: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: 300px;
    min-height: 300px;
    width: 100%;
  }
  .hot_table_wrapper>div.mobile {
    padding-bottom: 70px;
  }
  .sheet-list{
    position: relative;
    bottom: 0;
    left: 0 !important;
  }
  .sheet-content{
    height: 460px;
  }
  .tooltip_for_link_btn {
    display: none !important;
  }

}

/* 大画面phone begin*/
body.is-mobile{
  overflow-x: hidden !important;
  overflow-y: scroll !important;
}
.is-mobile #page_setting {
  display: none !important;
}

.is-mobile #pad_gg_functions_ul{
  display: none !important;
}
.is-mobile #gg_main {
  margin-left: 0 !important;
  width: 100% !important;
}
.is-mobile .pad-mode#gg_menu {
  width: 0;
}
.is-mobile #gg_menu {
  top: 64px !important;
  width: 100%;
}
.is-mobile #gg_header_link_btns,
.is-mobile #gg_header_page_uis {
  flex-direction: column;
}
.is-mobile select[id^='page_filter_'], select[id^='table_filter_']{
  width: 100% !important;
}
.is-mobile [id^='controllers_wrapper_']{
  display: inline-block;
}
.is-mobile .hot_table_wrapper {
  left: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  height: 300px;
  min-height: 300px;
  width: 100%;
}
.is-mobile .hot_table_wrapper>div.mobile {
  padding-bottom: 70px;
}
.is-mobile .sheet-list{
  position: relative;
  bottom: 0;
  left: 0 !important;
}
.is-mobile .sheet-content{
  height: 460px;
}
.is-mobile .tooltip_for_link_btn {
  display: none !important;
}

table.htCore > tbody > tr > td.error-cell {
  background-color: #FFCCCC;
}
table.htCore > tbody > tr > td.ellipsis-column {
  overflow: hidden; 
  text-overflow: ellipsis;
}
/* 大画面phone end*/

.swal2-actions-custom{
  width: 100%;
  justify-content: right;
  padding-right: 30px;
}

.swal2-actions-custom button{
  margin-right: 10px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  height: 36px;
  background: #E8F0FE 0% 0% no-repeat padding-box;
  border: 1px solid #E8F0FE;
  border-radius: 26px;
  font: normal normal normal 14px / 14px Noto Sans JP;
  font-size: var(--font-size14);
  color: #1A73E8;
  letter-spacing: 0.1rem;
  margin-left: 10px;
}


/* smart fone end--------------------------------- */

/* Handsontable 单元格复制状态样式 - 简化版：只禁用链接 */
.handsontable .ht-cell-copying a.ht-link-disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Handsontable 单元格错误状态样式 */
.handsontable .ht-cell-error a.ht-link-error,
.handsontable a.ht-file-error {
  pointer-events: auto !important;
  cursor: pointer !important;
}


/* 文件标签样式 */
.handsontable .ht-file-badge {
  display: inline-block;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: bold;
  line-height: 1.2;
  vertical-align: middle;
}

.handsontable .ht-file-badge-error {
  background-color: #dc3545;
  color: white;
}

.handsontable .ht-file-badge-delete {
  background-color: #dc3545;
  color: white;
}

/* 复制中指示器样式 */
.handsontable .ht-copying-indicator {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-left: 4px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}