html,body {
    height: 100%;
}

body {
    background-image: url('./../img/background.png');
    background-repeat: repeat;
    background-size: 70px;
    margin: 0;
    font-family: "Arial", sans-serif;
    font-size: 13pt;
}

.container {
    display: flex;
    width: 100%
}

.menu-content {
    text-align: center;
    background-image: url('./../img/menu_bg.jpg');
    background-repeat: repeat;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
    width: 200px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: transform 0.3s ease;
    z-index: 100;
    border-right: 4px ridge;
    padding: 0 20px;
}

.menu-content img {
    width: 100%;
    max-width: 170px;
    margin-left: -7px;
}

.menu-content li {
    list-style: none;
    margin-left: -40px;
    margin-bottom: 15px;
}

.menu-content ul {
    background: white;
    border-radius: 20px;
    border: 5px ridge #8f4400;
    padding-top: 30px;
    padding-bottom: 10px;
    width: 100%;
    max-width: 150px;
    margin-top: -35px;
}

.logo img {
    width: 100%;
    max-width: 200px;
}

main {
    flex-grow: 1;
    transition: all 0.3s;
    text-align: center;
    padding-bottom: 100px;
}

footer {
    position: fixed;
    transition: all 0.3s;
    bottom: 0;
    background: black;
    color: white;
    font-size: 10pt;
    width: 100%;
    padding: 5px;
    text-align: center;
    z-index: 110;
}

#nav-input {
    display: none;
}

/* スマホ用設定 (768px以下) */
@media screen and (max-width: 768px) {
    body {
        font-size: 10pt;
    }

    /* メニューを画面外へ隠す */
    .menu-content {
        transform: translateX(-100%);
        width: 150px;
    }
    .menu-content {
        text-align: center;
        background-image: url('./../img/menu_bg.jpg');
        background-repeat: repeat;
        background-color:rgba(255,255,255,0.6);
        background-blend-mode:lighten;
    }

    .menu-content img {
        margin: auto;
    }

    .menu-content li {
        list-style: none;
        margin-left: -40px;
        margin-bottom: 10px;
    }

    .menu-content ul {
        max-width: 110px;
    }

    /* チェックが入ったらメニューを表示 */
    #nav-input:checked ~ .menu-content {
        transform: translateX(0);
    }

    /* ハンバーガーアイコンの見た目 */
    .nav-open {
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        right: 10px;
        top: 10px;
        width: 34px;
        height: 34px;
        background: beige;
        cursor: pointer;
        z-index: 110;
        border-radius: 5px;
    }

    .nav-open span, .nav-open span:before, .nav-open span:after {
        content: '';
        display: block;
        height: 3px;
        width: 18px;
        border-radius: 3px;
        background: black;
        position: absolute;
    }

    .nav-open span:before { bottom: 8px; }
    .nav-open span:after { top: 8px; }
}

/* PC用設定 (769px以上) */
@media screen and (min-width: 769px) {
    .nav-open {
        display: none; /* PCではハンバーガーを表示しない */
    }

    /* メインコンテンツに余白を作る（サイドバーと重ならないように） */
    main {
        margin-left: 244px;
    }
}
