@charset "utf-8";


.list{
	text-align: center;
	padding: 0 10%;
	margin-top: 30px;
}
.list li{
	display: inline-block;
	margin-right: 30px;
}
.list li a {
	color: #4d4d4d;
	border-bottom: 1px dotted #ea973b;
}
#style .cate{
	margin: 0 10%;
	margin-bottom: 3%;
}
#style .cate_title{
	font-size: 1.05rem;
	margin-bottom: 10px;
}
#style .contents{
	border: 1px dotted #4d4d4d;
	border-radius: 20px;
}
#style .box_wrap{
	display:-webkit-box;
	display:-moz-box;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:-moz-flex;
	display:flex;
	-webkit-box-lines:multiple;
	-moz-box-lines:multiple;
	-webkit-flex-wrap:wrap;
	-moz-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 90%;
}
#style .box{
	width: 25%;
	max-width: 300px;
	padding: 10px;
	margin-top: 30px;
}
#style .box figure{
	padding: 10px;
	margin: 0 10px;
	position: relative;
	overflow: hidden;
}
#style .box figure img{
	position: absolute;
	top:50%;
	left: 50%;
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}
#style .box .box_title{
	color: #ea973b;
	font-size: 1.05em;
	margin-top: 10px;
}
#style .box .box_title:empty{
	display: none;
}
#style .box .box_txt{
	text-align: left;
	padding: 0 10px;
	margin-top: 10px;
}
#style .box .box_txt:empty{
	display: none;
}
#style .cate .retop{
	padding: 0 10px;
	cursor: pointer;
	margin-top: 5%;
	margin-bottom: 1%;
}

/*（1200px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 1200px){
	section{
		padding: 5% 3%;
	}
	#style .cate{
		margin: 0 5%;
		margin-bottom: 5%;
	}
	#style .box_wrap{
		width: 100%;
	}
	#style .box{
		width: 30%;
		max-width: 300px;
		padding: 0;
	}
	#style .box figure{
		padding: 0;
		margin: 0;
	}
	#style .box .box_title{
		font-size: 0.85rem;
	}
	#style .box .box_txt{
		padding: 0;
	}
}

/*（780px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 780px){
	section{
		padding: 5% 1%;
	}
}

/*（600px以下）
--------------------------------------------------------------------------*/
@media  screen and (max-width: 600px){
	.list li{
		display: block;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.list li a {
		font-size: 1rem;
	}
	#style{
		padding-top: 10%;
	}
	#style .cate{
		margin: 0 3%;
		margin-bottom: 5%;
	}
	#style .box{
		width: 40%;
		max-width: 400px;
		padding: 0;
	}
	#style .box .box_txt{
		font-size: 0.85rem;
	}
}
/*450px以下
--------------------------------------------------------------------------*/
@media  screen and (max-width: 450px){
	#style .box{
		width: 80%;
		padding: 0;
	}
	#style .box .box_title{
		font-size: 1rem;
	}
	#style .cate .retop{
		margin-top: 10%;
	}
}
/*320px以下(iPhone 5/SE)
--------------------------------------------------------------------------*/
@media  screen and (max-width: 320px){
	.list li a {
		font-size: 0.95rem;
	}
	#style .box .box_txt{
		letter-spacing: 0.1rem;
		font-size: 0.75rem;
	}
}