/****************************/
/*  スマートフォン用CSS開始  */
/*  最大幅480px             */
/****************************/
@media screen and (max-width:480px) {
    body {
        margin: 0px;
    }

    header {
        height: 80px;
    }

    .pc-nav {
        display: none;
    }

    #header-logo {
        width: 40px;
        height: auto;
        margin: 5px;
    }

    /*  ハンバーガーメニュー開始  */
    .sp-nav {
        display: block;
    }

    .hamburger-menu-input {
        display: none;
    }

    .hamburger-menu-label {
        color: #000000;
        font-size: 30px;
        vertical-align: 3px;
        margin-right: 10px;
    }

    .hamburger-menu-label-hei {
        color: #ffffff;
        font-size: 20px;
        margin-right: 10px;
    }

    header {
        text-align: right;
    }

    /*  ナビ開始  */
    nav {
        margin-left: 4%;
        position: fixed;
        top: 10px;
        text-align: center;
        width: 90%;
        height: auto;
        color: #ffffff;
        border: solid 5px #525252;
        border-radius: 15px;
        background-color: #000000;
        transform: translateY(-110%);
    }

    #hamburger-menu:checked~nav {
        animation-name: fadeDownAnime;
        animation-duration: 0.5s;
        animation-fill-mode: forwards;
        opacity: 0;
    }

    @keyframes fadeDownAnime {
        from {
            opacity: 0;
            transform: translateY(-110%);
        }

        to {
            opacity: 1;
            transform: translateY(0%);
        }


    }

    #hamburger-menu:not(:checked)~nav {
        animation-name: fadeUpAnime;
        animation-duration: 0.5s;
        animation-fill-mode: forwards;
        opacity: 1;
    }

    @keyframes fadeUpAnime {
        from {
            opacity: 1;
            transform: translateY(0%);
        }

        to {
            opacity: 0;
            transform: translateY(-110%);
        }
    }

    .sp-nav ul {
        list-style: none;
    }

    .sp-nav li,
    .sp-nav a {
        text-decoration: none;
    }

    .sp-nav a,
    .sp-nav a:hover,
    .sp-nav a:link {
        color: #ffffff;
    }

    /*  ナビ終了  */
    /*  ハンバーガーメニュー終了  */

    /*  本文開始  */
    .honbun {
        width: 95%;
        height: auto;
        margin: 0px auto;
        border-radius: 20px;
    }

    /*  本文終了  */
}

/****************************/
/*  スマートフォン用CSS終了  */
/****************************/