@charset "UTF-8";

/* ---- PC&タブレット ---- */
@media(min-width: 481px) {

    /* ボタンの見た目 */
    .btn-gNav {
        display: none;
}
}

/* ---- スマートフォン ---- */
@media screen and (max-width: 480px) {

    /* ボタンの見た目 */
    .btn-gNav {
        box-sizing: border-box;
        cursor: pointer;
        -webkit-transition: all 400ms;
        transition: all 400ms;
        margin: 15px;
    }

    .btn-gNav span {
        position: absolute;
        width: 100%;
        height: 3px;
        -webkit-transition: all 400ms;
        transition: all 400ms;
        background: #707070;
    }

    .btn-gNav span:nth-child(1) {
        top: 0;
    }

    .btn-gNav span:nth-child(2) {
        top: 10px;
    }

    .btn-gNav span:nth-child(3) {
        top: 20px;
    }

    /* ボタンの固定 */
    header .menu_area{
        position: fixed;
    }
    .btn-gNav {
        position: fixed;
        top: 15px;
        right: 20px;
        width: 30px;
        height: 24px;
        z-index: 999;
    }

    /* クリック後のアニメーション */
    .btn-gNav.open span:nth-child(1) {
        top: 6px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
        transition: .5s;
    }

    .btn-gNav.open span:nth-child(3) {
        top: 6px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
        width: 100%;
        transition: .5s;
    }
    .btn-gNav.open span:nth-child(2){
        width: 0;
        opacity: 0;
        transition: .5s;
    }
    
    /* メニューを隠す */
    #gNav {
        position: fixed;
        visibility: hidden;
        width: 100%;
        background: #fff;
        font-size: 16px;
        box-sizing: border-box;
        z-index: 2;
        opacity: 0;
        transition: all .2s;
        text-align: center;
    }
    #gNav ul{
        height: 100vh;
        padding-top: 100px;
    }

    /* .open時のみ表示 */
    #gNav.open {
        visibility: visible;
        right: 0;
        opacity: 1;
        transition: .4s ease-in-out;
    }
    /* メニュー表示を遅らせる */
    #gNav li{
        padding-bottom: 25px;
        opacity: 0;
        transition: all .5s;
    }
    #gNav.open li{
        opacity: 1;
        transition: all 1s .2s;
    }

    /* 日本語を表示 */
    #gNav ul li a {
        line-height: 1;
    }
    #gNav ul li a::after {
        content: attr(data-hover);
        display: block;
        margin-top: .7em;
        font-size: 11px;
    }

    /* TOPボタン非表示 */
    #page_top .arrowbox{
        display: none;
    }
} 

