﻿/* パララックスエフェクト(視差効果) */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-delay: 0s !important;
        transition-duration: 1ms !important;
    }
}

:root {
    /* サイドバーの幅 */
    --cus-sidebar-width: 260px;
    /* ヘッダーの高さ */
    --cus-header-height: 55px;
}

html,
body {
    height: 100%;
    min-width: 800px;
    font-size: 14px
}

/* メイン */
div[id="main"] {
    /*ヘッダー分下に下げる*/
    padding-top: calc(var(--cus-header-height) + 1.5rem);
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    /*サイドバー分右にずらす*/
    padding-left: calc(var(--cus-sidebar-width) + 1.5rem);
}

/* サイドバー */
div[id="sidebar"] {
    /*ヘッダー分*/
    z-index: 1000;
    width: var(--cus-sidebar-width);
    padding-top: var(--cus-header-height);
}

/* ヘッダー */
#header {
    height: var(--cus-header-height);
    min-width: 800px;
}

#header-title {
    /* ハンバーガーの横に配置 */
    position: fixed;
    left: 55px;
    top: 9px;
    font-size: 24px;
}

/* ヘッダー 三本線 */
.hamburger {
    display: block;
    position: fixed;
    z-index: 4;
    left: 4px;
    top: 7px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #555;
        -webkit-transition: 0.5s all;
        -moz-transition: 0.5s all;
        transition: 0.5s all;
    }

        .hamburger span:nth-child(1) {
            top: 10px;
        }

        .hamburger span:nth-child(2) {
            top: 20px;
        }

        .hamburger span:nth-child(3) {
            top: 30px;
        }

@-webkit-keyframes active-hamburger-bar02 {
    100% {
        height: 0;
    }
}

@keyframes active-hamburger-bar02 {
    100% {
        height: 0;
    }
}

.hamburger:hover .menu-line1 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 20px;
    left: 3px;
    top: 13px;
}

.hamburger:hover .menu-line3 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 20px;
    left: 3px;
    top: 27px;
}

.hamburger.active:hover .menu-line1 {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 20px;
    left: 19px;
    top: 13px;
}

.hamburger.active:hover .menu-line3 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 20px;
    left: 19px;
    top: 27px;
}

.hamburger::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 80px;
    height: 80px;
    margin: -45px 0 0 -43px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0);
    transition: all 0.75s;
}

/* ログイン画面 */
.form-signin {
    max-width: 300px;
    padding: 1rem;
}

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

    /* パスワードを利用しない時を考慮してスタイル付け */
    .form-signin div.form-floating:has(+ div.form-floating) input[type="text"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

/* パスワード変更画面 */
.form-password-change {
    max-width: 300px;
    padding: 1rem;
}

/* テキストエリア */
.textarea-noresize {
    /* 縦方向のリサイズ禁止 */
    resize: none;
}

/* 開閉擬似要素 */
.card-collapse {
    display: flex;
    align-items: center;
}

    .card-collapse::after {
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333741'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        filter: invert(10%);
        /* 大きさ */
        width: 1.25rem;
        height: 1.25rem;
        /* 右寄せ */
        margin-left: auto;
        /* 0.2秒かけて加速して減速 */
        transition: transform .2s ease-in-out;
    }

    .card-collapse:not(.collapsed)::after {
        /* 180度反時計回りに回転 */
        transform: rotate(-180deg);
    }

.bi-card-checklist, .bi-calculator {
    color: #6CA7BC;
}

.bi-card-checklist.black-color {
    color: #000000;
}

/*CARDヘッダー*/
.card-header {
    background: #6CA7BC;
    color: white;
    font-weight: 700 !important;
}

/*Tabulator 一覧*/
.tbl-upload-column {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tbl-icon-hover {
    cursor: pointer;
}

.tbl-delete-background {
    background-color: #a9a9a9 !important;
}

/*collapse*/
.card-collapse:hover{
    cursor: pointer;
}

/*一覧の項目位置*/
.tabulator-col {
    text-align: center !important;
}

.tbl-status-background-0 {
    background-color: #D9D9D9 !important;
}

.tbl-status-background-1 {
    background-color: #fabf8f !important;
}

.tbl-status-background-2 {
    background-color: #29fb30 !important;
}

.tbl-status-background-3 {
    background-color: #ffcc00 !important;
}

.tbl-status-background-4 {
    background-color: #D22C7A !important;
}

.tbl-kotei-background-1 {
    background-color: #608ce4 !important;
}

.tbl-kotei-background-2 {
    background-color: #f2ec45 !important;
}

.tbl-kotei-background-3 {
    background-color: #ee4e4e !important;
}

.tbl-kotei-background-4 {
    background-color: #29fb30 !important;
}

.tooltip-input-order {
    color: red;
}

.btn-search {
    width: 100px;
}