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

body{
	background: url(./img/pc_bg.jpg) no-repeat top center fixed;
	background-size: cover;
}

main{
	padding-top: 0;
}

main > h2{
	font-size: 0;
	line-height: 0;
}


/** top_header **/

#top_header{
	width: 100%;
	height: 100vh;
	align-items: flex-start;
	align-content: flex-start;
	justify-content: flex-end;
	margin: 0;
	padding: 40px 40px 0 0;
	border: none;
	background:
	url(./img/pc_header.png) no-repeat left center,
	url(./img/pc_header_bg.jpg) no-repeat top center;
	background-size: 600px auto, cover;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#top_header h1{
	text-align: right;
}
#top_header #homelink{	display: none;}
#top_header #h_menu a{
	border-bottom: 1px solid rgba(255, 255, 255, 0);
}
#top_header #h_info{
	display: flex;
	flex-direction: column-reverse;
	width: 300px;
	text-align: center;
	position: absolute;
	top: calc(50vh + 100px);
	left: 100px;
}
#top_header #h_info,
#top_header #h_info a{	color: #fff;}
#top_header #h_info p{
	font-size: 14px;
	line-height: 20px;
	margin: 0 0 5px 0;
}
#top_header #h_info p:nth-of-type(2){
	font-size: 16px;
}
#top_header #h_info p:nth-of-type(2) em{	font-size: 28px;}


/** topimg **/

.topimg{
	font-size: 0;
	line-height: 0;
	padding: 50px 0;
}
.topimg:last-of-type{	margin-bottom: 0;}
.topimg p{
	margin: 0 0 20px 0;
}
.topimg p:last-of-type{	margin-bottom: 0;}
.topimg p img{
	width: 100%;
	max-width: 750px;
	height: auto;
}


/** info **/

#info{
	margin: 0 0 100px 0;
	padding: 100px 0;
	background: rgba(0, 0, 0, 0.9);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#info ul{
	width: 1150px;
	font-size: 0;
	line-height: 0;
	text-align: left;
	margin: 0 auto;
}
#info li{
	display: inline-block;
	vertical-align: top;
	width: calc(50% - 50px);
	margin: 0 25px;
	padding: 15px 0;
	border-bottom: 1px dotted #505050;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#info li a{
	display: block;
	color: #fff;
}
#info li a:hover{	text-decoration: underline;}
#info li p:nth-of-type(1){
	font-size: 18px;
	line-height: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	-webkit-text-overflow: ellipsis;
}
#info li p:nth-of-type(2){
	font-size: 11px;
	line-height: 20px;
	color: #999;
}
#info li .sat{	color: #66ccff !important;}
#info li .sun{	color: #ff6666 !important;}



/** title **/

.page_title{
	height: auto;
}
.page_title span{
	font-size: 60px;
}


/** list **/

.list{
	text-align: center;
}

.list ul{
	font-size: 0;
	line-height: 0;
	text-align: left;
	padding: 0 75px 50px 75px;
}

.list li{
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: calc(100% / 4 - 50px);
	margin: 0 25px 50px 25px;
	background: rgba(255,255,255,0.8);
	box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.list li .photo{
	position: relative;
}
.list li .photo a{
	display: block;
	position: relative;
	overflow: hidden;
	-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;
}
.list li .photo a:hover img{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
.list li .photo a > img{
	width: 100%;
	height: auto;
	-webkit-transition	: 0.4s ease-in-out;
	-moz-transition	: 0.4s ease-in-out;
	-o-transition	: 0.4s ease-in-out;
	transition		: 0.4s ease-in-out;
}

.list .icon{
	display: inline-block;
	vertical-align: top;
	position: absolute;
	top: -10px;
	right: -10px;
}
.list .icon img{
	width: 50px;
	height: auto;
}
.list .txt{
	position: relative;
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	color: #000;
	text-align: center;
	padding: 0 0 10px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
.list .txt .course{
	font-family: "FontA";
	font-weight: normal;
	font-size:min(2.9vw, 16px);
	line-height: 1.8;
	background: #000;
}
.list .txt .job{
	font-size:min(2.9vw, 16px);
	line-height: 1.8;
	border-bottom: 1px solid #000;
}
.list .txt .name{
	font-size:min(2.8vw, 13px);
	line-height: 1.2;
	margin: 8px 0 0 0;
}
.list .txt .name a{
	font-size:min(4vw, 20px);
	color: currentColor;
}
.list .txt .size{
	font-size:min(2.5vw, 13px);
	line-height: 1.1;
	margin: 5px 0 0 0;
}
.list .txt .size br{	display: none;}

.list .txt .time{
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.3;
}
.list .txt .time .material-icons{
	position: relative;
	bottom: -2px;
	font-size: 16px;
	line-height: 1;
}

.list .txt .now{
	display: inline-block;
	vertical-align: top;
	width: 120px;
	font-family: var(--font-base);
	font-weight: normal;
	font-size: 12px;
	line-height: 20px;
	text-align: center;
	color: #fff;
	background: #ff3b3b;
	border-radius: 0 10px 10px 0;
	padding: 0 4px;
	position: absolute;
	left: 0;
	top: -25px;
	-webkit-animation:now 0.75s ease-in-out infinite alternate;
	-moz-animation:now 0.75s ease-in-out infinite alternate;
	animation:now 0.75s ease-in-out infinite alternate;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}


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

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

	body:before{
		z-index: -1;
		background: url(./img/sp_bg.jpg) no-repeat top center;
		-webkit-background-size: cover;
		background-size: cover;
	}


	/** top_header **/
	#top_header{
		width: 100%;
		height: auto;
		aspect-ratio: 18 / 12;
		align-items: flex-end;
		align-content: flex-end;
		justify-content: flex-start;
		margin: 0;
		padding: 40px 40px 0 0;
		border: none;
		background:
		url(./img/sp_header.png) no-repeat left center,
		url(./img/pc_header_bg.jpg) no-repeat top center;
		background-size: 150px auto, cover;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#top_header:before{
		content:"";
		display:block;
		position:fixed;
		top:0;
		left:0;
		z-index:-1;
		width:100%;
		height:100vh;
	}
	#top_header #h_info{
		width: 125px;
		top: calc(50% + 25px);
		left: 0px;
	}
	#top_header #h_info,
	#top_header #h_info a{	color: #fff;}
	#top_header #h_info p{
		font-size: 10px;
		line-height: 16px;
		margin: 0 0 0 0;
	}
	#top_header #h_info p:nth-of-type(2){
		font-size: 10px;
	}
	#top_header #h_info p:nth-of-type(2) em{	font-size: 11px;}


	/** topimg **/
	.topimg{
		padding: 30px 15px;
	}
	.topimg p{
		margin: 0 0 10px 0;
	}
	.topimg p:last-of-type{	margin-bottom: 0;}


	/** info **/
	#info{
		margin: 0 0 50px 0;
		padding: 30px 15px;
	}
	#info ul{
		width: auto;
		margin: 0;
	}
	#info li{
		display: block;
		width: auto;
		margin: 0;
		padding: 10px 0;
	}
	#info li p:nth-of-type(1){
		font-size: 16px;
		line-height: 20px;
	}
	#info li p:nth-of-type(2){
		font-size: 11px;
		line-height: 20px;
	}


	/** title **/
	.page_title{
		margin: 0 5px 50px 5px;
	}
	.page_title span{
		font-size: 31px;
	}


	/** list **/
	.list{
		text-align: center;
		padding: 0 7.5px 0 7.5px;
	}
	.list ul{ padding: 0 0 30px 0;}
	.list li{
		width: calc(100% / 2 - 15px);
		height: auto;
		box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
		margin: 0 7.5px 15px 7.5px;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	.list .icon{
		top: -5px;
		right: -5px;
	}
	.list .icon img{
		width: 35px;
		height: auto;
	}
	.list .txt .size br{	display: inline;}

}
