@charset "utf-8";

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
	color: #000;
	outline: none;
	cursor: pointer;
}
a:focus {
	outline: none;
}
ins {
	text-decoration: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
input, select {
	vertical-align: middle;
}
input[type="submit"] {
	-webkit-appearance: none;
	border-radius: 0;
}
/************************************************************ 追記 */
.lbl input[type="checkbox"]{
	display: none;
}
/* チェックボックスの代わりを成すラベル */
.lbl input[type="checkbox"]+label{
	display: none;
	cursor: pointer;
	display: inline-block;
	position: relative;
	/* padding-left: 25px; */
	/* padding-right: 10px; */
	width: 40px;
	margin: 0px 10px 0px 0px;
}
/* ラベルの左に表示させる正方形のボックス□ */
.lbl input[type="checkbox"]+label::before{
	content: "OFF";
	position: absolute;
	display: block;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	margin-top: -10px;
	left: 0;
	top: -10px;
	line-height: 40px;
	font-size: 1.4rem;
	text-align: center;
	background-color: #cb1818;
	color: #ffffff;
}
/* チェックが入った時 */
.lbl input[type="checkbox"]:checked+label::after{
	content: "ON";
	position: absolute;
	display: block;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	margin-top: -10px;
	left: 0;
	top: -10px;
	line-height: 40px;
	font-size: 1.4rem;
	text-align: center;
	background-color: #18cb78;
	color: #ffffff;
	font-weight: 700;
}

/************************************************************ 追記fin */
/********サイト全体**********/
html {
	font-size: 62.5%;
}
body {
	font-size: 1.2rem;
	line-height: 1.5;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}
h1,h2,h3,h4,h5,h6 {
	font-size: 1.6rem;
}
a:hover {
	opacity: .7;
}
/************************************************************ 制御 */
.nodis {
	display: none;
}
.ondis {
	display: block;
}

.ta_center{
	text-align: center;
	margin: 20px 0px;
	font-weight: bold;
}
.ta_right{text-align: right;}

input{font-size: 1.6rem;}

/************************************************************ スタート */
body {
	background-color: none;
}
main {
	width: 100%;
	min-height: 90vh;
	max-width: 50rem;
	margin: 0 auto;
}
.wrap {
	margin: 38px 0px 0px 0px;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
}
aside {
	display: none;
}
/************************************************************ ヘッダー */
header {
	width: 100%;
	height: 38px;
	background-color: #555555;
	z-index: 99999;
	position: fixed;
	top: 0;
}
.head_wrap {

}
h1 a {
	font-size: 1.6rem;
	color: #fff;
	line-height: 38px;
	display: flex;
	align-items: center;
	width: fit-content;
}
h1 a img {
	margin: 0px 10px;
	width: 3rem;
}
/************************************************************ フッター */
footer{padding: 2rem 1rem;}
footer p {
	font-size: 1.2rem;
	text-align: center;
}
/************************************************************ ナビ */
.header_fixed {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 60px;
	background: #fff;
	box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.3);
	z-index: 99998;
}
.header_fixed h1 {
	display: inline-block;
	padding: 5px;
	font-weight: normal;
}
/** トグルボタン **/
.navToggle {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: fixed;
	width: 30px;
	height: 15px;
	top: 10px;
	right: 10px;
	display: none;
}
.navToggle span {
	width: 100%;
	border-bottom: solid 3px #fff;
	border-radius: 1.5px;
	transition: all 0.1s;
}
.navToggle span:nth-child(1) {
	transform-origin: left top;
}
.navToggle span:nth-child(2) {
	/* transform-origin: left bottom; */
}
.navToggle span:nth-child(3) {
	transform-origin: left bottom;
}
.navToggle.active span:nth-child(1) {
	-webkit-transform: rotate(25deg);
	transform: rotate(25deg);
}
/* 3つめのspan */
.navToggle.active span:nth-child(2){
	opacity: 0;
}
.navToggle.active span:nth-child(3){
	-webkit-transform: rotate(-25deg);
	transform: rotate(-25deg);
}
.nav_wrap {
}
/* #header_nav {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	transform: translateY(-100%);
	transition: all 0.1s;
	background-color: #ADADAD;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding: 10px;
	z-index: 10;
}
#header_nav.active {
	margin-top: 38px;
	transform: translateY(0px);
}
nav#header_nav ul {

	height: 100%;

}
nav#header_nav li a {
	background-color: #6c757e;
	color: #fff;
	border-radius: 5px;
	font-size: 1.4rem;
	width: 150px;
	height: 26px;
	display: block;
	text-align: center;
	line-height: 26px;
	margin-right: 10px;
}
nav#header_nav .logout a {
	width: 80px;
	height: 20px;
	font-size: 1.2rem;
	background-color: #E10D0D;
	color: #fff;
	display: block;
	text-align: center;
	line-height: 20px;
	border-radius: 11px;
} */
.main_nav{
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	transform: translateY(-100%);
	transition: all 0.1s;
	background-color: #ADADAD;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	flex-wrap: wrap;
	padding: 10px;
	z-index: 10;
	display: none;
}
.main_nav.active {
	margin-top: 38px;
	transform: translateY(0px);
}
nav.main_nav ul {
	height: 100%;

}
nav.main_nav li a {
	background-color: #6c757e;
	color: #fff;
	border-radius: 5px;
	font-size: 1.4rem;
	width: 150px;
	height: 26px;
	display: block;
	text-align: center;
	line-height: 26px;
	margin-right: 10px;
}
nav.main_nav .logout a {
	width: 80px;
	height: 20px;
	font-size: 1.2rem;
	background-color: #E10D0D;
	color: #fff;
	display: block;
	text-align: center;
	line-height: 20px;
	border-radius: 11px;
}



/************************************************************ 共通 */
.second_head {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
p.username {
	font-size: 1.6rem;
	display: flex;
	align-items: center;
	margin: 10px 0px;
}
p.username img {
	width: 20px;
	margin: 0px 10px;
}
h2.main_title {
	width: 100%;
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	margin: 18px 0px;
}
.caution,
#card-errors{
	color: #E10D0D;
	padding: 1rem;
	font-size: 1.4rem;
	width: 28rem;
	margin: 0 auto;
}
p.caution,
.caution.wide,
#card-errors{
	width: calc(100% - 2rem);
	max-width: 48rem;
}
#card-errors{text-align: center;}
/************************************************************ トップ */
ul.top_menu {
	width: calc(100% - 2rem);
	max-width: 36rem;
	font-size: 1.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	margin: 0px auto;
}
.top_menu li {
	width: calc(50% - 1rem);
	margin: 5px;
	text-align: center;
}
.top_menu li a {
	width: 100%;
	padding: 2rem 0;
	background-color: #F4F4F4;
	display: block;
}
/************************************************************ 入力 */
.dl_wrap {

}
.dl_wrap dl {
	width: 300px;
	padding: 10px;
	font-size: 1.4rem;
	box-sizing: border-box;
	margin: 0px auto;
}
.dl_wrap dt {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: space-between;
}
.dl_wrap dd {

}
.dl_wrap dd input {
	/* width: 280px;
	height: 30px;
	padding: 3px;
	box-sizing: border-box; */
}
.dl_wrap dd select {
	/* width: 280px;
	height: 30px;
	padding: 3px;
	box-sizing: border-box; */
}
.btn {

}
.btn a {
	font-size: 1.4rem;
	background-color: #bd0000;
	color: #fff;
	padding: 5px 30px;
	box-sizing: border-box;
	border-radius: 5px;
	margin: 15px auto 5rem;
	display: block;
	width: fit-content;
}
.btn a.gray{
	background-color: #525252;
}
/************************************************************ span */
span.small {
	font-size: 1.2rem;
}
.red {
	color: #bd0000;
}
span.underline {
	text-decoration:underline;
}
/************************************************************ ページ作成 */
.page_create_btnwrap {
	display: flex;
	position: fixed;
	right: 0;
	z-index: 10000;
}
.page_create_btnwrap a{
	font-size: 1.4rem;
	background-color: #bd0000;
	color: #fff;
	padding: 5px 20px;
	box-sizing: border-box;
	border-radius: 5px;
	margin: 0px 5px;
	display: block;
	width: fit-content;
}
.create_menu {

}
.create_menu ul {
	max-width: 100%;
	font-size: 1.4rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 0px auto;
	padding: 0px 10px;
	box-sizing: border-box;
}
.create_menu li {
	width: calc(50% - 2px);
	height: 28px;
	margin: 1px;
}
.create_menu li a {
	width: 100%;
	height: 100%;
	line-height: 32px;
	background-color: #ccc;
	display: block;
	text-align: center;
}
.create_menu li:last-child {
	width: 100%;
}
.message_box {
	width: 91%!important;
	text-align: center;
	background-color: #545454;
	border-radius: 10px;
	color: #fff;
	min-height: 55px;
	align-items: center;
	display: flex;
	justify-content: center;
	flex-direction: column;
}
.message_box:before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -15px;
	border: 15px solid transparent;
	border-top: 15px solid #545454;
}
.message_box,
.error_message_box,
.message_box_under{
	width: calc(100% - 2rem);
	margin: 2rem auto 2rem;
	font-size: 1.4rem;
	padding: 1rem;
	/* box-sizing: border-box; */
	position: relative;
}
.message_box .help{
	position: absolute;
	bottom: 0;
	right: 1rem;
}
.message_box_under{
	padding: 0;
}
.message_box_under p{
	width: calc(100% - 2rem);
	background: #F4F4F4;
	margin-bottom: 1rem;
	padding: 10px;
}



/************************************************************ ページデザイン */
.design_box{
	width: calc(100% - 2rem);
	margin: 0 auto;
}
.design_box h3{
	font-size: 1.6rem;
	margin: 0 0 2rem;
}

input[type="radio"]{
	display: none;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea{
	-webkit-appearance: none;/* ベンダープレフィックス(Google Chrome、Safari用) */
	-moz-appearance: none; /* ベンダープレフィックス(Firefox用) */
	appearance: none; /* 標準のスタイルを無効にする */
	padding: 1rem;
	width: calc(100% - 2rem);
	height: 2rem;
	line-height: 2.2rem;
	background: #F4F4F4;
	border: none;
	font-size: 1.6rem;
	display: block;
}
select{
	width: 100%;
	height: 4rem;
	line-height: 2rem;
}
select::-ms-expand { /* select要素のデザインを無効にする（IE用） */
	display: none;
}
textarea{
	height: 12rem;
}
input[type="button"]{
	display: block;
	padding: 1rem 3rem;
	background: #F4F4F4;
	border: none;
	font-size: 1.6rem;
}
input[type="button"]:hover{
	background: #cccccc;
}


.create_base_design{
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 2rem;
}
.create_base_design li{
	width: calc(50% - 0.6rem);
	height: fit-content;
	margin-bottom: 1rem;
	background: #F4F4F4;
}
.create_base_design label{
	display: block;
	width: 100%;
	height: fit-content;
}
.create_base_design li img{
	margin: 1rem;
	width: calc(100% - 2rem);
	height: calc(100% - 2rem);
	display: block;
	object-fit: contain;
}
/* チェックが入った入力のラベル */
.create_base_design input:checked + label img {
	filter: brightness(0.5);
}
.create_base_design input:checked + label{
	position: relative;
}
.create_base_design input:checked + label::after{
	content: '選択中';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	display: block;
	width: fit-content;
	height: fit-content;
	color: #FFFFFF;
	font-size: 1.6rem;
}


.design_box dt,
.design_box dd{
	font-size: 1.6rem;
}
.design_box dl{
	margin-bottom: 2rem;
}
.design_box dt,
.design_box dd{
	margin-bottom: 1rem;
}
.design_box dl{
	margin-bottom: 3rem;
}
.design_box dt .note{
	float: right;
	width: fit-content;
}
.design_box dt .supplement{
	display: inline-block;
	vertical-align: top;
	margin-left: 1rem;
	background: #bd0000;
	color: #FFFFFF;
	width: 2.2rem;
	height: 2.2rem;
	line-height: 2.2rem;
	border-radius: 50%;
	text-align: center;
	font-weight: bold;
	position: relative;
}
.design_box dt .supplement>span{
	display: none;
}
.design_box dt .supplement:hover>span{
	display: block;
	position: absolute;
	top: 2.5rem;
	left: 0rem;
	width: 18rem;
	height: fit-content;
	border-radius: 1rem;
	padding: 1rem;
	background: #bd0000;
	font-weight: normal;
	font-size: 1.2rem;
	line-height: 1.8rem;
	text-align: left;
	/* color: #000000; */
	z-index: 2;
}
.design_box dt .note input{
	background: none;
	width: 3rem;
	display: inline-block;
	text-align: right;
	padding: 0;
	vertical-align: baseline;
}
.design_box img{
	max-width: 100%;
	display: block;
	margin-top: 1rem;
}

.create_base_detail_design input + label{
	padding: 1rem 1.5rem;
	background: #F4F4F4;
	display: inline-block;
}
.create_base_detail_design input:checked + label{
	background: #cccccc;
}


.design_box textarea.explanatory_text{
	height: 13.2rem;
}
.design_box textarea.explanatory_text02{
	height: 4.4rem;
}

/************************************************************ 店舗情報 */
input.short_text{
	display: inline-block!important;
	max-width: 3rem!important;
	text-align: center;
}
input.middle_text{
	display: inline-block!important;
	max-width: 5rem!important;
	text-align: center;
}
input.long_text{
	display: inline-block!important;
	max-width: 7rem!important;
	text-align: center;
}
input.half_text{
	display: inline-block!important;
	width: calc(100% - 14rem)!important;
	text-align: center;
	vertical-align: baseline;
	margin-right: 0.5rem;
}


/************************************************************ 商品リスト */
.menu_wrap{
	border-bottom: 0.1rem dashed #cccccc;
	margin-bottom: 2rem;
}

.btn_add{
	display: block;
	margin: 0 auto 2rem;
	width: fit-content;
	font-size: 6rem;
	line-height: 4rem;
}


/************************************************************ ポイント設定 */
.point_setting_wrap{
	width: calc(100% - 2rem);
	margin: 0 auto;
}
.point_setting_tab{
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	margin-bottom: 2rem;
}
.point_setting_tab li{
	width: calc(50% - 0.1rem);
	display: flex;
	flex-flow: row nowrap;
	display: block;
	background: #cccccc;
	text-align: center;
	font-size: 1.4rem;
	line-height: 3rem;
}
.tab_active{
	background-color: #484848!important;
	color: #fff;
}

#add_point_setting dd{
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}
#add_point_setting dd>div{
	width: calc(100% - 5rem);
}
#add_point_setting dd>input[type="checkbox"]{
	width: 5rem;
}
#add_point_setting dd>input[type="text"]{
	width: calc(100% - 7.7rem);
}

#digestion_point_setting dt{
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}

.row_flex{
	white-space: nowrap;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
}
#add_point_setting .row_flex input[type="checkbox"]{
	width: 5rem;
}
#add_point_setting .row_flex input[type="text"]{
	max-width: 20%;
	margin-right: 1rem;
}
#digestion_point_setting .row_flex input[type="text"]{
	max-width: calc(100% - 13rem);
	margin-right: 1rem;
}



/************************************************************ リンク設定 */
.link_wrap dt{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
.help{
	display: block;
	background: #bd0000;
	color: #FFFFFF;
	width: fit-content;
	padding: 0.2rem 1rem;
	height: 2.2rem;
	line-height: 2.2rem;
	border-radius: 0.5rem;
	text-align: center;
	/* font-weight: bold; */
	position: relative;
	white-space: nowrap;
	font-size: 1rem;
}
.help>span{
	display: none;
}
.help:hover>span{
	display: block;
	position: absolute;
	top: 3.5rem;
	right: 0rem;
	width: 18rem;
	height: fit-content;
	border-radius: 1rem;
	padding: 1rem;
	background: #bd0000;
	border: 0.1rem solid #FFFFFF;
	font-weight: normal;
	font-size: 1.2rem;
	line-height: 1.8rem;
	text-align: left;
	z-index: 2;
	white-space: initial;
}

.btn_gray,
.btn_red,
.btn_darkgray{
	display: block;
	margin: 0 auto 2rem;
	padding: 2rem 3rem;
	font-size: 1.6rem;
	width: 50%;
	min-width: fit-content;
	max-width: 15rem;
	text-align: center;
}
.btn_gray{
	background: #F4F4F4;
}
.btn_red{
	background: #bd0000;
	color: #FFFFFF;
	border-radius: 1rem;
	width: fit-content;
	min-width: 90px;
	padding: 10px;
	border: none;
	margin: 20px auto 0px;
}
.btn_darkgray{
	background: #464646;
	color: #FFFFFF;
}


/************************************************************ 登録店舗一覧 */
.shop_list_wrap li{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
.shop_list_wrap li p{
	background: #F4F4F4;
	line-height: 4rem;
	padding: 0 1rem;
	width: 100%;
}
.shop_list_wrap .btn{
	padding-left: 0.5rem;
}
.shop_list_wrap .btn a{
	margin: 0;
	padding: 0.5rem 1rem;
	white-space: nowrap;
}

/************************************************************ 支店ページ一覧 */
/************************************************************ アカウント一覧 */
.branch_list_wrap li a,
.account_list_wrap li a{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: stretch;
	margin-bottom: 0.5rem;
}
.branch_list_wrap li p,
.account_list_wrap li p{
	background: #F4F4F4;
	padding: 1rem;
	width: calc(50% - 2.25rem);
	font-size: 1.4rem;
	line-height: 2.4rem;
}
.branch_delete li a {
	position: fixed;
	bottom: 10px;
	left: 10px;
	background-color: #bd0000;
	color: #fff;
	font-size: 1.4rem;
	width: fit-content;
	padding: 5px 10px;
	border-radius: 10px;
}
/************************************************************ アカウント一覧 */
.account_list_wrap li a p{
	/* width: calc(25% - 2.25rem); */
}
.account_menu a{
	font-size: 1.2rem;
	background-color: #bd0000;
	color: #fff;
	padding: 0.5rem 2rem;
	box-sizing: border-box;
	border-radius: 0.5rem;
	margin: 2rem auto;
	display: block;
	width: fit-content;
}

/************************************************************ アカウント作成　アカウント修正・削除 */
.shopname_checkbox_wrap ul{
	display: flex;
	flex-flow: row wrap;
}
.shopname_checkbox_wrap input[type='checkbox'],
input#pass_edit{
	display: none;
}
.shopname_checkbox_wrap input[type='checkbox'] + label,
input#pass_edit + label{
	padding: 1rem 1.5rem 1rem 0rem;
	background: unset;
	position: relative;
}
.shopname_checkbox_wrap input[type='checkbox'] + label::before,
input#pass_edit + label::before{
	content: '';
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	margin-right: 1rem;
	vertical-align: middle;
	background: #F4F4F4;
}
.shopname_checkbox_wrap input[type='checkbox']:checked + label::before,
input#pass_edit:checked + label::before{
	background: #cccccc;
}
.shopname_checkbox_wrap input[type='checkbox']:checked + label::after,
input#pass_edit:checked + label::after{
	content: '';
	display: block;
	width: 1rem;
	height: 2rem;
	border-bottom: 0.2rem solid #bd0000;
	border-right: 0.2rem solid #db0000;
	position: absolute;
	top: 0.7rem;
	left: 0.7rem;
	transform: rotate(45deg);
}


/************************************************************ マイページ　店舗一覧 */
.mypage_shop_counter_wrap{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
.mypage_shop_counter_wrap dt,
.mypage_shop_counter_wrap dd{
	width: calc(25% - 2.25rem);
	padding: 1rem 0;
}
.mypage_shop_counter_wrap dd{
	background: #F4F4F4;
	text-align: center;
	padding: 1rem;
}

.payment_status{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto 3rem;
}
.payment_status p{
	font-size: 1.4rem;
}
.payment_status>p{
	width: 50%;
}


.mypage_shoplist_wrap>li{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: stretch;
	padding: 0 0 2rem;
}
.mypage_shoplist_wrap>li>p{
	background: #F4F4F4;
	width: calc((100% - 7rem) / 2);
	padding: 0.5rem;
	font-size: 1.4rem;
	line-height: 2.4rem;
}
.mypage_shoplist_wrap>li>a{
	background: #bd0000;
	color: #FFFFFF;
	text-align: center;
	border-radius: 0.5rem;
	margin: auto 0;
	padding: 0.5rem;
	height: fit-content;
	font-size: 1.4rem;
	line-height: 2.4rem;
	white-space: nowrap;
}

/************************************************************ プレビュー */
canvas.previewcamera {
	margin: 0px auto;
	display: block;
}

/************************************************************　顧客情報　共通CSS */
main#customer_wrap{
	width: calc(100% - 2rem);
	margin: 0px auto;
}
main#customer_wrap .search_box{
	margin: 20px 0px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-end;
	height: 30px;
}
main#customer_wrap .search_box>*,
h3.flex_row select{
	border-radius: 1rem;
	border: none;
	padding: 5px 10px;
	font-size: 1.4rem;
}
main#customer_wrap .search_box input[type="text"]{
	border: 0.1rem solid #707070;
	margin-right: 0.5rem;
	width: 120px;
	height: 100%;
	padding: 10px;
	box-sizing: border-box;
}
main#customer_wrap .search_box input[type="button"]{
	background: #464646;
	color: #FFFFFF;
}
main#customer_wrap .search_box input[type="submit"]{
	background: #464646;
	color: #FFFFFF;
	min-width: 48px;
	height: 30px;
	padding: 0;
	box-sizing: border-box;
}
main#customer_wrap .search_option_box{
	margin-top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	font-size: 1.4rem;
	padding: 0;
}
.search_option_box input[type="checkbox"]{
	display: none;
}
/* チェックボックスの代わりを成すラベル */
.search_option_box input[type="checkbox"]+label{
	display: none;
	cursor: pointer;
	display: inline-block;
	position: relative;
	width: 30%;
	height: 100%;
	margin: 0px 10px 0px 0px;
	color: #000;
	text-align: center;
	line-height: 30px;
	border-radius: 1rem;
}
/* ラベルの左に表示させる正方形のボックス□ */
.search_option_box input[type="checkbox"]+label::before{
	content: "";
	position: absolute;
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	line-height: 40px;
	font-size: 1.4rem;
	text-align: center;
	background-color: #efefef;
	z-index: -1;
	border-radius: 1rem;
}
/* チェックが入った時 */
.search_option_box input[type="checkbox"]:checked+label::after{
	content: "";
	position: absolute;
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	line-height: 40px;
	font-size: 1.4rem;
	text-align: center;
	background-color: #18cb78;
	color: #ffffff!important;
	font-weight: 700;
	z-index: -1;
	border-radius: 1rem;
}
dl.shopname_select_wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	font-size: 1.6rem;
}
.shopname_select_wrap dt {
	background-color: #f4f4f4;
	padding: 10px;
	box-sizing: border-box;
	width: 17%;
	text-align: center;
}
.shopname_select_wrap dd {
	width: 82%;
	height: 44px!important;
	box-sizing: border-box;
	background-color: #f4f4f4;
}
.shopname_select_wrap dd select {
	height: 100%;
}

/************************************************************　顧客情報　顧客リスト　+　ポイント利用リスト+誕生日リスト */
.customer_box {

}
.point_list_wrap .kikan,
.birthday_list_wrap .kikan{
	font-size: 1.4rem;
	margin-bottom: 0.5rem;
}
.customer_list_wrap,
.point_list_wrap,
.birthday_list_wrap{
	overflow-x: auto;
	margin-bottom: 2.5rem;
}
.customer_list_wrap table,
.point_list_wrap table,
.birthday_list_wrap table{
	width: fit-content;
	min-width: 100%;
	overflow-x: auto;
	margin-bottom: 0.5rem;
}
.customer_list_wrap table tr th,
.customer_list_wrap table tr td,
.point_list_wrap table tr th,
.point_list_wrap table tr td,
.birthday_list_wrap table tr th,
.birthday_list_wrap table tr td,
.point_add_table tr th,
.point_add_table tr td{
	background: #F4F4F4;
	border: 0.2rem solid #FFFFFF;
	white-space: nowrap;
	font-size: 1.4rem;
	vertical-align: middle;
	height: 30px;
	box-sizing: border-box;
}
.customer_list_table tr.estranged td,
.point_list_wrap tr.estranged td,
.birthday_list_wrap tr.estranged td{
	background: #bd0000;
}
.customer_list_table tr.estranged td a,
.point_list_wrap tr.estranged td a,
.birthday_list_wrap tr.estranged td a{
	color: #FFFFFF;
}
.customer_list_table tr th:last-child,
.customer_list_table tr td:last-child{
	background: none;
	text-align: center;
}
.customer_list_table tr td:last-child .btn a{
	margin: 0;
	padding: 0.5rem 1rem;
}
.customer_list_table tr td:nth-child(1),
.customer_list_table tr td:nth-child(3),
.customer_list_table tr td:nth-child(4),
.point_list_wrap tr td:nth-child(1),
.point_list_wrap tr td:nth-child(3),
.point_list_wrap tr td:nth-child(4),
.point_list_wrap tr td:nth-child(5),
.birthday_list_wrap tr td:nth-child(1),
.birthday_list_wrap tr td:nth-child(3),
.birthday_list_wrap tr td:nth-child(4){
	text-align: right;
}
.customer_list_table td a {
	display: block;
	height: 100%;
	width: 100%;
	line-height: 28px;
	box-sizing: border-box;
	padding: 0 0.6rem;
}
.customer_list_table td.noguest {
	background-color: #fff;
	text-align: center!important;
	height: 60px;
}
.customer_list_wrap th.cdtitle {
	text-align: left;
	padding: 0 0.6rem;
	box-sizing: border-box;
	background-color: #e5e5e5;
	max-width: 110px;
	width: 110px;
}.customer_list_wrap th.cdtitle span {
	font-size: 1.2rem;
	color: #bd0000;
}
.customer_list_wrap td.cddetail {
	padding: 0 0.6rem;
}
.customer_list_wrap td.cddetailinput {
	padding: 0;
}
.customer_list_wrap td.cddetailinput input {
	background-color: #fff;
	font-size: 1.4rem;
}
.customer_list_wrap td.clname {
	max-width: 118px;
	overflow-x: overlay;
}
.customer_list_wrap td.clname::-webkit-scrollbar-track {
	background-color: #e4e4e4;
	border-radius: 100px;
}
.qr_icon{
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 500;
	display: block;
	width: 25%;
	max-width: 9.8rem;
	height: fit-content;
}
.qr_icon img{
	width: 100%;
	height: auto;
}

.page_btn_wrap{
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	width: 100%;
}
.page_btn_wrap .btn_darkgray{
	border-radius: 1rem;
	width: 4rem;
	padding: 0.5rem 1rem;
	margin: 0 0.5rem 3rem;
}

input.check_01,
input.check_02{
	display: none;
}
input.check_01 + label,
input.check_02 + label{
	display: inline-block;
	background-size: contain;
	background-position: left center;
	background-repeat: no-repeat;
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	margin: 0;
}
input.check_01 + label{
	background-image: url(../images/check_memo.svg);
	background-position: center;
	height: 78%;
}
input.check_02 + label{
	background-image: url(../images/check_box.svg);
	background-position: bottom;
	height: 100%;
}
input.check_01:checked + label{
	background-image: url(../images/check_memo_checked.svg);
	background-position: center;
	height: 78%;
}
input.check_02:checked + label{
	background-image: url(../images/check_box_checked.svg);
	background-position: bottom;
	height: 100%;
}

.system_menu{
	width: 100%;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: center;
	align-content: center;
}
.system_menu li{
	display: block;
	width: calc(50% - 0.25rem);
	margin-bottom: 1.5rem;
}
.system_menu li a{
	display: block;
	width: 100%;
	height: 5rem;
	line-height: 5rem;
	text-align: center;
	background: #F4F4F4;
	font-size: 1.4rem;
}

/************************************************************　顧客情報　顧客詳細 */
.customer_memo{
	margin: 3rem auto;
	position: relative;
}
.customer_memo textarea{
	margin-bottom: 2rem;
	height: 16rem;
}
.introduction_wrap{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
.introduction_wrap>*{
	white-space: nowrap;
	margin: 0!important;
}
.introduction_table{
	margin-bottom: 2rem!important;
}
.introduction_table tr.estranged td{
	background: #bd0000!important;
}
.introduction_table tr.estranged td a{
	color: #FFFFFF!important;
}



/************************************************************　顧客情報　顧客リスト */
.point_add_table{
	width: 100%;
	margin-bottom: 2rem;
}
.point_add_table th,
.point_add_table td{
	padding: 1rem!important;
}



/************************************************************　顧客情報　ポイント付与 */
.point_add_table input[name="pay_amount"]{
	width: 64%;
	display: inline-block;
	text-align: right;
	border: 0.1rem solid #000000;
	margin-right: 0.5rem;
}



/************************************************************　顧客情報　ダッシュボード */
.select_wrap{
	position: relative;
}
.select_wrap::after{
	position: absolute;
	right: 0.7rem;
	top: 1rem;
	content: '▼';
	pointer-events: none;
}
.dashboard_wrap h3{
	margin-top: 3rem;
}
h3.flex_row{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
}
h3.flex_row .select_wrap{
	width: 50%;
}
.graph{
	background: #F4F4F4;
	margin: 0rem auto 3rem;
	padding: 1rem;
	width: calc(100% - 2rem);
}
.dashboard_wrap table{
	width: 100%;
}
.dashboard_wrap table th,
.dashboard_wrap table td{
	background: #F4F4F4;
	border: 0.2rem solid #FFFFFF;
	padding: 1rem;
	white-space: nowrap;
	font-size: 1.2rem;
}




/************************************************************ お支払い設定 */
#payment-form dd>div {
	background: #F4F4F4;
	padding: 1rem;
}
#payment-form button{
	background-color: #F4F4F4;
	border: none;
	margin: 0 auto 2rem;
	padding: 2rem 3rem;
	width: 50%;
	min-width: fit-content;
	max-width: 15rem;
	display: block;
	cursor: pointer;
}
#payment-form button:hover{
	opacity: 0.7;
}
#payment-form .btn_wrap{
	text-align: center;
}



/* 画像アップロード */
/* labelをボタンらしく */
.upload-label input {
	display: none;
}
.upload-label{
	display: inline-block;
	cursor: pointer;
	padding: 0.7em 1em;
	background: #F4F4F4;
}
.upload-label:hover{
	background: #cccccc;
}




/*ポイント利用 */
.point_add_tab{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	margin-bottom: 1rem;
}
.point_add_tab>li{
	text-align: center;
	width: calc(50% - 0.1rem);
	padding: 1.5rem 0;
	background: #C9C9C9;
}
.flex_b{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
}
#discount_wrap .select_wrap,
#present_wrap .select_wrap{
	width: 30%;
	display: inline-block;
}
#present_wrap{ margin-bottom: 5rem;}
#present_wrap h2{padding-left: 0!important;}
#discount_wrap .message_box_under{
	width: 100%;
}

/* モーダル全体(背景＋本体) */
.modal{
	display: none;
	position: fixed;
	top: 0;
	height: 100vh;
	width: 100%;
}
/* モーダル背景 */
.modal-bg{
	position: absolute;
	height: 100vh;
	width: 100%;
	background: rgba(0, 0, 0, 0.8);
}
/* モーダル本体 */
.modal-content{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	overflow: auto;
	height: fit-content;
	max-height: 60%;
	width: 60%;
	max-width: 52rem;
	background: white;
	padding: 4rem;
	font-size: 1.6rem;
}
/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
}
.modal-content>div:first-child{
	margin-bottom: 3rem;
}
.present_hosoku{
	background: #F4F4F4;
	padding: 1rem;
	margin: -1.5rem auto 0;
}
/* トップニュース */
.topnews_box {

}
.topnews_box textarea {
	border: 1px solid #ccc;
	border-radius: 10px;
	width: 90%;
	height: 240px;
	margin: 32px auto;
}
.topnews_box input {
	width: 80px;
	height: 32px;
	margin: 0px auto;
	display: block;
	background-color: #bd0000;
	border: none;
	border-radius: 10px;
	color: #fff;
}




@media screen and (min-width: 768px) {
	#header_nav {
		position: fixed;
		top: 0;
		right: 0;
		width: 100%;
		height: 42px;
		box-sizing: border-box;
		background: #fff;
		transform: translateY(-100%);
		transition: all 0.1s;
		background-color: #ADADAD;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 0px 20px 0px 68px;
		z-index: 10;
	}
	aside {
		display: block;
		width: 200px;
		height: 100vh;
		background-color: #ccc;
		display: none;
	}

	/************************************************************　顧客情報　顧客リスト */
	.customer_list_table tr th,
	.customer_list_table tr td{
		font-size: 1.6rem;
	}
}
