* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    scroll-behavior: smooth;
    animation: disableScroll .1s linear 2.5s both;
    background-color: #d8d0d4;
    color: #041030;
}
a {
    text-decoration: none;
    color: #041030;
}
li {
    list-style: none;
}
img {
    width: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select:none;
    -moz-touch-callout:none;
    -moz-user-select:none;
	-webkit-user-drag: none;
    -khtml-user-drag: none;
    user-select:none;
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #d8d0d4;
}
.loaded {
    opacity: 0;
    visibility: hidden;
    transition: 3s ease-in-out 0s;
}
@keyframes
disableScroll {
    0%{
        overflow: hidden;
    }
    100%{
        overflow: auto;
    }
}
#mask {
    display: none;                                            
    height: 100vh;
    background: linear-gradient(#041030, #92889f);
    opacity: 0.7;
}
/* PC用スタイル */
@media screen and (min-width: 769px) {
    header {
        background: url("../images/mainvisual.webp") center center / cover no-repeat !important;
        background-attachment: fixed;
        height: 100vh;
        object-fit: cover;
        color: #fff; 
        font-family: "Sawarabi Mincho";
    }
    .fadeUp {
        animation-name: fadeUpAnime;
        animation-duration: 0.5s;
        animation-fill-mode: forwards;
        opacity: 0;
    }
    @keyframes
    fadeUpAnime {
        from {
            opacity: 0;
            transform: translateY(100px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    header img {
        display: inline-block;
        width: 50%;
        vertical-align: bottom;
    }
    header #logo {
        position: absolute;
        top: 25%;
        left: 35%;
        z-index: 1;
    }
    .menu-scroll {
        display: none;
        position: absolute;
        top: 110px;
        left: 25%;
        width: 50%;
    }
    .scroll {
        position: absolute;
        top: 550px;
        left: 51%;
        width: 1px;
        height: 150px;
        z-index: 120;
        display: none;
    }
    .scroll::after {
        content: "";
        position: absolute;
        top: 550px;
        width: 1px;
        height: 150px;
        background: #eee;
        animation: pathmove 1.4s ease-in-out infinite;
        opacity: 0;
        z-index: 120;
    }
    @keyframes pathmove {
        0% {
            height: 0;
            top: 0;
            opacity: 0;
        }
        30% {
            height: 40px;
            opacity: 1;
        }
        100% {
            height: 0;
            top: 150px;
            opacity: 0;
        }
    }
    h1 {
        position: relative;
        color: #92889f;
        text-align: center;
        font-size: 5vw;
        margin-top: 7vw;
    }
    .flex {
        display: flex;
        justify-content: space-around;
    }
    nav {
        height: 65vh;
        margin-top: 5vh;
    }
    nav .flex {
        padding: 3vw;
    }
    .navMenu {
        display: inline-block;
        position: relative;
        text-align: center;
        opacity: 0;
        width: 100%;
    }
    .navMenu img {
        width: 10vw;
        transition-duration: 0.5s;
        box-shadow: 3px 3px 3px #92889f;
    }
    .navMenu a:hover img {
        transform: rotate(10deg);
        transition-duration: 0.5s;
        cursor: pointer;
        box-shadow: 7px 7px 5px #92889f;
    }
    .navMenu a {
        display: block;
    }
    nav h2 {
        overflow: hidden;
        position: absolute;
        bottom: .7vw;
        right: 0;
        width: 100%;
        color: #333;
        font-family: 'Pinyon Script', cursive;
    }
    nav h2 span {
        font-size: 5vw;
        display: inline-block;
        transition: .5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
        transform: translate3d(0, 100%, 0) skewY(90deg);
        transform-origin: left;
        display: block;
    }
    .navMenu a:hover span {
        transform: translate3d(0, 0, 0) skewY(0);
    }
    .navMenu p {
        margin-top: 2.5vw;
        padding-left: 1.25vw;
        color: #796d88;
    }
    footer {
        text-align: center;
        color: #796d88;
        font-size: 10px;
        padding: 15px;
    }
    footer span {
        vertical-align: sub;
        font-size: 16px;
    }
}
/* スマホ用スタイル */
@media screen and (max-width: 768px) {
    header {
        background: #000 url("../images/mainvisual_sp.webp") center center no-repeat !important;
        background-attachment: fixed;
        height: 100vh;
        object-fit: cover;
        color: #fff; 
        font-family: "Sawarabi Mincho";
    }
    header img {
        display: inline-block;
        width: 75%;
        vertical-align: bottom;
    }
    header #logo {
        position: absolute;
        top: 23%;
        left: 20%;
        z-index: 1;
    }
    .menu-scroll {
        display: none;
        position: absolute;
        top: 110px;
        left: 25%;
        width: 50%;
    }
    .scroll {
        position: absolute;
        top: 400px;
        left: 51%;
        width: 1px;
        height: 150px;
        z-index: 120;
        display: none;
    }
    .scroll::after {
        content: "";
        position: absolute;
        top: 400px;
        width: 1px;
        height: 150px;
        background: #eee;
        animation: pathmove 2s ease-in-out infinite;
        opacity: 0;
        z-index: 120;
    }
    @keyframes pathmove {
        0% {
            height: 0;
            top: 0;
            opacity: 0;
        }
        30% {
            height: 40px;
            opacity: 1;
        }
        100% {
            height: 0;
            top: 150px;
            opacity: 0;
        }
    }
    h1 {
        position: relative;
        color: #92889f;
        text-align: center;
        font-size: 10vw;
        margin-top: 10vw;
    }
    nav ul {
        display: flex;
        flex-wrap: wrap;
    }
    .navMenu {
        text-align: center;
        width: 50%;
        margin: 10vw 0;
    }
    .navMenu img {
        width: 50%;
        filter: drop-shadow(5px 5px 1px #92889f);
    }
    .navMenu a:active img {
        opacity: 0.7;
        position: relative;
        top: 3px;
        left: 3px;
        filter: none;
    }
    .navMenu a {
        display: block;
        -webkit-highlight-color: rgba(0, 0, 0, 0);
    }
    nav h2 {
        font-size: 12vw;
        color: #4c4565;
        font-family: 'Pinyon Script', cursive;
        transition-duration: 0.3s;
    }
    .navMenu p {
        padding-left: 1.5vw;
        color: #796d88;
        font-size: 12px;
    }
    footer {
        text-align: center;
        color: #796d88;
        font-size: 10px;
        padding: 15px;
    }
    footer span {
        vertical-align: sub;
        font-size: 16px;
    }
}