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

.flex{
	display: flex;
	flex-direction: column; 
}
.flex .photo img{
	border-radius: 20px;
	display: block;
	margin: auto;
}

.flex .article {
	
}
.flex .article dl{
	margin: 10px;
}

.flex .article dl dt{
	background: #ebefec;
	border: 1px solid #9aaea2;
	padding: 5px;
	
}

.flex .article dl dd{
	padding: 5px;
}

#js-gallery{
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	align-content: flex-start;
}
#js-gallery li{
    width: calc(( (100vmin - 20px) / 3) );
    height: calc(( (100vmin - 20px) / 3) );
}

#js-gallery li img{
    width: calc(( (100vmin - 20px) / 3) - 6px);
    height: calc(( (100vmin - 20px) / 3) - 6px);
	object-fit: cover;
	display: block;
	margin: auto;font-family: 'object-fit: cover;'
}

.holder a.jp-disabled, a.jp-disabled:hover {
    color: #bbb;
}

.list{}

.list ul{
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	align-content: flex-start;	
}

.list ul li{
	margin: 5px;
	flex-basis: 15%;
	box-sizing: border-box;
}
.list ul li.dirlist{
	flex-basis: 30%;
}

.list ul li a{
	padding: 0;
	font-size: 1.2em;
	text-align: center;
	color: rgba(54,94,70,1);
	height: 50px;
	line-height: 50px;
	display: block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: rgba(213,247,226,.5);
    -webkit-transition: 0.3s ease-in-out;  
       -moz-transition: 0.3s ease-in-out;  
         -o-transition: 0.3s ease-in-out;  
            transition: 0.3s ease-in-out;  
}
.list ul li a span{
	font-size: .8em;
}

.list li.select a, .list li a:hover {
    background-color: rgba(54,94,70,1);
	color: #fff;
    text-decoration: none;
}
.holder a {
    font-size: 1rem;
}

@media screen and (min-width:768px) {
.holder a {
    font-size: 1.2rem;
}
.flex{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 20px;
}
.flex .photo {
	flex: 0 0 35%;
}
.flex .photo img{
	border-radius: 20px;
	display: block;
	margin: auto;
	width: 100%;
}

.flex .article {
	margin:0 10px;
}

.flex .article dl{
	display: flex;
	width: 100%;
	margin:0 ;
	border: 1px solid #9aaea2;
	border-bottom: 0px solid #9aaea2;
}

.flex .article dl dt{
	background: #ebefec;
	border: 0;
	border-right: 1px solid #9aaea2;
	padding: 15px;

	flex: 0 0 4em;
}

.flex .article dl dd{
	flex-basis: auto;
	padding: 15px;
	flex: 0 3 auto;
}
.flex .article dl:last-child{
	border-bottom: 1px solid #9aaea2;
}
#js-gallery li img{
	width: 160px;
	height: 160px;
	object-fit: cover; 
}
#js-gallery li{
    width: auto;
    height: auto;
    margin: 10px;
}

#js-gallery li img{
    width: 160px;
    height: 160px;
	object-fit: cover;
	display: block;
	margin: auto;
}
.list ul li.dirlist{
	flex-basis: 23%;
}

	
}