@charset "UTF-8";

body {
	word-wrap:break-word;
}
/*
.lock {
overflow:hidden;
}
*/
.modal-wrap {
	z-index:2;
	display:none;
	position:fixed;
	top:80px;
	left:20px;
	width: calc(100% - 40px);
	height: calc(100% - 100px);
	overflow:auto;
}
.modal-content {
	width: 100%;
	display: none;
	margin: 0 atuo;
	padding: 20px;
	background: #fff;
	position: relative;
}
.modal-content p {
	margin: 0;
	padding: 0;
}
.modal-overlay {
	z-index: 1;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba(0,0,0,0.6);
}
.modal-open {
	color: #00f;
	text-decoration: underline;
}
.modal-open:hover {
	cursor:pointer;
	color: #f00;
}
/*0622追記*/
.modal_photo {
	margin: 0 auto 20px;
	max-width: 60%;
}

.modal_profile img, .modal_profile a {
	display: inline-block;
}
.modal_profile img {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-right: 10px;
}
.modal_profile a {
	font-weight: bold;
}
.modal_profile a:hover {
	color: #C7AC56;
}
.modal_message {
	padding-top: 10px;
	font-size: 0.95em;
}

.modal-close {
	width: 32px;
	height: 32px;
	z-index: 10;
	display: inherit;
	position: absolute;
	top: 20px;
	right: 20px;
}

.modal-close::before, .modal-close::after {
	position: absolute;
	top: 0;
	right: 15px;
	display: block;
	content: "";
	width: 1px;
	height: 100%;
	background-color: #000;
	transform: rotate(45deg);
}
.modal-close::after {
	transform: rotate(-45deg);
}

.modal_meta_inst {
	padding-top: 10px;
	font-size: 0.9em;
	text-align: right;
}
/* タブレット */
@media all and (min-width: 768px) {
	.modal-wrap {
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: auto;
		height: 100%;
		max-height: 60%;
	}
	.modal-content {
		max-width: 640px;
	}
}
/* PC */
@media all and (min-width: 1024px) {
}
