/* --- 変数定義 --- */
:root {
	/* --- 色定義 --- */
	
	/* ベースカラー */
	--bg-body: #fff;
	--fg-main: #fff;
	--bg-main: #4af;
	--bg-main-dark: #37c;
	--fg-text: #000;
	
	--fg-info: #000;
	--bg-info: #fdf6cf;
	
	--fg-error: rgb(255, 0, 0);
	--bg-error: rgb(255, 192, 192);
	
	--lc-frame: #27a;
	--bg-th: #8df;
	--fg-th: #000;
	--bg-td: #fff;
	--fg-td: #000;
	
	/* ボタン色 */
	--bg-btn: #4af;
	--fg-btn: #fff;
	--bg-btn-sub: #6c757d;
	--fg-btn-sub: #fff;
	--bg-btn-wrn: #dc3545;
	--fg-btn-wrn: #fff;
	
	--fg-wrn: #dc3545;
	
	--bg-past: #ccc;
	--bg-current: #fff;
	--bg-future: #fdf6cf;
	--bg-invalid: #ccc;
	--bg-caution: rgb(255, 128, 128);
	
	/* フォント */
	--font-family: "メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Arial,sans-serif;
	--font-size-form: 0.8rem;
	--font-size-large: 1.0rem;
}

/* --- 共通 --- */
/* bootstrapのd-noneだとjqueryでshow()できないので */
.d-hide {
	display: none;
}

/* --- body関連 --- */
body {
	font-family: var(--font-family);
}

/* --- ヘッダ関連 --- */
.header {
	min-width: 1440px;
	margin: 0;
}
.header .banner {
	color: var(--fg-main);
	background-color: var(--bg-main);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.header .banner .brand {
	padding-left: 0.3rem;
	font-size: 2rem;
	font-style: italic;
	vertical-align:bottom;
}

.header .banner .caption {
	display: flex;
	align-items: flex-end;
}
.header .banner .caption span {
	display: block;
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-size: 2rem;
}
.header .banner .logo {
	padding: 0.5rem;
	width: 200px;
	text-align: right;
}
.header .banner .logo a {
	color: var(--fg-main);
}
.header .header-separator {
	background-color: var(--bg-body);
	height: 2px;
}

/* --- メニュー関連 --- */
.menubar {
	margin-top: 0;
	white-space: nowrap;
	padding: 0px 7px;
	background-color: var(--bg-main);
}
.menubar li.top-menu-begin {
	display: inline-block;
	width: 5px;
}
.menubar ul.top-menu {
	position: relative;
	font-size: 0;
	height: 80px;
    padding-left: 0;
}
.menubar .top-menu-icon {
	font-size: 1.5rem;
	padding-top: 0.2rem;
}
.menubar .top-menu-label {
	font-size: 0.8rem;
	padding-top: 0;
}
.menubar .top-menu-drop {
	font-size: 1rem;
}
.menubar .sub-menu {
	position: relative;
	display: none;

	left: 0;
	top: -2px;
	min-width: 100%;

    z-index: 2;
    
	padding-left: 0;
    list-style-type: none;
}
.menubar .top-menu-item {
	margin-bottom: 0;
}
.menubar .top-menu-item > .sub-menu {
	min-width: 150%;
}
.menubar .sub-menu.show {
	display: block;
}
.menubar .grandson-menu {
	position: absolute;
	top: 0;
	left: 100%;
}

.menubar li {
	position: relative;
	cursor: pointer;
	background-color: var(--bg-main);
}
.menubar li:hover {
	background-color: var(--bg-main-dark);
}
.menubar .top-menu-item {
	display: inline-block;
	font-size: 12px;
	text-align: center;
	vertical-align: top;

	border-left: 1px solid #ffffff;
	width: 104px;
	height: 100%;
}
.menubar .top-menu-item:last-of-type {
	border-right: 1px solid #ffffff;
}
.menubar .sub-menu-item {
	margin-left: 0;
	
	font-size: 15px;
	text-align: left;
	border-top: 1px solid #ffffff;
	width: 200px;
}

.menubar a {
	display: block;
	outline: none;
	text-decoration: none;

	color: #ffffff;
}
.menubar a.active {
	background-color: #cc0000!important;
}
.menubar.top-menu-link {
	white-space: normal;

	padding-top: 8px;
	padding-left: 3px;
	padding-right: 3px;
	padding-bottom: 2px;

	height: 100%;
}
.menubar .sub-menu-link {
	padding: 2px 8px;
}
.menubar .sub-menu-link .icon-allow {
	position: absolute;
	right: 5px;
	top: 5px;
}

/* --- コンテンツ関連 --- */
body > .contents {
	width: 1440px !important;
	margin-top: 50px;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 30px;
}

/* --- フォーム・リスト枠組み --- */
table.form,
table.list {
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	padding: 0;
	margin: 0;
}
table.form th,
table.form td,
table.list th,
table.list td {
	/* top right bottom left */
	padding: 3px 10px 3px 10px;
	vertical-align: middle;
	border: 1px solid var(--lc-frame);
	font-size: var(--font-size-form);
	font-weight: normal;
}
table.form th {
	color: var(--fg-th);
	background-color: var(--bg-th);
	width: 170px;
}
table.form td {
	color: var(--fg-td);
	background-color: var(--bg-td);
	width: 400px;
}
table.list th {
	text-align: center;
	color: var(--fg-th);
	background-color: var(--bg-th);
}
table.list td {
	color: var(--fg-td);
	background-color: var(--bg-td);
}

table tr.note th,
table tr.note td,
table tr.separator th,
table tr.separator td,
table tr.caption th,
table tr.caption td,
table tr.command th,
table tr.command td {
	padding-top: 10px;
	border: none;
	text-align: center;
}
table tr.note td {
	padding-top: 0;
	padding-bottom: 0;
	color: var(--fg-wrn);
}
table tr.caption td {
	font-weight: bold;
	font-size: var(--font-size-large);
}
table tr.separator {
	height: 5px;
}
.global-message {
	width: 80%;
	font-size: var(--font-size-form);
	color: var(--fg-info);
	background-color: var(--bg-info);
	border-radius: 5px;
	/* top right bottom left */
	padding: 10px 20px 10px 20px;
}

.global-error {
	width: 80%;
	font-size: var(--font-size-form);
	color: var(--fg-error);
	background-color: var(--bg-error);
	border-radius: 5px;
	/* top right bottom left */
	padding: 10px 20px 10px 20px;
}

div.form-message {
	background-color: #EEE;
}

div.table-2 {
	width: 940px;
	text-align: center;
}
div.table-4 {
	width: 940px;
	text-align: center;
}
div.table-6 {
	width: 1410px;
	text-align: center;
}

/* --- フォーム・リスト要素 --- */
.form-caption {
	font-weight: bold;
	font-size: var(--font-size-form);
}
table.form .field-sm {
	width: 100px;
}
table input[type=text],
table input[type=tel],
table input[type=email],
table input[type=password],
table input[type=date] {
	font-size: var(--font-size-form);
	box-sizing: border-box;
}
table select {
	font-size: var(--font-size-form) !important;
}

/* --- ボタン --- */
.button,
.button-xs,
.button-sm,
.button-md,
.button-lg {
	font-weight: normal;
	user-select: none;
	cursor: pointer;
	/* top right bottom left */
	font-size: var(--font-size-form);
	border-radius: 0.2rem;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	border: 1px solid transparent;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow 15s ease-in-out;
	display: inline-block;
}
.button,
.button-md {
	/* top right bottom left */
	padding: 5px 10px 4px 10px;
}
.button-xs {
	/* top right bottom left */
	padding: 1px 5px 0px 5px;
	font-size: 0.5rem;
}
.button-sm {
	/* top right bottom left */
	padding: 1px 10px 0px 10px;
}
.button-lg {
	/* top right bottom left */
	padding: 5px 15px 4px 15px;
	font-size: 1rem;
}
.button:hover,
.button-xs:hover,
.button-sm:hover,
.button-md:hover,
.button-lg:hover {
	opacity: 0.7;
}
.button::before,
.button-xs::before,
.button-sm::before,
.button-md::before,
.button-lg::before,
.button::after,
.button-xs::after,
.button-sm::after,
.button-md::after,
.button-lg::after {
	box-sizing: border-box;
}
.button.disabled {
	opacity: 0.7;
}
.cl-cmd, .cl-cmd:hover {
	color: var(--fg-btn);
	background-color: var(--bg-btn);
	border-color: var(--bg-btn);
}
.cl-sub, .cl-sub:hover {
	color: var(--fg-btn-sub);
	background-color: var(--bg-btn-sub);
	border-color: var(--bg-btn-sub);
}
.cl-wrn, .cl-wrn:hover {
	color: var(--fg-btn-wrn);
	background-color: var(--bg-btn-wrn);
	border-color: var(--bg-btn-wrn);
}
.bg-invalid {
	background-color: var(--bg-invalid) !important;
}
.bg-past {
	background-color: var(--bg-past) !important;
}
.bg-future {
	background-color: var(--bg-future) !important;
}
.bg-current {
	background-color: var(--bg-current) !important;
}
.bg-coution {
	background-color: var(--bg-caution) !important;
}
.input-number {
	width: 90px;
}
.input-price {
	width: 80px;
}
.input-currency {
	width: 80px;
}
.input-date {
	width: 120px;
}
.input-datetime {
	width: 150px;
}
.input-productCd {
	width: 180px;
}
.input-bookCd {
	width: 180px;
}
.input-phone {
	width: 180px;
}
.input-postfix,
.input-prefix,
.input-postfix-space,
.input-prefix-space {
	display: inline-block;
}
.input-postfix,
.input-prefix {
	padding-top: 6px;
}
.input-postfix,
.input-postfix-space {
	padding-left: 5px;
}
.input-prefix,
.input-prefix-space {
	padding-right: 5px;
}
.input-label-top{
	padding-top: 5px;
}

/* --- ペイジャー関連 --- */
.pager-page {
	display: inline-blodk;
	width: 50px;
}

.quilEditor {
	min-height: 400px;
	max-height: 600px;
}

/* --- フッター関連 --- */
footer {
	min-width: 1440px;
	background-color: var(--bg-main);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

/* --- モーダル関連 --- */
.modal-find-error {
	text-align: left;
	font-weight: normal;
	color: var(--fg-wrn);
}

/* ----- 以下、未整理 ----- */

body.base {
	ppadding-top: 5rem;
}

label.required:after {
	color: red;
	content: " *";
}

div.form-area {
	padding: 20px 10px 10px 20px;
	border-radius: 10px;
	border-bottom: 2px solid #AAA;
	border-right: 2px solid #AAA;
}

div.form-area {
	background-color: #DDD;
}

div.form-sub {
	border-radius: 10px;
	border: 1px solid #4af;
	padding: 20px 5px 5px 5px;
	margin: 20px 5px 20px 0px;
}

.form-note {
	font-size: 0.9em;
	margin-left: 10px;
	width: fit-content;
	border-radius: 3px;
	border: 1px solid #444;
	background-color: #ffc;
}

.section-title {
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: underline;
}

div.parRow {
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
}
div.parCol {
	flex-basis: auto;
}
div.parColLabel {
	padding-right: 5px;
	background-color: #aaa;
	border-top-left-radius: 3px;
	border-bottom-left-radius: 3px;
}

input.parInput {
	padding-left: 5px;
	padding-right: 5px;
	text-align: center;
}
input.parInvalid {
	border-color: #dc3545 !important;
}
div.parErr {
	width: 100%;
	text-align: left;
}

th.required:after {
	color: red;
	content: " *";
}

input.wd1 {
	width: 3em;
}

input.wd2 {
	width: 3.5em;
}

input.wd3 {
	width: 4em;
}

input.wd4 {
	width: 4.5em;
}

input.wd5 {
	width: 5em;
}

input.wd10 {
	width: 8em;
}

.dateTimeWidth {
	min-width: 350px !important;
}

.term-contents {
	border: 1px solid #444;
	margin-top: 20px;
	padding: 10px;
}

.col-stick {
	padding-left: 0;
	padding-right: 0;
}

.check-stick {
	height: 36px;
	padding-left: 40px;
	padding-right: 0px;
}

.card-container.card {
		max-width: 350px;
		padding: 40px 40px;
}

.btn {
		font-weight: 700;
		height: 36px;
		-moz-user-select: none;
		-webkit-user-select: none;
		user-select: none;
		cursor: default;
}

.card {
		background-color: #F7F7F7;
		/* just in case there no content*/
		padding: 20px 25px 30px;
		margin: 0 auto 25px;
		margin-top: 50px;
		/* shadows and rounded borders */
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		-moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
		-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
		box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
	color: #aaa;
		font-size: 8em;
}

.profile-name-card {
		font-size: 16px;
		font-weight: bold;
		text-align: center;
		margin: 10px 0 0;
		min-height: 1em;
}

.form-signin[name=username],
.form-signin[name=password] {
		direction: ltr;
		height: 44px;
		font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
		width: 100%;
		display: block;
		margin-bottom: 10px;
		z-index: 1;
		position: relative;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
}

.form-signin .form-control:focus {
		border-color: rgb(104, 145, 162);
		outline: 0;
		-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
		box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

/*共通パーツラジオ*/
.form-check {
	min-height: 0rem !important;
	margin-bottom: 0rem !important;
}

.form-check-input {
	margin-top: 0.2em !important;
}

.form-check-label {
	margin-right: 0.5em !important;
}

/*共通パーツ電話番号*/
.form-inline {
	display: inline-block;
}

.btn.btn-signin {
		/*background-color: #4d90fe; */
		background-color: rgb(104, 145, 162);
		/* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
		padding: 0px;
		font-weight: 700;
		font-size: 14px;
		height: 36px;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		border: none;
		-o-transition: all 0.218s;
		-moz-transition: all 0.218s;
		-webkit-transition: all 0.218s;
		transition: all 0.218s;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
		background-color: rgb(12, 97, 33);
}

#navbarSupportedContent input[type="text"]
{
	width: 150px;
}

/*ヘッダーフッター背景色*/
.headerFooterBg {
	background-color: #241df0 !important;
}

/* はみ出たテキスト省略 */
.qa {
	max-width: 300px;
	overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ui-datepicker {
	z-index: 1030 !important;
}
/* quill表 */
.ql-snow .ql-Table-Input .ql-picker-options {
    padding: 3px 5px;
    width: 152px;
}

.ql-snow .ql-Table-Input .ql-picker-item {
    border: 1px solid transparent;
    float: left;
    height: 16px;
    margin: 2px;
    padding: 0px;
    width: 16px;
    background: lightsteelblue;
}

.ql-snow .ql-Table-Input .ql-picker-item:hover, .ql-snow .ql-Table-Input .ql-picker-item.ql-picker-item-highlight {
    border-color: #000;
    background: steelblue;
}

.ql-snow .ql-Table-Input.ql-picker {
    width: 28px;
}

.ql-snow .ql-Table-Input.ql-picker .ql-picker-label {
    padding: 2px 4px;
}

.ql-editor ol li.ql-indent-1:before {
	content: '（' counter(list-1, em-decimal) '）';
    margin-left: -3em;
    margin-right: 0;
    width: auto;
}

/* datepicker */
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
	opacity: 1;
    font-weight: bold;
}

@counter-style em-decimal {
  system : numeric;
  symbols : "\FF10" "\FF11" "\FF12" "\FF13" "\FF14" "\FF15" "\FF16" "\FF17" "\FF18" "\FF19";
}

.total-field {
	text-align: left !important;
}

.order-detail.address-header {
	width: 80px;
}
/* 右よせ */
.text-right {
	text-align: right !important;
}

.text-right {
	text-align: right !important;
}
