@charset "utf-8";

#headerSub{
    min-height: 122px;
    position: relative;
    background: linear-gradient(90.41deg, #62CAC0 0%, #20B8CE 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 122px;
}

@media (max-width: 1024px) {
    #headerSub{
        margin-top: 85px;
    }
}

.h1Wrap{
    width: 98%;
    max-width: 1300px;
    color: #fff;
    margin: 0 auto;
}

.h1-sub{
    color:#fff;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
}

/* サブメニュー */
.s-nav{
	width: 100%;
    margin: 4em auto 0;
    z-index: 9999;
    height: 40px;
    text-align: center;
    line-height: 1;
}
.subNavInner{
    width: 98%;
    min-width: 1024px;
    max-width: 1400px;
    margin: 0 auto;
    background: #5E5535;
    padding: 3px;
    box-sizing: border-box;
}
.sub-nav-menu{
    width: 100%;
    overflow: hidden;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.sub-nav-menu li{
    width: 14%;
    height: 40px;
    line-height: 40px!important;
    font-size: 0.95em;
    color: #fff;
    list-style-type: none;
    padding: 8px 0;
    text-align: center;
    line-height: 1.8em;
    box-sizing: border-box;
    border: 1px solid  #726A36;
    position: relative;
}
.sub-nav-menu li.s-navStyleB{
    width: 30%;
    height: 40px;
    line-height: 40px!important;
    font-size: 0.95em;
    color: #fff;
    list-style-type: none;
    padding: 8px 0;
    text-align: center;
    line-height: 1.8em;
    box-sizing: border-box;
    border: 1px solid  #726A36;
    position: relative;
}
.sub-nav-menu li a{
    color: #fff;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}
.sub-nav-menu li a:hover{
    background: #726A36;
}
.fixed{
    position: fixed;
    bottom: 0;
    left: 0;
}

@media screen and (max-width : 1024px) {
    .h1Wrap{
        width: 95%;
    }
}

@media screen and (max-width : 768px) {
    .h1-sub{
        font-size: 1.2em;
        letter-spacing: 0.1em;
    }

    /* サブメニュー */
    .s-nav{
        width: 100%;
        margin: 3em auto 0;
        height: auto;
    }
    .subNavInner{
        width: 98%;
        min-width: auto;
        max-width: auto;
        padding: 3px;
    }
    .sub-nav-menu{
        display: inline-flex;
        flex-wrap: wrap;
    }
    .sub-nav-menu li{
        width: 33%;
        height: 34px;
        line-height: 34px!important;
        font-size: 0.9em;
        padding: 0;
        line-height:auto;
        margin: 2px auto;
    }
    .sub-nav-menu li.s-navStyleB{
            width: 100%;
            font-size: 0.9em;
    }
}

@media screen and (max-width : 634px) {
    /* サブメニュー */
    .s-nav{
        margin: 2em auto 0;
        height: auto;
    }
    .subNavInner{
        padding: 2px;
    }
    .sub-nav-menu li{
        width: 33%;
        height: 30px;
        line-height: 30px!important;
        font-size: 0.75em;
        margin: 1px auto;
    }
}