@charset "utf-8";
body {
  user-select: none;
  /* CSS3 */
  -moz-user-select: none;
  /* Firefox */
  -webkit-user-select: none;
  /* Safari、Chrome */
  -ms-user-select: none;
  /* IE10~ */
  cursor: default;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro","メイリオ", "Meiryo", sans-serif;
  max-width: 100vw;
}

.demo_disable {
  background-color: #ccc;
  opacity: 0.5;
  cursor: not-allowed;
}

.demo_disable2 {
  opacity: 0.8;
  cursor: not-allowed;
}

.demo_disable a {
  cursor: not-allowed;
}

.demo_disable {
  cursor: not-allowed;
}

label.demo_disable {
  cursor: not-allowed;
}

.modal-content {
  width: 98%;
  margin-left: 1%;
  overflow: hidden;
}

#layoutmondailist-Modal .modal-content {
    min-width:580px;
}

#sarchmodal .modal-content {
  height: 100%;
}
.modalClass .modal-content {
  height: 100%;
}
.modal-lg {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

header {
  /* position: fixed; */
  /* top: 0px; */
  display: block;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 10px;
  background-image: url(../images/header_gry.png);
  height: 55px;
  background-repeat: repeat;
  background-size: cover;
  z-index:1;
  /* margin-bottom: 72px; */
}

.main {
  /* padding-left: 10px; */
  /* padding-top: 50px; */
  /* margin: auto 0px; */
  /* height: 100vh; */
  /* width: 100%; */
  /* overflow-y: hidden; */
  /* position: relative; */
}

/* スタートモーダル画面の色 */
#start-Modal .modal-header,
#start-Modal .modal-footer {
  background-color: rgb(206, 217, 227);
}
#start-Modal .modal-body,
#start-Modal label.bordered-group-title {
  background-color: rgb(216, 227, 237);
}

/* スタート画面をフッターに覆いかぶさるぐらいまで広げる */
#start-Modal {
  height: 100%;
}
#start-Modal .modal-dialog {
  margin-bottom: 0;  /* bootstrap による上下のマージン指定の内、下について解除 */
  height: calc(100% - 65px);
}
#start-Modal .modal-content {
  margin-top: 65px;
  height: 100%;
  position: relative;
}
#start-Modal .modal-body {
  padding: 0 55px;
  height: calc(100% - 97px);
  min-height: 540px;
}
@media (min-width: 768px) {
  #start-Modal .modal-body {
    min-height: 350px;
  }
}

.bordered-group {
  border: solid 1px #2171AB;
  padding: 8px 30px 8px 8px;
  text-align: center;
}
label.bordered-group-title {
  padding: 8px;
  /* background-color: #D7E3ED; */
  background-color: white;
  font-weight: bold;
  position: relative;
  top: 2em;
  left: 1em;
  display: block;
  width: 7em;  /* for IE11 */
  width: fit-content;
}
label.bordered-group-title > img {
  margin-right: 8px;
  height: 2em;
}
.bordered-group-caption {
  text-align: center;
  padding: 4px;
}
.bordered-group a {
  color: #2171AB;
  font-weight: normal;
  cursor: pointer;
  padding: 10px;
  min-height: 150px;
  min-width: 180px;
  text-align: center;
  display: inline-table;
  border-radius: 5px;
  margin: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.bordered-group a:hover {
  color: #666;
  background-color: #B7D8ED;
}
.bordered-group a > p {
  display: block;
  min-height: 3em;
}
.bordered-group a > img {
  height: 70px;
  margin-top: 8px;
}
@media screen and (min-width:1200px) {
  .bordered-group a {
    padding: 16px;
    margin: 24px 16px;
    min-height: 180px;
    min-width: 180px;
  }
  .bordered-group a img {
    height: 100px;
  }
}

.prob-space {
  padding: 0px;
  width: 94%;
  position: relative;
  /* overflow-y: scroll; */
  /* height: calc(99% - 12%); */
  height: 100%;
  /* overflow-x: hidden; */
  /* left: 3%;
  top: 1%; */
  overflow: auto;
  margin: auto;
  padding: 10px;
}
.move_problem_img {
  cursor: pointer;
  font-size: 6vw;
  position: fixed;
  top: 45%;
  z-index: 10;
  margin: 0px;
}

.move_problem_img>i:hover {
  color: #29516f;
}
.camvas-wrap {
  position: relative;
}
#camvas {
  text-align: center;
  transform-origin: left top;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

#camvas .problem_img{
  width: 100%;
  margin: auto;
  display:block;
}

#camvas .canvas-image {
  display: none;
}

#camvas .canvas-image.active {
  display: block;
}
/* 番号 */
.canvas-image .problem_header{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 18px;
  position: relative;
}
.canvas-image .problem_num,
.k_mark {
  font-family:  "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-size: 2.4vw;
  color: #444;
}
.canvas-image .problem_num{
  margin-right: 20px;
  padding: 0 2px;

  line-height: 1.5em;
  height: 1.5em;
  min-width: 1.5em;
  display: none;
  text-align: left;
  white-space: nowrap;
}
.canvas-image .problem_num:after{
  content: ' .';
}
.style-show-problem-num .problem_num{
  display: block;

}
.style-show-problem-num-border .problem_num{
  border: solid 1px #000;
  text-align: center;
}
.style-show-problem-num-border .problem_num:after{
  content: '';
}
.style-show-problem-num.style-left-problem-num {
  padding-left: 6.2vw;
}
.style-show-problem-num.style-left-problem-num .problem_num{
  position: absolute;
  right: 100%;
  top: 100%;
  margin-right: 6px;
  margin-top: 2px;
  text-align: center;
}
.k_mark{
  display: none;
  text-align: left;
  padding-bottom: 1vw;
  position: relative;
}
.k_mark span{
  padding: 0 1vw;
  border: solid 1px #000;
  border-radius: 1em;
  display: inline-block;
}
.style-show-problem-kmark .k_mark{
  display: block;
}

/* 初期表示は非表示とする */

#move_problem_left {
  display: none;
}

.wht_line {
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #fff;
  /* box-shadow: 1px 0px 0px 0px #fff; */
}

.nav>li>a {
  position: relative;
  display: block;
  padding: 10px 12px;
}

.nav>li>div>label {
  padding-bottom: 0px;
  margin-bottom: 0px;
}

footer .demo_disable {
  min-height: 75px;
}

.footer-btnnavi {
  display: flex;
  justify-content: center;
  margin: auto;
  margin-top: 10px;
  text-align: center;
  padding: 0;
}
.footer-btnnavi li{
  float: none;
}

/* .search_modal_content {
  height: 84vh;
} */

#targetIframe>iframe {
  width: 100%;
  border:none;
  height: 100%;
}
.targetIframe>iframe {
  width: 100%;
  border:none;
  height: 100%;
}

.sentaku {
  height: 100%;
}
.step4-problem-tab-pane{
  max-height: 100%;
}

.step4-problem-tab-header{
  flex:1 0 auto;
  z-index: 2;
}
.step4-problem-tab-pane .suken_problem_author{
  flex:1 0 auto;
  z-index: 2;
}

.step4-problem-tab-pane .step4-problem-tab{
  display: flex;
  /* flex-wrap: wrap; */
  padding-top: 1px;
  /* height: 100%; */
  overflow-x: auto;
  position: relative;
}
.step4-problem-tab-pane .step4-problem-tab li {
  border: 1px solid #ccc;
  margin: 0px;
  margin-right: -1px;
  margin-top: -1px;
  /* max-width: 100%; */
  float: none;
  display: block;
}

.step4-problem-tab-pane>div>ul.nav-tabs>li>a {
  color: #000;
  height: 31px;
  padding: 6px;
  font-size:0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height:100%;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
  color: #000;
  cursor: default;
  background-color: #f8ecdd;
  border: 1px;
  border-bottom-color: initial;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:hover {
  color: #000;
  cursor: default;
  background-color: #f8ecdd;
  border: 1px;
  border-bottom-color: initial;
}

.nav>li>a:hover,
.nav>li>a:focus {
  text-decoration: none;
}

.step4-problem-tab-content {
  border: 1px solid #ccc;
  margin-top: -1px;
  min-height: 0;
}

.search4-tab-div {
  border-bottom: 1px solid #ccc;
  padding: 5px;
}
.search4-tab-row{
  display: flex;
  padding: 4px;
  border: solid 1px #ddd;
  border-radius: 4px;
  margin: 4px 0;
}
.search4-tab-title{
  width: 7em;
  border-right: solid 1px #ddd;
}
.search4-tab-child{
  flex: 1;
  padding-left: 8px;
  overflow: auto;
  overflow-y: hidden;
}
.step4-problem-tab-content{
    overflow-y: auto;
  -ms-overflow-y: auto;
}
.step4-problem-tab-content>div {
  font-size: 12px;
  height: 100%;
  margin: auto;
  padding: 10px;
}

ul.nav.nav-tabs.sarchtabbtn {
  /* position: relative;
    left: 11px; */
}


.search_modal_content>div {
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
}

#search_modal_content>div {
  padding: 0px;
  margin: 0px;
  width: 100%;
  height: 100%;
}

.sarchtabbtn li a:hover {
  cursor: pointer;
}

.sarchtabbtn li a.no_bg:hover {
  background-image: none;
  cursor: default;
}

.step4-problem-list-table{
  table-layout: fixed;
  min-width: 400px;
}
.step4-problem-list-table .bg-rbl.chk{
  width: 40px;
}
.step4-problem-list-table .bg-rbl.type{
  width: 45px;
}
.step4-problem-list-table .bg-rbl.info{
  min-width: 10em;
  width: auto;
}
.step4-problem-list-table .bg-rbl.ttl{
  width: auto;
}
.step4-problem-list-table .bg-rbl.his{
  width: 40px;
}
.problem_data:hover {
  cursor: pointer;
}
/* .problem_data.selected{
  background-color: #ffb26d !important;
} */
.problem_data.selected td{
  background-color: #ffb26d !important;
}
.problem_data:hover td{
  background: #f8ecdd;
}
.problem_data td{
  height: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.problem_data .show-history {
  display: block;
}

.prebox .scrolbox img {
  width: 100%;
  margin-top: 5px;
  margin-left: 5px;
}

.left_sac {
  display: block;
  padding: 5px;
  background-color: #ddd;
  min-width: 200px;
  position: relative;
  font-size: 12px;
  border-radius: 5px;
  height: calc(100% -  80px);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.step1_filter_title{
  font-weight: bold;
  margin-top:10px;
  margin-bottom: 0px;;
}

.waku {

  background-color: #fff;
  padding: 2px;
  /* width: 97%; */
  height: 42%;
  overflow-y: auto;
  overflow-x: hidden;

}

.fildrock {
  position: absolute;
  min-width: 100%;
  height: 33%;
  bottom: 0px;
  left: 0px;
  border: solid 2px #ccc;
  border-radius: 5px;
  overflow: hidden;
}


/**1.検索対象を選ぶページ**/

.listtitlebar .listtitlebar_moji {
  display: block;
  float: left;
  width: auto;
  padding-right: 10px;
  /* background-color: #fff; */
  z-index: 500;
}

.listtitlebar .listtitlebar_sen {
  display: block;
  width: auto;
  text-align: right;
  padding-left: 20px;
  margin-left: 10px;
}


/*.listtitlebar hr {
    position: absolute;
    top: 15px;
    right: 20px;
    display: block;
    padding-top: 15px;
    height: 30px;
    min-width: 75%;
    border-color: #0e6da3;
    border-width: 1px;
    margin: 0px;
}*/

.listtitlebar_sen hr {
  /* width: auto; */
  /* float: right; */
  /* position: absolute; */
  /* top: 15px; */
  /* right: 20px; */
  /* display: block; */
  /* padding-top: 15px; */
  /* height: 30px; */
  /* min-width: 25%; */
  max-width: 100%;
  border-color: #0e6da3;
  border-width: 1px;
  margin: 0px;
  /* margin-left: 363px; */
  margin-top: 6px;
  margin-right: 20px;
}


/**3.検索実行ページ**/
.sacexecution li {
  display: block;
}
.sacexecution li a {
  white-space: pre-line;
  font-size: 11px;
  width: 100%;
  min-height: 75px;
  display: block;
  flex-direction: column;
  justify-content: center;
  line-height: 15px;
  text-align: center;
  /* background-image: -webkit-linear-gradient(top, rgb(14, 109, 163), rgb(14, 109, 163)); */
  color: rgb(255, 255, 255);
  overflow: hidden;
  text-decoration: none;
  margin: 0px;
  margin-bottom: 5px;
  border-radius: 5px 0 0 5px;
  position: relative;
}
.sacexecution li.active a{
  background-color: #dde3e6;
  color: #666;
}
.sacexecution a.has-conditions::after{
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 20px;
  left: 0;
  background: url('/images/pin.png') no-repeat center center;
  background-size: contain;
}

.sacexecution li a img {
  max-width: 45px;
  max-height: 45px;
  margin-top: 10px;
  margin-bottom: 3px;
}

.bg-colorble {
  height: 100%;
}

.bgwht {
  background-color: #fff;
  margin: 0;
  padding: 0;
  /* overflow-y: auto; */
  /* overflow-x: hidden; */
  height: 100%;
  /* border-right: 1px #dde3e6 solid; */
}
.step3_form {
  height: 100%;
  overflow: hidden;
  padding: 10px;
}
.step3_form .tab-content {
  height: 100%;
}
.step3_form .tab-pane {
  padding: 0;
}
.step3_form .tab-pane:not(#tab_content) {
  height: 100%;
  /* margin-right: 15px; */
  overflow-y: auto;
  overflow-x: hidden;
}
.step3_form .tab-pane#tab_content {
  overflow: hidden;
  height: 100%;
}
.step3_form .tab-pane:not(#tab_content) .col-xs-12,
.step3_form .tab-pane:not(#tab_content) .col-sm-12 {
  padding: 0;
}
#tab201 {
  height: 100%;
  margin: 0;
}
.content_box {
  overflow: auto;
  height: calc(100% - 30px);
  border: solid 1px;
  padding-left: 0px;
}
.content_box_list {
  height: calc(100% - 30px);
  overflow-y: auto;
  padding-left: 0px;
}
.content_list {
  height: calc(100% - 27px);
  overflow-y: auto;
  padding-left: 0px;
}
.content_box_combo {
  overflow: auto;
  height: calc(100% - 65px);
  border: solid 1px;
  padding-left: 0px;
  margin-top: 5px;
}
.content_list_combo {
  height: calc(100% - 65px);
  overflow-y: auto;
  padding-left: 0px;
  margin-top: 5px;
}
.step3_form .list-unstyled {
  margin-top: 10px;
  overflow: hidden;
}
.combo-boxes {
  height: 100%;
  display: none;
}
.combo-boxes.active{
  display: block;
}
.search-modal-css .row {
  margin: 0px;
}

.sarchtabbtn .three {
  padding-left: 16px;
}

.sarchtabbtn .four {
  padding-left: 20px;
}

.modal-body a.btn {
  border: 1px solid #ccc;
}
.checkbox-inline{
  display:none;
}

.booklist a img {
  margin:0px;
  margin-left: 5px;
  margin-right: 5px;
  width: 30px;
}
.booklist a div {
  width: 170px;
  /* text-align: center; */
  overflow: hidden;
  text-overflow: ellipsis;
}

.booklist li a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
  font-size: 11px;
  padding-right: 0px;
  width: 210px;
  height: 65px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  text-align: left;
  line-height: 45px;
  background-image: -webkit-linear-gradient(top, #fdfdfd, #e1e1e1);
  background: -moz-linear-gradient(top, #fdfdfd, #e1e1e1);
  background: -ms-linear-gradient(top, #fdfdfd, #e1e1e1);
  background-color: #fdfdfd;

  color: #666;
  border: 1px solid #ddd;
  border-radius: 5px;
  max-width: 100%;
}

.footer {
  text-align: center;
  position: absolute;
  width: 100%;
  bottom: 0px;
  height: 100px;
  background-color: #D7E3ED;
}




.prebox {
  display: block;
  border: solid 1px #ccc;
  min-width: 280px;
  margin: 0px;
  margin-bottom: 10px;
  padding: 5px;
  padding-top: 30px;
  position: relative;
}


.iframe_inside_wrap{
  padding-top: 38px;
  position: relative;
  height: 100%;
}
.iframe_inside_wrap .kensakupage{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width:660px;
}
.iframe_inside_wrap > .modal-footer{
  position: absolute;
  bottom: 0;
  height: 70px;
  left: 0;
  width: 100%;
  background-color: #fff;
}
.iframe_inside_wrap > .modal-body{
  height: 100%;
  overflow: auto;
  padding: 0;
}
.iframe_inside_wrap .sarch_tab{
  height: 100%;
  padding: 15px 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.search_problem_step1 .iframe_inside_wrap .sarch_tab{
}
.search_problem_step2 .iframe_inside_wrap .sarch_tab{
  /* min-width:950px; */
}
.search_problem_step3 .iframe_inside_wrap .sarch_tab{
  padding-bottom: 0;
}
.search_problem_step4 .iframe_inside_wrap .sarch_tab{
  min-width:950px;
}

.iframe_inside_wrap .layout_row{
  flex: 1;
  display: flex;
  height: 100%;
  min-height: 1px;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}
.layout_row > div[class*="col-"]{
  margin: 0;
}

.iframe_inside_wrap .layout_row .left_sac{
  padding: 0 10px;
}
.iframe_inside_wrap .layout_row .left_sac .sacscrol{
  padding-top: 10px;
  padding-bottom: 10px;
}
.iframe_inside_wrap .layout_row .search_result_col{
  padding-left: 10px;
  padding-right: 0;
  display: flex;
  flex-direction: column;
}
.iframe_inside_wrap .waku{
  width: 100%;
}
.search_problem_step1 #tab101 .layout_row .cont_sac{
  padding: 0 10px;
  margin-right: 10px;
  flex: 1;
  /* height: calc(100% - 70px); */
}
.search_problem_step3 .layout_row .btn_grp{
  text-align: center;
  padding: 0 5px;
  min-width: 100px;
  overflow: visible !important;
}
.search_problem_step3 .btn-switch-checkbox{
  background-color:#fff;
  border-radius: 0;
  padding: 8px;
  margin: 2px;
  position: relative;
  white-space: normal;
}
.search_problem_step3 .btn-switch-checkbox.active{
  background-color: #eee;
  box-shadow: none;
}
.search_problem_step3 .step3-tab-wrap {
  padding-left: 15px;
}
.search_problem_step3 .bg-colorble {
  padding: 15px;
}
.freeword-content-input {
  display: flex;
  align-items: center;
  height: 34px;
}

.freeword-content-target {
  display: flex;
  align-items: center;
  padding: 10px;
  width: 200px;
  min-width: 200px;
  border: solid #c6e4ff 1px;
  white-space: nowrap;
  margin: 5px;
  font-family: Arial, Helvetica, sans-serif;
}
@media screen and (max-width: 1024px) {
  .freeword-content-input {
    display: block;
    height: auto;
  }
  .freeword-content-target {
    margin-left: auto;
    margin-right: 0;
  }
}
#popupfilterForm .freeword-content-input{
  display: block;
  height: auto;
}
#popupfilterForm .freeword-content-target {
  margin-left: auto;
  margin-right: 0;
}
.freeword-content-target .checkbox{
  margin-left: 5px;
  padding: 0;
  height: auto;
  min-height: 20px;
  line-height: 20px;
}
.search_problem_step4 .mondai_area{
  flex: 1;
  /* overflow-y: auto; */
  padding-left: 0;
  margin: 0;
  margin-top: 10px;
}
.iframe_inside_wrap .layout_row .sentaku{
  display: flex;
  flex-direction: column;
  margin: 0;
  margin-left: auto;
}

.iframe_inside_wrap .table{
  margin: 0;
  width: 100%;
}
.search_problem_step4 .prebox{
  min-width: 0;
  height: calc(50% - 7.5px);
}
.search_problem_step4 .scrolbox{
  /* height: 66%; */
  margin-top: 10px;
}
.search_problem_step4 .guarded-problems,
.search_problem_step3 .guarded-problems {
  align-items: center;
  padding: 0 1em;
  flex: 1;
  font-size: 0.8em;
}
.search_problem_step4 .iframe_inside_wrap > .modal-footer,
.search_problem_step3 .iframe_inside_wrap > .modal-footer
{
  display: flex;
  align-items: center;
  text-align: center;
}
.search_problem_step4 .iframe_inside_wrap > .modal-footer .execute-layout,
.search_problem_step3 .iframe_inside_wrap > .modal-footer .execute-layout{
  margin-left: auto;
}
.search_problem_step4 #guardedProblemView,
.search_problem_step3 #guardedProblemView {
  display: block;
  border: solid 1px #ccc;
  padding: 8px 12px;
  max-height: 40vh;
  overflow-y: auto;
}
.search_problem_step4 #guardedProblemView .guarded-problem-detail,
.search_problem_step3 #guardedProblemView .guarded-problem-detail {
  margin: 4px 0;
}

@media (min-width:1280px) {
  .search_problem_step4 .layout_row .center-col{
    padding-left: 5px;
    padding-right: 5px;
    min-width: 280px;
  }


 }

 @media (max-width:1279px) {
   .search_problem_step4 .layout_row .center-col{
     padding-left: 5px;
     padding-right: 5px;
   }

  }

.search_problem_step4 #selectAllModal input[type=number],
.search_problem_step4 #selectRandomModal input[type=number] {
  width: 6em;
  margin-right: 4px;
}

.step4-problem-tab-pane{
  display: flex;
  flex-direction: column;
  height:100%;
}
.tab-content-book-title:hover{
  background-color: #eee !important;
}
.step4-problem-tab-content{
  flex: 1000 1 auto;
}
body{
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
.selected_problem_hide{
  width: 350px;
  position: absolute;
  top: 10px;
  right: 50px;
  transform: rotate(-90deg);
  transform-origin: right bottom;
  z-index: 100;
  margin: 0;
  right: 0;
  display: none;
}
.selected_problem_hide .bg-primary{
  margin: 0;
}
.selected_problem_hide .toggle_selected_area{
  transform: rotate(90deg);
}
.toggle_selected_bar{
  color: #fff;
}
.toggle_selected_bar:hover{
  text-decoration: none;
  color: #fff;
}
.toggle_selected_area{
  float: right;
}
.sentaku-closed .selected_problem_hide {
  display: block !important;
}
.sentaku-closed .sentaku {
  display: none !important;
}
.sentaku-closed .layout_row{
  padding-right: 25px !important;
}
.d-flex{
  display: flex;
}
.flex-wrap{
  flex-wrap: wrap;
}
.flex-align-center{
  align-items: center;
}
.flex-fill{
  flex: 1;
}
.scroll-y{
  overflow-y: auto;
}
.no-wrap{
  white-space: nowrap;
}

#modal-title{
  float: right;
  color: white;
  text-align: right;
  margin-top: 0px;
  padding-top: 10px;
  width: auto;
  padding-right: 1em;
}
@media screen and (max-width:900px) {

  .footer {
    /* min-width: 830px; */
    font-size: 0.8em;
  }
 }
footer.footer{
  position: fixed;
  bottom: 0;
  width: 100%;
}
/* .main{
  padding-bottom: 85px;
} */
/* loading start */
/* bodyにloadingクラスを追加することで表示 */
@-webkit-keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.loading-spinner {
  -webkit-animation-duration: 0.75s;
  -moz-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: rotate-forever;
  -moz-animation-name: rotate-forever;
  animation-name: rotate-forever;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
  height: 30px;
  width: 30px;
  border: 8px solid #ffffff;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

.loading-spinner {
  position: absolute;
  top: 50%;
  right: 0;
  bottom: 0;
  left: 50%;
  margin: -15px 0 -15px;
}
.loading-overlay{
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.3);
  z-index: 999999;
  display: none;
  cursor: wait;
}
.loading-block{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.2);
  z-index: 999999;
  display: none;
  cursor: wait;
}
.loading .loading-overlay,
.loading .loading-block{
  display: block;
}
/* loading end */

.sarchtabbtn::before{
  background-image: url(/images/icon_search.png);
  width: 37px;
  position: absolute;
  height: 37px;
  background-color: white;
  background-repeat: no-repeat;
  border-radius: 25px;
  background-position: center center;
  z-index: 60;
  top: 1px;
  left: 2px;
  background-size: 23px;
  border: 1px solid #aaa;
}




/* demo modal */
#demoModal {
  background-color: rgba(0,0,0, 0.4);
}
#demoModal .modal-body{
  font-size: 1.1em;
  line-height: 1.6;
  padding: 2em;
  padding-bottom: 1em;
}
#demoModal .modal-footer{
  text-align: center;
}

.condition_border{
  border:1px solid #999;
  border-radius: 5px;
  padding:10px;
  margin:10px;
}

#tab_option .mode-list{
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  margin-top:10px;
}
#tab_option .mode-list h5 {
  white-space: nowrap;
  margin-right: 10px;
}
#tab_option .mode-list label{
  margin: 0 10px;
}
#tab_option .mode-list input {
  margin-right: 5px;
}
#sarchmodal .modal-dialog{
  margin-top:1%;
  margin-bottom: 0;
  height: 96%;
  min-width: 0;
  /* min-height: 768px; */
}
.modalClass .modal-dialog{
  margin-top:1%;
  margin-bottom: 0;
  height: 96%;
  min-width: 0;
  /* min-height: 768px; */
}

.modalClass .modal-dialog{
  margin-top:1%;
  margin-bottom: 0;
  height: 96%;
  min-width: 0;
  /* min-height: 768px; */
}
/* 縦幅狭い場合はsearchmodal広げる */
@media screen and (max-height:980px) {
  footer.footer{
    z-index: 300;
  }
  #sarchmodal .modal-content,
  #sarchmodal #targetIframe,
  #sarchmodal #targetIframe iframe{
    height: 100%;
  }

  .modalClass .modal-content,
  .modalClass .targetIframe,
  .modalClass .targetIframe iframe{
    height: 100%;
  }

  .modalClass .modal-dialog{
    height: 96%;
    margin-top: 1%;
  }
}

img {
  pointer-events: none;
}
#demoModal > .modal-dialog{
  height:220px;
}
/* #layoutmondailist-Modal > .modal-dialog{
  height:410px;
} */
.selected-problems-row{
  display: flex;
  padding: 5px 10px;
  word-break: break-all;
}
.selected-problems-row .moji{
  flex: 1;
}
.selected-problems-icon{
  padding-top: 5px;
  margin-right: 5px;
}

.selected-problems-chkbox{
  padding-top: 10px;
  margin-left: 3px;
}

.step1_filter_txt{
  padding-top:10px;
  margin:0px;
}

.bold{
  font-weight: bold;;
}
.ste1_left_column{
  min-width:280px;
  padding-right: 5px;
  display: flex;
  flex-direction: column;
  /* height: calc(100% - 70px); */
}
.ste1_left_column .left_sac{
  flex:1;
  border-bottom: 10px solid #ddd;
  display: flex;
  flex-direction: column;
}
.ste1_left_column .waku{
  flex: 1;
}
.selectedProblemScrollArea {
  height: calc(100% - 182px);
    overflow-y: auto;
    overflow-x: hidden;
}
.step4-preview{
  display: flex;
  flex-direction: column;
}
.step4-preview .madomaru_box{
  min-width: 0;
}
.step4-preview .checkbox-inline{
  display: inline-block;
  width: auto;
  line-height: 20px;
  height: 20px;
  padding: 3px 8px;
}
.step4-preview .checkbox-inline input[type=checkbox]{
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  margin-right: 10px;
}
.step4-preview .scrolbox{
  overflow-y: auto;
  padding: 0 5px;
  flex: 1 1 auto;
}
.step4-preview .scrolbox img{
  margin: 0;
}
/* .search2-contents>div>button{
  margin-right:10px;
  text-align: left;
} */
#tab102 .d-flex {
  font-size: 12px;
  text-align: left;
  align-items: center;
}
#tab102 .d-flex + .d-flex{
  margin-top: 10px;
}
#tab102 .d-flex div{
  padding-left: 10px;
}
#tab102 .d-flex .step2_btn_style {
  flex-shrink: 0;
}
legend{
  font-size: 1.1em;
  font-weight: bold;
  border-bottom: none;
  margin-bottom: 0.5em;
}
#search_no_wrap, #search_shimen_wrap,
.user_database_inside_wrap,
.search_modal_iframe.iframe_inside_wrap{
  padding-bottom: 70px;
}
.search_modal_iframe.iframe_inside_wrap .selectedProblemScrollArea{
  height: 100%;
}
#search_no_content .layout_row > div{
  overflow-y: auto;
}
#search_no_content .selectedProblemScrollArea,
#search_shimen_wrap .selectedProblemScrollArea{
  height: 100%;
}
#search_no_content select.form-control{
  width: 100%;
}
#search_no_content fieldset > .form-group{
  padding-left: 1em;
}
#page-range {
  margin: auto;
  position: absolute;
  bottom: 100px;
  left: 30px;
  right: 120px;
  height: 20px;
  overflow: visible;
}
.range-control .slider.slider-horizontal{
  height: 16px;
  width: 100%;
}
.range-control .slider.slider-horizontal .slider-track{
  height: 2px;
  margin-top: -1px;
  border: none;
  background: #b6b6b6;
}
.range-control .slider-handle{
  background: #fff;
  border: solid 1px #bbb;
  height: 16px;
  width: 16px;
}
.range-control .slider.slider-horizontal .slider-tick,
.range-control .slider.slider-horizontal .slider-handle{
  margin-left: -8px;
}
.range-control .slider-selection{
  background: #2081FF;
}
.page-nums {
  position: absolute;
  bottom: 100px;
  right: 0;
  width: 120px;
  height: 20px;
}


.btn-user_favorite{
  font-size: 10px;
  margin-top: 8px;
}

.iframe_inside_wrap .iframe_child_modal{

}
.iframe_inside_wrap .iframe_child_modal .modal-header{
  padding: 0px 10px;
}
.iframe_inside_wrap .iframe_child_modal .modal-title{
  font-size: 1.1em;
  padding: 6px 0;
}
.iframe_inside_wrap .iframe_child_modal .modal-header .favicon{
  width: 24px;
  height: 24px;
  float: left;
  margin-top: 5px;
  margin-right: 5px;

}
.flex-column-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}
.flex-column-layout > .modal-header .close{
  position: absolute;
  right: 5px;
  top: 5px;
}
.flex-column-layout > .modal-footer{
  position: static;
}
/* よく使う書籍モーダル */
#user_favorites_modal .modal-dialog{
  width: 90%;
  height: 97%;
  margin: 1% auto 0;
  /* min-width: 500px; */
  min-width: 700px;
}
.user_favorites_inside .modal-header{
  padding: 10px;
}
.user_favorites_inside .modal-content{
  width: 100%;
  height: 100%;
  margin: 0;
}
.user_favorites_inside .modal-body{
  padding-left: 0;
  padding-right: 0;
}
.user_favorites_inside .left_sac{
  /* height: 100%; */
  height: auto;
  min-height: 100%;
  padding-bottom: 10px !important;
  display: flex;
  flex-direction: column;
}
.user_favorites_inside .waku{
  flex: 1;
  min-height: 100px;
  height: 30%;
}
.user_favorites_inside .set-item{
  box-sizing: border-box;
  width: 100%;
  position: relative;
  display: block;
  border: none;
  border-bottom: 1px solid #ddd;
  background: #fff;
  font-size: 12px;
  text-align: left;
  outline: none;
  padding: 5px;
}
.user_favorites_inside .set-item:hover{
  background-color: #fbb562;
  color: #fff;
}
.user_favorites_inside .set-item.active,
.user_favorites_inside .set-item.active:active,
.user_favorites_inside .set-item.active:focus{
  background-color: #ddd;
  color: #000;
}
.user_favorites_inside .set-item.active:hover{
  background-color: #fbb562;
  color: #fff;
}

.user_favorites_inside .selected_books{
  overflow: auto;
}
.user_favorites_inside .selected_books div{
  margin: 3px 0;
  white-space: nowrap;
}
.user_favorites_inside .text-right,
.user_favorites_inside .text-left{
  width: auto;
}
.user_favorites_inside .booklist-item.active{
  background: #fbb562;
  color: #fff;
  background-image: -webkit-linear-gradient(top, #fccc94, #fbb562 78%, #fa9e30);
  position: relative;
}
.user_favorites_inside .booklist-item.active:after{
  display: block;
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  left: 0;
  bottom: 0;
  background: url('../images/fav_check.png') center center no-repeat;
  background-size: contain;
}
.user_favorites_inside .edit_set_name {
  position: absolute;
  left: 4px;
  width: 80%;
  border: none;
}
.user_favorites_inside .set-item.active:hover .edit_set_name{
  color: #000;
}
.user_favorites_inside button img{
  width: 14px;
  height: 14px;
  margin-right: 5px;
  margin-top: -1px;
}
.user_favorites_inside button span{
  vertical-align: middle;
}
/* step3 設定中の条件 */
.stdb_draggable .handler{
  position: relative;
  cursor: move;
  padding-right: 35px;
}
.stdb_draggable .handler .close {
  position: absolute;
  top: 50%;
  margin-top: -13px;
  right: 5px;
  font-size: 26px;
  line-height: 26px;
  padding: 0;
}
#search_condition_view {
  /* display: block; */
  position: fixed;
  /* top: 20%;
  left: 50%; */
  background: #fff;
  /* border: solid 1px #ddd;
  border-radius: 5px; */
  z-index: 999;
  margin: 0;
  overflow: hidden;
  /* padding-bottom: 15px; */
  display: none;
  /* display: block; */
  top: 6%;
  width: 45%;
  height: 86%;
  left: 50%;
}
#search_condition_view .panel-heading{
  width: 100%;
  z-index: 1;
}
#search_condition_view .panel-body{
  /* max-height: 80vh;
  padding-bottom: 0; */
  overflow-y: scroll;
  height: 96%;
}
#search_condition_view .flex-col{
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  /* width: auto; */
  max-height: inherit;
  width: 100%;
}
#search_condition_view fieldset {
  border: solid 1px #ddd;
  padding: 0.6em;
  margin: 2px;
  margin-bottom: 8px;
  display: block;
  flex: 1 1 auto;
  /* width: 260px; */
  min-height: 0;
  /* max-height: 90%; */
  cursor: pointer;
}
#search_condition_view legend {
  display: inline;
  width: auto;
  padding: 0 4px;
  font-size: 1em;
  margin-bottom: 0;
}
#search_condition_view legend span{
  vertical-align: middle;
}
#search_condition_view legend img{
  width: 20px;
  margin-right: 2px;
}
#search_condition_view .child_block{
  max-height: 300px;
  overflow: auto;
  padding: 2px;
}
#search_condition_view .child_block .name{
  font-weight: bold;
}
#search_condition_view .child_block .value{
  padding-left: 1.5em;
  /* margin-bottom: 4px; */
}
#search_condition_view .child_block .empty{
  color: #aaa;
  float: right;
}
#search_condition_view .child_block_content .value{
  padding-left: 0;
}
#search_condition_view .child_block .parent{
  padding-left: 1em;
}
#search_condition_view .child_block .value.parent{
  padding-left: 0;
}
/* #search_condition_view .child_block .parent_name::before{
  content: '▼';
  font-size: 0.8em;
  margin-right: 2px;
} */
#search_condition_view .child_block .item_name{
  padding-left: 1em;
}
#search_condition_view .child_block_option .value.parent{
  padding-left: 3em;
  position: relative;
}
#search_condition_view .info_block_option .all_mode {
  text-align: center;
  color: #aaa;
}
#search_condition_view .child_block_option .mode{
  width: 4em;
  text-align: center;
  color: #aaa;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* #search_shimen_wrap .layout_row{
  padding-bottom: 60px;
} */
/* #search_shimen_wrap.search_modal_iframe{
  min-height: 730px;
} */
#search_shimen_wrap .control-margin-bottom{
  margin-bottom: 60px !important;
}


#search_shimen_wrap .bookpage_b{
  display: flex;
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  height: 60px;
  padding: 4px 5px 0 15px;
  background: #fff;
}
#search_shimen_wrap .mokuji-group {
  margin: 5px 0;
  padding: 0 5px;
}
#search_shimen_wrap .mokuji-group a{
  color: #333;
  font-size: 12px;
  display: block;
}
#search_shimen_wrap .mokuji-group ul{
  padding-left: 4px;
}
#search_shimen_wrap .mokuji-group li{
  position: relative;
  display: block;
  margin: 2px 0;
}
#search_shimen_wrap .mokuji-group li a{
}
#search_shimen_wrap .mokuji-group a:hover,
#search_shimen_wrap .mokuji-group a:focus{
  text-decoration: none;
}
#search_shimen_wrap .mokuji-group h3{
  margin: 0;
}
#search_shimen_wrap .mokuji-item {
  padding: 4px;
  line-height: 1.1;
  position: relative;
  margin-left: 10px;
}
#search_shimen_wrap .mokuji-item:hover{
  background-color: #fbd582;
}
#search_shimen_wrap .mokuji-group .toggle-caret{
  display: block;
  width: 10px;
  height: 16px;
  position: absolute;
  left: 0;
  top: 3px;
  text-align: center;
  padding: 2px 4px;
}
#search_shimen_wrap .mokuji-group .toggle-caret i.fas{
  transform: rotate(45deg);
}
#search_shimen_wrap .mokuji-group .toggle-caret:hover i.fas{
  color: #ffd68a !important;
}
/* 閉じてる時 */
#search_shimen_wrap .mokuji-group .toggle-caret.collapsed i.fas{
  transform: rotate(0);
  color: #6495ed;
}

#search_shimen_wrap .mokuji-item.active{
  background-color: orange;
}
#search_shimen_wrap #shimen_map{
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: block;
  /* position: absolute;
  left: 0;
  top: 0;
  transform-origin: left top; */
}
#search_shimen_wrap #Inputpageno::-webkit-outer-spin-button,
#search_shimen_wrap #Inputpageno::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#search_shimen_wrap #Inputpageno {
    -moz-appearance:textfield; /* Firefox */
    vertical-align: bottom;
}
#search_shimen_wrap .shimen-map-wrap {
  overflow: auto;
  width: 100%;
  height: 100%;
  position: relative;
}
#search_shimen_wrap .cont_sac{
  overflow: hidden;
  padding: 0;
  position: relative;
}
#search_shimen_wrap .link-rect{
  fill: rgba(255, 0, 200, 0);
  cursor: pointer;
  stroke: rgb(0, 186, 248);
  stroke-width: 1.5px;
  pointer-events: auto;
}
#search_shimen_wrap .pop_open:hover .link-rect{
  fill: rgba(255, 0, 200, 0.2);
}
#search_shimen_wrap .zoom_problem .link-rect{
  cursor: zoom-in !important;
}
#search_shimen_wrap .range-overlay{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  /* background-color: rgba(0,0,0, 0.1); */
  display: none;
  cursor: crosshair;
}
#search_shimen_wrap #shimen_map .selection{
  border: 1px dotted #000;
  stroke: #000;
  fill: none;
}
#search_shimen_wrap .mojihyoji button:focus{
  outline: none;
}

#userdatabase{
  z-index: 1;
}

.window_header {
  padding-top:10px;
  padding-left:10px;
}

.window_header_title{
  color:white;
}

.user_database_info{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border: solid 1px #ddd;
  margin: 5px;
  margin-top: 0;
  padding: 5px;
}

.pull-left{
  float:left;
}

.pull-right{
  float:right;
}


.userdatabase_edit_cell{
  width:125px;
}


.execute_userdatabase_change{
  padding: 0px;
  font-size: 11px;
  margin-right: 10px;
  padding-top: 15px;
  min-width: 8em;
  padding-bottom: 15px;
  margin-bottom: 10px;
}
.userdatabase_title_area{
  margin: 10px;
    border-radius: 3px;
    border: 1px solid dodgerblue;
    padding: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    background-color: aliceblue;
    font-size: 12px;
}
.userdatabase_search_info{
  margin: 10px;
    margin-top: 0px;
    padding: 10px;
    font-size: 12px;
}
.userdatabase_search_info-author{
  min-width: 10em;
  margin-right: 10px;
}

.userdatabase_search_info-title{
  min-width: 20em;
}
.change_genre{
  text-align: center;
  margin:auto;
}
.change_genre > a {
  width: 10em;
  margin: 20px;
  font-weight: bold;;
}

.user_database_inside_wrap .ste1_left_column{
  height: 100%;
}
.user_database_inside_wrap .mondai_area{
  margin: 0;
  margin-top: 10px;
}
.user_database_inside_wrap .search_result_col{
  display: flex;
  flex-direction: column;
  padding-right: 0;
}
.userdatabase_edit .bg-colorble{
  align-items: stretch;
  padding: 15px;
}
.userdatabase_edit .col-sm-10{
  padding-left: 15px;
  padding-right: 15px;
}
.userdatabase_edit .sarch_tab{
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}
.userdatabase_edit .userdatabase_edit_form{
  height: 100%;
}
.userdatabase_edit .layout_row{
  min-height: 1px;
}
.userdatabase_edit .bgwht {
  height: 100%;
  margin: 0;
}
.user_problem_author,
.suken_problem_author {
  text-align: center;
  font-size: 12px;
  padding-top: 5px;
}
.user_database_inside_wrap .delete_checkbox{
  visibility: hidden;
  display: none;
}
.user_database_inside_wrap .delete_checkbox + .delicon{
  /* visibility: hidden; */
  width: 24px;
  height: 24px;
  visibility: hidden;
}
.user_database_inside_wrap .delete_checkbox:checked + .delicon{
  visibility: visible;
}
.user_database_inside_wrap tr.del_checked{
  color: #999;
}
.which_print_file_type{
  text-align: center;
  margin:auto;
}
.which_print_file_type > a {
  margin: 20px;
  font-weight: bold;;

}

.check_word{
  font-size:0.8em;

}

.online-print-list-table  td {
  padding:5px;
  text-align: left;
  vertical-align: middle !important;
}

.al:hover{
  opacity: 0.8;;
}


.lisence_area{
 overflow-x: hidden;
 overflow-y: scroll;
 height: 85%;
}


.lisence_main > h1{
  font-size:24px;
  text-align: center;;
}

.lisence_data{
  white-space: pre-wrap;
  padding: 1em;
  padding-left: 4em;
  padding-right: 4em;
}
.error_area{
  color:red;
  text-align: center;;
  padding-top:2em;
}


.subject_title{
  font-size:0.8em;
  font-weight: bold;;
}

.qrcode {
  width: 250px !important;
  height: 250px !important;
  max-width: 100% !important;
  max-height: 100% !important;
  text-align: center !important;
}

#printIdForCopy {
  font-size: 30px;
  border: none;
  text-align: center;
}

/* 汎用モーダルのデザインのiframe版 */
.common-iframemodal iframe{
  border: none;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}
.common-modal-css .iframe_inside_wrap{
  padding-top: 0;
}
.common-modal-css .modal-body{
  padding: 15px 10px;
}

/* 類問検索  */
#ruimon-searchmodal .modal-dialog{
  width: 98%;
  height: 90%;
}
#ruimon-searchmodal .modal-content {
  height: 100%;
}
.ruimon_theme_select {
  margin: 0 4px;
  margin-left: 2em;
}
.ruimon_theme_button{
  margin-left: auto;
}
.ruimon_buttons{
  display: flex;
  flex-wrap: wrap;
}
.ruimon_buttons > div{
  margin: 5px auto;
}
.search_ruimon .form-group{
  padding-left: 1em;
  margin-bottom: 1.5em;
}

.modal-iframe{
  width: 98%;
  height: 96%;
}
.booklist-filter{
  margin-top: 5px;
}
.booklist-filter .btn{
  font-size: 12px;
}

#helpIframe > iframe {
  display: block;
    width: 100%;
    border: none;
    min-height: 400px;
}
.nav-contact-link{
  text-align: left;
}
/* 関連問題 */
/* step4, userdatabase共通 */
.mondai_area{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}
.related-problem-box {
  background-color:#337ab7;
  height: 150px;
  min-height: 80px;
  padding: 4px;
  border-radius: 6px;
  position: relative;
  flex-direction: column;
  /* デフォルト非表示 */
  display: none;
}
.related-problem-box.active{
  display: flex;
}
.related-problem-head {
  position: relative;
  padding: 4px;
  margin-bottom: 2px;
}
.btn-related-book-filter {
  position: absolute;
  right: 4px;
  top: 4px;
}
.related-problem-table{
  background-color: #fff;
  overflow-y: auto;
}

#relatedProblemFilterModal {
    height: 100%;
    z-index: 99999;
}
.related-problem-filter-modal .modal-dialog{
  width: auto;
  max-width: 100%;
}
.related-problem-filter-modal .modal-content{
  max-height: calc(100% - 70px);
  max-width: 98%;
  /* position: relative; */
}
.related-problem-filter-modal .modal-body{
  background-color: aliceblue;
  max-height: calc(100vh - 170px);
  overflow: auto;
  padding: 0;
}
.related-problem-filter-modal .modal-footer{
  height: 65px;
  width: 100%;
  background-color: #fff;
}
.related-problem-filter-modal .buttons {
  text-align: right;
  margin: 8px;
}
.related-problem-filter-modal .filter-list{
  margin: 4px;
  display: flex;
  /* flex-wrap: wrap; */
}
.related-problem-filter-modal .filter-category-item {
  margin: 4px;
  min-width: 200px;
}
.related-problem-filter-modal .filter-list ul{
  list-style: none;
  background-color: #fff;
  padding: 5px;
  border: solid 1px #ccc;
  margin: 0;
  height: calc(100% - 1.5em);
}
.related-problem-detail-view{
  position: absolute;
  /* position: fixed; */
  top: 50px;
  left: 40%;
  z-index: 100;
  padding: 0;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.6);
  /* max-height: 98vh; */
  min-width: 400px;
  margin: 0 !important;
  overflow: hidden;
}
.related-problem-detail-view .preview_layout_image {
  margin-top: 0;
}
.related-problem-detail-view .panel-body{
  padding: 0;
  display: flex;
}
.related-problem-detail-view .inside{
  padding: 10px;
  /* display: flex; */
  /* flex-direction: column; */
  /* max-height: calc(90vh - 66px); */
  height: 100%;
  width: 100%;
}
.related-problem-detail-view .prebox{
  min-height: 0;
  max-height: 50%;
}
.popupfilters {
  position: relative;
}
.popupfilter {
  position: absolute;
  top: 0;
  background-color: #fff;
  z-index: 999;
  border: solid 1px #000;
  max-width: 100vw;
  padding: 10px;
  display: none;
}
.popupfilter .btn-area{
  text-align: right;
  margin-top: 10px;
}
.popupfilter-sort label{
  margin-left: 8px;
}
@media all and (-ms-high-contrast:none){
  .popupfilter-sort .step4Sort{
    font-family: "ＭＳ Ｐゴシック", "MS PGothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro","メイリオ", "Meiryo", Arial, sans-serif;
  }
}
.select-all-modal .modal-dialog,
.select-random-modal .modal-dialog {
  width: 400px;
}
/* .select-all-modal .modal-header,
.select-random-modal .modal-header {
  padding: 5px 15px;
} */
/* .select-all-modal .modal-title,
.select-random-modal .modal-title{
  line-height: 30px;
} */
@media all and (-ms-high-contrast:none) {
  .select-all-modal .modal-title,
  .select-random-modal .modal-title{
    font-family: "メイリオ",Meiryo,sans-serif;
  }
}
.select-random-exclude-area {
  margin-top: 1em;
}
.select-random-exclude-area label{
  font-weight: normal;
}
.probleminfo-dialog {
  width: 480px;
  max-width: 90%;
  min-width: 200px;
  margin: 0;
  z-index: 1000;
  position: fixed;
  top: 10px;
  right: 10px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;

  overflow: hidden;
}
.probleminfo-detail{
  display: flex;
  flex-direction: column;
  height: calc(100vh - 140px);
  overflow: hidden;
}
.probleminfo-detail .prebox{
  min-height: 1px;
}
.probleminfo-detail .step4-preview {
  flex: 1;
  min-height: 50%;
}
.index-header-menu{
  position: absolute;
  right: 0;
  text-align: right;
}
.style-form-row {
  display: flex;
  margin-bottom: 15px;
}
.style-form-row > div{
  flex: 1;
}
.style-form-row .checkbox {
  margin: 0;
}
.style-form-row .checkbox.disabled{
  opacity: 0.5;
}
.style-form-row .checkbox.with-brackets label{
  padding-left: 24px;
}
.style-form-row .checkbox.checbox-switch {
  all: none;
}
/* 汎用radioスイッチ表示 */
.switch-group{
  display: flex;
  background-color: #2171AB;
  padding: 4px;
}
.switch-group input[type=radio] {
  display: none;
}
.switch-group label{
  display: block;
  flex: 1;
  text-align: center;
  margin: 0;
  background-color: #fff;
  cursor: pointer;
}
.switch-group input[type=radio]:checked + label{
  background-color: transparent;
  color: #fff;
}
.loginpage .form-control{
  display: inline-block;
  width: auto;
}
/* .canvas_size.disabled{
  opacity: 0.6;
} */
.canvas_size.disabled a{
  color: #666 !important;
}

#problemhistorymodal .modal-dialog{
  height: 80%;
}
#open-print-list-modal .modal-content {
  height: 80vh;
  max-height: 90vh;
}
#open-print-list-modal .table-responsive{
  max-height: 49vh;
  overflow-y: auto;
}
#open-print-list-modal table{
  margin: 0;
}
#open-print-list-modal th{
  white-space: nowrap;
}
#open-print-list-modal .buttons{
  padding: 4px;
}
#open-print-list-modal .buttons .btn{
  margin: 4px;
}

.select-probleminfo-dialog{
  min-width: 340px;
  width: 40vw;
  height: auto;
  min-height: 100px;
  left: 50%;
  top: 50%;
  position: fixed;
  overflow: hidden;
}
.select-probleminfo-dialog .modal-header{
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 14px;
  min-height: 30px;
}
.select-probleminfo-dialog .modal-title{
  font-size: 14px;
}
.select-probleminfo-dialog .modal-body{
  padding: 4px;
}

.step2_btn_style{
  border: 1px solid #777;
  font-size:14px !important;
  text-align: left;
  width: 200px;
  display: flex;
  align-items: center;
}
.step2_btn_style img{
  display: block;
}

/* 汎用モーダルスタイル */
.master-modal .modal-dialog{
  width: auto;
}
.master-modal .modal-content{
  width: auto;
  min-width: 350px;
  margin: 0;
  /* left: 50%;
  transform: translateX(-50%); */
}
.master-modal .modal-body{
  font-size: 1.1em;
}
fieldset.bordered{
  border: 1px solid #c0c0c0;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 5px;
}
fieldset.bordered legend{
  width:auto;
  padding:0 4px;
  border-bottom:none;
  font-weight: normal;
}
fieldset.bordered .form-group{
  padding-left: 1em;
}
fieldset.bordered .form-group:last-child{
  margin-bottom: 0;
}
fieldset.bordered .checkbox,
fieldset.bordered .radio{
  margin: 0;
  height: 30px;
}
.use_problem_modal fieldset:disabled {
  opacity: 0.5;
}
.use_problem_modal .file-input{
  display: flex;
  width: 100%;
  align-items: ceneter;
  justify-content: space-between;
  font-weight: normal;
}
.use_problem_modal .file-input button{
  width: 8em;
}

#selectProbleminfoDialog{
    z-index:99999;
    max-height: 110%;
}
#selectProbleminfoDialog .modal-body{
  height: calc(100% - 40px);
}
#SelectedLayoutPreview {
  height: 100%;
}
#LayoutPreviewParent {
  height: 100%;
}
#styleNumberPosition{
    font-size:12px;
}

.disable_popup_btn{
  color: #777;
}


#selectAllStartNum,#selectRandomMax {
  display:inline;
  max-width: 80px;
}

.search_cancel {
  height: 38px;
}

#layoutmondailist-Modal input[type=checkbox] {
  margin: 0;
}
#layoutmondailist-Modal tr.selected td {
  background-color: #ffb26d !important;
  height: 100%;
}
#layoutmondailist-Modal .layoutitem_chk {
  width: 40px;
}
/* #layoutmondailist-Modal .layou.listtitlebar_sen hrtitem_no {
  width: auto;
  padding-right: 0;
} */
#layoutmondailist-Modal .table-responsive {
  max-height: 50vh;
}
.table-responsive .table{
  margin: 0;
}
.listtitlebar:hover {
  background-color: #fbb562;
  color: #fff;
}

.listtitlebar:hover .listtitlebar_sen hr {
  border-color: #fff;
}

.listtitlebar:hover i {
  color: #fff;
}


.loginpage #el {
  height: calc(100% - 20px);
  overflow: auto;
}
#problemHistoryDetailModal {
  overflow: hidden;
  z-index: 99999;
}
#problemHistoryDetailModal .modal-content{
  width: auto;
  margin: 0px;
  overflow: auto;
}
#problemHistoryDetailModal .modal-dialog{
  position: absolute;
}
#problemHistoryDetailModal th,#problemHistoryDetailModal td{
  white-space: nowrap;
}
#problemHistoryDetailModal .table-parent,#problemHistoryDetailModal ul{
  max-height: 150px;
  overflow: auto;
}
#problemHistoryDetailModal .modal-body{
  padding: 4px;
  overflow: auto;
}
#problemHistoryDetailModal fieldset{
  padding: 4px;
}
#problemHistoryDetailModal fieldset:last-child{
  margin-bottom: 0;
}
#problemHistoryDetailModal legend{
  margin-bottom: -0.3em;
}
#problemHistoryDetailModal table,
#problemHistoryDetailModal ul{
  margin: 0;
}
#problemHistoryDetailModal ul {
  padding-top: 4px;
  padding-bottom: 4px;
}
#problemHistoryDetailModal th{
  padding: 4px;
  line-height: 1.1;
}

/* tooltip */
.step1-tooltip {
  font-size: 11px;
  background: #eee;
  max-width: 250px;
  box-shadow: 1px 1px 3px #aaa;
}
.step1-tooltip-title {
  color: #fff;
  background: #666;
  padding: 6px;
}
.step1-tooltip-note {
  padding: 4px;
}

.step3-sourcelist, .step3-sourcelist ul {
  list-style-type: none;
  padding: 10px;
}
.step3-sourcelist > li {
  margin-bottom: 10px;
}
.step3-sourcelist a.collapse-toggle {
  height: auto;
  text-align: left;
  /* border: solid 1px red; */
  padding: 4px 10px;
  text-decoration: none !important;
  font-size: 1em;
  background: #dde3e6;
  font-weight: bold;
  color: #333;
}
.step3-sourcelist a.collapse-toggle i{
  color: #999;
  font-size: 16px;
  line-height: 1;
  margin-left: -5px;
  margin-right: 10px;
  margin-top: 2px;
}
.step3-sourcelist a.collapse-toggle:hover i{
  color: #333;
}
.step3-sourcelist a.collapse-toggle.collapsed i{
  transform: rotate(180deg);
}
.step3-source-child {
  padding:8px 10px;
  padding-left: 20px;
  background-color: #fafafa;
  display: flex;
  flex-wrap: wrap;
}
.step3-sourcelist .source_item {
  flex-basis: auto;
  min-width:200px;
  white-space: nowrap;
}

/* チェックボックスの下にテキストが回り込まないようにする */
.search_3_checkbox li label {
  padding-left: 1.5em;
  padding-right: 1px;
  position: relative;
  display: inline-flex; /* リストマーカーが下についてしまう現象を回避 */
}
.search_3_checkbox li label > input[type="checkbox"]{
  position: absolute;
  left: 0;
}

#search_condition_view .child_block_source .name{
  display: none;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance:textfield;
}
.hidden_box_style .tab-content_style {
  padding: 20px 30px;
}

.modaltitleble .modal-title {
  font-size: 14px;
}

.modaltitleble button.close {
  font-size: 25px;
}

#AllSelectNotMessage {
  white-space: nowrap;
}


/** 狭い画面対応 */
@media screen and (max-width:768px) {
  body {
    max-width: 1280px;
  }
  .footer.footer {
    position: absolute;
    width: auto;
    min-width: 100%;
    left: 0;
  }
  .footer-btnnavi{
    justify-content: flex-start;
  }
  .search_modal_iframe {
    min-width: 768px;
  }
  #search_problem_div {
    width: 100%;
    overflow-x: auto;
  }
  .cont_sac{
    min-width: 0;
  }
  #index-page{
    position: relative;
    height: 100%;
    overflow: auto;
  }
  #popup_style_settings {
    right: -60px;
  }
  .hidden_box_style .aliceble .fukidashi {
    right: 90px;
  }
  .page-nums,#page-range{
    bottom: 110px;
  }
  .modal-open .modal{
    overflow-x: auto;
  }

}

@media screen and (max-height:500px) {
  .search_modal_iframe {
    min-height: 500px;
  }
  #search_problem_div {
    height: 100%;
    overflow-y: auto;
  }
}

.float-left{
    float:left;
}
.step4-pager{
    float: left;
    position: relative;
    top: -17px;
    left: 20px;
    margin-bottom: -17px;
}
.step4-pager>div{
    width:250px;
}

/* .step4_prev_arrow{
    font-size:14px;
}
.step4_next_arrow{
    font-size:14px;
} */

.step4_pager_fa{
  float: none;
  font-size :16px;
}

.step4_pager_arrow.disabled {
  opacity : 0.3;
  cursor: not-allowed;
}

.header-print-name{
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 20em;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: baseline;
    font-family: Arial, Helvetica, sans-serif;
  }
  @media screen and (max-width:700px) {
    .header-print-name{
      max-width: 10em;
    }
  }

.header-notice-link{
    position: absolute;
    top: 5px;
    right: 0px;
    transform: translateX(-50%);
    max-width: 20em;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: baseline;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #F2F2F1;
    cursor: pointer;
}

#problemListTable > tbody > tr > td {
    padding:4px;
    border-right: 1px solid #ddd;
}
#relatedProblemListTable > tbody > tr > td {
    padding:4px;
    border-right: 1px solid #ddd;

}
span.opener .fa-caret-right {
  transform: rotate(45deg);
  font-size: 18px;
  margin-right: 6px;
  margin-top: 2px;
}
span.opener.closed_opner .fa-caret-right {
  transform: rotate(0);
  font-size: 18px;
  margin-right: 6px;
  margin-top: 1px;
  color: #6495ed;
}
span.opener:hover .fa-caret-right {
  color: #ffd68a !important;
}
span.opener {
  position: absolute;
  margin-left: -13px;
}

.parent_name .fa-caret-right {
  transform: rotate(45deg);
  margin-top: 3px;
}

#sendModal .form-control {
  color: #000;
}
.answer_option:disabled {
  color: #555 !important;
}

.hidden_box_style .tabstyle li, #Modal_property .tabstyle li {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro","メイリオ", "Meiryo", sans-serif;
}

.option_mode {
  border: 1px solid #999;
  border-radius: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
}
.laoutmondaimenu button:hover {
  background-color: #B7D8ED;
  text-decoration: none;
}
.laoutmondaimenu button:hover:disabled {
  background-color: transparent;
}

#sendModal input[type=checkbox] {
  position: relative;
  top: -3px;
  margin-right: 5px;
  vertical-align: middle;
}

#search_shimen_wrap .sentaku {
  padding-bottom: 60px;
}

.option_mode:before {
    content: "検索モード";
    position: absolute;
    top: -10px;
    left: 1em;
    padding: 0 2px;
    background-color: white;
}

/* center_position モーダル中央表示 */
.center_position .modal-dialog{
  height: 100%;
  width: 100%;
  margin: 0;
}
.center_position .modal-content{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  min-width: 250px;
  margin: 0;
  outline: 1px solid transparent;
}

.step4-problem-tab-content .tab-pane, .relatedTabPane .tab-pane {
  padding-top: 15px;
}

#relatedProblemTitle div {
  display: inline-block;
}
#relatedProblemPreview .madomaru_box {
  font-size: 14px;
  padding: 10px;
}

.mondai_area .scroll-y,.related-problem-box .scroll-y {
  overflow-x: hidden;
}
.search_problem_step3 .btn-switch-checkbox.has-conditions::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  top: 8px;
  left: 0;
  background: url('/images/pin.png') no-repeat center center;
  background-size: contain;
}

#lisence_submimt_btn.disabled{
  opacity: 0.4;
  cursor: not-allowed;
}

.error_content {
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(100% - 30px);
  width: 98%;
}
.error_data {
  white-space: pre-wrap;
  padding-left: 10px;
  padding-right: 10px;
}
.error_container .row {
  padding-top: 60px !important;
}
.error_container h4 {
  margin-top: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}
#error_logout_btn {
  top: 0;
  bottom: 0;
  right: 20px;
  position: absolute;
  margin: auto;
  width: 85px;
  height: 50px;
}

#tab_content li {
  list-style: none;
}
#tab_content ul,#tab_target ul {
  padding-left: 23px;
}
#tab_content .search_3_checkbox li label {
  white-space: nowrap;
}

label.indeterminate::after {
  content: "";
  display: block;
  position: absolute;
  background-color: #fff;
  top: 9px;
  left: 2px;
  width: 9px;
  border-top: 2px solid #000;
}

/* レイアウト設定のレイアウト問題一覧のindeterminate*/
#layoutSettings label {
  margin : 0;
  position: relative;
}

#layoutSettings .with-brackets label.indeterminate::after {
  left:6px;
}

/* レイアウト問題一覧のindeterminate */
.layoutitem_chk label {
  margin : 0;
  position: relative;
}

.layoutitem_chk label.indeterminate::after{
  top: 5px;
  left: 2px;
  width: 9px;
}

.step3-search_info-nowrap{
  position: relative;
  overflow: auto;
  width: 100%;
  height: 100%;
}
.step3-search_info-nowrap .search_3_checkbox {
  display: flex;
}
.step3-search_info-nowrap .search_3_checkbox label{
  white-space: nowrap;
}
.step3-search_info-nowrap .step3-inside-scroll-wrap{
  position: absolute;
  left: 0;
  top: 0;
  min-width: 100%;
  min-height: 100%;
}
.step3_form #tab_option li{
  list-style-type:  none;
}
.step3_form .item-canexpand,
.step3_form .item-canexpand li {
  list-style-type: none;
}
.step3_form .item-hasline {
  border-left: 1px #aaa solid;
  border-radius: 10px 0 0 10px;
}

.step3_form .item-hasline li {
  list-style: none;
}

.step3_form .item-hasline-hide .item-hasline{
  border: none;
}

.online-print-list-table > tbody > tr > td.print_name{
  word-wrap: break-word;
  word-break:break-all;
}
.online-print-list-table > tbody > tr > td.author{
  word-wrap: break-word;
  word-break:break-all;
}
.online-print-list-table > tbody > tr > td.comment{
  word-wrap: break-word;
  word-break:break-all;
}

.onlinie_print_list {
    height: 88%;
    overflow-y: auto;
}

.online-print_name{
   min-width: 10em;
}
.online-author{
    min-width:6em;
}
.online-comment{
    min-width: 8em;
}
.online-send{
    width: 150px;
}
.online-limit{
    width: 150px;
}
.online-size{
    min-width: 60px;
}
.online-type{
    width: 150px;
}
.online-client{
    min-width: 80px;
}
.online-btn{
    width: 150px;
}
#tab_content .content_box{
  padding: 2px;
  height: 100%;
}
#tab_content .content_box ul{
  padding: 0;
  margin: 0;
}
#tab_content .content_box .btn-switch-checkbox{
  padding-left: 20px;
  text-align: left;
  margin: 0;
}
#tab_content .content_box .btn-switch-checkbox:focus{
  outline: none;
}

/***
 * step4検索 プレビューと問題情報の間のセパレーターの対応
 */
.search_problem_step4 .center-col .prebox{
  margin-bottom: 0;
  min-height: 100px;
  max-height: calc(100% - 110px);
}
.search_problem_step4 .layout_row .center-col{
  padding-left: 0;
  padding-right: 0;
}
.search_problem_step4 .step4-preview-ProblemTabPane-hr{
  border: none;
  width: 100%;
  margin: 0;
  cursor: row-resize;
  background-color: #EEE;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
	-ms-touch-action : none ;
	touch-action : none ;
	-ms-touch-action : none ; /* for *IE10 */
	touch-action : none ;
}
.search_problem_step4 .step4-searchResult-colCenterCol-line,
.search_problem_step4 .step4-colCenterCol-selectedProblems-line{
  border: none;
  height: 100%;
  width: 15px;
  margin: 0;
  cursor: col-resize;
  background-color: #EEE;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
	-ms-touch-action : none ;
	touch-action : none ;  
}
.search_problem_step4 .sentaku-closed .step4-colCenterCol-selectedProblems-line{
  visibility: hidden;
}
.search_problem_step4 .step4-searchResult-colCenterCol-line .fas,
.search_problem_step4 .step4-colCenterCol-selectedProblems-line .fas,
.search_problem_step4 .step4-preview-ProblemTabPane-hr .fas{
    margin-right: 0;
}

/***
 * プログレスバーの読込中モーダル
 */
.exec_progress_modal{
  z-index: 999999;
  cursor: wait;
}
.exec_progress_modal_backdrop{
  position: fixed;
  z-index: 999000;
  cursor: wait;
}
.exec_progress_modal .modal-title{
  text-align: center;
}
