
@media (hover: hover) and (pointer: fine) {
  .cmn-navi_link:hover {
    background: #333;
  }
}

/* +++++++++++++++ objectへの指定 +++++++++++++++ */

/* BODY全体 */
body {
  background-color: #CCCCCC;
  color: #222222;
  margin: 0px;
  padding: 0px;
  font-family :sans-serif;
}

/* 入力部 */
input[type="text"], input[type="number"], input[type="password"], textarea, select{
  border: 1px solid #666666;
  min-height:28px;
  margin-bottom:5px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width:100%;
}
input[type="text"], input[type="number"], input[type="password"]{
  /* 角丸 */
  border-radius:4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
input[type="file"]{
  min-height:28px;
  margin-bottom:5px;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width:100%;
}
input[type="text"]:read-only, input[type="password"]:read-only{
  cursor:auto;
  background-color: #DDDDDD;
}

/* ボタン */
button {
  height:32px;
  cursor:pointer;
  border: 1px solid gray;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  white-space: nowrap;
}
button:disabled{
  cursor:auto;
  background-color: #DDDDDD;
}
/* +++++++++++++++ メイン部 +++++++++++++++ */

/* メインコンテンツ */
#main-contents {
  background-color: #FFFFFF;
  width:100%;
  min-width:320px;
  height: 100vh;
}

/* 共通ヘッダ */
.cmn-header-contents {
  height: 40px;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  position: relative;
  background: linear-gradient(to right, #222e69, #798adb);
}

.cmn-header-title {
  color: #FFFFFF;
  font-weight: 700;
}
.cmn-header-title img{
  height: 16px;
  width: 16px;
  vertical-align: -2px;
  padding-right: 5px;
}

/* サブコンテンツ */
.cmn-sab-contents {
  text-align: left;
  padding: 10px 3px 3px 3px;
}
/* サブコンテンツ モバイル用の横固定コンテンツ cmn-sab-contentsと併用 */
.cmn-sab-contents-mobile{
  margin: 0 auto;
  width:320px;
}

/* コンテンツグループ（四角で囲む） */
.cmn-div-contents-group{
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width:100%;
  padding:5px;
  border: 1px solid #999999;
  border-radius:4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}
/* +++++++++++++++ 共通部品 +++++++++++++++ */

/***** ナビゲーションメニュー関連 *****/
#cmn-menu {
  width: 50px;
  height: 50px;
  position: relative;
  border: none;
  background: transparent;
  appearance: none;
  padding: 0;
  cursor: pointer;
}
#cmn-navi {
  display: none;
  background: #222e69;
  position: absolute;
  top: 40px;
  width: 100%;
  z-index: 9999;
}
#cmn-navi .cmn-navi-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}
#cmn-navi .cmn-navi-list-item {
  padding-left: 10px;
  border-bottom: solid 1px #474747;
}
#cmn-navi .cmn-navi-list-item:first-child {
  border-top: solid 1px #474747;
}
#cmn-navi .cmn-navi-list-item a {
  color: #FFFFFF;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: 10px 0;
  transition: .5s;
}
#cmn-navi .cmn-navi-list-item img{
  height: 16px;
  width: 16px;
  vertical-align: -2px;
  padding-right: 5px;
}

/***** 読み見込時の幕 *****/
.cmn-div-loading {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}
.cmn-div-loading img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -69px 0 0 -69px;
  width: auto;
}
/***** 標準的なグリッドテーブル *****/

.cmn-table{
  width:100%;
  padding:0;
  margin: 0;
  border: 1px solid #000000;
  border-spacing:0;
  border-collapse: collapse;
}
.cmn-table th{
  font-size: 13px;
  color:#333333;
  background-color:#DDDDDD;
  white-space: nowrap;
  padding: 2px;
  text-align:left;
  border: 1px solid #000000;
}
.cmn-table td {
  word-break: break-all;
  padding: 2px;
  font-size: 12px;
  border: 1px solid #000000;
}

/***** 虫眼鏡付き検索ボックス *****/

.cmn-input-search {
  display: flex;
  flex-direction: row;
}
.cmn-input-search-left input{
  width:240px;
  display: inline-block;
  position: relative; 
  background-image: url(/img/icon/serch-g.png);
  background-repeat: no-repeat;
  background-position: 4px center;
  padding-left: 24px;
  /* 左だけ角丸 */
  border-radius: 4px 0 0 4px !important;
  -moz-border-radius: 4px 0 0 4px !important;
  -webkit-border-radius: 4px 0 0 4px !important;

}
.cmn-input-search-right{
  width:60px;
}
.cmn-input-search-right button{
  height:28px;
  width:100%;
  /* 右だけ角丸 */
  border-radius: 0 4px 4px 0 !important;
  -moz-border-radius: 0 4px 4px 0 !important;
  -webkit-border-radius: 0 4px 4px 0 !important;
}

/***** ダイアログ関連のcss上書き（jquery-ui.cssより後に読み込む必要あり） *****/

/* ダイアログ共通 */
.dialog-contents{
  font-size: 12px;
}
.dialog-contents label{
  font-size: 12px;
}
/* ダイアログ関連のUI設定上書き */
.ui-dialog{
  width:310px;
}
.ui-dialog-titlebar{
  padding: 2px 5px !important;
  font-size: 16px !important;
}

/***** その他 *****/

/* エラーメッセージ */
.cmn-errmsg{
  color:#FF0000;
  font-weight:bold;
}
/* 改行用div 5px */
.cmn-div-line-space5{
  display:block;
  height:5px;
}
/* 改行用div 10px */
.cmn-div-line-space10{
  display:block;
  height:10px;
}
