

#design {

    margin: 0 auto 25rem auto;
}

#design li {
    margin-bottom: 1rem;
}

#design img {
    width: 100%
}



.design_h2 {
    font-size: 5rem;
    margin-left: 1.8rem;
    margin-right: 1.8rem;
}

.back {
    position: sticky;
    margin-left: 90px;
    top: 20px;
    font-size: 2.8em;
    
}

.back {
    text-decoration: none;
    color: #333;
    font-family: noto-sans-cjk-jp, sans-serif;
    font-weight: 700;
}

.design_ber_2 {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: 13rem;
    margin-bottom: 5.7rem;
    width: 100%;
    overflow-x: hidden;
}

nav {
    width: 13.541%;
    background-color: #8e8e8e;
}

nav li img {
    width: 90%;

}

nav li {
    margin-bottom: 23.913%;
    font-size: 1.9rem;
    font-family: noto-sans-cjk-jp, sans-serif;
    font-weight: 900;
    display: block;
}

.menu_logo {

    margin-bottom: 39.130%;
}

.menu_box {
    border-left: solid 3px #6e6e6e;
    padding-left: 1.5rem;

}

nav a {
    color: rgb(33, 33, 33);
    display: block;
    height: 12.307%;
    transition: color 0.4s ease-out;

}

nav ul {
    margin-left: 11.538%;
    padding: 0;
    height: 100vh;
    padding-top: 57.692%;
}

nav ul li a: {
    text-decoration: none;
}

nav {}

.openbtn {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    cursor: pointer;
    width: 70px;
    height: 70px;
}



.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: rgb(33, 33, 33);
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 18px;
}

.openbtn span:nth-of-type(2) {
    top: 29px;
}

.openbtn span:nth-of-type(3) {
    top: 40px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

#g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    left: -120%;
    width: 13.541%;
    height: 100vh;
    transition: all 0.6s;
    background-color: rgba(0, 0, 0, 0.0);
}




#g-nav.panelactive {
    left: 0;
}

.panelactive.headerColorScroll a {
    color: #333;
    transition: color 0.4s ease-out;
}

.panelactive.headerColorScroll .openbtn span {
    background-color: #333333;
    transition: color 0.4s ease-out;
}

.headerColorScroll .openbtn span {
    background-color: #333333;
    transition: color 0.4s ease-out;
}



.panelactive.headerColorScroll .menu_logo_white {

    display: none;
}

.panelactive.headerColorScroll .menu_logo_black {

    display: block;
}

.panelactive .menu_logo_black {}

.panelactive .headerColorScroll ul li a {}

#g-nav ul {
    position: absolute;
    z-index: 999;


}


#g-nav li {
    border-left: solid 3px rgb(33, 33, 33);
    padding-left: 1.5rem;
    margin-bottom: 23.913%;
    font-size: 1.9rem;
    font-family: noto-sans-cjk-jp, sans-serif;
    font-weight: 900;
    display: block;
}

#g-nav.panelactive.headerColorScroll li {
    border-left: solid 3px #333;

}

#g-nav li a {}

#g-nav li:first-of-type {
    padding: 0;
    border: none;
}

x


@media screen and (max-width:893px) {
    
    
    #design {
        width: 90%;
    }

    #design ul li{
        width: 32.6%!important;
    }

    #design li:last-child {
        display: none;
    }

    .design_button {
        width: 75%;
        height: 5rem;
        max-width: none;
    }

    #g-nav {
        width: 30%;

    }

    html {
        font-size: 58.5%;
    }

    
    
    

}