@charset "UTF-8";
/* CSS Document */

/*------------------------------------------------------------------------------------------------
    SHOWCASE
--------------------------------------------------------------------------------------------------*/
/*---------------------------------------------
    PC- SHOWCASE
-----------------------------------------------*/
#showcase .showcase-wrap{
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
}
#showcase .showcase-wrap .showcase{
	width: calc((100% - 80px) / 5); /* 313px */
	margin-bottom: 30px;
	margin-right: 20px;
}
#showcase .showcase-wrap .showcase:nth-child(5n),
#showcase .showcase-wrap .showcase:last-child{ margin-right: 0;}
#showcase .showcase-wrap .showcase a p.img{ display: block; width: 100%; margin: 0 auto; padding: 0;}
#showcase .showcase-wrap .showcase a p.name{ margin: 8px auto 0; font-size: 13px; font-weight: bold; text-align: center;}
#showcase .showcase-wrap .showcase a:hover p.img{ opacity: .7;}
#showcase .showcase-wrap .showcase a:hover p.name{ color: #b5121f;}

/*---------------------------------------------
    TB/SP- OSHOWCASE
-----------------------------------------------*/
@media screen and (max-width: 1023px){
	#showcase .showcase-wrap{
		width: 100%;
		margin: 0 auto;
		display: flex;
		flex-flow: row wrap;
	}
	#showcase .showcase-wrap .showcase{
		width: 49%;
		margin-bottom: 10%;
		margin-right: 2%;
	}
	#showcase .showcase-wrap .showcase:nth-child(5n){ margin-right: 2%;}
	#showcase .showcase-wrap .showcase:nth-child(even),
	#showcase .showcase-wrap .showcase:nth-child(4n),
	#showcase .showcase-wrap .showcase:last-child{ margin-right: 0;}
	#showcase .showcase-wrap .showcase a p.img{ display: block; width: 100%; margin: 0 auto; padding: 0;}
	#showcase .showcase-wrap .showcase a p.name{ margin: 4% auto 0; font-size: 4.4vw; font-weight: bold; text-align: center;}
	#showcase .showcase-wrap .showcase a:hover p.img{ opacity: .7;}
	#showcase .showcase-wrap .showcase a:hover p.name{ color: #b5121f;}
}



/*---------------------------------------------
    PC- modal
-----------------------------------------------*/
.modal_bg {
	display: block;
	width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9500;
    background-color: rgba(0,0,0,0.5);
}
#showcase .modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 30px;
    font-size: 22px;
	line-height: 30px;
	text-align: center;
    color: #FFF;
    background: #191919;
}
#showcase .modal_close i { line-height: 30px; vertical-align: bottom;}
#showcase .modal_close:hover{ cursor: pointer; background: #b5121f;}

#showcase .modal_box {
	display: block;
    position: fixed;
    width: 85%;
    max-width: 1050px;
    margin: 0;
    padding: 50px 50px;
    text-align: center;
    background: #f6f4f1;
    box-sizing: border-box;
	z-index: 9999;
}
#showcase .modal_box p.e-name:before {
    content: '';
	display: block;
    width: 50px;
    height: 3px;
	margin: 0 auto .6em;
    background: #b51216;
    vertical-align: top;
}
#showcase .modal_box p.e-name{
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto 20px;
	font-size: 26px;
	font-weight: bold;
}
#showcase .modal_box p.e-about{ width: 100%; margin: 0 auto 40px; font-size: 14px; text-align: left;}

#showcase .modal_box .showcase-img-wrap{
	width: 100%;
	margin: 0 auto;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	align-items: center;
}
#showcase .modal_box .showcase-img-wrap.block{ display: block;width: calc( (100% - 40px) / 3);  margin: 0 auto;}
#showcase .modal_box .showcase-img-wrap .showcase-img{ 
	width: calc((100% - 80px) / 5); /* 313px */
	margin-bottom: 20px;
	margin-right: 20px;
}
#showcase .modal_box .showcase-img-wrap .showcase-img:nth-child(5n), 
#showcase .modal_box .showcase-img-wrap .showcase-img:last-child{ margin-right: 0;}
/* #showcase .modal_box .showcase-img-wrap .showcase-img:nth-child(n + 4){ margin-top: 14px;} */
#showcase .modal_box p.caution{
	width: 100%;
	margin: 0 auto 20px;
	font-size: 13px;
	text-align: center;
}
#showcase .modal_box p.caution.large{ margin: 20px auto; font-size: 18px; font-weight: bold;}
#showcase .modal_box p.caution span{ display: block; margin: 0 auto 5px; font-size: 14px; font-weight: bold;}

#showcase .modal_box .link_area {
    overflow: hidden;
    max-width: 100%;
    margin: 40px auto 0;
    text-align: center;
}
#showcase .modal_box .link_area .modal_link { display: inline-block;}
#showcase .modal_box .link_area .modal_link a {
	box-sizing: border-box;
    display: block;
    width: 200px;
	padding: 8px 5px;
	margin: 0 10px;
	font-size: 14px;
    color: #b5121f;
    background: #f6f4f1;
	border: 2px solid #b5121f;
}
#showcase .modal_box .link_area .modal_link a:hover{
	cursor: pointer;
	color: #FFF;
    background: #b5121f;
}
 
#showcase .modal_box .link_area ul li.modal_link:first-child a { float: left;}
#showcase .modal_box .link_area ul li.modal_link:last-child a { float: right;}


/*---------------------------------------------
    TB/SP- modal
-----------------------------------------------*/
@media screen and (max-width: 1023px){
	#showcase .modal_close {
		position: absolute;
		top: 0;
		right: 0;
		display: block;
		width: 32px;
		font-size: 27px;
		line-height: 32px;
		text-align: center;
		color: #FFF;
		background: #191919;
	}
	#showcase .modal_close i { line-height: 32px; vertical-align: bottom;}
	#showcase .modal_close:hover{ cursor: pointer; background: #b5121f;}
	
	#showcase .modal_box {
		display: block;
		position: fixed;
		width: 96%;
		max-width: 96%;
		margin: 0;
		padding: 7% 4% 5%;
		text-align: center;
		background: #fff;
		box-sizing: border-box;
		z-index: 9999;
	}
	#showcase .modal_box p.e-name:before {
		content: '';
		display: block;
		width: 50px;
		height: 3px;
		margin: 0 auto 3%;
		background: #b51216;
		vertical-align: top;
	}
	#showcase .modal_box p.e-name{
		box-sizing: border-box;
		width: 100%;
		margin: 0 auto 2%;
		font-size: 5.2vw;
		font-weight: bold;
	}
	#showcase .modal_box p.e-about{ width: 97%; margin: 0 auto 5%; font-size: 3.8vw; line-height: 1.4;}
	
	#showcase .modal_box .showcase-img-wrap{
		width: 96%;
		margin: 0 auto;
		justify-content: center;
		flex-wrap: wrap;
		align-items: center;
	}
	#showcase .modal_box .showcase-img-wrap.block{ display: block; width: 49.5%; margin: 0 auto;}
	#showcase .modal_box .showcase-img-wrap .showcase-img{ width: 49.5%; margin-right: 1%; margin-bottom: 1%;}
	#showcase .modal_box .showcase-img-wrap .showcase-img:nth-child(5n) { margin-right: 1%;}
	/* #showcase .modal_box .showcase-img-wrap .showcase-img:nth-child(n + 4){ margin-top: 0;} */
	#showcase .modal_box .showcase-img-wrap .showcase-img:nth-child(even),
	#showcase .modal_box .showcase-img-wrap .showcase-img:last-child{ margin-right: 0;}
	
	#showcase .modal_box p.caution{
		width: 96%;
		margin: 0 auto 6%;
		font-size: 3.8vw;
		text-align: center;
	}
	#showcase .modal_box p.caution.large{ margin: 8% auto; font-size: 4.4vw; font-weight: bold;}
	#showcase .modal_box p.caution span{ display: block; margin: 4% auto 3%; font-size: 4.2vw; font-weight: bold;}
	
	
	#showcase .modal_box .link_area {
		overflow: hidden;
		max-width: 80%;
		margin: 4% auto 0;
		text-align: center;
	}
	#showcase .modal_box .link_area .modal_link { display: inline-block; width: 35%;}
	#showcase .modal_box .link_area .modal_link a {
		box-sizing: border-box;
		display: block;
		width: 100%;
		padding: 2% 1% 4%;
		margin: 0 5% 0 0;
		font-size: 4vw;
		color: #b5121f;
		background: #FFF;
		border: 2px solid #b5121f;
	}
	#showcase .modal_box .link_area .modal_link a:hover{
		cursor: pointer;
		color: #FFF;
		background: #b5121f;
	}
	#showcase .modal_box .link_area ul li.modal_link:first-child { float: left;}
	#showcase .modal_box .link_area ul li.modal_link:last-child { float: right;}
	
}

