@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=Supermercado+One');

/*************************************************/
.hr-top{
	clear:left;
	margin:10px 0;
	border:0;
	border-bottom:#09c 2px solid;
}

/*************************************************/
.keyword-body {
	width:1024px;
	margin:auto;
	position:relative;
}
.keyword-body p{
	margin:0;
}
.keyword-body hr{
	border:none;
	border-bottom:#666 solid 1px;
}

.keyword-body a.kind,
.keyword-body div{
	display:inline-block;
	background-color:rgba(255,255,255,0.8);
	border:#cfcfcf solid 1px;
	padding:5px 40px 5px 20px;
	font-size:14px;
	margin:5px;
	
	color:#333;
	
	text-decoration:none;
	
	position:relative;
}


.keyword-body a.tag{
	display:inline-block;
	background-color:rgba(255,255,255,0.8);
	padding:5px 0;
	font-size:16px;
	margin:10px;
	
	border-bottom:#333 solid 3px;
	
	color:#333;
	
	text-decoration:none;
	
	position:relative;
}


.keyword-body a.kind:before,
.keyword-body div:before{
	font-family: FontAwesome;
	content:"\f107";
	position:absolute;
	right:20px;
	top:25%;
	
	font-size:16px;
	
	display:inline-block;
}


.keyword-body a.kind:hover{
	border:#cfcfcf solid 1px;
	color:#cfcfcf;
}

.keyword-body div{
	border:#cfcfcf solid 1px;
	color:#cfcfcf;
}

.keyword-body a.current {
  background: #333;
  border: 1px solid #333;
  color: #fff;
}

.keyword-body a.all-show {
  background:#999;
  border:1px solid #999;
  color:#fff;
}

/**********************************/
.each-case{
	width:100%;
	margin:auto;
}

.each-case a{
    width:410px;
	float:left;
	text-decoration:none;
	color:#333;
	border:#eaeaea solid 1px;
	display:block;
	padding:30px;
	margin:50px 20px 0 20px;
}

.each-case a p{
	margin:0;
}



.each-case a .main-photo{
	height:250px;
	overflow:hidden;
	
	position:relative;
		
	background-size:cover;
}

.each-case a .main-photo img{
	max-height:210px;
	max-width:90%;
	position:absolute;
	bottom:20px;
	left:20px;
}

.each-case a .main-photo h2 span{
	font-size:36px;
	opacity:0.5;
}

.each-case a .main-photo h2{
	position:absolute;
	left:10px;
	bottom:10px;
}

.each-case a .main-photo h2 img{
	height:180px;
	width:auto;
}




.each-case a h2{
	margin:20px 0;	
	position:relative;
	line-height:32px;
}

.each-case a h2 span{
	font-weight:normal;
	background-color:#000;
	color:#FFF;
	display:inline-block;
	font-size:18px;
	padding:0 5px;
	margin-right:10px;
	line-height:32px;
	padding-top:2px;
}

.each-case a h2 .date{
	position:absolute;
	right:0px;
	top:0;
	font-family: 'Supermercado One', cursive;
	font-size:18px;
	
	line-height:32px;
	
	font-weight:normal;
}


.each-case a .tag{
	margin-top:20px;
	padding-top:20px;
	color:#838383;
	border-top:#eaeaea dashed 1px;
}

.each-case a .tag span{
	color:#333;
}


.each-case a:hover{
	background-color:rgba(238,238,238,0.2);
}

.each-case a:hover .main-photo{
	opacity:0.7;
}


.each-case a:hover .tag{
	color:#09c;
}

.iten {
    color: #FF008E;
}

.iten span{
    text-decoration: underline;
}


/**フィルター切換をスムーズに******************************/
.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -webkit-transition-duration: 0.8s;
  -moz-transition-duration: 0.8s;
  transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
  -moz-transition-property: height, width;
  transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
  -moz-transition-property: -moz-transform, opacity;
  transition-property: transform, opacity;
}
/**????????******************************/
a:focus {
  outline: none;
}

.img_01{
	display:block;
	width:1000px;
	margin:auto;
	margin-top:20px;
	height: auto;
}


.contents{
	width:1024px;
	margin:auto;
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

@media screen and ( max-width:1000px) {
#contents,
.contents{
	width:95%;
}
div.each-case clearfix
	{
	align-items: center;	
	}
.img_01{
	min-width :375px;
	width:100%	

	}

}

@media screen and ( max-width:525px) {
.each-case a{
	width:335px;
	float:left;
	text-decoration:none;
	color:#333;
	border:#eaeaea solid 1px;
	display:block;
	padding:10px;
	margin:0px;
}

}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 525px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}

/* 画面幅が680px以上の時は */
@media screen and (min-width: 525px) {
  .pc-br{
    display: block; /* pcを改行する */
  }
  .sp-br{
    display: none; /* SPの改行を隠す */
  }
}

/* 画面幅が680px以下の時は */
@media screen and (max-width: 525px) {
　 .pc-br{
    display: none; /* pcの改行を隠す */
  }
  .sp-br{
    display: block; /* SPを改行する */
  }
		}


