@charset "utf-8";

.fbox{
	display:flex;
}


.fitem{
	flex:0 1 31%;
	margin:1%;
}

#category{
	max-width:1200px;
	margin:2em auto;
	position:relative;
}



#category .fitem{
	flex:0 0 31%;
	margin:0 1%;
	position:relative;
}

#category h2{
	position:absolute;
	top:8%;
	text-align:center;
	width:100%;
	color:#333;
	font-size:200%;
}

#category .fitem p{
	position:absolute;
	bottom:2%;
	left:0;
	width:100%;
	padding:0 1.5em;
	text-align:center;
	color:#333;
	font-weight:600;
	transition: .3s;
}


#category .fitem .pic{
	height:100%;
}


#category .fitem img{
	width:100%;
	height:auto;
	vertical-align: middle;
}


/*
#category .fitem:nth-of-type(1){
	background:url(../img/cate1.png) no-repeat;
	background-size:cover;
}

#category .fitem:nth-of-type(2){
	background:url(../img/cate2.png) no-repeat;
	background-size:cover;
}

#category .fitem:nth-of-type(3){
	background:url(../img/cate3.png) no-repeat;
	background-size:cover;
}*/

#category a::before{
	content:"";
	background:rgba(0,0,0,0.4);
	width:100%;
	height:0;
	position:absolute;
	top:0;
	left:0;
		transition: .6s;

}
#category a:hover::before{
	content:"";
	background:rgba(0,0,0,0.4);
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
}


#category a h2{
font-family: 'Antic Didone', serif;
	letter-spacing:0.1em;
	color:#333;
	font-weight:500;
	transition: .3s;
}

#category a:hover h2{
	letter-spacing:0.2em;
	color:#fff;

}

#category a:hover p{
		color:#fff;
}







/**/

.pickup{
	max-width:1200px;
	margin: 7em auto 7em;
}

.pickup h2{
	font-family: 'Antic Didone', serif;
	letter-spacing:0.1em;
text-align:center;
	margin-bottom:1em;
}


.pfbox{
	display:flex;
flex-wrap: wrap;
justify-content:center;
}

.pitem{
	flex:0 1 25%;

}

.pitem a{
	/*cursor:default;*/
}

.sgvitem{
	/*width:25%;
	height:auto;
	float:left;
	position:relative;
	overflow:hidden;
	padding-top:25%;*/
		width:100%;
	height:auto;
	float:left;
	position:relative;
	overflow:hidden;
	padding-top:100%;
	z-index:1;
}


.sgvitem h3{
	width:100%;
	background:rgba(0,0,0,0.7);
	color:#fff;
	font-weight:100;
	text-align:center;

	font-size:90%;
	margin:0.3em 0;
	text-indent:-1em;
	position:absolute;
	bottom:19%;
	left:80%;
	transform:  translateX(-50%) rotate(-45deg) ;
	/*	transform: translateX(0%) rotate(-45deg) ;
	-webkit-transform: translateX(0%) rotate(-45deg);
	-ms-transform: translateX(0%) rotate(-45deg);*/

	transform-origin:50% 50% 0;

	z-index:80;
	
	-moz-transition: 0.3s ease;
-webkit-transition:  0.5s ease;
-o-transition:  0.3s ease;
-ms-transition:  0.3s ease;
transition: 0.3s ease;

}

a:hover .sgvitem h3{
	background:rgba(178,0,0,0.8);
	background:rgba(51,102,204,0.8);
	letter-spacing:0.1em;
}


.sgvitem:nth-child(2n) {
/*	margin: 50px 0 -50px  0;*/
}

.sgvitem svg{
display:block;
position: absolute;
top: -1px;
width:100%;
height:auto;
}

.sgvitem p{
position: absolute;
top: 0;
width:100%;
height:100%;
text-align:center;
background:rgba(0,0,0,0.6);
transform: rotate(0deg);
vertical-align:middle;
margin:auto;
padding-top:48%;
	z-index:70;
	opacity:0;
transition: 0.3s ease;
}

/*.sgvitem p::after{
	content:"";
position: absolute;
top: 0px;
width:100%;
height:100%;
text-align:right;
background:rgba(0,0,0,0);
transform: rotate(0deg);
transition: 0.3s ease;
	z-index:1;
}
*/


a:hover.sgvitem p{
display:block;
position: absolute;
top: -1px;
width:100%;
height:auto;
}

a:hover .sgvitem p{
	transform: rotate(-45deg);
	opacity:1;
}




/*.item_test2 svg .img{
	width:100%;
height:auto;
border:1px solid #09F;
position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;


}*/

.sgvitem svg image{

}

a .sgvitem{
-moz-transition: 0.3s ease;
-webkit-transition:  0.5s ease;
-o-transition:  0.3s ease;
-ms-transition:  0.3s ease;
transition: 0.3s ease;
border:1px solid rgba(229,31,25,0);
}

a:hover .sgvitem {
/*transform: rotate(5deg);
background:rgba(178,0,0,0.2);*/
}

a .sgvitem svg{
	width:100%;
height:100%;
}


	
.book{
	background-color:#09FEC1;
padding:1em;}

.book figure{
	max-width:600px;
	margin:1em auto;
}

.book figure img{
	width:100%;
	height:auto;
}

.book figcaption{
	text-align:center;
	padding:1em;
}

@media screen and (min-width: 769px) {
}



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

#category h2{
	font-size:150%;
	top:5%;
}

#category .fitem p{
	position:absolute;
	top:calc(100% + 10px);
	font-size:70%;
	line-height:120%;
	padding:0 0.5em 0;
	text-align:center;
	color:#fff;
}


}


@media screen and (max-width: 768px) {
.fbox{
		flex-wrap: wrap;
}	
.fitem{
	flex:0 1 100%;
}


.pfbox{
	padding:0 1em;
}

.pitem{
	flex:0 1 50%;

}

}

