#gHeader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1);
}

@media all and (min-width:600px) {
    #gHeader {
        box-sizing: border-box;
        min-width: 950px;
        padding: 0 14px;
    }
}


#hdInfo .logo {
    float: left;
    box-sizing: border-box;
    margin: 10px 40px 0 20px;
    width: 220px;
}

#hdInfo .logo a {
    display: block;
}

#hdInfo .logo img {
    width: 200px;
}

#hdInfo .btnGnav {
    position: relative;
    float: right;
    z-index: 10000;
    width: 60px;
    height: 60px;
    background-color: #000;
}

#hdInfo .btnGnav .line {
    position: absolute;
    left: 18px;
    width: 23px;
    height: 2px;
    background: #fff;
    content: "";
    transition: all .3s ease;
}

#hdInfo .btnGnav .line:nth-child(1) {
    top: 21px;
}

#hdInfo .btnGnav .line:nth-child(2) {
    top: 29px;
}

#hdInfo .btnGnav .line:nth-child(3) {
    top: 37px;
}

#hdInfo .btnGnav.is_open .line {
    background: #fff;
}

#hdInfo .btnGnav.is_open .line:nth-child(1) {
    top: 28px;
    transform: rotate(-45deg);
}

#hdInfo .btnGnav.is_open .line:nth-child(2) {
    opacity: 0;
}

#hdInfo .btnGnav.is_open .line:nth-child(3) {
    top: 28px;
    transform: rotate(45deg);
}

@media all and (min-width:600px) {
    #hdInfo {
        float: left;
    }

    #hdInfo .logo {
        float: none;
        width: 220px;
        height: 45px;
    }
}

#gNav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    z-index: 10000;
    width: 50%;
    background-color: #000;
}

@media all and (max-width:599px) {
    #gNav {
        overflow: scroll;
    }
}

#gNav .list {
    margin-bottom: 10px;
    padding: 20px;
}

#gNav .list .item.mainNav .toggle {
    position: relative;
    padding-right: 20px;
}

@media all and (max-width:599px) {
    #gNav .list .item.mainNav .toggle .js-subNav-btn {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 20px;
        height: 20px;
        margin: auto;
    }

    #gNav .list .item.mainNav .toggle .js-subNav-btn:after,
    #gNav .list .item.mainNav .toggle .js-subNav-btn:before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 18px;
        height: 2px;
        margin: auto;
        background-color: #fff;
        content: "";
    }

    #gNav .list .item.mainNav .toggle .js-subNav-btn:after {
        transition: all .3s ease;
        transform: rotate(90deg);
    }

    #gNav .list .item.mainNav .toggle .js-subNav-btn.is_active:after {
        transform: rotate(0);
    }
}


#gNav .list .item a {
    display: block;
    line-height: 2.4;
    color: #fff;
    font-size: 22.4px;
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: .05em;
}

@media all and (max-width:599px) {
    #gNav .list .item .sub-sub {
        padding-left: 1.5em;
    }

    #gNav .list .item {
        display: block;
        line-height: 2.4;
        color: #fff;
        font-size: 22.4px;
        font-size: 1.4rem;
        text-decoration: none;
        letter-spacing: .05em;
    }
}

#gNav .list .item .subNav {
    display: none;
    padding: 5px 0 0;
}

@media all and (max-width: 599px) {
    table.gsc-search-box {
        border: 1px solid #fff !important;
    }
}

@media all and (min-width:600px) {
    #gNav {
        display: block !important;
        position: static;
        width: 100%;
        height: auto !important;
        padding-top: 0 !important;
        background-color: #fff;
    }

    #gNav .list {
        margin: 0 10px 0 0;
        padding: 0;
    }

    #gNav .list .item {
        position: relative;
        float: left;
    }

    #gNav .list>.item:nth-child(n + 2)::before {
        content: "";
        width: 1px;
        height: 20px;
        background-color: #BFBFBF;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translatey(-50%);
    }

    #gNav .list .item.mainNav .toggle .js-subNav-btn {
        display: none;
    }

    #gNav .list .item.mainNav .mainName {
        line-height: 2.5;
        margin-bottom: 0;
        padding: 0;
        border-bottom: none;
        color: #000;
        font-size: 1.6rem;
        text-align: center;
        letter-spacing: .1em;
        cursor: pointer;
        padding: 0 8px;
    }

    #gNav .list .item.mainNav .mainName>a,
    #gNav .list .item.mainNav .mainName>span {
        display: inline-block;
        height: 66px;
        line-height: 72px;
        overflow: hidden;
        margin-bottom: 0;
        padding: 0;
        border-bottom: none;
        color: #333333;
        font-size: 1.8rem;
        font-weight: 600;
        letter-spacing: .1em;
        cursor: pointer;
    }

    #gNav .list .item.mainNav .mainName>a span:before,
    #gNav .list .item.mainNav .mainName>span span:before {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 4px;
        background-color: #413b21;
        content: "";
        transition: all .3s ease;
    }

    #gNav .list .item.mainNav:hover .mainName span {
        color: #413b21;
    }

    #gNav .list .item.mainNav:hover .mainName span:before {
        width: 100%;
    }

    #gNav .list .item.mainNav:hover>.subNav {
        height: auto !important;
        padding: 22px calc((100vw - 1040px) / 2) 40px;
    }

    #gNav .list .item.mainNav:hover>.subNav.four-column {
        padding-bottom: 30px;
    }

    #gNav .list .item.mainNav:hover>.subNav .sub {
        opacity: 1;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav01 .mainName {
        width: 90px;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav02 .mainName {
        width: 75px;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav03 .mainName {
        width: 90px;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav04 .mainName {
        width: 90px;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav05 .mainName {
        width: 90px;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav06 .mainName {
        width: 150px;
    }

    html:lang(ja) #gNav .list .item.mainNav.nav07 .mainName {
        width: 120px;
    }

    #gNav .list .item .subNav {
        display: flex !important;
        position: fixed;
        top: 66px;
        left: 0;
        z-index: 1000;
        box-sizing: border-box;
        width: 100vw;
        height: 0 !important;
        overflow: hidden;
        padding: 0 15px;
        background-color: #1e1e1ee6;
        transition: all .3s ease;
        flex-wrap: wrap;
        padding: 0 calc((100vw - 1040px) / 2) 0;
        min-width: 1000px;
    }

    #gNav .list .item .subNav::after {
        content: '';
        width: 280px;
    }

    #gNav .list .item .subNav.four-column::after {
        width: 230px;
    }

    #gNav .list .item .subNav .sub {
        position: relative;
        height: 0;
        opacity: 0;
        transition: all .3s ease;
        width: 280px;
        height: 45px;
        margin-bottom: 10px;
    }

    #gNav .list .item .subNav .sub {
        margin-bottom: 0;
    }

    #gNav .list .item .subNav.four-column .sub {
        width: 250px;
    }

    #gNav .list .item .subNav .sub.l-sub {
        height: 130px;
        border: none;
    }

    #gNav .list .item .subNav.four-column .sub.l-sub {
        height: 126px;
    }

    #gNav .list .item .subNav.four-column .sub.l-sub p {
        position: absolute;
    }

    #gNav .list .item .subNav.four-column .sub.l-sub.headline {
        height: 185px;
        font-weight: bold;
    }

    #gNav .list .item .subNav.four-column .sub.l-sub.headline>p {
        font-weight: bold;
        margin-bottom: 10px;
        line-height: normal;
    }

    #gNav .list .item .subNav .sub:first-child {
        width: 100%;
    }

    #gNav .list .item .subNav .sub a {
        display: block;
        position: relative;
        padding: 15px 0 5px;
        border-bottom: 1px solid #B7C9D3;
        line-height: 25px;
        color: inherit;
        width: 250px;
    }

    #gNav .list .item .subNav .sub-list .sub {
        height: auto;
        margin-bottom: 15px;
    }

    #gNav .list .item .subNav .sub-list .sub a {
        padding: 0;
    }

    #gNav .list .item .subNav.four-column>.sub {
        margin-bottom: 20px;
    }

    #gNav .list .item .subNav.four-column .sub a {
        width: 230px;
    }

    #gNav .list .item .subNav .sub.l-sub a {
        height: 130px;
        padding: 0;
        position: relative;
        background-size: cover;
        background-color: #BFBFBF;
    }

    #gNav .list .item .subNav .sub.l-sub.menu_1-1 a {
        background-image: url(../assets/header/1-1.png);
    }

    #gNav .list .item .subNav .sub.l-sub.menu_1-2 a {
        background-image: url(../assets/header/1-2.png);
    }

    #gNav .list .item .subNav .sub.l-sub.menu_1-3 a {
        background-image: url(../assets/header/1-3.png);
    }

    #gNav .list .item .subNav .sub.l-sub.menu_3-1 a {
        background-image: url(../assets/header/2-1.png);
    }

    #gNav .list .item .subNav .sub.l-sub.menu_3-2 a {
        background-image: url(../assets/header/2-2.png);
    }

    #gNav .list .item .subNav .sub.l-sub.menu_3-3 a {
        background-image: url(../assets/header/2-3.png);
    }

    /* #gNav .list .item .subNav .sub.l-sub.menu_3-4 a {
        background-image: url(../assets/common/test.png);
    } */

    #gNav .list .item .subNav .sub.l-sub a p {
        color: #fff;
        font-size: 15px;
        font-weight: bold;
        padding: 5px 8px;
        background-color: #1c1c1cba;
        position: absolute;
        width: 100%;
        bottom: 1px;
        box-sizing: border-box;
    }

    #gNav .list .item .subNav .sub:not(.l-sub) a:before {
        content: "";
        background-repeat: no-repeat;
        width: 23px;
        height: 6px;
        background-size: contain;
        background-position: center;
        position: absolute;
        top: 60%;
        transform: translatey(-50%);
        right: 10px;
    }

    #gNav .list .item .subNav .sub-list .sub:not(.l-sub) a:before {
        top: 50%;
    }

    #gNav .list .item .subNav .sub:not(.l-sub) a:after {
        content: "";
        border-top: 1px solid #413b21;
        position: absolute;
        right: 0;
        bottom: -1px;
        width: 40px;
    }

    #gNav .list .item .subNav .sub a:hover {
        text-decoration: underline;
    }

    #gNav .list .item .subNav>.sub:first-child {
        margin-bottom: 22px;
    }

    #gNav .list .item .subNav>.sub:first-child a {
        font-size: 20px;
        font-weight: bold;
        color: #ffffff;
        padding: 8px 0;
        width: 340px !important;
    }
}

#copyright {
    text-align: center;
    background-color: black;
    color: white;
    height: 46px;
    line-height: 46px;
    font-size: small;
}

#ecsite {
    float: right;
    height: 44px;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #353228;
    margin-top: 12px;
    border-radius: 6px;
}

#ecsite img {
    width: 30px;
    margin-right: 8px;
}

#ecsite-text {
    line-height: 14px;
    font-size: small;
    font-weight: 800;
    color: white;
}

@media all and (max-width: 599px) {
	#ecsite {
        float: none;
    }
}