/* body */

body{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

/* 固定要素 */

.site_header{
    position: fixed;
    top: 0%;
    left: 0%;
    width: 30%;
    height: 100vh;
    background-color: #070707;
}

.site_header ul{
    list-style: none;
    padding: 0;
}

.site_header li{
    margin: 10%,0%;
    padding: 1% 0%;
}

.site_header a{
    text-decoration: none;
    color: #f8f8f8;
}

.site_header a:hover{
    text-decoration: underline;
    color: #f8f8f8;
}

.site_header img{
    width: 4%;
    padding: 1% 0%;
}

.site_header_nav{
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

@media screen and (max-width:844px) {

    .site_header{
        position: fixed;
        width: 100%;
        height: 8%;
        background-color: #070707;
    }
    
    .site_header ul{
        list-style: none;
        padding-left: 10%;
        padding-top: 14%;
        display: flex;
        justify-content: center;
    }
    
    .site_header li{
        padding: 0% 3%;
    }
    
    .site_header a{
        text-decoration: none;
        font-size: 3rem;
        font-weight: 300;
        color: #f8f8f8;
    }
    
    .site_header a:hover{
        text-decoration: underline;
        color: #f8f8f8;
    }

    .header_img{
        max-width: 100%;
        display: none;
    }
    
    .site_header img{
        display: none;
    }
    
    .site_header_nav{
        width: 100%;
        height: 8%;
        display: flex;
        align-items: center;
        text-align: center;
    }
}

/* FOOTER */

footer{
    text-align: center;
    color: #707070;
}

/* メイン要素 */

main{
    margin-left: calc(30% + 10% + 4%);
}

@media screen and (max-width:844px) {
    main{
        margin: 20% 0%;
        margin-left: 7.5%;
        margin-right: 7.5%;
    }
}

/* h1 */

h1{
    margin-top: 20%;
    font-size: 2.5rem;
    font-weight: 300;
}

@media screen and (max-width:844px) {
    h1{
        margin-top: 20%;
        font-size: 5rem;
        font-weight: 300;
    }
}

/* TOP */

.top{
    margin-top: 6%;
}

.top_img{
    width: 30%;
}

.top img{
    width: 100%;
}

.top h2{
    font-size: 2.5rem;
    font-weight: 300;
}

.post p{
    color: #707070;
    font-size: 1rem;
    font-weight: 200;
}

.top_about p{
    font-size: 1.5rem;
    font-weight: 200;
}

@media screen and (max-width:844px) {
    .top{
        margin-top: 6%;
    }
    
    .top_img{
        width: 70%;
    }
    
    .top img{
        width: 100%;
    }
    
    .top h2{
        font-size: 4rem;
        font-weight: 300;
        line-height: 1.5;
    }
    
    .post p{
        color: #707070;
        font-size: 2rem;
        font-weight: 200;
        line-height: 1.5;
    }
    
    .top_about p{
        font-size: 3rem;
        font-weight: 200;
        line-height: 1.5;
    }
}

/* CONTACT */

.contact{
    margin-top: 10%;
}

.contact h2{
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1%;
}

.contact p{
    color: #f8f8f8;
    font-size: 1.5rem;
    font-weight: 200;
}

.contact a{
    text-decoration: none;
    color: #f8f8f8;
    font-size: 1.5rem;
    font-weight: 200;
}

.contact a:hover{
    text-decoration: underline;
    color: #f8f8f8;
}

@media screen and (max-width:844px) {
    .contact{
        margin-top: 10%;
    }
    
    .contact h2{
        font-size: 4rem;
        font-weight: 300;
        margin-bottom: 1%;
        line-height: 1.5;
        text-decoration: underline;
    }
    
    .contact p{
        color: #f8f8f8;
        font-size: 3rem;
        font-weight: 200;
        line-height: 1.5;
    }
    
    .contact a{
        text-decoration: none;
        color: #f8f8f8;
        font-size: 3rem;
        font-weight: 200;
        line-height: 1.5;
    }
    
    .contact a:hover{
        text-decoration: underline;
        color: #f8f8f8;
    }
}

/* TOOLS */

.tools{
    margin-top: 10%;
}

.tools h2{
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1%;
}

.tools p{
    color: #f8f8f8;
    font-size: 1.5rem;
    font-weight: 200;
}

@media screen and (max-width:844px) {
    .tools{
        margin-top: 10%;
    }
    
    .tools h2{
        font-size: 4rem;
        font-weight: 300;
        margin-bottom: 1%;
        line-height: 1.5;
        text-decoration: underline;
    }
    
    .tools p{
        color: #f8f8f8;
        font-size: 3rem;
        font-weight: 200;
        line-height: 1.5;
    }
}

/* LOG */

.log{
    margin: 10% 0%;
}

.log h2{
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1%;
}

.log p{
    color: #f8f8f8;
    font-size: 1.5rem;
    font-weight: 200;
}

@media screen and (max-width:844px) {
    .log{
    margin: 10% 0%;
}

.log h2{
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1%;
    line-height: 1.5;
    text-decoration: underline;
}

.log p{
    color: #f8f8f8;
    font-size: 3rem;
    font-weight: 200;
    line-height: 1.5;
}
}