@charset 'utf-8';

/*css*/

/*
:root {
    --dark-gray: #757575;
    --gray: #707070;
    --thin-gray: #CCCCCC;
    --blue: #0679B1;
    --thin-blue: #49A6D4;
}
*/

body {
    font-family: "ヒラギノ角ゴ Pro W3", メイリオ, Osaka, Arial, Verdana, "ＭＳ Ｐゴシック", sans-serif;
    letter-spacing: .6pt;
    /*    text-align: justify;*/
    font-size: 12px;
    color: #333;
    word-break: break-all;
    height: 100%;
    
    background-color: #F5F5F5;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
a {
    color: #333;
}

a:hover {
    text-decoration: none;
}

hr {
    margin-bottom: 20px;
}

.hide {
    display: none;
    opacity: 0;

}
.show {
    display: block;
    opacity: 1;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
.tabb {
    display: none;
}
.scroll {
    overflow-x: scroll;
}
.mb5 {
    margin-bottom: 5px;
}
button[disabled] {
    opacity: 0.3;
}
button[disabled]:hover {
    cursor: default;
}
.alert {
    margin-bottom: 10px;
}
.alert span {
    font-size: 14px;
    color: #f00808;
    font-weight: bold;  
    display: none;
}
.box table {
    word-break: break-word;
	word-wrap: break-word;
}
/*----------------------------------------------

        ログイン・ログアウト関連

-----------------------------------------------*/
.login .box {
    padding: 30px 10px;
}
.login h1 {
    font-size: 20px;
    text-align: center;
}
.login img {
    width: 130px;
    margin: 30px 0;
}
.login-msg {
    position: absolute;
    left: 50%;
    top: 20vh;
    transform: translate(-50%,-50%);
}

.logout {
    display: inline-block;
    margin-left: 10px;
}
.logout label {
    text-decoration: underline;
}
.logout label:hover {
    cursor: pointer;
}
/*----------------------------------------------

        共通

-----------------------------------------------*/
.wrapper {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;

}
.inner {
    padding: 0 20px;
}
.align-center {
    text-align: center;
}
.align-right {
    text-align: right;
}
.align-left {
    text-align: left;
}
.bold {
    font-weight: bold;
}
.f-middle {
    font-size: 17px;
}
.width100 {
    max-width: none !important;
    width: 100% !important;
}
.padding0 {
    padding: 0 !important;
}
.f-large {
    font-size: 24px;
}
.f-gray {
    color: #939393;
}
.f-blue {
    color: #3B5998;
}
.margin-b10 {
    margin-bottom: 10px;
}

h3 {
    font-weight: bold;
    font-size: 20px;
    border-left: solid 2px #333;
    padding-left: 5px;
    line-height: 1;
}

/*--graytab--*/
.graytab {
    display: inline-block;
    background-color: #808080;
    color: #fff;
    padding: 4px;
    border-radius: 3px;
}

/*--box--*/
.link-span span {
    text-decoration: underline;
}
.link-span span:hover {
    cursor: pointer;
}
.box {
    background-color: #fff;
    border: solid 1px #D2D2D2;
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 17px;
    
}
.box table {
    width: 100%;
}
.box tr:not(:last-child) {
    border-bottom: solid 1px #E4E6EB;
}
.box td {
    padding: 9px 5px;
}
.box th {
    padding: 10px 0;
}
.box h2 {
    background-color: #3B5998;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    
}
/*box-s*/
.box-s td:first-child {
    width: 100px;
}
.box-s td:not(:first-child) {
    width: calc(100% - 100px);
    text-align: right;
}
.box-s tr {
/*
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
*/
}

/*box-m*/
.box-m > *:first-child {
    width: 150px;
}
.box-m > *:last-child {
    width: calc(100% - 150px);
    text-align: right;
}

/*box-title*/
.box-title {
    margin-bottom: 10px;
}
.box-title .f-middle {
    margin-left: 5px;
    margin-top: 0;
}

/*stripe*/
.stripe tr:nth-child(2n - 1) {
    background-color: #EEEEEE;
    border: none;
}

/*sort*/
.sort-blue,
.sort-gray,
.sort-gold {
    padding: 7px 12px;
    border-radius: 3px;
}
.sort-blue:hover,
.sort-gray:hover,
.sort-gold:hover {
    cursor: pointer;
}
.sort-blue {
    background-color: #36A9E1;
    color: #fff;
    
}
.sort-gray {
    background-color: #fff;
    color: #8d8d8d;
    border: solid 1px #c4c4c4;
}
.sort-gold {
    background-color: #A27E1C;
    color: #fff;
    border: solid 1px #A27E1C;
}
/*btn-red*/
.btn-red {
    background-color: #fff;
    color: red;
    border: solid 1px red;
    padding: 3px 30px;
    border-radius: 3px;
}
.btn-red:hover {
    cursor: pointer;
}
/*choice-btn*/
.choice-btn {
    
}

.clone {
    border: solid 1px #707070;
    font-size: 12px;
    padding: 3px 10px;
    margin-top: 5px;
    opacity: 0.8;
}
.clone:hover {
    opacity: 1;
    background-color: #f0f0f0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.delete {
    background-color: #FF7474;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    position: relative;
}
.delete:hover {
    cursor: pointer;
    opacity: 0.8;
}
.delete:after {
    position: absolute;
    content: "×";
    width: 18px;
    height: 18px;
    left: -3px;
    top: 4px;
}

.regist span {
    padding: 2px 5px;
    border-radius: 3px;
    border: solid 1px #767676;
    opacity: 0.7;
}
.regist span:hover {
    cursor: pointer;
    transition: all 0.4s;
    opacity: 1;
}
/*----------------------------------------------

        ボックス

-----------------------------------------------*/
.box-hs {
    height: 110px;
}
.pop-back {
    position: fixed;
    background-color: #000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5
    
}
.close {
    color: #fff;
    font-size: 28px;
    position: relative;
    margin: 0 7px 3px 0;
}
.close:hover {
    cursor: pointer;
}
.close:before {
    position: absolute;
    content: "";
    width: 29px;
    height: 29px;
    border: solid 1px #fff;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 100%;
}

/*regist-box*/
.pop-box {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.pop-box-inner {
    max-width: 390px;
    width: 100%;
    margin: 0 20px;
}
.pop-box-inner .box {
    max-height: 80vh;
    overflow: scroll;
}
.pop-box .sort-gray,
.pop-box .sort-blue {
    width: 130px;
    border-radius: 23px;
    margin: 20px 10px 0;
}

/*input-flat*/
.input-flat input,
.input-flat select {
    width: 100%;
    border: none;
    
}

input[type=checkbox],
input[type=radio] {
    display: none;
}
/*----------------------------------------------

        ヘッダー

-----------------------------------------------*/
header {
    background-color: #36A9E1;
    color: #fff;
    margin-bottom: 40px;
}
header a {
    color: #fff;
    text-decoration: underline;
}
header .flex {
    background-color: #1E8FC6;
    padding: 14px;
}

/*tab*/
.tab {
    border-bottom: solid 1px #333;
    margin-bottom: 10px;
    font-size: 23px;
}
.tab-button {
    color: #bfbfbf;
}
.tab-button:hover {
    cursor: pointer;
}
.tab .active {
    color: #333;
    border-bottom: solid 2px #333;
}
/*----------------------------------------------

        サイド

-----------------------------------------------*/
.side {
    max-width: 390px;
    width: 100%;
}
.logo {
    margin-bottom: 35px;
}
.logo img {
    max-width: 125px;
    width: 100%;
}


.regit-sales input[type=radio] + label,
.regit-sales input[type=checkbox] + label {
    display: inline-block;
    color: #8d8d8d;
    border: solid 1px #c4c4c4;
    padding: 4px;
    border-radius: 3px;
    background-color: #fff;
}
.regit-sales input[type=radio]:checked + label,
.regit-sales input[type=checkbox]:checked + label {
    background-color: #36A9E1;
    border: solid 1px #36A9E1;
    color: #fff;
}
.regit-sales .f-middle {
    margin-top: 5px;
}
input[type=radio] + label:hover,
input[type=checkbox] + label:hover {
    cursor: pointer;
}

.box-menu > *:first-child {
    border-top: solid 1px #B4B4B4;
}
.box-menu > * {
    border-bottom: solid 1px #B4B4B4;
/*    padding:10px 0;*/
    padding-top: 10px;
}
.box-menu .regist-sales-menu-change {
    border-bottom: solid 1px #E4E6EB;
    padding-bottom: 10px;
}
.box-menu .menu-input {
    padding: 10px;
}

.allcalc {
    margin-bottom: 30px;
}


/*----------------------------------------------

        メイン

-----------------------------------------------*/
.main {
    max-width: 795px;
    width: 100%;
}

.table-sales {
    min-width: 1000px;
}
.table-sales tr > *:nth-child(1) {
    width: 70px;
}
.table-sales tr > *:nth-child(2) {
    width: 60px;
}
.table-sales tr > *:nth-child(3) {
    width: 130px;
}
.table-sales tr > *:nth-child(4) {
    width: 100px;
}
.table-sales tr > *:nth-child(5) {
    width: 100px;
}
.table-sales tr > *:nth-child(6) {
    width: 140px;
}
.table-sales tr > *:nth-child(7) {
/*    width: 40px;*/
}


.table-staff {
    min-width: 510px;
}
.table-staff tr > *:nth-child(1) {
    width: 100px;
}
.table-staff tr > *:nth-child(2) {
    width: 70px;
}
.table-staff tr > *:nth-child(3),
.table-staff tr > *:nth-child(4),
.table-staff tr > *:nth-child(5),
.table-staff tr > *:nth-child(6) {
    width: 85px;
}

.table-medium {
    min-width: 390px;
}
.table-medium tr > *:nth-child(1) {
    width: 120px;
}
.table-medium tr > *:nth-child(2) {
    width: 100px;
}
.table-medium tr > *:nth-child(3),
.table-medium tr > *:nth-child(4) {
    width: 50px;
}
.table-medium tr > *:nth-child(5) {
    width: 70px;
}

.table-menu {
    min-width: 600px;
}
.table-menu tr > *:nth-child(1) {
    width: 70px;
}
.table-menu tr > *:nth-child(2) {
    width: 130px;
}
.table-menu tr > *:nth-child(2) {
    width: 130px;
}

.table-month {
    min-width: 530px;
}
.table-month tr > *:nth-child(1) {
    width: 130px;
}
.table-month tr > *:nth-child(2),
.table-month tr > *:nth-child(3),
.table-month tr > *:nth-child(4) {
    width: 85px;
}
.table-month tr > *:nth-child(5) {
/*    width: 85px;*/
}


.anab label {
    width: 56px;
    font-size: 10px;
    text-align: center;
}
.registmenu .regit-sales,
.choicemenu {
    margin-bottom: 5px;
}
.registmenu .regit-sales input + label,
.choicemenu input + label {
    border-radius: 3px !important;
    font-size: 10px;
    padding: 6px 3px !important;
    margin: 0 1px;
}
.registmenu .regit-sales li:last-child,
.choicemenu li:last-child {
    border-left: solid 1px #c4c4c4;
    padding-left: 4px;
    margin-left: 3px;
}

.max-height {
    max-height: 400px;
    overflow: scroll;
}
/*
.max-height::-webkit-scrollbar:horizontal {
    height: 0px;
}
*/
.scroll-height-none::-webkit-scrollbar:horizontal {
    height: 0;
}
/*----------------------------------------------

        フッター
allcalc
-----------------------------------------------*/
footer {
    background-color: #36A9E1;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-size: 13px;
}










/* ◎縦スクロールバー（幅）*/
::-webkit-scrollbar {
	width: 4px; }

/* 横スクロールバー（幅）*/
::-webkit-scrollbar:horizontal {
	height: 9px; }

/* ◎スクロールバー軌道（色）*/
::-webkit-scrollbar-track {
	background: rgba(0, 72, 72, 0.2); }

/* 軌道のコーナー（色）*/
::-webkit-scrollbar-corner {
		background: rgba(0, 72, 72, 0.2); }

/* ◎移動タブ（色・角丸み）*/
::-webkit-scrollbar-thumb {
	background: rgba(45, 90, 100, .5);
	border-radius: 12px; }



/*----------------------------------------------

        画像リスト

-----------------------------------------------*/
.img-list label {
    position: relative;
    display: block;
    margin-bottom: 10px;
}
.img-list label:after {
    display: none;
    position: absolute;
    content: "削除";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(8, 8, 8, 0.4);
    justify-content: center;
    align-items: center;
    opacity: 0;
    color: #fff;
}
.img-after label:after {
    display: flex;
}
.img-list input:checked + label:after {
    opacity: 1;
}




















/*その他*/
.sales-delete {
    margin-top: 10px;
}
.sales-delete input[type=checkbox] {
    display: inline-block;
}
.sales-delete input:checked + label {
    color: #ff0000;
}

/*----*/
.underline {
    text-decoration: underline;
    display: inline-block;
    margin: 2px 3px;
}
.underline:hover {
    cursor: pointer;
}


/*----*/
.mediums-delete input {
    display: inline-block;
}
.mediums-delete span {
    color: #fff;
    opacity: 0;
}
.mediums-delete input:checked + input {
    color: #ff0000;
}
.mediums-delete input:checked ~ span {
    color: #ff0000;
    opacity: 1;
}

/*----*/
.age {
    position: absolute;
    content: "";
    width: 40px;
    right: 40px;
    color: #818181;
}

/*----*/
.new-customer input {
    margin-bottom: 5px;
    border-bottom: solid 1px #eee;
    padding: 3px;
}

/*-----*/
.history_customer {
    display: inline-block;
    padding: 3px;
    border: solid 1px #c6c6c6;
    border-radius: 2px;
    font-size: 11px;
    background-color: #fff;
    width: 32px;
    text-align: center;
}
.history_customer:hover {
    cursor: pointer;
}
/*-----*/
.history_customer_details {
    background-color:#f7feff !important;
    border-left:solid 1px #e3e3e3;
    border-top:solid 1px #e3e3e3;
}
.history_customer_details td {
    padding: 0 5px 9px;
}
.history_customer_details p {
    padding-top: 10px;
}
/*-----*/
.toggle .flex {
    padding: 0 10px 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px #d9d9d9;
}
.toggle .flex .split:nth-child(1) {
    width: 200px;
}
.toggle .flex .split:nth-child(1) span {
    display: inline-block;
    padding-right: 5px;
    width: 60px;
}
.toggle .flex .split:nth-child(2) {
    width: calc(100% - 200px);
    text-align: right;
}
.history_title {
    background-color: #ededed;
    font-size: 11px;
    font-weight: bold;
    padding: 5px 10px !important;
}
.history_title li {
    text-align: center;
}
.history_title .title1 {
    width: 60px;
}
.history_title .title2 {
    width: 140px;
}
.history_title .title3 {
    width: calc(100% - 200px);
}

/*-----*/
.goal {
    padding: 10px;
}
.goal > div {
    border-bottom: solid 4px #e2e2e2;
    padding-bottom: 20px;
    padding-top: 10px;
    color: #575757;
}
.goal .split:first-child {
    padding-right: 10px;
}
.goal .split:last-child {
    padding-left: 10px;
}
.goal p {
    font-size: 20px;
    font-weight: bold;
}
@media(max-width:640px) {
    .goal .split {
        padding: 0 !important;
    }
    .goal .split:first-child {
        padding-bottom: 10px !important;
        margin-bottom: 10px;
        border-bottom: solid 1px #c6c6c6;
    }
    .goal p {
        font-size: 16px;
    }
}



.read {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 100px;
    background-color: #fff;
    width: 100%;
    text-align: left;
    border-radius: 5px;
    border: solid 2px #b7b7b7;
    box-shadow: 2px 2px rgba(0,0,0,0.1);
    padding: 10px;
    overflow-x: scroll;
}
.read p {
    margin-bottom: 10px;
    font-weight: bold;
}
.read li {
    padding-bottom: 4px;
    margin-bottom: 4px;
    font-size: 11px;
    border-bottom: solid 1px #eee;
}
.read-close {
    font-size: 18px;
    font-weight: bold;
}
.read-close:hover {
    cursor: pointer;
}

.whitebox {
    background-color: #Fff;
    border-radius: 3px;
    padding: 2px 5px;
    color: #1E8FC6;
}

.selectborder {
    border: solid 1px #7f7f7f !important;
}