@charset "utf-8";

/*****全体設定*****/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-y: scroll;
}

body {
    background: #F3F6F7!important;
    height: 100%;
}

p {
    margin-bottom: 0rem!important;
}

a {
    text-decoration: none!important;
}

table {
    margin-top: 2em;
}

div#body {
    width: 95%;
    margin: auto;
    margin-top: 1.5em;
}

input {
   /* width: 100%;*/
}



/*****font*****/
* {
    font-family: 'Noto Sans JP';
}
/**見出し**/
.h-left {
    padding: 0.25em 0.5em;
    background: transparent;
    border-left: solid 5px #1390ca;
}

/*****共通設定*****/
div#header, div#profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    color: black;
    /*padding: 0.5em;*/
}
div#logout a {
    color: #fff;
}
div#logout a:hover {
    color: #abeaf1;
}
div#company, div#disping {
    font-size: 18px;
}
#back-btn button {
    background: #5f9ea0;
    border: none;
}
@media screen and (max-width: 430px) {
    div#stm-title h2 {
        font-size: 6vw!important;
        margin: auto!important;
    }   
}
#pankuzu ul {
    display: flex;
    list-style-type: none;
    padding-left: inherit;
    margin: inherit;
}

#pankuzu li a {
    padding: 5px;
    color: #032b3d;
    font-size: 16px;
    text-decoration: none;
}
  
#pankuzu li a:hover {
    color: #11a4b4;
}
  
  #pankuzu li:after {
    content: '\003e';
    margin-left: 10px;
    margin-right: 10px;
    color: #888888;
}
  
#pankuzu li:last-child:after {
    content: "";
}

/*****企業ログイン画面*****/
body#login-page {
    max-width: 430px;
    display: grid;
    justify-content: center;
    align-content: center;
    margin: auto;
    height: inherit;
}

#co-login-form {
    display: grid;
    width: 400px;
    margin: 1em auto;
    border: 1px solid #444;
    background: #f7f3f3;
    padding: 1.5em;
}

div#co-form-1 {
    display: grid;
    gap: 0.4em;
    margin-bottom: 1em;
}

div#co-form-send {
    text-align: center;
    margin-top: 1.5em;
}



/*****ユーザーログイン画面*****/
#us-login-form {
    display: grid;
    width: 400px;
    margin: 1em auto;
    border: 1px solid #444;
    background: #f7f3f3;
    padding: 1.5em;
}


div#us-form-1, div#us-form-2 {
    display: grid;
    gap: 0.4em;
    margin-bottom: 1em;
}

div#us-form-send {
    text-align: center;
    margin-top: 1.5em;
}



/*****打刻画面*****/
div#all-disp {
    display: flex;
    justify-content: space-evenly;
    gap: 3em;
}

div#time-disp {
    width: 35%;
}

div#btn-disp {
    width: 65%;
}

#time-keeper img {
    width: -webkit-fill-available;
}

div#time-lst {
    height: 300px;
    border: 1px solid #525457;
    overflow-y: scroll;
    background: #f7fafc;
    color: #525457;
    align-self: center;
    font-size: 15px;
    padding: 0 20px;
}

div#btn-1, div#btn-2, div#btn-3 {
    display: flex;
    justify-content: space-around;
    gap: 1.5em;
    margin: 1em 0;   
}

div#btn-4 {
    display: flex;
    margin-left: 1.5em;
    justify-content: end;
}

div#btn-1 {
    height: 25vh;
}

div#btn-2, div#btn-3 {
    height: 15vh;
}

button#in, button#out, button#late, button#early, button#goout, button#goin {
    width: 50%;
    border-radius: 30px!important;
}

button#update {
    width: 25%;
    padding: 0.5em;
}

.btn-font {
    display: flex;
    justify-content: center;
}

@media screen and (max-width:430px) {
    .btn-font {
        font-size: 1.4em;
    }
}

.big-font {
    font-size: 3vw;
}

.mid-font {
    font-size: 2.5vw;
}

.small-font {
    font-size: 1.6vw;
}

button#in {
    background: #ff9a02;
    border: 0px;
}

button#in:hover {
    background: #ffc812;
    border: 0px;
}

button#out {
    background: #354cd1;
    border: 0px;
}

button#out:hover {
    background: #7a8cee;
    border: 0px;
}

button#late,button#early {
    background: #2782be;
    border: 0px;
}

button#late:hover,button#early:hover {
    background: #4ca8e6;
    border: 0px;
}

button#goout,button#goin {
    background: #50bfd3;
    border: 0px;
}

button#goout:hover,button#goin:hover {
    background: #7cddee;
    border: 0px;
}

button#update {
    background: #6b6b6b;
    border: 0px;
}

button#atwork {
    background: #6b6b6b;
    border: 0px;
    height: 55px;
}

/*****打刻画面 スマートフォン用*****/
div#all-disp-sp {
    max-width: 430px;
    margin: auto;
}

div#btn-1-sp, div#btn-2-sp, div#btn-3-sp {
    display: flex;
    justify-content: space-around;
    gap: 1.5em;
    margin: 1em 0;
    height: 75px;   
}

button#atwork {
    width: 190px;
    color: #fff;
}


/*****ダッシュボード*****/
.menu-btn, .menu-name {
    text-align: center;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 340px;
    height: 250px;
    margin: auto;
    margin-bottom: 0;
}

.menu-btn i {
    font-size: 80px;
}

.menu-name {
    font-size: 2em;
}

.col-dsb {
    border: 3px solid #0d6efd;
    background: #fff;
    border-radius: 30px;
}

@media screen and (min-width:768px) {
    div#menu-dsb {
        display: flex;
        justify-content: space-evenly;
        height: 70vh;
        align-items: center;
    }
    .col-dsb {
        margin: auto;
    }
    
}

@media screen and (max-width:767px) {
    div#menu-dsb {
        display: grid;
        gap: 1em;
        margin: 1em 0;
    }
}



/*****管理者ダッシュボード*****/
.col-k-dsb {
    border: 3px solid #0d6efd;
    background: #fff;
    border-radius: 30px;
}

@media screen and (min-width:1024px) {
    #menu-kdsb {
        display: grid!important;
        grid-template-columns: 1fr 1fr;
        gap: 2.5em 0;
        margin: 1.5em 0;
    }

    div#menu-kdsb a {
        margin: auto;
    }
    
    .col-k-dsb {
        width: fit-content;
        margin: auto;
    }
}

@media screen and (max-width:1023px) and (min-width:768px) {
    #menu-kdsb {
        display: grid!important;
        grid-template-columns: 1fr 1fr;
        gap: 2.5em 0;
        margin: 1.5em 0;
    }

    .col-k-dsb .menu-btn {
        width: 300px;
        height: 180px;
    }

    .col-k-dsb .menu-btn i {
        font-size: 60px;
    }

    div#menu-kdsb a {
        margin: auto;
    }
    
    .col-k-dsb {
        width: fit-content;
        margin: auto;
    }
}

@media screen and (max-width:767px) {
    div#menu-kdsb {
        display: grid;
        gap: 1em;
        margin: 1em 0;
    }
}



/*****管理画面 従業員管理*****/
div#summary-area {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
}

@media screen and (max-width: 430px) {
    div#summary-area {
        display: grid;
    }  
}

div#search-area {
    display: flex;
    gap: 1em;
    justify-content: flex-end;
}

.photo {
    width: 30%;
}

#page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #315ae0;
    opacity: 0.6;
  }
  #page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
  }
  #page_top a::before {
    font-family: 'bootstrap-icons';
    font-weight: 900;
    content: "\f148";
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: max-content;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
  }



/*****管理画面 個別勤務実績*****/
div#acq-area {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    margin-top: 2em;
}

div#staff-name {
    background: linear-gradient(transparent 70%, #a7d6ff 70%);
    margin: 2.5em 0 1em;
}

div#month-data {
    display: flex;
    justify-content: flex-end;
    gap: 1em;
    align-items: center;
}

div#month-data p {
    font-size: 18px;
}
