@charset "UTF-8";
@import url(penlabo.css);
@import url(tablet.css) screen and (max-width: 800px);@import url(smartphone.css) screen and (max-width: 767px);
@import url(print.css) print;

/* フォームパーツのフォーカスを強調
--------------------------------------*/
input:focus,
textarea:focus {
	background-color: papayawhip;/*peachpuff;/*torange;*/
	color: maroon;
}
input[type="submit"]:focus,
input[type="button"] { /* 送信ボタンは例外 */
/*	background-color: revert;*/
}


/*------------------------------------*/


fieldset {
	border: 1px gray solid;
	padding: 1em;
	margin: .3em 0;
	background-color: #eee;
	border-radius: 5px;
}
legend {
	color: red;
}

/* TAG: middle
----------*/
#middle {
	min-height: 20em;
}
#middle>nav {
	position: sticky;
	top: 0;
	background-color: #eee;/*white;*/
	padding: 4px;
	border-bottom: 1px gray solid;
	z-index: 100;
	height: 36px;
/*
	min-height: 3em;
	margin-bottom: .4em;
*/
}
#middle>nav:last-of-type {
	margin-bottom: .4em;
}

#middle form.search,
#middle form[name="search"] {
	max-width: max-content;
	display: block !important;
	margin: .2em auto;
	font-size: 200%;
	height: 2.2em;
}
#middle nav form.search,
#middle nav form[name="search"] { /* navの中を戻す（:not使えない？）*/
	display: inline-block !important;
	font-size: 100%;
/*	height: auto;*/
	margin: 0;
}
.invalid,
.inactive { color: gray; }
ul li {
	list-style-type:none;
}

footer {
	clear: both;
	margin: 0 auto;
	margin-top: .6em;
}


.header {
	text-align: center;
	border-bottom: 1px gray solid;
	padding: 2pt;
}
.header a {
	text-decoration: none;
}
.header a:hover {
	text-decoration: underline;
}

/*--------------------------------------
 ヘッダ用
--------------------------------------*/
header>div  {
	width: 100%;
	height: 38px;
}

/*======================================
seciton:
	アンカーがあるよ
note:
	putAnchor
	anchor include cell -> ancInc
	テーブル一覧で絞り込みを実装するためのスタイル
--------------------------------------*/
td.putAnchor {
	position: relative;
	padding-right: 1.6em;
}
td.putAnchor a.put {
	position:absolute;
	text-decoration: underline;
	top: .2em;
	right: .3em;
}

/*======================================
TAG: A
--------------------------------------*/
a {
	color: darkgreen;
}

/*======================================
TAG: N
--------------------------------------*/
navi {
	display: block;
	background-color: #ddd;
}

/*======================================
ID: M
--------------------------------------*/
#menu {
	border-bottom: 1px gray solid;
}
#menu>nav {
	padding: 2px;
}
#menu>div {
	border: 1px gray solid;
	margin-bottom: 4px;
}
#menu>div ul {
	margin: 0;
}
#menu_search .content form {
	display: block;
	padding: 6px;
}
#menu_search .content form input {
	width: 90%;
	margin: 2px auto;
	text-align: center;
}
#menu_page { /* ページ内メニュー用 */
	position: fixed;
	bottom: 2px;
	right: 64px;
}

#menu .menu { /* <ul> */
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
#menu .menu>li {
	padding: 4px;
}
#menu .menu>li>a {
	display: block;
	border: 1px gray solid;
	border-radius:  5px;
	text-decoration :none;
	background-color: lightgrey;
	padding: 4px;
	color: black;
	width: 88px;
	text-align: center;
	white-space: nowrap;
}
#menu .menu>li>a:hover {
	background-color: gray;
	color: white;
}
/*======================================
SECTION:
 TABLE
--------------------------------------*/
table+table {
	margin-top: .4em;
}
table th {
	border: 1px #777 solid;
	padding: .15em .3em;
	white-space: nowrap;
	background-color: #ddd;
	color: black;
/*	font-size: 90%;*/
	font-size: 100%;
	font-weight: normal;
	min-width: 1.5em;
}
table td {
	border: 1px #bbb solid;
	padding: .15em .3em;
/*
	word-break: break-word;
*/
}
td a {
	text-decoration: none;
}
td a:hover {
	text-decoration:underline;
}
/* 日付表示用テーブル */
table.date {
	width: 100%;
}
table.date th {
/*	width: 10%;*/
	height: 2.6em;
	min-height: 2.6em;
	text-align: center;/*left;*/
	vertical-align: middle;
}
table.date td {
	width: 30%;
/*	text-align: center;*/
	vertical-align: middle;
}
/*---- 詳細表示用テーブル */
table.detail {
/*
*/
	width: 100%;
}
table.detail th {
	text-align: left;
	width: 8em;
}
table.detail td {
	vertical-align: middle;
}

table td button {
	font-size: 9pt;
}

/* site用 */
table.records {
	min-width: 75%;
}
table.records tbody {
	border: 1px gray solid;
/*	page-break-inside: avoid; /* 中途半端に改行させない */
}
table.records tbody:hover {
	background-color: #ffd !important;
}
table.records td>span {
	display: block;
}
table.records td.capture img {
	width: 96px;
	height: 64px;
	border: 1px gray solid;
	display: block;
	margin: 2px;
}

/*table.list tr:nth-child(odd) {/*奇数*/
table.records tbody:nth-child(odd) {/*奇数*/
	background-color: #ffffff;
}
/*table.list tr:nth-child(even) {/*偶数*/
table.records tbody:nth-child(even) {/*偶数*/
	background-color: #f0f0f0;
}
/*
table.records tr.invalid,
table.records tr.inactive {
*/
table .invalid,
table .inactive,
section.inactive {
	background-color: #d0d0d0 !important;
}
/*
*/
table.records a {
	text-decoration: none;
}
table.records a:hover {
	text-decoration: underline;
}
table td.date {
	white-space: nowrap;
}
table td.date span.label {
	display: inline-block;
	width: 5em;
	text-align: right;
}
table td.unspecified { /* 項目が未指定のセル マスタ未設定など */
	background-color: #fcc; /* 赤 */
}
tbody.cancel td,
section.cancel {
	background-color: #fcc !important;
}
table th .column {
	font-size: 70%;
	display: block;
	color: #666;
	font-weight: normal;
}
table.detail th .column {
	text-align: right;
}
table.detail td {
	word-break: break-word;
}
table.master {}
table.master th {
	border: 1px #6b6 solid;
	background-color: #dfd;
}

table td.editCell:hover {
	background-color:orange;
	cursor: pointer;
}
table.lines {}
table.lines th {
	vertical-align: middle;
}

table.rows {}
table.rows th {
	vertical-align: top;
}
table.rows td {
	word-break: break-word;
}
/* テーブル用 */
.separate {
	border-style: double;
	border-width: 1px 3px;
}
.separate-l {
	border-style: double;
	border-left-width: 3px;
}
.separate-r {
	border-style: double;
	border-right-width: 3px;
}
.borderl_dbl {
	border-left-style: double;
	border-left-width: 3px;
}
.borderr_dbl {
	border-right-style: double;
	border-right-width: 3px;
}
/* セルのインデント表示用 */
table th.indent_outer,
table td.indent_outer {
	border-bottom-width: 0;
}
table th.indent_inner,
table td.indent_inner {
	border-top-width: 0;
	border-right-width: 3px;
	width: 2em;
}

/*
テーブル入れ子 2021-04-14
*/
.table_cell_nest_outer {
	border-bottom-width: 0;
}
.table_cell_nest_side {
	border-top-width: 0;
	width: 1.5em;
}
.table_cell_nest_inner {
/*	vertical-align: top;*/
	border-left-width: 3px;
}
.table_cell_nest_inner li {
	list-style-type: none;
	line-height: 135%;
}

/*======================================
TAG: B
--------------------------------------*/
body {
	color: #000;
	font-size: 9.5pt;
}

/*======================================
TAG: C
--------------------------------------*/
caption {
	text-align: left;
	margin-left: 1em;
	margin-bottom: .3em;
	font-size: 90%;
	white-space: nowrap;
/*
	max-width: 360px;
*/
}
caption .menu {
	float: right;
}

/*======================================
TAG: F
--------------------------------------*/
/*
form*/
select,
input,
textarea,
button {
	font-size: 120%;
	padding: .1em .3em;
	margin: 0;
}
textarea {
/*
	width: 100%;
*/
}
/*
	font-size: 120%;
*/
form {
	width: fit-content;
}
form * {
	vertical-align : middle;
}
form input[type="tel"] {
	width: 8em;
}
form input[type="email"] {
	width: 24em;
}
/* 検索フォーム専用 */
form.search,
form[name="search"] {
	position: relative;
	padding-right: 3em;
/*
	border: 1px gray solid;
	border-radius: 5px;
	padding: 1px;
*/
	font-size: 200%;
/*	height: 2em;*/
	vertical-align: middle;
}
form.search textarea,
form[name="search"] textarea {
	border: 1px gray solid;
	border-right-width: 0;
	border-radius: 5px 0 0 5px;
}
form.search input,
form[name="search"] input {
	width: 100%;
	border: none;
	height: 100%;
	border: 1px gray solid;
	border-right-width: 0;
	border-radius: 5px 0 0 5px;
/*border: 1px green solid;*/
}
form.search button,
form[name="search"] button {
	position: absolute;
	top: 0;
	right: 0;
	width: 3em;
	padding: 0;
	height: 100%;
	font-size: 100%;
	border: 1px gray solid;
	border-radius: 0 5px 5px 0;
/*
	border: none;
	border-left: 1px gray solid;
*/
	background-color: lightgrey;
}
form.search button:hover,
form[name="search"] button:hover {
	background-color: gray;
	color: white;
	cursor: pointer;
}

input[type="submit"] {
	color: white;
	width: 100%;
	padding: .6em;
	position: sticky;
	bottom: 0;
	font-size: 140%;
	border: 1px darkgreen solid;
	border-radius: 7px;
	background-color: green;
}
input[type="submit"]:hover {
	filter: brightness(1.15);
}
input[type="submit"]:focus {
	background-color: green;
}
table~input[type="submit"] {
	margin-top: 6px;
}
/* FORMのTABLE直後のDIV、戻るや進むの操作パネル
2023-09-09
*/
form .panel {
/*
	background-color: white;
*/
	display: flex;
	position: sticky;
	bottom: 0;
	padding-top: 4px;
	width: 100%;
}
form .panel>.process-back {
	width: 4em;
	margin-right: 4px;
}
form .panel>.process-delete {
	width: 4em;
	margin-left: 4px;
}
form .panel button {
	width: 100%;
	font-size: 140%;
/*
	padding: .6em .3em;
*/
	padding: 1em .3em;
}
form .panel button {

}
/* form */
#login {
	width:80%;
	max-width: 320px;
	margin: 0 auto;
	margin-top: 4em;
}
#login input {
	width: 100%;
	height: 2.2em;
}
#login input[type="submit"] {
	height: 3em;
}
#login>div:last-child {
	margin-top: 1em;
}


/*======================================
TAG: H
--------------------------------------*/
header {
	position: relative;
	border: 1px gray solid;
	background-color: #ccff;
	margin: .15em 0;
	padding: .15em 0;
	font-size: 120%;
	width: 100%;
}
header>div.menu {
	display: inline;
	height: auto;
}
h1 {
	padding: 0 .6em;
	display: inline-block;
	width: 6em;
	font-size: 120%;
	display: none;
}
h1>span {
	font-size: 120%;
}
h2 {
	padding: 0 .6em;
/*
	display: inline-block;
	width: 10em;
*/
}
/*======================================
TAG: N
--------------------------------------*/
nav span.label {
	display: inline-block;
	font-size: 125%;
	line-height: 100%;
	padding: .3em;
	margin: 0;
	vertical-align: middle;
}
nav a { /* ボタンデザイン */
	display: inline-block;
	vertical-align: middle;
/*
	padding: .6em;
*/
	text-align: center;
	background-color: lightgrey;
	color: black;
	border: 1px gray solid;
	border-radius: 5px;
	text-decoration: none;
	line-height: 100%;
	font-size: 115%; /*100%;*/
	padding: .3em .6em;
	margin: .1em 0;
}
nav>div {
	margin-bottom: 3px;
}
nav>div:last-child {
	margin-bottom: 0;
}

/*======================================
TAG: S
--------------------------------------*/
section {
	padding: 0;
/*
	margin-top: -68px;
	padding-top: 68px;
*/
}
div>section {
	border: none !important;
}
select {
	max-width: 16em;
/*
border:none;
width:100%;
background-color: inherit;
padding:0;
margin:0;
*/
}


/*======================================
CLASS: C
--------------------------------------*/
.co2cl_btn {
	color: gray;
	margin-left: .6em;
	border: none;
	border-radius: 100vh;
	cursor: pointer;
}
.co2cl_hover {
	color: red !important;
}

/*======================================
CLASS: F
--------------------------------------*/
.flex {
	display: flex;
	align-items: center;
	column-gap: .3em;
}

/*======================================
CLASS: T
--------------------------------------*/
.topicpath { /* <ul> */
	display: block;
}
.topicpath>li {
	display: inline;
}
.topicpath>li:before {
	content: "＞ ";
}
.topicpath>li:first-child:before {
	content: "";
}
.trSelect {
	background-color: #ffe0b0 !important;
}
/*======================================
TAG: A
--------------------------------------*/
#middle ul.tile a {
	display: table-cell;
	vertical-align: middle;
	padding: .3em .6em;
	margin: .1em 0;
	width: 240px;
	height: 48px;
	text-align: center;
	background-color: lightgrey;
	border: 1px gray solid;
	border-radius: 5px;
	font-size: 160%;
	color: black;
	text-decoration: none;
	line-height: 100%;
	height: 3em;
}
#middle ul.tile a:hover {
	background-color: gray;
	color: white;
}

a.detail,
a.btn {
	display: inline-block;
	vertical-align: middle;
/*
	padding: .6em;
*/
	text-align: center;
	background-color: lightgrey;
	color: black;
	border: 1px gray solid;
	border-radius: 5px;
	text-decoration: none !important;
	line-height: 100%;
	font-size: 115%;
	padding: .3em .6em;
	margin: .1em 0;
	white-space: nowrap;
}
.tile a.btn {
	display: table-cell;
	vertical-align: middle;
	padding: .6em;
	width: 240px;
	height: 48px;
	text-align: center;
	background-color: lightgrey;
	border: 1px gray solid;
	border-radius: 5px;
	font-size: 160%;
	color: black;
	text-decoration: none;
	line-height: 100%;
	height: 3em;
}
a.btn:hover {
	background-color: gray;
	color: white;
}
.tile select {
	display: table-cell;
	vertical-align: middle;
	padding: .6em;
	width: 240px;
	height: 48px;
	text-align: center;
	background-color: lightgrey;
	border: 1px gray solid;
	border-radius: 5px;
	font-size: 160%;
	color: black;
	text-decoration: none;
	line-height: 100%;
	height: 3em;
}

a[href*="list.php"] {
	padding-left: 24px;
/*	background:url('../images/icon/table.png') 10% 50% no-repeat;*/
	background:url('../images/icon/table.png') 4px 50% no-repeat;
}
nav a[href*="list.php"] {
	background-color: lightgrey;
}
/*a[href*="entry.php"],*/
a[href*="edit.php"] {
	padding-left: 24px;
	background:url('../images/icon/pencil.png') 10% 50% no-repeat;
}
nav a[href*="entry.php"],
nav a[href*="edit.php"] {
	background-color: lightgrey;
}
nav.pager {
	position: sticky;
	background-color: white;
	padding: .3em;
}

a.filter {
	padding-left: 24px;
	background:url('../images/icon/pencil.png') 10% 50% no-repeat lightgrey;
}
a.funnel { /* funnel = 漏斗 */
	padding-left: 24px;
	background:url('../images/icon/funnel.png') 10% 50% no-repeat lightgrey;
}

/*
 (article) ヘッダ・フッタ
*/
.article_header,
.article_footer {
	position: sticky;
	margin: 0;
	margin-top: .3em;
	padding: .6em;
/*
	border-top: 1px gray solid;
	border: 1px gray solid;
*/
	background-color: #eee !important;
	border-radius: 5px;
}
/*
.atricle_header {
	top: 0;
}
.article_footer {
	bottom: 0;
}
.article_header .pager,
.article_footer .pager { /* .pager上書き */
/*
	margin: 0;
	background-color: transparent;
	padding: 0;
}
*/

/*======================================
TAG: O
--------------------------------------*/
option.history {
	background-color: paleturquoise ;
}
/*======================================
TAG: P
--------------------------------------*/
p.notice {
	color: red;
}
pre {
	white-space: pre-wrap;
}
/*======================================
CLASS: N
--------------------------------------*/
.note {
/*
	color: blue;
*/
	font-size: 85%;
}
.note:before {
/*
	content: "note: "
*/
	content: "※ "
}

/*======================================
CLASS: P
--------------------------------------*/
[class^="process-"] {
	margin: 0;
	border-width: 1px;
	border-style: solid;
	border-radius: 7px;
}
/*
[class^="process-"]:hover {
	filter: brightness(1.15);
}
*/
.process-back {
	color: red;
	border-color: red;
	background-color: #fcc;
}
.process-save {
	color: white;
	border-color: green;
	background-color: green;
}
.process-delete {
	color: red;
	border-color: red;
	background-color: #fcc;
}

.price:before {
	content: "\0a5";
}
.pager {
	margin: 2px 0;
}
.pager a {
	background-image: none;
	padding: .3em .6em;
	margin: 0 2px;
}

/*======================================
CLASS: R
--------------------------------------*/
.row {
	display: flex;
	gap: .6em;
	margin-bottom: .6em;
	align-items:flex-start;
}
/*
.row2 > * {
	max-width: 49.9%;
}
.row3 > * {
	max-width: 33.3%;
}
*/
/*
.row > * {
	max-width: 50%;
}
*/
.row>div {
	padding: .4em .8em;
/*
	max-width: 400px;
	min-width: 200px;
*/
	position: relative;
}
.row>div:first-child {
	padding-left: 0;
}
.row>div:last-child {
	padding-right: 0;
}
/*
.row>div table {
	min-width: 400px;
}
*/


/*======================================
CLASS: T
--------------------------------------*/
.tile { /* <ul> */
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 800px;
	margin: 0 auto;
}
.tile>li {
	padding: 4px;
}

/*======================================
SECTION: TABLE
--------------------------------------*/
/*
th select {
	width: 100%;
}
*/

/*======================================
SECTION: FORM
th select {
	font-size: 100%;
}
--------------------------------------*/


.qq-uploader {
	overflow: hidden;
}


/*======================================
section:
	jquery-ui 上書き
--------------------------------------*/
.ui-widget {
	font-size: inherit;
}
.ui-widget-header {
	background-color: inherit;
	border: none;
}
/*
#middle>section>.ui-widget-header {
	position: sticky;
	top: 0;
	z-index: 1000;
}
*/
.ui-widget.ui-widget-content {
/*
	border: inherit;
*/
	border: none;
}
/*
*/
.x-ui-tabs .x-ui-tabs .ui-widget.ui-widget-content {
	border: 1px #aaaaaa solid;
}
.ui-widget-content {
	border: none;
	position: relative;
	display: inline-block;
	min-width: 80%;
}
.ui-tabs-panel nav {
	position: sticky;
	top: 0;/*36px;*/
	z-index: 100;
	background-color: white;
	padding: 2px;
}

.ui-tabs-nav a {
	background-image: none;
}
.ui-tabs-nav li.tabs_active { /* 未使用 開いたURLで初期アクティブなタブの色付け 2021-09-07 仮設置 */
	background-color: #dfd;
}
/*======================================
SECTION: media対応
--------------------------------------*/
/* 通常は隠す、印刷時に表示する */
.media-print_show {
	display: none;
}






li {
	line-height: 145%;
}


#menu+nav {
	border-bottom: 1px gray solid !important;
}
#menu form.search,
#menu form[name="search"] {
	width: max-content;
	display: block !important;
	margin: .2em auto;
	font-size: 200%;
	height: 2.2em;
}
#menu nav form.search,
#menu nav form[name="search"] { /* navの中を戻す（:not使えない？）*/
	display: inline-block !important;
	font-size: 100%;
/*	height: auto;*/
	margin: 0;
}

