@charset "UTF-8";
    .menu-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    }

    .menu-wrapper input[type="checkbox"] {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    }

@media (max-width: 991px) { /* タブレット */ 


    .menu-icon {
    width: 40px;
    height: 30px;
    position: relative;
    /* top: 10px; */
    cursor: pointer;
    z-index: 3;
    display: inline-block;
    }

    .menu-icon span {
    display: block;
    height: 4px;
    margin: 6px 0;
    background: #333;
    border-radius: 2px;
    transition: 0.4s;
    }

    /* ハンバーガーがXに変形 */
    #menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    }
    #menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    }
    #menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    }

    /* オーバーレイ背景 */
    .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 1;
    }

    #menu-toggle:checked ~ .menu-overlay {
    opacity: 1;
    pointer-events: auto;
    }

    /* メニュー本体（左から出す） */
    .global-nav {
    position: fixed;
    top: 76px;
    right: -100%; /* ← 初期位置を左へ */
    width: 100%;
    height: auto;
    /* background: rgba(255,255,255,0.5); */
    /* box-shadow: 2px 0 8px rgba(0,0,0,0.2); */
    transition: right 0.4s ease;
    z-index: 999;
    }

    #menu-toggle:checked ~ .global-nav {
    right: 0; /* ← 開いたときは左0へ */
    }

    .global-nav ul {
    list-style: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
    }


    .global-nav a,
    .nav li a, nav li a {
    text-decoration: none;
    color: #fff;
    font-size: .8rem;
    transition: color 0.3s;
    padding: 10px 0;
    }

    .global-nav a:hover {
    color: #007bff;
    }

    body:not(.header_scrolled) .global-nav--layout--float-right {
        justify-content: flex-start;

    }
    .device-pc .global-nav-list > li > a {
        width: 100%;
    }
}
/* モバイル */
@media (max-width: 575px) { 
    .global-nav a {
    font-size: 1.0rem;
    }
}