body {
/*	font-family: Meiryo, "ＭＳ Ｐゴシック", Osaka, sans-serif; */
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HiraKakuPro-W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic", Osaka, Arial, Helvetica,sans-serif;
}

body.f16 {
	font-size: 16px;
}

input {
/*	font-family: Meiryo, "ＭＳ Ｐゴシック", Osaka, sans-serif; */
	font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HiraKakuPro-W3","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic", Osaka, Arial, Helvetica,sans-serif;
	margin: 2px;
}

input[type="text"],input[type="password"] {
	border: 1px solid black;
	padding: 2px;
}

input.search {
	font-family: \"ヒラギノ角ゴ ProN\", \"sans-serif\";
	background-color: #f8f8f8;
	border: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5em;
}

input.search:focus {
	background-color: #fff1cf;
	outline: none;
	border: none;
	border-bottom: 1px solid #444;
}


div.img-upload-area {
	background: #eee;
	border: 2px dashed #dde1e7;
	border-radius: 4px;
	padding: 4px;
	transition: border-color .15s, background .15s;
	color: #718096;
	font-size: 13px;
}
div.img-upload-area:hover {
	border-color: #2c5282;
	background: #ebf0f8;
	color: #2c5282;
}


a:hover {
	color: #c3002f;
}

textarea {
	margin: 2px;
	display: inline-block;
	vertical-align: middle;
}

label {
	margin: 2px;
}

img {
	border: 0;
	vertical-align: middle;
}

img.frame {
	border: 2px solid gray;
}

.imagebutton{
	width: 120px;
	height: 26px;
}

select {
	font-family: Meiryo, "ＭＳ Ｐゴシック", Osaka, sans-serif;
	margin: 2px;
}

/**** TABLE ****/

table {
	border-collapse: collapse;
	line-height: 1.3;
}

table.report {
	border: 1px solid #999;
}

table.report_sp {
    border: 1px solid #999;
}

table.formal {
    border: 2px solid black;
}

table.layout, table.layout td {
    margin: 1px;
    padding: 0;
    border: 0;
}

/**** TR ****/
tr.even {
	background-color: #eff;
}

tr.odd {
	background-color: #ffb;
}

tr.even:hover {
    background-color: #fee;
}

tr.odd:hover {
    background-color: #fee;
}

tr.tttr {
	background:#038;
	color:white;
}

/**** TH ****/

th {
	background-color: #8df;
	text-align: center;
	vertical-align: middle;
}

.report th {
    padding: 2px 2px;
    border: 1px solid #999;
	text-align: center;
	vertical-align: middle;
}

.ipn .report th, .android .report th {
    padding: 2px 0px;
}

.nowrap th {
	white-space: nowrap;
}

th.leftBBS {
	text-align: left;
	padding: 5px 20px;
}

/**** TD ****/
td {
    padding: 2px;
}


.tttr td {
	background:#038;
	color:white;
}

.board td {
	padding: 10px;
	font-size: 24px;
}
.report td {
    padding: 2px 5px;
	white-space: nowrap;
	vertical-align: middle;
	text-align: right;
    border: 1px solid #999;
}

.menulist td {
    padding: 2px 2px 15px 2px;
    text-align: left;
}

.center td {
	text-align: center;
}

.formal td {
    border: 1px solid black;
}

.ipn .report td, .android .report td {
    padding: 2px 1px;
	white-space: nowrap;
	vertical-align: middle;
	text-align: right;
}


.ipn .phppage td, .android .phppage td {
    padding: 8px 2px;
}


.phppagelabel td {
    padding: 0px 4px;
    text-align: center;
}

.ipn .phppagelabel td, .android .phppagelabel td {
    padding: 0px 4px;
    text-align: center;
}

td.leftBBS {
	text-align: left;
	padding: 5px 20px;
	white-space: normal;
	line-height: 120%;
}

p.newpage {
	page-break-before: always;
}

/**** img ****/
table.tt {
	font-size: 15px;
}

.phppage div {
	margin: 1px;
	border: 2px solid white;
}

.phppage div.select2-container {
	border: 1px solid white;
}

div.minihelp {
	position:absolute;
	margin: 0px 0px;
	background: #eef;
	border: 4px solid #038;
	border-radius: 5px;
	z-index: 1000;
	box-shadow:0px 0px 10px 4px #fff;
}

.gray_menu_btn {
    font-size:90%;
    border-radius:5px;
    border:1px solid #ccc;
    padding:1px 4px;
    text-decoration:none;
    background-color:#eee;
    color:#333;
    display:inline-block;
}

.gray_menu_btn:hover {
    border:1px solid #dcdcdc;
    background-color:#dfdfdf;
}

.blue_text_btn {
    font-size:90%;
    font-weight: bold;
    border-radius:10px;
    border:0;
    padding:10px 5px;
    text-decoration:none;
    background-color:#0090ff;
    color:#fff;
    display:inline-block;
}

.orange_text_btn {
    font-size:90%;
    font-weight: bold;
    border-radius:10px;
    border:0;
    padding:10px 5px;
    text-decoration:none;
    background-color:#ff8040;
    color:#fff;
    display:inline-block;
}

span.btn {
	position: relative;
	width: 120px;
	height: 26px;
	padding: 0;
	margin: 0;
}

span.btn.sp {
	display: inline-block;
}

.btn span {
	position:absolute;
	top: 0px;
	left: 0px;
	width: 120px;
	line-height: 26px;
	text-align: center;
	vertical-align:middle;
	color:#fff;
	font-size: 18px;
	font-weight:bold;
	margin: 0;
	padding: 0;
	cursor:pointer;
}

.ipn .btn span, .android .btn span {
	width: 120px;
	line-height: 26px;
}

.ipd .btn span {
	width: 120px;
	line-height: 26px;
}

.ipn .index .btn span , .ipd .index .btn span {
	line-height: 26px;
	margin: 0;
	padding: 0;
}

.android .index .btn span {
	width: 120px;
	line-height: 26px;
	margin: 0;
	padding: 0;
}

.button {
	display: inline-block;
	width: 120px;
	height: 26px;
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align: middle;
	background: url("data/images/ButtonX3.png");
	background-size: 120px 26px;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
}

table.blueBtn {
	display:inline-block;
}

.blueBtn td {
	width: 120px;
	height: 26px;
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align: middle;
	background:url("data/images/ButtonX3.png");
	background-size:120px 26px;
	font-size:9pt;
	font-weight:bold;
	color:white;
}



/******************** Wiki *********************/
body.wiki {
	font-size: 14px;
	line-height:140%;
}

.wiki table {
	font-size: 14px;
}

.wiki h1 {
	font-size:22px;
	border-bottom: 2px solid #028;
	border-top: 2px solid #028;
	padding: 12px;
	background: #DEF;
	text-align:center;
	line-height:120%;
}

.wiki h2 {
	font-size:20px;
	padding: 12px 0 0 1em;
	margin: 24px 0 0 0;
	border-top: 2px solid #028;
	line-height:120%;

	text-indent: -1em;
}

.wiki h3 {
	margin: 12px 0 0 0;
	padding: 0 0 0 1em;
	text-indent: -1em;
}

.wiki h5 {
	font-size:12px;
	border-top: 2px solid #028;
	padding: 12px 0 0 0;
	 margin: 24px 0 0 0;
	line-height:120%;
}

.windows-dialog {
	border: 4px solid #0d6efd;
	border-top: 20px solid #0d6efd;
	padding: 6px;
	background-color: white;
	display: inline-block;
	margin: 4px;
}



/******** 単一要素指定 ********/
.right {
	text-align: right !important;
}

.left {
	text-align: left !important;
}

.c {
	text-align: center !important;
}

.top {
	vertical-align: top !important;
}

.vmiddle {
	vertical-align: middle !important;
	display: inline-block;
}

.pinkBack {
	background-color: #fdd !important;
}

.blueBack {
	background-color: #aef !important;
}

.grayBack {
	background-color: #eee !important;
}

.redorange {
	color: #f50 !important;
}

.blue {
	color: blue !important;
}

.red {
	color: red !important;
}

.green {
    color: green !important;
}

.black {
	color: black !important;
}

.nowrap {
	white-space: nowrap !important;
}

.wrap {
	white-space: normal !important;
}

.break-all {
	word-break: break-all !important;
}


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

.nob {
	font-weight: normal !important;
}

.cwrap {
	text-align: center !important;
	white-space: normal !important;
}

.cnowrap {
	text-align: center !important;
	white-space: nowrap !important;
}


.pointer {
	cursor:pointer !important;
}

table.borderSplit td {
    border-top-style:none !important; 
    border-right-style:none !important; 
	border-bottom-style:none !important; 
	text-align: left;
}

.noborder, table.borderSplit tr td:first-child {
	border: 0 !important;
}

.fit {
	 padding:0 !important;
	 margin:0 !important;
}

.fit tr {
	 padding:0 !important;
	 margin:0 !important;
}

.fit td {
	 padding:0 !important;
	 margin:0 !important;
}

.thin {
	 padding:2px !important;
	 margin:1px !important;
}

.hidden {
	display: none;
}

/* レーティング表示 */
.star-rating {
	display: inline-block;
	position: relative;
	width: 5em;
	font-size: 18px;

}
.star-rating-front {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #ffcc33;
}
.star-rating-back {
	color: #ccc;
}

input[type=checkbox]:checked + .checkbox_label {
	font-weight: bold;
}


/* 吹き出し本体 - 枠線付きの吹き出し */
.reputation-balloon{
	position: relative;
	padding: 10px;
	background-color: #fff;
	border: 2px solid #ddf;
	border-radius: 10px;
	margin: 3px 3px 3px 10px;
}
.reputation-balloon::before{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: -15px;
	top: 5px;
	border-right: 15px solid #ddf;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}
.reputation-balloon::after{
	content: '';
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	left: -11px;
	top: 5px;
	border-right: 15px solid #fff;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}


/* リッチデザイン用 */
input[type=radio].rich {
	display: none; 
}

input[type=radio].rich + span{
	display: block;
	float: left;
	cursor: pointer;
	margin: 0;
	padding: 10px;
	background: #fff;
	color: #a0a0a0;
	text-align: center;
	line-height: 1;
	transition: .1s;
	border: 1px solid #e0e0e0;
}

input[type="radio"].rich + span:hover {
	background-color: #d1edff;
}

input[type="radio"].rich:checked + span {
	background-color: #01609c;
	color: #fff;
}

input[type=checkbox].rich {
	display: none;
}

input[type=checkbox].rich + .checkbox_label {
	position: relative;
	padding: 0 0 0 25px;
}

input[type=checkbox].rich + .checkbox_label:hover:after {
	border-color: #0171bd;
}

input[type=checkbox].rich + .checkbox_label:after, input[type=checkbox].rich + .checkbox_label:before{
	position: absolute;
	content: "";
	display: block;
	top: 50%;
}

input[type=checkbox].rich + .checkbox_label:after {
	margin-top: -10px;
	width: 15px;
	height: 15px;
	border: 2px solid #ccc;
	border-radius: 6px;
}

input[type=checkbox].rich + .checkbox_label:before {
	left: 4px;
	margin-top: -7px;
	width: 5px;
	height: 9px;
	border-right: 3px solid #0171bd;
	border-bottom: 3px solid #0171bd;
	transform: rotate(45deg);
	opacity: 0;
}

input[type=checkbox].rich:checked + .checkbox_label:before {
	opacity: 1;
}

input[type=checkbox].rich:checked + .checkbox_label {
	color: #0171bd;
}

/* 色付きの表示パネルのベースクラス */
span.item::after {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 5px;
	letter-spacing: 1px;
}

/* 集計対象とする／しない 用 */
span.item.aggregate-target:after {
	content: "集計対象とする";
	background: #35a16b;
	color: #ffffff;
	width: 11em;
}
span.item.not-aggregate-target:after {
	content: "集計対象としない";
	background: #ff8082;
	color: #ffffff;
	width: 11em;
}

/* 利用する／しない 用 */
span.item.use::after {
	content: "利用する";
	background: #35a16b;
	color: #ffffff;
	width: 6em;
}
span.item.not-use::after {
	content: "利用しない";
	background: #ff8082;
	color: #ffffff;
	width: 6em;
}

/* 「部署の点数の入力単位」表示用 */
span.item.input-per-tanto::after {
	content: "担当者ごとの点数";
	background: #bfe4ff;
	color: #005aff;
	width: 9em;
}
span.item.input-per-position::after {
	content: "部署の点数";
	background: #ffd1d1;
	color: #ff2800;
	width: 9em;
	letter-spacing: 2px;
}

/* 「部署の点数のカウント方法」表示用 */
span.item.count-diff::after {
	content: "前回登録からの差分をカウント";
	background: #005aff;
	color: #ffffff;
	width: 17em;
	letter-spacing: 2px;
}
span.item.count-total::after {
	content: "１日の累計をカウント";
	background: #fff100;
	color: #000000;
	width: 17em;
	letter-spacing: 2px;
}

/* 次へボタン */
span.item.next::after {
	position: absolute;
	content: "次へ >";
	background: #0078D7;
	color: #ffffff;
	padding: 1em 2em 1em 2em;
	margin-left:50px;
}


/* 部署マスタの表示切替のリンク用 */
a.display-switch {
	text-decoration: none;
}
a.display-switch::after {
	display: inline-block;
	padding: 3px 10px;
	margin: 0 10px;
	border-radius: 20px;
	width: 9em;
	font-size: 80%;
	transition: .2s;
	letter-spacing: 3px;
}
a.display-switch:hover::after { 
	color: #005aff;
	background: #bfe4ff;
	border: solid 2px #005aff;
}
a.normal::after { 
	content: "通常表示中 >"; 
	color: #005aff;
	background: #fff;
	border: solid 2px #005aff;
}
a.level::after { 
	content: "< 階層表示中"; 
	color: #fff;
	background: #005aff;
	border: solid 2px #005aff;
}


/* 編集画面のエラーメッセージ表示用 */
ul.error-list li.error-item {
	padding-left: 1em;
}


/* 部署の位置づけを表すタイルの設定（主に部署グループの編集画面で使用） */
span.position-item::before {
	display: inline-block;
	margin: 0 0.3em 0 0;
	padding: 0.2em 0.3em;
	text-align: center;
	box-sizing: border-box;
	border-radius: 3px;
	letter-spacing: 1px;
	width: 6em;
}
span.position-item.level1::before {
	content: "工程";
	background: #ffffff;
	color: #03af7a;
	border: 1px solid #03af7a;
}
span.position-item.level2::before {
	content: "部署";
	background: #ffffff;
	color: #005aff;
	border: 1px solid #005aff;
}
span.position-item.level3::before {
	content: "部署詳細";
	background: #ffffff;
	color: #ff4b00;
	border: 1px solid #ff4b00;
}
span.position-item.level1:hover:before {
	background: #77d9a8;
}
span.position-item.level2:hover:before {
	background: #4dc4ff;
}
span.position-item.level3:hover:before {
	background: #ffcabf;
}
input[type=checkbox]:checked + .checkbox_label > span.level1::before {
	color: #ffffff;
	background: #03af7a;
	font-weight: normal;
}
input[type=checkbox]:checked + .checkbox_label > span.level2::before {
	color: #ffffff;
	background: #005aff;
	font-weight: normal;
}
input[type=checkbox]:checked + .checkbox_label > span.level3::before {
	color: #ffffff;
	background: #ff4b00;
	font-weight: normal;
}


/* 項目名をパネル表示する際のスタイル */
span.item-title::before {
	display: inline-block;
	margin: 0 0.3em 0 2em;
	padding: 0.2em 0.3em;
	text-align: center;
	box-sizing: border-box;
	border-radius: 5px;
	letter-spacing: 1px;
}
/* 読み取り専用項目のパネル色 */
span.item-title.readonly::before {
	background: #c8c8cb;
}
/* 入力項目のパネル色 */
span.item-title.input::before {
	background: #ffca80;
}
/* 以降、項目ごとの設定 */
span.item-title.start-time::before {
	margin: 0 0.3em 0 0;
	content: "開始";
	width: 4em;
}
span.item-title.end-time::before {
	margin: 0 0.3em 0 0;
	content: "終了";
	width: 4em;
}
span.item-title.pos::before {
	content: "部署";
	width: 4em;
}
span.item-title.num::before {
	content: "点数";
	width: 4em;
}
div.stamp {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 50px;
	height: 50px;
	margin: auto;
}
div.achieved {
	background-image:url(./data/images/stamp-achieve.png);
}

div.not-achieved {
	background-image:url(./data/images/stamp-non.png);
}

.cond-svg-icon {
	height: 1.5em;
	width: 1.5em;
	display: inline-block;
	position: relative;
}

.cond-svg-icon:hover {
	cursor: pointer;
}

.cond-svg-icon.arrow {
	fill: #79b6e0;
	margin: 0 0.3em;
}

.cond-svg-icon.arrow:hover {
	fill: #0065a7;
}

.cond-svg-icon.add {
	fill: #77d9a8;
	margin: 0 0.4em;
}

.cond-svg-icon.add:hover {
	fill: #03af7a;
}

.cond-svg-icon.del {
	fill: #ffcabf;
	margin: 0 0.4em;
}

.cond-svg-icon.del:hover {
	fill: #ff8082;
}

.cond-svg-icon.disabled, .cond-svg-icon.disabled:hover {
	fill: #dcdcdc;
	cursor: default;
}

.cond-svg-tips {
	display: none;
}

.cond-svg-icon:hover .cond-svg-tips {
	display: block;
	position: absolute;
	bottom: 2.2em;
	color: #fff;
	background-color: black;
	white-space: nowrap;
	width: auto;
	padding: 5px;
	border-radius: 3px;
	z-index: 1;
}

.cond-svg-tips:after {
	content: ' ';
	display: block;
	position: absolute;
	height: 0;
	width: 0;
	bottom: -0.4em;
	left: 0.7em;
	border: 13px transparent solid;
	border-right-width: 0;
	border-bottom-color: black;
	transform: rotate(45deg);
	z-index: 1;
}

/* STEP表示 */
.step{
	list-style-type: none;
	display:table;
	width:80%;
	padding:0;
	margin:0 10%;
	overflow:hidden;	
}

.step li{
	display:table-cell;
	position:relative;
	background: #98BBD6;
	padding: 1em 0.5em 1em 2em;
	color: #eee;
}

.step li:last-child{
	padding-right: 1em;
}

.step li:last-child:before,.step li:last-child:after{
	display:none;
}

.step li:before,.step li:after{
	color: #aaa;
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	margin: auto;
}

.step li:before{
	top:-15px;
	right:-1em;
	border-style: solid;
	border-color: transparent transparent transparent #98BBD6;
	border-width: 40px 0 40px 1em;
	z-index: 10;
}

.step li:after{
	top:-15px;
	right:-.8em;
	border-style: solid;
	border-color: transparent transparent transparent #98BBD6;
	border-width: 40px 0 40px 1em;
	z-index: 10;
}

.step li.is-current{
	background: #0078D7;
	font-weight: bold;
}

.step li.is-current:after{
	border-color: transparent transparent transparent #0078D7;
}

.contentEditable p { 
	margin:0;
	padding:0;
}

/* 一覧の％バー表示に関するスタイル */
.percent-cell {
	width: 100px;
	position: relative;
	background-color: #e5e5e5;
	height: 20px;
}

.percent-cell .fill {
	background-color: #81ff13;
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	transform-origin: left top;
	animation: percent-cell-bar 1.5s ease;
}

@keyframes percent-cell-bar {
	0% {
		transform: scaleX(0);
	}
	100% {
		transform: scaleX(1);
	}
}

.percent-cell .value {
	text-align: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	z-index: 1;
	line-height: 20px;
	margin: 0;
}

tr#tr_TitleLabel{
	position: sticky;
	top: 0;
	z-index: 1;
	background-color: white;
}

@media screen {
	/* sticky 対応 枠線が消えてしまうため */
	table.report_sticky {
		border: 0.5px solid #999;
		border-collapse: separate;
		border-spacing: 0;
	}

	.report_sticky th {
		border: 0.5px solid #999;
	}

	.report_sticky td {
		border: 0.5px solid #999;
	}

	/* stickyセル */
	.report_sticky thead {
		position: sticky;
		top: 0px;
		z-index: 3;
	}

	.report_sticky th.sticky-col {
		position: sticky;
		top: 0px;
		left: 0px;
		z-index: 4;
	}
	
	.report_sticky td.sticky-col {
		position: sticky;
		left: 0px;
		z-index: 2;
		background-color: inherit;
	}
}

/* コピーボタン */

/* ---- コピーボタン ---- */
.copy-btn {
	position: relative;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: 0;
	border-radius: 6px;
	transition: background 0.15s;
}

.copy-btn:hover {
	background: #e9ecef;
}

/* ---- SVG アイコン ---- */
.copy-icon {
	align-items: center;
	vertical-align: top;
	justify-content: center;
	color: #555;
	width: 20px;
	height: 20px;
}

/* ---- ツールチップ ---- */
.copy-btn::after {
	content: 'コピー';
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,.75);
	color: #fff;
	font-size: 12px;
	white-space: nowrap;
	padding: 4px 8px;
	border-radius: 4px;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
}

.copy-btn::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 1px);
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: rgba(0,0,0,.75);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.15s;
}

.copy-btn:hover::after,
.copy-btn:hover::before {
	opacity: 1;
}

/* コピー完了時 */
.copy-btn.copied::after {
	content: 'コピーしました！';
	background: #28a745;
}

.copy-btn.copied::before {
	border-top-color: #28a745;
}

/* コピー完了時アイコン色 */
.copy-btn.copied .copy-icon {
	color: #28a745;
}
