
/* --------------------------------- common --------------------------------- */

*{
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 0;
  margin: 0;
  padding: 0;
  line-height:100%;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}

html,body{
  margin:0;
  padding:0;
  height:100%;
}
body{
  position: relative;
  z-index: 0;
  font-size: 12px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  background-color:#F7F7F7;
}
input,textarea,select{
}
img{
  vertical-align:middle;
  border:0;
}
a {
  cursor: pointer;
  text-decoration: none;
}
li{
  list-style-type: none;
}
:after, :before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

select::-ms-expand {
  display: none;
}

.num{
  font-family: Arial;
  font-weight:900;
}

/* --------------------------------- Login --------------------------------- */

.login_body{
  background-color:#F7F7F7;
}
.login_wrap{
  position:absolute;
  left:50%;
  top:50%;
  background-color:#FFF;
  border:1px solid #CCC;
  box-shadow:0 0 5px #999;
  padding:20px;
  transform:translate(-50%,-50%);
  width:90%;
  max-width:360px;
}
.login_wrap > form > div:not(:last-child){
  margin-bottom:16px;
}
.login_wrap > form > div > input{
  -webkit-appearance: none;
  line-height:1.5;
  padding:10px 15px;
  border:1px solid #CCC;
  font-size:16px;
  width:100%;
}
.login_wrap > form > div > input[type="submit"]{
  background-color:#999;
  color:#FFF;
  font-weight:bold;
}

/* ----------------------- header sp menu button ----------------------- */

.sp_menu_button{
  display:block;
  position:fixed;
  top:14px;
  right:14px;
  z-index:10001;
  line-height:100%;
  /* mix-blend-mode: difference; */
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 20px;
  height: 16px;
  margin:0;
  padding:0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  appearance: none;
}
.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #666;
}
.menu-trigger span:nth-of-type(1) {
  top: 0;
}
.menu-trigger span:nth-of-type(2) {
  top: 7px;
}
.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}
.menu-trigger.active span{
  background-color: #FFF;
}
.menu-trigger.active span:nth-of-type(1) {
  -webkit-transform: translateY(7px) rotate(-45deg);
  transform: translateY(7px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
  -webkit-transform: translateY(-7px) rotate(45deg);
  transform: translateY(-7px) rotate(45deg);
}

@media only screen and (max-width: 768px) {
}

/* --------------------------------- header menu contents --------------------------------- */

.sp_menu_wrap{
  position:fixed;
  top:0;
  left:0;
  z-index:10000;
  width:100%;
  height:100%;
  background-color:#003366;
  transform:translateX(100%);
  transition: all .4s;
}
.sp_menu_wrap.active{
  transform:translateX(0);
}
.sp_menu_wrap_in{
  padding:50px;
}
.sp_menu_list{
  border-top:1px solid #FFF;
  border-left:1px solid #FFF;
  border-right:1px solid #FFF;
}
.sp_menu_list > li{
  border-bottom:1px solid #FFF;
}
.sp_menu_list > li > a{
  display:block;
  color:#FFF;
  padding:12px;
  font-size:16px;
}

/* --------------------------------- Footer --------------------------------- */

.footer{
  background-color:#999;
  color:#FFF;
  font-size:16px;
  text-align:center;
  padding:20px 0;
}

/* --------------------------------- Common page wrap --------------------------------- */

.common_page_wrap{
  max-width:768px;
  margin:0 auto;
}

.common_content_wrap{
  padding:10px;
}

/* --------------------------------- Dashboard --------------------------------- */

.dashboard_menu{
  border-top:1px solid #CCC;
  border-left:1px solid #CCC;
  border-right:1px solid #CCC;
  margin-bottom:24px;
}
.dashboard_menu > li{
  border-bottom:1px solid #CCC;
}
.dashboard_menu > li > a{
  display:block;
  color:#000;
  background-color:#FFF;
  padding:15px 36px 15px 10px;
  background-image:url("/images/arrow.png");
  background-repeat:no-repeat;
  background-position:right 10px center;
  background-size:16px 16px;
}

.dashboard_kpi_block{
}
.dashboard_kpi_block > h2{
  font-size:18px;
  color:#336699;
  margin-bottom:8px;
  padding-bottom:4px;
  border-bottom:1px solid #336699;
}
.dashboard_kpi_item{
}
.dashboard_kpi_item > li{
  border:1px solid #CCC;
  padding:10px;
  background-color:#FFF;
  margin-bottom:10px;
}
.dashboard_kpi_item > li > h3{
  color:#000;
  font-size:18px;
  margin-bottom:8px;
}
.dashboard_kpi_item > li > h3 > small{
  color:#666;
  font-size:14px;
}
.dashboard_kpi_item > li > div{
  color:#009933;
  text-align:center;
  font-weight:bold;
  margin-bottom:8px;
}
.dashboard_kpi_item > li > div > span{
  display:inline-block;
  font-size:42px;
}
.dashboard_kpi_item > li > div > small{
  display:inline-block;
  font-size:24px;
  margin-left:4px;
}
.dashboard_kpi_item > li > p{
  font-size:14px;
  line-height:1.4;
}
.dashboard_kpi_item > li > p > span{
  font-weight:bold;
}
.dashboard_kpi_item > li > p > span.up{
  color:#009933;
}
.dashboard_kpi_item > li > p > span.down{
  color:#CC0000;
}


/* --------------------------------- Page Title --------------------------------- */

.page_title{
  padding:10px;
  border-bottom:1px solid #CCC;
}
.page_title > h1{
  font-size:24px;
}
.page_title > p{
  color:#333;
  font-size:14px;
  pading-top:6px;
}

/* --------------------------------- Page Title --------------------------------- */

.page_menu{
  padding:10px;
  text-align:right;
}
.page_menu > a{
  display:inline-block;
  color: #fff;
  font-size:16px;
  background-color: #007bff;
  border-radius:5px;
  padding:6px 10px;
}

/* --------------------------------- Shop list --------------------------------- */

.refine_wrap{
  padding:10px;
  border-bottom:1px solid #CCC;
}
.refine_wrap > h2{
  font-size:12px;
  margin-bottom:10px;
}
.refine_items{
}
.refine_items > div{
  display:flex;
  flex-flow:row nowrap;
}
.refine_items > div > div{
  flex:1;
}
.refine_items > div > div:not(:last-child){
  margin-bottom:10px;
}
.refine_items > div > div:not(:last-child){
  margin-right:5px;
}
.refine_items > div > div > p{
  font-size:10px;
  margin-bottom:3px;
}
.refine_items > div > div > input{
  width:100%;
  font-size:12px;
  line-height:1.5;
  padding:4px 6px;
  border:1px solid #CCC;
}
.refine_items > div:nth-child(2) > div > button{
  width:100%;
  font-size:12px;
  color:#FFF;
  line-height:1.5;
  padding:4px 0;
  border:1px solid #336699;
  background-color:#336699;
}
.refine_items > div:nth-child(2) > div:nth-child(2) > button{
  border:1px solid #999;
  background-color:#999;
}
.refine_items > div:nth-child(2) > div > button:hover{
  opacity:0.7;
}

.result_count{
  background-color:#666;
  color:#FFF;
  font-size:12px;
  padding:5px 10px;
}

.list_wrap{
  padding:10px;
}
.list_loading{
  padding:20px 0;
  text-align:center;
}
.shop_list{
  border-top:1px solid #CCC;
  border-left:1px solid #CCC;
  border-right:1px solid #CCC;
}
.shop_list > li{
  position:relative;
  border-bottom:1px solid #CCC;
}
.shop_list_info{
  display:block;
  background-color:#FFF;
  padding:10px 114px 10px 10px;
}
.shop_list_info > div:nth-child(1){
  font-size:16px;
  font-weight:bold;
  color:#3366CC;
  margin-bottom:4px;
}
.shop_list_info > div:nth-child(2){
  font-size:14px;
  color:#333;
  margin-bottom:2px;
}
.shop_list_info > div:nth-child(3){
  font-size:14px;
  color:#333;
  margin-bottom:4px;
}
.shop_list_info > div:nth-child(4){
  font-size:14px;
  color:#333;
}
.shop_list_button{
  position:absolute;
  right:10px;
  bottom:10px;
}
.shop_list_button > a{
  display:block;
  background-color:#339999;
  color:#FFF;
  font-size:14px;
  padding:6px;
}
.shop_list_button > a:hover{
  color:#FFF;
  opacity:0.7;
  text-decoration:none;
}
.shop_list_button > a:first-child{
  background-color:#006699;
  margin-bottom:10px;
}

/* --------------------------------- input --------------------------------- */

.fixed_shop_name{
  display:none;
  position:fixed;
  top:0;
  left:0;
  z-index:100;
  width:100%;
  padding:5px;
  text-align:center;
}
.fixed_shop_name > div{
  display:inline-block;
  background-color:#FFF;
  border:1px solid #003366;
  font-size:14px;
  padding:6px;
  max-width:70%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.input_form_wrap{
  margin-bottom:24px;
}
.input_wrap{
  padding:10px;
}
.input_wrap > h2{
  font-size:18px;
  color:#336699;
  margin-bottom:8px;
  padding-bottom:4px;
  border-bottom:1px solid #336699;
}
.input_wrap > h3{
  font-size:16px;
  color:#666;
  margin-bottom:4px;
}
.input_group{
  margin-bottom:36px;
}
.input_group > div{
  display:table;
  width:100%;
  margin-bottom:12px;
}
.input_group > div > div{
  display:table-cell;
  vertical-align:top;
}
.input_group > div > div:first-child{
  width:40%;
  font-size:14px;
  font-weight:bold;
  line-height:1.2;
  text-align:right;
  padding:4px 10px 0 0;
}
.input_group > div > div:last-child{
  width:60%;
  font-size:14px;
  line-height:1.2;
}
.input_group.for_shipping{
  margin-bottom:16px;
}
.input_group.for_shipping > div > div:first-child{
  width:20%;
}
.input_group.for_shipping > div > div:last-child{
  width:80%;
}
.input_group > div > div:last-child > span{
  display:block;
  padding-top:4px;
  line-height:1.2;
}
.input_group > div > div:last-child > span.address_cell{
  position:relative;
  padding:4px 32px 0 0;
}
.input_group > div > div:last-child > span.address_cell > a{
  position:absolute;
  right:0;
  bottom:2px;
  display:block;
  width:24px;
}
.input_group > div > div:last-child > span.address_cell > a > img{
  width:100%;
}
.input_group > div > div:last-child p{
  font-size:10px;
  padding-top:2px;
}
.check_cell > label{
  position:relative;
  display:block;
}
.check_cell > label:not(:last-child){
  margin-bottom:8px;
}
.check_cell > label > input{
  position:absolute;
  top:50%;
  left:8px;
  transform:translateY(-50%)
}
.check_cell > label > span{
  display:block;
  font-size:14px;
  line-height:1.2;
  padding:6px 6px 6px 24px;
  background-color:#EEE;
  border:1px solid #CCC;
  border-radius:4px;
  color:#666;
}
.check_cell > label > input:checked+span{
  border:1px solid #0066CC;
  background-color:#99CCFF;
  color:#000;
}

.input_submit{
  text-align:center;
  background-color:#CCC;
  padding:20px;
}
.input_submit > input{
  -webkit-appearance: none;
  background-color:#336699;
  font-size:18px;
  font-weight:bold;
  color:#FFF;
  padding:10px 0;
  width:80%;
  text-align:center;
}

.input_submit > input:disabled {
  background-color:#666;
  color: #999;
}


/* --------------------------------- data list (history) --------------------------------- */

.data_list_msg{
  display:none;
  padding:20px 0;
  font-size:16px;
}
.data_list_wrap{
  padding:10px;
}
.data_list_wrap > h2{
  font-size:18px;
  color:#336699;
  margin-bottom:8px;
  padding-bottom:4px;
  border-bottom:1px solid #336699;
}

.data_list_tab{
  display:table;
  width:100%;
  table-layout:fixed;
}
.data_list_tab > li{
  display:table-cell;
  vertical-align:bottom;
}
.data_list_tab > li > a{
  display:block;
  background-color:#DDD;
  color:#666;
  font-size:16px;
  padding:6px 0;
  text-align:center;
  border-radius:10px 10px 0 0;
  border-bottom:1px solid #CCC;
}
.data_list_tab > li > a.active{
  padding:8px 0;
  color:#000;
  background-color:#FFF;
  border-top:1px solid #CCC;
  border-left:1px solid #CCC;
  border-right:1px solid #CCC;
  border-bottom:1px solid #FFF;
}
.data_list{
  border-left:1px solid #CCC;
  border-right:1px solid #CCC;
}
.data-list-tab-description {
  padding:16px 8px;
  font-size:14px;
  line-height:1.5;
}
.data-list-cell {
  position:relative;
  display:block;
  background-color:#FFF;
  border-bottom:1px solid #CCC;
}
