﻿/*=================================================
 * CSS for PC
 * ================================================= */

main{	padding-bottom: 0;}
#newface{
	padding: 30px;
}
.newbox{
	display: flex;
	font-size: 0;
	line-height: 0;
	margin: 0 0 30px 0;
	padding: 0 30px 30px 0;
	background: url(../images/bg.jpg) no-repeat;
	background-size: cover;
	box-shadow: 30px 30px 0 rgba(0, 0, 0, 1) inset;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.newbox .photo{
	position: relative;
	width: 360px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.newbox .photo .img_bg{
	position: relative;
}
.newbox .photo .img{
	position: relative;
	z-index: 2;
	display: inline-block;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
	box-shadow: 10px 10px 0 rgba(255, 255, 255, 0.1);
}
.newbox .photo .img:hover{
	filter: brightness(1.15);
}
.newbox .photo .img > img{
	width: 100%;
	height: auto;
}
.newbox .photo .x_bt{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 50%;
	position: absolute;
	z-index: 3;
	bottom: 20px;
	left: 20px;
}
.newbox .photo .x_bt img{
	width: 40px;
	height: auto;
}

.newbox .txt{
	position: relative;
	flex: 1;
	text-align: left;
	padding-left: 40px;
}
.newbox .date{
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 32px;
	font-style: italic;
	line-height: 1.3;
	color: #e3d099;
	margin: 0 0 10px 0;
	padding: 60px 0 0 0;
}
.newbox .name{
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 30px;
	line-height: 1.3;
}
.newbox .name a{	color: currentColor;}
.newbox .size{
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 10px 0;
}
.newbox .size span{	color: #ffa400;}

.newbox .course{
	margin: 0 0 20px 0;
}
.newbox .course img{
	width: 175px;
	height: auto;
}
.newbox .comment{
	width: 100%;
	margin: 0 0 20px 0;
	padding: 15px 15px;
	background: rgba(0, 0, 0, 0.8);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.newbox .comment p{
	font-size: 16px;
	line-height: 25px;
	overflow: hidden;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 10;
}

.newbox .bt_main{
	position: relative;
	display: flex;
	width: 190px;
	height: 40px;
	margin-left: auto;
	padding-right: 20px;
}
.newbox .bt_main:after{
	content: '';
	width: 6px;
	height: 6px;
	border-bottom: 1px solid #fff;
	border-right: 1px solid #fff;
	position: absolute;
	top: calc(50% - 4px);
	right: 10px;
	-webkit-transform: rotate(-45deg);
	   -moz-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		 -o-transform: rotate(-45deg);
			transform: rotate(-45deg);
}

.next{
	font-size: 0;
	line-height: 0;
	text-align: center;
}
.next a,
.next span{
	display: inline-flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	font-size: 16px;
	line-height: 1;
	margin: 0 5px;
}
.next a{
	color: #fff;
	background: #151515;
	border: 1px solid #333;
}
.next a:hover{
	text-decoration: none;
	border: 1px solid #fff;
}
.next span{
	color: #000;
	background: #ffa400;
	border: 1px solid #ffa400;
}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px){

	#newface{	padding: 0 0 30px 0;}
	.newbox{}
	.newbox{
		display: block;
		width: auto;
		margin: 0 0 30px 0;
		padding: 15px 15px 15px 15px;
		box-shadow: none;
	}
	.newbox .photo{
		position: relative;
		width: 80%;
		margin: 0 auto;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.newbox .photo:after{
		content: "";
		width: 100%;
		height: 100%;
		position: absolute;
		top: 10px;
		left: 10px;
	}
	.newbox .photo .img{
		position: relative;
		z-index: 2;
		display: block;
		-webkit-transition	: 0.2s ease-in-out;
		-moz-transition	: 0.2s ease-in-out;
		-o-transition	: 0.2s ease-in-out;
		transition		: 0.2s ease-in-out;
	}
	.newbox .photo .img > img{
		width: 100%;
		height: auto;
	}
	.newbox .photo .x_bt{
		bottom: 10px;
		left: 10px;
	}
	.newbox .txt{
		text-align: center;
		padding-left: 0;
	}
	.newbox .date{
		font-size: 28px;
		margin: 0;
		padding: 20px 0 0 0;
	}
	.newbox .name{
		font-size: 30px;
		line-height: 1.3;
		padding: 0;
	}
	.newbox .size{
		font-size: 12px;
		line-height: 1.5;
		margin: 0 0 10px 0;
	}
	.newbox .course{
		margin: 0 0 10px 0;
	}
	.newbox .course img{
		width: 200px;
		height: auto;
	}
	.newbox .comment{
		width: 100%;
		margin: 0 0 10px 0;
		padding: 10px 10px;
	}
	.newbox .comment p{
		font-size: 14px;
		line-height: 22px;
		-webkit-line-clamp: 6;
	}
	.newbox .bt_main{
		position: relative;
		display: flex;
		width: 170px;
		height: 40px;
		font-size: 14px;
		margin-left: auto;
		padding-right: 20px;
	}

	.next a,
	.next span{
		width: 40px;
		height: 40px;
		font-size: 14px;
		line-height: 1;
		margin: 0 5px;
	}
}
