/*
 サイドバーのミニマムの高さを設定
*/

#content-inner {
 min-height:900px;
}

/*
　テーブルの横スクロール
　<div class="scroll">
    <table>
    </table>
  </div>
*/

table{
width:100%;
  /*table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;*/
}
.scroll{
overflow: auto; /*tableをスクロールさせる*/
white-space: nowrap;/*tableのセル内にある文字の折り返しを禁止*/
}
.scroll::-webkit-scrollbar{/*tableにスクロールバーを追加*/
 height: 5px;
}
.scroll::-webkit-scrollbar-track{/*tableにスクロールバーを追加*/
 background: #F1F1F1;
}
.scroll::-webkit-scrollbar-thumb {/*tableにスクロールバーを追加*/
 background: #BCBCBC;
}


.scroll::-webkit-scrollbar {
  all:unset;
  width: 12px;
  /*background: transparent;*/
}

.scroll::-webkit-scrollbar-track {
  all:unset;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
  border-radius: 8px;
  /*background: transparent;*/
}

.scroll::-webkit-scrollbar-thumb {
  all:unset;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 8px;
  background: rgba(188,188,188,0.8);
  /*background: transparent;*/
}

.scroll::-webkit-scrollbar-thumb:hover {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
  /*background: transparent;*/
}

.scroll2{
  word-break: break-all;
}


/*
　テーブル内で前年度の数字を表示
　<td>￥22,855,160<br><span class="pre-year">前年 ￥19,611,071</span></td>
 */
.pre-year{
  color:#999;
  font-size:90%
}

.yo-year{
  color:#fe6184;
  font-size:80%;
}
table.style3 td{
  line-height:120%;
}


@media only screen and (max-width: 767px) {
  .honjitsu, .heikin{
    font-size:80%;
    display:block;
  }
  .spblock{
    display:block;
  }
  table.style3 th{
    padding: 0em !important;
  }
}

.yo-year2{
  color:#fe6184;
  font-size:10px !important;
}
.yo-year2 span{
  font-size:130% !important;
}
.style3 th{
  vertical-align:middle;
}
.style3 th[rowspan]{
  border-bottom: solid 1px #eee;
}
table.style3 tr.endt{
  border-top: double 5px #ddd;
}


/*
  テーブルソート用　
*/

th.header {
    background-image: url(../img/bg.gif);
    cursor: pointer;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
    border-right: 1px solid #dad9c7;
    margin-left: -1px;
}

th.headerSortUp {
    background-image: url(../img/asc.gif);
    background-color: #F2F2F2;
}

th.headerSortDown {
    background-image: url(../img/desc.gif);
    background-color: #F2F2F2;
}

/*
  売上一覧の主要な数字
*/

.primary-num{
  margin-top:15px;
  margin-bottom:15px;
  border-top:1px #ccc solid;
  background:#fff;
}

.primary-num .pn-box{
  display: table;
  width:100%;
  border-bottom:1px #ccc solid;
}

.primary-num .pn-box .pn-inbox{
  display: table-cell;
  vertical-align: middle;
  width:30%;
  text-align:center;
}

.primary-num .pn-box .right-line{
  border-right:1px #ccc solid;
}

.primary-num h4{
  font-size:16px;
  font-weight:normal;
  color:#36a4eb;
}

@media only screen and (max-width: 767px) {
  .primary-num .pn-title{
    display:table-row !important;
    width:100% !important;
  }
  .primary-num .pn-title h4{
    width:200% !important;
    margin-top:10px !important;
    margin-bottom:-10px !important;
  }
}

.primary-num h5{
  font-size:13px;
  font-weight:normal;
  color:#999;
  margin-top:10px;
}

.primary-num .main-num{
  font-size:22px;
  font-weight:bold;
}


.primary-num .sub-num{
  font-size:12px;
  margin-bottom:10px;
  line-height:16px;
}

.primary-num .text-red{
  color:#fe6184;
}

/*
@media only screen and (min-width: 768px) {
      .primary-num li{
        display:inline-block;
        background:#fff;
        padding:10px 20px;
        border:1px solid #f2f2f2;
        margin:5px;
      }
      .primary-num h4{
        font-size:18px;
        text-align:center;
      }
      .primary-num p{
        font-size:24px;
        text-align:center;
        margin:0;
        padding:5px 0;
        line-height: 1;
      }
}
@media only screen and (max-width: 767px) {
      .primary-num li{
        display:block;
        background:#fff;
        border:1px solid #f2f2f2;
        margin:5px;
      }
      .primary-num h4{
        font-size:18px;
        width:43%;
        display:inline-block;
        vertical-align: middle;
        text-align:center;
        padding:0 8px;
      }
      .primary-num p{
        width:55%;
        display:inline-block;
        vertical-align: middle;
        font-size:20px;
        text-align:center;
        margin:0;
        padding:0 10px;
        line-height: 1;
      }
}
      .primary-num p span{
        font-size:12px;
      }
      .souuri h4{
        background-color :rgba(0,255,153,0.5);
      }
      .genkin h4{
        background-color :rgba(0,204,255,0.5);
      }

*/

input[type="checkbox"]{
  width:16.66px;
  -webkit-appearance: checkbox;
}



/*
年間、月間の切り替えタブ
*/

#header-wrapper {
  height: 60px;
}
#header {
  height: 60px;
}
#site-title {
  padding: 10px 0 0 0;
}
h5 {
  margin-top: 20px;
}
#sample {
  margin-top: 20px;
}
#main {
  clear: left;
  margin: 20px auto;
  padding: 5px 20px;
  width: 100%
}
#tab li {
  float: left;
  padding: 10px;
  list-style: none;
  cursor: pointer;
  background: #eee;
  width:50%;
  border-radius: 10px 10px 0 0 / 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0 / 10px 10px 0 0;
  border:1px #ccc solid;
  text-align:center;
}
#tab.three li {
  width:33.3% !important;
}
#tab li.select {
  background: #fff;
  font-weight:bold;
  border-bottom:1px #fff solid;
}
#tab li.select:hover{
  background:#fff;
}
#tab li:hover{
  background:#ddd;
}
#tab .t_title{
  font-size:85%;
}
#tab .t_main{
  font-size:150%;
}
#tab .t_sub{
  font-size:80%;
  color:#fe6184;
}

.disnon {
  display: none;
}
.content_wrap {
  border-bottom:1px #ccc solid;
  border-left:1px #ccc solid;
  border-right:1px #ccc solid;
  background: #fff;
  border-radius: 0 0 10px 10px / 0 0 10px 10px;
  -webkit-border-radius: 0 0 10px 10px / 0 0 10px 10px;
  -moz-border-radius: 0 0 10px 10px / 0 0 10px 10px;
  margin-bottom:20px;
}

.byline {
    top: 0em !important;
    margin-bottom: 0em !important;
    position: static !important;
}

.title01 {
  margin:10px;
}


.square_btn {
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 0.25em 0.5em;
    text-decoration: none;
    color: #FFF;
    /*background: #00bcd4;*/
    background-color: #ed9282;
    /*background-image: url(images/bg1.png);*/
    transition: .4s;
    border-radius: 15px;
    width:100%;
    text-align:center;
    margin:10px auto;
  }


/*
@media only screen and (min-width: 768px) {
  ul#tab.sponly li{
    display:none !important;
  }
  .content_wrap.sponly {
    border:none;
    background: none;
  }
  .disnon.sponly {
    display: inline;
  }
}
*/

/*
グラフサイズの指定


@media (min-width:768px) {
  canvas#canvas, canvas#canvas2 {
    width:750px;
    height:400px;
  }
}
@media (max-width:767px) {
  canvas#canvas, canvas#canvas2 {
    width:100% !important;
    height:100% !important;
  }
}
*/


/* responsive-helpers https://gist.github.com/rowej83/34117abebf53cd895fa4 */
/* pure-hidden-xs */
@media screen and (max-width:567px) {
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-xs{display:none}
}
/* pure-hidden-sm */
@media screen and (min-width:568px) and (max-width:767px) {
    .pure-visible-xs{display:none}
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-sm{display:none}
}
/* pure-hidden-md */
@media screen and (min-width:768px) and (max-width:1023px) {
    .pure-visible-xs{display:none}
    .pure-visible-sm{display:none}
    .pure-visible-lg{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-md{display:none}
}
/* pure-hidden-lg */
@media screen and (min-width:1024px) and (max-width:1279px) {
    .pure-visible-xs{display:none}
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-lg{display:none}
}
/* pure-hidden-xl */
@media screen and (min-width:1280px) {
    .pure-visible-xs{display:none}
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-hidden-xl{display:none}
}





/* EM VERSION BELOW */


/* pure-hidden-xs */
@media screen and (max-width:35.438em) {
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-xs{display:none}
}
/* pure-hidden-sm */
@media screen and (min-width:35.5em) and (max-width:47.938em) {
    .pure-visible-xs{display:none}
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-sm{display:none}
}
/* pure-hidden-md */
@media screen and (min-width:48em) and (max-width:63.938em) {
    .pure-visible-xs{display:none}
    .pure-visible-sm{display:none}
    .pure-visible-lg{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-md{display:none}
}
/* pure-hidden-lg */
@media screen and (min-width:64em) and (max-width:79.938em) {
    .pure-visible-xs{display:none}
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-visible-xl{display:none}
    .pure-hidden-lg{display:none}
}
/* pure-hidden-xl */
@media screen and (min-width:80em) {
    .pure-visible-xs{display:none}
    .pure-visible-sm{display:none}
    .pure-visible-md{display:none}
    .pure-visible-lg{display:none}
    .pure-hidden-xl{display:none}
}






/* テーブル　スマホ用表示デザイン */

@media only screen and (max-width: 767px) {
  .spdesign {
    /*margin: 0 -10px;*/
  }
  .spdesign tr {
    display:block;
    /*margin-bottom: 10px;*/
    border: solid 1px #eee;
  }
  .spdesign th, .spdesign td.date {
    display:block;
    width: 100%;
    padding-bottom:0 !important;
    padding-top:0 !important;
    background: #565656 !important;
    color:#fff;
  }
  .spdesign td.date {
    margin: 0;
  }
  .spdesign th:before, .spdesign td.date:before {
    content: "No.";
  }
  .spdesign td {
    /*display: list-item;*/
    display: inline-block;
    /*width: 90%;*/
    margin: 0 10px;
    border:none !important;
    background-color:transparent !important;
  }
  .spdesign td.tname{
    width:60%;
    text-align:left;
    font-weight:bold;
  }
  .spdesign td.tstore{

    width:20%;
    text-align:left;
    font-size:80%;
  }
  .spdesign td.tmain{
    /*width:34%;*/
    width:95%;
    font-size:180%;
    font-weight:bold;
    text-align:left;
    line-height:1;
  }
  .spdesign td.tmainr{
    width:55%;
    font-size:180%;
    font-weight:bold;
    text-align:left;
    line-height:1;
  }
  .spdesign td.tmain span{
    font-size:60%;
    font-weight:normal;
  }
  .spdesign td.tlast, .spdesign td.tmbl, .spdesign td.twtime, .spdesign td.thsales, .spdesign td.tcprice , .spdesign td.tpre , .spdesign td.trate{
    width:25%;
    text-align:left;
    font-size:100%;
    line-height:1.2;
  }
  .spdesign td.tlast:before {
    content: "前月: ";
    font-size:70%;
  }
  .spdesign td.tmbl:before {
    content: "前々月: ";
    font-size:70%;
  }
  .spdesign td.twtime:before {
    content: "勤務時間: ";
    font-size:70%;
  }
  .spdesign td.thsales:before {
    content: "時間売上: ";
    font-size:70%;
  }
  .spdesign td.tcprice:before {
    content: "客単価: ";
    font-size:70%;
  }
  .spdesign td.tpre:before {
    content: "予測: ";
    font-size:70%;
  }
  .spdesign td.trate:before {
    content: "目標達成率: ";
    font-size:70%;
  }
  .spdesign td.tupdate:before {
    content: "最終更新日: ";
    font-size:70%;
  }
  .spdesign td.tdetail {
    display:block;
    width: 100%;
    padding-bottom:0 !important;
    padding-top:0 !important;
    color:#fff;
    margin: 0;
  }
  .spdesign thead{
    display:none;
  }
}
.spdesign td.tmain span.yosoku {
    font-size:35%;
}



/* テーブル　目標一覧各店舗用表示デザイン */

  .tgdesign {

  }
  .tgdesign tr {
    display:block;
    border: solid 1px #eee;
    padding:10px 0;
    margin:10px 0;
    background-color:#fff;
  }
  .tgdesign th {
    display:block;
    width: 100%;
    padding-bottom:0 !important;
    padding-top:0 !important;
    background: #565656 !important;
    color:#fff;
  }
  .tgdesign td {
    display: inline-block;
    margin: 0 10px;
    border:none !important;
    background-color:transparent !important;
  }
  .tgdesign td.tname{
    width:100%;
    text-align:left;
    font-weight:bold;
    font-size:105%;
    background-color:#999 !important;
    width:95%;
    padding:0 10px;
  }
  .tgdesign td.tname a{
    color:#fff !important;
  }
  .tgdesign td.tg,.tgdesign td.rslt{
    width:95%;
    font-size:90%;
    text-align:left;
    border-top:solid 1px #ccc !important;
  }
  .tgdesign td.tg2,.tgdesign td.tg3,.tgdesign td.rslt2,.tgdesign td.rslt3{
    width:95%;
    font-size:90%;
    text-align:left;
  }
  .tgdesign td.tg3,.tgdesign td.rslt3{
    background-color:#f9f9f9 !important;
  }

  .tgdesign td.tg:before {
    content: "目標:　";
    font-size:70%;
  }
  .tgdesign td.tg2:before {
    content: "達成手段:　";
    font-size:70%;
  }
  .tgdesign td.tg3:before {
    content: "アドバイス:　";
    font-size:70%;
  }
  .tgdesign td.rslt:before {
    content: "良かった点:　";
    font-size:70%;
  }
  .tgdesign td.rslt2:before {
    content: "反省・改善:　";
    font-size:70%;
  }
  .tgdesign td.rslt3:before {
    content: "アドバイス:　";
    font-size:70%;
  }
  .tgdesign td.sales,.tgdesign td.person{
    font-size:140%;
    font-weight:bold;
  }
  .tgdesign td.sales span,.tgdesign td.person span{
    font-size:50%;
  }
  .tgdesign td.sales:before {
    content: "売上(税抜):　";
    font-size:50%;
  }
  .tgdesign td.person:before {
    content: "指名:　";
    font-size:50%;
}

/* 売上登録UI変更 */

tr.clickable{
    cursor:pointer;
    text-decoration:underline;
    color: #c94663;
}

tr.clickable:hover    {
    color:#ffffff;
    background-color:#498AF4 !important;
}
.vertical-scroll-table{
    max-height: 240px;
  overflow: auto;
  overflow-x: hidden;
}

.raiten {
    vertical-align:middle;
    border-bottom: solid 1px #ddd;
  }

.raitenbikou {
    color:#888;
    font-weight:700;
}


/* アコーディオンメニューの初期設定　(メニュー、テーブル表示項目で使用) */

#acMenu dd{
  display:none;
}

#acMenu .button{
    cursor: pointer;
}

/* 売上登録 メニュー複数選択ポップアップ */
.popupwindow1{
    background:#fff;
    border-radius: 10px;
    padding:50px auto;
}
.popupwindow1 div{
    margin:auto 15px;
}
.popupwindow1 label{
    display:inline-block;
}
.popupwindow1 h3{
    text-align:center;
    margin:0 auto 15px auto;
}
.popupwindow1 p{
    text-align:center;
    margin:15px auto 0 auto;
}

/* リピート分析ページ　デザイン調整 */
table.style4, table.style4 tr, table.style4 td, table.style4 th{
    border:solid 1px #c0c0c0 !important;
}
table.style4 td{
    white-space: nowrap;
}
table.style4 th{
    font-size:85%;
    white-space: nowrap;
    background-color: #f0fff0;
}
table.style4 th[class="header2"]{
    background-color: #f5fffa !important;
}
table.style4 td[class="header3"]{
    font-size:85%;
    font-weight:bold;
}
