@charset "UTF-8";

/* recipe */
#recipe:before {
	content: "";
	display: block;
	background: #009333;
}
#recipe .cat {
	color: #fff;
	position: relative;
	text-align: center;
	background: #005033;
}
#recipe .cat:before {
	top: 0;
	left: 0;
	z-index: 0;
	content: "";
	width: 100%;
	height: 50%;
	display: block;
	background: #00330a;
	position: absolute;
}
#recipe .cat span {
	z-index: 1;
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
#mainVis {
	border: solid #009333;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#mainVis img {
	max-width: 100%;
	vertical-align: top;
}
#links li p a {
	color: #fff;
	display: block;
	margin: 0 auto;
	text-align: center;
	background: #009333;
}
@media screen and (min-width:769px){
	#recipe:before {
		height: 100px;
		width: calc(50% + 270px);
	}
	#recipe > header {
		margin: 0 auto;
		max-width: 840px;
	}
	#recipe .cat {
		width: 200px;
		height: 200px;
		font-size: 20px;
		line-height: 200px;
		margin: -100px 0;
		position: relative;
	}
	#recipe .cat span {
		line-height: 1.5;
	}
	#mainVis {
		margin: 0 auto;
		max-width: 840px;
		border-width: 10px;
	}
	#links {
		margin: 0 auto;
		max-width: 730px;
	}
	#links:after {
		content: "";
		display: block;
		clear: both;
	}
	#links li {
		float: left;
		margin-top: 100px;
	}
	#links li:nth-child(odd) {
		clear: both;
	}
	#links li:nth-child(even) {
		float: right;
	}
	#links li p a {
		width: 200px;
		margin-top: 30px;
		padding: 14px 0 16px;
	}
}
@media screen and (max-width:768px){
	#recipe header:before {
		content: "";
		height: 50px;
		display: block;
		background: #009333;
	}
	#recipe .cat {
		width: 100px;
		height: 100px;
		margin: -50px 3px;
		line-height: 100px;
	}
	#recipe .cat span {
		line-height: 15px;
		line-height: 22.5px;
	}
	#links {
		text-align: center;
		padding: 50px 0 425px;
	}
	#links img {
		width: 142px;
		margin-bottom: 25px;
	}
	#links li + li {
		margin-top: 50px;
	}
	#links a {
		width: 150px;
		font-size: 10px;
		line-height: 37.5px;
	}
}