/**
 * Portfolio 紹介ページ用 CSS
**/

/* ==========================================================================
Global
========================================================================== */

body.makoto-pf {
	background: #faf0e6;
	background: -webkit-radial-gradient(#fffaec, #faf0e6);
	background: radial-gradient(#fffaec, #faf0e6);
	margin: 0 auto;
}

body.makoto-pf footer {
	background-color: #627188 !important;
	padding: 60px 0px !important;
	clear: both;
}

body.makoto-pf footer a {
	color: #fffff0;
}

body.makoto-pf footer p {
	color: #fffff0;
}

#nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
	cursor: pointer;
	border-radius: 1px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	-o-border-radius: 1px;
	height: 3px;
	width: 35px;
	background: #0a0a23;
	position: absolute;
	display: block;
	content: '';
}

.makoto-header-title h1 {
	color: #0a0a23;
	font-size: 42px;
	font-family: 'League Spartan', 'メイリオ', sans-serif;
	letter-spacing: 8px;
	margin: 10px;
}

/* ==========================================================================
Portfolio メイン
========================================================================== */

.makoto-pf-body {
	display: flex;
	flex-wrap: wrap; /* 画面幅が狭いと折り返す */
	justify-content: space-around;
	width: 100%;
	max-width: 1920px;
	height: auto;
	margin-top: 0;
	margin-bottom: 50px;
	margin-left: auto;
	margin-right: auto;
}

/* ==========================================================================
Portfolio 1
========================================================================== */

.pf-portfolio1 {
	width: 33%;
	max-width: 640px;
	height: auto;
}

.pf-portfolio1 div {
	padding: 0;
	margin: 0 auto;
}

.pf-portfolio1-image {
	display: inline-block;
	text-align: center;
	margin-left : 10%;
	margin-right : 10%;
}

.pf-portfolio1-image img {
	width: 80%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-moz-transition: opacity 0.35s, -moz-transform 0.35s;
	-o-transition: opacity 0.35s, -o-transform 0.35s;
}

.pf-portfolio1-link {

}

.pf-portfolio1-link p {
	color: #0a0a23;
	margin-left : 10%;
	margin-right : 10%;
	width: 80%;
}

.pf-portfolio1-link a {
	color: #0a0a23;
}

/* ==========================================================================
Portfolio 2
========================================================================== */

.pf-portfolio2 {
	width: 33%;
	max-width: 640px;
	height: auto;
}

.pf-portfolio2 div {
	padding: 0;
	margin: 0 auto;
}

.pf-portfolio2-image {
	display: inline-block;
	text-align: center;
	margin-left : 10%;
	margin-right : 10%;
}

.pf-portfolio2-image img {
	width: 80%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-moz-transition: opacity 0.35s, -moz-transform 0.35s;
	-o-transition: opacity 0.35s, -o-transform 0.35s;
}

.pf-portfolio2-link {

}

.pf-portfolio2-link p {
	color: #0a0a23;
	margin-left : 10%;
	margin-right : 10%;
	width: 80%;
}

.pf-portfolio2-link a {
	color: #0a0a23;
}


/* ==========================================================================
Portfolio 3
========================================================================== */

.pf-portfolio3 {
	width: 33%;
	max-width: 640px;
	height: auto;
}

.pf-portfolio3 div {
	padding: 0;
	margin: 0 auto;
}

.pf-portfolio3-image {
	display: inline-block;
	text-align: center;
	margin-left : 10%;
	margin-right : 10%;
}

.pf-portfolio3-image img {
	width: 80%;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-moz-transition: opacity 0.35s, -moz-transform 0.35s;
	-o-transition: opacity 0.35s, -o-transform 0.35s;
}

.pf-portfolio3-link {

}

.pf-portfolio3-link p {
	color: #0a0a23;
	margin-left : 10%;
	margin-right : 10%;
	width: 80%;
}

.pf-portfolio3-link a {
	color: #0a0a23;
}

/* ==========================================================================
pf レスポンシブ対応
========================================================================== */

@media only screen and (max-width:960px) {
	* {
		float: none;
		position: static;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	a {
		padding: 0;
	}

	.makoto-pf-body {
		display: flex;
		flex-wrap: wrap; /* 画面幅が狭いと折り返す */
		justify-content: space-around;
		width: 100%;
		max-width: 960px;
		height: auto;
		margin-bottom: 40px;
	}
}


@media only screen and (max-width:768px) {
	* {
		float: none;
		position: static;
		margin: 0 auto;
	}

	img {
		max-width: 100%;
		width: auto;
	}

	a {
		padding: 0;
	}

	.makoto-pf-body {
		display: flex;
		flex-wrap: wrap; /* 画面幅が狭いと折り返す */
		flex-direction: column; /* 縦並びに変更 */
		justify-content: space-around;
		width: 100%;
		max-width: 768px;
		height: auto;
		margin-bottom: 30px;
	}

	.pf-portfolio1 {
		width: 100%;
		max-width: 768px;
		height: auto;
	}

	.pf-portfolio2 {
		width: 100%;
		max-width: 768px;
		height: auto;
	}

	.pf-portfolio3 {
		width: 100%;
		max-width: 768px;
		height: auto;
	}

	.pf-portfolio1-link {
		text-align: center;
	}

	.pf-portfolio2-link {
		text-align: center;
	}

	.pf-portfolio3-link {
		text-align: center;
	}
}


@media screen and (max-width:425px) {
	* {
		float: none;
		position: static;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.makoto-pf-body {
		display: flex;
		flex-wrap: wrap; /* 画面幅が狭いと折り返す */
		flex-direction: column; /* 縦並びに変更 */
		justify-content: space-around;
		width: 100%;
		max-width: 425px;
		height: auto;
		margin-bottom: 20px;
	}

	.pf-portfolio1 {
		width: 100%;
		max-width: 425px;
		height: auto;
	}

	.pf-portfolio2 {
		width: 100%;
		max-width: 425px;
		height: auto;
	}

	.pf-portfolio3 {
		width: 100%;
		max-width: 425px;
		height: auto;
	}

	.pf-portfolio1-link {
		text-align: center;
	}

	.pf-portfolio2-link {
		text-align: center;
	}

	.pf-portfolio3-link {
		text-align: center;
	}
}


@media screen and (max-width:375px) {
	* {
		float: none;
		position: static;
		box-sizing: border-box;
		display: block;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.makoto-pf-body {
		display: flex;
		flex-wrap: wrap; /* 画面幅が狭いと折り返す */
		flex-direction: column; /* 縦並びに変更 */
		justify-content: space-around;
		width: 100%;
		max-width: 375px;
		height: auto;
		margin-bottom: 10px;
	}

	.pf-portfolio1 {
		width: 100%;
		max-width: 375px;
		height: auto;
	}

	.pf-portfolio2 {
		width: 100%;
		max-width: 375px;
		height: auto;
	}

	.pf-portfolio3 {
		width: 100%;
		max-width: 375px;
		height: auto;
	}

	.pf-portfolio1-link {
		text-align: center;
	}

	.pf-portfolio2-link {
		text-align: center;
	}

	.pf-portfolio3-link {
		text-align: center;
	}
}

/** 320px (iPhone) **/
@media screen and (max-width:320px) {
	* {
		float: none;
		position: static;
		box-sizing: border-box;
		display: block;
	}

	img {
		max-width: 100%;
		height: auto;
	}

	.makoto-pf-body {
		display: flex;
		flex-wrap: wrap; /* 画面幅が狭いと折り返す */
		flex-direction: column; /* 縦並びに変更 */
		justify-content: space-around;
		width: 100%;
		max-width: 320px;
		height: auto;
		margin-bottom: 10px;
	}

	.pf-portfolio1 {
		width: 100%;
		max-width: 320px;
		height: auto;
	}

	.pf-portfolio2 {
		width: 100%;
		max-width: 320px;
		height: auto;
	}

	.pf-portfolio3 {
		width: 100%;
		max-width: 320px;
		height: auto;
	}

	.pf-portfolio1-link {
		text-align: center;
	}

	.pf-portfolio2-link {
		text-align: center;
	}

	.pf-portfolio3-link {
		text-align: center;
	}
}
