
body{
	font-family: Meiryo,"メイリオ",sans-serif;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family:Meiryo,"メイリオ", 'Source Sans Pro', sans-serif;
}


.main-header .logo {
	-webkit-transition:none;
	-o-transition:none;
	transition:none;
}

.box {
	box-shadow: none;
}

.form-control {
	font-size: 100%;
}
.input-sm {
/*	font-size: 85.7%; 20180210 テキストエリア、テキストボックスのフォントサイズをその他のコントロールと合わせる*/
	font-size: 100%;
}

/* 画像一覧 */
.p-box {
  width: 216px;
  height: 246px;
  max-height: 246px;
  float: left;
  margin: 5px;
  position:relative;
}
.image-box,
.image_div {
/*  width: 216px;*/
  max-height: 246px;
/*  padding-bottom:10px;*/
  background-color: #f4f4f4;
  display: block;
  text-align: center;
  background-size:contain;
  background-repeat:no-repeat;
}
.image_div label {
	display:block;
	min-height: 246px;
	margin:0;
	position:relative;
}

.image-box .select_image,
.image_div .select_image {
    width: 100%;
    text-align:center;
/*    display: inline-block;*/
    
    position:absolute;
    top:50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(0, -50%);
}


.image-box .btn.image_new,
.image_div .btn.image_new {
	margin:0 auto;
    
    position:absolute;
    top:50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(25%, -50%);
}


.delete_image_new {
	padding:0;
	width:24px;
	height:24px;
	background:#ff0000;
	color:#fff;
	
	position: absolute;
	right: -5px;
	top: -5px;
	
	border-radius:12px;
}
.delete_image_new i {
	color:#fff;
	font-size:14px;
}

.image_div_img {
	display:block;
	text-align:center;
/*	padding:10px;*/
}
.image_div_img img {
	width:100%;
	max-width:246px;
	height:auto;
	max-height:246px;
	vertical-align: middle;
}

.image-list-each {
  width: 190px;
  height: auto;
  vertical-align: middle;
}
.image-name {
  width: 216px;
  height: 40px;
  margin: 0;
  text-align: center;
}
/* 画像スライド一覧 */
.item-slide-container {
  width: 100%;
/*  height: 300px;*/
  border: 2px solid #DDD;
  overflow: hidden;
  padding-top: 5px;
}
.item-slide-container:after {
	clear: both;
	content: " ";
	display: table;
}

.slick-next, .slick-prev {
  height: 100% !important;
  background-color: #EEE;
}
.slick-next:hover, .slick-prev:hover {
  background-color: #EEE;
}
.slick-next {
  right: -20px !important;
}
.slick-prev {
  left: -20px !important;
}
.slick-slide {
  background-color: #FFF;
}
.slick-slide img {
  width: 100% !important;
}

h3 .btn-group .btn-default {
	color:#fff;
}



/* 検索パネル */
.box-tools.search_txt {
	right:35px;
	top:8px;
}



.box-header > .fa, .box-header > .glyphicon, .box-header > .ion, .box-header .box-title {
	margin-right:10px;
}


.table_box {
	margin-bottom:20px;
}


#table_wrapper {
	margin-bottom:20px;
}

.dataTables_scroll,
#table {
	margin-bottom:20px;
}


table.dataTable thead > tr > th {
	white-space: nowrap;
}

table.dataTable tbody > tr {
    cursor: pointer;
}
table.dataTable tbody > tr.selected {
    background-color: #FFE4E1;
}
table.dataTable tbody > tr:hover {
	background-color: #CCFFCC;
}


.content {
  position: relative;
  overflow: hidden;
}
.content:before,
.content:after {
  content: " ";
  display: table;
}
.content:after {
  clear: both;
}






/* ログイン */
.login-logo {
	font-size:20px;
}



.box-header.with-border {
    border-bottom: 1px solid #e7e7e7;
}


.box.collapsed-box .box-title.add-title {
	line-height:1.4;
	font-size:20px;
}

.box.box-solid.box-primary > .box-header .btn.btn-default {
    background-color: #f4f4f4;
    color:#444;
}
.box.box-solid.box-primary > .box-header .btn.btn-default:hover {
    background-color: #e7e7e7;
}




.nav-tabs-custom > .nav-tabs > li.active > a {
  border-left-color: #d7d7d7;
  border-right-color: #d7d7d7;
  background:#fafcfd;
  background:rgba(60, 141, 188, 0.2);
}

.nav-tabs-custom > .nav-tabs {
  border-bottom-color: #d7d7d7;
}


/* フォーム関連 */
.select2-container--default .select2-selection--single {
	border:1px solid #d2d6de;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height:2em;
}
.select2-container .select2-selection--single {
	height:2em;
	overflow: hidden;
}
.select2-container .select2-selection--single .select2-selection__rendered {
	padding-left:0;
	white-space: pre;
}
.select2-results__option,
.ui-tooltip-content {
	white-space: pre-wrap;
	word-break: break-all;
}

.form-control:focus {
	background: rgba(60, 141, 188, 0.2);
	background:#e5f0f6;
}

input[type=file]:focus, input[type=checkbox]:focus, input[type=radio]:focus {
    outline: 1px solid #3c8dbc;
}

.select2-container--default.select2-container--focus .select2-selection--single {
	background:#e5f0f6;
}


/* sales用 ------------------- */

/* タイトル部分 */
table.y_data_title, .x_data_title {
  table-layout: fixed;
  border-collapse: separate;
  border-left: 1px solid #CCC;
  border-spacing: 0;
}
 
table.y_data_title, .x_data_title th {
  border-top: 1px solid #CCC;
  background: #EEF1F4;
}
 
table.y_data_title th,
table.y_data_title td,
table.x_data_title th,
table.x_data_title td
 {
  border-right: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  padding: 0 5px;
}
 
/* データ部分 */
div.y_scroll_box {
  max-height: <?php echo $table_height;?>;
  height: <?php echo $table_height;?>;
  overflow-x: hidden; /* 横スクロール非表示 */
  overflow-y: scroll; /* 縦スクロール */
  border-bottom: 1px solid #ccc;
}
 
div.y_hidden {
  overflow: hidden; /* IE系でデータ部分のテーブルをドラッグした際のズレを防止 */
}
 
table.y_data, .x_data {
  border-left: 1px solid #ccc;
  border-collapse: separate;
  border-spacing: 0; /* tableのcellspacing="0"の代わり */
  table-layout: fixed;　/* 内容を固定 */
}
 
table.y_data th,
table.y_data td,
table.x_data th,
table.x_data td
 {
  border-right: 1px solid #CCC;
  border-bottom: 1px solid #CCC;
  padding: 5px;
}
 
table.y_data td, .x_data td {
  overflow: hidden; /* データが幅を超えたとき非表示に */
  white-space: nowrap; /* データの折り返しを防止 */
}
 
table.y_data td p {
  margin: 0; /* 余分なマージンを消去 */
}
 
/* IE6 */
table.y_data_title,
table.y_data,
table.x_data_title,
table.x_data {
  _border-collapse: collapse; /* IE6がborder-spacing: 0;に対応していないので */
  width: 100%;
}
 
/* IE7 */
*:first-child+html table.y_data_title,
*:first-child+html table.y_data {
  border-collapse: collapse; /* IE7がborder-spacing: 0;に対応していないので */
}

.x_hidden {
    min-width: 500px;
    max-width: 100%;
    padding-left: 0;
}
.x_scroll_box {
    overflow-x: scroll;
    overflow-y: scroll;
    height: <?php echo $table_height;?>;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
.x_title_scroll_box {
    overflow-x: hidden;
    overflow-y: hidden;
}






/* スクロールバー用のボタン */
#btn-scroll-box {
	position:fixed;
	bottom:30px;
	right:30px;
	z-index:100;
}


.btn-scroll {
    display: inline-block;
    padding: 0;
    margin: 0 2px;
    height:40px;
    width:40px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 20px;
    background-color: #00c0ef;
    border-color: #00acd6;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    color:#fff;
}

.btn-scroll:hover, .btn-scroll:active, .btn-scroll.hover {
    background-color: #00acd6;
}

div.modal-header-primary {
	color:#fff;
    padding:9px 15px;
    border-bottom:1px solid #eee;
    background-color: #428bca;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
     border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}

/* spinner */
.ui-spinner {
    padding: 0 16px 0 0;
    border-radius: 0;
    border-color: #d2d6de;
    font-size: 100%;
}
.ui-spinner-input {
    margin: 0;
    padding: 5px 10px;
    height: 30px;
    color: #555;
}
.ui-spinner-button {
    border-radius: 0;
}
.spinner {
    text-align: right;
}
tbody .tbody-right {
    text-align: right;
}

.company_id_6 input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  margin-left:10px;
  margin-right:10px;
}

.company_id_6 input[type=radio]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  margin-left:10px;
  margin-right:10px;
}

.company_id_6 input[type=checkbox][disabled]:before {
  content: '✓';
  border: 1px solid #d1d1d1;
  background: #f8f8f8;
  border-radius: 2px;
  display: block;
  line-height: 1em;
  font-size: 11px;
  color: transparent;
}
.company_id_6 input[type=checkbox][disabled]:checked:before {
  color: #000;
}

.company_id_6 input[type=radio][disabled]:before {
  content: '●';
  display: block;
  line-height: 0.9;
  font-size: 11px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background: #f8f8f8;
  padding: 1px 0;
  color: transparent;
}
.company_id_6 input[type=radio][disabled]:checked:before {
  color: #000;
}

.company_id_6 input[type="radio"]:checked{
	outline:0;
}
.company_id_6 input[type="radio"]:focus{
	outline:0;
}