/* pc用 */
@media screen and (min-width:780px) {
    .header {
        min-width: 1100px;
        display: flex;
        justify-content: center;
        padding: 3% 0 0 0;  
        margin-bottom: 10px;
    }

    .hd_logo > a > img:hover {
        opacity: 0.5;
    }

    .hd_nav_sp {
        display:none;
    }

    .menu_f_Box > li:not(:last-child) {
        border-right:2px solid #ddd;
    }

    .menu_f_Box > li {
        list-style: none;
        text-align: center;
    }

    .menu_f_Box {
        display: flex;
        align-items: center;
    }
    
    .header_item {
        display: block;
        text-align: center;
        margin: 0px 20px 0px 20px;
        font-weight: bold;
        font-size: 0.8rem;
        text-shadow: 0 0 0.5px black;
        letter-spacing: 1px;
        color: #333333;
    }

    .header_item:hover {
        color: #999999;
    }
}

/* sp用 */
@media screen and (max-width:779px) {

    .header {
        width: 100%;
        margin: 0;
        display: flex;
        justify-content: space-between;
        padding: 3% 0 0 0;  
        margin: auto 0;
    }
    
    .hd_nav_pc {
        display: none;
    }

    .hd_logo {
        margin-left: 5%;
    }

    .hd_logo img {
        width: 70%;
        height: auto;
    }


    .hd_nav_sp {
        z-index: 1;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        display: block;
        background: rgba(0, 0, 0, .8);
        transition: all .2s ease-in-out;
        opacity: 0;
        transform: translateY(-100%);
    }

    .hd_nav_sp ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
     .hd_nav_sp li {
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
        color:#fff;

    }
     .hd_nav_sp li span {
        font-size: 15px;
        color: #fff;
    }
     .hd_nav_sp li a, .hd_nav_sp li span {
        display: block;
        padding: 20px 0;
    }

    /*基準となるli要素*/
    .hd_nav_sp .close {
        position: relative;
        padding-left: 20px;
    }
    /*バツ印線1*/
    .hd_nav_sp .close::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( 45deg );
    }
    /*バツ印線2*/
    .hd_nav_sp .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 16px;
        height: 1px;
        background: #fff;
        transform: rotate( -45deg );
    }

    #hamburger {
        position: relative;
        display: block;
        width: 40px;
        height: 30px;
        margin: auto 5%;
        top: 3%;
    }

    #hamburger span {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 4px;
        background-color: #000;
        transform: translateY(-50%);
    }

    #hamburger::before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #000;
    }
    #hamburger::after {
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 70%;
        height: 4px;
        background-color: #000;
    }

    .toggle {
         transform: translateY(0);
         opacity: 1;
    }

    .header_item {
        display: block;
        text-align: center;
        margin: 0px 20px 0px 20px;
        font-weight: bold;
        font-size: 1.3rem;
        text-shadow: 0 0 0.5px black;
        letter-spacing: 1px;
        text-decoration: none;
        color: #fff;
    }
}
