/*
Theme Name: Multi Index thumb
Version: 1.0
Description: 子サイトの一覧を出す
Author: OFFICE01
Author URI: https://www.bossraku.com
*/
*{
	word-wrap: break-word;
	word-break: break-all;
	box-sizing: border-box;
}
body{
	margin: 0;
}

a{
	color: #06c;
	transition: 0.3s ease-in-out;
}
a:hover{
	color: #f60;
}

.header-footer-group{
	text-align: center;
}
#site-header{
	border-bottom: 1px solid #ccc;
}
#site-header h1{
	margin-bottom: 0;
}
#site-header p{
	margin-top: 0;
	font-size: 0.9em;
}

#site-content{
	margin: 30px 1% 60px;
}

#site-footer{
	border-top: 1px solid #ccc;
	padding: 1em 0;
}




.wrap-gird{
	width: 100%;
	display: grid;	
	grid-template-columns: repeat(auto-fit, 100%);
}
@media screen and (min-width: 768px){
	.wrap-gird{
		gap: 3%;
		grid-template-columns: repeat(auto-fit, calc(94% / 3));
	}
}
@media screen and (min-width: 992px){
	.wrap-gird{
		gap: 3%;
		grid-template-columns: repeat(auto-fit, calc(91% / 4));
	}
}
.layout-grid__item{
	text-align: center;
}
.layout-grid__item h1{
	font-size: 100%;
	margin: 0;
}
.layout-grid__item h1 span{
	font-size: 0.8em;
	font-weight: 400;
	display: block;
}
.layout-grid__item a{
	display: inline-block;
	padding: 0.1em 0;
}
.layout-grid__item .small{
	font-size: 0.8em;
}
.layout-grid__item .small span{
	display: inline-block;
}

.layout-grid__item figure{
	width: 90%;
	border: 1px solid #ddd;
	margin: 0 auto 0.5em;
	position: relative;
	overflow: hidden;
	transition: 0.3s ease-in-out;
}
.layout-grid__item figure:before{
	content: "";
	display: block;
	padding-top: 75%;
}
.layout-grid__item figure img{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 100%;
	max-height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	transition: 0.3s ease-in-out;
	cursor: pointer;
}

.layout-grid__item figure:hover{
	box-shadow: 0 0 10px #aaa;
}
.layout-grid__item figure:hover img{
	transform: translate(-50%, -50%) scale(1.1);
}



/*
article{
	border-bottom: 1px solid #ccc;
}
article:nth-child(even){
	background-color: #fbf9f3;
}
article h1 span{
	font-size: 0.6em;
	font-weight: 400;
	display: block;
}
article a{
	display: inline-block;
	padding: 0.2em 0;
}
article .small{
	font-size: 0.85em;
}
*/