@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&display=swap');
*{
    position: relative;
}

html{
    font-size:14px;
}

body,
input,
select,
textarea,
button{
    position: relative;
    font-size:14px;
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing:border-box;
    position: relative;
}

/* keycolor #2D54B7 */
.message{
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    margin: auto;
    max-width: 1200px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.success:before {
    font-family: "Font Awesome 6 free";
    font-weight: 900;
    content:'\f058'
}

.warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.warning:before {
    font-family: "Font Awesome 6 free";
    font-weight: 900;
    content:'\f06a'
}

.error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.error:before {
    font-family: "Font Awesome 6 free";
    font-weight: 900;
    content: "\f057"
}


/* 繧ｨ繝ｩ繝ｼ蜷ｹ縺榊�縺� */
[class*="Valid"]{
    position: absolute;
    top: 100%;
    border: 1px solid #666;
    background: #fff;
    z-index: 999;
    padding: 0.2em;
    border-radius: 4px;
    white-space: nowrap;
}
main .content_wrap a{
    word-break: break-all;
}

a.badge{
    text-decoration: none;
    color:#fff;
    background-color: #0d6efd;
}

a.badge:hover{
    text-decoration: none;
    color:#fff;
    background-color: #63a0fb;
}

#top{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

#top header{
    width:100%;
}

h1 a{
    display:block;
    text-decoration: none;
    padding:.5em;
    font-size:70%;
    color: #1a54d4;

}

#top h1{
    text-align: center;
    font-size:180%;
}

#top footer p{
    display: table;
    margin: auto;
    padding:25px 0 25px 80px;
    color: #1a54d4;
    background-image: url(../img/logo.webp);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

.content_wrap{
    margin:auto;
    max-width: 1200px;
}

#page main .content_wrap{
    min-height:500px;
}

#top .content_wrap{
    max-width:500px;
}

h3{
    padding: 6px 13px;
    font-size: 130%;
    border-left: 8px solid #2D54B7;
}

h4{
    position: relative;
    padding: 4.5px 22px;
    font-size: 110%;
}

h4::before {
    position: absolute;
    content: '';
    height: 6px;
    width: 6px;
    background-color: #2D54B7;
    border-radius: 50%;
    top: 12px;
    left: 0;
}

h5{
    position: relative;
    padding: 8px;
    font-size: 110%;
    color:#fff;
    background-color: #2D54B7;
    border-radius: 4px;
}

.absolute-link{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    text-indent: -100%;
    left: 0;
    top: 0;
    z-index: 1200;
    overflow: hidden;
    background: rgba(255,255,255,0);
    transition: .2s;
}

.absolute-link:hover{
    background: rgba(255,255,255,0.5);
}

.dropdown-menu {
    overflow:auto;
    max-height: 250px;
    min-width: 100%;
}

.ui-autocomplete{
    z-index:9999;
}

.fs-xs{
    font-size:.7rem !important;
}

.fs-xxs{
    font-size:.6rem !important;
}

.fs-s{
    font-size:.8rem !important;
}

.red{
    color:#f10;
}

th{
    /* white-space: nowrap; */
}

table td a{
    word-break: break-all;
}

.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
    opacity: 1;
    color: rgba(0, 0, 0, 0.5);
    background-color: #fff;
    height: auto;
    padding: 0px;
    padding: 0px 0px 0px 10px;
    width: 100%;
    transform: scale(0.9) translateY(0.045rem) translateX(0.1rem);
    border-radius: 5px 0 0 0;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    opacity: 1;
    color: rgba(0, 0, 0, 0.5);
    background-color: #fff;
    height: auto;
    padding: 0px 0px 0px 10px;
    width: 100%;
    transform: scale(0.9) translateY(0.045rem) translateX(0.1rem);
    border-radius: 5px 0 0 0;
}
.form-floating > .form-control:-webkit-autofill ~ label {
    opacity: 1;
    color: rgba(0, 0, 0, 0.5);
    background-color: #fff;
    height: auto;
    padding: 0px;
    padding: 0px 0px 0px 10px;
    width: 100%;
    transform: scale(0.9) translateY(0.045rem) translateX(0.1rem);
    border-radius: 5px 0 0 0;
}
.dummy-area{
    overflow: hidden;
    visibility: hidden;
    box-sizing: border-box;
    padding: 1rem 0.75rem;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    min-height: 100px;
    line-height: 1.25;
    font-size: 1rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid;
}
.flex-textarea{
    position: absolute;
    display: block;
    width: 100%;
    height: 100% !important;
    top: 0;
    left: 0;
    resize: none;
    overflow: hidden;
}

.pagination {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.pagination ul{
    margin-bottom:0;
}
.pagination li{
  display: inline-block;
}

.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}
.pagination li.active a {
    border-radius: 0.2rem;
  background-color: #0d6efd;
  color: white;
}

.pagination li.prev.disabled{
    display: none;
}

.pagination li.next.disabled{
    display: none;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.ui-front{
    z-index:999999 !important;
}

div::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  div::-webkit-scrollbar-track {
     background: #eee;
  }

  div::-webkit-scrollbar-thumb {
    background: #c7d6ed;
    border-radius:5px;
  }

table tbody tr:nth-child(2n){
    /* background:#f5f5f5; */
}

.depht ul li ul {
    margin-top: .5em;
    margin-bottom: .75em;
    margin-left: 20px;
  }

  .depht ul li ul li {
    position: relative;
    border:0;
    padding-right: 0;
  }

  .depht ul li ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: -16px;
    width: 10px;
    height: calc(100% + .75em);
    border-left: 1px solid #ccc;
  }

  .depht ul li ul li:last-child::before {
    height: calc(1em + .25em);
  }

  .depht ul li ul li::after {
    content: "";
    position: absolute;
    top: 1.25em;
    left: -16px;
    width: 10px;
    border-bottom: 1px solid #ccc;
  }

  .depht .accordion-button{
    font-size:80%;
    padding:0;
    background-color: #fff !important;
    outline: 0;
  }

  .depht .accordion-button:focus,
  .depht .accordion-button:not(.collapsed){
    border-color: transparent !important;
    box-shadow:none !important;
  }

  .choice:before{
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    content:'\f111';
  }

  .choice:hover:before{
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content:'\f058';
  }

  .popover-body{
    font-size:85%;
  }

  .toptask.border.rounded {
    transition: .2s;
}

  .toptask.border.rounded:hover {
    background: #eee;
}

.mytask{
    padding-left:.5em;
    border-left: 8px solid #2D54B7 !important;
}

/* nav toggle */
/* 繝上Φ繝舌�繧ｬ繝ｼ繝｡繝九Η繝ｼ縺ｮ繧｢繧､繧ｳ繝ｳ */
.navbar-toggler{
    border:0;
    height: 60px;
    width: 60px;
}

.navbar-toggler:focus{
    border:0;
    box-shadow:none;
}

.navbar-toggler span,
.navbar-toggler span:before,
.navbar-toggler span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

.navbar-toggler span:before {
  bottom: 8px;
}

.navbar-toggler span:after {
  top: 8px;
}

.navbar-toggler:not(.collapsed) span {
  background: rgba(255, 255, 255, 0);
}

.navbar-toggler:not(.collapsed) span::before {
  bottom: 0;
  transform: rotate(45deg);
}

.navbar-toggler:not(.collapsed) span::after {
    top: 0;
    transform: rotate(-45deg);
  }

.fa-solid{
    color:#0d6efd;
}

.fa-copy{
    color:unset;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

.btn-clipboard {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 10;
    display: block;
    padding: .25rem .5rem;
    font-size: .65em;
    color: #ccc;
    background-color: #fff;
    border: 1px solid;
    border-radius: .25rem;
}

.btn-clipboard:hover, .btn-clipboard:focus {
    color: #fff;
    background-color: #0d6efd;
}

.btn-clipboard{
    display: none;
}

#wrapper{
    display:none;
	margin: 0px auto 0px auto;
	width: 320px; height: auto;
}

#msg{
	margin: 0px; padding: 10px;
	background-color: lightgray;
	text-align: center;
}

#canvas{
    margin: auto;
    border: 1px solid #ccc;
}

#qr_modal{
    display:none;
    position:fixed;
    margin: auto;
    background:rgba(0, 0, 0, 0.25);
    width:100vw;
    height:100vh;
    top:0;
    left: 0;;
}

#qr_wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
    height: 100%;
}

#qr_modal #view_qr,
#download_qr{
    margin-bottom:1em;
}

#qr_modal #make_qr{
    display:none;
}


#qr_modal button{
    background:#fff;
}

.notice_icon{
    position: fixed;
    margin:1.25em;
    top:0;
    right:0;
    cursor: pointer;
    z-index: 1020;
}
.Tasks [id^="accordion"]{
    padding-top:8px !important;
}

@media screen and (max-width: 991px) {
    .notice_icon{
        top:auto;
        bottom:0;
    }
    .parent-task-title{
        width: 100%;
    }
    .parent-task-title > *{
        display:inline-block;
      }

}

.swing {
    transform-origin: top center;
    animation: swing linear 1s forwards;
}

@keyframes swing {
0% { transform: rotate(0deg); }
10% { transform: rotate(-10deg); }
20% { transform: rotate(0deg); }
30% { transform: rotate(10deg); }
40% { transform: rotate(0deg); }
50% { transform: rotate(-10deg); }
60% { transform: rotate(0deg); }
70% { transform: rotate(10deg); }
80% { transform: rotate(0deg); }
90% { transform: rotate(-10deg); }
100% { transform: rotate(0deg); }
}

.more,
.close{
    position: absolute;
    margin:auto;
    bottom:.5em;
    right:.5em;
    background:#fff;
    z-index: 20;
}

.overlay{
    position: absolute;
    display: block;
    margin:auto;
    width: 100%;
    height:6em;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 80%);
    bottom:0;
    left:0;
    z-index: 10;
}

@media screen and (max-width: 600px) {
    .accordion-button{
        font-size:85%;
    }

    main > section.p-3{
        padding:1rem 0 !important;
    }
    main table:not(.sp-scroll) {
        width:100%
      }
      main table:not(.sp-scroll) th{
        display: block;
        border-width: 0 1px 1px !important;
        width:100% !important;
    }
    main table:not(.sp-scroll) thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
      }

      main table:not(.sp-scroll) tr {
        display: block;
        margin-bottom: .625em;
      }

      main table:not(.sp-scroll) td {
        display: block;
        font-size: .8em;
        min-height:32px;
        width:100% !important;
        position: relative;
        border-width: 0 1px 1px !important;
        position: relative;
        padding: .625em .625em .625em 7em !important;
        word-break: break-all;
      }

      main table.sp-no-label td {
        padding: .625em !important;
      }

      main table:not(.sp-scroll) td > span{
        width:auto !important;
      }

      .Customers.detail .tab-content table tbody tr td:first-of-type,
      .DailyReports table tbody tr td:first-of-type,
      .Inquiries table tbody tr td:first-of-type,
      .Main table tbody tr td:first-of-type{
        padding:0 !important;
      }

      .Customers.detail .tab-content table tbody tr td:nth-child(2) br,
      .Customers.detail .tab-content table tbody tr td:first-of-type br,
      .DailyReports table tbody tr td:nth-child(2) br,
      .DailyReports table tbody tr td:first-of-type br,
      .Inquiries table tbody tr td:nth-child(2) br,
      .Inquiries table tbody tr td:first-of-type br,
      .Main table tbody tr td:nth-child(2) br,
      .Main table tbody tr td:first-of-type br{
        display:none;
      }

      main table:not(.sp-scroll):not(.sp-no-label) tbody tr td:nth-child(2) span,
      main table:not(.sp-scroll):not(.sp-no-label) tbody tr td:first-of-type button,
      main table:not(.sp-scroll):not(.sp-no-label) tbody tr td:first-of-type a,
      main table:not(.sp-scroll):not(.sp-no-label) tbody tr td:first-of-type > i{
        display:inline-block;
        margin:.5em 1em !important;
      }

      main table:not(.sp-scroll) tbody tr td:first-of-type *{
        margin-bottom:0 !important;
      }


      main table:not(.sp-scroll) td::before {
        content: attr(data-label);
        display:block;
        white-space: pre;
        font-weight: bold;
        position: absolute;
        left: 10px;
      }

      .Main [id^="accordion"] > span > *,
      .Tasks [id^="accordion"] > span > *{
        display:inline-block;
    }

    .Main [class^="open"] > *:not(script),
    .Tasks [class^="open"] > *:not(script){
        display:inline-block;
        width: 100%;
    }

    .task-container .text-warning{
        width: 100%;
    }

    .Tasks .text-warning{
        width: 100%;
    }

    .parent-task-title > span:not(.badge){
        font-size:.7rem;
      }
    .sp-fs-xs{
        font-size:.7em;
      }

    .pagination{
        flex-wrap: wrap;
        flex-direction: row-reverse;
    }
    .pagination > *{
        padding:0;
    }
    .pagination a{
        padding:8px;
    }
}

mark{
    background-color:#fffe89;
}

.graph{
    position:absolute;
    left:0;
    right:0;
    margin:auto;
    bottom:0;
    width:90%;
    text-align:center;
    background:#2D54B7;
    color:#fff;
}

#preview1,
#preview2{
    display:none;
    text-align:center;
}
#preview1.read,
#preview2.read{
    display:block;
    margin:1em auto;
    height:100vh;
    width:100vw;
    max-height:300px;
    max-width:300px;
    background-repeat:no-repeat;
    background-size:contain;
    background-position:center;
}
.result_view img{
    max-width:100%;
    height:auto;
}

main img{
    max-width:100%;
    height:auto;
}

.loader-wrap{
    display: none;
    z-index: 9999;
}

.loader-overlay{
    display: none;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,.7);
    top: 0;
    left: 0;
}

.select-disabled{
    pointer-events: none;
    background:#ddd;
}

.list-group-item a{
    display: flex;
    align-items: center;
    position: absolute;
    margin: auto;
    padding: 0.5rem 1rem;
    width: 100%;
    height: 100%;
    color:inherit;
    text-decoration:none;
    top:0;
    left:0;
}
.list-group-item-action:hover, .list-group-item-action:focus {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #f1f8ff;
}

.list-group-flush .list-group-item{
    /* border-top: 1px solid rgba(0, 0, 0, 0.12); */
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.12); */
    border:0 !important;
}

.main-flame-left{
    position: fixed;
    padding-bottom: 1rem;
    width:230px;
    box-shadow: 2px 2px 10px #aaa;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    left:0;
    transition: .3s;
}

.main-flame-right{
    padding-left: 230px;
    width:100%;
    min-height: calc(100vh - 50px);
    transition: .3s;
}

.full-view .main-flame-left{
    width:230px;
    left:-190px;
}

.full-view .main-flame-right{
    padding-left: 30px;
}

.nav-toggle{
    display: none;
}

.full-toggle{
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    color: #666;
    transform: rotate(180deg);
    cursor: pointer;
    z-index: 99999;
}
.full-toggle > *{
    color: #666;
}
.full-view .full-toggle{
    transform:rotate(0deg);
}

@media screen and (max-width: 600px){
    .main-menu-list{
        display: none;
    }
    .main-flame-left{
        position: fixed;
        width:100%;
        background-color: #fff;
        box-shadow: 2px 2px 10px #aaa;
        height: auto;
        top:0;
        left:0;
    }

    .main-flame-right{
        padding-top: 50px;
        padding-left: 0;
        width:100%;
        min-height: calc(100vh - 50px);
    }
    .full-toggle{
        display: none;
    }
    .nav-toggle {
        display: block;
        position: absolute;
        right: 8px;
        top: 20px;
    }
    .nav-toggle .nav-toggle-icon {
        position: absolute;
        display: block;
        width: 14px;
        height: 2px;
        background: #333;
        transition: .2s;
        top: 50%;
        right: 1em
    }

    .nav-toggle .nav-toggle-icon:before,
    .nav-toggle .nav-toggle-icon:after {
        position: absolute;
        display: block;
        content: "";
        width: 14px;
        height: 2px;
        background: #333;
        transition: .3s;
        top: 50%;
        left: 0
    }

    .nav-toggle .nav-toggle-icon:before {
        margin-top: -6px
    }

    .nav-toggle .nav-toggle-icon:after {
        margin-top: 4px
    }

    .nav-toggle.active .nav-toggle-icon{
        background: rgba(0, 0, 0, 0)
    }

    .nav-toggle.active .nav-toggle-icon:before {
        margin-top: -1px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg)
    }

    .nav-toggle.active .nav-toggle-icon:after {
        margin-top: -1px;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg)
    }

    .nav-toggle.active .nav-toggle-icon:before {
        margin-top: 0
    }
}


@media print{
    body{
        font-size:12px;
    }
    .main-flame-left{
        display:none;
    }
    .main-flame-right{
        padding-left:0;
    }
}

.sticky-row th{
    position: sticky;
    background-color: #fff;
    top: 0;
    left: 0;
    z-index: 10;
}