@charset "utf-8";

/**
 *
 * 学校案内: 動画で見る梅花
 *
 */

/*--------------------------------------------------------------------------
  overwrite スタイルの上書き
--------------------------------------------------------------------------*/
#Content{
	background: #fffdf0;
}

#Loading{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 10000;
}
#Loading p{
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -50px 0 0 -44px;
}

/*----------------------------------------------------------------------
	.cmn_cate_nav
----------------------------------------------------------------------*/
.cmn_cate_nav{
	margin-top: 50px;
}
.cmn_cate_nav .error{
	color: #d91c5c;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
}

@media all and (max-width: 767px){
	.cmn_cate_nav{
		margin-top: 40px;
	}
}


/*----------------------------------------------------------------------
	.block
----------------------------------------------------------------------*/
.blocks{
	padding: 8px 0 80px;
}
.block{
	margin-top: 30px;
	padding-top: 30px;
	overflow: hidden;
}
.items{
	width: 996px;
	margin-left: -18px;
	margin-top: 10px;
	letter-spacing: -.4em;
}
.items .item{
	margin: 36px 18px 0 18px;
	display: inline-block;
	width: 296px;
	letter-spacing: 0;
	vertical-align: top;
}
.items .item a{
	display: block;
	text-decoration: none;
}
.items .item_img{
	position: relative;
	width: 296px;
}
.items .item_img:before,
.items .item_img:after{
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.items .item_img:before{
	background: url(../images/bg_sprite.png) repeat 0 0;
}
.items .item_img:after{
	background: url(../images/ico_arw02.png) no-repeat 50% 50%;
	background-size: 60px 60px;
}
.items .item_ttl{
	margin-top: 15px;
	padding-left: 20px;
	color: #000;
	text-decoration: none;
	background: url(/shared/images/ico_arw10.png) no-repeat 0 .4em;
	background-size: 14px 14px;
}
.items .item_description{
	margin-top: 5px;
	color: #333;
	font-size: 12px;
}

@media all and (max-width: 767px){

	.blocks{
		padding: 0 0 45px;
	}
	.block{
		margin-top: 4px;
		padding-top: 30px;
	}
	.items{
		width: auto;
		margin-left: 0;
	}
	.items .item{
		width: 50%;
		margin: 0;
		box-sizing: border-box;
	}
/*	.items .item a{
		position: relative;
	}*/
	.items .item:nth-child(odd){
		padding: 20px 8px 0 0;
	}
	.items .item:nth-child(even){
		padding: 20px 0 0 8px;
	}
	.items .item_img{
		width: auto;
	}
/*	.items .item_movie{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 10;
		opacity: 0;
	}
	.items .item_movie video{
		width: 100%;
		height: 100%;
		background: #000;
	}*/
	.items .item_img:after{
		background-size: 45px 45px;
	}
	.items .item_img img{
		width: 100%;
		height: auto;
	}
	.items .item_ttl{
		margin-top: 12px;
		padding-left: 18px;
		font-size: 12px;
		line-height: 1.4;
		background-size: 12px 12px;
		background-position: 0 .2em;
	}
	.items .item_description{
		font-size: 11px;
	}

}


/*----------------------------------------------------------------------
	.modal
----------------------------------------------------------------------*/
#modal{
	position: absolute;
	z-index: 501;
	width: 640px;
}
#modal_bg{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(255, 242, 225, 0.96);
	z-index: 500;
	-webkit-transform: translate3d(0, 0, 0);
}
#modal_close_btn{
	position: absolute;
	top: -50px;
	right: 0;
	width: 36px;
	height: 36px;
	cursor: pointer;
	background: url(/shared/images/ico_close02.png) no-repeat 0 0;
	background-size: 36px auto;
}
.modal_cont{
	margin-top: 20px;
}
.modal_ttl{
	font-size: 18px;
	font-weight: bold;
	line-height: 1.4;
}
.modal_description{
	margin-top: 10px;
}

@media all and (max-width: 767px){
	#modal{
		width: 300px;
	}
	#modal .modal_movie video,
	#modal .modal_movie iframe{
		width: 300px;
		height: 168px;
		background-color: #000;
	}
	#modal_close_btn{
		top: -45px;
		width: 31px;
		height: 31px;
		background-size: 31px 31px;
	}
	.modal_ttl{
		margin-top: 10px;
		font-size: 14px;
	}
}
