html {
  font-family: "Meiryo",sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* 全体フォントサイズを設定 START */
  font-size: 11.5px;
  /* 全体フォントサイズを設定 E N D */
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing:0.05em;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont,"Noto Sans Japanese","Meiryo", "Helvetica Neue",  "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial,  sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
  overflow-x: hidden;
}

#loading {
  display: table;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.8;
  z-index: 9000;
}

#loading .loadingMsg {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding-top: 140px;
  background: url("../../images/loading_image.gif") center center no-repeat;
}

/* タブ関連 */
.tab-group{
    display: flex;
    justify-content:left;
    padding-left: 0px;
    margin-bottom: 0px;
    margin-right: 1px;
}
.tab{
    flex-grow: 1;
    height:40px;
    padding-left:5px;
    padding-right:5px;
    padding-bottom:5px;
    padding-top:10px;
    list-style:none;
    border:solid 1px #CCC;
    text-align:center;
    cursor:pointer;

}
.panel-group{
    height:100%;
    border:solid 1px #CCC;
    border-top:none;
    background:white;
    padding: 10px;
}
.panel{
    display:none;
}
.tab.is-active{
    background:#007bff;
    color:#FFF;
    transition: all 0.2s ease-out;
}
.panel.is-show{
    display:block;
}

/* 画像エリア */
.imageDiv{
	display:block;
	width:180px;
	height:190px;
	text-align:center;
	position:relative;
	overflow:hidden;
}

/* tr 背景色グレー */
.trGrayOut{
	background:#DEDEDE;
}

/* div 選択中チャット */
.selectedChat{
    background:#D6E6D9;
    border-left: solid 10px #9ED6A9;
}

/* レスポンシブ：PC */
@media all and (max-width: 768px) {
	.pc-view {
    	display: none !important;
    }
}
/* レスポンシブ：SP */
@media all and (min-width: 769px) {
	.sp-view {
    	display: none !important;
	}
}

/* レスポンシブ：PC */
@media all and (max-width: 1199px) {
	.pc-top-view {
    	display: none !important;
    }
}
/* レスポンシブ：SP */
@media all and (min-width: 1200px) {
	.sp-top-view {
    	display: none !important;
	}
	.left-top-solid{
		border-left: solid 1px #a9a9a9 !important;
	}
}

textarea {
	width:100%;

}

button.collapseButton[aria-expanded="false"]:after {
	font-size:1.25em;
	font-family: "Font Awesome 5 Free";
	content: '\f055';
	font-weight: 900;
}

button.collapseButton[aria-expanded="true"]:after {
	font-size:1.25em;
	font-family: "Font Awesome 5 Free";
	content: '\f056';
	font-weight: 900;
}

button#collapseButton[aria-expanded="false"]:after {
	font-size:1.25em;
	font-family: "Font Awesome 5 Free";
	content: '\f055';
	font-weight: 900;
}

button#collapseButton[aria-expanded="true"]:after {
	font-size:1.25em;
	font-family: "Font Awesome 5 Free";
	content: '\f056';
	font-weight: 900;
}

@media(max-width:768px){
	.sp-view-list{
		height:40vh;
	}
	.sp-little-view-list{
		height:30vh;
	}
	.sp-tab{
		height:36px;
		width:90px;
		display: flex;
		align-items: center;
		justify-content: center
	}
	.sp-lg-tab{
		height:36px;
		width:105px;
		display: flex;
		align-items: center;
		justify-content: center
	}
	.w-sp-75 {
	  width: 75% !important;
	}
	.sp-tabel{
		width:291.5px;
	}

}

@media(min-width:769px) and (max-width:1366px){
	.note-pc-view-list{
		height:60vh;
	}
	.note-little-pc-view-list{
		height:50vh;
	}
	.note-pc-tab{
		height:36px;
		width:140px;
		display: flex;
		align-items: center;
		justify-content: center
	}
	.left-solid{
		border-left: solid 1px #a9a9a9 !important;
	}
	.w-note-75 {
	  width: 75% !important;
	}
}

@media(min-width:1367px){
	.pc-view-list{
		height:70vh;
	}
	.pc-little-view-list{
		height:60vh;
	}
	.pc-tab{
		height:36px;
		width:200px;
		display: flex;
		align-items: center;
		justify-content: center
	}
	.left-solid{
		border-left: solid 1px #a9a9a9 !important;
	}
	.w-pc-50 {
	  width: 50% !important;
	}
	.pc-view-detail-list{
		height:35vh;
	}
}

.btn-outline-orange {
  color: #ff8c00;
  border-color: #ff8c00;
}

.btn-outline-orange:hover {
  color: #fff;
  background-color: #ff8c00;
  border-color: #ff8c00;
}

.btn-outline-orange:focus, .btn-outline-orange.focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.btn-outline-orange.disabled, .btn-outline-orange:disabled {
  color: #ff8c00;
  background-color: transparent;
}

.btn-outline-orange:not(:disabled):not(.disabled):active, .btn-outline-orange:not(:disabled):not(.disabled).active,
.show > .btn-outline-orange.dropdown-toggle {
  color: #fff;
  background-color: #ff8c00;
  border-color: #ff8c00;
}

.btn-outline-orange:not(:disabled):not(.disabled):active:focus, .btn-outline-orange:not(:disabled):not(.disabled).active:focus,
.show > .btn-outline-orange.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
}

.top-headline{
	border-left-style: solid;
	border-left-width:1px;
	border-top-style: solid;
	border-top-width:1px;
	border-right-style: solid;
	border-right-width:1px;
	border-color:rgb(192, 192, 192);
	background-color:#afeeee;	
	  background: radial-gradient(rgb(170, 213, 255), rgb(170, 213, 255));
  background: -moz-radial-gradient(rgb(170, 213, 255), rgb(170, 213, 255));
  background: -webkit-radial-gradient(rgb(170, 213, 255), rgb(170, 213, 255));
}

.top-body{
	border-style: solid;
	border-width:1px;
	border-color:rgb(192, 192, 192);
	background-color:#FFFFFF;
}

.title-border {
	border-left-style: solid;
	border-left-color:#007bff;
	border-left-width:7px;

}

.sub-title {
  position: relative;
  padding: 1.75rem;
  text-align: center;
  font-size: 1.9rem;
  font-weight: bold;
}

.sub-title:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 20px);
  width: 40px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #007bff;
}

.sub-title-red {
  position: relative;
  padding: 1.75rem;
  text-align: center;
  font-size: 1.9rem;
  font-weight: bold;
}

.sub-title-red:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 20px);
  width: 40px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #dc3545;
}
.bottom-solid {
  border-bottom:solid 1px #a9a9a9;
}

.arrow-side-bar{
  border-top: solid 1.5px #808080;
  border-right: solid 1.5px #808080;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}

.sideButton:hover .arrow-side-bar{
  border-top: none;
  border-bottom: solid 1.5px #808080;
  border-right: solid 1.5px #808080;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}

.h5-non {
  font-size: 1.25rem;
  color: #000000;
  pointer-events:none;
}

/* チェックボックスをトグルスイッチ風に変更する */
.toggle-button {
  margin: 5px;
    display: inline-block;
    position: relative;
    width: 50px;
    height: 25px;
    border-radius: 25px;
    background-color: #dddddd;
    cursor: pointer;
    transition: background-color .4s;
}

.toggle-button:has(:checked) {
    background-color: #4bd865;
}

.toggle-button::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgb(0 0 0 / 20%);
    background-color: #fff;
    content: '';
    transition: left .4s;
}

.toggle-button:has(:checked)::after {
    left: 25px;
}

.toggle-button input {
    display: none;
}

.button-group {
  display: flex;
  justify-content: left;
}

.button-group button, .button-group form button {
  width: 200px;
}
.btn-light {
  color: #212529;
  background-color: #d3d3d3;
  border-color: #dae0e5;
}
.btn-light:hover {
  color: #212529;
  background-color: #a9a9a9;
  border-color: #dae0e5;
}

.mt-40px{
   margin-top: 40px;
}
.mt-100px{
   margin-top: 100px;
}
.w-80{
   width:80%;
}
.w-100{
   width:100%;
}
.w-100px{
   width:100px;
}
.white-space-pre{
white-space: pre;
}
.white-space-preline{
white-space: pre-line;
}
.border-808080{
	border-bottom: solid 1px #808080;
}
.border-808080-dash{
	border-bottom: dashed 1px #808080 !important;
}
.border-808080-afeeee{
	border-bottom: solid 1px #808080;
	background-color:#afeeee;
}
.border-6c757d{
	border: solid 1px #6c757d;
}
.border-495057{
	border: solid 1px #495057;
}
.border-C0C0C0{
	border: solid 1px #C0C0C0;
}
.border-dee2e6{
	border: solid 1px #dee2e6;
}
.border-bottom-dee2e6{
	border-bottom: solid 1px #dee2e6;
}
.border-d3d3d3{
	border: solid 1px #d3d3d3;
}
.border-4685A8{
	border: solid 1px #4685A8;
}
.border-bottom-4685A8{
	border-bottom: solid 1px #4685A8;
}
.color-bule{
	color: blue;
}
.color-red{
	color: red;
}
.color-FFFF00{
	color:#FFFF00;
}
.color-FFFFFF{
	color:#FFFFFF;
}
.background-color-FFFF00{
	background-color:#FFFF00;
}
.background-color-common{
	background-color:#DCDCDC;
}
.background-color-login{
	background-color:#CCFFCC !important;
}
.order-confirmed{
	background-color:#CCFFFF;
}
.order-canceled{
	background-color:#BBBBBB;
}
.order-canceled-font{
	color:red;
}
.navi-image-header {
    background-image: url('/images/header.png');
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100%;
    position: relative;
    width: 100%;
    height: 40px;
}
.navi-image-logout {
    height: auto;
    width: auto;
    max-height: 50px;
    max-width: 50px;
    position: absolute;
    top: 5px;
    right: 5px;
}
.menu-color{
	color:rgb(255, 255, 255);
	z-index: 1010; 
}
.navi-menu {
	font-size: 1.20vw;
	height:50px;
	top:0px;
	margin-left:500px;
}
.login-user {
	position: absolute;
	top: 5px; /* 必要に応じて調整 */
	right: 50px; /* 必要に応じて調整 */
	font-size:1vw;/*ウィンドウサイズ合わせて変更*/
}
.login-title {
	text-align: center;
	font-size: 30px;
	font-weight: bold;
}
.oshirase {
	font-size: 18px;
	overflow-y: auto; /* 縦スクロールバーを追加 */
	overflow-x: hidden; /* 横スクロールバーを非表示 */
	word-wrap: break-word; /* テキストを折り返す */
	width: auto;
	height:fit-content;
}
.renraku {
	font-size: 18px;
	overflow-y: auto;
	overflow-x: auto;
	word-wrap: break-word;
}
.oo-midashi {
	text-align: left;
	font-size: 18px;
	font-weight: bold;
}
.ko-midashi {
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	padding-left:1rem;
	padding-right:1rem;
}
.honbun {
	text-align: left;
	font-size: 14px;
	padding-left:1rem;
	padding-right:1rem;
	height: 200px;
	overflow-y: auto;
	overflow-x: auto;
	word-wrap: break-word;
}
.top-list {
	width: 100%;
	border-collapse: collapse;
}
.top-list th, .top-list td {
	border: 1px dashed  #ddd;
	padding: 8px;
	width: 150px; /* セルの幅を固定 */	
}
top-list th {
    background-color: #f2f2f2;
}

.main-content {
	width:calc(100% - 300px);
}
.table-container {
    display: flex;
    overflow-x: auto;
	overflow-y: auto;
	max-height: 80vh;
}
.container{
	justify-content: flex-start;
	align-items: flex-start; /* 上揃えにする */
	margin:0;
	padding:0;
	max-width: none;
}
.container.horizontal {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.container.vertical {
    display: block;
	overflow-x: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
	table-layout: auto; /* 幅を自動調整 */
}
table, th, td {
    border: 1px solid black;
}
th, td {
	text-align: center;
    padding: 1px;
	white-space: nowrap; /* 折り返しを防ぐ */
	border: 1px dashed black;
}
.time-period {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	padding-left:1rem;
	padding-right:1rem;
	border: 1px solid black;
}
.vehicle {
	text-align: left;
	font-size: 14px;
	font-weight: bold;
	padding-left:1rem;
	padding-right:1rem;
	border: 1px solid black;
}
.order-th-crane {
	background-color: #FFDAB9;
}
.dispatch-th {
	background-color: #FFFF00;
}
.order-dispatch-sidebar {
	position: sticky;
	left: 0;
	width:300px;
	height:100%;
	background-color: white;
	z-index: 1000; /* ヘッダーが他の要素の上に表示されるように */
}
.header {
	position: sticky;	
	top: 0;
	background-color: white;
	z-index: 1000; /* ヘッダーが他の要素の上に表示されるように */
}
.fixed-btn {
	width:100px;
	height:25px;
}
.input-item {
	width:auto;
}
.border-black {
	border: 1px solid black;
}
.border-black-dash {
	border: 1px dashed black;
}
.input-width {
	field-sizing: content; /*inputの幅を文字数に合わせる*/
	border:0;
}

/*受注表の背景色*/
.order-table-background-0{
	background-color:#D0B0FF ;
}
.order-table-background-1{
	background-color:#E6FFE9 ;
}
.order-table-background-2{
	background-color:#FFDBC9 ;
}
.order-table-background-3{
	background-color:#D7EEFF ;
}
.order-table-vehiclecategory-crane{
	background-color:#E6FFE9 ;	
}
.order-table-vehiclecategory-2t4t{
	background-color:#FFDBC9 ;
}
.order-table-vehiclecategory-container{
	background-color:#D7EEFF ;
}

/*表のドロップダウンリストの幅と高さ調整*/
.table-list-1{
	height: 100%;
	width:100%;
	min-height:20px;
}
.table-list-2{
	height: 100%;
	width:100%;
	min-height:40px;
}

.dropdown-toggle {
	text-decoration: none;
}
/*グラフ画面に表示する表のサイズ*/
table.graph-table {
    border-collapse: collapse;
	table-layout: fixed;
	width:auto;
}
.highlight {
	background-color: rgb(255, 255, 0);
}

/* .row-highlight クラスが適用された行の、すべてのセルの上下の罫線を赤くする */
.row-highlight td {
    border-top: 2px solid red;
    border-bottom: 2px solid red;
}

/* .row-highlight クラスが適用された行の、最初のセルの左罫線を赤くする */
.row-highlight td:first-child {
    border-left: 2px solid red;
}

/* .row-highlight クラスが適用された行の、最後のセルの右罫線を赤くする */
.row-highlight td:last-child {
    border-right: 2px solid red;
}
/* グラフのX軸と表の列が近くになるように調整 */
#driver-activelog-table{
	table-layout: fixed;
}

#driver-activelog-table th:first-child,
#driver-activelog-table td:first-child {
	width:3%;
	font-size: 0.95rem;
}
#driver-activelog-table th:not(:first-child),
#driver-activelog-table td:not(:first-child) {
	width:4.7%;
	font-size: 0.95rem;
}

.websocket-display {
	font-size:2rem;
	color: red;
	font-weight: bold;
	background-color: yellow;
}
