.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

/* :target で モーダル を表示 */
.modal:target {
    display: block;
}

.modal-content {
    background-color: transparent;
    margin: 10% auto;
    padding: 0px;
/*    border: 1px solid #888; */
    border: 0;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    line-height: 0.5;
}

.close:hover,
.close:focus {
    color: black;
}

/* ズームアニメーション */
.modal-content.zoom {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thumb {
    width: 120px;
    cursor: pointer;
    border-radius: 4px;
}

.img-view {
    padding: 0;
    background: none;
    border: none;
}

.large {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}