@charset "utf-8";
@import url("reset.css");
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
    display: none;
}
input[type="submit"]:focus,
input[type="button"]:focus {
    outline-offset: -2px;
}

html {
    font-size: 16px;
}

body {
    width: 100%;
    height: 100%;
    color: #111;
    font-family: "Noto Sans JP", sans-serif;
    background-color: #fafafa;
    -webkit-text-size-adjust: 100%;
}

button,
input[type="search"],
input[type="text"],
input[type="number"],
input[type="password"],
input[type="submit"],
input[type="button"],
textarea{
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-appearance: none;
    appearance: none;
}

input[type="search"],
input[type="text"],
input[type="number"],
input[type="password"],
textarea{
    box-sizing: border-box;
    border: 1px solid #ccc;
    font-size: 1em;
    padding: 0.3em;
}

select{
    font-family: 'Noto Sans JP', sans-serif;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 1em;
    padding: 0.3em;
}

img{
    vertical-align:bottom;
}

#container{
    width: 100%;
    position: relative;
}

/*----------header----------*/
header{
    box-sizing: border-box;
    width: 100%;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    box-shadow: 0 5px 10px -10px rgb(0 0 0 / 30%);
    transition: .5s all ease;
}

    header > .box_inner{
        height: 3.5rem;
        padding: 0 1rem;
        background: #fff;
        display: flex;
        align-items: center;
        transition: .3s all ease;
    }

        .sys_name{}

            .sys_name img{
                max-width: 100%;
                height: auto;
            }

            .sys_name a{
                display: flex;
                align-items: center;
                gap: 0.75rem;
                color: #111;
                text-decoration: none;
            }

                .sys_name a .figs{
                    display: flex;
                    align-items: center;
                    gap: 0.25rem;
                }

                    .sys_name a .figs .fig_logo{
                        width: 2.75rem;
                    }

                    .sys_name a .figs .fig_org{
                        width: calc(2.75rem / 156 * 360);
                    }

                .sys_name a .lbl{
                    font-size: 1.05rem;
                    font-weight: 600;
                }

        .global_nav{
            flex: 1;
            padding-left: 2rem;
            height: 100%;
        }

            .global_nav .tab_area{
                height: 100%;
            }

            .global_nav ul{
                display: flex;
                gap: 0.5em;
                height: 100%;
            }

                .global_nav ul li{
                    height: 100%;
                }

                    .global_nav ul li a{
                        box-sizing: border-box;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        text-decoration: none;
                        color: #111;
                        font-weight: 500;
                        padding: 0.2em 0.5em 0;
                        border-bottom: 0.25rem solid rgba(41,39,94,0.25);
                        transition: .3s all ease;
                    }

                    .global_nav ul li a:hover{
                        border-bottom-color: rgba(41,39,94,1);
                    }

        .user_logout{
            font-size: 0.88em;
        }

            .user_logout ul{
                display: flex;
                align-items: center;
                gap: 1.5em;
            }

                .user_logout ul li.user_name{}

                    .user_logout ul li.user_name::before{
                        font-family: FontAwesome;
                        content:"\f1ad";
                        font-size: 1.1em;
                        color: #29275e;
                        margin-right: 0.3em;
                    }

                .user_logout ul li.logout{}

                    .user_logout ul li.logout a{
                        text-decoration: none;
                        display: flex;
                        align-items: center;
                        border: 1px solid #29275e;
                        color: #111;
                        padding: 0.2em 0.5em 0.2em 0.8em;
                        border-radius: 0.25rem;
                        transition: .3s all ease;
                    }

                    .user_logout ul li.logout a::after{
                        font-family: FontAwesome;
                        content:"\f08b";
                        font-size: 1.1em;
                        color: #29275e;
                        margin-left: 0.3em;
                        transition: .3s all ease;
                    }

                    .user_logout ul li.logout a:hover{
                        background: #29275e;
                        color: #fff;
                        box-shadow: 2px 2px 0 0 rgba(0,0,0,0.1);
                    }

                        .user_logout ul li.logout a:hover::after{
                            color: #fff;
                        }

/*----------contents----------*/
.contents{
    position:relative;
    top:0;
    left:0;
    z-index:2;
    padding-top: 3.5rem;
}

.content_title{
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

    .content_title h2{
        font-size: 1.1em;
        font-weight: 500;
        position: relative;
        padding-left: 1.3em;
    }

        .content_title h2::before{
            font-family: FontAwesome;
            content:"\f111";
            color: #29275e;
            position: absolute;
            top: 0.3em;
            left: 0;
        }

    .content_title .ct_fns{
        margin-left: 2em;
    }

        .content_title .ct_fns ul{
            display: flex;
            gap: 0.75em;
        }

            .content_title .ct_fns a,
            .content_title .ct_fns button,
            .content_title .ct_fns input[type="button"]{
                font-size: 0.9em;
                display: inline-block;
                padding: 0.4em 0.8em 0.3em;
                border-radius: 0.25rem;
                line-height: 1;
                transition: .3s all ease;
            }

            .content_title .ct_fns a:hover,
            .content_title .ct_fns button:hover,
            .content_title .ct_fns input[type="button"]:hover{
                filter: brightness(1.1);
                box-shadow: 2px 2px 0 0 rgba(0,0,0,0.1);
            }

            .content_title .ct_fns a{
                text-decoration: none;
            }

            .content_title .ct_fns button,
            .content_title .ct_fns input[type="button"]{
                border: none;
                cursor: pointer;
            }

            .content_title .ct_fns a.btn_add_new{
                background: #224887;
                color: #fff;
            }

                .content_title .ct_fns a.btn_add_new::before{
                    font-family: FontAwesome;
                    content:"\f055";
                    margin-right: 0.3em;
                }

            .content_title .ct_fns .btn_excel_output{
                background: #107c41;
                color: #fff;
            }

                .content_title .ct_fns .btn_excel_output::before{
                    font-family: FontAwesome;
                    content:"\f1c3";
                    margin-right: 0.3em;
                }

            .content_title .ct_fns .back_list{
                color: #222;
            }

            .content_title .ct_fns .back_list::before{
                font-family: FontAwesome;
                content:"\f053";
                margin-right: 0.3em;
                color: rgba(0,0,0,0.3);
                transition: .3s all ease;
            }

            .content_title .ct_fns .back_list:hover{
                background: #fff;
            }

            .content_title .ct_fns .back_list:hover::before{
                color: rgba(0,0,0,0.6);
            }

.content_body{
    padding: 0 1rem 3rem;
    font-size: 0.8em;
}

    .content_body h3{
        font-weight: 500;
        font-size: 1.1em;
        padding: 0.2em 0.2em 0.2em 1em;
        margin-bottom: 1em;
        position: relative;
        background: rgba(41,39,94,0.05);
    }

    .content_body h3::before{
        content: "";
        display: inline-block;
        border-left: 4px solid #29275e;
        position: absolute;
        top: 0.4em;
        left: 0.4em;
        height: 1em;
    }

.search_box{
    display: flex;
    margin-bottom: 1.5em;
}

    .search_box > .box_inner{
        background: #fff;
        display: flex;
        gap: 1em;
        padding: 1rem;
        border-radius: 0.25rem;
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
    }

        .search_box > .box_inner .input_submit_wrapper{
            display: flex;
            align-items: flex-end;
        }

        .search_box > .box_inner .input_box{
            display: flex;
            gap: 0.75em;
        }

            .search_box > .box_inner .input_box dl dt{
                font-size: 0.94em;
                margin-bottom: 0.1em;
            }

                .search_box > .box_inner .input_box dl dt::before{
                    font-family: FontAwesome;
                    content:"\f0d7";
                    margin-right: 0.2em;
                    color: #29275e;
                }

            .search_box > .box_inner .input_box input[name="karute_number"]{
                width: 10em;
            }

            .search_box > .box_inner .input_box input.date{
                width: 10em;
            }

            .search_box > .box_inner .input_box .ui-datepicker-trigger{
                display: none;
            }

        .input_basic_wrapper .oc_detail{
            display: flex;
            align-items: flex-end;
            padding-bottom: 0.5em;
        }

            .input_basic_wrapper .oc_detail .button{
                display: inline-block;
                cursor: pointer;
                border-bottom: 1px solid #29275e;
            }

                .input_basic_wrapper .oc_detail .button::before{
                    font-family: FontAwesome;
                    content:"\f078";
                    font-size: 0.9em;
                    margin-right: 0.3em;
                    display: inline-block;
                    transition: .3s all ease;
                }

                .input_basic_wrapper .oc_detail .button.open::before{
                    transform: rotate(180deg);
                }


        .input_detail_wrapper{
            margin-top: 1em;
            display: none;
        }

        .input_detail_wrapper .input_detail_box{
            padding: 0.5em 1em;
        }

        .input_detail_wrapper .input_detail_box:nth-child(odd){
            background: #f9f9f9;
        }

                .input_detail_wrapper .input_detail_box > dl{}

                    .input_detail_wrapper .input_detail_box > dl > dt{
                        margin-bottom: 0.5em;
                    }

                        .input_detail_wrapper .input_detail_box > dl > dt::before{
                            font-family: FontAwesome;
                            content: "\f0d7";
                            margin-right: 0.2em;
                            color: #29275e;
                        }

                    .input_detail_wrapper .input_detail_box > dl > dd{}

                        .input_detail_wrapper .input_detail_box > dl > dd .input_box{
                            display: flex;
                            flex-wrap: wrap;
                            gap: 0.75em;
                        }

                        .input_detail_wrapper .input_detail_box > dl > dd .input_box dl{
                            display: flex;
                            align-items: center;
                            border-right: 1px solid rgba(0,0,0,0.1);
                            padding-right: 0.75em;
                        }

                        .input_detail_wrapper .input_detail_box > dl > dd .input_box dl dt{
                            line-height: 1.2;
                            max-width: 6em;
                            margin-right: 0.4em;
                        }

                            .input_detail_wrapper .input_detail_box > dl > dd .input_box dl dt::before{
                                content: none;
                            }

        .search_box > .box_inner .submit_box{
            padding-left: 1em;
        }

            .search_box > .box_inner .submit_box ul{
                display: flex;
                gap: 0.25em;
            }

                .search_box > .box_inner .submit_box ul li{

                }

                .search_box > .box_inner .submit_box ul li input[type="button"]{
                    padding: 0.3em 0.6em;
                    border-radius: 0.25rem;
                    cursor: pointer;
                    transition: .3s all ease;
                }

                .search_box > .box_inner .submit_box ul li input[type="button"]:hover{
                    box-shadow: 2px 2px 0 0 rgba(0,0,0,0.1);
                }

                .search_box > .box_inner .submit_box ul li input[type="button"].searchBtn{
                    background: #29275e;
                    color: #fff;
                }

                .search_box > .box_inner .submit_box ul li input[type="button"].clearBtn{}

.table_list{
    background: #fff;
    padding: 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.1);
}

    .table_list p.total_num{
        font-weight: 500;
        margin-bottom: 0.5em;
    }

    .table_list table thead th{
        font-size: 0.9em;
        padding-left: 0.5em;
        padding-right: 0.5em;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        font-weight: 500;
    }

    .table_list table tbody tr{
        background: #fff;
        transition: .3s all ease;
    }

    .table_list table tbody tr:nth-child(even){
        background: #f8f8f8;
    }

    .table_list table tbody tr:hover{
        background: #fff6c6;
    }

    .table_list table tbody tr.alert_target{
        background: #fddfdf;
        position: relative;
    }

    .table_list table tbody tr.alert_target td:first-child:after{
        /*アイコンをつける*/
        font-family: FontAwesome;
        content: "\f06a";
        color: #ff8c00;
        font-size: 1.1em;
        margin-left: 0.1em;
    }


    .table_list table tbody tr td{
        padding: 0.4em 1em;
    }

    .table_list table tbody tr td a,
    .table_list table tbody tr td input[type="button"]{
        display: inline-block;
        white-space: nowrap;
        padding: 0.1em 0.8em;
        background: #fff;
        border-radius: 0.125rem;
        transition: .3s all ease;
    }

    .table_list table tbody tr td a:hover,
    .table_list table tbody tr td input[type="button"]:hover{
        box-shadow: 2px 2px 0 0 rgba(0,0,0,0.1);
    }

    .table_list table tbody tr td a{
        text-decoration: none;
        border: 1px solid #29275e;
        color: #222;
    }

    .table_list table tbody tr td a:hover{
        background: #29275e;
        color: #fff;
    }

    .table_list table tbody tr td a.detailLink,
    .table_list table tbody tr td a.newLink,
    .table_list table tbody tr td a.ankerLink{
        background: none;
        color: #29275e;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid #29275e;
        padding-left: 0.5em;
        padding-right: 0.5em;
        font-weight: 500;
    }

    .table_list table tbody tr td a.detailLink:hover,
    .table_list table tbody tr td a.newLink:hover,
    .table_list table tbody tr td a.ankerLink:hover{
        box-shadow: none;
        background: #29275e;
        color: #fff;
    }

    .table_list table tbody tr td p.nonLink{
        background: none;
        color: #000000;
        border: none;
        border-radius: 0;
        padding-left: 0.5em;
        padding-right: 0.5em;
        font-weight: 500;
        margin-bottom: 0;
    }

    .table_list table tbody tr td input[type="button"].deleteBtn,
    .table_list table tbody tr td input[type="button"].deleteEventBtn,
    .table_list table tbody tr td input[type="button"].deleteSignBtn{
        background: #fff;
        border: 1px solid #bbb;
        color: #444;
        font-size: 0.9em;
        padding-left: 0.4em;
        padding-right: 0.4em;
    }

    .table_list table tbody tr td input[type="button"].deleteBtn:hover,
    .table_list table tbody tr td input[type="button"].deleteEventBtn:hover,
    .table_list table tbody tr td input[type="button"].deleteSignBtn:hover{
        border-color: #c40026;
        background: #c40026;
        color: #fff;
    }

    .table_list table tbody tr td .fns{
        display: flex;
        align-items: center;
        gap: 0.5em;
    }

.fixed_bottom{
    display: none;
}


.pager{}

    .pager ul{
        display: flex;
    }

.input_box input[type="number"]{
    width: 5em;
    text-align: center;
}

.link_box{
    margin-left: 1.5em;
}

.link_box ul{
    display: flex;
    gap: 0.5em;
    margin-top: 0.5em;
}

    .link_box ul li{

    }

    .detailLink{
        display: block;
        text-decoration: none;
        background: none;
        color: #29275e;
        border: 1px solid rgba(255,255,255,0);
        border-bottom-color: #224887;
        padding: 0.3em 1em;
        font-weight: 500;
        position: relative;
        transition: .3s all ease;
    }

    .detailLink:hover{
        border-color: #224887;
    }

    .detailLink.active{
        background: #224887;
        color: #fff;
    }

    .detailLink.active::before{
        content: "";
        display: inline-block;
        width: 1rem;
        height: 0.5rem;
        clip-path: polygon(100% 0, 0 0, 50% 100%);
        position: absolute;
        bottom: -0.45rem;
        left: calc(50% - 0.5rem);
        background: #224887;
    }

.input_date{
    margin-top: 0.75em;
    margin-bottom: 0.75em;
}

    .input_date dl{
        display: flex;
        align-items: center;
        gap: 0.5em;
    }

        .input_date dl dt{
            font-weight: 500;
            font-size: 1.05em;
        }

            .input_date dl dt::after{
                content: "：";
            }

    input.date{
        width: 10em;
    }

    .ui-datepicker-trigger{
        display: none;
    }

/**/

.ta_right {
    text-align: right;
}

/*仮(小山追加)listのイベント・兆候用*/
.event_sign_td{
    display: flex;
}
.event_list_box{
    margin-right: 0.5em;
}

.lbl_event_sign{}

    .lbl_event_sign::before{
        font-family: FontAwesome;
        content:"\f0d7";
        color: #29275e;
        margin-right: 0.3em;
    }

.event_list_box dl,
.sign_list_box dl{
    display: flex;
}

/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
    html {
        font-size: 1.6vw;
    }
}

/* ##########SP横向き########## */
@media screen and (min-width:1px) and (max-width:768px) {


}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
    html{
        font-size: 3.6vw;
        min-width: auto;
    }

    header > .box_inner{
        height: 16vw;
    }

        .sys_name a{
            flex-direction: column;
            align-items: stretch;
            gap: 0.25rem;
        }

            .sys_name a .figs .fig_logo{
                width: 2.5rem;
            }

            .sys_name a .figs .fig_org{
                width: calc(2.5rem / 156 * 360);
            }

            .sys_name a .lbl{
                font-size: 0.9rem;
            }
        
        .global_nav{
            display: none;
        }

        .user_logout{
            flex: 1;
            font-size: 0.8em;
        }

        .user_logout ul{
            flex-direction: column;
            align-items: flex-end;
            gap: 0.25rem;
        }

    .contents{
        padding-top: 16vw;
        padding-bottom: 16vw;
    }

    .content_title{
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .content_title .ct_fns{
        margin-left: 0
    }

        .content_title .ct_fns ul{
            gap: 0.25em;
            justify-content: flex-end;
        }

    .content_body{
        font-size: 0.9em;
    }

    .search_box > .box_inner .input_submit_wrapper{
        flex-direction: column;
        align-items: center;
    }

    .search_box > .box_inner .input_box{
        flex-direction: column;
        margin-right: 0;
        gap: 0.5em;
        margin-bottom: 1em;
    }

        .search_box > .box_inner .input_box dl{
            display: flex;
            align-items: center;
        }

            .search_box > .box_inner .input_box dl dt{
                margin-bottom: 0;
                width: 5em;
            }

            .search_box > .box_inner .input_box dl dt::before{
                content:"\f0da";
            }

            .search_box > .box_inner .input_box dl dd{
                flex: 1;
            }

    .table_list table{
        width: 100%;
    }

    .fixed_bottom{
        display: block;
        position: fixed;
        z-index: 11;
        bottom: 0;
        left: 0;
        width: 100%;
    }

        .fixed_bottom > .box_inner ul{
            height: 10vw;
            display: flex;
            justify-content: space-between;
        }

            .fixed_bottom > .box_inner ul li{
                height: 100%;
                width: calc((100% - 1px) / 2);
            }

                .fixed_bottom > .box_inner ul li a{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    text-decoration: none;
                    height: 100%;
                    background: #888;
                    color: #fff;
                }

    .link_box{
        margin-left: 0;
    }

        .detailLink{
            padding: 0.5em;
        }

    .event_list_box,
    .sign_list_box{
        width: calc((100% - 1em) / 2);
    }

    .table_list table tbody tr td .fns{
        flex-direction: column;
        align-items: center;
        gap: 0.75em;
    }

}

/* ##########印刷用########## */
@media print{
    html{
        width: 1024px;
    }
    
    header{
        position:relative;
    }
   
    
    .contents{
        padding-top: 0;
    }
    
    .pagetop{
        display: none;
    }
    
}