@charset "UTF-8";


/***

POPUP

***/
.modal-open{
	display: inline-block;
	display: block;
	background-color: #666;
	color: #fff;
	margin: 10px auto 0;
	padding: 4px;
	border-radius: 5px;
	font-size: 12px;
	line-height: 101%;
	text-align: center;
}
.modal-open img{
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.modal-open a{
display: inline-block;
padding: 5px;
text-decoration: none;
color: #fff;
}
.modal{
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 9999;
}
.modal:not(:target) {
opacity: 0;
visibility: hidden;
transition: opacity 0.5s, visibility 0.5s;
}
.modal:target{
opacity: 1;
visibility: visible;
transition: opacity 0.5s, visibility 0.5s;
}
.modal .overlay{
display: block;
width: 100%;
height: 100%;
position: absolute;
position: fixed;
background-color: #fff;
opacity: 0.7;
top: 0;
bottom: 0;
left: 0;
}
.cp_tooltiptext{
	clear: both;
	width: 87.5%;
	height: auto;
	background-color: #fff;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 10px;
	box-shadow: 0 0 10px #666;
	box-shadow: 0 0 2px #ccc;
	overflow: hidden;
	border-radius: 4px;
}
.cp_tooltiptext img{
	width: 100%;
	height: auto;
	vertical-align: top;
}
@media screen and (min-width: 801px) {
.cp_tooltiptext{
	width: 80%;
	margin: 0 auto;
}
.cp_tooltiptext.tate1{
	width: auto;
	height: auto;
	margin: 0 auto;
}
.cp_tooltiptext.tate1 img{
	width: auto;
	height: 100%;
}
.cp_tooltiptext.tate1 img{
/*	max-width: 400px;*/
/*	min-width: 400px;*/
	max-height: 600px;
}
.cp_tooltiptext.yoko1 img{
	max-width: 800px;
/*	min-width: 600px;*/
/*	max-height: 534px;*/
}
}
/*
.modal-contents{
overflow: auto;
width: calc( 100% - 40px );
width: 100%;
height: 100%;
height: auto;
max-height: 460px;
box-sizing: border-box;
position: relative;
padding: 20px;
margin: 0 auto;
overflow-y: auto;
}
*/

.modal-close{
	width: 30px;
	height: 30px;
/*	border-radius: 20px;*/
	background: #000;
	position: absolute;
	top: 0;
	right: 0;
	text-decoration: none;
	z-index: 99999;
	overflow: hidden;
	display: flex;
	align-items: center;
}
.modal-close span{
	width: auto;
	height: auto;
	text-align: center;
	line-height: 100.1%;
	color: #fff;
	font-weight: 600;

	font-size: 12px;
	vertical-align: middle;
	margin: 0 auto;
	position: relative;
	top: -1px;
/*	right: 5px;*/
}

