/*
 * メインレイアウト
 */
.navbar {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/*
 * ナビバー
 */
 .navbar-logo {
  width: 1.2em;
  vertical-align: text-top;
}

.app-name {
  font-family: 'Roboto Condensed', sans-serif;
}

/*
 * バッジ
 */
.badge-from-btn {
  position: absolute;
  top: -5px;
  right: -5px;
}

/*
 * テーブル
 */
.tb-col-id {
     width: 10%;
 }
 .tb-col-icon-button {
    width: 1%;
}

/*
 * サイドバー
 */
 .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* ナビゲーションバーの背面 */
    padding: 77px 0 0; /* ナビゲーションバーの高さ */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  }

  .sidebar-sticky {
    position: relative;
    height: calc(100vh - 77px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* ビューポートがコンテンツより短い場合、スクロール可能なコンテンツ */
  }

  @media (max-width: 767.98px) {
    .sidebar-sticky {
      height: calc(100vh - 100px);
    }
  }

  @supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
      position: -webkit-sticky;
      position: sticky;
    }
  }
  
  .sidebar .nav-link {
    font-weight: 500;
    color: #333;
  }
  
  .sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
  }
  
  .sidebar .nav-link.active {
    color: #18bc9c;
    font-weight: bold;
  }
  
  .sidebar .nav-link:hover .feather,
  .sidebar .nav-link.active .feather {
    color: inherit;
  }
  
  .sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
  }

/*
 * ステップUI
 */

.ui-step {
  margin: 0;
}

.ui-step ol {
    display: flex;
    position: relative;
    padding: 0 0 26px;
}

.ui-step li {
    display: block;
    position: relative;
    padding-bottom: 6px;
    flex-basis: 100%;
    font-size: 1.1em;
    text-align: center;
}

.ui-step li::before,
.ui-step li::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -16px;
    margin: auto;
    height: 5px;
}

.ui-step li::before {
    left: 0;
    width: 100%;
}

.ui-step li::after {
    right: 0;
    width: 100%;
}

.ui-step li:first-child::before {
    left: 50%;
    width: 100%;
}

.ui-step li:last-child::after {
    right: 50%;
    width: 100%;
}

.ui-step li:first-child::after,
.ui-step li:last-child::before {
    width: 0;
}

.ui-step li[aria-current="step"]::before,
.ui-step li[aria-current="step"]:not(:first-child)::after,
.ui-step li[aria-current="step"] ~ li::before,
.ui-step li[aria-current="step"] ~ li::after {
    width: 50%;
}

.ui-step li::before,
.ui-step li::after,
.ui-step li[aria-current="step"]:last-child::after {
    z-index: 2;
    background-color: #004ea2;
}

.ui-step li[aria-current="step"] ~ li::before,
.ui-step li[aria-current="step"] ~ li::after,
.ui-step li + li[aria-current="step"]::after,
.ui-step li[aria-current="step"]:first-child::before,
.ui-step li[aria-current="step"]:first-child ~ li::before {
    z-index: 1;
    background-color: #ddd;
}

.ui-step li .label {
    color: #004ea2;
}

.ui-step li[aria-current="step"] .label {
    font-style: normal;
    font-weight: bold;
}

.ui-step li[aria-current="step"] ~ li .label{
    font-weight: normal;
    color: inherit;
}

.ui-step li .label::before,
.ui-step li .label::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin: auto;
}

.ui-step li .label::before {
    bottom: -18px;
    z-index: 4;
    border: 3px solid #fff;
    border-top: none;
    border-left: none;
    width: 8px;
    height: 13px;
    transform: translateX(-4px) rotate(43deg);
}

.ui-step li .label::after {
    bottom: -26px;
    z-index: 3;
    width: 26px;
    height: 26px;
    background-color: #004ea2;
    transform: translateX(-50%) rotate(0deg);
}

.ui-step li[aria-current="step"] .label::before,
.ui-step li[aria-current="step"] ~ li .label::before {
    top: auto;
    left: 50%;
    bottom: -19px;
    border: none;
    width: 12px;
    height: 12px;
    background-color: #fff;
    transform: translateX(-50%) rotate(0deg);
}

.ui-step li[aria-current="step"] ~ li .label::after {
    background-color: #ddd;
}

.ui-step li:last-child .label::before,
.ui-step li:last-child .label::after {
    left: auto;
    right: 50%;
    transform: translateX(50%) rotate(0deg);
}
