@charset "utf-8";

/*
Base style
*/

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

body {
    font-family:  'Shippori Mincho B1', 'Noto Sans JP', sans-serif, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    height: 100%;
    width: auto;
    background-color:  rgb(0, 150, 0);
    overflow-x: scroll;
    display: flex;
    writing-mode: vertical-rl;
}

header {
    width: 100px;
    height: 100%;
    margin: 0px; 
    padding: 0px;
    background-color: rgb(0, 100, 0);
    position: absolute;
    display: flex;
    top: 0px;
    right: 0px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    box-shadow: -15px 0px 30px;
    z-index: 10;
}

.headerContent{
    display: flex;
    background-image: url("../images/backgroundHeader.webp");
    height: 65%; 
    align-items: center;
    margin: auto;
    background-size: 100% 100%;
}

.headerLogo {
    top: 20px;
    margin: 0px;
    margin-bottom: 0px;
    height: 120px;
}

.headerLogo img {
    width: 80px;
    height: 80px;
    margin: auto;
    padding: 0px;
}

.headerTitle {
    top: 0px;
    height: auto;
    margin: auto;
    margin-top: 0px;
    text-align: center;
}

main {
    position: absolute;
    top: 0px;
    right: 100px;
    left: 30px;
    overflow-x: scroll;
    width: auto;
    height: 98%;
    background-image: url("../images/backgroundOldpaper.webp");
    background-size: 100% 100%;
    margin: 0px;
    padding-left: 50px;
}

main article {
    margin: 25px 15px 5px 5px;
    padding: 25px 15px 5px 5px;
}

main h2 {
    font-size: 2em;
}

main article section {
    margin: 15px 15px 25px 25px;
    padding: 25px 15px 15px 15px;
    border: solid 3px black;
    border-radius: 15px;
    box-shadow: -10px -10px 20px;
}

.contentImg {
    height: 95%;
}

footer {
    width: 30px;
    height: 100%;
    background-color: rgb(0, 100, 0);
    position: absolute;
    top: 0px;
    left: 0px;
    box-shadow: 15px 0px 30px;
}

footer p {
    color: white;
    padding: auto;
    padding-top: 40%;
}



@media screen and (max-width: 768px) {
    body {
        font-family:  'Shippori Mincho B1', 'Noto Sans JP', sans-serif, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
        font-size: 18px;
        line-height: 1.5;
        height: auto;
        width: 100vw;
        background-color:  rgb(0, 150, 0);
        overflow-y: scroll;
        writing-mode: horizontal-tb;
    }    
    
    header {
        width: 100%;
        height: 50px;
        margin: 0px; 
        padding: 0px;
        background-color: rgb(0, 100, 0);
        position: fixed;
        display: flex;
        top: 0px;
        left: 0px;
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
        box-shadow: -15px 0px 30px;
        z-index: 10;
        }

        .headerContent{
            display: flex;
            background-image: url("../images/backgroundHeader.webp");
            height: 45px;
            width: 80%; 
            align-items: center;
            margin: auto;
            background-size: 100% 100%;
        }
        
        .headerLogo {
            top: 0px;
            margin: 0px;
            margin-left: 30px;
            margin-right: 0px;
            height: 45px;
        }
        
        .headerLogo img {
            width: 40px;
            height: 40px;
            margin: auto;
            padding: 0px;
        }
        
        .headerTitle {
            height: auto;
            margin: auto;
            margin-top: 0px;
            margin-left: 10px;
            text-align: center;
            font-size: 1.8rem;
        }
        
        main {
            position: absolute;
            top: 50px;
            right: 0px;
            left: 0px;
            overflow-x: visible;
            width: 100%;
            height: auto;
            background-image: url("../images/backgroundOldpaper2.webp");
            background-size: 100% 100%;
            margin: 0px;
            padding: 0px;
            padding-bottom: 50px;
        }
        
        main article {
            margin: 5px;
            margin-top: 15px;
            padding: 5px;
        }
        
        main article h2 {
            font-size: 1.5em;
        }

        .contents section {
            margin-top: 20px;
            border: solid 1px black;
            border-radius: 10px;
            box-shadow: 5px 5px 10px;
        }

        .contents section h2 {
            margin-left: 5px;
        }

        .contents section p {
            margin-left: 15px;
        }

        .contentImg {
            width: 100%;
            height: auto;
            padding: 5px;
        }

        footer {
            width: 100%;
            height: 20px;
            background-color: rgb(0, 100, 0);
            box-shadow: 0px;
            position: fixed;
            bottom: 0px;
            top: auto;
        }
        
        footer p {
            color: white;
            padding: auto;
            padding-top: 0px;
            padding-left: 35%;
            font-size: 0.8rem;
        }
        
        }



