/* ------------------------------------------------------------------------
    Modalwindow
------------------------------------------------------------------------  */
.Modal-Overlay > * {
	margin: 0;
	padding: 0;
	box-sizing:border-box;
}
.Modal-Overlay {
	display: none;
	position: fixed;
	top: -10px;
	left: 0;
	right: 0;
	bottom: -10px;
	background-color: rgba(0, 0, 0, .7);
	overflow: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;

	z-index:200;
}
.Modal-Container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}
.Modal-Inner {
	display: table-cell;
	vertical-align: middle;
	padding:40px;
	max-width:750px;
	position: relative;
	box-sizing: border-box;
}


/* contents */
.Modal {
	text-justify: inter-ideograph;
	position:relative;
	border-radius: 5px;
	overflow: hidden;
}
.Modal::after {
	display: table;
	content: '';
	clear: both;
}
.Modal-Contents {
	background: #fff;
	max-height: 80vh;
	overflow-y: scroll;	
	box-sizing: border-box;
	padding: 40px 20px;
}
.Modal-Contents p{
	word-break: normal;
	word-wrap: normal;
}
@media screen and (min-width:769px){
	.Modal-Contents {
		max-height: 350px;
	}
}
.Modal-Item{display: none;}
/* Panorama */
.pnlm-container:fullscreen .Modal-Contents {
	height: 100%;
	max-height:80%;
}


/* Type-Photo */
#Movie .Modal-Contents ,
#Photo .Modal-Contents ,
#Model .Modal-Contents {
	padding: 0;
	overflow-y: hidden;
}
.Photo img{max-height: 310px; width: auto;}
#Model .Modal-Contents {
	background:none;
}
#Model .Modal-Item {
	width: 300px;
	height: 200px;
}

/* open */
.Modal-Open {
	cursor:pointer;
}
/* close */
.Close-Btn {
	position:absolute;
	right:10px;
	top:10px;
	display: flex;
	justify-content: center;
	align-items: center;
	width:30px;
	height:30px;
	border-radius: 50%;
	cursor:pointer;
}
.Close-Btn a{
	position: relative;
	width:34px;
	height:34px;
}
.Close-Btn a span {
	display: block;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: #fff;
}
.Close-Btn a span:nth-of-type(1) {
	top:50%;
	transform: rotate(-45deg);
}
.Close-Btn a span:nth-of-type(2) {
	bottom:50%;
 	transform: rotate(45deg);
}

/* Link btn */
.Link-btnSet{
	max-width: 576px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin-bottom: 15px;
}
.Link-btnSet.nomb{
	margin-bottom: -10px;
}
.Link-btn {
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}
.Link-btn a {
	display:inline-block;
	width: 100%;
	max-width:190px;
	border:1px solid #898989;
	text-align:center;
	font-size:1.2rem;
	color:#898989;
	background-image: url("../images/icon_comment.png");
	background-repeat: no-repeat;
	background-position: left 10px top 50%;
	background-size: 14px;
}
@media screen and (min-width:769px){
	.Link-btn {
		max-width: 48%;
	}
}