@charset "UTF-8";
*,
*:before,
*:after {
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto, "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: 500;
    /*Medium*/
    height: 100%;
    width: 100%;
}

a{
color: #fff;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.wrapp {
    width: 100%;
    margin: 0 auto;
}

.list {
    width: 100%;
    background-color: #000;
    padding: 0.5em 0;
}

.meihan {
    width: 100%;
}

ul.photos {
    width: 100%;
    margin: 0px auto;
    list-style: none;
    text-align: left;
}

ul.photos li {
    display: inline-block;
    width: 24%;
    margin-right: 1.3%;
    margin-bottom: 0.2em;
}

ul.photos li:nth-child(4n+4) {
    margin-right: 0;
}

ul.photos img {
    width: 100%;
    border: solid 1px #fff;
}

figcaption {
    width: 100%;
    font-size: 80%;
    text-align: center;
    margin-bottom: 1em;
}

.center {
    margin: 0 auto;
    text-align: center;
    width: 90%;
}

.left {
    width: 50%;
    float: left;
}

.left im {
    width: 50%;
}

h1,
h2,
h3 {
    margin: 0auto;
    text-align: center;
    font-size: 200%;
    background-color: yellow;
    padding: 0.5em;
}

h2,
h3 {
    font-size: 150%;
}

h1 {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    /* 767px以下用（タブレット／スマートフォン用）の記述 */
    .meihan {
    width: inherit;
    max-width: 100%;
    }
    .list {
        padding: 1em;
    }
    .wrapp {
        width: 85%;
        margin: 0 auto;
    }
    ul.photos li {
        display: inline-block;
        width: 16.3%;
        margin-right: 0.4%;
    }
    
    ul.photos li:nth-child(4n+4){
    margin-right:0.4%;
    }
    
    ul.photos li:nth-child(6n+6) {
        margin-right: 0;
    }
}