
html.modal-open {
	overflow-y: scroll;
}

.modal-open {
	cursor: pointer;
}

.modal-wrapper {
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 10;
}

.modal-layer {
	background: rgba(50, 50, 50, .85);
	cursor: pointer;
	height: 100%;
}

.modal-container {
	background: #ffffff;
	height: calc(100% - 40px);
	left: 50%;
	padding: 20px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: min(calc(100% - 40px), 600px);
}

.modal-inner {
	height: 100%;
	overflow-y: scroll;
	overscroll-behavior-y: contain;
	padding: 20px;
	position: relative;
}

.modal-close {
	background: rgba(255, 255, 255, .9);
	border-radius: 50%;
	box-shadow: 0 5px 5px -3px rgba(0, 0, 0, .4);
	cursor: pointer;
	height: 44px;
	position: fixed;
	right: 35px;
	top: 20px;
	transition: opacity .6s;
	width: 44px;
}

.modal-close:hover {
	opacity: .6;
}

.modal-close:before,
.modal-close:after {
	background: black;
	content: "";
	height: 1px;
	left: 50%;
	position: absolute;
	top: 50%;
	width: 20px;
}

.modal-close:before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width: 480px) {
	.modal-container {
		width: 100%;
	}
	.modal-inner {
		padding: 20px;
	}
	.modal-close {
		right: 35px;
		top: 20px;
	}
}

div.modal-content {
	font-family: YuGothic, "Yu Gothic", sans-serif;
}

div.modal-content div.img {
	height: auto;
	width: 100%;
}

div.modal-content div.img img {
	height: auto;
	width: 100%;
}

div.modal-content div.name {
	display: flex;
	margin-bottom: 15px;
}

div.modal-content div.name em {
	border-right: 1px solid black;
	font-size: 18px;
	padding: 10px 10px 0 0 ;
	white-space: nowrap;
}

div.modal-content div.name span {
	font-size: 12px;
	padding: 10px 10px 5px 10px;
	text-align: left;
}

div.modal-content div.name span span.small {
	font-size: 11px;
	letter-spacing: -.1em;
	padding: 0;
}

div.modal-content div.comment p {
	font-size: 15px;
	margin: 10px 0;
}

div.modal-content div.comment span.small {
	display: block;
	font-size: 12px;
	padding: 20px 0 30px 0;
	text-align: left;
}

div.modal-content div.img-s {
	height: auto;
	margin: 0 auto;
	padding-top: 10px;
	width: 100%;
}

div.modal-content div.img-s img {
	height: auto;
	width: 100%;
}