@charset "utf-8";

html{
    font-size: 62.5%;
    color: #666;
}

body{
    font-size:1.4rem;
    line-height: 1.3;
    font-family: 'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    letter-spacing: 0.2rem;
}

body,
.maincontainer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fcfcfc;
}

footer {
  margin-top: auto;
}

li, ul{
    list-style-type: none;
}

a{
    color: #666;
    text-decoration: none;
    transition: 0.5s;
}

a:hover{
    opacity: 0.8;
}

img{
    max-width: 100%;
}

.maincontainer{
    width: 850px;
    min-width: 800px;
    margin: 0 auto;
}

.topmenu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 1.3rem;
}

.topmenu li{
    margin-left: 15px;
}

.topmenu li:first-child{
    margin-left: 0;
}

.mainlogo{
    margin-right: auto;
}

/* .sitetitle a{
    font-size: 4rem;
    font-family: 'Cantora One', sans-serif;
    color: #0E345F;
} */

.sitetitle img{
    width: 125px;
}

.listicon {
    margin-right: 5px;
}

.pagetitle{
    font-size: 1.8rem;
}

.photolist{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.photolist_inner {
    width: 250px;
    height: 330px;
    margin: 16px auto;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    position: relative;
    z-index: 1;
    box-shadow: 1px 1px 10px #eeeeee;
    background: #fff;
}


.photolist_inner a{
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
    z-index: 2;
}
.photolist_inner a:hover{
    opacity: 0.8;
    box-shadow: 1px 1px 10px #d8d8d8;
}

.photobox{
    overflow: hidden;
    width: 250px;
    height: 250px;
    position: relative;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(to bottom, #d5e7da 0%, #e9f2e8 50%, #e9ede2 100%), linear-gradient(to bottom, rgba(0,0,0,0.02) 50%, rgba(255,255,255,0.02) 61%, rgba(0,0,0,0.02) 73%), linear-gradient(33deg, rgba(255,255,255,0.20) 0%, rgba(0,0,0,0.20) 100%);
    background-blend-mode: normal,color-burn;
}

.photobox img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.postitle {
    font-weight: bold;
    padding: 8px 10px;
}

.postdate {
    position: absolute;
    bottom: 0;
    right: 0;
    color: #b8b8b8;
    padding: 5px;
    z-index: 0;
    font-size: 1.2rem;
}

footer{
    font-size: 1.2rem;
    position: relative;
}

.totop{
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 0.8;
  text-align: center;
  z-index: 3;
  background: #fff;
}
.totop a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
}
.totop a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 2.5rem;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
}
.totop a::after{
    content: 'PAGE TOP';
    font-size: 1.2rem;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    letter-spacing: 0;
}

.copy {
    text-align: center;
    margin: 30px 0 15px;
}

@media screen and (max-width: 768px){
    .sitetitle img {
        width: 110px;
    }
    .maincontainer {
        max-width: 96%;
        min-width: auto;
        margin: 0 auto;
    }
    .photolist_inner {
        width: 220px;
        height: 290px;
        margin: 12px auto;
    }
    .photobox {
        width: 220px;
        height: 220px;
    }
    .copy {
        margin: 30px;
    }
}

@media screen and (max-width: 414px){
    .sitetitle img {
        width: 95px;
    }
    .photolist_inner {
        width: 170px;
        height: 240px;
        margin: 10px auto;
        font-size: 1.3rem;
    }
    .photobox {
        width: 170px;
        height: 170px;
    }
    .totop a {
    width: 70px;
    height: 70px;
    }
    .totop a::before{
    font-size: 2.2rem;
    width: 20px;
    height: 10px;
    top: -40px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    }
    .totop a::after{
    content: 'PAGE TOP';
    font-size: 1rem;
    position: absolute;
    top: 45px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    }
    
}

@media screen and (max-width: 375px){
    .photolist_inner {
        width: 160px;
        height: 230px;
        margin: 8px auto;
    }
    .photobox {
        width: 160px;
        height: 160px;
    }
    .copy {
        font-size: 1.2rem;
    }
    
}

@media screen and (max-width: 360px){
    .photolist_inner {
        width: 150px;
        height: 220px;
        margin: 8px auto;
    }
    .photobox {
        width: 150px;
        height: 150px;
    }
    .postitle {
        font-size: 1.3rem;
    }
    .copy {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 320px){
    .sitetitle img {
        width: 88px;
    }
    .photolist_inner {
        width: 130px;
        height: 200px;
        margin: 8px auto;
        font-size: 1.4rem;
    }
    .photobox {
        width: 130px;
        height: 130px;
    }
    .postitle {
    font-size: 1.15rem;
    }
    .copy {
        font-size: 1.2rem;
    }
    
}

@media screen and (max-width: 280px){
    .photolist_inner {
        width: 115px;
        height: 185px;
        margin: 8px auto;
        font-size: 1.4rem;
    }
    .photobox {
        width: 115px;
        height: 115px;
    }
}