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


html,
body {
    width: 100%;
    height: 100%;
}		
#wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e7e7e7;
}
.menu {
	margin: auto;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.menu li {
	width: 200px;
	margin: 15px 10px;
	font-size: 1.5rem;
}
/* 4個目から折り返し */
.menu::after {
    content: '';
    width: 100%;
}
.menu li:nth-child(n+4) {
    order: 1;
}

.menu li p {
	line-height: 1;
}
.menu li .icon {
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.menu li .icon:hover {
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.menu li .icon a  {
	display: block;
}
.menu li .icon img  {
	width: 100%;
    height: auto;
}
.menu li .txt {
	margin-top: 15px;
    text-align: center;
}

@media screen and (min-width: 820px) {
    
    .menu {
        max-width: 880px;
    }

}

