﻿/* 固定シェアボタン
------------------------------------------------- */
#snsButtonWrap {
    position: relative;
    bottom: 0;
    margin: 0 0 0 auto;
    width: 50px;
    height: 50px;
}

.snsButton {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #876C8F;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 10;
}

    .snsButton:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        margin: 0 auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
    }

.twitter:before {
    background: url(../img/share/twitter_x.png) no-repeat center center;
    background-size: 100%;
}

.line:before {
    background: url(../img/share/line.png) no-repeat center center;
    background-size: 100%;
}

.fb:before {
    background: url(../img/share/fb.png) no-repeat center center;
    background-size: 100%;
}

.share:before {
    background: url(../img/share/share.png) no-repeat center center;
    background-size: 100%;
}



/* PC設定 */
@media (min-width: 1281px) {
    #f-nav-pc {
        /*bottom: 0;
        width: 50px;*/
    }

        #f-nav-pc a {
            border: none;
        }

    #f-nav {
        display: none;
    }

    .openbtn {
        display: none;
    }

    #f-nav-list ul li {
        width: 50px;
        margin-bottom: 15px;
    }

    #f-nav-list img {
        width: 100%;
    }
}


/*SP設定*/
@media (max-width: 1280px) {
    #f-nav-pc {
        display: none;
    }

    #f-nav {
        position: fixed;
        z-index: 100;
        bottom: -120%;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255,255,255,0.6);
        transition: all 0.6s;
    }

        #f-nav a {
            text-decoration: none;
            border: none;
            opacity: 0;
            transition: all 1.5s ease-in-out;
        }

        #f-nav.panelactive {
            bottom: 0;
        }

            #f-nav.panelactive a {
                opacity: 1.0;
            }

        #f-nav ul {
            position: absolute;
            z-index: 10;
            bottom: 25%;
            right: 30px;
        }

        #f-nav li {
            list-style: none;
            text-align: center;
            margin-bottom: 10px;
        }

            #f-nav li a {
                color: #333;
                text-decoration: none;
                padding: 0;
                display: block;
                text-transform: uppercase;
                letter-spacing: 0em;
                font-weight: bold;
            }

                #f-nav li a img {
                    width: 50px;
                }

    .openbtn {
        cursor: pointer;
        width: 50px;
        height: 50px;
        opacity: 0;
        z-index: 150;
    }

        .openbtn p {
            width: 50px;
            height: 50px;
            align-items: center;
        }

        .openbtn img {
            width: 50px;
        }

        .openbtn.active img {
            opacity: 0.7;
        }

        .openbtn.UpMove {
            animation: UpAnime 0.5s forwards;
        }

    @keyframes UpAnime {
        from {
            opacity: 0;
            transform: translateY(150px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    .openbtn.DownMove {
        animation: DownAnime 0.5s forwards;
    }

    @keyframes DownAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 1;
            transform: translateY(150px);
        }
    }
}

@media (max-width: 768px) {
    .openbtn img {
        width: 12vw;
    }

    #f-nav ul {
        bottom: 250px;
        right: 2%;
    }

    #f-nav li {
        margin-bottom: 25px;
    }

        #f-nav li a img {
            width: 10vw;
        }

    .openbtn.DownMove {
        animation: DownAnime 0.5s forwards;
    }

    @keyframes DownAnime {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 1;
            transform: translateY(200px);
        }
    }
}
