#wrapper {
    /*    position: fixed;*/
    width: 100%;
    /*    z-index: 9999;*/
    border-bottom: 5px solid #ddd;
}

.pagetop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 5%;
    z-index:99;
}

.pagetop a {
    display: inline;
    background-color: #259;
    color: #fff;
    font-size: 1.5rem;
    font-family: sans-serif;
    text-align: center;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    height: 52px !important;
    vertical-align: bottom !important;
}

.pagetop a:hover {
    opacity: 0.9;
    transition: all 200ms 0s ease;
}

#wrapper #head_wrap {
    width: 100%;
    /*    background: linear-gradient(180deg, #fff, #259);*/
    background-color: #fff;
}


/*一番上の帯*/
#top {
    width: 100%;
    background-color: #f0f0f0;
    /*    background: linear-gradient(180deg, #fff, #eee);*/
    height: 31px;
    padding: 5px 0 10px 0;
}

#top_p {
    /*    max-width: 1000px;*/
    margin: auto;
    text-align: left;
    color: #222;
    font-size: 14px;
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'MS PGothic';
    font-weight: bold;
    padding: 0;
    padding-left: 2rem;
    position: relative;
}

.top_a {
    display: inline-block;
    position: absolute;
    right: 3%;
}

.top_a a {
    font-weight: normal;
    color: #000;
    margin-left: 0.5rem;
}

.SNSicon {
    max-width: 1.5rem;
    width: 100%;
    height: auto;
}



#header_contents {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: row;
    /*    max-width: 1000px;*/
    width: 75%;
    justify-content: space-around;
    height: 6.5rem;
    align-items: center;
    margin: auto;
}

h1 {
    margin: 0;
    padding: 0;
}

#logo {
    padding: 0.5rem;
    width: 11rem;
    /*        display: none;*/
    margin: 0;
}

#logo:hover {
    opacity: 0.5;
    transition: all 200ms 0s ease;
}

/*SNSアイコンと他サイトへリンク*/
#groupsite {
    flex: 1 1 auto;
    align-self: flex-end;
    padding-bottom: 10px;
    margin-left: 0rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.others2 {
    display: inline-block;
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'MS PGothic';
    font-size: 1.7rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border: 1px solid #ccc;
    border-bottom: 2px solid #aaa;
    background-color: #037;
    padding: 0 0.5rem;
    max-width: 250px;
    
    white-space: nowrap;/*改行させないための記述*/
}

#groupsite a:nth-child(1) {
    /*レンタル*/
}

#groupsite a:nth-child(2) {
    /*買取*/
    margin-left: 1rem;
}

#groupsite a:nth-child(1):hover {
    color: #148680;
    background-color: #fff;
    transition: all 200ms 0s ease;
    border-bottom: 2px solid #148680;
}

#groupsite a:nth-child(2):hover {
    color: #cb0008;
    background-color: #fff;
    transition: all 200ms 0s ease;
    border-bottom: 2px solid #cb0008;
}




/*電話番号*/
#header_Tel {
    /*    border-radius: 50%;*/
    text-align: center;
    /*    background-color: #fff;*/
    font-size: 0.8rem;
    color: #555;
    height: 100%;
    /*    margin-bottom: 10px;*/
    overflow: hidden;
    /*    padding: 1.3rem 1rem;*/
    flex: 0 0 auto;
    padding-top: 1.3rem;
    padding-right: 3rem;
    margin-left: -5px;
}


.Tel_icon {
    width: 1.1rem;
    height: auto;
    margin-bottom: 0.2rem;
    margin-right: 2px;
}

#header_Tel #tel_number {
    color: #259;
    font-weight: bold;
    font-size: 1.9rem;
    /*    font-family: sans-serif !important;*/
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'MS PGothic' !important;

}



/*検索窓*/
#search {
    /*    margin-left: 2rem;*/
    margin-bottom: -1.5rem;
    padding-left: 1rem;
}

#kensaku {
    font-family: 'Avenir', 'Helvetica Neue', 'Helvetica', 'Arial', 'Hiragino Sans', 'ヒラギノ角ゴシック', YuGothic, 'Yu Gothic', 'メイリオ', Meiryo, 'MS PGothic';
    font-size: 1.2rem;
    width: 80%;
    height: 2.7rem;
}

#glass {
    width: 8%;
    min-width: 30px;
    min-height: 35px;
    height: auto;
    margin-bottom: -13px;
    background-color: #ddd;
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #555;
}

#glass:hover {
    opacity: 0.5;
    transition: all 200ms 0s ease;
}








#nav-drawer {
    display: none;
}

#nav_back {
    width: 100%;
    background-color: #259;
}

#PCnav {
    margin: auto;
    max-width: 1000px;
    background-color: #259;
    /*    height: 2.5rem;*/
    line-height: 2.5rem;
}

#PCnav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

#PCnav ul li {
    flex: 1 1 0;
    text-align: center;
    position: relative;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    /*    border-top: 1px solid #fff;*/
}

/*セット*/
#PCnav > ul > li:nth-child(3){
    background-color: #ee6200;
}

#PCnav ul li:nth-child(4):hover,
#PCnav ul li:nth-child(5):hover,
#PCnav ul li:nth-child(6):hover {
    opacity: 0.5;
    transition: all 200ms 0s ease;
}

#PCnav ul li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-family: 'Kosugi Maru', sans-serif;
}


#PCnav > ul > li:hover .menu {
    max-height: 2000px;
    opacity: 1;
    transition: all 250ms 0.15s linear;
}

#PCnav > ul .menu {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    left: 0;
    text-align: center;
    position: absolute;
    width: 300%;
    z-index: 9999;
}

#PCnav > ul li.toggle .menu ul.menu_inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 160px 160px 160px;
    background-color: #777;
}



.toggle > a {
    background-color: #037;
}

.toggle > a:hover {
    background-color: #777;
}


.menu_inner img {
    width: 100%;
    padding: 10px 10px 0px 10px;
    height: auto;
    vertical-align: middle;
}

.menu_inner a h2 {
    margin-top: -0.1rem;
    padding: 0;
}

.menu_inner a p {
    font-size: 0.75rem;
    font-family: sans-serif;
    line-height: 1.1;
    text-align: justify;
    padding: 0.5rem;
}

#PCnav > ul > li .menu .menu_inner li {
    border: 1px solid #aaa;
}

#PCnav > ul li.toggle .menu ul.menu_inner li a:hover {
    opacity: 0.5;
    transition: all 200ms 0s ease;
}


@media(max-width:980px) {

    #groupsite {
        display: none;
    }
}


@media(max-width:769px) {
    #header_contents {
        flex-direction: row;
        height: auto;
        width: 100%;
    }

    #top {
        display: none;
    }

    #logo {
        max-width: 105px;
    }

    #header_Tel {
        display: none;
    }

    .Tel_icon {
        margin-bottom: 5px;
        margin-right: 2px;
    }


    #search {
        margin: 1rem auto 0.5rem auto;
        text-align: left;
        padding-left: 5px;
    }

    #kensaku {
        width: 73%;
        font-size: 0.8rem;
        height: 1.5rem;
    }

    #glass {
        width: 10%;
        margin-bottom: -5px;
    }




    #icons {
        display: none;
    }


    #PCnav {
        display: none;
    }

    .down {
        background-color: #ddd;
    }

    .down > a {
        background-color: #247;
        text-align: center;
    }

    .down img {
        width: 3rem;
        margin-right: 5px;
        margin-bottom: 3px;
    }

    #nav-drawer {
        display: block;
        position: relative;
        /*        margin-left: 14rem;*/
        margin-top: -2rem;
        margin-right: 1rem;
    }

    .nav-unshown {
        display: none;
    }

    #nav-open {
        display: inline-block;
        width: 30px;
    }

    #nav-open span,
    #nav-open span:before,
    #nav-open span:after {
        position: absolute;
        height: 3px;
        width: 35px;
        display: block;
        content: '';
        background-color: #222;
        border-radius: 3px;
        cursor: pointer;
    }

    #nav-open span:before {
        bottom: -10px;
    }

    #nav-open span:after {
        bottom: -20px;
    }

    #nav-close {
        display: none;
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        background: #000;
        transition: .3s ease-in-out;
    }

    #nav-content {
        overflow: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 81%;
        height: 100%;
        transition: .3s ease-in-out;
        transform: translateX(-100%);
        text-align: center;
        background-color: #259;
         !important
    }

    #nav-input:checked ~ #nav-close {
        display: block;
        opacity: .5;
    }

    #nav-input:checked ~ #nav-content {
        transform: translateX(0%);
    }

    #nav-content ul {
        margin: 0;
        padding: 0;
    }

    #nav-content ul a {
        text-decoration: none;
        color: #fff;
        display: block;
        padding: 0.5rem;
        font-family: 'Kosugi Maru', sans-serif;
    }

    #nav-content nav > ul > li ul > li a:hover,
    #nav-content nav > ul > li:nth-child(3):hover,
    #nav-content nav > ul > li:nth-child(4):hover,
    #nav-content nav > ul > li:nth-child(5):hover {
        opacity: 0.5;
    }

    #nav-content nav > ul > li:nth-child(3),
    #nav-content nav > ul > li:nth-child(4) {
        border-bottom: 1px dotted #fff;
    }

    .down > ul > li {
        background-color: #777;
        padding: 10px;
        text-align: justify;
    }

    .down > a {
        cursor: default;
    }

    .pagetop a {
        display: none;
    }

    .sp_nav_img {
        height: auto;
        vertical-align: middle;
        display: inline-block;
        margin-right: ;
        border-radius: ;
    }








}
