/* -------------------------------------------------------------------------------------------------------------
共通
------------------------------------------------------------------------------------------------------------- */

* {
  margin: 0;
  padding: 0;
}

body, html {
  height: 100vh;
  font-size: .9rem;
  line-height: 1;
  background-color: #fff;
  overflow: hidden;
}

.wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
}


/* -------------------------------------------------------------------------------------------------------------
ヘッダー
------------------------------------------------------------------------------------------------------------- */

.header {
  width: 100%;
}

.header-logo img {
  max-width: 10rem;
}

.nav-item.active {
  background: #7E57C1;
}

.nav-link {
  padding: .65rem 1rem;
  color: #ffffff;
}


/* -------------------------------------------------------------------------------------------------------------
メニュー
------------------------------------------------------------------------------------------------------------- */
.menu {
  width: 100%;
  margin: 0;
  background: #3a2360;
  display: table;
  table-layout: fixed;
}

.menu li {
  text-align: center;
  word-wrap: break-word;
  display: table-cell;
}

.menu > li:hover {
  background: #7E57C1;
}

.menu a:hover {
  color: #fff;
}

.menu__single {
  border-right: 1px solid #fff;
  position: relative;
  cursor: default;
  transition: all .2s ease;
  -webkit-transition: all .2s ease;
}

.menu__single:last-child {
  border-right: none;
}

.menu__single:hover .menu__second-level {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 1px);
}

.menu__second-level {
  width: 100%;
  background: #3a2360;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 1px);
  z-index: 3;
  transition: all .2s ease;
  -webkit-transition: all .2s ease;
}

.menu__second-level li {
  border-bottom: 1px solid #fff;
  display: flex;
  flex-direction: column;
}

.menu__second-level li:last-child {
  border-bottom: none;
}

.menu__second-level li a {
  padding: .7rem 0;
  color: #fff;
  display: block;
}

.menu__second-level li a:hover {
  background: #7E57C1;
  text-decoration: none;
}

.init-bottom:after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 0 2px 15px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/* -------------------------------------------------------------------------------------------------------------
コンテンツ
------------------------------------------------------------------------------------------------------------- */

.content-wrapper {
  padding-bottom: 50px;
}

.content-body {
  width: 100%;
  padding-right: 7.5px;
  padding-left: 7.5px;
  margin-right: auto;
  margin-left: auto;
}

.content-wrapper .card-header {
  background-color: transparent;
  position: relative;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  border-bottom: none;
}

.content-wrapper .card-header span {
  padding: .25em .5em;
  color: #636363;
  background: transparent;
  border-left: solid 5px #327baa;
}


/* -------------------------------------------------------------------------------------------------------------
フッター
------------------------------------------------------------------------------------------------------------- */

.footer {
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: 0;
}


/* -------------------------------------------------------------------------------------------------------------
テーブル
------------------------------------------------------------------------------------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

table th {
  text-align: center;
}

table td {
  text-align: center;
  padding: .5rem !important;
}


/* コンテンツテーブル */

.content-table {
  border-top: 1px solid #7e57c1;
  border-bottom: 2px solid #7e57c1;
  border-right: 2px solid #7e57c1;
  border-left: 2px solid #7e57c1;
  overflow-y: scroll;
  position: relative;
}

.content-table-checkbox {
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.content-table table tr {
  border-bottom: solid 1px #eee;
}

.content-table table tr.table-row:hover {
  background: #cadeed;
}

.content-table table th {
  color: #fff;
  font-weight: normal;
  background: #7e57c1;
  vertical-align: middle;
  position:sticky;
  top: 0;
  z-index: 1;
}

.content-table table td th {
  z-index: 0;
}

.content-table table td {
  vertical-align: middle;
}

.content-table table .table-row:nth-child(even) {
  background: #c3dda4;
}

.content-table input[type="radio"] {
  display: none;
}

.content-table .nav-link {
  padding: 0;
}

.content-table-hr {
  width: 100%;
  margin-top: 0;
  margin-bottom: -3px;
  border-top: 2px solid #7e57c1;
  z-index: 2;
}

.z_index {
  z-index: 100;
}

.fixed01 {
  position: sticky;
  left: 0;
}

.record_finish {
  background: #cadeed;
}

.record_empty {
  background: #ff00005c !important;
}

.stripe-table tr:nth-child(even) {
  background: #F5F2F9;
}

.stripe-list-table > tbody > tr:nth-child(4n-1) {
  background: #F5F2F9 !important;
}

.delete-tr {
    background: #EA8993 !important;
}


/* -------------------------------------------------------------------------------------------------------------
テーブル(切り替えタブ)
------------------------------------------------------------------------------------------------------------- */

.tab_area {
  height: 4rem;
  margin-top: 1.2rem;
}

.tab_area label {
  width: 150px;
  padding: .5rem 0;
  color: #000;
  background: #fff;
  text-align: center;
  font-size: .85rem;
  cursor: pointer;
  transition: ease .2s opacity;
  border: solid 1px #000;
  margin-bottom: .1rem;
  margin-top: .75rem;
}

.tab_area label:hover {
  opacity: .8;
}

.panel_area {
  background: #fff;
}

.tab_panel {
  width: 100%;
  display: none;
}

.tab_panel p {
  letter-spacing: 1px;
  text-align: center;
}

#tab1:checked~.tab_area .tab1_label {
  background: #7e57c1;
  color: #fff;
}

#tab1:checked~.panel_area #panel1 {
  display: block;
}

#tab2:checked~.tab_area .tab2_label {
  background: #7e57c1;
  color: #fff;
}

#tab2:checked~.panel_area #panel2 {
  display: block;
}


/* -------------------------------------------------------------------------------------------------------------
表のカラムサイズ
------------------------------------------------------------------------------------------------------------- */

.col-w2-m3 {
  width: 2%;
  min-width: 3em;
}

.col-w3-m5 {
  width: 3%;
  min-width: 5em;
}

.col-w4-m5 {
  width: 4%;
  min-width: 5em;
}

.col-w4-m8 {
  width: 4%;
  min-width: 8em;
}

.col-w5-m6 {
  width: 5%;
  min-width: 6em;
}

.col-w5-m8 {
  width: 5%;
  min-width: 8em;
}

.col-w5-m10 {
  width: 5%;
  min-width: 10em;
}

.col-w5-m15 {
  width: 5%;
  min-width: 15em;
}

.col-w6-m5 {
  width: 6%;
  min-width: 5em;
}

.col-w7-m15 {
  width: 7%;
  min-width: 15em;
}

.col-w8-m9 {
  width: 8%;
  min-width: 9em;
}

.col-w8-m15 {
  width: 8%;
  min-width: 15em;
}

.col-w8-m17 {
  width: 8%;
  min-width: 17em;
}

.col-w9-m15 {
  width: 9%;
  min-width: 15em;
}

.col-w10-m10 {
  width: 10%;
  min-width: 10em;
}

.col-w10-m15 {
  width: 10%;
  min-width: 15em;
}

.col-w12-m15 {
  width: 12%;
  min-width: 15em;
}

.col-w14-m10 {
  width: 14%;
  min-width: 10em;
}

.col-w14-m20 {
  width: 14%;
  min-width: 20em;
}

.col-w15-m15 {
  width: 15%;
  min-width: 15em;
}

.col-w15-m18 {
  width: 15%;
  min-width: 18em;
}


/* -------------------------------------------------------------------------------------------------------------
検索
------------------------------------------------------------------------------------------------------------- */


/* ステータス */

.status-product label {
  width: 6.5em;
  text-align: center;
}

.status label {
  height: calc(1.5em + .75rem + 2px);
  border-radius: 5px;
  padding: .375rem .2rem;
  border: 1px solid #dfdede;
  background-color: white;
  margin: 0;
}

.status label span {
  margin-left: 5px;
}

.btn {
  font-size: .9rem;
}

.btn_small {
  position: relative;
  display: inline-block;
  border: none;
  padding: .5em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}

.btn-trash {
  background: #8f8f8f;
  color: #fff;
}

.content-search-group-input {
  width: 50%;
}

.content-search-group-cand {
  width: 50%;
}

.btn-default {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #444;
  white-space: nowrap;
}

.search-title {
  width: 100%;
  margin-bottom: .6rem;
  font-weight: bold;
}

.search-title::before {
    content: '\025b6';
    padding: 0 .3rem 0 0;
}

.btn-custom {
  color: #fff;
}

.search-hidden {
  display: none !important;
}


/* -------------------------------------------------------------------------------------------------------------
モーダル
------------------------------------------------------------------------------------------------------------- */


/* モーダルウィンドウ */

.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
}

.modal-info_main {
  max-width: 800px;
  margin: 30vh auto;
}

.modal-dialog {
  max-width: 700px;
  margin: 10% auto;
}

.modal-content {
  box-shadow: 0 .5rem 1rem rgb(0 0 0 / 50%);
}

.modal__close {
  padding: 6px 8px;
}

.target-area .hidden {
  display: none;
}

.target-area2 .hidden {
  display: none;
}


/* -------------------------------------------------------------------------------------------------------------
スクロール
------------------------------------------------------------------------------------------------------------- */

.scroll_layout {
  overflow: scroll;
  height: 30vh;
}


/* -------------------------------------------------------------------------------------------------------------
ツールチップ
------------------------------------------------------------------------------------------------------------- */

.tooltip-inner {
  max-width: 500px;
}


/* -------------------------------------------------------------------------------------------------------------
フレックスボックス
------------------------------------------------------------------------------------------------------------- */

.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}


/* -------------------------------------------------------------------------------------------------------------
フォーム
------------------------------------------------------------------------------------------------------------- */

.form-control {
  font-size: .9rem;
}

.form-control::placeholder {
  color: #848C94;
}

.form-signin {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-select-readonly {
    pointer-events: none;
}

input[type=checkbox] {
  width: 20px;
  height: 20px;
}

input[type=number] {
  padding: 0.375rem 0.25rem;
  text-align: center;
}

.search-syohin-button {
  background: #fff;
  z-index: auto !important;
}


/* -------------------------------------------------------------------------------------------------------------
ステータスボタン
------------------------------------------------------------------------------------------------------------- */

.status_template {
  border-radius: 100vh;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  padding: .3em .5em;
  font-size: .85em;
  width: 6em;
  color: #fff;
}

.status_ok {
  background-color: #00b1c6;
}

.status_ng {
  background-color: red;
}

.status_none {
  background-color: #6c757d;
}


/* -------------------------------------------------------------------------------------------------------------
jquery ui
------------------------------------------------------------------------------------------------------------- */

.ui-autocomplete {
  max-height: 150px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 20px;
}

#jquery-ui-autocomplete label {
  float: left;
  margin-right: .5em;
  color: black;
  font-size: 15px;
}


/* -------------------------------------------------------------------------------------------------------------
ホーム画面
------------------------------------------------------------------------------------------------------------- */

.content-calendar {
  margin: 0 2rem;
  width: 50%;
}

.content-list {
  margin: 0 2rem;
  width: 50%;
}

@media screen and (max-width:1800px) {
  .content-calendar {
    width: 60%;
  }
  .content-list {
    width: 40%;
  }
}


/* -------------------------------------------------------------------------------------------------------------
時間コンボ
------------------------------------------------------------------------------------------------------------- */

.timeCombo {
  width: 5rem;
  display: inline-block;
}


/* -------------------------------------------------------------------------------------------------------------
タブレット対応
------------------------------------------------------------------------------------------------------------- */

@media screen and (max-width:1700px) {
  .content-wrapper {
    padding-bottom: 10px;
  }
  .content-calendar {
    margin: 0;
  }
  .content-list {
    margin: 0;
    margin-left: 1em;
  }
  footer {
    display: none;
  }
  .serach-to {
    display: none;
  }
  .flex-wrap-Table {
    flex-wrap: wrap;
  }
  .status label {
    margin-bottom: 0.5rem;
    padding: 0.375rem 0;
  }
  .content-search .row div {
    padding-right: 1px;
    padding-left: 1px;
  }

  @media screen and (max-width:1280px) {
    .tablet-font {
      font-size: 1.2em !important;
      margin-top: 0.3em;
      padding-left: 0.1em !important;
      padding-right: 0.2em !important;
    }
  }
}


/* -------------------------------------------------------------------------------------------------------------
カスタム
------------------------------------------------------------------------------------------------------------- */

/* 全般 */

.pe-none {
    pointer-events: none;
}

/* ラジオボタン */

.input-width-120 {
    width: 120px;
}

.input-width-130 {
    width: 130px;
}

.input-width-140 {
    width: 140px;
}

.input-width-160 {
    width: 160px;
}

/* ラジオボタン */

.origin-radio {
    display: flex;
    justify-content: space-between;
}

.origin-radio input[type=radio] {
  position: absolute;
  opacity: 0;
}

.origin-radio-label {
  margin: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.origin-radio input[type=radio] + .origin-radio-label:before {
  content: "";
  background: #fff;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: 0;
  margin-right: .3em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}

.origin-radio input[type=radio]:checked + .origin-radio-label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #fff;
}

.origin-radio input[type=radio]:focus + .origin-radio-label:before {
  outline: none;
  border-color: #3197EE;
}

.origin-radio input[type=radio]:disabled + .origin-radio-label:before {
  background: #e9ecef;
}

.origin-radio input[type=radio] + .origin-radio-label:empty:before {
  margin-right: 0;
}

/* ラジオボタン（取込選択画面） */

.custom-radio {
  margin: 0 0 1.3rem 0;
  font-size: 1.2rem;
}

.custom-radio input[type=radio] {
  position: absolute;
  opacity: 0;
}

.custom-radio-label {
  margin: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-radio input[type=radio] + .custom-radio-label:before {
  content: "";
  background: #fff;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  position: relative;
  top: 0;
  margin-right: 1em;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  transition: all 250ms ease;
}

.custom-radio input[type=radio]:checked + .custom-radio-label:before {
  background-color: #3197EE;
  box-shadow: inset 0 0 0 4px #fff;
}

.custom-radio input[type=radio]:focus + .custom-radio-label:before {
  outline: none;
  border-color: #3197EE;
}

.custom-radio input[type=radio]:disabled + .custom-radio-label:before {
  box-shadow: inset 0 0 0 4px #fff;
  border-color: #b4b4b4;
  background: #b4b4b4;
}

.custom-radio input[type=radio] + .custom-radio-label:empty:before {
  margin-right: 0;
}

/* チェックボックス */

.form-check-input, .form-check-label {
    cursor: pointer;
}

/* 候補表示用テーブル */

.cand-parent {
    height: 200px;
    overflow-y: scroll;
    position: relative;
}

.cand-parent thead {
    background: #E6DFF0;
    position:sticky;
    top: 0;
    z-index: 1;
}

.cand-tr {
    cursor: pointer;
}

.cand-tr:hover {
    background: #F1EDF6;
}

/* 必須タグ */

.required-tag {
    padding: 0 40px 0 0;
    display: inline-block;
    position: relative;
}

.required-tag::after {
    content: '必須';
    width: 35px;
    padding: .2em .4em;
    margin-left: .5em;
    color: #fff;
    font-size: .9em;
    font-weight: normal;
    background: #dc3545;
    border: 1px solid #fff;
    display: block;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translate(0, -50%);
}

/* 無効タグ */

.unavailable-tag {
    padding: 0 40px 0 0;
    display: inline-block;
    position: relative;
}

.unavailable-tag::after {
    content: '無効';
    width: 35px;
    padding: .2em .4em;
    margin-left: .5em;
    color: #fff;
    font-size: .9em;
    font-weight: normal;
    background: #343a40;
    border: 1px solid #fff;
    display: block;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translate(0, -50%);
}

/* テキスト入力 */

.input-ok, .input-ok:focus {
    background-color: #fff;
    transition: background-color 2s;
}

.input-ng, .input-ng:focus {
    background-color: #F8DCDF;
}

.input-ok.highlight {
    background-color: #CEF2D5;
    transition-duration: 0s;
}

/* ボタン強調表示 */

.btn-anime-ripple {
    position: relative;
    overflow: hidden;
}

.btn-anime-ripple:before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 75%);
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    100% {
      left: 100%;
    }
}

/* バッジ */

.custom-badge {
    padding: .3rem .8rem;
    color: #fff;
    border-radius: 10rem;
}

/* フキダシ（右） */

.fukidashi-right {
    max-width: 100%;
    min-width: 120px;
    padding: 7px 10px;
    margin: 0 15px 0 0;
    font-size: .9rem;
    background: #C7DEFF;
    display: inline-block;
    position: relative;
}

.fukidashi-right:before {
    content: "";
    margin-top: -7px;
    border: 7px solid transparent;
    border-left: 15px solid #C7DEFF;
    position: absolute;
    top: 50%;
    left: 100%;
}

.fukidashi-right p {
    margin: 0;
    padding: 0;
}


/* -------------------------------------------------------------------------------------------------------------
プラグイン
------------------------------------------------------------------------------------------------------------- */

/* カレンダー */

#calendar .fc-scrollgrid-section > td {
    padding: 0 !important;
}
