.imagebox8 *{
 border:none;
 font-size: 12px;
 font-family: Gergia, "ＭＳ Ｐゴシック";
 font-weight: 400;
 text-decoration: none;
 }
 
div.imagebox8 ul {
 display: block;
 margin: 0px;
 padding: 0px 0px 0px 5px;
 height: auto;
 width: 698px;
}

.imagebox8 li { 
 list-style-type: none;
 float: left;
 margin: 3px;
 margin: 1px\9;
 padding: 0px;
 height: 220px;
 width: 165px;
 width: 169px\9;
 border-style : solid solid solid solid;
 border-width : 1px;
 border-color : #95CEEA;
}

.imagebox8 h3 {
 margin: 0px;
 padding: 0px;
 background-color: #FFFFFF;
 height: 165px;
 width: 165px;
 width: 169px\9; 
 border-style : solid solid solid solid;
 border-width : 0px;
 border-color : #95CEEA;
 text-align: center;
 display: table-cell;
 vertical-align: middle;
}

.imagebox8 h4 {
 margin: 0px;
 padding: 0px;
 height: 69px;
 width: 165px;
 width: 169px\9; 
 border-style :  solid none none none;
 border-width : 1px;
 border-color : #95CEEA;
 position: relative;
 text-align: center;
}

.imagebox8 p.txtbox {
 margin: 0px;
 padding: 2px;
 height: 69px;
 width: 165px;
 width: 169px\9; 
 position: absolute;
 top: 25%;
 margin-top: -1em;
}