<!--
.container{
    width: 400px; /* 370px; コンテナの幅 */
    margin: 0 auto;
}
          
figure.snip {
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 100%;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    color: #fff;
    background-image: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 70%);
    background-image: linear-gradient(to bottom, #ffffff 0%, ffffff 70%);
}
 
figure.snip * {
        -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
 
figure.snip img {
    max-width: 100%;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
     transition: all .3s ease-out;
}
 
figure.snip:hover img,
figure.snip.hover img {
    opacity: 0.8;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}
figure.snip figcaption {
    position: absolute;
    bottom: 0%;
    left: 0;

    width: 100%;
    z-index: 1;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}
 
figure.snip h2 {
    margin: 0;
    width: 100%;
       padding: 10px 20px 10px 20px;
}
 
figure.snip p {
    margin: 0px auto;
    width: 100%;   /* width: 100%;  */ 
    padding: 5px 20px 5px 20px;    /* 5px 20px 10px 20px;  「上」､「右」､「下」､「左」を指定（時計回り） */
    color: #ffff00;
}
 
figure.snip h2 {
    color: #0A79E8;
    position: absolute;
    bottom: 100%;
    display: block;
    font-weight: 100;
    text-transform: uppercase;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.5);
}
 
figure.snip p {
    background: rgba(255, 255, 255, 0.7);　　/* 0.5);バックグランドの濃度を指定 */
    text-align: center;  /* left; center; キャプションの横位置を指定 */
    bottom: 0;
    font-size: 13px;/* 13px キャプションの大きさ */
    font-weight: 100;
    color: #000000;    /* #555←黒 キャプションの濃度 */

}
 
figure.snip a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
}
 
 
figure.snip:hover figcaption,
figure.snip.hover figcaption {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

-->







