@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP');
@charset "UTF-8";

:root {
    --primary: linear-gradient(90deg, rgba(76,178,122,1) 29%, rgba(93,191,166,1) 100%);
    --secondary: #a1d3c1;
    --contractor-primary: #0f947c;
    --contractor-secondary: #f29c3a;
    --highlight-section: #e6f5f4;
    --highlight-box: #f1f4fa;
}

body {
    background-color: #fff;
    font-family: 'Noto Sans JP', sans-serif;;
}
.container {
    max-width: 85vw;
    padding: 0;
    margin: 0 auto;
}

input[type="text"], input[type="password"] {
    border-radius: 0.4rem;
}

a {
    text-decoration: none;
    color: green;
}
a:hover {
    color: var(--secondary);
}

/* Contractor NavBar */
.con-navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem 4em;
    border-bottom: 1px solid gray;
}

.con-navbar .con-navleft {
    /* width: 25%; */
    display: flex;
    align-items: center;
}

.con-navbar .con-navleft img {
    width: 9rem;
    height: 3rem;
}

.con-navbar .user-link{
    margin:1.6rem 0;
    text-align:right;}
    .con-navbar .user-link a{
        font-size: 14px;
        text-decoration: underline;}

.list-items {
    padding: 0 2rem;
}

.con-navright .con-navright-list {
    margin: 0 1rem;
    font-size: 1.5rem;
}

.con-navright .con-navright-list li a {
    color: var(--body-color);
}

.con-navright .con-navright-list li a:hover {
    color: var(--contractor-primary);
}

.con-navright .con-navright-list .first-item, 
.con-navright .con-navright-list .second-item,
.con-navright .con-navright-list .third-item {
    border-right: 1px groove;
}

.con-navbar .con-navright {
    display: flex; 
    align-items: center;
}

.con-navbar .con-navright .con-navright-item {
    margin: 0 2rem;
}


.con-navbar .con-navright .con-logout-button a {
    background: var(--primary);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.navbar-button {
    display: none;
    position: absolute;
    /*right: 2rem;
    top: 3rem;*/
    right: 2.4rem;
    top: 2.3rem;
}
.fa-bars:before, .fa-navicon:before{
    font-size: 2.4rem;
}
.con-navbar-slide {
    display: none;
}

.notify {
    display: flex;
    position: relative;
}

.btn-notify {
    position: relative;
    border: none;
    background-color: white;
    height: 0;
}

.notify img {
    width: 25px;
}

.display_notify {
    padding: 10px;
    border: 1px solid;
    position: absolute;
    top: 30px;
    /* height: 70px; */
    width: 300px;
    z-index: 9999;
    background-color: #f7fffe;}
    .notify-content{
        border-bottom:rgba(0, 0, 0, 0.16) 1px solid;
    }
    .notify-content a{
        font-size: 1.1rem;
        border: 0.5px solid;
        padding: 0 0.5rem;
    }
    .notification{
        /* display: none; */
        position:absolute;
        right:0px;
        top:-5px;
        background-color:red;
        line-height:20px;
        width:13px;
        height:13px;
        border-radius:10px;}
/* End Contractor Navbar */

/* Contractor Slide Bar */
.sidebar-logo img {
    width: 60%;
}

@media (max-aspect-ratio: 10/9) {
    .con-navbar {
        justify-content: center;
    }
    .navbar-button {
        display: flex;
        cursor: pointer;
    }
    .con-navbar .con-navright {
        display: none;
    }
    .con-navbar-slide {
        width: 80%;
        height: 70vh;
        position: fixed;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        transform: translateX(100%);
        transition: 0.5s ease-in-out;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        display: none;
        z-index: 999;
    }

    .con-navbar-slide.active {
        display: flex;
        transform: translateX(0);
    }

    .sidebar {
        width: 80%;
        margin-bottom: 30px;
    }
    
    .sidebar-close {
        position: absolute;
        top: 2rem;
        left: 2rem;
        cursor: pointer;
    }
    
    .sidebar-close i {
        font-size: 2.4rem;
        color: var(--contractor-primary);
    }
    
    .sidebar .sidebar-logo{
        text-align: center;
    }
    
    .sidebar .sidebar-logo img {
        width: 9rem;
        height: 3rem;
    }
    
    .sidebar .sidebar-login-button, 
    .sidebar .sidebar-register-button {
        width: 100%;
        padding: 0.8rem 0;
        border-radius: 0.3rem;
        text-align: center;
        margin: 1rem 0;
    }
    
    .sidebar .sidebar-login-button {
        border: 2px solid var(--contractor-primary);
    }
    
    .sidebar .sidebar-register-button {
        background: var(--contractor-primary);
    }
    
    .sidebar .sidebar-register-button a {
        color: #fff;
    }
    
    .sidebar-first-content, 
    .sidebar-second-content {
        margin: 0.5rem 0;
    }
    
    .sidebar-first-content .sidebar-title, 
    .sidebar-second-content .sidebar-title {
        background-color: #f2f2f2;
        padding: 0.5rem;
    }
    
    /* .sidebar-first-content .sidebar-first-body, 
    .sidebar-second-content .sidebar-second-body {
        padding: 0.5rem 2.5rem;
    } */
    
    .sidebar-first-content .sidebar-first-body ul, 
    .sidebar-second-content .sidebar-second-body ul {
        display: flex;
        flex-direction: column;
    }
    
    .sidebar-first-content .sidebar-first-body ul li,
    .sidebar-second-content .sidebar-second-body ul li {
        padding: 0.5rem 2rem;
    }
    
    .sidebar-second-content .sidebar-second-body ul li {
        border-bottom: 1px solid;
    }
    
    .sidebar-first-content .sidebar-first-body ul .first {
        border-bottom: 1px solid;
    }
    
    .sidebar-first-content .sidebar-first-body ul li a,
    .sidebar-second-content .sidebar-second-body ul li a {
        color: var(--body-color);
    }
    
    .sidebar-first-content .sidebar-first-body ul li a:hover, 
    .sidebar-second-content .sidebar-second-body ul li a:hover {
        color: var(--contractor-primary);
    }

    .sidebar-second-content .sidebar-second-body ul .con-logout-button a {
        font-size: 1.2rem;
        font-weight: 900;
    }
}