@charset "UTF-8";

.lock {
    overflow:hidden;
}

.modal-content {
    position:relative;
    display:none;
    width:50%;
    margin:30px;
    padding:10px 20px;
    border:2px solid #aaa;
    background:#fff;
		
		font-size:14px;
}

.modal-content p {
    margin:0;
    padding:0;
}

.modal-overlay {
    z-index:4;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.75);
}

.modal-wrap {
    z-index:5;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:auto;
}

.modal-open {
    color:#00f;
    text-decoration:underline;
}

.modal-open:hover {
    cursor:pointer;
    color:#f00;
}

.modal-close {
    color:#00f;
    text-decoration:underline;
}

.modal-close:hover {
    cursor:pointer;
    color:#f00;
}


/*0622追記*/

.modal-content {
    width: 650px;
    padding: 20px;
    border-radius: 10px;
    background: #f6f4ec;
}

.modal_photo, .modal_profile,
.modal_message, .modal_meta {
    width: 500px;
    margin: 0 auto;
}

.modal_photo {
    margin: 0 auto;
}
.modal_photo img {
    width: 500px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal_profile {
    padding-top: 10px;
    position: relative;
}
.modal_profile img {
    border-radius: 50%;
    margin-right: 5px;
}
.modal_profile a {
    position: absolute;
    bottom: 3px;
    color: #a58f47;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}
.modal_profile a:hover {
    color: #C7AC56;
}

.modal_message {
    padding-top: 10px;
    font-size: 0.95em;
}

.modal_meta {
    padding-top: 10px;
    font-size: 0.9em;
    text-align: right;
}

.modal-close {
    width: 32px;
    height: 32px;
    background-image: url("http://taglive.jp/appli/images/modal_tile_close.png");
    z-index: 10;
    display: inherit;
    position: absolute;
    top: 15px;
    right: 15px;
}


/*--------------------------------------------
tablet
--------------------------------------------*/
@media only screen and (max-width: 800px) {
    .modal-content {
        width: 70%;
    }

    .modal_photo, .modal_profile,
    .modal_message, .modal_meta {
        width: 90%;
    }

    .modal_photo {
        height: 100%;
    }

    .modal_photo img{
        width: 100%;
        margin: 0 auto;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .modal-close {
    width: 24px;
    height: 24px;
    background-size: contain;
    top: 10px;
    right: 10px;
    }


}

/*--------------------------------------------
smart_phone
--------------------------------------------*/
@media only screen and (max-width: 600px) {
    .modal-content {
        width: 80%;
    }

    .modal-close {
    width: 17px;
    height: 17px;
    }


}
