/*** 主に全ての画面のデザイン ***/

:root {
  --color1: #f9ffff;
  --color2: #1C658C;
  --color3: #398AB9;
  --color4: #06293c;
  --color5: #CCCCCC;
  --color6: #D8D2CB;
  --color-lgray: #EEEEEE;
  --color-help: #4B4B4B;
}

*::-webkit-scrollbar{
	width: 5px;
}
*::-webkit-scrollbar-track{
	background: #fff;
	border: unset;
	box-shadow: none;
}
*::-webkit-scrollbar-thumb{
	background: #ccc;
	border-radius: 10px;
}

.main{
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}

.menu_area{
  background-color: var(--color2);
  float: left;
  width: 200px;
  height: 100vh;
  padding: 1rem;
  transition: all .5s;
  position: fixed;
  left: 0;
  z-index: 10;
  box-shadow: 0.125rem 0 0.25rem;
}

.menu_area .logo{
  background-image: url(../image/logo.png);
  background-size: contain;
  background-repeat:no-repeat;
  background-position: center;
  height: 50px;
  margin-bottom: 2rem;
}

.menu_area a{
  text-decoration: none;
}

.menu_area ul{
  padding-left: 0;
  overflow-y: auto;
  max-height: calc(100vh - 140px);
}

.menu_area a li{
  color: var(--bs-white);
  padding-left: 2rem;
}

.menu_area li{
  cursor: pointer;
  list-style: none;
  padding: 0.875rem 0.125rem 0.875rem 0;
  font-weight: bold;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: left center;
}

.menu_area li:hover{
  opacity: 0.7;
}

.req-cnt{
  background-color: darkgray;
  border-radius: 50%;
  color: whitesmoke;
  font-weight: bold;
  text-align: center;
  height: 24px;
  width: 24px;
  display: inline-block;
  margin-left: 1rem;
}

/* メニューのアイコン */
.menu_area .Application-edit{ background-image: url(../image/icon-edit.png); }
.menu_area .Application{ background-image: url(../image/icon-manual-manage.png); }
.menu_area .Approval{ background-image: url(../image/icon-task.png); }
.menu_area .Request{ background-image: url(../image/icon-stamp.png); }
.menu_area .Manual{ background-image: url(../image/icon-book.png); }
.menu_area .Release{ background-image: url(../image/icon-release-manage.png); }
.menu_area .Route{ background-image: url(../image/icon-chart.png); }
.menu_area .ApproveBlock{ background-image: url(../image/icon-block.png); }
.menu_area .ApproveRoute{ background-image: url(../image/icon-chart.png); }
.menu_area .RingiTemplate{ background-image: url(../image/icon-warehouse.png); }
.menu_area .RingiTemplateCate{ background-image: url(../image/icon-warehouse.png); }
.menu_area .Office{ background-image: url(../image/icon-office.png); }
.menu_area .User{ background-image: url(../image/icon-user.png); }
.menu_area .Info{ background-image: url(../image/icon-info.png); }
.menu_area .Account{ background-image: url(../image/icon-account.png); }
.menu_area .Logout{ background-image: url(../image/icon-logout-manage.png); }


.menu_area_hide{
  left: -200px;
  transition: all .5s;
  box-shadow: unset !important;
}

#MenuHideBtn{
  border-top: solid 1px var(--bs-white);
  color: var(--bs-white);
  padding: 1rem 0;
  font-size: 14px;
  text-align: left;
  bottom: 0;
  position: absolute;
  width: calc(100% - 2rem);
}

.contents_area{
  float: left;
  width: calc(100% - 200px);
  height: 100vh;
  transition: all .5s;
  position: absolute;
  left: 200px;
}

.contents_area_hide{
  left: 0px;
  transition: all .5s;
  width: 100% !important;
}


.contents_header{
  background-color: var(--color3);
  width: 100%;
  height: 50px;
  padding: 0 1rem;
}

.contents_header .header_menu{
  background-image: url(../image/icon-humberger.png);
  background-size: contain;
  background-repeat:no-repeat;
  background-position: center;
  width: 28px;
  height: 28px;
  margin: 0.625rem 1rem;
  display: inline-block;
  cursor: pointer;
  float: left;
}

.contents_header .header_menu:hover{
  opacity: 0.7;
}

.contents_header .header_title{
  display: inline-block;
  margin-left: 0.5rem;
  height: 50px;
  line-height: 50px;
  font-weight: bold;
  font-size: 18px;
}

.contents{
  width: 100%;
  height: calc(100vh - 76px);
  background-color: var(--color1);
  box-sizing: border-box;
  padding: 1rem 1.5rem 0.5rem;
  z-index: 1;
  overflow-y: auto;
}

.footer {
  color: var(--bs-white);
  background-color: var(--color2);
  padding: 0.125rem 0;
  text-align: center;
  font-size: 14px;
  height: 26px;
  width: 100%;
  z-index: 10;
}

.popup-field-ok {
	background-color: #CCFFCC;
	box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.4);
	z-index: 20000;
	border: solid 1px #ACA;
	border-radius: 5px;
	padding: 10px;
	position: fixed;
	left: 50%;
	top: 60px;
	transform: translate(-50%,-50%);
	display: none;
}
.popup-field-ng {
	background-color: #FFCCCC;
	box-shadow: 2px 2px 4px 2px rgba(0,0,0,0.4);
	z-index: 20000;
	border: solid 1px #CAA;
	border-radius: 5px;
	padding: 10px 20px;
	position: fixed;
	left: 50%;
	top: 60px;
	transform: translate(-50%,-50%);
	display: none;
}

.popup-field-second {
	top: 120px;
}

.menu-title-area{
  font-weight: bold;
  padding: 0 0 1rem 0;
  line-height: 28px;
  box-sizing: content-box;
  position: relative;
}

.menu-title-area .icon{
	width: 28px;
  height: 28px;
  background-size: cover;
	cursor: pointer;
  display: inline-block;
  margin-left: 20px;
  position: absolute;
}

.menu-title-area .title{
  font-size: 110%;
}

.icon{
  width: 18px;
  height: 18px;
  cursor: pointer;
  background-size: cover;
}

.icon:hover{
  opacity: 0.7;
}

.icon-question {
  background-image: url(../image/icon-question.png);
  display: inline-block;
}

.icon-menu {
  background-image: url(../image/icon-menu.png);
}
.icon-menu:hover {
  opacity: 0.7;
}
.icon-export {
  background-image: url(../image/icon-export.png) !important;
}
.icon-export:hover {
  opacity: 0.7;
}

.icon-search {
  background-image: url(../image/icon-search.png);
  margin-left: 65px !important;
  transform: scale(1.1);
}
.icon-search:hover {
  opacity: 0.7;
}

.icon-menu-area{
  box-shadow: #CCC 2px 2px 4px 0;
  border: solid 1px #CCC;
  border-radius: 5px;
  padding: 0;
  display: none;
  position: fixed;
  min-width: 120px;
  background-color: var(--bs-white);
  z-index: 2000;
}
.icon-menu-area ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

.icon-menu-area li{
  margin: 1px;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  cursor: pointer;
}

.icon-menu-area li:hover{
  background-color: var(--color5);
  opacity: 0.8;
}

.thum-image, .thum-file{
  cursor: pointer;
}

.thum-image:hover, .thum-file:hover{
  opacity: 0.8;
}


.title{
  position: relative;
  height: 40px;
  margin-bottom: 1rem;
}

.title span{
  color: var(--color3);
  background-color: var(--color2);
  font-size: 24px;
  font-weight: bold;
  margin-left: 2.5rem;
  position: absolute;
  padding: 0 0.25rem;
}

.help_area{
  display: none;
  opacity: 0.97;
  background-color: var(--color-help);
  color: var(--bs-white);
  position: fixed;
  max-width: 360px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.tdeco-none{
  text-decoration: none !important;
}

.request_mark {
  color: var(--bs-red);
  margin-left: 5px;
}

.loading{
  text-align: center;
  color: var(--bs-dark) !important;
  display: inline-block;
  vertical-align: text-bottom;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0;
  -webkit-animation: .75s linear infinite spinner-grow;
  animation: .75s linear infinite spinner-grow;
  position: absolute;
  width: 2rem;
  height: 2rem;
  top: 30%;
  left: 50%;
}

select option:disabled {
  background: var(--color-lgray);
}

.pickup{
  background-image: url(../image/icon-pickup.png);
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center center;
}

.non_pickup{
  background-image: unset;
}

/* 更新情報 */
/* 更新情報デザイン */
.release_list{
  list-style: none;
  padding-left: 0;
}

.release_list li{
  position: relative;
  border: solid 1px var(--color5);
  border-radius: 10px;
  padding: 0.75rem 1.5rem 0.75rem 0.75rem;
  cursor: pointer;
  background-image: url(../image/icon-underarrow.png);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: top 0.75rem right 0.5rem;
}

.release_list li:hover{
  opacity: 0.7;
}

.release_list .list_date{
  width: 105px;
  display: inline-block;
}

.release_list .list_title{
  width: calc(100% - 110px);
  display: inline-block;
}

.release_list .list_detail{
  display: none;
  padding: 0.25rem 0.5rem;
}

input.error, select.error, textarea.error {
  background-color: #fdd !important;
}

.fs-large{
  font-size: 18px;
}

.fs-middle{
  font-size: 16px;
}

.fs-small{
  font-size: 14px;
}

.test_area{
  position: absolute;
  top: .5rem;
  right: 1rem;
  padding: .25rem 2rem;
  background-color: #ffdf00;
  border-radius: 1rem;
  font-weight: bold;
  z-index: 1;
}

.link{
  color: #0d6efd;
  text-decoration: underline;
  cursor: pointer;
}

.spinner{
  position: fixed;
  top: 50%;
  left: 50%;
}

.emphasis{
  background-color: #ffd6d6;
}

.route_group_user{
  background-color: #f3f3f3;
  font-size: 13px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.itemlist {
  position: relative;
}
.itemlist .sort_icon {
  position: absolute;
  top: 4px;
  right: -20px;
  width: 20px;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/*
#ringi_item_list .itemlist:last-child .sort_icon {
  display: none !important;
}*/
.itemlist .sort_icon img {
  width: 100%;
  cursor: pointer;
}


/* PCサイズ */
@media screen and (min-width: 768px) {

  .smt_only{
  	display: none !important;
  }

  .w5 { width:  5% !important; }
  .w10{ width: 10% !important; }
  .w15{ width: 15% !important; }
  .w20{ width: 20% !important; }
  .w25{ width: 25% !important; }
  .w30{ width: 30% !important; }
  .w40{ width: 40% !important; }
  .w45{ width: 45% !important; }
  .w49{ width: 49% !important; }
  .w50{ width: 50% !important; }
  .w55{ width: 55% !important; }
  .w60{ width: 60% !important; }
  .w70{ width: 70% !important; }
  .w75{ width: 75% !important; }
  .w80{ width: 80% !important; }
  .w85{ width: 85% !important; }
  .w90{ width: 90% !important; }
  .w100{ width: 100% !important; }

  .ml25{ margin-left: 2.5rem !important; }

}

/* スマホサイズ */
@media screen and (max-width: 767px) {


  .pc_only{
  	display: none !important;
  }

  .smtw10{ width: 10% !important; }
  .smtw20{ width: 20% !important; }
  .smtw25{ width: 25% !important; }
  .smtw30{ width: 30% !important; }
  .smtw40{ width: 40% !important; }
  .smtw45{ width: 45% !important; }
  .smtw50{ width: 50% !important; }
  .smtw60{ width: 60% !important; }
  .smtw70{ width: 70% !important; }
  .smtw75{ width: 75% !important; }
  .smtw80{ width: 80% !important; }
  .smtw90{ width: 90% !important; }
  .smtw100{ width: 100% !important; }

  .contents{
    padding: 0.75rem 0.5rem;
  }

  .popup-field-ok {
  	width: 60vw;
  }

  .popup-field-ng {
  	width: 60vw;
  }

  .smt_margin_bottom{
    margin-bottom: 1rem;
  }

  .icon-menu-area li{
    padding: 0.5rem 0.5rem;
  }

  .title span{
    margin-left: 1.5rem;
  }

  .help_area{
    max-width: 250px;
    padding: 0.5rem 0.75rem;
  }

  .menu_area{
     box-shadow: 2px 2px 4px;
  }

  .menu_area_hide{
     box-shadow: unset !important;
  }

  .menu_area .logo{
    height: 40px;
    margin-bottom: 1rem;
  }

  .contents_area{
    width: 100%;
    left: 0;
  }

  .list_table_tbody .pickup{
    background-size: 16px;
  }

}
