
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
}

html, body {
    font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    overflow-x: clip;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.site-title {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 36px;
}


/* openメニュー 共通
========================================================== */

.open-menu {
    font-family: "Caveat", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 24px;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 500px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 4;
    transition: transform 0.5s ease-in-out;
}

.open-menu #open_nav .open-list {
    position: relative;
    top: 75px;
    left: 75%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: start;
    list-style: none;
    color: #746d6d;
    padding: 0;
    margin: 0;
}

.open-menu #open_nav .open-list li .inner-title {
    margin: 15px 0;
}

.open-menu #open_nav .open-list li .inner-title a {
    color: #746d74;
}

.open-menu #open_nav .open-list li ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    list-style: none;
}

.open-menu #open_nav .open-list li ul a {
    display: block;
    text-decoration: none;
    text-indent: 0.5rem;
    color: #746d6d;
    margin: 7px 0;
}


/* closeボタン 共通
========================================================== */

.open-menu .close-btn {
    position: relative;
    top: 10px;
    left: 95%;
    transform: translateX(-100%);
    width: 100px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.open-menu .close-btn:hover {
    opacity: 0.8;
}

.open-menu .close-btn:active {
    opacity: 0.7;
}

.open-menu .close-btn img {
    width: 100%;
}


/* アニメーション一覧
======================================================== */

@keyframes moveLoop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.075);
    }
    100% {
        transform: scale(1);
    }
}


/* メティアクエリ
======================================================== */

@media screen and (max-width: 1024px) {


    /* openメニュー
    ========================================================== */

    .open-menu {
        width: 100%;
        font-size: 20px;
    }

    /* closeボタン
    ========================================================== */

    .open-menu .close-btn {
        width: 100px;
    }

    .open-menu .close-btn img {
        width: 100%;
    }

}

