.contents h3 {
    font-size: 15px;
    font-weight: bold;
}

span.image-caption {
    width: 100%;
    display: block;
    text-align: left;
}

.cms-thumbnail {
    display: table;
    margin: 0;
    padding: 5px;
    border: 1px solid #ccc;
    display: table !important;
}

.cms-thumbnail-S {
    width: 110px;
    height: 110px;
}

.cms-thumbnail-S img {
    max-width: 100px;
    max-height: 100px;
}

.cms-thumbnail-M {
    width: 210px;
    height: 210px;
}

.cms-thumbnail-M img {
    max-width: 200px;
    max-height: 200px;
}

.cms-thumbnail-L {
    width: 360px;
    height: 360px;
}

.cms-thumbnail-L img {
    max-width: 350px;
    max-height: 350px;
}

.cms-thumbnail a {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.cms-thumbnail-S a {
    width: 100px;
    height: 100px;
}

.cms-thumbnail-M a {
    width: 200px;
    height: 200px;
}

.cms-thumbnail-L a {
    width: 350px;
    height: 350px;
}

span.cms-ehon-caption {
    width: 100%;
    display: block;
    text-align: left;
}

span.cms-ehon-caption span {
    display: block;
}

span.cms-ehon-caption a{
    color: #996600;
}

span.cms-ehon-caption a:hover{
    color: #ff6b00;
}
p.cms-ehon-img {
  margin: 25px 0 3px 0 !important;
}
p.cms-ehon-content {
  margin: 0 0 10px 0 !important;
}
img.cms-column-img {
    max-width: 570px;
}
dl.tag {
    line-height: 16px;
    margin: 10px 0 0 0;
}
dl.tag dt {
    float: left;
    margin: 0 10px 0 0;
}
dl.tag dd {
    float: left;
    margin: 0 5px 0 0;
}
dl.tag dd a {
    background: none repeat scroll 0 0 #f5eee6;
    border-radius: 8px;
    color: #963 !important;
    display: block;
    font-size: 83.7%;
    padding: 0 10px;
    text-decoration: none !important;
}

.relationItem h2 {
    background: url("../_img/ehonnavi_style/bg_title.gif") repeat scroll center center rgba(0, 0, 0, 0);
    border-radius: 5px;
    color: #600;
    font-size: 133.3%;
    font-weight: bold;
    margin: 0 0 10px;
    padding: 10px;
}

.relationItem ul.item {
    padding: 0 0 20px 5px;
}

.relationItem ul.item li {
    float: left;
    margin: 0 20px 0 0;
    width: 120px;
}

.relationItem ul.item li.first {
    clear: left;
}

.relationItem ul.item li.cms-cell {
    height: 185px; /*cms側のみsortable対応で必要*/
}
    
.relationItem ul li {
    list-style: outside none none;
}

.relationItem ul.item li span.thumbnail {
    display: table;
    height: 100px;
    margin: 0 auto 5px;
    width: 100px;
}

.relationItem ul.item li span.thumbnail a {
    display: table-cell;
    height: 100px;
    text-align: center;
    vertical-align: middle;
    width: 100px;
}

.relationItem ul.item li span.title {
    text-align: center;
    margin: 0 0 20px 0;
}
.relationItem ul.item li span.title a {
    color: #630;
}
.relationItem ul.item li span {
    display: block;
}

.relationItem ul.item li div.overlay {
    position: relative;
    background: rgba(0, 0, 0, .3);
    width: 100%;
    height: 0;
    display: none;
    text-align: center;
    border-radius: 3px;
}

.relationItem ul.item li div.overlay div{
    margin-bottom: 10px;
    position: relative;
    top: 20%; 
}