@charset "UTF-8";
/*
Theme Name: KondoLab
Description: KondoLabのテンプレートです。
Author: Yuna.A
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Monda:wght@400..700&family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.fadein{
    opacity: 0;

}
main{
    color: #212121;
    font-size: 12px;
}
nav{
    width: 100%;
    height: 100px;
    color: #dcdcdc;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 1000;
}
header .mobile{
    display: none;

}
nav .desktop{
    font-family: 'Inria Sans', serif;
    font-size: 24px;
    font-weight: 800;
    flex: 1;
    margin-left: 4%;

}
header .mobile a{
    text-decoration: none;
    color: #636363;
    cursor: pointer;
}
nav .desktop a{
    text-decoration: none;
    color: #212121;
    cursor: pointer;

}
.humburger{
    display: none;
    font-size: 2rem;
    color: #212121;
    z-index: 2000;

}
.nav-links{
    list-style: none;
    flex: 4;
    text-align: right;
    margin-right: 2%;
}
.nav-links li{
    display: inline;    
}

.nav-links li a{
    font-family: 'BIZ UDPGothic', serif;
    font-size: 14px;
    text-decoration: none;
    color: #212121;
    margin: 1em;
}
.nav-links li a:hover{
    color: #737373;
}
.nav-links li a:active{
    color: #a1a1a1;
}


footer{
    width: 100%;
    height: 8vh;
    background: rgb(110, 140, 77);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
}

@media (max-width: 700px){

    header .mobile{
        font-family: 'Inria Sans', serif;
        font-weight: 800;
        display: block;
        position: absolute;
        font-size: 20px;
        top: 1rem;
        left: 1rem;
        color: #636363;
        z-index: 3001;
    }
    nav .desktop{
        display: none;
    }




/* hamburger menu */
    .humburger{
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 1rem;
        top: 1rem;
        z-index: 3000;
        padding: .5rem;
        border: none;
        color: #636363;
        border-radius: 5px; /* 丸ではなく四角くする場合（お好みで50%に） */
        width: 3rem;
        height: 3rem;
        cursor: pointer;
        transition: .4s;
    }
    .nav-links{
        position: fixed;
        height: 100vh;
        width: 100%;
        background: #a0a0a0;
        opacity: 0.95;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        top: 0;
        right: 0;
        transform: translateX(100%);
        transition: transform .5s ease-in-out;
        z-index: 2000;
    }
    .nav-links li{
        display: block;
        width: 100%;
        text-align: center;
        margin: 2rem 0;
    }
    .nav-active{
        transform: translateX(0);
    }
    .nav-links li a{
        font-size: 20px;
        font-weight: bold;
        margin: 0.5em;
    }
}