@charset "utf-8";
/* =Reset default browser CSS.
Based on work by Eric Meyer:http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border:0;
	font-family:inherit;
	font-style:inherit;
	font-weight:inherit;
	margin:0;
	outline:0;
	padding:0;
	vertical-align:baseline;
}
/*:focus {outline:0;}*/
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
ol, ul {
	list-style:none;
}
caption, th, td {
	font-weight:normal;
	text-align:left;
}
blockquote:before, blockquote:after, q:before, q:after {
	content:"";
}
blockquote, q {
	quotes:"" "";
}
a img {
	border:0;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display:block;
}
body {
	font-family: 'Open Sans', sans-serif;
	color:#333333;
	font-size:14px;
	-webkit-text-size-adjust:none;
}
/* リンク設定 */
a, a:link, a:visited, a:hover, a:active {
	color: #0076ff;
	margin: 0;
	padding: 0;
	text-decoration: none;
	outline: 0;
	background: transparent;
}
.center {
	width:100%;
	text-align:center;
}
/* Clearfix */
.cf:before {
	content: "";
	display: table;
}
.cf:after {
	content: "";
	display: table;
	clear: both;
}
p {
	margin-bottom: 14px;
	text-indent: 14px;
}
caption {
	text-align: left;
}
/* メインコンテンツ */
.title_box {
	background-color:#000;
	width:100%;
}
.title_contents {
	width: 1360px;
	margin:0 auto;
	padding: 3px;
	color:#fff;
	font-weight:bold;
}
.display_box {
	background-color:yellow;
	width:100%;
}
.display_msg {
	width: 1360px;
	margin:0 auto;
	padding: 3px;
	color:red;
	font-weight:bold;
}
.main_contents {
	box-shadow:1px 2px 3px #666;
	width: 1370px;
	margin:10px auto;
	border-radius: 5px;
	border: 1px solid #aaa;
	padding: 20px;
}
/* エラーメッセージ */
.mes_err {
	color:#F00;
	font-weight:bold;
}
.mes_msg {
	color:#36C;
	font-weight:bold;
}
/* フォームパーツ */
:disabled {
	background-color: #cccccc;
	color:#aaa;
}
select {
	padding:7px;
	font-size:16px;
}
input[type="text"] {
	border:0;
	padding:7px;
	font-size:16px;
	color:#000;
	border:solid 1px #ccc;
	margin:0 0 0px;
	width:300px;
}
input[type="password"][name='password'] {
	border:0;
	padding:7px;
	font-size:13px;
	color:#000;
	border:solid 1px #ccc;
	margin:0 0 0px;
	width:300px;
}
input.rateover {
	width:70px;
}
input.year {
	font-size:13px;
	padding:3px;
	width:60px;
	margin-left: 5px;
	margin-right: 5px;
}
input.sizetype {
	width:60px;
}
input.sellingprice {
	width:100px;
}
/* テーブル */
#listtable table tr:nth-child(odd) {
	background-color: #f4fcfe;
}
#listtable table {
	table-layout: fixed;
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}
#listtable th, td {
	padding: 0.75em 1em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
	vertical-align: middle;
}
#listtable th {
	text-align: center;
	padding: 0.5em 0.5em;
	background: #039;
	color: #fff;
	font-weight: 700;
	vertical-align: middle;
}
#listtable tr:nth-child(1) th:nth-child(3) {
    width: 125px;
}
#listtable tr:nth-child(1) th:nth-child(4) {
    width: 50px;
}
/* テーブル */
#listtable2 table tr:nth-child(odd) {
	background-color: #f4fcfe;
}
#listtable2 table {
	width: 100%;
	font-size:11px;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}
#listtable2 th, td {
	padding: 0.5em 1em 0.5em 1em;
	border: 1px solid #eaeaea;
	text-align: left;
	vertical-align: middle;
	display: table-cell; /*上下中央*/
}
#listtable2 th {
	background: #001684;
	color: #fff;
	font-weight: 700;
}

#inputtable table {
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}
#inputtable th, td {
	padding: 0.75em 1em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
#inputtable th {
	width: 250px;
	background: #039;
	color: #fff;
	font-weight: 700;
}

@media screen and (max-width:600px) { /*600px以下(スマホ用)*/
#inputtable table,#inputtable tbody,#inputtable tr,
	#inputtable th,#inputtable td {
display: block;
max-width: 98%; /*スマホ画面ほぼ一杯に広がる感じ*/
}
}
/* 出荷情報テーブル */
table.shipment tr:nth-child(odd) {
	background-color: #f4fcfe;
}
table.shipment {
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	font-size:12px;
	border-collapse: collapse;
	margin:10px 0 15px 0;
}
table.shipment th {
	padding: 0.75em 0em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: center;
	vertical-align:middle;
}
table.shipment td {
	padding: 0.75em 0em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: center;
	vertical-align:middle;
}
table.shipment th {
	background: #039;
	color: #fff;
	font-weight: 700;
}
table.shipment input[type="text"] {
	border:0;
	padding:3px;
	font-size:12px;
	color:#000;
	border:solid 1px #ccc;
	margin:0 0 0px;
}
table.shipment .number {
	width:60px;
}
table.shipment .size {
	width:30px;
}
table.shipment .size2 {
	width:35px;
}
table.shipment .price {
	width:60px;
}
input[type="text"].memo {
	width:450px;
	margin-bottom:15px;
}
table.shipment input[type="select"] {
	width:60px;
}
table.shipment_header {
	width: 100%;
	border: 0;
	border-spacing: 0;
	font-size:14px;
	border-collapse: collapse;
	margin:10px 0 0 0;
}
table.shipment_header td, table.shipment_header th {
	padding: 0em 0em;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
table.shipment th {
	background: #039;
	color: #fff;
	font-weight: 700;
}

/* 売価情報テーブル */
table.regist_price tr:nth-child(odd) {
	background-color: #f4fcfe;
}
table.regist_price {
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	font-size:12px;
	border-collapse: collapse;
	margin:15px 0 15px 0;
}
table.regist_price th {
	padding: 0.75em 0em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: center;
	vertical-align:middle;
}
table.regist_price td {
	padding: 0.75em 0em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: center;
	vertical-align:middle;
}
table.regist_price th {
	background: #039;
	color: #fff;
	font-weight: 700;
}
table.regist_price input[type="text"] {
	border:0;
	padding:3px;
	font-size:12px;
	color:#000;
	border:solid 1px #ccc;
	margin:0 0 0px;
}
table.regist_price .space {
	width:15px;
	background-color:#bbb;
}
table.regist_price .number {
	width:70px;
}
table.regist_price .size {
	width:30px;
}
table.regist_price .size2 {
	width:35px;
}
table.regist_price .price {
	width:55px;
}
input[type="text"].memo {
	width:450px;
	margin-bottom:15px;
}
table.regist_price input[type="select"] {
	width:60px;
}
table.regist_price_header {
	width: 100%;
	border: 0;
	border-spacing: 0;
	font-size:14px;
	border-collapse: collapse;
	margin:10px 0 0 0;
}
table.regist_price_header td, table.regist_price_header th {
	padding: 0em 0em;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
table.regist_price th {
	background: #039;
	color: #fff;
	font-weight: 700;
}
/* 商品台帳／在庫参照ヘッダーテーブル */
table.reference_product_header {
	width: 100%;
	border: 0;
	border-spacing: 0;
	font-size:14px;
	border-collapse: collapse;
	margin:10px 0 0 0;
}
table.reference_product_header td, table.reference_product_header th {
	padding: 0em 0em;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
table.reference_product_header .number{
	width: 100px;
}

table.reference_product_header2 {
	border: 0;
	border-spacing: 0;
	font-size:14px;
	border-collapse: collapse;
	margin:10px 0 0 0;
}
table.reference_product_header2 td, table.reference_product_header2 th {
	padding: 0 10px;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	vertical-align: top;
	text-align: left;
}
table.reference_product_header2 .number{
	width: 100px;
}
.reference_product_header2 dt {
	display: table-cell; /*上下中央*/
	width: 250px;
	height: 180px;
	text-align: center; /*左右中央*/
	vertical-align: middle; /*上下中央*/
	layout-grid-line:166px; /*IE7*/
	background-color:#CCC;
}
.reference_product_header2 dt img {
	width:auto;
	height:auto;
	max-width:250px;
	max-height:200px;
	vertical-align: middle;/*IE7*/
}
.reference_product_header .info {
	text-align:left;
	vertical-align:top;
}

table.reference_shop_header {
	width: 100%;
	border: 0;
	border-spacing: 0;
	font-size:14px;
	border-collapse: collapse;
	margin:10px 0 0 0;
}
table.reference_shop_header td, table.reference_shop_header th {
	padding: 0em 0em;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
table.reference_shop_header td.right{
	padding: 0em 0em;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: right;
}

/* テーブル */
#inputtable table {
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}

#inputtable th, td {
	padding: 0.75em 1em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
#inputtable th {
	width: 250px;
	background: #039;
	color: #fff;
	font-weight: 700;
	vertical-align: middle;
}
.tdmidashi {
	background-color:#FBFBFB;
	border-left:#06C 2px solid;
}
#buttontable table {
	width: 100%;
	margin-top:15px;
	border: 0px;
	border-spacing: 0;
	border-collapse: collapse;
}
#buttontable th {
	text-align:left;
	border: 0px;
	border-spacing: 0;
	border-collapse: collapse;
}
#buttontable td {
	text-align:right;
	border: 0px;
	border-spacing: 0;
	border-collapse: collapse;
}
#scrolltable table tr:nth-child(odd) {
	background-color: #f4fcfe;
}
#scrolltable {
	margin-top:10px;
	overflow: scroll;   /* スクロール表示 */
	width: 300px;
	height: 200px;
	overflow-x: hidden;
}
#scrolltable table {
	width: 280px;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}
#scrolltable table th, td {
	padding: 0.50em 1em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
}
#scrolltable table th {
	background: #039;
	color: #fff;
	font-weight: 700;
}


/* テーブル */
table. tr:nth-child(odd) {
 background-color: #f4fcfe;
}
table.csvtable {
	width: 60%;
	margin:0 auto;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
	margin-bottom:15px;
}
/* ボタン */
button {
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background-image: linear-gradient(top, rgba(255,255,255,.3),  rgba(255,255,255,0)),  url(data:image/png;base64,iVBORw0KGg[...]QmCC);
	display: inline-block;
 *display: inline;
	zoom: 1;
	padding: 6px 10px;
	margin: 0;
	cursor: pointer;
	border: 1px solid #bbb;
	overflow: visible;
	font: bold 13px arial, helvetica, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	background-color: #269CE9;
	border-color: #269CE9;
	transition: background-color .2s ease-out;
	background-clip: padding-box; /* Fix bleeding */
	border-radius: 3px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .3),  0 2px 2px -1px rgba(0, 0, 0, .5),  0 1px 0 rgba(255, 255, 255, .3) inset;
}
button:hover {
	background-color: #70B9E8;
	color: #FFC;
}
button:active {
	background: #269CE9;
	background: #e9e9e9;
	position: relative;
	top: 1px;
	text-shadow: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
	outline: none;
}
button.color {
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	background-image: linear-gradient(top, rgba(255,255,255,.3),  rgba(255,255,255,0)),  url(data:image/png;base64,iVBORw0KGg[...]QmCC);
}
/* より大きいサイズのボタン */
button.large {
	font-size:16px;
	padding: 12px 80px;
	text-transform: uppercase;
}
button.large:active {
	top: 2px;
}
/* */
 
button.green {
	background-color: #57a957;
	border-color: #57a957;
}
button.green:hover {
	background-color: #62c462;
}
button.green:active {
	background: #57a957;
}

button.orange {
	background-color: #FD5B00;
	border-color: #FD5B00;
	padding: 6px 10px;
	margin: 2px;
}
button.orange:hover {
	background-color: #FF8B00;
}
button.orange:active {
	background: #FD5B00;
}

button.purple {
	background-color: #8F01CB;
	border-color: #8F01CB;
	padding: 6px 10px;
	margin: 2px;
}
button.purple:hover {
	background-color: #CF49FB;
}
button.purple:active {
	background: #8F01CB;
}
/* */
 
button.red {
	background-color: #c43c35;
	border-color: #c43c35;
}
button.red:hover {
	background-color: #ee5f5b;
}
button.red:active {
	background: #c43c35;
}
/* ドロップダウンメニュー */

#menu {
	list-style:none;
	width:1360px;
	margin:10px auto 10px auto;
	height:43px;
	padding:0px 20px 0px 20px;
	/* Rounded Corners */
	
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	/* Background color and gradients */
	
	background: #014464;
	background: -moz-linear-gradient(top, #0272a7, #013953);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0272a7), to(#013953));
	/* Borders */
	
	border: 1px solid #002232;
	-moz-box-shadow:inset 0px 0px 1px #edf9ff;
	-webkit-box-shadow:inset 0px 0px 1px #edf9ff;
	box-shadow:inset 0px 0px 1px #edf9ff;
}
#menu li {
	float:left;
	display:block;
	text-align:center;
	position:relative;
	padding: 4px 10px 4px 10px;
	margin-right:30px;
	margin-top:7px;
	border:none;
}
#menu li:hover {
	border: 1px solid #777777;
	padding: 4px 9px 4px 9px;
	/* Background color and gradients */
	
	background: #F4F4F4;
	background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));
	/* Rounded corners */
	
	-moz-border-radius: 5px 5px 0px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
}
#menu li a {
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	color: #EEEEEE;
	display:block;
	outline:0;
	text-decoration:none;
	text-shadow: 1px 1px 1px #000;
}
#menu li:hover a {
	color:#161616;
	text-shadow: 1px 1px 1px #ffffff;
}
#menu li .drop {
	padding-right:21px;
	background:url("img/drop.png") no-repeat right 8px;
}
#menu li:hover .drop {
	background:url("img/drop.png") no-repeat right 7px;
}
.dropdown_1column, .dropdown_2columns, .dropdown_3columns, .dropdown_4columns, .dropdown_5columns {
	margin:4px auto;
	float:left;
	position:absolute;
	left:-999em; /* Hides the drop down */
	text-align:left;
	padding:10px 5px 10px 5px;
	border:1px solid #777777;
	border-top:none;
	/* Gradient background */
	background:#F4F4F4;
	background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));
	/* Rounded Corners */
	-moz-border-radius: 0px 5px 5px 5px;
	-webkit-border-radius: 0px 5px 5px 5px;
	border-radius: 0px 5px 5px 5px;
}
.dropdown_1column {
	width: 140px;
}
.dropdown_2columns {
	width: 280px;
}
.dropdown_3columns {
	width: 420px;
}
.dropdown_4columns {
	width: 560px;
}
.dropdown_5columns {
	width: 700px;
}
#menu li:hover .dropdown_1column, #menu li:hover .dropdown_2columns, #menu li:hover .dropdown_3columns, #menu li:hover .dropdown_4columns, #menu li:hover .dropdown_5columns {
	left:-1px;
	top:auto;
}
.col_1, .col_2, .col_3, .col_4, .col_5 {
	display:inline;
	float: left;
	position: relative;
	margin-left: 5px;
	margin-right: 5px;
}
.col_1 {
	width:130px;
}
.col_2 {
	width:270px;
}
.col_3 {
	width:410px;
}
.col_4 {
	width:550px;
}
.col_5 {
	width:690px;
}
#menu .menu_right {
	float:right;
	margin-right:0px;
}
#menu li .align_right {
	/* Rounded Corners */
	-moz-border-radius: 5px 0px 5px 5px;
	-webkit-border-radius: 5px 0px 5px 5px;
	border-radius: 5px 0px 5px 5px;
}
#menu li:hover .align_right {
	left:auto;
	right:-1px;
	top:auto;
}
#menu p, #menu h2, #menu h3, #menu ul li {
	font-family:Arial, Helvetica, sans-serif;
	line-height:21px;
	font-size:12px;
	text-align:left;
	text-shadow: 1px 1px 1px #FFFFFF;
}
#menu h2 {
	font-size:21px;
	font-weight:400;
	letter-spacing:-1px;
	margin:7px 0 14px 0;
	padding-bottom:14px;
	border-bottom:1px solid #666666;
}
#menu h3 {
	font-size:14px;
	margin:7px 0 14px 0;
	padding-bottom:7px;
	border-bottom:1px solid #888888;
}
#menu p {
	line-height:18px;
	margin:0 0 10px 0;
}
#menu li:hover div a {
	font-size:12px;
	color:#015b86;
}
#menu li:hover div a:hover {
	color:#029feb;
}
.strong {
	font-weight:bold;
}
.italic {
	font-style:italic;
}
.imgshadow { /* Better style on light background */
	background:#FFFFFF;
	padding:4px;
	border:1px solid #777777;
	margin-top:5px;
	-moz-box-shadow:0px 0px 5px #666666;
	-webkit-box-shadow:0px 0px 5px #666666;
	box-shadow:0px 0px 5px #666666;
}
.img_left { /* Image sticks to the left */
	width:auto;
	float:left;
	margin:5px 15px 5px 5px;
}
#menu li .black_box {
	background-color:#333333;
	color: #eeeeee;
	text-shadow: 1px 1px 1px #000;
	padding:4px 6px 4px 6px;
	/* Rounded Corners */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	/* Shadow */
	-webkit-box-shadow:inset 0 0 3px #000000;
	-moz-box-shadow:inset 0 0 3px #000000;
	box-shadow:inset 0 0 3px #000000;
}
#menu li ul {
	list-style:none;
	padding:0;
	margin:0 0 12px 0;
}
#menu li ul li {
	font-size:12px;
	line-height:24px;
	position:relative;
	text-shadow: 1px 1px 1px #ffffff;
	padding:0;
	margin:0;
	float:none;
	text-align:left;
	width:130px;
}
#menu li ul li:hover {
	background:none;
	border:none;
	padding:0;
	margin:0;
}
#menu li .greybox li {
	background:#F4F4F4;
	border:1px solid #bbbbbb;
	margin:0px 0px 4px 0px;
	padding:4px 6px 4px 6px;
	width:255px;
	font-size:14px;
	/* Rounded Corners */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border-radius: 5px;
}
#menu li .greybox li:hover {
	background:#ffffff;
	border:1px solid #aaaaaa;
	padding:4px 6px 4px 6px;
	margin:0px 0px 4px 0px;
	font-size:14px;
}
 @media screen and (max-width:1160px) {
}

.checkwrap{
	float: left;
	margin-right: 30px;
}
.req {
	color: #ff99f7;
	font-size: 12px;
}

textarea {
	font-size: 15px;
    width: 90%;
	height: 100px;
    border: 1px #ccc solid;
    padding: 5px;
}
textarea.small {
	width: 90%;
	height: 50px;
	border: 1px #ccc solid;
	padding: 5px;
}

/*=== 190410 ボタンデザイン調整 ===*/
.csv_btn a {
    color: #fff;
    text-shadow: 0 1px 0 rgba(0,0,0,.2);
    background-image: linear-gradient(top, rgba(255,255,255,.3), rgba(255,255,255,0)), url(data:image/png;base64,iVBORw0KGg[...]QmCC);
    display: inline-block;
    zoom: 1;
    padding: 6px 20px;
    margin: 0;
    cursor: pointer;
    border: 1px solid #bbb;
    overflow: visible;
    font: bold 13px arial, helvetica, sans-serif;
    text-decoration: none;
    white-space: nowrap;
    background-color: #269CE9;
    border-color: #269CE9;
    transition: background-color .2s ease-out;
    background-clip: padding-box;
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 2px 2px -1px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .3) inset;
}
.csv_btn a:hover {
    background-color: #70B9E8;
    color: #FFC;
}
.csv_btn a:active {
    background: #269CE9;
    background: #e9e9e9;
    position: relative;
    top: 1px;
    text-shadow: none;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .3) inset;
    outline: none;
}
.csv_btn {
    text-align: right;
    margin-bottom: 10px;
}
.pager a {
    color: #039;
}
.pager a:hover {
    text-decoration: underline;
}
.pager a.prev:before {
    content: "<";
    font-weight: bold;
    margin-right: 5px;
}
.pager a.next:after {
    content: ">";
    font-weight: bold;
    margin-left: 5px;
}
.pager {
    margin-bottom: 7px;
}
.pager span {
    color: #717171;
    margin: 0 15px;
}


.modal a.modalClose {
	position: absolute;
	right: 13px;
	top: 5px;
	font-size: 24px;
	margin: 0;
}

.modal p.title {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #4079be;
	margin-bottom: 10px;
}

.modal {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: none;
	z-index: 10001;
}

.modal .inner {
	position: fixed;
	z-index: 10001;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 620px;
	background: #fff;
	padding: 30px;
	border-radius: 5px;
	padding-top: 20px;
	text-align: center;
}


a.modalClose {
	display: block;
	text-align: center;
	margin-top: 27px;
	color: #868686;
	cursor: pointer;
}

#detail .modal h3 {
	text-align: center;
	padding: 0;
	width: 100%;
}


.modal a.modalClose {
	position: absolute;
	right: 13px;
	top: 5px;
	font-size: 24px;
	margin: 0;
}

.modal p.title {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #4079be;
	margin-bottom: 10px;
}

.modal .dl_button{
	text-align: center;
}
.modal .dl_button img {
	width: 200px;
}

/*トップページ*/
.index_title{
	width: 375px;
	display: block;
	margin: 128px auto 48px;
}
#buttontable{
	width: 350px;
	display: block;
	margin: 20px auto 20px;
	text-align:center;
}
.tokei_data{
	width: 840px;
	display: block;
	margin: 10px auto 20px;
	text-align:center;
	font-size:16px;
}
.download_input{
	width: 840px;
	display: block;
	margin: 20px auto 20px;
	text-align:center;
	font-size:16px;
	line-height: 220%;
}
.error{
	width: 640px;
	display: block;
	background-color:#FF9;
	padding:5px;
	color:#F00;
	font-weight:bold;
	font-size:18px;
	margin: 10px auto 20px;
	text-align:center;
}
.index_link_box{
	width: 720px;
	margin: 0 auto;
	display: block;
}
.index_link_box p{
	width: 320px;
	float: left;
}
.index_link_box p.second{
	width: 320px;
	float: right;
}
.index_link_box p a{
	display: block;
}

.index_link_box2{
	width: 320px;
	margin: 30px auto;
	display: block;
	text-align:center;
}
.index_link_box2 p{
	width: 320px;
}
.index_footer{
	position: absolute;
	bottom: 0;
	width: 1024px;
	background-color: #e6e6e6;
	text-align:center;
	padding: 20px;
}
.index_footer p{
	float: left;
	position: relative;
}
.index_footer_wrap{
	width: 250px;
	margin: 0 auto;
	display: block;
}
.index_footer_wrap p.second{
	float: right;
}
.index_footer_wrap p:before{
	font-family: FontAwesome;
	content: "\f04b";
	color: #0071BC;
	margin-right: 4px;
}
table.total_data tr:nth-child(odd) {
	background-color: #f4fcfe;
}
table.total_data {
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}
table.total_data th, td {
	padding: 0.75em 1em;
	border: 1px solid #eaeaea;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	text-align: left;
	vertical-align: middle;
}
table.total_data th {
	background: #F0E6DC;
	color: #000;
	font-weight: 700;
	text-align:center;
	font-size:14px;
	line-height: 90%;
}
table.total_data th.midashi {
	width:120px;
	background: #000;
	color: #fff;
	font-weight: 700;
	font-size:14px;
	text-align:center;
}
table.total_data td {
	background: #EFEFEF;
	color: #000;
	font-size:14px;
	text-align:center;
}

table.monthly_data tr:nth-child(odd) {
	background-color: #f4fcfe;
}
table.monthly_data {
	width: 100%;
	border: 1px solid #eaeaea;
	border-spacing: 0;
	border-collapse: collapse;
}
table.monthly_data th, td {
	padding: 0.75em 1em;
	border: 1px solid #eaeaea;
	font-family: "Helvetica Neue",
	Arial,
	"Hiragino Kaku Gothic ProN",
	"Hiragino Sans",
	Meiryo,
	sans-serif;
	font-weight: 300;
	text-align: left;
	vertical-align: middle;
}
table.monthly_data th {
	background: #bad2ee;
	color: #000;
	font-weight: 700;
	font-size:14px;
	line-height: 90%;
	text-align:center;
}
table.monthly_data th.midashi {
	width:120px;
	background: #4079be;
	color: #fff;
	font-weight: 700;
	font-size:14px;
	line-height: 110%;
	text-align:center;
}
table.monthly_data td {
	background: #EFEFEF;
	color: #000;
	font-size:14px;
	text-align:center;
}
table.monthly_data td.day {
	background: #cccccc;
	font-size: 13px;
}
#overlay {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.4);
	z-index: 10000;
	cursor: pointer;
	text-align: center;
}

#overlay img {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 60px;
	height: 60px;

}
.loader,
.loader:after {
	border-radius: 50%;
	width: 7em;
	height: 7em;
}

.loader {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	font-size: 10px;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(255, 255, 255, 0.2);
	border-right: 1.1em solid rgba(255, 255, 255, 0.2);
	border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
	border-left: 1.1em solid #ffffff;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.st_0,.st_1,.st_2,.st_3,.st_4,.st_5,.st_6{
	background-color: #d40415;
	color: #ffffff;
	border-radius: 3px;
	padding: 2px 2px 2px 2px;
	text-align: center;
}
.st_7,.st_8,.st_9,.st_10,.st_11,.st_12,.st_13{
	background-color: #ffa600;
	color: #ffffff;
	border-radius: 3px;
	padding: 2px 2px 2px 2px;
	text-align: center;
}
.st_14,.st_15,.st_16,.st_17,.st_18,.st_19,.st_20,.st_22{ /* st_22 知的多様性を移動 */
	background-color: #88EB7A;
	color: #000000;
	border-radius: 3px;
	padding: 2px 2px 2px 2px;
	text-align: center;
}
.st_21,.st_23,.st_24,.st_25,.st_26,.st_27,.st_28{
	background-color: #1db7ff;
	color: #ffffff;
	border-radius: 3px;
	padding: 2px 2px 2px 2px;
	text-align: center;
}
.st_old{
	color: #888888;
	padding: 2px 2px 2px 2px;
	text-align: center;
	font-size: 11px;
}

/* =========================================================
 * 2026 line-mng UI refresh overrides
 * - Keep PHP/JS behavior unchanged
 * - Modern visual style
 * - 1400px base layout
 * ======================================================= */
:root {
	--ui-bg: #f3f6fb;
	--ui-surface: #ffffff;
	--ui-text: #1f2937;
	--ui-subtext: #64748b;
	--ui-border: #d9e2ec;
	--ui-border-strong: #b8c7d6;
	--ui-primary: #2563eb;
	--ui-primary-dark: #1d4ed8;
	--ui-danger: #dc2626;
	--ui-success: #16a34a;
	--ui-warning: #f59e0b;
	--ui-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	--ui-shadow-soft: 0 2px 10px rgba(15, 23, 42, 0.06);
	--ui-radius: 12px;
	--ui-radius-sm: 8px;
	--ui-container: 1400px;
}

body.admin-ui {
	background: var(--ui-bg);
	color: var(--ui-text);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.55;
}

body.admin-ui a,
body.admin-ui a:link,
body.admin-ui a:visited {
	color: #1d4ed8;
}

body.admin-ui a:hover {
	color: #1e40af;
	text-decoration: underline;
}

body.admin-ui p {
	text-indent: 0;
	margin-bottom: 10px;
}

body.admin-ui #header,
body.admin-ui .title_contents,
body.admin-ui .display_msg,
body.admin-ui .main_contents {
	max-width: var(--ui-container);
	width: calc(100% - 32px);
	margin-left: auto;
	margin-right: auto;
}

body.admin-ui .title_box {
	background: linear-gradient(90deg, #0f172a, #1e293b);
	border-bottom: 1px solid #334155;
}

body.admin-ui .title_contents {
	padding: 14px 20px;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #f8fafc;
}

body.admin-ui .display_box {
	background: #fff8e1;
	border-top: 1px solid #fde68a;
	border-bottom: 1px solid #fde68a;
}

body.admin-ui .display_msg {
	padding: 10px 20px;
	font-size: 14px;
	color: #b45309;
	font-weight: 700;
}

body.admin-ui .main_contents {
	margin-top: 16px;
	margin-bottom: 24px;
	padding: 22px 24px;
	background: var(--ui-surface);
	border: 1px solid var(--ui-border);
	border-radius: var(--ui-radius);
	box-shadow: var(--ui-shadow);
}

body.admin-ui .main_contents hr {
	border: 0;
	border-top: 1px solid var(--ui-border);
	margin: 16px 0;
}

/* Global menu */
body.admin-ui #menu {
	width: 100%;
	height: auto;
	margin: 14px auto;
	padding: 8px;
	border: 1px solid var(--ui-border);
	border-radius: var(--ui-radius);
	background: #ffffff;
	box-shadow: var(--ui-shadow-soft);
	display: flex;
	align-items: center;
	gap: 8px;
}

body.admin-ui #menu li {
	float: none;
	display: block;
	margin: 0;
	padding: 0;
}

body.admin-ui #menu li a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: #1e293b;
	font-size: 14px;
	font-weight: 600;
	text-shadow: none;
	transition: all 0.2s ease;
}

body.admin-ui #menu li:hover {
	border: none;
	padding: 0;
	background: transparent;
}

body.admin-ui #menu li:hover > a,
body.admin-ui #menu li > a:focus {
	background: #eef2ff;
	color: #1e40af;
	text-decoration: none;
}

body.admin-ui #menu li .drop,
body.admin-ui #menu li:hover .drop {
	background: none;
	padding-right: 14px;
	position: relative;
}

body.admin-ui #menu li .drop::after {
	content: "▾";
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 11px;
}

body.admin-ui #menu .menu_right {
	margin-left: auto;
}

body.admin-ui .dropdown_1column,
body.admin-ui .dropdown_2columns,
body.admin-ui .dropdown_3columns,
body.admin-ui .dropdown_4columns,
body.admin-ui .dropdown_5columns {
	margin: 0;
	padding: 10px;
	border: 1px solid var(--ui-border-strong);
	border-radius: var(--ui-radius-sm);
	background: #ffffff;
	box-shadow: var(--ui-shadow-soft);
	top: 100%;
	z-index: 1000;
}

body.admin-ui #menu li:hover .dropdown_1column,
body.admin-ui #menu li:hover .dropdown_2columns,
body.admin-ui #menu li:hover .dropdown_3columns,
body.admin-ui #menu li:hover .dropdown_4columns,
body.admin-ui #menu li:hover .dropdown_5columns {
	left: 0;
	top: calc(100% - 1px);
}

body.admin-ui #menu li .greybox li {
	width: 100%;
	margin: 0 0 6px;
	padding: 0;
	border: 1px solid var(--ui-border);
	border-radius: 8px;
	background: #f8fafc;
}

body.admin-ui #menu li .greybox li:last-child {
	margin-bottom: 0;
}

body.admin-ui #menu li .greybox li a,
body.admin-ui #menu li ul.simple li a {
	padding: 8px 10px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}

body.admin-ui #menu li .greybox li:hover {
	border-color: #cbd5e1;
	background: #eef2ff;
}

/* Forms */
body.admin-ui form[name="myForm"],
body.admin-ui #myForm {
	padding: 14px 16px;
	border: 1px solid var(--ui-border);
	background: #f8fbff;
	border-radius: 10px;
	margin-bottom: 14px;
}

body.admin-ui .action-form {
	margin-top: 6px;
}

body.admin-ui select,
body.admin-ui input[type="text"],
body.admin-ui input[type="password"],
body.admin-ui input[type="file"],
body.admin-ui textarea {
	height: 40px;
	padding: 8px 12px;
	font-size: 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #fff;
	color: #0f172a;
}

body.admin-ui input[type="text"] {
	width: 320px;
	max-width: 100%;
}

body.admin-ui input[type="password"][name='password'],
body.admin-ui input[type="password"][name='pswd'] {
	width: 320px;
}

body.admin-ui textarea {
	height: 110px;
	width: 100%;
}

/* Buttons */
body.admin-ui button {
	border: 1px solid transparent;
	border-radius: 10px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 700;
	text-shadow: none;
	box-shadow: none;
	background-image: none;
	background-color: var(--ui-primary);
	border-color: var(--ui-primary);
	color: #fff;
	transition: all 0.2s ease;
}

body.admin-ui button:hover {
	background-color: var(--ui-primary-dark);
	border-color: var(--ui-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

body.admin-ui button:active {
	top: 0;
	transform: translateY(0);
	box-shadow: none;
	background: var(--ui-primary-dark);
}

body.admin-ui button.large {
	font-size: 14px;
	padding: 10px 22px;
	text-transform: none;
	letter-spacing: 0.01em;
}

body.admin-ui button.green {
	background: var(--ui-success);
	border-color: var(--ui-success);
}

body.admin-ui button.green:hover {
	background: #15803d;
	border-color: #15803d;
}

body.admin-ui button.red {
	background: var(--ui-danger);
	border-color: var(--ui-danger);
}

body.admin-ui button.red:hover {
	background: #b91c1c;
	border-color: #b91c1c;
}

body.admin-ui button.blue {
	background: var(--ui-primary);
	border-color: var(--ui-primary);
}

body.admin-ui a.button {
	display: inline-block;
	padding: 10px 16px;
	border: 1px solid var(--ui-border);
	border-radius: 10px;
	font-weight: 700;
	background: #ffffff;
	color: #334155;
	text-decoration: none;
}

body.admin-ui a.button.large {
	padding: 10px 22px;
	font-size: 14px;
}

body.admin-ui a.button:hover {
	background: #f1f5f9;
	text-decoration: none;
}

/* Tables */
body.admin-ui #listtable table,
body.admin-ui #inputtable table,
body.admin-ui table.total_data,
body.admin-ui table.monthly_data,
body.admin-ui table.editor,
body.admin-ui table.csv_format_table,
body.admin-ui table.results_table,
body.admin-ui table.error_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ui-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}

body.admin-ui #listtable th,
body.admin-ui #inputtable th,
body.admin-ui table.total_data th,
body.admin-ui table.monthly_data th,
body.admin-ui table.editor th,
body.admin-ui table.csv_format_table th,
body.admin-ui table.results_table th,
body.admin-ui table.error_table th {
	background: #1e293b;
	color: #f8fafc;
	font-size: 12px;
	font-weight: 700;
	padding: 10px 8px;
	border-right: 1px solid #334155;
	border-bottom: 1px solid #334155;
	text-align: center;
	vertical-align: middle;
}

body.admin-ui #listtable td,
body.admin-ui #inputtable td,
body.admin-ui table.total_data td,
body.admin-ui table.monthly_data td,
body.admin-ui table.editor td,
body.admin-ui table.csv_format_table td,
body.admin-ui table.results_table td,
body.admin-ui table.error_table td {
	padding: 10px 8px;
	font-size: 12px;
	color: #1f2937;
	border-right: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
	background: #ffffff;
}

body.admin-ui #listtable table tr:nth-child(odd) td {
	background: #f8fbff;
}

body.admin-ui #inputtable th {
	width: 260px;
}

body.admin-ui .tdmidashi {
	background: #f8fbff;
	border-left: 3px solid #3b82f6;
}

body.admin-ui .pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 10px 0 14px;
}

body.admin-ui .pager span {
	margin: 0;
	color: var(--ui-subtext);
	font-size: 13px;
}

body.admin-ui .pager a {
	padding: 6px 10px;
	border-radius: 8px;
	border: 1px solid var(--ui-border);
	background: #fff;
	color: #334155;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
}

body.admin-ui .pager a:hover {
	background: #f1f5f9;
}

body.admin-ui .pager a.prev:before,
body.admin-ui .pager a.next:after {
	font-weight: 700;
}

/* Login */
body.login.admin-ui .main_contents {
	max-width: 620px;
	padding: 28px;
}

body.login.admin-ui #inputtable th {
	width: 180px;
}

/* Home modal and overlay */
body.admin-ui .modal .inner {
	width: min(620px, calc(100% - 24px));
	border-radius: 14px;
	box-shadow: var(--ui-shadow);
}

body.admin-ui #overlay {
	background-color: rgba(15, 23, 42, 0.45);
}

/* CSV import */
body.admin-ui .csv_import_guide,
body.admin-ui .csv_upload_section,
body.admin-ui .import_results,
body.admin-ui .error_details {
	padding: 16px;
	border: 1px solid var(--ui-border);
	border-radius: 10px;
	background: #f8fbff;
	margin-bottom: 16px;
}

body.admin-ui .csv_import_guide h3,
body.admin-ui .csv_upload_section h3,
body.admin-ui .import_results h3 {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 8px;
}

body.admin-ui .csv_import_guide h4,
body.admin-ui .error_details h4 {
	font-size: 15px;
	font-weight: 700;
	margin: 12px 0 8px;
}

body.admin-ui .csv_sample pre {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 8px;
	padding: 12px;
	font-size: 12px;
	overflow: auto;
}

body.admin-ui .note {
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
}

body.admin-ui .error_box {
	max-width: var(--ui-container);
	width: calc(100% - 32px);
	margin: 12px auto 0;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 10px;
}

body.admin-ui .error_msg {
	padding: 10px 14px;
	color: #b91c1c;
	font-weight: 700;
}

@media (max-width: 1480px) {
	body.admin-ui #header,
	body.admin-ui .title_contents,
	body.admin-ui .display_msg,
	body.admin-ui .main_contents {
		width: calc(100% - 20px);
	}
}

@media (max-width: 980px) {
	body.admin-ui #menu {
		flex-wrap: wrap;
	}

	body.admin-ui #menu .menu_right {
		margin-left: 0;
	}

	body.admin-ui form[name="myForm"],
	body.admin-ui #myForm {
		padding: 12px;
	}
}

/* =========================================================
 * 2026 line-mng luxe tuning
 * - premium, calm, high-contrast visual refinement
 * ======================================================= */
body.admin-ui {
	background:
		radial-gradient(circle at 0% 0%, rgba(201, 169, 97, 0.09), transparent 36%),
		radial-gradient(circle at 100% 0%, rgba(15, 23, 42, 0.12), transparent 44%),
		#f4f6fa;
	color: #1b2433;
	font-family: "Avenir Next", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

body.admin-ui .title_box {
	background: linear-gradient(115deg, #0b1320 0%, #16263e 65%, #223759 100%);
	border-bottom: 1px solid #2f4665;
}

body.admin-ui .title_contents {
	padding: 16px 22px;
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #f3e8c8;
}

body.admin-ui #menu {
	border: 1px solid #d7c79b;
	background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
	padding: 10px;
}

body.admin-ui #menu li a {
	color: #263449;
	font-weight: 700;
}

body.admin-ui #menu li:hover > a,
body.admin-ui #menu li > a:focus {
	background: linear-gradient(180deg, #f4ebd4 0%, #eee0bc 100%);
	color: #1f2d43;
}

body.admin-ui .dropdown_1column,
body.admin-ui .dropdown_2columns,
body.admin-ui .dropdown_3columns,
body.admin-ui .dropdown_4columns,
body.admin-ui .dropdown_5columns {
	border: 1px solid #d8c699;
	background: #fffefc;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	box-sizing: border-box;
	overflow: hidden;
}

/* Expand dropdown area to avoid clipping */
body.admin-ui .dropdown_1column {
	width: 220px;
}

body.admin-ui .dropdown_2columns {
	width: 320px;
}

body.admin-ui .dropdown_3columns {
	width: 460px;
}

body.admin-ui .dropdown_4columns {
	width: 620px;
}

body.admin-ui .dropdown_5columns {
	width: 760px;
}

body.admin-ui .col_1,
body.admin-ui .col_2,
body.admin-ui .col_3,
body.admin-ui .col_4,
body.admin-ui .col_5 {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.admin-ui #menu li .greybox li {
	width: 100%;
	max-width: 100%;
	border-color: #e3d6b3;
	background: #fdfaf1;
	box-sizing: border-box;
}

body.admin-ui #menu li .greybox li:hover {
	background: #f6edd8;
	border-color: #d6c08f;
}

body.admin-ui .main_contents {
	padding: 26px 28px;
	border: 1px solid #d8dbe2;
	background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

body.admin-ui form[name="myForm"],
body.admin-ui #myForm {
	padding: 16px 18px;
	border: 1px solid #ddd6c4;
	background: linear-gradient(180deg, #fdfbf7 0%, #f7f9ff 100%);
}

body.admin-ui select,
body.admin-ui input[type="text"],
body.admin-ui input[type="password"],
body.admin-ui input[type="file"],
body.admin-ui textarea {
	border: 1px solid #c9cfda;
	border-radius: 10px;
	height: 42px;
}

/* Free keyword textbox (some screens omit type="text") */
body.admin-ui form[name="myForm"] input[name="keyword"],
body.admin-ui .filter-form input[name="keyword"] {
	width: 320px;
	max-width: 100%;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #c7cfdd;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	color: #1b2433;
	font-size: 14px;
	letter-spacing: 0.01em;
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.08);
	transition: all 0.2s ease;
}

body.admin-ui form[name="myForm"] input[name="keyword"]:focus,
body.admin-ui .filter-form input[name="keyword"]:focus {
	outline: none;
	border-color: #b6904e;
	box-shadow:
		0 0 0 3px rgba(182, 144, 78, 0.18),
		inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

body.admin-ui select:focus,
body.admin-ui input[type="text"]:focus,
body.admin-ui input[type="password"]:focus,
body.admin-ui textarea:focus {
	outline: none;
	border-color: #b6904e;
	box-shadow: 0 0 0 3px rgba(182, 144, 78, 0.18);
}

body.admin-ui button {
	background: linear-gradient(180deg, #1f3654 0%, #15273f 100%);
	border-color: #122137;
	border-radius: 999px;
	padding: 9px 16px;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 14px rgba(15, 23, 42, 0.16);
}

body.admin-ui button:hover {
	background: linear-gradient(180deg, #27466c 0%, #1c314f 100%);
	border-color: #1a2f4c;
}

body.admin-ui button.green {
	background: linear-gradient(180deg, #2f6e4c 0%, #255a3f 100%);
	border-color: #214f38;
}

body.admin-ui button.green:hover {
	background: linear-gradient(180deg, #3b805a 0%, #2f6e4c 100%);
	border-color: #295f43;
}

body.admin-ui button.red {
	background: linear-gradient(180deg, #8d2e2e 0%, #742525 100%);
	border-color: #662121;
}

body.admin-ui button.red:hover {
	background: linear-gradient(180deg, #a33b3b 0%, #842f2f 100%);
	border-color: #742828;
}

body.admin-ui #listtable table,
body.admin-ui #inputtable table,
body.admin-ui table.total_data,
body.admin-ui table.monthly_data,
body.admin-ui table.editor,
body.admin-ui table.csv_format_table,
body.admin-ui table.results_table,
body.admin-ui table.error_table {
	border-color: #d7dbe4;
	border-radius: 12px;
}

body.admin-ui #listtable th,
body.admin-ui #inputtable th,
body.admin-ui table.total_data th,
body.admin-ui table.monthly_data th,
body.admin-ui table.editor th,
body.admin-ui table.csv_format_table th,
body.admin-ui table.results_table th,
body.admin-ui table.error_table th {
	background: linear-gradient(180deg, #1a2a44 0%, #132238 100%);
	color: #f6e8c8;
	border-right: 1px solid #233754;
	border-bottom: 1px solid #233754;
}

body.admin-ui #listtable td,
body.admin-ui #inputtable td,
body.admin-ui table.total_data td,
body.admin-ui table.monthly_data td,
body.admin-ui table.editor td,
body.admin-ui table.csv_format_table td,
body.admin-ui table.results_table td,
body.admin-ui table.error_table td {
	font-size: 12.5px;
}

body.admin-ui #listtable table tr:nth-child(odd) td {
	background: #fbfcff;
}

body.admin-ui #listtable table tr:hover td {
	background: #f4f8ff;
}

/* Compact in-table action buttons (avoid overflow) */
body.mst_licence.admin-ui #listtable td button,
body.mst_user.admin-ui #listtable td button,
body.mst_invoice.admin-ui #listtable td button,
body.mst_survey.admin-ui #listtable td button {
	padding: 5px 8px;
	font-size: 11px;
	line-height: 1.2;
	border-radius: 999px;
	white-space: nowrap;
	min-width: 0;
	box-shadow: none;
}

body.admin-ui .pager a {
	border-color: #d6c390;
	background: #fffaf0;
	color: #334155;
}

body.admin-ui .pager a:hover {
	background: #f3e8cc;
}

/* Dashboard */
body.home.admin-ui .main_contents {
	padding: 24px 24px 30px;
}

body.admin-ui .dashboard-section {
	margin-bottom: 24px;
	padding: 16px;
	border: 1px solid #dfd4b8;
	border-radius: 12px;
	background: linear-gradient(180deg, #fffdf8 0%, #f8fbff 100%);
}

body.admin-ui .dashboard-section h3 {
	margin: 0 0 12px;
	font-size: 19px;
	font-weight: 700;
	color: #1a2a44;
}

body.admin-ui .dashboard-section h4 {
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 700;
	color: #334155;
}

body.admin-ui .dashboard-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(150px, 1fr));
	gap: 12px;
	margin-bottom: 14px;
}

body.admin-ui .dashboard-metrics.compact {
	grid-template-columns: repeat(2, minmax(120px, 1fr));
}

body.admin-ui .metric-card {
	padding: 12px 14px;
	border: 1px solid #d8dbe4;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

body.admin-ui .metric-label {
	font-size: 12px;
	color: #64748b;
	margin-bottom: 6px;
}

body.admin-ui .metric-value {
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
	color: #0f172a;
}

body.admin-ui .dashboard-license-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

body.admin-ui .dashboard-license-col {
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
}

body.admin-ui .chart-card {
	margin-top: 8px;
	padding: 12px;
	border: 1px solid #dbe3ee;
	border-radius: 12px;
	background: #ffffff;
	min-height: 330px;
}

body.admin-ui .chart-card canvas {
	width: 100% !important;
	height: 280px !important;
}

@media (max-width: 1100px) {
	body.admin-ui .dashboard-metrics {
		grid-template-columns: repeat(2, minmax(120px, 1fr));
	}

	body.admin-ui .dashboard-license-grid {
		grid-template-columns: 1fr;
	}
}

/* Login screen */
body.login.admin-ui .title_contents {
	font-size: 18px;
}

body.login.admin-ui .main_contents.login-shell {
	max-width: 680px;
	margin-top: 34px;
	padding: 30px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

body.login.admin-ui .login-panel {
	border: 1px solid #ddd7c5;
	border-radius: 16px;
	padding: 24px;
	background: linear-gradient(180deg, #fffdf7 0%, #f7faff 100%);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

body.login.admin-ui .login-panel-head h1 {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 800;
	color: #14243c;
	letter-spacing: 0.02em;
}

body.login.admin-ui .login-panel-head p {
	margin: 0 0 18px;
	font-size: 13px;
	color: #66758b;
}

body.login.admin-ui .login-form {
	padding: 0;
	border: 0;
	background: transparent;
}

body.login.admin-ui .login-field {
	margin-bottom: 14px;
}

body.login.admin-ui .login-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #31435e;
	letter-spacing: 0.01em;
}

body.login.admin-ui .login-field input {
	width: 100%;
	height: 44px;
}

body.login.admin-ui .login-actions {
	margin-top: 18px;
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

@media (max-width: 760px) {
	body.login.admin-ui .main_contents.login-shell {
		padding: 14px;
	}

	body.login.admin-ui .login-panel {
		padding: 16px;
	}

	body.login.admin-ui .login-actions {
		flex-direction: column;
	}
}

/* Pretty datetime display */
body.admin-ui .datetime-pretty {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	line-height: 1.2;
}

body.admin-ui .datetime-date {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eaf2ff;
	color: #1f3b66;
	font-weight: 700;
	font-size: 11px;
	white-space: nowrap;
}

body.admin-ui .datetime-time {
	display: inline-block;
	color: #5b6b82;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.02em;
}