@charset "utf-8";
/*-------------------------------------------
 *	スタイルシート
 *
 * @copyright 2018 Flex.co
 * @update 2021-11-27
 *-------------------------------------------*/
/***********************************
 *	RESPONSIVE
 *	モバイルファースト（共通/スマホ縦）
 ***********************************/
/************** SP **************/
html {
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: aliased;
}

body {
	width: 100%;
	font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	color: #5a5a5a;
	margin: 0 auto;
	padding: 0;
}

.clearfix:after {
	content: "";
	display: block;
	height: 0;
	clear:both;
}

.kumimoji {
	display: inline-block;
	width: 30px;
	font-size: 12px;
	line-height: 12px;
}

.requiredItem {
	font-size: 70%;
	color:#F00;
}

.is_sp {
	display: inline;
}

.is_pc {
	display: none;
}

.is_close {
	display: none;
}

h2 {
	box-sizing: border-box;
	width: 100%;
	margin-top: 30px;
	padding: 5px 0 5px 3%;
	background-color: #E0F8F7;
}

h3 {
	box-sizing: border-box;
	width: 100%;
	margin: 10px auto;
	padding: 5px 0 2px 0;
	color:#50BAC9;
	border-bottom: 5px double #50BAC9;
}

h3:before {
	content: "◆";
	color: #50BAC9;
	font-size: 95%;
	padding: 0 2px;
}

.m-left-50 {
	margin-left: 50px;
}

.item-pay {
	font-size: 90%;
	color: #008080;
	padding-right: 10px;
}

label {
	display: inline-block;
	width: 35%;
	text-align: left;
	color:#333333;
}
label::after {
/*	content:"：";*/
}
p.btn {
	text-align: center;
}

/***********************************
 * フォーム
 ***********************************/
form {
	margin: 10px;
}

input, textarea, select, button {
	margin: 10px 0;
	vertical-align:middle;
	padding: 10px 2px;

	-webkit-box-sizing: border-box; /* 過去の WebKit ベースブラウザ向け */
	-moz-box-sizing: border-box; /* 過去の (Firefox <29) Gecko ベースブラウザ向け */
	box-sizing: border-box;
}

input[type="submit"],input[type="button"],input[type="reset"],button {
	min-width: 100px;
	background-image: linear-gradient(0deg, #a7d9f5, #eaf6fd);
	border: 1px solid #3c7fb1;
	border-radius: 0.3em;
	text-align: center;
	padding: 10px;
}

input:focus-visible,button:focus-visible,select:focus-visible,textarea:focus-visible {
	outline: 2px dotted #008080;
}

a {
	color: #2E2EFE;
}
a:hover {
	color: #008080;
}
a:focus-visible {
	outline: 2px dotted #008080;
	color: #008080;
}
a.link_small {
	padding: 0 10px;
	font-size: 80%;
	text-decoration: underline !important;
}
a.link_small:hover {
	text-decoration: none !important;
}

/***********************************
 * レイアウト
 ***********************************/
header {
	width: 100%;
	min-height: 60px;
}
div#contents {
	min-height: 300px;
	padding: 0px 3% 30px;
	background-color:#fff;
}
footer {
	width: 100%;
	min-height: 30px;
	padding: 10px 0;
	background: url(../images/bg.png) no-repeat bottom right;
}

/***********************************
 * ヘッダー
 ***********************************/
/* ヘッダーナビ */
#title {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	font-size: 28px;
	text-align: center;
	background: url(../images/bg.png) no-repeat top right;
}
a.logo {
	text-decoration: none;
	color: #333;
}
#title img {
	max-height: 40px;
	width: auto;
	vertical-align: top;
	margin-right: 10px;
}

/* トップナビ */
nav#topNav {
	position: fixed;
	top : 0;
	left: 0;
	width: 100%;
	overflow-x: hidden;
}

#btnMenu {
	display: inline-block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	width: 50px;
	height: 50px;
}

.btn_toggle {
	background: url(../images/toggleMenu.png) no-repeat 0 0;
}

.btn_close {
	background: url(../images/closeMenu.png) no-repeat 0 0;
}

nav#topNav .menu {
	display: none;
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	padding: 0;
	margin: 0;
}

nav#topNav .menu > ul {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
}

nav#topNav .menu > ul > li a {
	display: block;
	width: 95%;
	height: 40px;
	padding:0 0 0 5%;
	line-height: 40px;
	text-decoration: none;
	font-size: 90%;
	color: #333;
	background-color: #FFF;
	border-bottom: 1px solid #CCCCCC;
}

nav#topNav .menu > ul > li a:hover,

#home a.menu-top,

#customers a.menu-customers, 
#customers_reg a.menu-customers, 
#customers_reg a.menu-customers-reg, 
#customers_detail a.menu-customers, 

#estimates a.menu-estimates,
#estimates_reg a.menu-estimates,
#estimates_reg a.menu-estimates-reg,
#estimates_detail a.menu-estimates,

#payment a.menu-payment,
#payment_reg a.menu-payment,
#payment_reg a.menu-payment-reg,
#payment_pre a.menu-payment,
#payment_pre a.menu-payment-reg,
#payment_detail a.menu-payment,

#aggregate a.menu-aggregate,

#autoMonthly a.menu-automonthly, 
#autoMonthly_reg a.menu-automonthly,
#autoMonthly_reg a.menu-automonthly-reg,
#autoMonthly_detail a.menu-automonthly,
#autoMonthly_estpay a.menu-automonthly,
#autoMonthly_estpay a.menu-automonthly-reg,

#mst_item a.menu-item,
#mst_item_detail a.menu-item,
#mst_itemspec a.menu-item,
#mst_itemspec a.menu-item-spec,
#mst_itemspec_detail a.menu-item,
#mst_itemspec_detail a.menu-item-spec,

#mst_tax a.menu-tax,
#mst_tax_detail a.menu-tax,

#adm_user a.menu-adm-user,
#adm_user_reg a.menu-adm-user,
#adm_user_reg a.menu-adm-user_reg

 {
	background-color: #50BAC9 !important;
	border-color: #FFF !important;
	color: #FFF !important;
}

nav#topNav .menu > ul > li ul {
	display: none;
	width: 100%;
}

nav#topNav .menu > ul > li li {
	list-style-type: square;
	padding-left: 5%;
}

nav#topNav .menu > ul > li:hover > ul {
	display: block;
}


/***********************************
 * コンテンツ
 ***********************************/
.btn-new {
	text-align: right;
}
.btn-new button {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding:0 !important;
}

#contents a.back {
	text-decoration: none;
	font-size: 90%;
}
#contents a.back:hover {
	text-decoration: underline;
}

#contents ul {
	overflow: hidden;
}

#contents ul.list {
	box-sizing: border-box;
	width: 100%;
	display: block;
	margin: 20px auto;
}

#contents ul.list > li > ul > li {
	box-sizing: border-box;
	margin: 0;
	padding: 5px 1%;
	height: 30px;
	font-size: 15px;
	text-align: left;
	float: left;
}

#contents ul.list li.list-title {
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	text-align: center;
	background-color: #50BAC9 !important;
	color: #FFFFFF;
}
#contents ul.list li.list-title li{
	text-align: center;
}
#contents ul.list li.list-line {
	border-bottom: 1px solid #CCCCCC;
}

#contents ul.list li a {
	text-decoration: none;
}

#contents ul.list li a:hover {
	text-decoration: underline;
}

#contents ul.list li.list-line:nth-of-type(odd) {
	background-color:#E0F8F7;
}

/****** トップ ******/
#today {
	font-size: 120%;
	font-weight: bold;
}
#home .list-ymd {
	width: 40%;
	border-right: 1px dotted #CCCCCC;
	clear: both;
}
#home .list-customer {
	width: 60%;
}
#home .list-estpay {
	display: block;
	border-top: 1px dotted #CCCCCC;
	width: 100%;
	height: auto !important;
}
#home .list-title .list-estpay {
	height: 30px !important;
}
#home .list-estpay .list-totalprice {
	display: block;
	text-align: right;
}
#home .list-estpay .item-pay {
	display: block;
	text-align: right;
}

/****** 一覧 ******/
.list-sel {
	clear: both;
	width: 15%;
	border-right: 1px dotted #CCCCCC;
	text-align: center !important;
}

.list-sel input[type="checkbox"] {
	margin: 0;
}

.list-btn {
	min-width: 10px !important;
	padding: 5px !important;
}

/* ページネーション */
.pagination-link {
	display: flex;
	margin: 10px auto;
	text-align: center;
}
.pagination-link .current,
.pagination-link li a{
	display: inline-block;
	text-align: center;
	padding: 2px 5px;
	color: #666;
}

.pagination-link .current {
	font-weight: bold;
}

.pagination-link .prev a,
.pagination-link .next a {
	text-decoration: none;
}

.pagination-link li a:hover {
	text-decoration: none;
}

/****** 顧客情報 ******/
#customers .list-sel {
}

#customers .list-name {
	width: 85%;
}

#customers .list-tel {
	width: 50%;
	border-top: 1px dotted #CCCCCC;
	text-align: center !important;
}
#customers .list-tel:nth-of-type(odd) {
	border-right: 1px dotted #CCCCCC;
}

.address {
	display: block;
	margin-left: 35%;
}

/****** 見積書・請求書情報 ******/
#estimates label,
#estimates_detail label,
#estimates_reg label,
#payment label,
#payment_pre label,
#payment_reg label,
#payment_detail label {
	width: 20%;
}
#estimates_detail label span,
#payment_detail label span {
	display: block;
}
#estimates_reg textarea {
	margin-left: 20px;
}
#estimates .list-sel,
#payment .list-sel,
#payment_pre .list-sel,
#payment_reg .list-sel {
	width: 15%;
	border-right: 1px dotted #CCCCCC;
}
#estimates .list-ymd,
#payment .list-ymd,
#payment_pre .list-ymd,
#payment_reg .list-ymd {
	border-right: 1px dotted #CCCCCC;
	width: 30%;
}
#estimates .list-customer,
#payment .list-customer,
#payment_pre .list-customer,
#payment_reg .list-customer {
	width: 55%;
}
#estimates .list-estpay,
#payment .list-estpay,
#payment_pre .list-estpay,
#payment_reg .list-estpay {
	border-top: 1px dotted #CCCCCC;
	width: 100%;
	height: auto !important;
}

#estimates .list-estpay .list-totalprice,
#payment .list-estpay .list-totalprice,
#payment_pre .list-estpay .list-totalprice {
	display: block;
	text-align: right;
}

/* 見積書・請求書 商品リスト（表示ページ） */
#contents .item .item-view:nth-of-type(odd) {
	background-color:#E0F8F7;
}

#contents .item-view {
	display: inline-block;
	width: 100%;
	height: auto !important;
	border-bottom: 1px dotted #CCCCCC;
}

#contents .item-view .line-p {
	display: inline-block;
	width: 100%;
}
#contents .item-view .line-price {
	display: inline-block;
	width: 100%;
	text-align: right;
}
#contents .line-memo {
	display: inline-block;
}
#contents .line-discount {
	color: #F00;
}

#contents .small_price,
#contents .discount,
#contents .tax_price,
#contents .total_price {
	width: 100%;
	text-align: right;
}

#contents .small_price label {
	margin-right: 10px;
}
#contents .tax_price label {
	margin-right: 10px;
	width: 35%;
	text-align: right;
}

#contents .total_price label {
	margin-right: 10px;
	width: 35%;
	text-align: right;
}

#contents .discount {
	color: #F00;
}

#contents .total_price {
	border-top: 2px solid #CCCCCC;
	font-size: 120%;
}

/* 見積書 商品リスト（入力ページ） */
#contents .item {
	width: 100%;
	display: block;
	margin-bottom: 20px;
}

#contents .item li {
	display: block;
	list-style:none;
	padding: 0;
	margin-bottom: 3px;
	width: 100%;
}

#contents .item-line label {
	font-size: 90%;
}

#contents .item-line:nth-of-type(odd) .itembox {
	background-color:#E0F8F7;
}

#contents .link-control {
	display: block;
	font-size: 30px;
	line-height: 30px;
	padding: 5px;
	margin-top: 5px;
	border:1px solid #CCCCCC;
	border-radius: 20px;
	text-decoration: none;
	float: left;
}

#contents .itembox {
	position: relative;
	box-sizing: border-box;
	width: 80%;
	padding : 2px;
	display:block;
	border: 1px solid #999;
	margin-left: 10px;
	float: left;
}

#contents .itembox div {
	margin: 0;
	float: left;
}

#contents .itembox .item_category {
	width: 40%;
}
#contents .itembox .item_category select {
	width: 100%;
}

#contents .itembox .item_product {
	width: 60%;
}
#contents .itembox .item_product select {
	width: 100%;
}
#contents .itembox .item_price {
	width: 55%;
}
#contents .itembox .item_price label {
	width: 30%;
}
#contents .itembox .item_price input[type="text"] {
	width: 50%;
	text-align: right;
}
#contents .itembox .item_value {
	width: 45%;
	text-align: right;
}

#contents .itembox .item_value input[type="text"] {
	width: 50%;
	text-align: right;
}

#contents .itembox .item_memo {
	width: 100%;
}
#contents .itembox .item_memo label {
	width: 16%;
}
#contents .itembox .item_memo input[type="text"] {
	width: 84%;
}

/****** 商品 ******/
#mst_item .list-sel {

}
#mst_item .list-name {
	width: 85%;
}

/****** 商品規格 ******/
#mst_itemspec .list-sel {

}
#mst_itemspec .list-category {
	width: 55%;
	border-right: 1px dotted #CCCCCC;
}
#mst_itemspec .list-price-unit {
	width: 30%;
}

#mst_itemspec .list-name {
	border-top: 1px dotted #CCCCCC;
	width: 100%;
}

/****** ユーザー情報 ******/
#adm_user .list-sel {
	width: 15%;
	text-align: center;
}

#adm_user .list-loginId {
	width: 42.5%;
	border-right: 1px dotted #CCCCCC;
	text-align: center !important;
}

#adm_user .list-lastLogin {
	width: 70%;
	border-top: 1px dotted #CCCCCC;
	border-right: 1px dotted #CCCCCC;
	text-align: center !important;
}

#adm_user .list-level {
	width: 42.5%;
	text-align: center !important;
}

#adm_user .list-status {
	width: 30%;
	text-align: center !important;
	border-top: 1px dotted #CCCCCC;
}

/***********************************
 * 集計表示
 ***********************************/
.total-cond {
	padding: 0 1% 5px;
	border-bottom: 1px solid #CCCCCC;
	margin-bottom: 0;
}
.total-p-name {
	width: 40%;
	border-right: 1px dotted #CCCCCC;
	border-bottom: 1px dotted #CCCCCC;
}
.total-p-info {
	width: 60%;
	border-bottom: 1px dotted #CCCCCC;
}
.total-p-value {
	width: 40%;
	border-right: 1px dotted #CCCCCC;
}
.total-p-price {
	width: 60%;
}
.list-line .total-p-value,
.list-line .total-p-price {
	text-align: right !important;
}
.list-total {
	border-bottom: 1px solid #CCCCCC;
	text-align: right;
	padding: 5px 1% 20px 0;
	font-weight: bold;
	height: auto;
}
.line-total-value {
	display: block;
}
.line-total-price {
	display: block;
}

/***********************************
 * フッター
 ***********************************/
/* コピーライト */
#copyright {
	font-size: 70%;
	text-align: center;
	color: #999;
}

/***********************************
 *	RESPONSIVE
 ***********************************/
/************** iPad/タブレット横 **************/
@media screen and (min-width: 768px) {
	body {
		background: url(../images/bg.png) no-repeat top right;
	}

	.is_sp {
		display: none !important;
	}

	.is_pc {
		display: block;
	}

	/* レイアウト */
	div#contents {
		padding-top: 30px;
	}

	/* ヘッダーナビ */
	#headerNav {
		display: inline-block;
		padding: 10px;
		float: right;
	}
	#headerNav input[type="button"]{
		padding: 2px;
		margin: 0;
	}
	#title {
		display: inline-block;
		position:relative;
		font-size: 150%;
		margin-top: 10px;
		margin-left: 3%;
		background: none;
	}

	/* トップナビ */
	nav#topNav {
		position:relative;
		overflow-x:visible;
	}

	nav#topNav .menu {
		display: block !important;
		background-color: transparent;
	}

	nav#topNav .menu > ul {
		box-sizing: border-box;
		width : 98%;
		margin: 5px auto;
	}

	nav#topNav .menu > ul > li {
		position: relative;
		width: 13%;
		margin-right: 1%;
		margin-bottom: 5px;
		float: left;
	}

	nav#topNav .menu > ul > li a {
		width: 100%;
		height: 35px;
		padding: 0;
		line-height: 35px;
		text-align: center;
		border: 1px solid #CCCCCC;
		border-radius: 5px;
	}

	nav#topNav .menu > ul > li:hover > ul{
		position: absolute;
		width: 100%;
		top:30px;
		left:5px;
		z-index:500;
	}

	nav#topNav .menu > ul > li li{
		list-style: none;
		margin-left:1px;
		height:35px;
		line-height:35px;
		background-color: transparent;
	}

	/****** 一覧 ******/
	ul.list ul {
		display: flex;
		align-items: stretch;
	}
	ul.list ul li{
		height: auto !important
	}
	.list-sel {
		width: 10%;
	}

	/****** トップ ******/
	#home .list-ymd {
		width: 15%;
	}
	#home .list-customer {
		width: 25%;
	}
	#home .list-estpay {
		display: inline-block;
		border-left: 1px dotted #CCCCCC;
		border-top:0;
		width: 60%;
	}
	#home .list-estpay .list-totalprice {
		display: inline-block;
	}
	#home .list-estpay .item-pay {
		display: inline-block;
		margin-left: 20px;
	}

	/****** 顧客情報 ******/
	#customers .list-sel {
		width: 10%;
	}

	#customers .list-name {
		width: 50%;
		border-right: 1px dotted #CCCCCC;
	}

	#customers .list-tel {
		width: 20%;
		border-top: 0;
	}

	/****** 見積書・請求書情報 ******/
	#estimates .list-sel,
	#payment .list-sel,
	#payment_pre .list-sel,
	#payment_reg .list-sel {
		width: 8%;
	}
	#estimates .list-ymd,
	#payment .list-ymd,
	#payment_pre .list-ymd,
	#payment_reg .list-ymd {
		width: 15%;
	}
	#estimates .list-customer,
	#payment .list-customer,
	#payment_pre .list-customer,
	#payment_reg .list-customer {
		width: 27%;
		border-right: 1px dotted #CCCCCC;
	}
	#estimates .list-estpay,
	#payment .list-estpay,
	#payment_pre .list-estpay,
	#payment_reg .list-estpay {
		border-top: 0;
		width: 45%;
	}

	/* 見積書 商品リスト（入力ページ） */
	#contents .item-line label {
		text-align: center;
	}

	#contents .itembox {
		width: 90%;
	}

	#contents .itembox .item_price {
		width: 50%;
	}
	#contents .itembox .item_value {
		width: 50%;
		text-align: left;
	}

	/****** 商品 ******/
	#mst_item .list-sel {

	}
	#mst_item .list-name {

	}

	/****** 商品規格 ******/
	#mst_itemspec .list-sel {
		width: 8%;
	}
	#mst_itemspec .list-category {
		width: 22%;
	}
	#mst_itemspec .list-price-unit {
		width: 15%;
	}

	#mst_itemspec .list-name {
		border-top: 0;
		border-left: 1px dotted #CCCCCC;
		width: 55%;
	}

	/****** ユーザー情報 ******/
	#adm_user .list-sel {
		width: 8%;
	}

	#adm_user .list-loginId {
		width: 15%;
	}

	#adm_user .list-lastLogin {
		width: 35%;
		border-top: 0;
	}

	#adm_user .list-level {
		width: 22%;
		border-right: 1px dotted #CCCCCC;
	}

	#adm_user .list-status {
		width: 20%;
		border-top: 0;
	}

	/***********************************
	 * 集計表示
	 ***********************************/
	.total-p-name {
		width: 30%;
		border-bottom: 0px;
	}
	.total-p-info {
		width: 38%;
		border-right: 1px dotted #CCCCCC;
		border-bottom: 0px;
	}
	.total-p-value {
		width: 14%;
	}
	.total-p-price {
		width: 18%;
	}
	.line-total-value {
		display: inline;
	}
	.line-total-price {
		display: inline;
		padding-left: 20px;
	}
}


/************** PC **************/
@media (min-width: 920px) {

	/* レイアウト */
	header {
		width: 100%;
		min-height: 50px;
		padding-bottom: 10px;
	}
	div#contents {
/*		background-color:#0F0;*/
	}
	footer {
		width: 100%;
		min-height: 30px;
		padding: 10px 0;
	}

}
