/*
Theme Name: My Theme
Author: Your Name
Description: My First WordPress Theme
Version: 1.0
Text Domain: mytheme
*/

body {
    margin: 0;
    background-color: #f7f7f7;
    color: #333;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}

.header {
    background-color: #000000;
}

.header__inner {
    width: 100%;
    margin: auto;
    padding: 10px 0;
}

.site-name {
    margin: 0;
    font-size: 20px;
}

    .site-name a {
        color: currentColor;
        text-decoration: none;
    }

.contents {
    padding: 40px 0;
}



body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130vh;
    background: white;
}

canvas {
    pointer-events: none;
}







/*
動く背景
*/
body {
    background: url("img/haikei.png");
    animation: bgiLoop 20s linear infinite;
}

@keyframes bgiLoop {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1000px -1000px;
    }
}


/* フォント変更 */
h2 {
    font-family: "dotgothic16","sans-serif","athena";
    font-size: 60px;
}


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


ul {
        overflow: hidden;
        list-style: none;
        margin: 0 auto;
        z-index: 20;
}

ul li {
        display: inline-block;
        padding: 26px 10px 20px 10px;
}

a {
        color: #fff;
        text-transform: uppercase;
}

.btn4 {
        text-transform: uppercase;
        text-align: center;
        position: relative;
        text-decoration: none;
        display: inline-block;
}

    .btn4::before {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0px;
            width: 100%;
            height: 2px;
            background: #3367ff;
            display: block;
            -webkit-transform-origin: right top;
            -ms-transform-origin: right top;
            transform-origin: right top;
            -webkit-transform: scale(0, 1);
            -ms-transform: scale(0, 1);
            transform: scale(0, 1);
            -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
            transition: transform 0.4s cubic-bezier(1, 0, 0, 1)
    }

    .btn4:hover::before {
            -webkit-transform-origin: left top;
            -ms-transform-origin: left top;
            transform-origin: left top;
            -webkit-transform: scale(1, 1);
            -ms-transform: scale(1, 1);
            transform: scale(1, 1)
    }

.btn2 {
        text-transform: uppercase;
        text-align: center;
        position: relative;
        text-decoration: none;
        display: inline-block;
        border-bottom: 2px solid #3367ff;
}


/*
画像フェードイン右 

*/
.scroll-fade-in {
    background: url("img/test.png");
    width: 960px;
    height: 540px;
    opacity: 0;
    transform: translateY(0px);
    transform: translateX(0px);
    transition: all 1s ease-out;
}

    .scroll-fade-in.visible {
        background: url("img/test.png");
        width: 960px;
        height: 540px;
        opacity: 1;
        transform: translateY(0);
        transform: translateX(0);
    }


