@charset "utf-8";

.midashi-title {
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin: 30px 20px 15px;
    padding: 10px 0 10px 25px;
    background: #f5f5f5;
    border-left: 3px solid #c8141d;
}

.f-container {
display:flex;	
	justify-content: space-around;
	justify-content: center;
flex-direction:row;
flex-wrap:wrap;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}

.f-container .f-item{
 margin-right:20px;
	}


.f-container .f-item a{
text-decoration:none;
	}


/* カードデザイン */
.card {
  margin: 30px auto;
  width: 350px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px #ccc;
  text-align:center;
  background-color:#ac1d1d;
}

.card:hover{
	  background:#eaa1a1;
	}

/*
.f-item a{
background-color:#ac1d1d;

}

.f-item a:hover{
background-color:rgba(192,237,232,0.5);
}
*/

.card-img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
  height: auto;
padding-top:10px;


}
.card-content {
  padding: 20px;
}
.card-title {
  font-size: 174%;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
 line-height:140%;
}
.card-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.5;
}

.card-title:hover{
	color:#ac1d1d;
	}



@media screen and (max-width: 600px) {
	.f-container .f-item{
 margin:auto;
	}
	}