#contents .list-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 3%;
}
#contents .list-box2 {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 auto;
	width: 80%;
}

#contents .list-block {
	display: flex;
	flex-direction: column;
	width: 32%;
	margin-bottom: 20px;
	background: #70b0eb;
	color: #fff;
	border-radius: 5px;
	overflow: hidden;
}

#contents .list-block2 {
	display: flex;
	flex-direction: column;
	width: 48%;
	margin-top: 20px;
	margin-bottom: 20px;
	overflow: hidden;
}

#contents .list-block a {
	color: #fff;
}

#contents .list-block h4 {
	margin-bottom: 20px;
	font-size: 120%;
        text-align:center;
}

#contents .list-block p {
	padding: 0;
}

#contents .list-block .text {
	padding:0% 5%;
	flex: 1 0 auto;
}

#contents .list-block .text ul{
	padding:0% 5%;
}

#contents .list-block .text li{
	padding:0% 5%;
	font-size: 90%;
}

#contents .list-block figure {
	min-height: 0%;
}


.btn a {
  display: block;
  margin-top:1em;
  background-color: #70b0eb;
  border-top: 1px solid #fff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  padding: 8px;
}

.btn a:hover {
  background-color: #fff;
  color: #70b0eb !important;
}


@media screen and (orientation: portrait) and (max-width:750px){
#contents .list-block {
	flex-direction: column;
	width: 100%;
	margin-bottom: 20px;
	background: #70b0eb;
	color: #fff;
	border-radius: 5px;
	overflow: hidden;
}
#contents .list-block2 {
	flex-direction: column;
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
}
#contents .list-box {
         display: block;
     }
     
#contents .flexbox .list-block {
         width: 100%;
         margin: 0 auto;
     }
 }