/*=================================================
 * CSS for PC
 * ================================================= */

/** prof **/

#prof{
	position: relative;
	padding: 120px 0 80px 0;
	background: url(img/prof_bg.png) no-repeat top center rgb(0,0,0);
	background: url(img/prof_bg.png) no-repeat top center, linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 90%);
}

#prof h2{
	position: relative;
	font-family: 'M PLUS 1p', sans-serif;
	font-weight: 300;
	font-size: 40px;
	line-height: 60px;
	margin: 0 0 110px 0;
}
#prof h2:after{
	content: '';
	width: 100px;
	height: 10px;
	background: #fff;
	position: absolute;
	bottom: -50px;
	left: calc(50% - 50px);
}

#prof img{
	display: inline-block;
	vertical-align: top;
	width: 200px;
	height: auto;
	border-radius: 50%;
	position: absolute;
	top: -100px;
	left: calc(50% - 100px);
}

#prof p{
	width: 1000px;
	font-size: 16px;
	line-height: 30px;
	text-align: left;
	margin: 0 auto;
}


/** link **/

#link{
	font-size: 0;
	line-height: 0;
	text-align: center;
	padding: 220px 0;
	background: url(img/link_pc.jpg) no-repeat top center;
	background-size: 100% 100%;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#link > div{
	position: relative;
	margin: 0 0 100px 0;
}
#link > div:last-of-type{	margin-bottom: 0;}
#link > div a{
	position: relative;
	display: inline-block;
	vertical-align: top;
}
#link > div p{
	position: relative;
	display: inline-block;
	vertical-align: top;
	box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.6);
}

#link > div p:after{
	content: '';
	width: 160px;
	height: 100px;
	position: absolute;
	top: -60px;
}
#link > div:nth-of-type(1) p:after{
	background: url(img/no1.png) no-repeat;
	background-size: 160px auto;
	right: -40px;
}
#link > div:nth-of-type(2) p:after{
	background: url(img/no2.png) no-repeat;
	background-size: 160px auto;
	left: -40px;
}
#link > div:nth-of-type(3) p:after{
	background: url(img/no3.png) no-repeat;
	background-size: 160px auto;
	right: -40px;
}

#link > div img{
	width: 750px;
	height: auto;
}


/** blog **/

#blog{
	padding: 80px 0 150px 0;
	background: #000;
}
#blog .s_title{	margin-bottom: 50px;}

#blog dl{
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 700px;
	font-size: 16px;
	line-height: 20px;
	text-align: left;
	margin: 0 auto;
	border-bottom: 1px solid #333;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#blog dt,
#blog dd{
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#blog dt{
	width: 190px;
	padding: 20px 0 20px 30px;
}
#blog dd{
	width: calc(100% - 190px);
	padding: 20px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
}
#blog dd a{	color: #fff;}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {

	/** prof **/
	#prof{
		position: relative;
		padding: 90px 20px 40px 20px;
		background: url(img/prof_bg.png) no-repeat 50% 80px rgb(0,0,0);
		background: url(img/prof_bg.png) no-repeat 50% 80px, linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6) 90%);
		background-size: 400px auto, auto;
	}
	#prof h2{
		font-size: 36px;
		line-height: 40px;
		margin: 0 0 80px 0;
	}
	#prof h2:after{
		width: 80px;
		position: absolute;
		bottom: -40px;
		left: calc(50% - 40px);
	}
	#prof img{
		width: 150px;
		top: -75px;
		left: calc(50% - 75px);
	}
	#prof p{
		width: auto;
		font-size: 14px;
		line-height: 25px;
		margin: 0;
	}

	/** link **/
	#link{
		padding: 130px 20px;
		background: url(img/link_sp.jpg) no-repeat top center;
		background-size: 100% 100%;
	}
	#link > div{
		margin: 0 0 50px 0;
	}
	#link > div p:after{
		content: '';
		width: 90px;
		height: 56px;
		position: absolute;
		top: -40px;
	}
	#link > div:nth-of-type(1) p:after{
		background: url(img/no1.png) no-repeat;
		background-size: 90px auto;
		right: 0;
	}
	#link > div:nth-of-type(2) p:after{
		background: url(img/no2.png) no-repeat;
		background-size: 90px auto;
		left: auto;
		right: 0;
	}
	#link > div:nth-of-type(3) p:after{
		background: url(img/no3.png) no-repeat;
		background-size: 90px auto;
		right: 0;
	}
	#link > div img{
		width: 100%;
		height: auto;
	}

	/** blog **/
	#blog{
		padding: 45px 20px 80px 20px;
	}
	#blog .s_title{	margin-bottom: 30px;}
	#blog dl{
		width: 100%;
		font-size: 14px;
		line-height: 20px;
		text-align: left;
		margin: 0;
	}
	#blog dt{
		width: 100px;
		font-size: 10px;
		padding: 15px 0;
	}
	#blog dd{
		width: calc(100% - 100px);
		padding: 15px 0;
	}
}
