/*#region default style */

@font-face {
  font-family: 'LINE Seed JP';
  src: url('../fonts/LINESeedJP_OTF_Rg.woff') format('woff');
}

html {
  font-size: 14px;
  height: 100%;
  min-height: 568px;
  min-width: 320px;
}

body {
    font-family: "LINE Seed JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W6", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
    font-weight: 500;
    height: 100%;
    margin: 0;
    min-height: 100%;
    padding: 0;
}

main {
  background: #fbfdff;
  overflow: auto;
  padding: 25px 25px 48px;
  position: relative;
  width: 100%;
}

a {
    text-decoration: none;
}

label {
    margin-bottom: .5rem;
}

.h1,
h1 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.h2,
h2 {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

.h3,
h3 {
  font-size: 1.45rem;
}

aside + main {
  min-width: 732px;
}

:-ms-input-placeholder {
  color: #ddd !important;
}

::-moz-placeholder {
  color: #ddd !important;
}

::-webkit-input-placeholder {
  color: #ddd !important;
}

/*#endregion */


/*#region Utility classes */

.notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

.link {
  border-radius: 2px;
  cursor: pointer;
  outline: transparent;
  text-decoration: none;
}

.logo {
  width: 200px;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-grow {
  flex-grow: 1;
}

.justify-center {
  justify-content: center;
}

.hover-highlight:hover {
  background-color: rgba(0,0,0,.05);
}

.cursor-pointer {
  cursor: pointer;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.columnselect-btn {
  background-color: black;
  color: white;
}

.columnselect-menu {
  margin: 0;
  padding: 10px;
  width: 200px;
}

.columnselect-menu-items {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.custom-control {
  margin-bottom: 0.8rem;
}

.custom-control:last-child {
  margin-bottom: 0;
}

.is-hide {
  display: none !important;
}

.multi-search {
  width: 600px;
}

.search-result-header {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  min-height: 29px;
  align-items: center;
  margin-bottom: 15px;
}

.search-result-header .btn {
  font-size: 12px;
}

#uploadButton {
  padding-left: 1rem;
  padding-right: 1rem;
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

#dropdownMenuButton {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.search-result-header-buttons {
  flex-grow: 0;
  flex-shrink: 0;
}

.search-result-header-blank {
  flex-grow: 1;
  flex-shrink: 1;
}

.search-result-header-tools {
  display: flex;
  margin-left: auto;
}

.search-result-header-pagesize {
  align-items: center;
  display: flex;
  margin-right: 10px;
  outline: none;
}

.search-result-header-pagesize .dataTables_length {
  align-items: center;
  display: flex;
  margin-bottom: 0;
}

.search-result-header-pagesize .dataTables_length label {
  margin-bottom: 0;
  width: 5rem;
}

.search-result-header-pagesize .dataTables_length .form-control {
  width: auto;
}

.search-result-footer {
  display: flex;
  flex-direction: row;
  font-size: 12px;
  min-height: 29px;
  align-items: center;
  margin-bottom: 15px;
}

.search-result-footer-totalcount {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  outline: none;
}

.search-result-footer-blank {
  flex-grow: 1;
  flex-shrink: 1;
}

.search-result-footer-pager {
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: auto;
}

.login-password-form-eye {
  cursor: pointer;
}

.form-body {
  background: #fff;
  border-radius: .45rem;
  box-shadow: 0 0 0.875rem 0 rgba(33,37,41,.05);
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

/*#endregion */

/*#region Bootstrap classes override */

.dataTables_length {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.dataTables_length select {
  width: auto;
}

.dataTables_length label {
  margin-bottom: 0;
}

.btn-primary {
  background-color: #0074d9;
  border-color: #0074d9;
  color: #fff;
  transition: background .3s,border-color .3s;
}

.btn-primary:hover {
  background-color: #08f;
  border-color: #08f;
  color: #fff;
}

.btn-danger {
  background-color: #fff;
  border-color: #dc3545;
  color: #dc3545;
  transition: background .3s,border-color .3s;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
  color: #fff;
}


.dataTables_length {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.dataTables_length select {
  width: auto;
}

.dataTables_length label {
  margin-bottom: 0;
}

.control-label {
  font-weight: bold;
}

.form-group {
  margin-bottom: 1.5rem;
}

.pagination {
  justify-content: flex-end;
}

.table {
  border-radius: .05rem;
  box-shadow: 0 0 0.875rem 0 rgba(33,37,41,.05);
  table-layout: fixed;
  word-break: break-word;
}

.table thead th {
  vertical-align: middle;
}

.table-bordered {
  word-wrap: break-word;
}

.dropdown-menu {
  border-radius: initial;
}

.btn-outline-dark {
  border-radius: 3rem;
}

.btn-outline-dark:hover {
  background-color: #fff;
  border-color: #343a40;
  color: #343a40;
  cursor: pointer;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  width: 20rem;
}

.fa-sort {
  cursor: pointer;
  margin: 0;
  padding: 0 4px;
}

/* form */
.custom-checkbox .custom-control-label {
  padding-left: 0.5rem;
}

.custom-checkbox .custom-control-label::after,
.custom-checkbox .custom-control-label::before {
  height: 1.5rem;
  top: 0;
  width: 1.5rem;
}

.breadcrumb {
  background-color: #fbfdff;
  float: right;
  font-size: .9rem;
  overflow: hidden;
  padding: .75rem 0;
}

table.table {
  background: #fff;
}

.alert.alert-danger.alert-dismissible {
  position: fixed;
  right: 10px;
  top: 115px;
  z-index: 999;
}

.display-5 {
    font-size: 3.0rem;
    font-weight: 300;
    line-height: 1.1;
}

.display-6 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
}

.display-7 {
    font-size: 2.0rem;
    font-weight: 300;
    line-height: 1.1;
}

.display-8 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.1;
}

.text-gold {
    color: #ffd43b;
}

.text-silver {
    color: #c7c7c7;
}

.text-bronze {
    color: #9a4c4c;
}

.x-small {
    font-size: x-small;
}

.form-switch.custom-switch-lg .form-check-input {
    width: 3rem;
    height: 1.5rem;
}

.form-switch.custom-switch-lg .form-check-label {
    margin-left: .5rem;
}
/*#endregion */

/*#region BootBox classes override */
.bootbox-close-button.close {
  padding-top: 10px;
}

.button.close {
  top: 10px;
}

/*#endregion */

/* #region jsTree classes override */
.jstree li > a > .jstree-icon {
  display: none !important;
}

.jstree-default .jstree-node,
.jstree-default .jstree-icon {
  background-image: none;
}

.jstree-default .jstree-hovered {
  background: #eee;
  border-radius: 0;
  box-shadow: inset 0 0 0 #eee;
}

.jstree-default .jstree-clicked {
  background: #eee;
  border-radius: 0;
  box-shadow: inset 0 0 0 #eee;
}

/*#endregion */

/*#region layout */

.wrapper {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
}

/*#endregion */

/*#region headernav */

.headernav {
  background: #fff;
  color: #fff;
}

.headernav-logo {
  color: inherit;
  font-size: 16px;
  font-weight: normal;
  padding: 10px;
  text-decoration: none;
}

.headernav-logo:hover {
  color: inherit;
  text-decoration: none;
}

/*Safariのみに適用*/
::-webkit-full-page-media, :future, :root .headernav-logo {
  width: 245px;
}

.headernav-container {
  border-bottom: 1px solid #ccc;
  display: flex;
  flex-direction: row;
  height: 64px;
}

.headernav-item {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  outline: none;
}

.headernav-icon {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  font-size: 1.5rem;
  justify-content: center;
  outline: none;
  width: 48px;
}

.headernav-search {
  padding: 0 10px;
  width: 200px;
}

.headernav-search-input {
  width: 100%;
}

.headernav-dropdown {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-top: -5px;
  padding: 0;
  width: 200px;
}

.headernav-dropdown-menu {
  margin: 0;
  padding: 0;
}

.headernav-dropdown-menu a {
  align-items: center;
  border-bottom: 1px dotted #ddd;
  color: inherit;
  display: flex;
  padding: 10px;
  text-decoration: none;
}

.headernav-dropdown-menu a i {
  margin-right: 5px;
}

.headernav-dropdown-menu a:last-child {
  border-bottom: none;
}

.headernav-dropdown-menu-title {
  align-items: center;
  border-bottom: 1px solid #ddd;
  color: inherit;
  cursor: default;
  font-weight: bold;
  padding: 10px;
}

.headernav-debug {
  border: 0px solid #fff;
  border-radius: 20px;
  color: #fff;
  background: #333;
  display: none;
  font-size: 14px;
  font-weight: normal;
  height: 33px;
  margin: 7px 5px;
  padding: 6px 20px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

.headernav-debug .fa-bug {
  margin-right: 8px;
}

.headernav-env {
  border: 0px solid #fff;
  border-radius: 15px;
  color: #333;
  display: inline;
  font-size: 14px;
  height: 25px;
  margin: 11px 8px;
  padding: 2px 20px;
  text-decoration: none;
  white-space: nowrap;
}

.headernav-env-dev:before {
  content: "開発環境";
}
.headernav-env-demo:before {
  content: "デモ環境";
}
.headernav-env-test:before {
  content: "テスト環境";
}
.headernav-env-stg:before {
  content: "ステージング環境";
}
.headernav-env-prod:before {
  content: "本番環境";
}

.headernav-env-dev {
  background-color: #b2ffb2;
}
.headernav-env-demo {
  background-color: #b2d8ff;
}
.headernav-env-test {
  background-color: #d8b2ff;
}
.headernav-env-stg {
  background-color: #ffd8bf;
}
.headernav-env-prod {
  background-color: #ffb2b2;
}

header.header {
  z-index: 99;
}

.headernav-tenant {
    background: #f0f0f0;
    border: 0px solid #fff;
    border-radius: 15px;
    color: #333;
    display: inline;
    font-size: 14px;
    height: 25px;
    line-height: 25px;
    margin: 11px 8px;
    padding: 0 25px;
    text-decoration: none;
    white-space: nowrap;
}

.headernav-selected-tenant {
    border: 1px solid #fff;
    border-radius: 5px;
    color: inherit;
    display: inline;
    font-size: 14px;
    font-weight: normal;
    height: 33px;
    margin: 7px 5px;
    padding: 5px 20px;
    text-decoration: none;
    white-space: nowrap;
}

.headernav-tenantList {
    color: inherit;
    display: inline;
    font-size: 14px;
    height: 30px;
    line-height: 25px;
    margin: 11px 8px;
    padding: 0 25px;
    text-decoration: none;
    white-space: nowrap;
}

.tenantList {
    background: #eaeaea;
    color: #333;
    height: 28px;
    font-size: 14px;
    border: 0px solid #fff;
    border-radius: 15px;
    padding: 0 10px;
}
/*#endregion */

/*#region sidenav */

.side {
  border-right: 1px solid #ececec;
  -webkit-transition: all 0.25s;
  -moz-transition: all 0.25s;
  -ms-transition: all 0.25s;
  transition: all 0.25s;
}

.side.drower-close {
  overflow: hidden;
  width: 50px;
}

.drower-btn {
  align-items: center;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: flex;
  font-size: 1rem;
  justify-content: flex-start;
  padding: 10px;
  transform: scale(-1, 1);
  width: 100%;
}

.drower-btn.drower-close .fas {
  transform: scale(-1, 1);
}

.sidenav {
  font-size: 14px;
  width: 255px;
}

.sidenav-container {
  margin: 0;
  padding: 0;
}

.sidenav-item {
  border-bottom: 1px solid #eee;
  border-left: 3px solid transparent;
}

.sidenav-item.active {
  background-color: #f0f8ff!important;
  border-left: 3px solid #062d56!important;
}

.sidenav-item-link {
  align-items: center;
  align-self: stretch;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 48px;
  outline: none;
}

.sidenav-item-link:hover {
  color: inherit;
  text-decoration: none;
}

.sidenav-icon {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  outline: none;
  width: 48px;
}

.sidenav-item-text {
  flex-grow: 1;
}

.sidenav-toggle {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  outline: none;
  width: 48px;
}

/*#endregion */

/*#region page */

.page-container {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  overflow: hidden;
}

/*#endregion */

/*#region footernav */

.footernav-container {
  border-top: 1px solid #ececec;
  display: flex;
  flex-direction: row;
  height: 30px;
  overflow-x: hidden;
}

.footernav-item {
  align-items: center;
  align-self: stretch;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  outline: none;
}

.copyright {
  font-size: 12px;
}

/*#endregion */

/*#region BEM classes */

.block-error {
  padding: 50px 0 50px;
}

.block-login {
  margin: auto;
  width: 400px;
}

.block-login--form {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px;
}

.block-login--reset-link {
  padding-top: 20px;
}

.block-sso {
  margin: auto;
  width: 400px;
}

.block-sso--form {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px;
}

.block-password-change {
  margin: auto;
  width: 400px;
}

.block-password-change--form {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px;
}

.block-password-reset-request {
  margin: auto;
  width: 400px;
}

.block-password-reset-request--form {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px;
}

.block-password-reset-request-complete {
    margin: auto;
    width: 400px;
}

.block-password-reset-request-complete--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-password-reset {
    margin: auto;
    width: 400px;
}

.block-password-reset--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-password-reset-reject {
    margin: auto;
    width: 400px;
}

.block-password-reset-reject--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-password-reset-complete {
    margin: auto;
    width: 400px;
}

.block-password-reset-complete--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-twofactor {
  margin: auto;
  width: 400px;
}

.block-twofactor--form {
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 20px;
}

.block-twofactor--form-message {
  margin-bottom: 20px;
}

.block-twofactor-totp {
    margin: auto;
    width: 400px;
}

.block-twofactor-totp--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-twofactor-totp--form-message {
    margin-bottom: 20px;
}

.block-twofactor-totp-qr {
    margin: auto;
    width: 400px;
}

.block-twofactor-totp-qr--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-twofactor-totp-qr--form-qr-code {
    width: 200px;
    margin: 20px auto;
}

.block-twofactor-totp-qr--form-message {
    margin-bottom: 20px;
}

.block-twofactor-totp-qr-expired {
    margin: auto;
    width: 400px;
}

.block-twofactor-totp-qr-expired--form {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 20px;
}

.block-twofactor-totp-qr-expired--form-message {
    margin-bottom: 20px;
}

.block-dashboard--notice {
  border: 0px solid #ccc;
  border-radius: 5px;
}

.block-dashboard--notice-title {
  background: #ededed;
  border-bottom: 0px solid #ccc;
  font-size: 1.5rem;
  padding: 1rem .5rem;
}

.block-dashboard--notice-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.block-dashboard--wide-link {
  border-bottom: 1px dotted #ccc;
  padding: 0 1rem 1rem;
  position: relative;
}

.block-dashboard--wide-link:last-child {
  border-bottom: none;
}

.block-dashboard--wide-link a {
  align-items: center;
  display: flex;
  height: 100%;
  width: 100%;
}

.block-dashboard--wide-link a:hover,
.block-dashboard--wide-link a:hover .badge,
.block-dashboard--wide-link a:hover .notice-list-title {
  text-decoration: none;
}

.block-dashboard--wide-link a:hover .notice-list-text,
.block-dashboard--wide-link a:hover .fas {
  text-decoration: underline;
}

.block-dashboard--wide-link a:hover .notice-list-title,
.block-dashboard--wide-link a .notice-list-title {
  color: #212529;
  font-size: 1rem;
}

.block-dashboard--wide-link a .notice-list-title {
  font-weight: normal;
  margin: 0 .5rem 0 0;
}

.block-dashboard--wide-link a .fas,
.block-dashboard--wide-link a:hover .fas {
  color: #ccc;
}

.block-dashboard--wide-link a .notice-list-text {
  margin: 0 .5rem 0 0;
}

.block-dashboard--wide-link a .badge {
  margin-right: .5rem;
}

.block-dashboard--wide-link .notice-list-title {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: normal;
  margin: 0 0 0 5px;
  vertical-align: middle;
}

.block-dashboard--wide-link .notice-list-text {
  margin-top: .5rem;
}

.block-dashboard--notice-more {
  display: flex;
  justify-content: center;
}

.block-dashboard--notice-more .more-btn {
  cursor: pointer;
  padding: .5rem 1rem;
}

.block-tenant-user--multi-search {
  margin-bottom: 15px;
  margin-top: 15px;
}

.block-tenant-user--search-result-header .dropdown-item:active {
  background-color: #fff;
  color: #212529;
  text-decoration: none;
}

.block-tenant-user--search-result-header .dropdown-item:hover {
  background-color: #fff;
}

.block-tenant-user--search-result-header .disabled-tenant-user {
  display: inline-block;
  margin-right: 3rem;
  padding: 0;
}

.block-tenant-user--search-result-header .disabled-tenant-user-switch {
  display: inline-block;
  padding: 0;
}

.block-tenant-user--search-result-header .search-option {
  margin: .25rem 1.5rem;
}

.block-tenant-user-create--form-body td[class="day weekend"]:last-child,
.block-tenant-user-update--form-body td[class="day weekend"]:last-child {
  color: #00f;
}

.block-tenant-user-create--form-body td[class="day weekend"]:first-child,
.block-tenant-user-update--form-body td[class="day weekend"]:first-child {
  color: #f00;
}

.block-tenant-user--thead-check {
  width: 3rem;
}

.block-tenant-user--thead-tenant-user-mai {
  width: 15rem;
}

.block-tenant-user--thead-tenant-user-status {
  width: 4rem;
}

.block-tenant-user--thead-btn {
  width: 4rem;
}

.block-tenant-user-delete--modal .modal-title {
  font-size: 1rem;
}

.block-tenant-billlist--page-title {
  margin-bottom: 20px;
}

.block-tenant-billlist--head .h1 {
  margin-bottom: 15px;
  margin-top: 25px;
}

.block-tenant-billlist--year {
  margin-bottom: 15px;
  text-align: center;
}

.block-tenant-billlist--lastyear {
  border-color: transparent #737c84 transparent transparent;
  border-style: solid;
  border-width: 11px 19px 11px 0;
  display: inline-block;
  height: 0;
  margin-right: 15px;
  opacity: 1;
  width: 0;
}

.block-tenant-billlist--lastyear-disabled {
  border-color: transparent #ccc transparent transparent;
  border-style: solid;
  border-width: 11px 19px 11px 0;
  display: inline-block;
  height: 0;
  margin-right: 15px;
  opacity: 1;
  width: 0;
}

.block-tenant-billlist--nextyear {
  border-color: transparent transparent transparent #737c84;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  display: inline-block;
  height: 0;
  margin-left: 15px;
  opacity: 1;
  width: 0;
}

.block-tenant-billlist--nextyear-disabled {
  border-color: transparent transparent transparent #ccc;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  display: inline-block;
  height: 0;
  margin-left: 15px;
  opacity: 1;
  width: 0;
}

.block-tenant-billlist--table tbody td {
  vertical-align: middle;
}

.block-tenant-billdetail--page-title {
  margin-bottom: 20px;
}

.block-tenant-billdetail--head .badge {
  font-size: 14px;
  font-weight: normal;
  padding: 8px 5px;
}

.block-tenant-billdetail--head p {
  align-items: center;
  display: flex;
}

.block-tenant-billdetail--head .h2 {
  margin-bottom: 0;
}

.block-tenant-billdetail--head .badge {
  margin-left: 1rem;
}

.block-tenant-billdetail--head .badge .fas {
  margin-right: 0.5rem;
}

.block-tenant-billdetail--title {
  margin-bottom: 20px;
  position: relative;
}

.block-tenant-billdetail--title span {
  position: absolute;
  right: 0;
  top: 0;
}

.block-tenant-billdetail--company {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.block-tenant-billdetail--name {
  flex-basis: 50%;
}

.block-tenant-billdetail--name .company--name dt {
  border-bottom: 3px solid #707070;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 0.5rem;
}

.block-tenant-billdetail--name .block-tenant-billdetail--description {
  margin-bottom: 0.5rem;
}

.block-tenant-billdetail--name .block-tenant-billdetail--description dt {
  flex-basis: 35%;
  margin-bottom: 0;
  padding: 5px 0 5px 10px;
}

.block-tenant-billdetail--name .block-tenant-billdetail--description dd {
  flex-basis: 65%;
  font-size: 14px;
  margin-bottom: 0;
  padding-left: 0;
  text-align: center;
}

.block-tenant-billdetail--address {
  flex-basis: 40%;
}

.block-tenant-billdetail--address dt {
  font-size: 16px;
  font-weight: normal;
}

.block-tenant-billdetail--address ul {
  padding-left: 0;
}

.block-tenant-billdetail--address li {
  list-style: none;
}

.block-tenant-billdetail--main {
  border: 1px solid #cecece;
  border-radius: 4px;
  padding: 30px 40px;
  width: 660px;
}

.block-tenant-billdetail--description {
  align-items: baseline;
  display: flex;
}

.block-tenant-billdetail--description dt {
  background: #737c84;
  color: #fff;
  display: block;
  flex-basis: 20%;
  font-size: 16px;
  font-weight: normal;
  height: 34px;
  padding: 5px 20px 5px 10px;
  position: relative;
}

.block-tenant-billdetail--description dt:after {
  border-bottom: 17px solid transparent;
  border-left: #737c84 17px solid;
  border-right: 17px solid transparent;
  border-top: 17px solid transparent;
  content: "";
  display: block;
  height: 0;
  position: absolute;
  right: -34px;
  top: 0;
  width: 0;
}

.block-tenant-billdetail--description dd {
  border-bottom: 1px solid #707070;
  flex-basis: 80%;
  height: 24px;
  margin-left: 15px;
  padding-left: 20px;
}

.block-tenant-billdetail--table .thead-dark {
  border: 1px solid #707070;
}

.block-tenant-billdetail--table .thead-dark th {
  background: #737c84;
  border: none;
}

.block-tenant-billdetail--table .thead-dark th:first-child {
  width: 50%;
}

.block-tenant-billdetail--table tbody {
  border: 1px solid #707070;
}

.block-tenant-billdetail--table tbody tr {
  background: #e9ecef;
}

.block-tenant-billdetail--table tbody td {
  border-right: 1px solid #707070;
  border-top: none;
  vertical-align: middle;
}

.block-tenant-billdetail--table tbody tr:nth-of-type(odd) {
  background: #fff;
}

.block-tenant-billdetail--table tfoot td {
  border: 1px solid #707070;
}

.block-tenant-billdetail--table tfoot td:first-child {
  border: none;
}

.block-tenant-billdetail--remark {
  display: flex;
  margin-bottom: 0;
}

.block-tenant-billdetail--remark dt {
  align-items: center;
  background: #737c84;
  color: #fff;
  display: flex;
  flex-basis: 22%;
  font-size: 16px;
  font-weight: normal;
  justify-content: center;
  margin-bottom: 0;
  min-height: 68px;
}

.block-tenant-billdetail--remark dd {
  border: 1px solid #707070;
  flex-basis: 78%;
  margin-bottom: 0;
  padding: 15px 0 15px 15px;
}

.block-wiki {
  display: flex;
  flex-direction: row-reverse;
  height: 100vh;
  overflow: auto;
  padding: 0 0 48px 0;
}

.block-wiki {
  margin-bottom: 20px;
}

.block-wiki--contents {
  flex-basis: calc(100% - 250px);
  overflow: auto;
  padding: 25px;
}

.drower-close .block-wiki--contents {
  flex-basis: calc(100% - 50px);
}

.block-wiki hr {
  margin-top: 4rem;
}

.block-wiki--nav ol {
  background-color: #fff;
  padding: 0;
  padding-right: .3rem;
}

.block-wiki--wiki-title {
  float: left;
}

.block-wiki--menu {
  flex-basis: 250px;
  padding: 25px 0 25px 20px;
}

.drower-close .block-wiki--menu {
  flex-basis: 50px;
}

.block-wiki--menu dl {
  border-radius: .45rem;
  box-shadow: 0 0 0.875rem 0 rgba(33,37,41,.05);
  margin-bottom: 0;
}

.block-wiki--menu dt {
  align-items: center;
  background: #e9ecef;
  border-radius: 0;
  display: flex;
  justify-content: flex-start;
  padding: 10px 10px 10px 0;
  text-align: left;
  width: 100%;
}

.block-wiki--menu dt a {
  color: #000;
  overflow: hidden;
  padding-left: 10px;
}

.drower-close .block-wiki--menu dt {
  padding: 12px 10px 12px 0;
}

.drower-close .block-wiki--menu dt a,
.drower-close .block-wiki--menu dd {
  display: none;
}


.block-wiki--menu dd li[aria-expanded="false"]:not([class*="jstree-leaf"]) > i {
  border-bottom: 5px solid transparent;
  border-left: #000 5px solid;
  border-right: 0 solid transparent;
  border-top: 5px solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 8px;
  transition: .5s;
  width: 0;
}

.block-wiki--menu dd li[aria-expanded="true"]:not([class*="jstree-leaf"]) > i {
  border-bottom: 5px solid transparent;
  border-left: #000 5px solid;
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  content: "";
  display: inline-block;
  height: 0;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 8px;
  transition: .5s;
  width: 0;
}

.block-wiki--menu dd li[class*="jstree-leaf"] i::after {
  color: #000;
  content: "・";
  font-weight: bold;
}

.block-wiki--menu dt a[aria-expanded="true"] .fa-chevron-right {
  transform: rotate(90deg);
}

.block-wiki--menu dd li[aria-expanded="true"]:not([class*="jstree-leaf"]) > i {
  transform: rotate(90deg);
}

.block-wiki--menu dt a .fa-chevron-right {
  font-size: 0.8rem;
  margin-right: .5rem;
}

.block-wiki--menu dt .fa-angle-double-left {
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: auto;
}

.block-wiki--menu dt .fa-angle-double-left.drower-close {
  transform: scale(-1, 1);
}

.block-wiki--menu dt a:hover {
  text-decoration: none;
}

.block-wiki--menu dd {
  background: #fff;
  padding: 15px 0;
}

.block-wiki--menu dd li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.block-wiki--menu li a {
  position: relative;
}

.block-wiki--menu li a:before {
  left: 0;
  position: absolute;
  top: 3px;
}

.block-wiki--menu dd ul.collapse li {
  list-style: disc;
}

.block-wiki--menu .jstree-node {
  margin-left: 1rem;
}

.block-supportcenter--form-title {
  margin: 25px 0;
}

.block-supportcenter--form-body {
  background: #fff;
  margin: 1.5rem 0;
  padding: 1.5rem;
}

.block-supportcenter--form-body {
  border-radius: .25rem;
  box-shadow: 0 0 0.875rem 0 rgba(33,37,41,.05);
}

.block-keywordresponse--thead-priority {
  text-align: center;
  width: 10%;
}

.block-keywordresponse--thead-keyword {
    text-align: left;
    width: 35%
}

.block-keywordresponse--thead-answer {
    text-align: left;
    width: 50%;
}

.block-keywordresponse--thead-edit {
    width: 10%;
}

.block-keywordresponse--tbody-priority {
    width: 10%;
    text-align: center;
}

.block-keywordresponse--tbody-keyword {
    width: 35%
}

.block-keywordresponse--tbody-answer {
    width: 50%;
}

.block-keywordresponse--tbody-edit {
    width: 5%;
    text-align: right;
}

.block-tagpublish--menu {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 30% 10px 30%;
}

.block-tagpublish--chatbot-hidespan {
    padding: 0px 15px;
    max-width: 38%;
    min-width: 8.5rem;
}

.block-settings--analytics-exclude-list {
    min-width: 10%;
}

.block-settings--analytics-exclude-list-row {
    margin-bottom: .5rem;
    margin-left: .1rem;
    margin-top: .5rem;
}

.block-settings--analytics-exclude-list-row {
    margin-bottom: .25rem;
    margin-left: .1rem;
    margin-top: .25rem;
}

.block-settings--analytics-exclude-list-row label {
    background-color: #ced4da;
    margin-right: .5rem;
}

.block-datasource-management--thead-check {
    width: 1rem;
}

.block-datasource-management--thead-filename {
    width: 15rem;
}

.block-datasource-management--thead-updatedatetime {
    width: 6rem;
}

/* ドラッグ&ドロップアップロード用スタイル */
.drag-drop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 110, 253, 0.1);
    border: 3px dashed #0d6efd;
    display: none;
    z-index: 1000;
    pointer-events: none;
}

.drag-drop-overlay.show {
    display: flex;
}

.js-columnselect-table {
    position: relative;
}
/*#endregion */

/*#region .NET default classes */
input.input-validation-error,
textarea.input-validation-error,
select.input-validation-error {
    background: #ffc;
    border-color: #ff4a55;
}

.field-validation-error {
  color: #ff4a55;
  display: inline-block;
  font-size: 12px;
}

.validation-summary-errors ul {
  list-style-type: disc;
  margin: 0;
  padding: 0 0 0 20px;
}
/*#endregion */

/*#region breakpoint */

@media screen and (max-width: 576px) {
  aside + main {
    min-width: initial;
  }

  .page-container {
    display: block;
  }

  .sidenav {
    width: 100%;
  }

  .side.drower-close {
    width: 100%;
  }

  .drower-btn {
    display: none;
  }

  .drower-close .block-wiki--menu dt a {
    display: inline;
  }

  .drower-close .block-wiki--menu dd {
    display: block;
  }

  .block-wiki {
    display: block;
  }

  .block-wiki--list .fa-angle-double-left {
    display: none;
  }

  .block-dashboard .block-dashboard--wide-link a {
    display: block;
  }

  .block-dashboard .block-dashboard--wide-link a .notice-list-text {
    display: inline-block;
  }

  .block-dashboard .block-dashboard--wide-link a .fas {
    margin-top: .5rem;
  }
}
/*#endregion */

.badge-this-month-chatuse {
    background-color: #ffd1d1;
    color: #834545;
    font-size: 15px;
}

.badge-last-month-chatuse {
    background-color: #e6e6e6;
    color: #858585;
    font-size: 15px;
}

.block-chatbot-summary-datetime-picker {
    background-color: #fff !important;
    border: 0px;
    text-align: center;
    padding: 0.2rem;
    margin: 0.2rem;
}

.block-chatbot-summary-datespan-picker {
    display: flex;
    align-items: center;
}

.block-chatbot-summary-period--select-period {
    background-color: #e8e9fd;
    border-radius: 5px;
}

.block-chatbot-summary-period--icon {
    width: 70px;
    height: 70px;
    font-size: 2em;
}

.icon-chatuse {
    background-color: #e6e6e6;
    color: #858585;
}

.icon-activeusers {
    background-color: #eff0c7;
    color: #61915a;
}

.icon-feedback-good {
    background-color: #d8ebff;
    color: #405b88;
}

.icon-feedback-bad {
    background-color: #ffd1d1;
    color: #834545;
}

/*#region ChatBotPreview*/
@charset "UTF-8";

.block-tagpublish--preview {
    overflow: hidden;
    flex-direction: column;
    z-index: 5000;
}

.block-tagpublish--preview-label {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: calc(100% + 10px);
    right: 0;
    color: #333;
    z-index: 5100;
}

.chatbot-container {
    position: fixed;
    overflow: visible;
    bottom: 0;
    right: 20px;
    width: 400px;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0 0;
    flex-direction: column;
    font-size: 14px;
    text-align: left;
    z-index: 5000;
    transition: transform 0.5s;
    transform: translateY(calc(100% - 60px));
}

.chatbot-container,
.chatbot-container::after,
.chatbot-container::before,
.chatbot-container *,
.chatbot-container *::after,
.chatbot-container *::before {
    box-sizing: border-box;
}

.chatbot-container.is-open {
    transform: translateY(0);
}

.chatbot-header {
    padding: 12px 10px 9px 60px;
    border-radius: 8px 8px 0 0;
    background: #222 url() center left 15px / 32px auto no-repeat;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.3;
    color: #FFF;
    position: relative;
    cursor: pointer;
}

.chatbot-title {
}

.close-chatbot {
    position: absolute;
    right: 12px;
    top: calc(50% - 13px);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: url(/images/TagPublish/chatbot-arrow.png) center center / 15px auto no-repeat;
    border: none;
    cursor: pointer;
    transition: background 0.5s, transform 0.5s;
}

.is-open .close-chatbot {
    transform: rotate(180deg);
    background-color: rgba(255, 255, 255, 0.2);
}

.chatbot-disclaimer {
    font-size: 11px;
    font-weight: 500;
    line-height: 15px;
    max-height: 0;
    color: #FFF;
    padding: 0 0 0 1.5em;
    overflow: hidden;
    transition: padding 0.5s, max-height 0.5s;
}

.is-open .chatbot-disclaimer {
    padding-top: 5px;
    max-height: 20px;
}

.chatbot-content {
    max-height: calc(100vh - 200px);
    padding: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

.chatbot-content::-webkit-scrollbar {
    width: 8px;
}

.chatbot-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chatbot-content::-webkit-scrollbar-thumb {
    background: #888;
}

.chatbot-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.chatbot-content {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.chatbot-footer {
    box-sizing: border-box;
    padding: 10px;
    background: #F5F5F5;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.5s, max-height 0.5s;
}

input.chat-input {
    flex-grow: 1;
    padding: 4px 22px;
    height: 34px;
    border: 1px solid #DEDEDE;
    border-radius: 4px;
    outline: 0;
    font-size: 14px;
    font-weight: 500;
}

.send-chat {
    background: url() center center / 20px auto no-repeat;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
}

.mic-chat {
    background: url() center center / 20px auto no-repeat;
    border: none;
    cursor: pointer;
    width: 34px;
    height: 34px;
}

.chatbot-message-user,
.chatbot-message-bot {
    max-width: 77%;
    padding: 12px;
    margin: 10px;
    border-radius: 8px;
    font-weight: bold;
    color: #222;
    line-height: 19px;
}

.chatbot-message-user {
    align-self: flex-end;
    margin: 15px 0 15px 170px;
    background: #F5F5F5;
}

.chatbot-message-bot {
    align-self: flex-start;
    margin: 15px 40px 15px 50px;
    position: relative;
    background: #B5EEF4;
}

.chatbot-message-bot.message-error {
    padding: 11px 11px 11px 46px;
    border: 1px solid #C11600;
    color: #C11600;
    background: #ffffff url(/images/TagPublish/chatbot-error.png) top 11px left 11px / 24px auto no-repeat!important;
}

.chatbot-message-bot-icon {
    position: absolute;
    left: -44px;
    top: 0;
    width: 32px;
    height: 32px;
    margin-right: 12px;
    background: url() center center / 32px auto no-repeat;
}

.chatbot-answer-reference-url {
    align-self: flex-start;
    margin: -8px 40px 15px 50px;
    position: relative;
    font-size: 11px;
    font-weight: 500;
}

.chatbot-answer-reference-url {
    font-weight: bold;
}

.chatbot-answer-reference-url a {
    color: #009298;
    text-decoration: underline;
}

.chatbot-to-top-button {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 15px;
    background: #F5F5F5;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.chatbot-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.chatbot-loading-icon {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

.feedback-container {
    margin-top: 10px;
}

.feedback-button {
    display: inline-block;
    cursor: pointer;
    margin-left: 15px;
    opacity: 0.3;
    width: 18px;
    height: 18px;
    background-size: cover;
    transition: opacity 0.3s ease;
}

.feedback-button.good {
    background-image: url();
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feedback-button.bad {
    background-image: url();
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.feedback-button.selected {
    opacity: 0.8;
}

/* Powered by section */
.chatbot-powered-by {
    background: #ffffff;
    border-top: 1px solid #ddd;
    padding: 3px;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.chatbot-powered-by a {
    display: flex;
}

.chatbot-powered-by .powered-by-text {
    font-size: 9px;
    color: #afafaf;
    line-height: 19px;
    vertical-align: middle;
}

.chatbot-powered-by .powered-by-logo {
    height: 13px;
}

.chatbot-powered-by a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.chatbot-powered-by .powered-by-logo {
    width: 140px;
    height: 19px;
    background-image: url('/images/TagPublish/ai_digital_staff_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes rotateIn {
    from {
        transform: rotate(0deg) scale(0);
        opacity: 0;
    }

    to {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* チェックマークアイコンのスタイル */
.checkmark {
    color: green;
    right: -30px; /* ボタンからの距離を調整 */
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.5s, opacity 0.5s;
    opacity: 0;
    visibility: hidden;
}

/* チェックマークが表示されるときのアニメーション */
.checkmark.show {
    animation: rotateIn 0.5s forwards;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*#region QuestionChoice*/
/* Bootstrapのトグルスイッチにlargeサイズを追加 */
.custom-switch.custom-switch-lg {
  padding-left: 2.25rem;
}
.custom-switch.custom-switch-lg .custom-control-label {
  padding-left: .75rem;
  padding-top: 0.2rem;
}
.custom-switch.custom-switch-lg .custom-control-label::before {
  border-radius: 1rem;
  height: 1.5rem;
  width: 2.5rem;
}
.custom-switch.custom-switch-lg .custom-control-label::after {
  border-radius: .65rem;
  height: calc(1.5rem - 4px);
  width: calc(1.5rem - 4px);
}
.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(1rem);
}

.questionchoice-textbox-container {
    max-width: 510px;
}

/* 編集ボタン */
.hover-blue:hover {
    color: #007bff;
    fill: #007bff;
}

.hover-red:hover {
    color: #dc3545;
    fill: #dc3545;
}

button.bg-transparent {
    outline: none;
    border: none;
}

.question-action-button {
    padding: 0 .75rem;
}

/* 行入れ替えボタン */
.button-row {
    display: flex;
    flex-direction: column;
    align-items: center
}

button.row-swap-button {
    font-size: 1px;
    line-height: 1;
}

.block-questionchoice--thead-order {
    width: 10%;
}

.block-questionchoice--thead-isdisplayed {
    width: 10%;
}

.block-questionchoice--thead-question {
    width: 80%;
}

/* チャット履歴 セッション集約なし */

.block-chatlog--thead-datetime {
    width: 10%;
}

.block-chatlog--thead-question {
    width: 30%;
}

.block-chatlog--thead-answer {
    width: 30%;
}

.block-chatlog--thead-keywords {
    width: 10%;
}

.block-chatlog--thead-feedback {
    width: 5%;
}

.block-chatlog--thead-client-ip {
    width: 10%;
}

.block-chatlog--thead-url {
    width: 5%;
}

.block-chatlog--thead-questionpage {
    width: 5%;
}

.block-chatlog--thead-thinking {
    width: 5%;
}

/* チャット履歴 セッション集約あり */

.block-chatlog--thead-client-ip-grouped {
    width: 10%;
}

.block-chatlog--thead-datetime-grouped {
    width: 10%;
}

.block-chatlog--thead-question-grouped {
    width: 25%;
}

.block-chatlog--thead-answer-grouped {
    width: 25%;
}

.block-chatlog--thead-keywords-grouped {
    width: 10%;
}

.block-chatlog--thead-feedback-grouped {
    width: 5%;
}

.block-chatlog--thead-url-grouped {
    width: 5%;
}

.block-chatlog--thead-questionpage-grouped {
    width: 5%;
}

.block-chatlog--thead-thinking-grouped {
    width: 5%;
}

.chatlog-search-result-header-tools {
    display: flex;
    margin-left: auto;
    justify-content: flex-end;
}

@media screen and (max-width: 800px) {
    .chatbot-container {
        bottom: env(safe-area-inset-bottom);
        right: 10px;
        width: 150px;
        max-width: calc(100% - 20px);
        border-radius: 8px 8px 0 0;
        font-size: 13px;
        transition: transform 0.5s, width 0.5s, background 0.5s, max-height 0.2s;
        transform: translateY(calc(100% - 72px));
    }

    .chatbot-container.is-open {
        width: calc(100vw - 20px);
    }

    .chatbot-container .chatbot-frame {
        width: calc(100vw - 20px);
        transition: none;
    }

    .chatbot-header {
        align-items: center;
        padding: 47px 15px 8px;
        font-size: 13px;
        font-weight: bold;
        line-height: 17px;
        background-position: top 8px center;
    }

    .is-open .chatbot-header {
        padding: 8px 15px 8px 62px;
        align-items: flex-start;
        background-position: center left 15px;
    }

    .chatbot-disclaimer {
        font-size: 10px;
        line-height: 12px;
        white-space: nowrap;
        padding: 0;
    }

    .is-open .chatbot-disclaimer {
        padding-top: 3px;
        max-height: 15px;
    }

    .chatbot-content {
        max-height: 60vh;
    }

    .chatbot-content::-webkit-scrollbar {
        width: 4px;
    }

    input.chat-input {
        padding: 4px 12px;
        height: 30px;
        font-size: 12px;
    }

    .send-chat {
        width: 30px;
        height: 30px;
    }

    .chatbot-message-user,
    .chatbot-message-bot {
        max-width: 80%;
        padding: 8px;
        border-radius: 5px;
    }

    .chatbot-message-user {
        margin: 10px 0 10px 80px;
    }

    .chatbot-message-bot {
        margin: 10px 30px 10px 40px;
    }

    .chatbot-message-bot.message-error {
        padding: 7px 7px 7px 38px;
        background-position: top 7px left 7px;
        background-size: 24px auto;
        background-repeat: no-repeat;
    }

    .chatbot-message-bot-icon {
        left: -40px;
        margin-right: 8px;
    }

    .chatbot-answer-reference-url {
        margin: -5px 30px 10px 40px;
        font-size: 10px;
    }

    .chatbot-pc-only {
        display: none;
    }

    .feedback-container {
        margin-top: 15px;
        margin-bottom: 5px;
        text-align: center !important;
    }

    .feedback-button {
        margin: 0 15%;
        width: 20px;
        height: 20px;
    }
}

@media screen and (min-width: 801px) {
    .chatbot-sp-only {
        display: none;
    }
}

/*#endregion */
