@charset "UTF-8";
#header {
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    transition: top 0.3s;
}
.ug-top {
    background-color: rgba(255, 255, 255, 0);
}
.logo h1 img {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-left: 20px;
}

/* ug-work.comのindex_header */

.logo h1 .sp-logo {
    width: 150px;
}

.hamburger {
    margin: 10px auto;
    width: 100%;
    max-width: 1040px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hamburger .btn-gNav {
    position: fixed;
    top: 20px; /* 元々30px */
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 12;
    opacity: 0.7;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: rgb(125, 125, 125); /* rgba(255, 157, 157, 0.7) */
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}
.hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}
.hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}
.hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}

/***activeクラスが付与されると線が回転して×になる***/
.hamburger .btn-gNav.active span:nth-of-type(1) {
    top: 0px;
    left: 0px;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
.hamburger .btn-gNav.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
}
.hamburger .btn-gNav.active span:nth-of-type(3){
    top: 12px;
    left: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
    background: hsl(0, 0%, 100%);
}
/**回転して×ここまで**/

.btn-gNav {
    display: none;
}
.gNav {
    margin-left: 20px;
}
.gNav .gNav-menu {
    display: flex;
    justify-content: space-between;
}
.gNav .gNav-menu li {
    margin: 0 auto;
    padding: 0 10px;
    font-size: 14px;
}
.gNav .gNav-menu li a {
    font-weight: bold;
    color: #333;
}
.gNav .gNav-menu li a:hover{
	color: #800020;
}

@media screen and (max-width: 767px) {
    /* レスポンシブ時 */
    .logo h1 img {
        max-width: 150px;
    }
    .logo h1 .sp-logo {
        width: 100px;
    }
    /*nav*/
    .btn-gNav {
        display: block;
    }
    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: rgba(70, 70, 70, 0.8); /* rgba(252, 109, 109, 0.8) */
        font-size: 16px;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }
    .gNav.open {
        right: 0;
        height: 80vh;
    }
    .gNav .gNav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        /*justify-content: center;*/
    }
    .gNav .gNav-menu li {
        width: 86%;
        padding: 15px;
        font-size: 16px;
        letter-spacing: 2px;
        border-bottom: #ffffff 1px solid;
        color: #ffffff;
    }
    .gNav .gNav-menu li a {
        font-weight: bold;
        color: #fff;
    }
}
@media screen and (max-width: 376px) {
    .logo h1 img {
        max-width: 125px;
        width: 100%;
        margin-top: 10px;
    }
    .logo h1 .sp-logo {
        width: 100px;
    }
}