@charset "UTF-8";
/*-ページ全体の指定-*/
html, body, header, section, article, nav, footer,
div, p, h1, h2, h3, h4, h5,
ul, ol, li, dl, dt, dd,
table, tr, th, td, tbody, thead, tfoot {
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	cursor:pointer;
}

a:link,
a:visited,
a:hover,
a:active {
	color: inherit;
	text-decoration: none;
}

.a:hover {
	position: relative;
	left: 1px;
	top: 1px;
}
/*
.drawer-menu a,
.drawer-menu a:visited,
.drawer-menu a:link {
	color: #FFF;
}
*/
/*----------------------------------------*/
html {
	font-size: 62.5%; /* 1rem = 10px */
	min-height: 100%;
	position: relative;
}

body {
	height: 100%;
	width: 100%;
	min-width: 360px;
	color: var(--moji-color);
	background-color: var(--background-color);;
	font-family: -apple-system, BlinkMacSystemFont,	"Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Meiryo", "Microsoft YaHei", 
	sans-serif;
	font-size: 1.2rem;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
/*
body, form {
	background:transparent;
}
*/
/*コンテナー
------------------------------------------*/
#container {
	display: flex;
	flex-direction: column;
    min-height: 100vh;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

/*ヘッダー--------------------------------*/
header, #header {
	position: relative;
	line-height: 4rem;
	color: white;
	background-color: var(--parts-color);
	text-align:center;
}

header a, #header a, .header a,
header a:visited, #header a:visited, .header a:visited,
header a:hover, #header a:hover, .header a:hover {
	color: white;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding: 0 2rem;
	margin-left: auto;
	margin-right: auto;
	color: white;
	position: sticky;
	top: 0;
	z-index: 10;
	flex-wrap: wrap;
	height: auto;
	max-width: 880px;
}

#header2 {
	position: relative;
	width: 1125px;
	margin-right: auto;
	margin-left: auto;
}

#header2 h5 {
	padding-right: 4rem;
	text-align: right;
}

#header2 h5 a, #header h5 a {
	color: inherit;
}

/*上部ボタン*/
#btnTop {
	float: right;
	margin-top: .6rem;
	margin-right: 60px;
	width: 100px;
	padding: 1px 14px;
	box-sizing: border-box;
}

#btnHead {
	position: absolute;
	top: .6rem;
	right: 60px;
	width: 100px;
	padding: 1px 14px;
	box-sizing: border-box;
}

#btnTop2 {
	position: fixed;
	top: 42px;
	right: 5%;
	width: 100px;
	opacity:0.9;
	z-index: 10;
}

.btnTop {
	float: right;
	margin-top: .6rem;
	margin-right: 60px;
}

@media (max-width: 600px) {
	#btnTop,.btnTop{
		margin-right: 4px;
	}
	#btnHead{
		right: 4px;
	}
}

.title {
	text-decoration: underline;
	padding: 6px 4px 8px 4px;
}

/*コンテンツ
/*----------------------------------------*/
#contents {
	opacity: 0;
	transition: opacity 1s;
	flex: 1;
	color: var(--moji-color);
	width: 100%;
	max-width: 1125px;
	min-height: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

#contents.show {
    opacity: 1;
}
/*フッター（最下部コピーライト部分）
------------------------------------------*/
footer, #footer {
	opacity: 0;
	transition: opacity 1s;
	background-color: transparent;
	/*line-height: 22px;*/
	margin: .8rem auto .4rem auto;
	width: 100%;
	min-width: 360px;
	text-align: center;
	color:  var(--moji-color);
	font-size: 1rem;
}

footer.show, #footer.show {
	opacity: 1;
}
/*select,input,textarea-------------------*/
/*デフォルトスタイルを無効-------------*/
button,
input[type="email"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="tel"],
input[type="reset"],
input[type="text"],
input[type="button"],
input[type="submit"],
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 3px;
	/*Firefox用*/
	text-indent: .01px;
	text-overflow: none;
}
/*Chrome、Safari 右のボタンを消す*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
	text-align: right;
}
/*Firefox、IEi 右のボタンを消す*/
input[type="number"] {
	-moz-appearance:textfield;
	text-align: right;
}
/*IE対応*/
select::-ms-expand {
	display: none;
}
/*デフォルトスタイルを無効終わり----------*/
select, textarea, button,.bord,.bord2 { 
	vertical-align:middle;
}

select {
	font-family : inherit;/*bodyに指定したfont-familyが、inputタグとtextareaタグには反映されない…対策*/
	font-weight: 600;
	border: 1px #888 solid;
	/*background: transparent;透明*/
	background: #FFFFFF;
	color:#222;
	padding: 1px 10px 1px 8px;
	line-height: 26px;
}

textarea {
	font-family : inherit;
	font-size : 1.1em;
	border: 1px #555 solid;
	line-height: 1.4em;
	border-radius: 3px;
	display: inline;
}

/*select終わり、以下 input-----------------*/
input[type="email"],
input[type="date"],
input[type="time"],
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="password"] {
	color: #000;
	background-color: white;
	border: 1px #888 solid;
	-webkit-box-shadow: 0 0 0px 1125px white inset;/*Crome 背景色*/
	padding: 1px 10px;
	line-height: 26px;
	vertical-align: bottom;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="password"]:focus,
textarea:focus {
	background-color: whitesmoke;
	box-shadow: inset 0 0 2px gray;
	-webkit-box-shadow: inset 0 0 0px 1125px whitesmoke;/*Crome 背景色*/
	outline: 1px #CCCCCC inset;
}

.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
button {
	background-color: var(--parts-color);
	color: #FFFFFF;
	text-decoration:none;
	line-height: 2.4rem;
	padding: .3rem 1.4rem;
	text-align: center;
	border-style: none;
	cursor: pointer;
	border: 1px solid var(--parts-color);
	white-space: nowrap;/*折り返し禁止*/
	border-radius: .3rem;
	border-color: gray;
	font-size: 1.2rem;
	font-weight: 550;
}

.button {
	display: inline-block;
	color: #FFFFFF !important;
}

.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
button:hover {
	color: #CCCCCC;
	border: 1px solid rgb(235, 235, 235);
	-webkit-transition: all .3s;
	transition: all .3s;
	opacity: 0.8;
}

td button {
	padding: 1px 14px;
}

.Red {
	background-color:red !important;
}

.Red:focus {
	background-color:darkred !important;
}

.Blue {
	background-color:midnightblue !important;
}

.Blue:focus {
	background-color:blue !important;
}

.Green {
	background-color:darkgreen !important;
}

.Gray {
	background-color:dimgray !important;
}

.Yellow {
	background-color:yellow !important;
}

.red {
	color: red;
	text-shadow: 0 0 6px gray;
}

.orange {
	color: orange;
	text-shadow: 0 0 6px gray;
}

.blue {
	color: blue;
	text-shadow: 0 0 6px gray;
}

.green {
	color: limegreen;
	text-shadow: 0 0 6px gray;
}
.gray {
	color: gray;
}
.yellow {
	color: yellow;
	text-shadow: 0 0 6px gray;
}
/*----------------------------------------*/
.bord {
	background-color: var(--parts-color);
	font-weight: 550;
	text-align: center ;
	white-space: nowrap;
	padding: .1rem 1.2rem;
	color: #FFF;
	border: 1px #888888 solid;
	display: inline-block;
	line-height: 2.6rem;
}

.bord2 {
	font-weight: 550;
	text-align: center ;
	white-space: nowrap;
	padding: .1rem 1.2rem;
	border: 1px #888888 solid;
	display: inline-block;
	line-height: 2.6rem;
}

/*----------------------------------------*/
/* ラジオボタンを消す */
.radio input[type="radio"], #radio input[type="radio"]  {
	display: none;
}

#radio label {
	padding: 2px 10px;
	cursor:pointer;
}

#radio .bord:hover, #radio .bord2:hover {
	box-shadow: 0 0 6px #CCC;
	transition-duration:0.3s;
}

/*----------------------------------------*/
fieldset {
	border: 1px #555 solid;
	display: inline;
}
/*----------------------------------------*/
table {
	border-collapse:collapse;
	border-spacing:0;
	margin-left: auto;
	margin-right: auto;
}

thead th {
	text-align: center ;
	padding: 3px 4px;
	line-height: 18px;
}

th {
	background-color: var(--parts-color);
	color: #FFFFFF;
	padding: 4px;
	font-size: 0.9em;
	border: 1px #777 solid;
	word-break: keep-all;
	white-space:nowrap;
}

td {
	padding: 3px 4px;
	border-spacing: 0px;
	border: 1px #777 solid;
}

tfoot th:not(.picker__table) {
	font-size: 0.95em;
	height: 16px;
}

.table tr:hover {
	background-color: darkgray;
}

.table td:hover {
	background-color: #A9AEC0;
	color: #333333;
}

.table-hover td:hover {
	background-color: #304E50;
	color: #333333;
}

tfoot td {
	background-color:rgba(0,0,0,0.3);
}

.tdTotal {
	background-color:rgba(0,0,0,0.2);
}

.tdTotalB {
	background-color:rgba(0,0,0,0.4);
}

/* list ---------------------------------*/
ul {
	list-style-type: none;
	padding: 0px;
}

.inline li {
	padding-top: 0px;;
	display: inline-block;
	margin-right: 0px;
}

/*----------------------------------------*/
.C {
	text-align: center;
	padding-left: 8px;
	padding-right: 8px;
}
.R {
	text-align: right;
	padding-left: 8px;
	padding-right: 8px;
}
.L {
	text-align: left;
	padding-left: 8px;
	padding-right: 8px;
}

/* span-------------------------------------*/
span { 
	white-space: nowrap;
}

form span {
	display:inline-block;
	margin: 0 4px 8px;
	vertical-align: middle;
}

form .span {
	margin-bottom: 0;
	vertical-align: middle;
}

/*------------------------------------------*/
label input {
	vertical-align: sub;
}

/*Radioのみ*/
label radio {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 15px;
	border: 1px solid #666;
	border-radius: 100%;
	overflow: hidden;
	cursor: pointer;
}

label radio:before {
	content: '';
	display: block;
	width: 11px;
	height: 11px;
	border-radius: 100%;
	position: absolute;
	top: 2px;
	left: 2px;
	z-index: 1;
	background-color: #D65; 
}

label radio input[type="radio"] {
	appearance: none;
	margin: 0;
	position: absolute;
	z-index: 2;
	top: -2px;
	left: -23px;
	width: 20px;
	height: 20px;
	display: block;
	box-shadow: 20px 0px #FFF;
}

label radio input[type="radio"]:checked {
	box-shadow : none;
}

label radio input[type="radio"]:focus {
	box-shadow : 20px 0px #FFF;
	opacity    : 0.2;
}

/*うす暗い色--------------*/
.clrB {
	background-color:#EAECF0;/*暗い+1*/
}

.clrRB {
	text-align: right;
	background-color:#D3DBEA;/*暗い+2*/
}

/*日付用色----------------*/
.cW {
	color: #FFC !important;
}

.cR {
	color: #F00 !important;
}

.cB {
	color: #75A9FF !important;
}

.cY {
	color: #F80 !important;
}

.cYY {
	color: #F50 !important;
}

#datepicker, .datepicker {
	width: 90px;
	text-align: center;
	font-size: 1.1em;
	cursor:pointer;
}

/*--------------------------*/
#loader {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 9999;
}

/*ellipsis; 追加英文が長いため*/
.elli {
	white-space: nowrap;
	overflow: hidden;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
}

.ui-widget-header {
	background-color: var(--parts-color);
}

.ui-widget.ui-widget-content,
.ui-dialog-buttonpane.ui-widget-content,
.ui-dialog-content,
.ui-tooltip {
	background-color: var(--background-color);
	color: var(--moji-color)  !important;
}

.drawer-nav {
	background-color: var(--parts-color);
}

/*スクロールバー*/
div::-webkit-scrollbar {
	width: 12px;
}

div::-webkit-scrollbar-track {
	background: #fff;
	border: 0;
	border-radius: 10px;
	box-shadow: inset 0 0 2px #777; 
}

div::-webkit-scrollbar-thumb {
	background: #aaa;
	border-radius: 10px;
	box-shadow: none;
}

html::-webkit-scrollbar {
	width: 12px;
}

html::-webkit-scrollbar-track {
	background: #fff;
	border: 0;
	border-radius: 10px;
	box-shadow: inset 0 0 2px #777; 
}

html::-webkit-scrollbar-thumb {
	background: #aaa;
	border-radius: 10px;
	box-shadow: none;
}
