@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
    background-color: #f5f7fb;
    font-family: "Noto Sans JP";
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 13px;
}

p {
    margin: 0;
}

input[type="date"] {
    border: hidden;
}

header {
    height: 40px;
    background-color: white;
}

h1 {
    margin: 0;
    margin-left: 25px;
    font-size: 20px;
    line-height: 40px;
}

#main {
    height: calc(100vh - 40px);
    width: 100vw;
    display: flex;
}

#leftPane {
    width: 40px;
    height: 100%;
    background-color: #e1e7f3;
    border-radius: 0 20px 20px 0;
    padding: 20px 5px 5px 5px;
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-flow: column;
    justify-content: space-between;

    .routeicons {
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
        border-radius: 100%;
        cursor: pointer;

        .iconwrap {
            padding: 5px;
            border-radius: 100%;
        }
    }
    .routeicons:hover {
        background-color: white;
        border-radius: 100%;
        transition: 0.5s;
    }
}

#centerPane {
    width: calc((100vw - 40px) * 1);

    #c_upper {
        width: 100%;
        height: 15%;
        padding: 10px 0 10px 0;
        box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);

        #search_wrap {
            padding: 20px;
            width: 90%;
            height: 100%;
            /* background-color: #e1e7f3; */
            margin: auto;
            border-radius: 15px;
            /* box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1); */
        }

    }

    #c_lower {
        width: 100%;
        height: 85%;
        overflow-y: scroll;
        padding-top: 10px;

        .taskcard {
            cursor: pointer;
            width: 90%;
            height: 140px;
            margin: auto;
            margin-bottom: 30px;

            .maincard {
                padding: 5px;
                width: 100%;
                height: 120px;
                background-color: white;
                border-radius: 0 15px 15px 15px;
                box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);

                .card_upper {
                    width: 100%;
                    height: 35%;
                    display: flex;

                    .card_status_wrap {
                        width: calc(((120px - 10px) * 0.35) + 20px);

                        .card_status {
                            width: 25px;
                            height: 25px;
                            margin: auto;
                            margin-top: 4px;
                            border-radius: 100%;
                            background-color: #00f87d;
                        }
                    }

                    .card_center {
                        width: 150px;

                        .corp {
                            font-size: 8px;
                        }

                        .name {
                            font-size: 15px;
                        }
                    }

                    .card_progress {
                        position: relative;
                        padding: 10px;
                        margin: 0 10px 0 10px;
                        width: calc(100% - ((120px - 10px) * 0.35) - 150px);

                        .progress {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            border-radius: 100px;
                            width: 100%;
                            height: 18.5px;
                        }

                        .sanzen {
                            position: absolute;
                            font-weight: bold;
                            top: 50%;
                            left: 0;
                            transform: translate(-50%, -50%);
                        }

                        .syussan {
                            position: absolute;
                            font-weight: bold;
                            top: 50%;
                            left: 5.4%;
                            transform: translate(-50%, -50%);
                        }

                        .iku {
                            position: absolute;
                            font-weight: bold;
                            top: 50%;
                            left: 12.8%;
                            transform: translate(-50%, -50%);
                        }

                        .one {
                            position: absolute;
                            font-weight: bold;
                            top: 50%;
                            left: 52%;
                            transform: translate(-50%, -50%);
                        }

                        .onep {
                            position: absolute;
                            font-weight: bold;
                            top: 50%;
                            left: 75.3%;
                            transform: translate(-50%, -50%);
                        }

                        .two {
                            position: absolute;
                            font-weight: bold;
                            top: 50%;
                            left: 100%;
                            transform: translate(-50%, -50%);
                        }
                    }
                }

                .card_lower {
                    border-top: solid #e1e7f3 0.5px;
                    width: 100%;
                    height: 65%;

                    table {
                        height: 100%;
                        font-size: 7px;
                        margin: 0;
                        /* border-bottom: none; */
                        text-align: center;

                        thead {
                            height: 50%;
                            max-height: 50%;
                            min-height: 50%;
                            vertical-align: middle;
                        }

                        tbody {
                            height: 50%;
                            max-height: 50%;
                            min-height: 50%;
                            vertical-align: middle;
                        }

                        th {
                            padding: 2px;
                        }

                        td {
                            padding: 2px;
                        }

                        tbody tr {
                            border-bottom: hidden;
                        }
                    }
                }
            }

            .pic {
                width: 100px;
                height: 20px;
                border-radius: 10px 10px 0 0;
                background-color: #191919;
                box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.1);

                p {
                    line-height: 20px;
                    text-align: center;
                    color: white;
                    font-size: 10px;
                }
            }
        }
    }

    #c_lower::-webkit-scrollbar {
        display: none;
    }
}

#rightPane {
    width: calc((100vw - 40px) * 0);
    background-color: #e1e7f3;
    border-radius: 20px 0 0 20px;
}

#offcanvasRight {
    width: 70vw;
    background-color: #e1e7f3;
    border: hidden;
    border-radius: 20px 0 0 20px;

    .empty-data {
        background-color: coral !important;
    }

    .offcanvas-header {
        display: flex;
        padding: 20px;


        .rqo {
            display: flex;
            flex-flow: column;
        }

        #oc-corp {
            font-size: 20px;
        }

        #offcanvasRightLabel {
            font-size: 40px;
        }

        .badge {
            font-size: 10px;
            margin-left: 20px;
            vertical-align: middle;
        }
    }

    .offcanvas-body {
        .mynumberwrap {
            position: relative;
            width: 100%;

            input {
                width: 100%;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
        }

        padding: 20px;

        table {
            text-align: center;

            th {
                vertical-align: middle;
                background-color: #e1e7f3;
            }

            td {
                vertical-align: middle;
                background-color: #e1e7f3;
            }
        }

        tbody {
            button {
                height: 23.5px;
                padding: 0 10px 0 10px;
                font-size: 10px;
            }

            .do-date {
                background-color: #e1e7f3;
            }

        }

        #oc-upper {
            margin-bottom: 40px;

        }
    }

    .offcanvas-body::-webkit-scrollbar {
        display: none;
    }

}


.modal-content {
    border: hidden;
    background-color: #e1e7f3;

    input[type="date"] {
        height: 36px;
        width: 100%;
        padding: 6px 12px;
        border-radius: 5px;
    }
}