@charset "UTF-8";
html{
    font-size: 100%;
}
body{
    background-color: #fff8e0;
    font-family: 'M PLUS 1 Code', sans-serif;
    font-family: 'Sawarabi Gothic', sans-serif;
    line-height: 1.7;
    color: #26120a;
    text-align: center;
}
/*　ヘッダー　*/
a{
    text-decoration: none;
}
img{
    max-width: 100%;
}
.logo{
    justify-content: center;
    width: 210px;
    margin-top: 14px;
}
.main-nav{
    display: flex;
    justify-content: center;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 24px;
    margin-bottom: 24px;
    list-style: none;
}
.main-nav li{
    margin-left: 36px;
}
.main-nav a{
    color: #26120a;
}
.main-nav a:hover{
    color: #fcc800;
}
/* タイトル　*/
h2{
    font-size: 2rem;
}
.wrapper p{
    margin-bottom: 30px;
}
/*　作品　*/
main{
    width: 74%;
}
.main-contents{
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}
.grid{
    display: grid;
    grid-gap: 26px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-bottom: 26px; 
}
/* サイドバー　*/
aside{
    width: 10%;
}
aside {
    text-align: left;
    padding: 0 8px 0 16px;
}
.sub-title{
    font-size: 1.375rem;
    padding:  0 8px 0 8px;
    border-bottom: 3px #fcc800 solid;
    font-weight: normal;
}
.sub-menu{
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu a{
    color: #26120a;
    padding: 5px;
    display: block;
}
.sub-menu a:hover{
    color: #fcc800;
}
/*　フッター　*/
.page-footer{
    background-color: #26120a;
    color: #fff8e0;
}
.main-nav2{
    display: flex;
    justify-content: center;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 24px;
    padding: 12px;
    list-style: none;
}
.main-nav2 li{
    margin-left: 36px;
}
.main-nav2 a{
    color: #fff8e0;
}
.main-nav2 a:hover{
    color: #fcc800;
}
.twitter{
    justify-content: center;
    width: 60px;
    margin-bottom: 14px;
}
.booth{
    justify-content: center;
    width: 170px;
    margin-bottom: 14px;
}
/* モバイル版
-----------------------------------　*/
@media (max-width: 600px){
    .pege-header{
        flex-direction: column;
        align-items: center;
    }
/* ヘッダー */
    .logo{
        width: 80px;
        margin-top: 7px;
    }
    .main-nav{
        font-size: 0.5rem;
    }
    .main-nav li{
        margin: 10px;
    }
/* 作品 */
    .main-contents{
        flex-direction: column;
    }
    main,
    aside{
        width: 100%;
    }
    h2{
        font-size: 1.2rem;
    }
   aside{
       font-size: 0.8rem; 
    }
   h3{
       font-size: 1.2rem;
    }
    p{
        font-size: 0.8rem;
    }
    .grid{
        grid-template-columns: auto;
        grid-row: auto;
    }
    .grid img{
        height: auto;
        width: 200px;
    }
/* フッター */
    .main-nav2{
        font-size: 0.5rem;
        margin-top: 10px;
    }
    .main-nav2 li{
        margin: 0 10px;
    }
    .twitter{
        justify-content: center;
        width: 30px;
        margin-bottom: 10px;
}
    .booth{
        justify-content: center;
        width: 85px;
        margin-bottom: 10px;
}
}