@charset "UTF-8";
/* CSS Document */

#page_title{
background-image: url("images/page_title.jpg");
}

/* 中身-モバイルファースト======================================================================================================== */
#contents .inner{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#contents .article{
width: 40vw;
margin: 20px 0 0;
text-align: center;
}
#contents .article a{
display: block;
text-decoration: none;
}
#contents .article .photo{
width: 40vw;
height: 40vw;
overflow: hidden;
margin-bottom: 10px;
}
#contents .article .photo img{
height: 40vw;
object-fit: cover;
border-radius: 40vw;
}
#contents .article h4{
font-size: 16px;
white-space: nowrap;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}
#contents .article p{
white-space: nowrap;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}



/* PCのみ======================================================================================================== */
@media print, screen and (min-width: 751px){
#contents .inner{
justify-content: flex-start;
}
#contents .article{
width: 300px;
margin-left: 50px;
margin-top: 50px;
}
#contents .article:nth-child(-n+3){
margin-top: 0px;
}
#contents .article:nth-child(3n-2){
margin-left: 0px;
}
#contents .article .photo{
width: 300px;
height: 300px;
}
#contents .article .photo img{
height: 300px;
border-radius: 300px;
}
#contents .article h4{
font-size: 20px;
}



}

