.tp-grid {
    list-style-type: none;
    position: relative;
    display: block;
}

.tp-grid li {
    position: absolute;
    cursor: pointer;
    border: 10px solid #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    display: none;
    height: 270px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.no-js .tp-grid li {
    position: relative;
    display: inline-block;
}

.tp-grid li a {
    display: block;
    outline: none;
}

.tp-grid li img {
    display: block;
    border: none;
}

.tp-info,
.tp-title {
    position: absolute;
    background: #fff;
    line-height: 18px;
    font-size: 14px;
    color: #333;
    top: 70%;
    width: 95%;
    height: 200px;
    padding: 10px;
    font-weight: 600;
    text-align: left;
    left: 0%;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1), 5px 0 5px -3px rgba(0, 0, 0, 0.4), inset 0 0 5px rgba(0, 0, 0, 0.04);
}

.touch .tp-info {
    left: 0px;
}

.no-touch .tp-info {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.no-touch .tp-grid li:hover .tp-info {
    -webkit-transition-delay: 150ms;
    -moz-transition-delay: 150ms;
    -o-transition-delay: 150ms;
    -ms-transition-delay: 150ms;
    transition-delay: 150ms;
}

.no-touch .tp-open li:hover .tp-info {
    left: 0px;
}

.tp-title {
    padding: 10px 35px 10px 10px;
    left: 0px;
}

.tp-title span:nth-child(2) {
    color: #aaa;
    padding: 0 5px;
    background: #F7F7F7;
    right: 50px;
    height: 100%;
    line-height: 40px;
    top: 0px;
    position: absolute;
    display: block;
}


/* 2段目 */

.tp-grid_2 {
    list-style-type: none;
    position: relative;
    display: block;
}

.tp-grid_2 li {
    position: absolute;
    cursor: pointer;
    border: 10px solid #fff;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
    display: none;
    height: 270px;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.no-js .tp-grid_2 li {
    position: relative;
    display: inline-block;
}

.tp-grid_2 li a {
    display: block;
    outline: none;
}

.tp-grid_2 li img {
    display: block;
    border: none;
}

.no-touch .tp-grid_2 li:hover .tp-info {
    -webkit-transition-delay: 150ms;
    -moz-transition-delay: 150ms;
    -o-transition-delay: 150ms;
    -ms-transition-delay: 150ms;
    transition-delay: 150ms;
}
