.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.5s ease;
}

/* 固定PCの時非表示 */
.menu-button-sp {
    display: none !important;
}
.logosp {
    display: none !important;
}

.menu {
    display: flex;
    justify-content: space-between;
    padding: 16px 60px;
    height: 60px;
    flex-wrap: wrap;
    transition: all 0.5s ease;
}

/* メニューリスト */
.menu-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    font-family: var(--eiji_font);
}

.logo a{
    display: flex;
    align-items: center !important;
    gap: 10px;
        flex-wrap: wrap;
        color: var(--black);
}

/* ＝＝＝＝＝＝＝ ヘッダースクロールスタイル ＝＝＝＝＝＝＝ */
/* ロゴフル */
.header.is-scroll .logo {
    display: none !important;
}

/* ロゴスモール */
.header.is-scroll .logosp {
    display: block !important;
    text-align: center;
}

.header.is-scroll {
    background-color: var(--white);
    box-shadow:
        inset -5px -5px 10px 0px #ffffff80,
        inset 5px 5px 10px 0px #d0d0d04d,
        -1px 5px 10px 0px #d0d0d04d;
    width: 140px;
    right: 0px;
    top: 50%;
    left: auto;
    padding: 2rem;
    border-radius: 30px 0 0 30px;
}
.header.is-scroll .menu {
    height: auto;
    padding: 0;
    flex-direction: column-reverse;
}

.header.is-scroll .menu-list {
    flex-direction: column;
}

/* ＝＝＝＝＝＝＝ SP ＝＝＝＝＝＝＝ */
@media screen and (max-width: 768px) {
    .menu-item {
        font-size: 16px;
        line-height: 1;
        padding-bottom: 1rem;
    }
    .menu-itemsp {
        padding-bottom: 0;
    }

    .menu {
        justify-content: center;
    }

    .header.is-scroll .menu-button-sp {
        display: block !important;
    }

    .menu-list {
        display: none;
    }

    .header.is-scroll .menu-list {
        display: block;
    }

    /* Menuボタン装飾 */
    .menu-button-sp {
        border: none;
        background: none;
        cursor: pointer;
        font-size: 1.5rem;
        font-family: var(--eiji_font);
        color: var(--main_color);
    }

    /* 初期状態 */
    .open-button {
        display: inline;
    }
    .close-button {
        display: none;
    }

    /* ヘッダーがスクロール状態のときも close-button は非表示にしておく */
    .header.is-scroll .close-button {
        display: none;
    }

    /* メニューが開いたときに切り替え */
    .header.menu-open.is-scroll .open-button {
        display: none;
    }
    .header.menu-open.is-scroll .close-button {
        display: block;
    }

    /* メニューリスト初期値 */
    .menu-list-section {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: all 0.4s ease;
    }

    .header.is-scroll {
        top: 1%;
        padding: 1rem;
        right: -50px;
    }

    /* クリック後 */
    .menu.is-open .menu-list-section {
        padding: 1rem 0.5rem 0;
        max-height: 600px;
        opacity: 1;
    }
    .header.is-scroll.menu-open {
        width: 70%;
        transition: width 0.4s ease;
    }
}

/* 暗転演出 */
.is-none {
    display: none;
}
